1 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5 (gst_base_sink_event), (gst_base_sink_get_position_last),
6 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
7 (gst_base_sink_change_state):
8 Don't try to report a 0 position when we don't know, return -1 and FALSE
9 instead. This mostly happens when we are prerolling.
10 Make sure we can report the right position before we post the ASYNC_DONE
11 message so that a message handler can query position without races.
13 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
14 (async_done_handoff), (async_done_func), (send_buffer),
15 (async_done_eos_func), (gst_sinks_suite):
16 Add two tests for the above.
18 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
21 Update with new email address.
23 * docs/design/part-TODO.txt:
24 Add some more info about future pad-block and negotiation changes.
26 * docs/design/part-buffering.txt:
27 Add some ideas about buffering reporting.
29 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
31 * tests/check/gst/gstobject.c:
32 Disable silly racy test that always fails on this combination of CPU
35 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
37 Patch by: Murray Cumming <murrayc@murrayc.com>
40 Corrected the registration of the parent-set and parent-unset
41 signals: The parameter is a GstObject, not a GObject (#493134).
43 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
54 Move declaration of private _gst_foo_initialize() functions into
55 our private header file where they should have been all along.
57 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
59 * docs/plugins/gstreamer-plugins-sections.txt:
60 * gst/gstdebugutils.h:
62 * plugins/elements/gstqueue.c:
63 gtk-doc fixes; trailing-comma-in-enum fix.
65 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
67 * gst/gst.c: (gst_deinit):
68 Clean up on deinit (not the external ones though, doesn't seem to be
69 needed for some reason).
71 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
73 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
74 Remove __declspec(dllimport) for MSVC that was copied over into core
75 from a plugin, obviously without ever having been tested (note the
76 single underscore in _declspec in the initial commit), and that doesn't
77 really make sense. See #492077.
79 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
81 * gst/gst.c: (init_post):
82 * gst/gstevent.c: (_gst_event_initialize):
83 * gst/gstquery.c: (_gst_query_initialize):
84 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
85 g_type_class_ref() other types as well, see #349410 and #64764.
87 * gst/gstbuffer.c: (_gst_buffer_initialize):
88 * gst/gstmessage.c: (_gst_message_initialize):
89 Simplify existing g_type_class_ref().
91 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
93 * gst/gstformat.c: (_gst_format_initialize):
94 g_type_class_ref() our GstFormat type to make sure we avoid the
95 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
96 bug #64764. Should fix intermittent tee unit test failures (#474823).
98 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
100 * tests/check/elements/tee.c: (test_num_buffers):
101 Simplify, simplify, simplify - or not. Rewrite unit test
102 not to use gst_parse_launch(); allow N sub-streams. Increasing
103 the number of sub-streams seems to reproduce #474823 more easily.
105 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
107 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
110 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
111 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
112 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
113 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
114 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
115 so use _pipe() directly (#492077).
117 * win32/common/dirent.c: (_treaddir):
118 Add a couple of casts to make it build without warnings with MSVC.
120 * win32/common/libgstreamer.def:
121 Add some more symbols that need to be exported.
123 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
125 * tests/examples/metadata/read-metadata.c: (message_loop):
126 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
127 arriving in a second or third tag message are added to
128 the tag list as well.
130 2007-10-31 Stefan Kost <ensonic@users.sf.net>
132 * libs/gst/base/gstbasesrc.c:
133 Its "Since:" and not "@Since:". And remove an superflous cast.
135 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
137 * docs/libs/gstreamer-libs-sections.txt:
138 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
139 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
140 (gst_base_sink_get_property), (gst_base_sink_render_object),
141 (gst_base_sink_preroll_object),
142 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
143 (gst_base_sink_change_state):
144 * libs/gst/base/gstbasesink.h:
145 Add a new last-buffer property that contains the last buffer used in
146 basesink for preroll or rendering. useful for making snapshots.
147 API: gst_base_sink_get_last_buffer()
148 API: GstBaseSink::last-buffer
150 2007-10-29 Stefan Kost <ensonic@users.sf.net>
152 * docs/gst/running.xml:
154 * gst/gstdebugutils.c:
155 * gst/gstdebugutils.h:
156 * tools/gst-launch.c:
157 Improve bin graph dumping, by using the envvar to specify a path.
158 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
160 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
162 * plugins/elements/gsttypefindelement.c:
163 (gst_type_find_element_handle_event),
164 (gst_type_find_element_activate):
165 Post special error message if we can't determine the type of a stream
168 2007-10-29 Stefan Kost <ensonic@users.sf.net>
170 * docs/gst/running.xml:
171 * gst/gstdebugutils.c:
172 Document new env-var. Add one log-line after dumpng a graph.
174 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
177 Ugly hack to put the (recently removed and non-portable, apparently)
178 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
179 GNU ld, because without that 'make check' fails miserably on my debian
180 stable box. Someone with more knowledge of linker intricacies and
181 portability issues than me fix this properly please.
183 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
185 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
186 Reset last seen position after flushing so that we don't report the old
189 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
191 * gst/gstelementfactory.c: (gst_element_register):
193 Patch from Alessandro Decina adding get_type_full and
194 get_protocols_full private vfuncs to the URIHandler interface
195 to allow bindings to support creating URI handlers.
196 Partially fixes: #339279
197 API: GstURIHandlerInterface::get_type_full
198 API: GstURIHandlerInterface::get_protocols_full
200 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
202 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
203 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
204 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
205 Make it so that pads are considered linked until a buffer is pushed
206 and discovered otherwise. This avoids problems with decodebin2 hanging
207 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
210 Make sure we lock the multiqueue when updating the max-size properties.
212 Fix a crash on Solaris in a debug statement in get_request_pad that
213 passes a NULL string to GST_DEBUG.
215 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
216 (run_output_order_test):
217 Fix the test to allow the first buffer on not-linked pads to come out
218 of sequence while multiqueue discovers that they are not-linked.
220 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
223 * libs/gst/check/Makefile.am:
224 Use a custom export symbol regex for libgstcheck, as it needs
225 to export symbols that don't match the standard GStreamer gst_*
226 pattern, and --export-dynamic is not portable (only works on
229 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
230 (gst_check_setup_sink_pad):
231 Make sure to pass a message parameter to the fail_* macros.
233 * tests/check/gst/gstinfo.c: (GST_START_TEST):
234 Fix some compiler warnings.
236 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
238 * tests/check/gst/gststructure.c: (test_to_string):
239 Disable test that checks that white spaces are not allowed
240 in structure names or field names, since we need to
241 support that for now for backwards compatibility reasons.
243 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
245 * docs/gst/gstreamer-sections.txt:
248 API: add GST_TAG_ARTIST_SORTNAME
249 API: add GST_TAG_ALBUM_SORTNAME
250 API: add GST_TAG_TITLE_SORTNAME
251 Add tag variants for sorting (#414539).
253 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
255 * gst/gststructure.c:
256 Also allow white space for names so we don't break
257 backwards compatibility.
259 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
261 * docs/design/part-TODO.txt:
262 * docs/design/part-segments.txt:
263 * docs/design/part-streams.txt:
266 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
268 * docs/gst/gstreamer-sections.txt:
269 Fixed documentation from my previous commit (added new API add
270 gst_value_set_structure(), add gst_value_get_structure() and
271 GST_VALUE_HOLDS_STRUCTURE).
273 2007-10-22 Stefan Kost <ensonic@users.sf.net>
275 * gst/gstdebugutils.c:
276 Reflow code to fix uninitialized variable warning.
278 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
280 * gst/gstcaps.c: (gst_caps_to_string),
281 (gst_caps_from_string_inplace):
282 * gst/gststructure.c: (gst_structure_get_abbrs),
283 (gst_structure_to_string), (gst_structure_from_string):
284 * gst/gstvalue.c: (gst_value_set_structure),
285 (gst_value_get_structure), (gst_value_serialize_structure),
286 (gst_value_deserialize_structure), (_gst_value_initialize):
288 * tests/check/gst/gststructure.c: (GST_START_TEST),
289 (gst_structure_suite):
290 * tests/check/gst/gstvalue.c: (GST_START_TEST):
291 Added GstStructure to gst_value_table and its related functions.
292 Changed gst_structure_to_string to print ';' in the end.
293 Changed gst_caps_to_string to not print ';' beteween its
294 fields (structures) anymore and remove the lastes ';' from latest
295 structure. Now it is possible to have nested structures.
296 In addition, backward compatibilty is assured by accepting '\0' as
297 end delimiter. Fixes: #487969.
298 API: add gst_value_set_structure()
299 API: add gst_value_get_structure()
300 API: add GST_VALUE_HOLDS_STRUCTURE
302 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
305 When no GSource callback has been set up, tell developer
306 to use a function that actually exists.
308 2007-10-17 Stefan Kost <ensonic@users.sf.net>
310 * docs/gst/gstreamer-sections.txt:
314 * gst/gstdebugutils.c:
315 * gst/gstdebugutils.h:
318 * tools/gst-launch.c:
319 Allow dumping pipelines as dot graphs. Fixes #456573.
321 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
323 * gst/gststructure.c:
324 Allow '+' as well, it can be part of media or mime types
325 such as image/svg+xml.
327 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
329 * docs/gst/gstreamer-sections.txt:
332 API: add gst_bus_pop_filtered
333 API: add gst_bus_timed_pop_filtered
334 Two new functions for waiting for specific message types on the
335 bus for a specified amount of time without iterating any main
336 loops or main contexts.
338 * tests/check/gst/gstbus.c:
339 Some tests for the new functions.
341 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
343 * docs/libs/gstreamer-libs-sections.txt:
344 Make gtk-doc ignore stuff it should ignore.
346 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
348 * libs/gst/check/gstcheck.c:
349 * libs/gst/check/gstcheck.h:
350 Allow runtime selection of unit tests to run via the GST_CHECKS
351 environment variable (test case function names, comma-separated).
353 2007-10-16 Stefan Kost <ensonic@users.sf.net>
355 * gst/gststructure.c:
356 * tests/check/gst/gststructure.c:
357 Revert serialisation change and constrain structure-names after
358 consensus on irc. Update api documentation to reflect the change.
360 2007-10-16 Stefan Kost <ensonic@users.sf.net>
362 * gst/gststructure.c:
363 Improve serialization and fix tests.
365 * tests/check/gst/gststructure.c:
366 Add another test that covers why I actually did the previous structure
369 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
371 * tools/gst-inspect.c: (print_element_info):
372 Don't crash when inspecting an element.
374 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
376 * tests/check/gst/gststructure.c:
377 Add unit test for escaping of structure name when serialising
378 and deserialising to/from strings.
380 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
382 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
383 (gst_single_queue_new):
384 * plugins/elements/gstqueue.c: (gst_queue_init),
385 (gst_queue_push_one):
386 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
387 upstream is tricked into thinking it can suggest a format downstream
388 while downstream does not support that format. The real problem is that
389 core calls acceptcaps when pushing a buffer with new caps, for which we
390 do a little workaround by setting the caps on the srcpad ourselves
391 before pushing the buffer (until this is figured out). Fixes #486758.
393 2007-10-15 Stefan Kost <ensonic@users.sf.net>
395 * gst/gststructure.c:
397 Add some more comments and debug output. Quote structure name to fix
398 deserialisation of some strings.
400 2007-10-15 Stefan Kost <ensonic@users.sf.net>
403 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
404 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
406 2007-10-15 Stefan Kost <ensonic@users.sf.net>
408 * tools/gst-inspect.c:
409 Save approx. 400 1 byte allocs when printing. Use API to acces element
415 * tools/gst-xmlinspect.c:
416 Use API to acces element details.
418 2007-10-15 Stefan Kost <ensonic@users.sf.net>
421 Fix some spelling errors.
423 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
425 * gst/gstbin.c: (bin_handle_async_done):
426 Correctly set the next state if all of our async children commited their
427 state. This makes sure we can actually cancel the state change in
428 progress. Fixes a regression in Rhythmbox when seeking.
430 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
433 Don't shadow local variable.
436 Don't shadow global function name.
438 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
440 * gst/gstelementfactory.c:
441 * gst/gstpluginfeature.c:
442 * gst/gstpluginfeature.h:
443 * gst/gstregistrybinary.c:
444 * gst/gstregistryxml.c:
446 Use already-interned string for the private GstPluginFeature
449 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
451 * docs/libs/gstreamer-libs-sections.txt:
452 Add new API to docs; fixes the build.
454 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
456 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
458 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
459 (gst_base_sink_event):
460 * libs/gst/base/gstbasesink.h:
461 Add function to wait for EOS, subclasses can use this to correctly wait
462 for devices to drain before performing the EOS logic. Fixes #485343.
463 API: gst_base_sink_wait_eos()
465 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
468 Cast description string constants in GST_PLUGIN_DEFINE macros
469 to a (gchar*) to make C++ code using these macros compile
470 without warning with g++-4.2 (see #462737). Even if slightly
471 ugly, this seems preferable to putting the description strings
472 into the GLib quark table or making the structure member a
473 const gchar * and doing casts in core code that allocs and
474 frees these strings, or requiring a cast in the C++ code.
476 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
479 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
480 to print the entire class/function signature into the log
481 file for C++ code. This only affects C++ code, for C code
482 everything remains the same.
484 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
486 * gst/gstbin.c: (remove_from_queue):
487 Work around a problem with pipelines containing (semi)loops until a
488 proper, more complicated solution is ready. See #475455.
490 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
494 * gst/gstregistrybinary.c:
495 * gst/gstregistryxml.c:
496 Put more strings into the GLib quark table. No need to keep
497 a hundred-something copies of identical version strings,
498 license strings, package name strings and package origin
501 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
503 * docs/manual/advanced-dataaccess.xml:
504 Don't imply that it's okay to unconditionally change
505 buffer data or buffer metadata in a pad probe callback,
506 and a bunch of other comments. Fixes #430031.
508 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
510 * win32/common/gstenumtypes.c:
511 * win32/common/gstenumtypes.h:
512 * win32/common/gstversion.h:
513 Update generated files.
515 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
517 * docs/manual/advanced-autoplugging.xml:
518 Prefix section with broken code with a warning (see #342432).
520 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
522 * docs/manual/appendix-integration.xml:
523 * docs/manual/basics-init.xml:
524 Call g_thread_init() before g_option_context_new() to
525 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
527 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
529 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
530 (gst_base_sink_queue_object_unlocked),
531 (gst_base_sink_queue_object), (gst_base_sink_event),
532 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
533 When we received EOS and are waiting for when to post the EOS message,
534 our state is prerolled and we should not return ASYNC.
535 Reorganize some code paths to implement this behavior.
537 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
539 Add unit test to verify above EOS fix.
541 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
543 * plugins/elements/gsttypefindelement.c:
544 (gst_type_find_element_have_type), (gst_type_find_element_init),
545 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
546 Move detecting the input caps of the sinkpad to the setcaps function.
547 This allows us to update the output caps when we receive new input caps
548 instead of always using the first detected caps.
550 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
552 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
553 (gst_base_sink_get_position):
554 Don't try to preroll non-async elements after a flush.
555 Subtract latency form clock times when reporting position.
557 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
559 * gst/gstpad.c: (gst_pad_pause_task):
561 Small comment and documentation update.
563 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
565 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
566 (gst_base_src_set_live), (gst_base_src_is_live),
567 (gst_base_src_query_latency), (gst_base_src_perform_seek),
568 (gst_base_src_default_event), (gst_base_src_wait),
569 (gst_base_src_do_sync), (gst_base_src_get_range),
570 (gst_base_src_pad_get_range), (gst_base_src_loop),
571 (gst_base_src_unlock), (gst_base_src_unlock_stop),
572 (gst_base_src_set_flushing), (gst_base_src_set_playing),
573 (gst_base_src_activate_push), (gst_base_src_activate_pull),
574 (gst_base_src_change_state):
575 Rework the locking of basesrc in a similar fashion to basesink. We
576 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
577 us to handle live sources and semi live ones much better.
579 Fix unlocking when seeking, shutting down and pausing in live sources.
581 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
583 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
584 Fix compilation again.
586 2007-10-03 Stefan Kost <ensonic@users.sf.net>
589 Use meaningful categories for the logs to clean the default one.
591 2007-10-03 Stefan Kost <ensonic@users.sf.net>
593 * tests/check/pipelines/cleanup.c:
594 Print message name and not just number.
596 2007-10-03 Stefan Kost <ensonic@users.sf.net>
598 * docs/design/draft-tagreading.txt:
599 Add some more thoughts.
601 2007-10-03 Stefan Kost <ensonic@users.sf.net>
603 * tests/check/pipelines/simple-launch-lines.c:
604 Print message name and not just number.
606 2007-10-03 Stefan Kost <ensonic@users.sf.net>
608 * libs/gst/base/gsttypefindhelper.c:
609 Speedup typefinding. This is work in progress (see #459862).
611 2007-10-03 Stefan Kost <ensonic@users.sf.net>
614 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
615 Spotted by Josep Torra Valles <josep@fluendo.com>.
617 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
620 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
621 field has moved to GstObject.
623 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
625 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
626 (gst_base_src_get_range), (gst_base_src_change_state):
627 Call unlock for live sources so that they can't get stuck in _create and
628 produce a buffer before they are set back to PLAYING.
630 2007-10-02 Edward Hervey <bilboed@bilboed.com>
632 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
633 (gst_queue_locked_dequeue):
634 Comment the segment-related code... in the PROPER function.
635 See #482147 and my commit from yesterday.
637 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
639 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
640 Also initialize the counter that calculates the first timestamp on a
641 buffer correctly for non-live sources.
643 2007-10-01 Edward Hervey <bilboed@bilboed.com>
645 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
646 Disable code that's breaking the current-time-level reporting.
649 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
651 * docs/gst/gstreamer-sections.txt:
652 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
653 as they shouldn't show up. Fixes the docs build.
655 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
658 Add an explicit variable importation needed on VS6 (only for MSC_VER)
659 Define M_PI which is used in files which are including gstinfo.h.
660 VS6 includes doesn't define it.
661 * win32/common/libgstbase.def:
662 * win32/common/libgstcontroller.def:
663 * win32/common/libgstreamer.def:
664 Add new exported functions and variables.
665 * win32/vs6/libgstcontroller.dsp:
666 * win32/vs6/libgstreamer.dsp:
667 Update the list of files to build.
669 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
671 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
673 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
674 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
675 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
676 Improve debugging. Fixes #480858.
678 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
680 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
682 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
683 First patch of code cleanups, use the macros and right arguments in the
684 macros to signal and lock the queue. See #480858.
686 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
688 * gst/gstbus.c: (poll_func):
689 Improve debugging when dealing with _poll().
691 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
693 * gst/gstregistryxml.c:
694 Fix memory leak I introduced a few days ago.
696 2007-09-26 Michael Smith <msmith@fluendo.com>
698 * gst/gstbuffer.c: (gst_buffer_finalize):
699 Make it once again possible to free GstBuffers in the default
701 The poisoning scribbles on parts of the miniobject we need in
705 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
707 * docs/gst/gstreamer-sections.txt:
710 API: add GST_TAG_COMPOSER, fixes #459809.
712 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
716 Add the 3-clause BSD license and the MIT/X11 license to the license
719 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
721 * docs/faq/getting.xml:
722 Add Q+A about different GStreamer versions (#364056).
724 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
726 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
727 (gst_base_sink_event), (gst_base_sink_change_state):
728 Return correct gboolean from query function.
730 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
732 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
733 (gst_base_sink_event), (gst_base_sink_query),
734 (gst_base_sink_change_state):
735 Simplify latency query.
736 When not synchronizing, we can report latency without querying the peer
739 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
743 Fix small typos in the docs.
745 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
747 * docs/design/draft-latency.txt:
748 * docs/design/draft-push-pull.txt:
749 * docs/design/draft-tagreading.txt:
750 * docs/design/part-MT-refcounting.txt:
751 * docs/design/part-activation.txt:
752 * docs/design/part-block.txt:
753 * docs/design/part-element-source.txt:
754 * docs/design/part-events.txt:
755 * docs/design/part-gstbin.txt:
756 * docs/design/part-gstelement.txt:
757 * docs/design/part-gstobject.txt:
758 * docs/design/part-gstpipeline.txt:
759 * docs/design/part-messages.txt:
760 * docs/design/part-preroll.txt:
761 * docs/design/part-push-pull.txt:
762 * docs/design/part-qos.txt:
763 * docs/design/part-query.txt:
764 * docs/design/part-scheduling.txt:
765 * docs/design/part-seeking.txt:
766 * docs/design/part-segments.txt:
767 * docs/design/part-states.txt:
768 Documentation updates and typo fixes.
770 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
772 * plugins/elements/gstfakesink.c:
773 Add some debug text to error message to indicate that
774 we errored out on request.
776 * tools/gst-launch.c:
777 When the state change to PLAYING fails, check for an
778 error message on the bus and print it.
780 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
782 translated by: Jorge González González <aloriel@gmail.com>
786 Added Spanish translation.
788 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
790 * plugins/elements/gstqueue.c: (gst_queue_push_one):
791 Fix printf arguments.
793 2007-09-20 Stefan Kost <ensonic@users.sf.net>
795 * tests/check/generic/states.c:
796 Improved state change unit test.
798 2007-09-20 Stefan Kost <ensonic@users.sf.net>
801 Move priv to the right place.
803 * gst/gstsystemclock.c:
804 Add FIXME: and improve log.
806 * tests/check/Makefile.am:
807 * tests/examples/manual/Makefile.am:
808 Work with all types of registries.
810 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
812 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
813 Don't unref the event after pushing it. Fixes #478401.
815 2007-09-19 Stefan Kost <ensonic@users.sf.net>
818 * tests/examples/manual/.cvsignore:
819 Ignore registries in any format.
821 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
823 * gst/glib-compat-private.h:
824 Add compatibility macro for g_intern_string() for
825 GLib-2.8 (any reason we can't just bump the
826 requirement to at least 2.10?)
828 * gst/gstpadtemplate.h:
829 * gst/gstelementfactory.c:
830 * gst/gstregistryxml.c:
831 * gst/gstregistrybinary.c:
832 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
833 up the internal code accordingly. This shouldn't be a problem, since
834 there is no reason external code could ever assume the string in such
835 a structure is dynamically allocated unless it did that itself; the
836 use of g_strdup() is private to element factories. The new code also
837 saves some memory by putting pad template name strings into the GLib
838 quark table instead of allocating them dynamically.
839 Declaring this field constant fixes warnings with g++-4.2 when using
840 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
842 2007-09-19 Stefan Kost <ensonic@users.sf.net>
844 * gst/gstelementfactory.c:
845 Release static caps. Fixes #475723.
847 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
851 Make some internal API take const gchar * instead of just
852 gchar * to avoid compiler warnings with g++-4.2.2 when
853 passing string constants (partially fixes #478092).
855 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
857 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
858 A latency query fails when one of the sinks fail.
860 * gst/gstelement.c: (gst_element_set_base_time):
863 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
865 * gst/gstbin.c: (gst_bin_continue_func):
866 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
867 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
868 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
870 Fix minor compilation warnings shown with Forte.
872 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
874 * plugins/elements/gstqueue.c: (apply_buffer),
875 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
876 Measure queue level based on the diff between head and tail timestamps
877 even when pushing the first buffer.
879 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
881 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
882 (gst_base_sink_event), (gst_base_sink_change_state):
883 Sinks that don't preroll can always be queried for the latency.
884 Don't post ASYNC start when we are not async.
886 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
888 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
889 (gst_queue_handle_sink_event), (gst_queue_chain),
890 (gst_queue_push_one), (gst_queue_handle_src_query),
891 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
892 * plugins/elements/gstqueue.h:
893 When downstream returns UNEXPECTED from pushing a buffer, don't try to
894 push more buffers but allow pushing of EOS and NEWSEGMENT.
895 Add some more debug info here and there. Fixes #476514.
897 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
899 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
900 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
901 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
902 (gst_base_sink_set_flushing), (gst_base_sink_query),
903 (gst_base_sink_change_state):
904 Latency query is allowed after we are prerolled. Introduce a new flag
905 for this and stop abusing other variables.
907 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
909 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
910 Push OOB events downstream when we get them in send_event. This allows
911 the application to insert events in the pipeline.
912 Add some more comments.
914 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
916 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
917 (do_bin_latency), (gst_bin_change_state_func):
918 * gst/gstpipeline.c: (gst_pipeline_change_state):
919 Move latency query from GstPipeline to GstBin so that we can also
920 use it when async-handling is enabled on bins.
922 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
924 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
925 (gst_base_src_do_sync), (gst_base_src_change_state):
927 Clean up the timestamping and syncing code for pseudo live sources.
929 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
931 Patch by: Steve Fink <sphink gmail com>
933 * docs/manual/appendix-checklist.xml:
934 Mention less -R switch in the section about debug output (#474055).
936 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
938 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
939 Queue can latency to the pipeline up to the configured max size in time.
940 Report this fact in the latency query.
942 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
944 Patch by: Sebastien Moutte <sebastien at moutte dot net>
946 * libs/gst/controller/gstinterpolation.c:
947 * libs/gst/controller/gstlfocontrolsource.c:
948 Use gst_guint64_to_gdouble() when converting from a uint64 or
949 GstClockTime to double to fix the build on win32. Fixes #474371.
951 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
953 * gst/gstbuffer.c: (gst_buffer_finalize):
954 Implement poisoning for GstBuffer if --enable-poisoning is specified.
955 When finalizing a buffer the complete struct is filled with 0xff,
956 thus making a use of the buffer after the final unref impossible.
958 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
960 * tests/check/libs/controller.c: (GST_START_TEST):
961 Use fail_unless_equals_int(a, b) instead of
962 fail_unless_equals (a == b) to get better output on failures.
964 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
966 * tests/check/gst/gsturi.c:
967 Also check for the other file URI variant on win32.
969 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
971 * gst/gsturi.c: (gst_uri_get_location):
972 If there's no hostname, we want to return 'c:/foo/bar.txt'
973 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
975 * tests/check/gst/gsturi.c:
976 Unit test for the above and a few more things.
978 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
980 * docs/design/part-live-source.txt:
981 Add docs on how live sources should timestamp.
983 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
984 Add some more debug info.
985 For subclasses that are live and like to sync, add aditional startup
986 latency to sync time and timestamps so that we timstamp according to the
989 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
992 Also do a g_type_class_ref() for the subbuffer type in
995 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
997 * docs/gst/gstreamer-sections.txt:
998 * gst/gstpad.c: (gst_pad_peer_query):
1000 Add function to perform a query on the peer of a pad.
1001 API: gst_pad_peer_query()
1003 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1005 * tests/check/gst/gstsystemclock.c:
1006 Cleanup the test a little (use gst-logging and not g_message). Improve
1007 test to check if a wait reached the target.
1009 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1011 * docs/libs/gstreamer-libs-sections.txt:
1012 Add new API to docs and fix the build.
1014 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1016 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1017 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1018 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1019 (gst_base_src_get_property), (gst_base_src_do_sync):
1020 * libs/gst/base/gstbasesrc.h:
1021 Add property to make the basesrc timestamp buffers based on the current
1023 API: GstBaseSrc::do-timestamp
1024 API: gst_base_src_set_do_timestamp()
1025 API: gst_base_src_get_do_timestamp()
1027 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1029 * docs/random/release:
1030 Really make sure translations are up-to-date before
1031 a release (#465010).
1033 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1035 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1036 Always destroy the timer, also in error cases.
1038 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1040 * docs/manual/highlevel-xml.xml:
1041 Fix XML example code. Fixes #472714.
1043 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1045 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1046 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1047 (gst_base_sink_query):
1048 Protect eos and have_preroll with the OBJECT lock so we don't need to
1049 take the PREROLL lock when querying the latency. Fixes #473846.
1051 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1054 Give some log-messages a category.
1056 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1058 * gst/gststructure.c:
1059 (gst_structure_fixate_field_nearest_fraction):
1060 Fix fraction list fixation code. Take the fraction with the smallest
1061 difference with the target instead of the first one in the list.
1063 * tests/check/gst/gststructure.c: (GST_START_TEST),
1064 (gst_structure_suite):
1065 Added test to verify correct fraction list fixation behaviour.
1067 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1069 * win32/common/libgstreamer.def:
1070 Export gst_bus_add_signal_watch too.
1072 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1074 * docs/libs/gstreamer-libs-sections.txt:
1075 Add new methods to docs.
1077 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1078 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1079 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1080 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1081 * libs/gst/base/gstbasesink.h:
1082 Add ts-offset property to fine-tune the synchronisation.
1083 API: GstBaseSink::ts-offset property
1084 API: gst_base_sink_set_ts_offset()
1085 API: gst_base_sink_get_ts_offset()
1087 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1089 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1090 (gst_base_sink_init), (gst_base_sink_set_sync),
1091 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1092 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1093 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1094 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1095 (gst_base_sink_get_property), (gst_base_sink_change_state):
1096 * libs/gst/base/gstbasesink.h:
1097 Add async property to instruct the sink never to inform the parent about
1098 ASYNC state changes, update docs.
1099 Check argument with g_return_* for the public functions.
1100 API: GstBaseSink::async property
1101 API: gst_base_sink_set_async_enabled()
1102 API: gst_base_sink_is_async_enabled()
1104 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1106 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1109 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1110 (gst_base_src_default_query), (gst_base_src_wait),
1111 (gst_base_src_do_sync), (gst_base_src_change_state):
1112 Rearrange some code so that we can add support for measuring the
1115 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1117 * docs/random/ensonic/dynlink.txt:
1118 More thoughs on this.
1120 * plugins/elements/gstcapsfilter.c:
1121 Add bugzilla ticket number to FIXME comment.
1123 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1125 * docs/design/part-TODO.txt:
1126 * docs/design/part-block.txt:
1129 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1132 Revert patch which uses $(gst_headers) instead of $^ because it
1135 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1137 * tests/check/gst/gstbin.c: (GST_START_TEST):
1138 Fix leaks in the new unit test.
1140 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1143 Don't use GST_INFO before the debug system is actually initialised
1144 (shouldn't do any harm, but won't print anything either, so we can
1145 just as well remove it).
1148 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1149 compilers that don't support variadic macros (such as MSVC), should
1150 check for debug_level <= __gst_debug_min as well, since that's the
1151 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1152 inline helper functions. Should improve performance a bit, but also
1153 makes sure uses of GST_INFO et.al are ignored if the debugging
1154 system isn't initialised yet (instead of printing an assertion
1157 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1159 patch by: David Nečas <yeti@physics.muni.cz>
1162 Replace some non portable makefile constructs.
1164 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1166 * common/gtk-doc-plugins.mak:
1167 Grrrrr. Don't remove the types file on make clean.
1169 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1171 * tools/gst-launch.1.in:
1172 Add colorspace to example pipeline. Fixes #458274.
1174 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1176 * docs/random/release:
1177 The release manager should run 'make download-po' before making a
1178 release to make sure translations are up-to-date.
1184 Add some new translations.
1186 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1188 * tools/gst-launch.c: (event_loop), (main):
1189 Don´t try to do any state management when a live pipeline posts
1191 Also make the buffering string translatable.
1193 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1195 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1196 (bin_handle_async_start), (gst_bin_handle_message_func):
1198 When adding elements, insert messages into the bus of the newly added
1199 element and make sure the element is the source of the message. This
1200 allows the parent bin to intercept the message and do the
1201 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1202 messages to the app (which is not allowed).
1205 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1206 Fix testsuite so that is does not work around messages that should not
1207 have been posted in the first place.
1209 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1211 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1212 (update_degree), (gst_bin_sort_iterator_next):
1213 Fix annoying bug in the sorted iterator where a sink that is not really
1214 a sink (when it has downstream links) screwed up the iterator.
1216 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1217 Unit test to verify the fix.
1219 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1222 Add some more docs for the messages.
1224 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1225 (gst_base_sink_query):
1226 Add some more debugging.
1228 * tools/gst-launch.c: (event_loop):
1229 When interrupting, don't try to set pipeline to PAUSED twice.
1231 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1234 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1235 (bin_handle_async_start), (gst_bin_handle_message_func):
1236 Move ASYNC_START message posting to where it belongs, similar to
1238 Don't post ASYNC_START when we are in error.
1239 Post ASYNC_START when we added an async element to a bin.
1241 2007-08-14 Julien MOUTTE <julien@moutte.net>
1243 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1244 generation from vargs. Fixes #466595.
1246 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1248 * gst/gstbin.c: (gst_bin_element_set_state):
1249 Always change the state of a NO_PREROLL element even if it has ASYNC
1250 elements inside (in case of a bin).
1252 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1253 Unit test for this case.
1255 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1257 * libs/gst/check/gstbufferstraw.c:
1258 * libs/gst/check/gstcheck.h:
1259 * libs/gst/controller/gstcontroller.c:
1260 * libs/gst/controller/gstcontrolsource.h:
1261 * libs/gst/controller/gstlfocontrolsource.h:
1262 * plugins/elements/gstcapsfilter.h:
1263 * plugins/elements/gstfdsink.h:
1264 * plugins/elements/gstfdsrc.h:
1265 Add more missing docs.
1267 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1269 * gst/gststructure.c:
1270 Add Since tag to docs.
1272 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1274 * docs/gst/gstreamer-sections.txt:
1275 * gst/gststructure.c: (gst_structure_get_uint):
1276 * gst/gststructure.h:
1277 Add function to get uint from a structure.
1278 API: gst_structure_get_uint()
1280 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1282 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1283 (gst_caps_intersect):
1284 Fix proper check for simple caps.
1286 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1288 * docs/gst/Makefile.am:
1289 * docs/libs/Makefile.am:
1290 Remove cruft and do some cleanups.
1292 * docs/gst/gstreamer-docs.sgml:
1293 * docs/libs/gstreamer-libs-docs.sgml:
1294 Prepare for comming gtkdoc features (rebase against online docs).
1296 2007-08-10 Michael Smith <msmith@fluendo.com>
1298 * docs/gst/gstreamer-sections.txt:
1299 Add gst_registry_add_path to docs.
1301 2007-08-10 Michael Smith <msmith@fluendo.com>
1303 * gst/gstregistry.h:
1304 Add gst_registry_add_path, which was missing from this header.
1306 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1308 * libs/gst/controller/gstlfocontrolsource.c:
1311 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1313 * libs/gst/base/gstbasesink.c:
1314 Don't send an async_start message during downwards state change if
1315 target state is less than READY
1317 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1319 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1323 Added Hungarian translation.
1325 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1332 Updated translations.
1334 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1336 * libs/gst/controller/Makefile.am:
1337 Dist gstlfocontrolsourceprivate.h
1339 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1341 * docs/libs/gstreamer-libs.types:
1342 Don't register the enum type gst_lfo_waveform_get_type() in the
1343 .types file - only GObject derived types belong.
1345 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1347 Patch by: <arenevier at fdn dot fr>
1350 Remove comma from last element in enum to avoid compile errors when
1351 using -pendantic. Fixes #464366.
1353 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1355 * docs/design/part-TODO.txt:
1356 Add some more TODO items
1358 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1361 * gst/gstcaps.c: (gst_caps_intersect):
1362 Optimize trivial intersection case between identical caps pointers.
1364 * gst/gstelement.c: (gst_element_continue_state),
1365 (gst_element_set_state_func):
1367 Fix spelling and grammar mistakes.
1369 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1373 Update POTFILES. Fixes #461599.
1375 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1378 Fix confusing typo in debug output.
1380 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1382 reviewed by: Stefan Kost <ensonic@users.sf.net>
1384 * libs/gst/controller/Makefile.am:
1385 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1386 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1387 (gst_lfo_control_source_new),
1388 (gst_lfo_control_source_set_waveform),
1389 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1390 (gst_lfo_control_source_finalize),
1391 (gst_lfo_control_source_dispose),
1392 (gst_lfo_control_source_set_property),
1393 (gst_lfo_control_source_get_property),
1394 (gst_lfo_control_source_class_init):
1395 * libs/gst/controller/gstlfocontrolsource.h:
1396 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1397 API: Add GstLFOControlSource, a control source that gives values
1398 for specific timestamps based on several periodic waveforms.
1401 * tests/check/libs/controller.c: (GST_START_TEST),
1402 (gst_controller_suite):
1403 * docs/libs/gstreamer-libs-docs.sgml:
1404 * docs/libs/gstreamer-libs-sections.txt:
1405 * docs/libs/gstreamer-libs.types:
1406 Add documentation and unit tests for GstLFOControlSource.
1408 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1413 === release 0.10.14 ===
1415 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1418 releasing 0.10.14, "Breathing Vacuum"
1420 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1422 * gst/gstelement.c: (gst_element_class_set_details_simple):
1424 Make strings passed to gst_element_class_set_details_simple()
1425 constant, as they should be (#462752).
1427 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1429 * gst/gstbin.c: (gst_bin_change_state_func),
1430 (bin_handle_async_done), (gst_bin_handle_message_func):
1431 Don't forget about the fact that some element went ASYNC even after a
1432 resync. This makes us post the ASYNC_DONE message correctly.
1435 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1437 * gst/gstregistry.c: (gst_registry_add_feature):
1438 When replacing an existing feature in the registry, make sure to
1439 continue holding a reference until we've replaced the name string
1440 within our feature hash table. Make sure to use g_hash_table_replace
1441 instead of g_hash_table_insert to ensure the new name string is used
1442 as a key instead of the old one that we're about to free.
1445 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1447 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1448 (gst_plugin_feature_set_name):
1449 Revert patch from #459466 until after the release and we can work
1450 out exactly what the problem is (if any).
1452 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1454 * docs/gst/gstreamer-sections.txt:
1457 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1459 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1461 * docs/libs/Makefile.am:
1462 Include our build-prefix libs and includes before the generic ones to
1463 avoid linking against the installed libs when we want the build-tree
1466 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1468 Patch by: Steve Fink <sphink gmail com>
1470 * docs/pwg/building-testapp.xml:
1471 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1472 if people try to build or install the example from the plugin
1473 template against a GStreamer from package using the configure
1476 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1478 Patch by: Steve Fink <sphink gmail com>
1480 * tools/gst-inspect.1.in:
1481 Document --print-all and --print-plugin-auto-install-info command
1482 line options in man page.
1484 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1486 * docs/gst/gstreamer-sections.txt:
1487 Add docs for new api function.
1489 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1491 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1492 * gst/gstelementfactory.h:
1493 API: gst_element_factory_has_interface()
1494 Added method to check if an element factory implements a named
1497 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1500 * docs/gst/gstreamer.types.in:
1501 Another conditional doc check.
1504 * gst/gstparamspecs.h:
1505 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1510 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1512 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1513 (gst_registry_binary_load_feature),
1514 (gst_registry_binary_load_plugin),
1515 (gst_registry_binary_read_cache):
1516 Print error just once and with additional info.
1518 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1520 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1521 (helper_find_suggest), (helper_find_get_length),
1522 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1523 (gst_type_find_helper_for_buffer):
1524 Cleanup the typefindhelper code and add private doc comments.
1526 2007-07-24 Edward Hervey <bilboed@bilboed.com>
1528 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1529 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1530 Fix capsfilter for cases where the caps set on capsfilter will provide
1531 additional information.
1534 2007-07-24 Stefan Kost <ensonic@users.sf.net>
1536 * gst/gsttypefindfactory.c:
1537 Fix docs that recommened wrong function to use.
1539 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1541 * tools/gst-inspect.c: (print_plugin_features):
1542 Also give media-type for typefinders in element output.
1544 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1546 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1547 (gst_registry_remove_features_for_plugin_unlocked),
1548 (gst_registry_add_feature), (gst_registry_remove_feature),
1549 (gst_registry_lookup_feature_locked):
1550 * gst/gstregistry.h:
1551 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1554 2007-07-23 Stefan Kost <ensonic@users.sf.net>
1556 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1557 (gst_plugin_feature_set_name):
1558 Avoid double memory usage for pluginfeature names. Fixes #459466.
1560 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1563 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1564 driving the pipeline may need to explicitly check for NOT_LINKED as
1565 well, since IS_FATAL doesn't cover that.
1567 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
1569 * docs/pwg/advanced-types.xml:
1570 Fix typo and duplicate entry in video formats list.
1572 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
1574 * libs/gst/controller/gstinterpolation.c:
1575 Also round to the nearest int when using cubic interpolation.
1577 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
1579 * libs/gst/controller/gstinterpolation.c:
1580 When linearly interpolating integer types, round to the nearest int
1581 by adding 0.5. Don't do it for float/double types.
1582 Fixes the failing controller test on my machine, which is somehow
1583 rounding differently than on the buildbots.
1585 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1587 * tools/gst-plot-timeline.py:
1588 Better log parsing (categories can have -). Adjust text vs. lines, so
1589 that they span the same y-range.
1591 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1593 * docs/random/ensonic/audiobaseclasses.txt:
1594 * docs/random/ensonic/dynlink.txt:
1595 * docs/random/ensonic/profiling.txt:
1598 * docs/random/moving-plugins:
1599 Add note to use g_assert type macros.
1601 2007-07-20 Stefan Kost <ensonic@users.sf.net>
1604 * libs/gst/check/Makefile.am:
1605 Add libm check as we use in for plugins.
1607 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
1609 * gst/gstbin.c: (gst_bin_continue_func):
1610 Check that the state_cookie hasn't changed since the continue_func
1611 was scheduled. Avoids problems where the state changes back to
1612 something it shouldn't be because it was changed in the meantime.
1614 2007-07-17 Stefan Kost <ensonic@users.sf.net>
1616 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1617 (gst_registry_binary_save_string),
1618 (gst_registry_binary_save_pad_template),
1619 (gst_registry_binary_save_feature),
1620 (gst_registry_binary_save_plugin),
1621 (gst_registry_binary_load_feature),
1622 (gst_registry_binary_load_plugin),
1623 (gst_registry_binary_read_cache):
1624 Fix memory leak. Be less verbose in the log.
1626 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1628 * tests/check/elements/.cvsignore:
1629 Add file to cvsignore as commanded.
1631 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1633 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1634 (mq_dummypad_event), (run_output_order_test):
1635 Use a GStaticMutex to protect all cases where libcheck
1636 fail_if/fail_unless macros might be called from multiple threads
1637 simultaneously to avoid errors like:
1638 "check_pack.c:107: :-1081725400:Bad message type arg"
1640 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1642 * tests/check/pipelines/stress.c: (GST_START_TEST):
1643 Make sure we set the pipeline back to the NULL state before
1644 dropping our final reference.
1646 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
1648 * tests/check/elements/tee.c: (GST_START_TEST):
1649 Make the tee stress-test a little less stressful so it doesn't just
1650 time out on slow-machines, and remove a small race when it's starting
1651 up by adding a get_state() call.
1653 2007-07-16 Stefan Kost <ensonic@users.sf.net>
1656 Avoid reading registry twice on startup. Fixes #457322.
1658 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1660 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1661 * pkgconfig/gstreamer-check.pc.in:
1662 Substitute the CFLAGS for libcheck into our .pc file too so that
1663 dependent modules will pick it up properly if libcheck is installed
1664 into some other prefix.
1666 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1669 Revert the pkg-config check for libcheck, since it pulls in the
1670 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1671 a proper solution, either from the check project, or something else.
1673 2007-07-12 Stefan Kost <ensonic@users.sf.net>
1676 Use pkg-config to locate check.
1678 2007-07-10 Stefan Kost <ensonic@users.sf.net>
1685 Add deprecation guards.
1687 * libs/gst/base/gstcollectpads.h:
1688 Don't document object (this is implicitly private).
1690 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
1692 * gst/gststructure.c: (gst_structure_parse_value):
1693 When deserialising foo=bar without a type cast, check if it's a
1694 boolean before falling back to a string type, otherwise things like
1695 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1696 because the filtercaps end up having a signed=(string)true field,
1697 which causes problems later when intersection caps.
1699 * tests/check/gst/gststructure.c: (GST_START_TEST):
1700 Add a unit test for this.
1702 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
1704 Reviewed by: Stefan Kost <ensonic@users.sf.net>
1706 * libs/gst/controller/Makefile.am:
1707 * libs/gst/controller/gstcontroller.c:
1708 (gst_controlled_property_add_interpolation_control_source),
1709 (gst_controlled_property_new), (gst_controlled_property_free),
1710 (gst_controller_find_controlled_property),
1711 (gst_controller_new_valist), (gst_controller_new_list),
1712 (gst_controller_new), (gst_controller_remove_properties_valist),
1713 (gst_controller_remove_properties_list),
1714 (gst_controller_remove_properties),
1715 (gst_controller_set_property_disabled),
1716 (gst_controller_set_disabled), (gst_controller_set_control_source),
1717 (gst_controller_get_control_source), (gst_controller_get),
1718 (gst_controller_sync_values), (gst_controller_get_value_array),
1719 (_gst_controller_dispose), (gst_controller_get_type),
1720 (gst_controlled_property_set_interpolation_mode),
1721 (gst_controller_set), (gst_controller_set_from_list),
1722 (gst_controller_unset), (gst_controller_unset_all),
1723 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1724 * libs/gst/controller/gstcontroller.h:
1725 * libs/gst/controller/gstcontrollerprivate.h:
1726 * libs/gst/controller/gstcontrolsource.c:
1727 (gst_control_source_class_init), (gst_control_source_init),
1728 (gst_control_source_get_value),
1729 (gst_control_source_get_value_array), (gst_control_source_bind):
1730 * libs/gst/controller/gstcontrolsource.h:
1731 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1732 (gst_object_get_control_source):
1733 * libs/gst/controller/gstinterpolation.c:
1734 (gst_interpolation_control_source_find_control_point_node),
1735 (gst_interpolation_control_source_get_first_value),
1736 (_interpolate_none_get), (interpolate_none_get),
1737 (interpolate_none_get_boolean_value_array),
1738 (interpolate_none_get_enum_value_array),
1739 (interpolate_none_get_string_value_array),
1740 (_interpolate_trigger_get), (interpolate_trigger_get),
1741 (interpolate_trigger_get_boolean_value_array),
1742 (interpolate_trigger_get_enum_value_array),
1743 (interpolate_trigger_get_string_value_array):
1744 * libs/gst/controller/gstinterpolationcontrolsource.c:
1745 (gst_control_point_free), (gst_interpolation_control_source_reset),
1746 (gst_interpolation_control_source_new),
1747 (gst_interpolation_control_source_set_interpolation_mode),
1748 (gst_interpolation_control_source_bind),
1749 (gst_control_point_compare), (gst_control_point_find),
1750 (gst_interpolation_control_source_set_internal),
1751 (gst_interpolation_control_source_set),
1752 (gst_interpolation_control_source_set_from_list),
1753 (gst_interpolation_control_source_unset),
1754 (gst_interpolation_control_source_unset_all),
1755 (gst_interpolation_control_source_get_all),
1756 (gst_interpolation_control_source_get_count),
1757 (gst_interpolation_control_source_init),
1758 (gst_interpolation_control_source_finalize),
1759 (gst_interpolation_control_source_dispose),
1760 (gst_interpolation_control_source_class_init):
1761 * libs/gst/controller/gstinterpolationcontrolsource.h:
1762 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1763 API: Refactor GstController into the core controller which can take
1764 a GstControlSource for providing actual values for timestamps.
1765 Implement a interpolation control source and use this for backward
1766 compatibility, deprecate a bunch of functions that are now handled
1767 by GstControlSource or GstInterpolationControlSource.
1768 Make it possible to disable the controller completely or only for
1769 specific properties. Fixes #450711.
1770 * docs/libs/gstreamer-libs-docs.sgml:
1771 * docs/libs/gstreamer-libs-sections.txt:
1772 * docs/libs/gstreamer-libs.types:
1773 Add new functions and classes to the docs.
1774 * tests/check/libs/controller.c: (GST_START_TEST),
1775 (gst_controller_suite):
1776 * tests/examples/controller/audio-example.c: (main):
1777 Port unit test and example to the new API and add some new
1780 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
1782 Patch by: Mark Nauwelaerts <manauw at skynet be>
1784 * plugins/elements/gstmultiqueue.c:
1785 (gst_multi_queue_get_internal_links), (apply_buffer),
1786 (single_queue_overrun_cb), (gst_single_queue_new):
1787 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1788 the pipeline layout can be tracked correctly. Fixes #453732.
1790 2007-07-05 Stefan Kost <ensonic@users.sf.net>
1792 * docs/gst/Makefile.am:
1793 * docs/libs/Makefile.am:
1794 * docs/plugins/Makefile.am:
1795 Simplify --extra-dir as gtkdoc scans recursively.
1797 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1799 * tools/gst-launch.c: (main):
1800 When we got an error, there is no point in waiting for preroll when
1803 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
1805 * plugins/elements/gsttee.c: (gst_tee_base_init),
1806 (gst_tee_request_new_pad), (gst_tee_release_pad),
1807 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1808 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1810 Be a lot smarter when deciding what srcpad to use for proxying
1811 the buffer_alloc. Also handle pad added/removed when doing so.
1813 Keep track of what pads we already pushed on in case we have pads
1814 added/removed while pushing. Fixes #374639
1816 * tests/check/Makefile.am:
1817 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1819 Added unit test for pad resync.
1821 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1825 Updated translations.
1827 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1829 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1833 Added new Finnish translation.
1835 2007-06-28 Wim Taymans <wim@fluendo.com>
1837 * plugins/elements/gstmultiqueue.c: (apply_buffer),
1838 (single_queue_overrun_cb):
1839 When figuring out when a queue is filled, use our internal time estimate
1840 based on segments, just like check_full does.
1842 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1844 * gst/gstminiobject.c: (gst_mini_object_get_type):
1845 Remove 3 do-nothing methods.
1847 2007-06-27 Wim Taymans <wim@fluendo.com>
1849 Patch by: Tim Angus <tim at ngus dot net>
1851 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1852 (gst_capsfilter_set_property):
1853 Take a reference instead of a copy when setting "caps".
1854 Fix documentation to clarify this behaviour. Fixes #449414.
1856 2007-06-27 Stefan Kost <ensonic@users.sf.net>
1858 * gst/gstindexfactory.c: (gst_index_factory_get_type):
1859 * gst/gstplugin.c: (gst_plugin_init):
1860 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1861 * gst/gstquery.c: (gst_query_get_type):
1862 * gst/gstregistry.c: (gst_registry_init):
1863 * gst/gsturi.c: (gst_uri_handler_base_init):
1864 Remove empty instance_init() functions to save relocs and lessen the
1865 noise. Remove some of the function prototypes that are doubled by
1868 2007-06-27 Wim Taymans <wim@fluendo.com>
1870 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1872 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1873 Add peer and direction in the XML serialisation of ghostpads.
1876 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1879 Preserve useful information, thanks Tim.
1881 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
1883 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1884 (gst_single_queue_flush), (apply_segment), (apply_buffer),
1885 (gst_single_queue_push_one), (gst_multi_queue_loop),
1886 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
1887 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
1888 (compute_high_id), (gst_single_queue_new):
1889 * plugins/elements/gstmultiqueue.h:
1890 Take the multiqueue lock when updating the fill level so we don't get
1893 After applying a buffer or event on the src pad segment, make sure to
1894 call gst_data_queue_limits_changed() to get the data queue to unblock
1895 and check the filled state again.
1897 Rework the not-linked pad handling so the logic is that not-linked
1898 pads can push as fast as they like, but only so they never get
1899 ahead of any linked pads.
1901 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
1902 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
1903 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
1905 Add a test to check that not-linked pads always stay behind
1910 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
1912 * docs/random/release:
1913 Some updates to the release procedure.
1915 2007-06-26 Stefan Kost <ensonic@users.sf.net>
1917 * gst/gstelementfactory.c: (__gst_element_details_clear):
1918 Microoptimization that saves stunning 80 bytes.
1920 2007-06-25 Stefan Kost <ensonic@users.sf.net>
1922 * docs/plugins/gstreamer-plugins.args:
1923 * docs/plugins/inspect/plugin-coreelements.xml:
1924 * docs/plugins/inspect/plugin-coreindexers.xml:
1925 Update docs with caps info.
1927 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
1930 Updated Italian translation.
1932 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
1936 Update Vietnamese translations.
1938 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1940 * libs/gst/base/gstbasesink.c:
1941 Remove unused signal enum.
1943 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1945 * docs/gst/gstreamer-sections.txt:
1947 * gst/gstutils.c: (gst_type_register_static_full):
1948 Beef up and include the docs for gst_type_register_static_full and
1949 gst_element_class_set_details_simple and add the API keyword
1952 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
1954 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1955 (update_time_level), (gst_single_queue_push_one),
1956 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
1957 (single_queue_overrun_cb), (single_queue_underrun_cb),
1958 (single_queue_check_full):
1959 Fix setting max-* properties after adding queues.
1960 Use IS_FILLED for checking visible items.
1961 Signal overrun if multiple queues overrun.
1962 Add extra debug output.
1963 Patch by: Wim Taymans <wim@fluendo.com>
1965 2007-06-21 Stefan Kost <ensonic@users.sf.net>
1967 * gst/gstelement.c: (gst_element_class_set_details_simple):
1969 * gst/gstutils.c: (gst_type_register_static_full):
1971 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
1972 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
1973 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
1974 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
1975 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
1976 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
1977 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
1978 * plugins/elements/gstidentity.c: (gst_identity_base_init):
1979 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
1980 * plugins/elements/gstqueue.c: (gst_queue_base_init),
1981 (apply_buffer), (gst_queue_chain):
1982 * plugins/elements/gsttee.c: (gst_tee_base_init):
1983 * plugins/elements/gsttypefindelement.c:
1984 (gst_type_find_element_base_init),
1985 (gst_type_find_element_class_init):
1986 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
1987 API: add gst_type_register_static_full
1988 API: add gst_element_class_set_details_simple
1990 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
1992 * docs/pwg/advanced-types.xml:
1993 Fix typo in iana.org URI.
1995 2007-06-19 Andy Wingo <wingo@pobox.com>
1997 * tests/check/pipelines/simple-launch-lines.c
1998 (test_state_change_returns): Enable pull-mode tests now that
1999 basesink has been fixed.
2001 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2002 Changed from gst_base_sink_is_prerolled, reversing the sense of
2003 the return value. Returns FALSE also if the sink is in pull mode,
2004 in which case it needs no preroll.
2005 (gst_base_sink_query, gst_base_sink_change_state): Update for
2006 needs_preroll change.
2007 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2008 chaining up, in which we return SUCCESS directly if we activated
2009 in pull mode instead of ASYNC. Involves countering an async_start
2010 message sent before chaining up; not sure if this is correct, in
2011 an ideal world we only send async-start when activating in push
2014 * tests/check/pipelines/simple-launch-lines.c
2015 (test_state_change_returns): New test, partially disabled until
2018 2007-06-19 Wim Taymans <wim@fluendo.com>
2020 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2021 (gst_multi_queue_sink_event):
2024 2007-06-19 Wim Taymans <wim@fluendo.com>
2026 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2027 (gst_bin_change_state_func), (bin_push_state_continue),
2028 (bin_handle_async_start), (bin_handle_async_done),
2029 (gst_bin_handle_message_func):
2030 Move the common code for posting state-change messages into
2032 Broadcast the state signal after we posted the messages.
2033 Mark the bin as busy when it's doing a state-change.
2034 Make sure async-start/done messages don't interfere with the bin's
2035 state when it's busy.
2036 After the state change, let the bin check which elements completed the
2037 state change while it was busy so that it can update its state.
2039 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2041 * docs/random/release:
2042 Add a note about updating the doap file to the release checklist
2044 2007-06-18 Wim Taymans <wim@fluendo.com>
2046 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2047 (gst_single_queue_push_one), (gst_multi_queue_chain),
2048 (gst_multi_queue_sink_event):
2049 Make sure we don't reference the buffer/event after we have given away
2050 ownership in the queue.
2052 2007-06-18 Wim Taymans <wim@fluendo.com>
2054 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2055 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2056 Update queue state _after_ adding the item in the queue because else we
2057 could end up being full without the element added yet.
2059 2007-06-18 Wim Taymans <wim@fluendo.com>
2061 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2062 (gst_bin_remove_func), (gst_bin_get_state_func),
2063 (gst_bin_element_set_state), (gst_bin_continue_func),
2064 (bin_push_state_continue), (bin_handle_async_start),
2065 (bin_handle_async_done), (gst_bin_handle_message_func):
2067 Immediatly commit the toplevel bin state when receiving an async-done
2068 message. This enables us to avoid spawning a thread to commit the state
2069 in some common cases and it also avoids some races.
2070 Avoid spawning a state thread when adding/removing async elements to a
2071 toplevel bin. Instead we immediatly update the bin state.
2072 Get rid of iterating all the children when getting the state in the bin
2073 because it is now always up-to-date.
2074 Fix bug where locked elements would always return _SUCCESS even it they
2075 returned NO_PREROLL before being locked.
2076 Fix the order of the state_change, async-start/done messages that was
2077 sometimes incorrect.
2078 Mark the state_dirty field as deprecated, we don't need it anymore as we
2079 are always up-to-date.
2081 * gst/gstelement.c: (gst_element_get_state_func),
2082 (gst_element_continue_state):
2083 Small debug inprovements.
2084 Return the previous element state return when nothing is pending instead
2085 of blindly returning SUCCESS.
2087 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2089 Add a whole bunch of new testcases.
2091 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2095 Update translations.
2097 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2100 Fix typo in the docs.
2102 2007-06-15 Wim Taymans <wim@fluendo.com>
2104 * docs/libs/gstreamer-libs-sections.txt:
2105 Add docs for new methods.
2107 2007-06-15 Wim Taymans <wim@fluendo.com>
2109 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2110 (gst_multi_queue_item_new):
2111 Don't use GSlice because we don't depend on >= 2.10 yet.
2113 2007-06-15 Wim Taymans <wim@fluendo.com>
2115 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2116 (update_time_level), (apply_segment), (apply_buffer),
2117 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2118 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2119 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2120 (single_queue_underrun_cb), (single_queue_check_full):
2121 Remove debug printf.
2123 2007-06-15 Wim Taymans <wim@fluendo.com>
2125 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2126 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2127 (gst_data_queue_set_flushing), (gst_data_queue_push),
2128 (gst_data_queue_pop), (gst_data_queue_drop_head),
2129 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2130 * libs/gst/base/gstdataqueue.h:
2132 Added methods to get the current levels and to inform the queue that the
2133 'full' limits changed.
2135 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2136 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2137 (gst_single_queue_flush), (update_time_level), (apply_segment),
2138 (apply_buffer), (gst_single_queue_push_one),
2139 (gst_multi_queue_item_steal_object),
2140 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2141 (gst_multi_queue_loop), (gst_multi_queue_chain),
2142 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2143 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2144 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2145 (single_queue_underrun_cb), (single_queue_check_full),
2146 (gst_single_queue_new):
2147 Keep track of time in the queue by measuring the difference between
2148 running_time on input and output. This gives more accurate results and
2149 can compensate for segments correctly.
2150 Make a queue by default only 5 buffers deep. We will now increase the
2151 buffer size depending on the filledness of the other queues.
2152 Factor out commong flush code.
2153 Make sure we don't add additional refcounts to buffers when we can avoid
2155 Propagate GstFlowReturn differently.
2156 Use GSlice for intermediate GstMultiQueueItems.
2158 Resize queues on over and underruns based on filled level of other
2160 When checking if the queue is filled, prefer to measure in time if we
2161 can and fall back to bytes when no time is known.
2163 * plugins/elements/gstqueue.c:
2166 2007-06-15 Wim Taymans <wim@fluendo.com>
2168 * libs/gst/base/gstbasetransform.c:
2169 (gst_base_transform_sink_event):
2170 Work around the brokenness of the event vmethod in basetransform. Prefer
2171 to return TRUE when the subclass returned FALSE (meaning don't forward
2174 * libs/gst/base/gstbasetransform.h:
2177 2007-06-15 Wim Taymans <wim@fluendo.com>
2179 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2180 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2181 (gst_base_src_default_query), (gst_base_src_get_range),
2182 (gst_base_src_start):
2183 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2186 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2188 * docs/pwg/advanced-types.xml:
2189 Added more formats to caps table.
2191 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2193 * tools/gst-launch.c: (main):
2194 Remove crufy code. GOption does not need this workaround.
2196 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2198 * libs/gst/controller/gstcontroller.c:
2199 (gst_controlled_property_set_interpolation_mode):
2200 Fix wrong getter for enums in controller.
2202 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2204 * libs/gst/check/gstcheck.c: (gst_check_init):
2205 Intercept criticals and warnings in the Gst-Phonon log domain, so
2206 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2209 2007-06-14 Edward Hervey <edward@fluendo.com>
2211 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2212 Since this file doesn't include "gst.h" it will not go through the
2213 macros that disable GST_LOG if debugging was disabled.
2215 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2217 * libs/gst/check/Makefile.am:
2218 * libs/gst/check/gstcheck.h:
2219 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2220 * pkgconfig/gstreamer-check.pc.in:
2221 Ugly 'fix' for the controller unit test on the p5 bot: in
2222 fail_unless_equals_float() check whether the values are 'almost
2223 equal' by allowing a small absolute error, which should be good
2224 enough for our use cases (normal numbers and values close to 0).
2225 Proper fixage left to floating point arithmetic aficionados.
2227 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2229 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2230 (gst_base_sink_render_object), (gst_base_sink_get_position):
2231 Add two breaks thats where missing.
2233 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2235 * docs/libs/gstreamer-libs-sections.txt:
2236 * libs/gst/check/gstcheck.h:
2237 API: add fail_unless_equals_float() and assert_equals_float().
2238 Add documentation for some of the macros.
2240 * tests/check/libs/controller.c: (GST_START_TEST):
2241 Use newly-added asserts.
2243 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2245 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2246 Show the caps change in the log to help spotting the case of not
2247 exactly matching caps.
2249 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2251 * docs/pwg/building-boiler.xml:
2252 Fix typos, spotted by Thijs Vermeir (#447190).
2254 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2256 * docs/plugins/tmpl/.cvsignore:
2257 Ignore file to keep the buildbots happy
2259 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2261 * docs/plugins/Makefile.am:
2262 * docs/plugins/gstreamer-plugins-docs.sgml:
2263 * docs/plugins/gstreamer-plugins-sections.txt:
2264 Pull fdsink into the docs too.
2266 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2268 * libs/gst/controller/gstinterpolation.c:
2269 Actually use the new functions with min/max checks for the trigger and
2270 none interpolation modes for get() and get_value_array() instead of
2273 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2275 * libs/gst/controller/gstcontroller.c:
2276 (gst_controlled_property_free):
2277 Unset the minimum and maximum GValues when freeing the corresponding
2278 GstControllerProperty struct.
2280 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2282 * libs/gst/controller/gstcontroller.c:
2283 (gst_controlled_property_new):
2284 * libs/gst/controller/gstcontrollerprivate.h:
2285 * libs/gst/controller/gstinterpolation.c:
2286 (gst_controlled_property_find_control_point_node),
2287 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2288 (interpolate_none_get_string_value_array),
2289 (interpolate_trigger_get),
2290 (interpolate_trigger_get_enum_value_array),
2291 (interpolate_trigger_get_string_value_array):
2292 Protect against values larger or smaller than the minimum or maximum
2293 allowed value for the property when using values that can be compared.
2295 Optimize trigger interpolator a bit by taking the last requested value
2296 into account instead of always looping through the complete list.
2298 Fix coding style a bit, everywhere else we use "return foo" instead
2301 * tests/check/libs/controller.c: (GST_START_TEST),
2302 (gst_controller_suite):
2303 Add unit test for the protection against too large or too small
2306 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2308 * docs/random/slomo/controller.txt:
2309 Add some thoughts about the future of the controller.
2311 2007-06-08 Wim Taymans <wim@fluendo.com>
2313 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2314 Don't overflow in retimestamping code.
2316 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2318 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2319 Use gst_util_guint64_to_gdouble for conversions.
2320 * win32/common/libgstreamer.def:
2321 Add new exported functions.
2323 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2326 Small docs addition.
2328 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2331 Remove that test line again.
2333 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2336 Test commit mail sending.
2338 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2341 Fix typo and test commit mail sending.
2343 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2345 * tests/examples/controller/audio-example.c:
2346 Improve comment and test commit mail sending.
2348 2007-06-07 Wim Taymans <wim@fluendo.com>
2350 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2351 (gst_bin_remove_func), (gst_bin_element_set_state),
2352 (bin_handle_async_start), (bin_handle_async_done),
2353 (gst_bin_handle_message_func):
2354 Add helper function to find messages.
2355 Generate the async-done messages together with the state change
2357 Small cleanups in handling toplevel bins.
2359 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2361 * libs/gst/base/gstdataqueue.c:
2362 * libs/gst/base/gstdataqueue.h:
2363 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2364 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2365 (gst_multi_queue_sink_event):
2366 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2367 Fix multiqueue leaking buffers and events when downstream or the
2368 queue are flushing. Make refcounting assumptions explicit and
2369 document them (shouldn't break existing code that uses it other than
2370 maybe leak miniobjects, but that already happens anyway). Add unit
2371 test for the most common flushing case. Fixes #423700.
2373 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2375 * libs/gst/controller/gstcontroller.c:
2376 Clarify docs: The get_all, get_value_array(s) functions
2377 don't modify the GObject properties.
2379 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2381 * libs/gst/controller/gstcontroller.c:
2382 (gst_controlled_property_set_interpolation_mode),
2383 (gst_controlled_property_prepend_default),
2384 (gst_controlled_property_new), (gst_controller_set_unlocked),
2385 (gst_controller_set), (gst_controller_set_from_list),
2386 (gst_controller_unset), (gst_controller_unset_all):
2387 * libs/gst/controller/gstcontrollerprivate.h:
2388 * libs/gst/controller/gstinterpolation.c:
2389 Factor out the 'set' logic into gst_controller_set_unlocked for the
2390 gst_controller_set and gst_controller_set_from_list functions.
2392 To make life of the interpolators easier always add a control point
2393 at timestamp zero with the default value.
2395 In the linear interpolator make things more obvious by better variable
2398 Implement cubic interpolation mode (by using a natural cubic spline)
2399 and map the quadratic interpolation mode to this too (as quadratic
2400 doesn't make much sense, see discussion on the list).
2402 * tests/check/libs/controller.c: (GST_START_TEST),
2403 (gst_controller_suite):
2404 Add unit test for the cubic interpolation mode and check everywhere
2405 if the interpolation mode could be set as expected.
2407 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2409 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2410 Don't use GLib-2.10 functions, we still depend on
2411 GLib-how-old-is-it-again-2.8.
2413 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2415 * docs/gst/gstreamer-sections.txt:
2419 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2420 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2421 (_gst_param_fraction_values_cmp),
2422 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2423 * gst/gstparamspecs.h:
2425 * tests/check/Makefile.am:
2426 * tests/check/gst/.cvsignore:
2427 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2428 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2429 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2430 (GST_START_TEST), (gst_param_spec_suite):
2431 API: add GstParamSpecFraction, so elements can have fraction
2432 properties without lots of painful string parsing (#444648).
2434 2007-06-05 Wim Taymans <wim@fluendo.com>
2436 * gst/gstobject.c: (gst_object_class_init):
2437 Fix signal signature.
2440 Add small clarification in the api docs.
2442 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2443 States are protected with object lock.
2445 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2448 I should probably be listed as an author by now.
2450 * docs/random/release:
2451 Update the release doc
2453 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2456 Make docs for gst_value_compare() mention return enums that
2459 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2464 === release 0.10.13 ===
2466 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2469 releasing 0.10.13, "With or without you"
2471 2007-05-25 Wim Taymans <wim@fluendo.com>
2473 * gst/gstbin.c: (bin_handle_async_done):
2474 Make sure that the child bin stops after completing the async state
2475 change so that the parent can continue the state change to PLAYING.
2478 2007-05-25 Wim Taymans <wim@fluendo.com>
2480 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2481 (unref_data), (gst_collect_pads_remove_pad),
2482 (gst_collect_pads_check_pads):
2483 Use additional refcounting to avoid crashes when dynamically adding and
2484 removing pads. Fixes #420206.
2486 2007-05-24 Wim Taymans <wim@fluendo.com>
2488 * tools/gst-launch.c: (event_loop):
2489 When buffering goes from a two digit to a single digit number, make sure
2490 to remove the old second digit by writing a blank over it.
2492 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2494 * libs/gst/base/gstdataqueue.c:
2495 Eliminate tabs and trailing comma in enum list; fix some typos.
2497 2007-05-24 Wim Taymans <wim@fluendo.com>
2499 * tests/check/gst/gstbin.c: (GST_START_TEST):
2500 Allow refcount of 3 and 4 because some state thread might still be busy
2503 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2505 * plugins/elements/Makefile.am:
2506 * plugins/elements/gstmultiqueue.h:
2507 * plugins/elements/gstqueue.h:
2508 These are not installed headers, no need for padding.
2510 2007-05-24 Wim Taymans <wim@fluendo.com>
2512 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2513 (gst_bin_continue_func):
2514 Enable latency for next release.
2515 Restore STATE_LOCK around recalc_state that was left out during the
2516 rewrite and could result in racy behaviour when _get_state and
2517 recalc_state are run concurrently. See #440463.
2519 2007-05-23 Wim Taymans <wim@fluendo.com>
2521 * tests/check/gst/gstsystemclock.c: (store_callback),
2523 Improve test_async_order to also work when both timers are already
2524 expired when we get scheduled to check it.
2526 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2528 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2529 (gst_bin_set_property), (gst_bin_get_property),
2530 (gst_bin_remove_func), (gst_bin_handle_message_func):
2532 'private' is a c++ keyword, let's not use that in header files,
2533 otherwise c++ compilers will throw a tantrum.
2535 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2537 * plugins/elements/gstelements.c:
2538 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2539 (gst_file_sink_get_current_offset):
2540 * plugins/indexers/gstindexers.c: (plugin_init):
2541 Use #ifdef for HAVE_XYZ for consistency.
2543 * tests/check/Makefile.am:
2544 * tests/check/elements/.cvsignore:
2545 * tests/check/elements/filesink.c: (setup_filesink),
2546 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2547 Add some unit tests for filesink.
2549 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
2551 Patch by: Mark Nauwelaerts <manauw at skynet be>
2553 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2554 (gst_file_sink_query), (gst_file_sink_do_seek),
2555 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2556 * plugins/elements/gstfilesink.h:
2557 Fix position reporting; rename data_written member to current_pos to
2558 reflect its real meaning (fixes #412648).
2560 2007-05-22 Edward Hervey <edward@fluendo.com>
2562 * docs/gst/gstreamer-sections.txt:
2563 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2564 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2565 (gst_bin_remove_func), (gst_bin_handle_message_func):
2567 Add a property for bins that handle the state change of their childs.
2570 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2572 * libs/gst/controller/gstinterpolation.c:
2573 Use an array of the correct type when using _get_value_array with
2574 linear interpolation.
2576 2007-05-22 Stefan Kost <ensonic@users.sf.net>
2578 * gst/gstelement.c (gst_element_requires_clock,
2579 gst_element_provides_clock, gst_element_request_pad,
2580 gst_element_class_set_details, gst_element_class_set_details_simple,
2581 gst_element_default_send_event, gst_element_abort_state,
2582 gst_element_continue_state, gst_element_set_state,
2583 gst_element_set_state_func, iterator_activate_fold_with_resync):
2584 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2585 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2586 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2587 gst_pad_get_range, gst_pad_pull_range):
2588 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2589 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2590 GstPadActivateModeFunction, GstPadChainFunction,
2591 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2592 GstPadFixateCapsFunction, GstPadTemplate):
2593 * gst/gstpipeline.c (gst_pipeline_change_state,
2594 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2595 gst_pipeline_set_clock, gst_pipeline_auto_clock,
2596 gst_pipeline_get_delay):
2597 Whitespace and docs fixes.
2599 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2601 * libs/gst/controller/gstinterpolation.c:
2602 (interpolate_trigger_get_enum_value_array),
2603 (interpolate_trigger_get_string_value_array):
2604 Add support for retrieving value arrays when using the trigger
2607 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2609 * libs/gst/controller/gstcontroller.c:
2610 (gst_controller_get_value_array):
2611 * libs/gst/controller/gstcontroller.h:
2612 Clarify the docs of gst_controller_get_value_array(): The array where
2613 the values should be written to must be allocated as there seems to be
2614 no way to get the size of a random GType. This doesn't change any
2615 behaviour. Also fix some typos all over the place and remove an unused,
2616 commented function that is not necessary as g_object_set() could be
2618 * tests/check/libs/controller.c: (GST_START_TEST),
2619 (gst_controller_suite):
2620 Add unit test for gst_controller_get_value_array().
2622 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
2624 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2626 Disable part of the gst_buffer_try_new_and_alloc test, because
2627 it can happily succeed on 64-bit systems where there's more address
2630 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2632 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2633 Add unit test for the improved caps checking from bug #421543.
2635 2007-05-21 Wim Taymans <wim@fluendo.com>
2637 * docs/design/part-synchronisation.txt:
2640 * gst/gstbin.c: (gst_bin_query):
2641 * plugins/elements/gstqueue.c: (apply_segment):
2647 2007-05-21 Wim Taymans <wim@fluendo.com>
2649 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2650 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2651 (gst_pad_configure_src):
2652 Added simple version of improved caps checking. It was previously
2653 assumed that a setcaps function would check the validity of the caps but
2654 people prefer us to check caps against the template automatically.
2657 2007-05-21 Wim Taymans <wim@fluendo.com>
2659 * libs/gst/base/gstbasetransform.h:
2660 Fix macro for locking/unlocking the transform lock.
2662 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
2664 * docs/plugins/tmpl/.cvsignore:
2667 2007-05-18 Edward Hervey <edward@fluendo.com>
2669 * plugins/elements/gstqueue.c: (gst_queue_loop):
2670 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2671 for the subtle art of warning a potentially blocking thread that it
2672 should check the source pad return value, and relay the information
2675 2007-05-18 Edward Hervey <edward@fluendo.com>
2677 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2678 Release the queue lock !
2680 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2682 * docs/libs/gstreamer-libs-sections.txt:
2683 Add the two new controller functions to the appropiate places.
2685 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2687 reviewed by: Stefan Kost <ensonic@users.sf.net>
2689 * libs/gst/controller/gstcontroller.c:
2690 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2691 (_gst_controller_get_property), (_gst_controller_set_property),
2692 (_gst_controller_init), (_gst_controller_class_init):
2693 * libs/gst/controller/gstcontroller.h:
2694 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2695 (gst_object_get_control_rate), (gst_object_set_control_rate):
2696 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2697 Add API that provides sync suggestion timestamps for elements that
2698 call gst_object_sync_values() from which those elements can subdivide
2699 their processing loop to get the best results for the controlled
2700 properties. For now it just suggests last_sync + control_rate as
2701 new timestamp but this will be improved in the future.
2703 While doing that change the control-rate property to a GstClockTime
2704 from guint and change it's meaning from samples to nanoseconds as
2705 the GstController doesn't know anything about sampling rate. Strictly
2706 speaking this breaks ABI but as the control-rate property didn't do
2707 anything in the past and as such couldn't be used this should be no
2710 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2712 reviewed by: Stefan Kost <ensonic@users.sf.net>
2714 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2715 (gst_controller_unset_all):
2716 * libs/gst/controller/gstcontrollerprivate.h:
2717 * libs/gst/controller/gstinterpolation.c:
2718 (gst_controlled_property_find_control_point_node):
2719 Save last synced value from the list to continue searching from there
2720 in future syncs. This speeds everything up a bit.
2722 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2724 reviewed by: Stefan Kost <ensonic@users.sf.net>
2726 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2727 (gst_control_point_find), (gst_controlled_property_new),
2728 (gst_control_point_free), (gst_controlled_property_free),
2729 (gst_controller_set), (gst_controller_set_from_list),
2730 (gst_controller_unset), (gst_controller_unset_all),
2731 (gst_controller_sync_values):
2732 * libs/gst/controller/gstcontroller.h:
2733 * libs/gst/controller/gstcontrollerprivate.h:
2734 * libs/gst/controller/gstinterpolation.c:
2735 (gst_controlled_property_find_control_point_node),
2736 (interpolate_none_get), (interpolate_trigger_get):
2737 Add a new private GstControlPoint struct which "inherits" from
2738 GstTimedValue to allow different interpolators to store internal
2739 values next to each control point. From the outside everything is
2740 still a GstControlPoint so we don't loose binary compatibility.
2741 Also fixup all the GValue handling to not leak GValues or list nodes.
2742 * tests/check/libs/controller.c: (GST_START_TEST):
2743 Free the list nodes and GValues in the controller_misc test.
2745 2007-05-17 Edward Hervey <edward@fluendo.com>
2750 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
2752 * gst/gstplugin.c: (gst_plugin_load_file):
2753 If we fail to load a plugin because of unresolved symbols or missing
2754 libraries and spew a warning to stderr, we may just as well mention
2755 which plugin it was that failed to load.
2757 2007-05-13 David Schleef <ds@schleef.org>
2759 * docs/Makefile.am: the gtk-doc makefile snippet correctly
2760 handles the case when ENABLE_GTK_DOC is false, and installs
2761 the prebuilt documentation. So gtk-doc subdirs are
2762 unconditionally enabled. Fixes: #349099.
2764 2007-05-13 David Schleef <ds@schleef.org>
2766 * gst/gstutils.h: Reword some documentation.
2768 2007-05-12 David Schleef <ds@schleef.org>
2770 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2771 do anything with the passed "module" parameter, so remove it.
2772 Allows removal of additional vestigal code.
2774 2007-05-12 David Schleef <ds@schleef.org>
2777 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2778 Switch to using g_stat() because it's more portable.
2780 2007-05-12 David Schleef <ds@schleef.org>
2783 Add GST_DISABLE_OPTION_PARSING, in order to disable option
2784 parsing for embedded systems.
2785 * gst/gstelementfactory.c:
2786 Allow gst_element_register() to be called with plugin==NULL.
2787 Did nobody notice that static elements were broken?
2789 2007-05-12 Wim Taymans <wim@fluendo.com>
2791 * tools/gst-launch.c: (event_loop):
2792 Give more interesting info when buffering starts and stops.
2793 Fix case where buffering starts but we fail to update the buffering flag
2794 because the target state is not PLAYING.
2796 2007-05-12 Wim Taymans <wim@fluendo.com>
2798 * plugins/elements/gstqueue.c: (gst_queue_init),
2799 (gst_queue_finalize), (update_time_level), (apply_segment),
2800 (apply_buffer), (gst_queue_locked_flush),
2801 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2802 (gst_queue_handle_sink_event), (gst_queue_chain),
2803 (gst_queue_push_one), (gst_queue_loop):
2804 * plugins/elements/gstqueue.h:
2805 Refactor an cleanup queue a bit.
2806 Do better time level calculations that also work when the srcpad is not
2808 Remove some unneeded debug lines.
2810 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2811 Added testcase for time level measurement.
2812 Try to make some stuff more racefree.
2814 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2816 * gst/gsturi.c: (gst_element_make_from_uri):
2817 Don't leak plugin feature.
2819 * tests/check/Makefile.am:
2820 * tests/check/gst/.cvsignore:
2821 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2822 Add brain-dead unit test.
2824 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
2826 Patch by: Jeroen Wouters <woutersj at gmail com>
2828 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2829 Treat protocol strings in a case-insensitive way (#437563).
2831 2007-05-11 Michael Smith <msmith@fluendo.com>
2833 * gst/gstplugin.c: (gst_plugin_load_file):
2834 * gst/gstregistry.c: (gst_registry_scan_path_level):
2835 Don't print a g_warning for any failure to load a shared object.
2836 Instead, push this down into gstplugin.c, and warn _only_ if we
2837 failed to open the module (i.e. failure to link).
2838 Avoids warnings on normal, working, non-plugin .so files.
2840 2007-05-11 Stefan Kost <ensonic@users.sf.net>
2842 * gst/gstplugin.c (gst_plugin_load_file):
2843 * gst/gstregistry.c (GST_CAT_DEFAULT,
2844 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2845 Print a g_warning if there was an error when loading a plugins during
2846 registry scan. The shuld help beginners starting with gst-plugin
2849 2007-05-10 Wim Taymans <wim@fluendo.com>
2851 * plugins/elements/gstqueue.c: (gst_queue_class_init),
2852 (update_time_level), (gst_queue_locked_flush),
2853 (gst_queue_handle_sink_event), (gst_queue_chain),
2854 (gst_queue_push_one), (gst_queue_loop):
2855 * plugins/elements/gstqueue.h:
2856 Be smarter when calculating the current amount of data in the queue by
2857 measuring the difference between start and end timestamps (in running
2858 time) inside the queue. Fixes #432876.
2859 API: GstQueue::pushing to notify elements that we are pushing data again
2860 since the running signal is rather broken for this purpose.
2862 2007-05-10 Stefan Kost <ensonic@users.sf.net>
2864 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2865 gst_queue_base_init, gst_queue_init):
2868 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
2870 * win32/common/libgstreamer.def:
2871 Add new exported functions.
2872 * win32/vs6/grammar.dsp:
2873 Use grammar pre-generated files.
2875 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2877 Based on patch by: Peter Kjellerstedt <pkj at axis com>
2880 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2882 * gst/gstutils.c: (gst_parse_bin_from_description):
2884 Maintain API and ABI when --disable-parse is used. Now that
2885 we have an appropriate error code, we can just return NULL and the
2886 appropriate error when gst_parse_launch() is used despite it having
2887 been disabled (#342564).
2889 * tests/check/Makefile.am:
2890 * tests/check/pipelines/.cvsignore:
2891 * tests/check/pipelines/parse-disabled.c:
2892 Make sure these functions exist and return NULL plus a GError when
2893 --disable-parse is used.
2895 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
2897 * tests/benchmarks/complexity.c: (main):
2898 * tests/benchmarks/mass-elements.c: (main):
2899 Set a good example and don't leak messages.
2901 2007-05-06 Stefan Kost <ensonic@users.sf.net>
2903 * docs/gst/Makefile.am:
2904 * docs/libs/Makefile.am:
2905 Correct fixxrefs options.
2907 * docs/plugins/Makefile.am:
2908 * docs/plugins/gstreamer-plugins-docs.sgml:
2909 * docs/plugins/gstreamer-plugins-sections.txt:
2910 * plugins/elements/Makefile.am:
2911 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
2912 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
2913 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
2914 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
2915 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
2916 _GstCapsFilterClass, trans_class):
2917 * plugins/elements/gstelements.c (name, rank, type, _elements):
2918 * plugins/elements/gstidentity.c
2919 (gst_identity_check_imperfect_timestamp,
2920 gst_identity_check_imperfect_offset):
2921 Document capsfilter and add doc-blurb to identity.
2923 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
2925 * libs/gst/controller/gstcontroller.c:
2926 (gst_controlled_property_set_interpolation_mode):
2927 * libs/gst/controller/gstinterpolation.c:
2928 Don't crash if someone tries to set an interpolation mode that
2929 is invalid or that isn't supported yet. Fixes #422295.
2931 * tests/check/libs/controller.c: (GST_START_TEST),
2932 (gst_controller_suite):
2933 Add a test case for the above.
2935 2007-05-03 Edward Hervey <edward@fluendo.com>
2937 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
2938 Properly set the last_stop position on GstSegment. This will only happen
2939 if there is a buffer to push out.
2941 2007-05-03 Wim Taymans <wim@fluendo.com>
2943 * libs/gst/base/gstbasetransform.c:
2944 (gst_base_transform_buffer_alloc):
2945 always_in_place does not mean that the sink and source caps are the
2946 same! Make sure we don't blindly proxy the buffer_alloc in this case.
2948 2007-05-03 Wim Taymans <wim@fluendo.com>
2950 * docs/libs/gstreamer-libs-sections.txt:
2951 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2952 (gst_base_src_default_query), (gst_base_src_get_range):
2953 * libs/gst/base/gstbasesrc.h:
2954 API: gst_base_src_query_latency(). Added method so that subclasses can
2955 easily get the latency values of the base source class.
2957 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
2959 * tools/gst-inspect.c (print_implementation_info):
2962 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
2964 * tools/Makefile.am:
2965 * tools/gst-launch.1.in:
2966 Don't create a customised man page based on the host architecture,
2967 describe the default registry path generically. That way the man
2968 page is the same for all architectures and packagers have one
2969 multilib issue less to deal with. Fixes #434926.
2971 2007-05-02 Wim Taymans <wim@fluendo.com>
2974 Fix documentation as spotted by rg on IRC.
2976 2007-04-29 Stefan Kost <ensonic@users.sf.net>
2979 Improve docs for gst_element_{link,unlink}.
2981 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
2983 * docs/design/part-events.txt:
2984 * docs/design/part-overview.txt:
2988 * libs/gst/base/gstbasesink.c:
2989 Typo fixes; minor docs addition.
2991 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
2993 * docs/gst/gstreamer-sections.txt:
2994 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
2995 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
2997 API: Add gst_uri_protocol_is_supported(), which checks if a sink
2998 or src that supports a given URI protocol exists.
3000 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3002 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3003 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3004 Set the location to NULL if "file://" is set as URI. Otherwise
3005 some random previous URI would still be set if "file://" is
3006 set on an already used filesink/filesrc.
3008 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3010 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3011 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3012 Special case the "file://" URI as as this is used by some
3013 applications to test with gst_element_make_from_uri if there's
3014 an element that supports the URI protocol.
3015 Also move the g_path_is_absolute() check for the location part
3016 of the URI to also check this for "file://localhost/bla" URIs.
3018 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3020 * docs/gst/gstreamer-sections.txt:
3021 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3023 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3025 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3027 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3029 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3030 (gst_registry_binary_load_pad_template),
3031 (gst_registry_binary_load_plugin),
3032 (gst_registry_binary_read_cache):
3033 * gst/gstregistrybinary.h:
3034 Implement no-mmap alternative for registry reading. Do code cleanups.
3035 Add more comments about avoiding strdups for all text data. Comments
3038 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3040 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3041 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3042 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3043 Comment structs and reformat to fix the build (that stuff should go
3044 into a priv. header).
3046 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3048 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3049 (gst_registry_binary_load_feature):
3050 * gst/gstregistrybinary.h:
3051 Refactor so that we can implement multiple features. Add support for
3052 TypeFindFactory features.
3054 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3056 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3059 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3061 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3063 * gst/gstbin.c: (gst_bin_element_set_state),
3064 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3065 (bin_handle_async_done), (gst_bin_handle_message_func):
3066 Fix build with --gst-disable-gst-debug
3068 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3070 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3071 Make sure streaming has finished before calling the ::stop() vfunc,
3072 since that vfunc might clear state which is being used in the
3073 streaming thread. This fixes a race that caused crashes in
3074 audioresample when shutting down a pipeline (#420106).
3076 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3078 * docs/gst/gstreamer-sections.txt:
3079 That was one byte missing.
3081 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3084 * docs/gst/gstreamer-sections.txt:
3086 * gst/gstconfig.h.in:
3087 * gst/gstobject.c: (gst_object_class_init),
3088 (gst_signal_object_class_init):
3090 2nd attempt to have a xml-less build as a joined effort of #413123
3093 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3095 * docs/design/draft-tagreading.txt:
3096 Added open issues/thoughts to draft.
3098 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3100 * gst/parse/grammar.tab.pre.c:
3101 * gst/parse/grammar.tab.pre.h:
3102 * gst/parse/lex._gst_parse_yy.pre.c:
3103 Update the prebuild parser sources.
3105 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3107 * gst/parse/Makefile.am:
3108 And now fix the building of the flex sources. Now everything should
3111 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3113 * gst/parse/Makefile.am:
3114 Now hopefully fix the build failures by setting proper rule
3115 dependencies and moving instead of copying.
3117 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3119 * tests/benchmarks/complexity.gnuplot:
3120 * tests/benchmarks/complexity.scm:
3121 * tests/benchmarks/mass-elements.gnuplot:
3122 * tests/benchmarks/mass-elements.scm:
3123 Total licensification.
3125 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3127 * gst/parse/Makefile.am:
3128 Fix the build by correcting the rule that gave wrong files to flex.
3130 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3132 * tests/benchmarks/complexity.c:
3133 * tests/benchmarks/mass-elements.c:
3134 Change licence to LGPL as granted by Benjamin and Andy.
3136 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3138 * gst/parse/Makefile.am:
3139 Add correct grammar.tab.h dependency if compiling without new enough
3140 flex. Fixes #431150.
3142 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3144 * gst/parse/Makefile.am:
3145 Fix typo and use outdated sources if the flex/bison sources are newer
3146 than the pregenerated ones but flex is too old. Print a warning in
3147 that case. This should fix the build on the build bot.
3149 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3151 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3152 * gst/parse/Makefile.am:
3153 * gst/parse/grammar.y:
3154 * gst/parse/parse.l:
3155 Make the parser reentrant and recursively callable. This requires flex
3156 >= 2.5.31, for older versions pregenerated sources are used as we
3157 can't bump the build dependency. Finally fixes #349180.
3159 * gst/gstparse.c: (gst_parse_launch):
3160 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3163 * docs/gst/Makefile.am:
3164 * docs/gst/Makefile.am:
3165 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3166 (__gst_parse_strfree), (__gst_parse_link_new),
3167 (__gst_parse_link_free), (__gst_parse_chain_new),
3168 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3169 (gst_parse_element_set), (gst_parse_free_link),
3170 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3171 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3172 (_gst_parse_launch):
3173 * gst/parse/grammar.tab.pre.h:
3174 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3175 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3176 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3177 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3178 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3179 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3180 (_gst_parse_yypop_buffer_state),
3181 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3182 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3183 (yy_fatal_error), (_gst_parse_yyget_extra),
3184 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3185 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3186 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3187 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3188 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3189 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3190 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3191 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3192 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3193 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3194 (_gst_parse_yyfree):
3195 If the installed flex version is too old use pre-generated parser
3196 sources. These pre-generated parser sources are always updated when
3197 the actual flex/bison sources change but require everybody who wants
3198 to change something in the parser to have flex >= 2.5.31 installed.
3200 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3202 * common/m4/gst-gettext.m4:
3203 * gst/gst-i18n-lib.h:
3204 Make --disable-nls to work
3206 2007-04-17 Wim Taymans <wim@fluendo.com>
3208 * gst/gstconfig.h.in:
3209 Revert previous change that broke the build.
3211 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3215 * gst/gstconfig.h.in:
3216 Drop libxml2 dependency when building with
3217 --enable-binary-registry --disable-loadsave
3219 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3221 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3222 (gst_registry_binary_read_cache):
3223 * gst/gstregistrybinary.h:
3224 Remove unnecessary <sys/mman.h> include which broke the win32 build
3225 with MingW; move includes from header file to .c file, even if the
3226 header file isn't installed; use g_strerror() where UTF-8 strings
3227 are expected, such as in GST_DEBUG messages.
3229 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3231 * docs/libs/gstreamer-libs-sections.txt:
3232 Remove bogus addition for API I didn't end up keeping.
3234 * libs/gst/base/gstbasesrc.h:
3235 Mention Since: 0.10.13 in the documentation.
3237 Add the API keyword to the previous ChangeLog entry.
3239 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3241 * docs/libs/gstreamer-libs-sections.txt:
3242 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3243 (gst_base_src_default_prepare_seek_segment),
3244 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3245 * libs/gst/base/gstbasesrc.h:
3246 Allow basesrc derived classes to execute seeks in other formats
3247 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3248 to prepare the GstSegment in any format that their perform_seek method
3249 will be able to understand. The default implementation provides the
3250 old behaviour of attempting to convert the seek offsets to the
3251 configured native format.
3253 API: basesrc::prepare_seek_segment vmethod.
3255 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3257 * gst/gstelement.c: (gst_element_get_state_func):
3258 Don't output the same debug statement twice.
3260 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3261 (gst_adapter_peek), (gst_adapter_take_buffer):
3262 Optimise the case where we have buffers at the head of the queue that
3263 can be joined quickly (because they're contiguous sub-buffers) by
3264 merging them together rather than copying data out into new memory.
3266 * gst/parse/grammar.y:
3267 * tests/check/pipelines/parse-launch.c:
3268 Fix a leak in an error path for parse_launch, and add a check
3269 for it to the testsuite.
3271 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3273 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3274 Don't deadlock when releasing a pad - gst_pad_set_active may try
3275 and take the multiqueue lock too.
3277 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3279 * gst/gsterror.c: (_gst_core_errors_init):
3281 API: add GST_CORE_ERROR_DISABLED (#392804).
3283 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3285 * docs/faq/gst-uninstalled:
3286 don't get empty paths on the PATH variables
3287 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3288 Don't format for the uncommon terminal width of 84 characters.
3290 2007-04-06 Wim Taymans <wim@fluendo.com>
3292 * gst/gstpipeline.c: (reset_stream_time),
3293 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3294 Only try to select a different pipeline clock when we went back to
3295 PAUSED and not when we merely got flushed.
3297 2007-04-05 Michael Smith <msmith@fluendo.com>
3299 * tools/gst-launch.1.in:
3300 fractions are better supported in gstreamer than ractions, so
3301 suggest using those.
3303 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3305 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3309 Added Danish translation.
3311 2007-04-05 Wim Taymans <wim@fluendo.com>
3313 * libs/gst/base/gstbasesink.c:
3314 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3315 Fix leak caused when refusing newsegment after EOS.
3317 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3318 (gst_fake_sink_init), (gst_fake_sink_set_property),
3319 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3320 (gst_fake_sink_render), (gst_fake_sink_change_state):
3321 * plugins/elements/gstfakesink.h:
3322 Add num-buffers property to make the element generate EOS after a
3323 configurable amount of buffers.
3324 API: fakesink::num-buffers property.
3326 * tests/check/elements/fakesink.c: (GST_START_TEST),
3328 Fix GstBus leak in test.
3329 Test for fakesink num-buffers.
3331 2007-04-05 Wim Taymans <wim@fluendo.com>
3333 * libs/gst/base/gstbasesink.c:
3334 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3335 (gst_base_sink_change_state):
3336 Don't accept anything after an EOS, return UNEXPECTED instead.
3338 * tests/check/elements/fakesink.c: (GST_START_TEST),
3340 Unit test for new EOS behaviour.
3342 2007-04-05 Wim Taymans <wim@fluendo.com>
3344 * gst/gstelement.c: (gst_element_get_request_pad):
3345 Make padtemplates also work when they don't contain %s or %d.
3347 2007-04-05 Wim Taymans <wim@fluendo.com>
3349 * docs/gst/gstreamer-sections.txt:
3350 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3351 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3353 Improve _adjust_unlocked() so that it overflows less.
3354 Add gst_clock_unadjust_unlocked to convert from external time to
3355 internal time based on calibration.
3356 Add some more debug.
3357 API: GstClock::gst_clock_unadjust_unlocked()
3359 2007-04-03 Wim Taymans <wim@fluendo.com>
3361 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3363 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3364 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3365 when releasing sink pad. Fixes #425400.
3367 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3369 * docs/random/ensonic/dynlink.txt:
3370 More work on proposal for new core api.
3372 * docs/libs/gstreamer-libs-sections.txt:
3373 * libs/gst/base/gstbasetransform.h:
3374 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3376 * libs/gst/controller/gstcontroller.c:
3377 (on_object_controlled_property_changed),
3378 (gst_controller_sync_values),
3379 (gst_controller_set_interpolation_mode):
3380 * libs/gst/controller/gstcontroller.h:
3381 Less verbose logging add docs for unimplemented parts and correctly
3382 return when using unavailable parts.
3384 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3386 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3387 Move all the debug to the CLOCK category, and associate it with
3390 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3392 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3393 Make take_buffer a bit quicker by removing redundant checks
3394 caused by calling gst_adapter_take.
3396 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3398 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3401 * tests/check/Makefile.am:
3402 * tests/check/elements/.cvsignore:
3403 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3404 (GST_START_TEST), (multiqueue_suite):
3405 Add some dead simple unit tests for the 'multiqueue' element
3406 (some bits don't work yet and are disabled for now).
3408 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3410 * gst/gstelement.c: (gst_element_get_request_pad),
3411 (gst_element_class_get_request_pad_template):
3412 Make gst_element_get_request_pad() create request pads only for
3413 request pad templates and not for, say, sometimes pad templates.
3415 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3417 * docs/design/draft-klass.txt:
3418 Add example that needs more thinking.
3420 * docs/design/draft-missing-plugins.txt:
3421 More thoughts about wrapper plugins.
3423 * docs/random/ensonic/embedded.txt:
3424 * docs/random/ensonic/profiling.txt:
3427 2007-03-25 Wim Taymans <wim@fluendo.com>
3429 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3430 (gst_base_src_loop):
3431 Only push the segment events in the PLAYING state for live sources.
3433 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3435 * gst/gstpipeline.c: (gst_pipeline_change_state):
3436 Modify the clock distribution path in PAUSED->PLAYING so that we
3437 never attempt to choose a new clock unless we're actually leaving
3438 the PAUSED state for the first time. This prevents choosing a
3439 different clock when the state_change gets called for a 2nd time due
3440 to some element doing an async state change.
3442 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3444 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3445 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3446 (gst_pad_chain_unchecked), (gst_pad_push):
3447 Revert last commit. This needs some more thoughts.
3449 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3451 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3452 (gst_pad_chain_unchecked), (gst_pad_push):
3453 Check in set_caps if the caps are compatible with the pad and remove
3454 two functions that are redundant now. Fixes #421543.
3456 2007-03-22 Wim Taymans <wim@fluendo.com>
3458 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3459 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3460 Unref some more to make valgrind happy.
3462 2007-03-22 Wim Taymans <wim@fluendo.com>
3464 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3465 (gst_system_clock_id_wait_jitter),
3466 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3467 Fix anoying regression that survived a few releases. When adding an
3468 async entry while blocking on a sync entry, the sync entry will unblock
3469 but still be busy, so it should continue to wait instead of returning
3471 Add some comments here and there.
3473 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3474 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3475 Add testcase for this.
3477 2007-03-22 Wim Taymans <wim@fluendo.com>
3479 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3480 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3481 WRONG_STATE and can silently pause the task. All other cases should
3484 2007-03-22 Wim Taymans <wim@fluendo.com>
3486 Patch by: Ville Syrjala <syrjala at sci dot fi>
3488 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3489 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3492 2007-03-21 Michael Smith <msmith@fluendo.com>
3494 * docs/pwg/advanced-types.xml:
3495 Fix some errors in the typefinding docs pointed out on irc.
3497 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3499 * libs/gst/base/gstbasesrc.c:
3500 Clarify FIXME comment in the face of having added unlock_stop()
3502 2007-03-21 Wim Taymans <wim@fluendo.com>
3504 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3505 Prepare for release where we warn against possible app breakage in the
3506 case of live pipelines along with an env var to enable/disable live
3507 preroll mode (GST_COMPAT=[no-]live-preroll).
3509 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3511 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3512 So we should use correct constants for checking for None offset.
3514 2007-03-20 Wim Taymans <wim@fluendo.com>
3516 * docs/design/part-block.txt:
3517 Mention the fact that the newly switched element should be set to at
3520 2007-03-20 Wim Taymans <wim@fluendo.com>
3523 Fix compilation with registry disabled as spotted by Saur.
3525 2007-03-20 Wim Taymans <wim@fluendo.com>
3527 Patch by: Olivier Crete <tester at tester dot ca>
3529 * gst/gstelement.c: (gst_element_sync_state_with_parent):
3530 Look at the pending state too when syncing the element state to the
3531 parent. Fixes #420133.
3533 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
3535 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3536 (gst_base_sink_change_state):
3537 * libs/gst/base/gstbasesink.h:
3538 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3539 (gst_base_src_default_event), (gst_base_src_unlock_stop),
3540 (gst_base_src_deactivate):
3541 * libs/gst/base/gstbasesrc.h:
3542 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3543 for sub-classes to correctly clear any state they set trying to
3544 unlock, such as clearing out unlock commands from a command fd.
3545 API: basesrc::unlock_stop
3546 API: basesink::unlock_stop
3548 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3549 (gst_fd_sink_render), (gst_fd_sink_unlock),
3550 (gst_fd_sink_unlock_stop):
3551 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3552 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3553 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3555 Implement unlock_stop in fdsrc and fdsink.
3556 Implement seeking in fdsrc when a seekable fd is passed, as in
3557 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3559 2007-03-19 Wim Taymans <wim@fluendo.com>
3561 Patch by: Evan Nemerson <evan at coeus dash group dot com>
3563 * gst/gstelement.c: (gst_element_class_init):
3564 Fix pad-added and pad-removed signal signatures so that the pad type is
3565 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3567 2007-03-19 Wim Taymans <wim@fluendo.com>
3569 * docs/gst/gstreamer-sections.txt:
3570 Add new element field and method.
3572 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3573 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3574 (gst_bin_recalc_state), (gst_bin_get_state_func),
3575 (gst_bin_element_set_state), (gst_bin_change_state_func),
3576 (gst_bin_continue_func), (bin_bus_handler),
3577 (bin_push_state_continue), (bin_handle_async_start),
3578 (bin_handle_async_done), (gst_bin_handle_message_func):
3579 Make async state changes a bit smarter by using new ASYNC_START and
3580 ASYNC_DONE messages. This reduces the number of times we run the state
3581 recalculation thread.
3582 Don't change state of element with a pending ASYNC_START message.
3583 Deprecate STATE_DIRTY messages.
3585 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3586 (gst_element_get_state_func), (gst_element_continue_state),
3587 (gst_element_lost_state), (gst_element_set_state_func),
3588 (gst_element_change_state):
3590 Keep the state that was last set by the app in a new element field.
3591 Don't allow state changes when handling an element event.
3592 Post ASYNC_START and ASYNC_DONE messages.
3593 Change lost_state so that we go to PAUSED and wait for the parent to set
3594 us to PLAYING again (so latency calculation can be performed)
3595 Export gst_element_change_state() method so that subclasses can use it.
3596 API: gst_element_change_state()
3597 API: GST_STATE_TARGET
3599 * gst/gstpipeline.c: (gst_pipeline_class_init),
3600 (reset_stream_time), (gst_pipeline_change_state),
3601 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3602 Using the new ASYNC_START message we can reset the base_time when
3603 needed. This can then be used to implement base_time redistribution in
3604 flushing seeks so that we can remove the explicit seek handling.
3605 Perform latency query and configuration when going to PLAYING.
3607 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3608 (gst_base_sink_query), (gst_base_sink_change_state):
3609 Post new ASYNC_START/ASYNC_DONE messages.
3611 * tests/check/generic/sinks.c: (GST_START_TEST):
3612 Fix test because the bin will not set the async element to PLAYING right
3615 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3616 Make the message check a little stronger.
3617 Handle ASYNC messages.
3619 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3620 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3621 Expect ASYNC_DONE messages.
3623 2007-03-19 Wim Taymans <wim@fluendo.com>
3625 * docs/gst/gstreamer-sections.txt:
3626 * gst/gstmessage.c: (gst_message_new_async_start),
3627 (gst_message_new_async_done), (gst_message_parse_info),
3628 (gst_message_parse_async_start):
3630 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3633 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
3635 * tools/gst-inspect.c:
3636 (print_plugin_automatic_install_info_codecs):
3637 Now that we don't check for the 'Codec' keyword any longer in the
3638 klass, we shouldn't spew a warning if the klass isn't a decoder or
3639 encoder (since it might be a Source/Network, for example).
3641 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
3643 * tools/gst-inspect.c:
3644 (print_plugin_automatic_install_info_codecs):
3645 Don't require decoder/demuxer/depayloader elements or
3646 encoder/muxer/paylader elements to have 'Codec' as part of their
3647 factory class string when introspecting a plugin's capabilities.
3648 draft-klass.txt mentions that it might be removed in future, and
3649 flump3dec doesn't have it as part of its class string, so chances
3650 are others might also not have it.
3652 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
3674 Update translations from translation project
3676 2007-03-14 Stefan Kost <ensonic@users.sf.net>
3678 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3679 (gst_child_proxy_set_property):
3680 Invert precondition check to be alike the ones in the mimiced gobject
3683 2007-03-13 Stefan Kost <ensonic@users.sf.net>
3685 * docs/design/draft-tagreading.txt:
3686 * docs/random/ensonic/audiobaseclasses.txt:
3687 Do some Architect work.
3689 * gst/gstobject.c: (gst_object_set_name):
3693 Add docs that point from gst_pad_get_range to gst_pad_pull_range
3695 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
3697 * gst/gstsystemclock.c: (gst_system_clock_init),
3698 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3699 Defer starting the async system clock thread until the first async
3700 wait is scheduled. Fixes #414986.
3702 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
3704 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3705 (gst_single_queue_free):
3706 Fix small leak (free GstSingleQueue structure too, not only contents).
3708 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
3710 * gst/gstbin.c:(gst_bin_add):
3711 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3712 * win32/common/libgstbase.def:
3713 * win32/common/libgstreamer.def:
3714 Add new exported functions.
3716 2007-03-09 Wim Taymans <wim@fluendo.com>
3718 * docs/plugins/gstreamer-plugins-sections.txt:
3721 2007-03-09 Wim Taymans <wim@fluendo.com>
3723 * docs/gst/gstreamer-sections.txt:
3724 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3726 Add metadata copy functions. Fixes #393099.
3727 API: gst_buffer_copy_metadata()
3729 * gst/gstutils.c: (gst_buffer_stamp):
3730 * libs/gst/base/gstbasetransform.c:
3731 (gst_base_transform_prepare_output_buffer):
3732 Use new metadata copy functions.
3734 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
3736 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3737 (gst_identity_init), (gst_identity_check_perfect),
3738 (gst_identity_check_imperfect_timestamp),
3739 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3740 (gst_identity_set_property), (gst_identity_get_property):
3741 * plugins/elements/gstidentity.h:
3742 Separate out check-imperfect-timestamp and check-imperfect-offset.
3743 Put back check-perfect as it was to keep compatibility.
3745 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
3747 * gst/gstelement.c: (gst_element_dispose):
3748 There's no need to warn if VOID_PENDING is not NONE here, as
3749 long as the state is NULL it's ok, and that's checked immediately
3752 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3754 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3755 Fix check for perfect stream to ignore buffers with -1
3756 offsets/offset ends when checking data contiguity.
3758 2007-03-08 Wim Taymans <wim@fluendo.com>
3760 * tools/gst-launch.c: (event_loop):
3761 Print INFO messages.
3763 2007-03-08 Wim Taymans <wim@fluendo.com>
3765 * libs/gst/base/gstbasetransform.c:
3766 (gst_base_transform_sink_eventfunc),
3767 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3768 (gst_base_transform_activate):
3769 * libs/gst/base/gstbasetransform.h:
3770 Add support for dropping buffers with custom GstFlowReturn.
3771 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3772 buffers or dropped buffers.
3774 * docs/libs/gstreamer-libs-sections.txt:
3775 docs for new custom return code.
3777 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3778 Use drop support in base class to implement drop-probability.
3780 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
3782 * gst/gst.c: (load_plugin_func):
3783 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3784 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3785 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3786 Remove newlines at end of debug log strings.
3788 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3790 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3791 Only post bus message at max, once per buffer received.
3793 2007-03-07 Wim Taymans <wim@fluendo.com>
3795 * docs/design/Makefile.am:
3796 * docs/design/part-synchronisation.txt:
3797 Add doc about synchronisation
3799 * docs/design/draft-latency.txt:
3800 * docs/design/part-TODO.txt:
3801 * docs/design/part-clocks.txt:
3802 * docs/design/part-events.txt:
3803 * docs/design/part-gstbus.txt:
3804 * docs/design/part-gstpipeline.txt:
3805 * docs/design/part-live-source.txt:
3806 * docs/design/part-messages.txt:
3807 * docs/design/part-overview.txt:
3808 * docs/design/part-streams.txt:
3809 * docs/design/part-trickmodes.txt:
3810 Documentation updates.
3812 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3815 Update the doap file.
3817 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3819 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3820 Rename non-perfect to imperfect for Mike and for the sanctity of the
3822 Also make sure bus message gets emitted for data-incontiguities.
3824 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3826 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3827 (gst_identity_start):
3828 * plugins/elements/gstidentity.h:
3829 Emit bus message if check-perfect is true and we encounter a
3830 non-perfect stream between 2 consecutive buffers.
3833 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3838 === release 0.10.12 ===
3840 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
3843 releasing 0.10.12, "Inevitable Demise"
3845 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
3848 Version 0.10.11.2 (0.10.12 pre-release)
3849 Bump libtool versioning.
3851 2007-03-01 Stefan Kost <ensonic@users.sf.net>
3853 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3854 Log flow-names and not numbers.
3856 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3859 Convert to new AG_GST style.
3861 2007-02-28 Wim Taymans <wim@fluendo.com>
3863 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3864 Don't unref query twice.
3866 2007-02-28 Wim Taymans <wim@fluendo.com>
3868 * gst/gstvalue.c: (gst_value_transform_object_string),
3869 (_gst_value_initialize):
3870 Implement GstObject -> string transform so we print object names
3871 when serializing GValues containing GstObjects.
3873 2007-02-28 Wim Taymans <wim@fluendo.com>
3875 * docs/gst/gstreamer-sections.txt:
3876 Add new stuff to docs.
3878 2007-02-28 Wim Taymans <wim@fluendo.com>
3880 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3881 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3882 (gst_base_sink_change_state):
3883 Improve latency query code.
3884 Don't leak latency events.
3886 * tests/check/gst/gstbin.c: (GST_START_TEST):
3889 2007-02-28 Wim Taymans <wim@fluendo.com>
3891 * gst/gstelement.c: (gst_element_message_full),
3892 (gst_element_get_state_func):
3894 Improve docs a little. Added Since: for new macro.
3896 * gst/gstobject.c: (gst_object_sink):
3897 * gst/gstpipeline.c: (gst_pipeline_change_state),
3898 (gst_pipeline_set_new_stream_time):
3899 * gst/gstpipeline.h:
3900 Improve debugging and docs.
3902 * gst/gstutils.c: (gst_element_state_change_return_get_name):
3905 2007-02-28 Wim Taymans <wim@fluendo.com>
3907 * gst/gstelement.c: (gst_element_message_full),
3908 (gst_element_set_locked_state), (gst_element_get_state_func),
3909 (gst_element_change_state):
3910 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
3911 Documentation updates.
3912 Small code cleanups.
3914 * gst/gstmessage.c: (gst_message_new_info),
3915 (gst_message_parse_info):
3917 API: gst_message_new_info()
3918 API: gst_message_parse_info()
3919 Add INFO message create and parse code.
3921 2007-02-28 Wim Taymans <wim@fluendo.com>
3923 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
3924 (bin_query_latency_done):
3925 Also report the live parameter of a latency query.
3927 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
3929 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
3930 Copy the current generic/states example from -base and adapt so
3931 we can use the exact same code everywhere.
3932 Check a STATES_IGNORE_ELEMENTS env var which can be used
3933 to ignore certain element factories for this test, which is
3934 what is being done in -base
3935 * tests/check/Makefile.am:
3936 Mention this environment variable.
3938 2007-02-27 Wim Taymans <wim@fluendo.com>
3940 * docs/gst/gstreamer-sections.txt:
3941 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3942 (gst_bus_timed_pop), (gst_bus_pop):
3944 API: gst_bus_timed_pop()
3945 Implement gst_bus_timed_pop() to do a blocking timed wait for a
3946 message to arrive on the bus.
3948 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
3950 Two unit tests for new _timed_pop() function.
3952 2007-02-23 Wim Taymans <wim@fluendo.com>
3954 * gst/gstpipeline.c: (gst_pipeline_change_state),
3955 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
3956 Don't ref a NULL clock in _provide_clock_func().
3957 Don't allow an INVALID delay.
3958 Don't try to calculate base_time with an invalid start_time.
3959 Also distribute and notify a NULL clock when it was selected.
3961 * tools/gst-launch.c: (event_loop):
3962 Don't crash when a NULL clock was selected in the pipeline.
3964 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
3966 * docs/design/Makefile.am:
3967 * docs/design/draft-missing-plugins.txt:
3968 * docs/random/draft-missing-plugins.txt:
3969 Some small updates: update plugin system identifier prefix
3970 ('gstreamer.net' to 'gstreamer'), mention our new install
3971 API in libgstbaseutils rather than libgimme-codec, add
3972 reference to the online docs.
3974 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3976 * win32/common/config.h:
3977 Pretty sure Bill never made a powerpc version. Powerpc hackers,
3978 use moap cl ci to only check in what is mentioned in the ChangeLog.
3980 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3982 * docs/gst/gstreamer-sections.txt:
3984 Fix up documentation to link to the correct GstGError section.
3985 Add GST_ELEMENT_INFO macro since someone else added a Info message.
3987 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
3989 * tools/gst-launch.c: (event_loop):
3990 Make sure that we actually show the important message part of a
3992 No need to check if the gerror is not NULL to free; first of all
3993 g_free accepts NULL; and second the default error handler would
3994 segfault if gerror was NULL.
3996 2007-02-21 Wim Taymans <wim@fluendo.com>
3998 * docs/gst/gstreamer-sections.txt:
3999 Removed docs as well.
4001 2007-02-21 Wim Taymans <wim@fluendo.com>
4003 * gst/gstmessage.c: (gst_message_parse_duration):
4005 Remove new messages for release.
4007 2007-02-20 Wim Taymans <wim@fluendo.com>
4009 * docs/design/part-gstghostpad.txt:
4010 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4011 (gst_ghost_pad_new_full):
4012 Make the ghostpad a parent of the internal pad again for better backward
4013 compatibility. Don't write code that relies on this however.
4015 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4016 (gst_pad_link_check_hierarchy):
4017 Require that parents should be GstElements in the hierarchy check.
4019 2007-02-20 Wim Taymans <wim@fluendo.com>
4021 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4022 (gst_bin_change_state_func), (bin_query_min_max_init),
4023 (bin_query_latency_fold), (bin_query_latency_done),
4026 Implement latency query.
4028 2007-02-20 Wim Taymans <wim@fluendo.com>
4030 * docs/design/part-gstghostpad.txt:
4031 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4032 (gst_ghost_pad_internal_do_activate_push),
4033 (gst_ghost_pad_internal_do_activate_pull),
4034 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4035 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4036 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4037 Do not set the internal pad as a parent anymore so we can avoid
4038 hierarchy linking errors when the ghostpad has no parent yet. This also
4039 fixes failed activation because of unlinked internal pads, which in
4040 turn fixes the impossible case where you have to activate a pad before
4041 you can add it to a running element.
4044 * gst/gstpad.c: (pre_activate), (post_activate),
4045 (gst_pad_set_active), (gst_pad_activate_pull),
4046 (gst_pad_activate_push), (gst_pad_check_pull_range):
4047 Add some more debug info.
4048 Mark activation mode in pre_activate so that we don't try to activate in
4049 endless loops. Fixes #385084.
4051 2007-02-19 Wim Taymans <wim@fluendo.com>
4053 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4054 (gst_base_transform_check_get_range):
4055 Implement a checkgetrange function instead of relying on the default
4056 core behaviour that assumes we can operate in pull mode if we have a
4057 getrange function. First step at fixing #385084.
4059 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4061 * gst/gstchildproxy.h:
4062 * libs/gst/base/gstbasesink.h:
4063 * libs/gst/base/gstbasesrc.h:
4064 * libs/gst/base/gstbasetransform.h:
4065 More docs coverage and some ChangeLog surgery (add missing names)
4067 2007-02-15 Wim Taymans <wim@fluendo.com>
4069 * docs/design/part-TODO.txt:
4070 * docs/design/part-activation.txt:
4071 * docs/design/part-block.txt:
4072 * docs/design/part-buffering.txt:
4073 * docs/design/part-clocks.txt:
4074 * docs/design/part-element-source.txt:
4075 * docs/design/part-events.txt:
4076 * docs/design/part-gstbin.txt:
4077 * docs/design/part-gstbus.txt:
4078 * docs/design/part-gstpipeline.txt:
4079 * docs/design/part-live-source.txt:
4080 * docs/design/part-messages.txt:
4081 * docs/design/part-overview.txt:
4082 * docs/design/part-qos.txt:
4083 * docs/design/part-query.txt:
4084 * docs/design/part-states.txt:
4085 * docs/design/part-trickmodes.txt:
4086 Some doc updates. Start renaming from stream_time to running_time where
4087 it was used wrongly.
4089 2007-02-15 Wim Taymans <wim@fluendo.com>
4091 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4092 Answer LATENCY query.
4094 2007-02-15 Wim Taymans <wim@fluendo.com>
4096 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4100 2007-02-15 Wim Taymans <wim@fluendo.com>
4102 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4103 (gst_pad_dispatcher):
4104 Improve debugging of default pad dispatcher and query functions.
4106 2007-02-15 Wim Taymans <wim@fluendo.com>
4108 * docs/gst/gstreamer-sections.txt:
4109 Remove old unused method.
4111 2007-02-13 Wim Taymans <wim@fluendo.com>
4113 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4116 2007-02-13 Wim Taymans <wim@fluendo.com>
4118 * docs/design/part-seeking.txt:
4121 * gst/gstsegment.c: (gst_segment_set_seek):
4122 Revert old bogus change that should make seeking work again.
4124 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4126 * docs/random/ensonic/dynlink.txt:
4127 * docs/random/ensonic/interfaces.txt:
4128 * docs/random/ensonic/receipies.txt:
4129 Possible dynamic reconnection api, plus some type fixes the other two
4132 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4134 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4135 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4136 Also check for an absolute path following file:// in the filesrc
4137 element. Remove redundant check and call g_path_is_absolute() on the
4140 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4142 * docs/design/draft-klass.txt:
4143 Add existing category analysis.
4146 Fix doc example, framerate is a fraction.
4148 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4151 * docs/gst/Makefile.am:
4152 * docs/gst/gstreamer-sections.txt:
4153 * docs/libs/Makefile.am:
4154 Erm, forgot a bunch of --extra-dir.
4156 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4159 * docs/gst/Makefile.am:
4160 * docs/libs/Makefile.am:
4161 * docs/plugins/Makefile.am:
4162 Add crossreferences to glib/gobject docs.
4164 2007-02-12 Wim Taymans <wim@fluendo.com>
4166 * docs/design/draft-latency.txt:
4169 * docs/libs/gstreamer-libs-sections.txt:
4170 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4171 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4172 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4173 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4174 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4175 (gst_base_sink_get_position), (gst_base_sink_query),
4176 (gst_base_sink_change_state):
4177 * libs/gst/base/gstbasesink.h:
4178 API: gst_base_sink_query_latency() to let subclasses query the upstream
4180 API: gst_base_sink_get_latency() to let subclasses query the configured
4181 latency in the sink.
4182 Implement query and set latency.
4184 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4185 don't continue preroll when we are flushing. Fixes #405284.
4187 * tests/check/pipelines/stress.c: (change_state_timeout),
4188 (quit_timeout), (GST_START_TEST), (stress_suite):
4191 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4193 Patch by: René Stadler <mail at renestadler de>
4195 * docs/gst/gstreamer-sections.txt:
4196 * gst/gsttaglist.c: (_gst_tag_initialize):
4198 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4200 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4202 * docs/libs/Makefile.am:
4203 Fix path to core docs.
4205 * gst/gstbin.c: (gst_bin_get_by_interface),
4206 (gst_bin_iterate_all_by_interface):
4207 Refix docs by also renaming 'interface' to 'iface' in implementation.
4209 * docs/gst/gstreamer-sections.txt:
4211 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4212 * gst/gstchildproxy.h:
4213 * gst/gstelementfactory.c:
4214 * gst/gstpadtemplate.h:
4215 * libs/gst/controller/gstcontroller.c:
4216 (gst_controlled_property_new):
4219 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4221 * gst/gstbin.h:(gst_bin_get_by_interface),
4222 (gst_bin_iterate_all_by_interface):
4223 Replace interface parameter name by iface as interface is
4224 a reserved keyword in Visual Studio for C++ projects so it removes
4225 a build error for application developpers using VS.
4226 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4227 Fix a bug on Windows in uri format check. Now the prefix checked
4228 is file:// and next we check if the path after file:// is absolute.
4229 * win32/common/libgstbase.def:
4230 * win32/common/libgstdataprotocol.def:
4231 * win32/common/libgstgstreamer.def:
4232 Add new exported functions.
4234 2007-02-09 Andy Wingo <wingo@pobox.com>
4236 * tests/check/pipelines/simple-launch-lines.c
4237 (simple_launch_lines_suite, test_tee): Disable tee test until I
4238 have time to fix it :-(
4240 * tests/check/Makefile.am (noinst_HEADERS):
4241 * tests/check/libs/libsabi.c:
4242 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4243 * tests/check/gst/gstabi.c:
4244 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4246 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4247 tests for push and pull tee behavior.
4249 * plugins/elements/gsttee.h:
4250 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4251 mark as deprecated as well as unimplemented. It was a crack idea.
4252 Add support for tee operating in pull mode, off by default.
4254 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4255 normal-case logs down to LOG, raise errors to WARNING.
4256 (gst_registry_xml_read_cache): Don't log before calling a function
4259 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4260 exit (registry finalize).
4261 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4262 DEBUG log when we emit signals that people don't even have the
4263 chance to connect to.
4264 (gst_registry_scan_path_level): Less logging in the normal case.
4266 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4268 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4270 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4271 Correctly generate EOS for non-seekable files. We don't have a total
4272 length for them and would get an unexpected end of file if we only
4273 special-cased for regular files. (Fixes: #404569)
4275 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4277 * tests/check/elements/filesrc.c: (GST_START_TEST),
4279 Add unit test for the GstURIHandler interface in filesrc. This also
4280 tests the newly added file://localhost/foo/bar support.
4282 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4284 * gst/gstelementfactory.h:
4285 The klass string is not a hierarchy. Add reference to the design doc
4286 for more information and common types.
4288 2007-02-02 Wim Taymans <wim@fluendo.com>
4290 * gst/gstquery.c: (gst_query_new_latency):
4291 Remove old structure field.
4293 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4295 * tools/gst-launch.1.in:
4296 Give example for network streaming (#351998)
4298 2007-02-02 Wim Taymans <wim@fluendo.com>
4300 * docs/gst/gstreamer-sections.txt:
4301 Add docs for new methods.
4303 * gst/gstevent.c: (gst_event_new_latency),
4304 (gst_event_parse_latency):
4306 Add new LATENCY event to configure latency in a pipeline.
4307 API: gst_event_new_latency
4308 API: gst_event_parse_latency
4310 * gst/gstmessage.c: (gst_message_new_buffering),
4311 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4312 (gst_message_new_latency), (gst_message_parse_buffering),
4313 (gst_message_parse_lost_preroll):
4315 Added messages used in draft-latency.
4316 API: gst_message_new_lost_preroll
4317 API: gst_message_parse_lost_preroll
4318 API: gst_message_new_prerolled
4319 API: gst_message_new_latency
4321 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4322 (gst_query_parse_latency):
4324 Implemented new latency query as in design doc.
4325 API: gst_query_new_latency
4326 API: gst_query_set_latency
4327 API: gst_query_parse_latency
4329 2007-02-02 Wim Taymans <wim@fluendo.com>
4331 * docs/design/draft-latency.txt:
4332 Slight redesign to allow for dynamic latency adjustments.
4334 * docs/design/part-negotiation.txt:
4337 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4339 reviewed by: Wim Taymans <wim@fluendo.com>
4341 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4342 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4343 Allow file://localhost/foo/bar URLs and correctly fail for every other
4344 hostname that one sets. This was gnomevfssrc is linked for those if
4345 installed as it can handle it (#403172)
4347 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4349 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4351 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4352 (unref_data), (gst_collect_pads_add_pad_full):
4353 * libs/gst/base/gstcollectpads.h:
4354 Don't put the previously added destroy notify in the GstCollectData
4355 struct as all it's padding is already used and we don't want to break
4356 ABI. Instead put in the pad's GObject data for now. This should be
4357 cleaned up for 0.11 (#402393).
4359 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4361 reviewed by: Wim Taymans <wim@fluendo.com>
4363 * docs/libs/gstreamer-libs-sections.txt:
4364 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4365 (unref_data), (gst_collect_pads_add_pad),
4366 (gst_collect_pads_add_pad_full):
4367 * libs/gst/base/gstcollectpads.h:
4368 API: Add function to specify a destroy notification for custom
4369 GstCollectData when adding new pads in GstCollectPads (#402393).
4371 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4374 Update Swedish translation (#378255).
4376 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4378 * docs/design/draft-klass.txt:
4379 Fix the previous change, this is a list of categories and not a hierarchy.
4381 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4383 * docs/design/draft-klass.txt:
4384 Add info about how to get a list of used classes.
4386 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4388 * plugins/elements/gsttypefindelement.c:
4389 (gst_type_find_element_chain_do_typefinding),
4390 (gst_type_find_element_change_state):
4391 Don't leak found caps in chain function (no idea why that never
4392 showed up as a leak anywhere).
4394 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4397 Fix and expand GstPluginDesc API docs.
4399 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4402 * gst/gstelementfactory.c:
4403 * gst/gstpadtemplate.h:
4406 * libs/gst/controller/gstcontroller.c:
4407 (gst_controlled_property_new):
4408 * tests/examples/controller/audio-example.c:
4411 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4414 comment about refining the xml deps
4417 comments about moving away from jade for docs
4420 recommit the ifdefs to use the binary registry
4422 * gst/gstbin.c: (gst_bin_change_state_func):
4423 this break is obsolete
4425 * gst/gstelementfactory.h:
4426 better GST_ELEMENT_DETAILS docs, add comment about translation
4431 * gst/gstobject.c: (gst_signal_object_get_type):
4432 add G_UNLIKELY as usual
4434 * gst/gstpad.c: (gst_pad_event_default):
4435 add fall trhu comment
4437 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4438 (gst_registry_binary_initialize_magic),
4439 (gst_registry_binary_save_string),
4440 (gst_registry_binary_save_pad_template),
4441 (gst_registry_binary_save_feature),
4442 (gst_registry_binary_save_plugin),
4443 (gst_registry_binary_write_cache),
4444 (gst_registry_binary_check_magic),
4445 (gst_registry_binary_load_pad_template),
4446 (gst_registry_binary_load_feature),
4447 (gst_registry_binary_load_plugin),
4448 (gst_registry_binary_read_cache):
4449 comment typo and formatting
4451 * gst/gstutils.c: (gst_element_state_get_name),
4452 (gst_element_state_change_return_get_name):
4453 remove obsolete breaks
4455 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4456 add FIXME 0.11 and remove cpp comment
4458 2007-01-29 Edward Hervey <edward@fluendo.com>
4460 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4461 Fix print statement in an even more portable way.
4463 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4465 * docs/gst/gstreamer-sections.txt:
4467 API: add GST_ROUND_DOWN_* macros (#401781).
4469 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4471 * docs/gst/gstreamer.types.in:
4472 * gst/gstregistry.c: (gst_registry_class_init):
4473 Document registry signals and make gtk-doc pick them up (#401381).
4475 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4477 * docs/pwg/building-testapp.xml:
4478 Add some audioconverts and audioresample to the pipeline, and some
4479 more comments and error handling.
4481 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4483 * docs/manual/manual.xml:
4487 2007-01-26 Wim Taymans <wim@fluendo.com>
4489 * gst/gstcaps.c: (gst_static_caps_get):
4490 Init caps flags too.
4492 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4494 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4496 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4497 If not using mmap'ed files try to seek to the end instead of the
4498 start to determine whether we can seek at all. This fixes the case
4499 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4500 seeks for everything afterwards fail. Fixes #400656
4502 2007-01-25 Wim Taymans <wim@fluendo.com>
4504 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4505 Add some refcount debugging.
4506 Make gst_static_caps_get threadsafe, which is needed when autoplugging
4507 in multiple streaming threads.
4509 2007-01-25 Wim Taymans <wim@fluendo.com>
4511 Patch by: David Schleef <ds at schleef dot org>
4513 * docs/libs/gstreamer-libs-sections.txt:
4514 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4515 * libs/gst/base/gstadapter.h:
4516 API: gst_adapter_copy() that can reduce the amount of memcpy when
4517 getting data from the adapter. Fixes #388201.
4519 2007-01-25 Edward Hervey <edward@fluendo.com>
4521 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4522 In print statements, "%x" is for guint. Fixes build on macosx.
4524 2007-01-24 Edward Hervey <edward@fluendo.com>
4526 * plugins/elements/gstmultiqueue.c:
4527 (gst_multi_queue_loop):
4529 (single_queue_overrun_cb), (single_queue_underrun_cb),
4530 (single_queue_check_full), (gst_single_queue_new):
4531 Implement single queue growth system.
4532 This uses the extra-size properties, and will grow single queues by
4533 that much if one goes full whereas there are others empty. This is
4534 called extra-mode in the code.
4535 When a single queue's levels go back below the initial max-size
4536 limits, it is no longer in extra-mode. This is to ensure we don't
4537 consume too much memory.
4540 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
4542 * gst/gst.c: (gst_init_get_option_group):
4543 Make warning about late g_thread_init() calls a bit more explicit,
4544 so that it's more obvious to application developers what they need
4545 to do if a user files a bug against their application.
4547 2007-01-22 Edward Hervey <edward@fluendo.com>
4549 * plugins/elements/gstmultiqueue.c:
4550 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4551 Remove previous hack of unsetting the flushing flag for the source pad
4552 instead of activating it. Instead, fix the source pad activate function
4553 so that it no longer depends on having a parent set or not.
4555 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
4557 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4559 * docs/manual/basics-bus.xml:
4560 Fix example code, gst_element_unref() doesn't exist any longer.
4562 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
4564 Patch by: Mark Nauwelaerts <manauw at skynet be>
4567 Fix two docs typoes (#399094).
4569 2007-01-19 Edward Hervey <edward@fluendo.com>
4571 * docs/faq/gst-uninstalled:
4572 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4573 depending on libgstbaseutils can work in uninstalled environment.
4575 2007-01-18 Stefan Kost <ensonic@users.sf.net>
4578 * gst/gsttagsetter.c:
4579 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4580 statement for new tag.
4582 2007-01-17 Edward Hervey <edward@fluendo.com>
4584 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4585 When dynamically creating single queues, activate sinkpad before adding
4587 We should be doing the same thing for the source pad, but we can't
4588 since it would call a method which needs the parent to be set in order
4589 to work propertly. Instead of activating the source pad, we just unset
4590 the flushing flag, which is the minimal requirement for adding a pad
4591 to an element in a state greater than READY.
4593 2007-01-17 Edward Hervey <edward@fluendo.com>
4595 * docs/faq/gst-uninstalled:
4596 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4599 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
4601 * tests/check/gst/gstabi.c:
4602 * tests/check/gst/struct_hppa.h:
4603 * tests/check/libs/libsabi.c:
4604 * tests/check/libs/struct_hppa.h:
4605 Add ABI structs for HPPA (see #393796).
4607 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
4609 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4610 Actually write ABI structs to the file specified in the GST_ABI
4611 environment variable, as the message we print claims we would.
4613 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4615 * tests/check/gst/gsttask.c:
4618 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4620 * gst/gsttaglist.c: (_gst_tag_initialize):
4621 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4622 previous two entries.
4624 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4626 * docs/gst/gstreamer-sections.txt:
4627 * gst/gsttaglist.c: (_gst_tag_initialize):
4629 Add tag support for beat-per-minute.
4631 2007-01-15 Stefan Kost <ensonic@users.sf.net>
4633 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4634 (gst_registry_binary_initialize_magic),
4635 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4636 (gst_registry_binary_save_pad_template),
4637 (gst_registry_binary_save_feature),
4638 (gst_registry_binary_save_plugin),
4639 (gst_registry_binary_write_cache),
4640 (gst_registry_binary_check_magic),
4641 (gst_registry_binary_load_pad_template),
4642 (gst_registry_binary_load_feature),
4643 (gst_registry_binary_load_plugin),
4644 (gst_registry_binary_read_cache):
4645 * gst/gstregistrybinary.h:
4646 Use glib types, cleanup comments, impement interfaces and uri-types.
4648 2007-01-13 Andy Wingo <wingo@pobox.com>
4650 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4651 getrange() to return buffers with other caps, while we fix
4652 demuxers and typefind, or otherwise change part-negotiation.txt.
4654 2007-01-12 Andy Wingo <wingo@pobox.com>
4656 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4657 Factor start/stop into this private function instead of partially
4658 in activate functions and partially in the change_state function.
4659 Fixes setup before the element has changed from READY->PAUSED, as
4660 is the case in pull-mode pipelines.
4661 (gst_base_transform_sink_activate_push)
4662 (gst_base_transform_src_activate_pull): Refactor to use
4663 gst_base_transform_activate().
4664 (gst_base_transform_change_state): Removed, not needed any more.
4666 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4667 Truncate before fixating.
4669 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4670 Don't set_caps() if the result of fixating is ANY, as it's not
4671 supported, and not necessary in the case of a link with no
4672 template caps on either side. Fixes tests/check/libs/basesrc in
4673 some pull-mode tests.
4675 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4676 (gst_base_transform_init, gst_base_transform_sink_activate_push)
4677 (gst_base_transform_src_activate_pull):
4678 Track the activation mode.
4679 (gst_base_transform_setcaps): In pull mode, when activating the
4680 src pad, after activating the sink pad, activate the sink pad's
4681 peer, as discussed in part-negotiation.txt.
4683 * libs/gst/base/gstbasesrc.h:
4684 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4685 vmethod, as in basesink.
4687 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4689 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4690 mode, first proxy the setcaps to the peer pad.
4691 (gst_base_sink_pad_fixate): Add a fixate function that calls the
4693 (gst_base_sink_default_activate_pull): Rename from
4694 gst_base_sink_activate_pull.
4695 (gst_base_sink_negotiate_pull): New function, performs negotiation
4696 in pull mode before calling ::activate_pull().
4697 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4698 vmethod instead of the default implementation. I have no idea how
4699 this worked before. Negotiate before calling activate_pull.
4701 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4702 sink pads in pull mode. In addition to being correct, fixes
4703 filesrc ! decodebin ! identity ! fakesink.
4704 (gst_pad_get_range, gst_pad_pull_range): Don't call
4705 gst_pad_set_caps() if the caps changes; instead error out with
4706 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4708 2007-01-12 Andy Wingo <wingo@pobox.com>
4710 * docs/design/part-negotiation.txt: Update with more policy.
4712 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4714 * libs/gst/check/gstbufferstraw.h:
4715 * libs/gst/check/gstcheck.h:
4716 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4719 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4721 * tests/check/Makefile.am:
4722 * tests/check/gst/.cvsignore:
4723 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4724 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4725 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4726 (GST_START_TEST), (gst_tag_setter_suite):
4727 Add minimal unit test for beforementioned GstTagSetter bug.
4729 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
4731 Patch by: René Stadler <mail at renestadler dot de>
4733 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4734 gst_tag_list_merge() returns a new list, so it's not the best idea
4735 to ingore its return value. Effectively meant that tags could only
4736 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4737 Also add function guard to require a non-NULL taglist as input (has
4738 always been so due to gst_tag_list_copy(), just making it explicit).
4740 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4742 * docs/random/draft-missing-plugins.txt:
4743 Some additions: mention new API that is supposed to be used at the
4744 various stages; short blob about new gst-inspect introspection
4745 option; mention potential future problem with plugins that have
4746 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4748 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4750 * tools/gst-inspect.c:
4751 (print_plugin_automatic_install_info_codecs),
4752 (print_plugin_automatic_install_info_protocols),
4753 (print_plugin_automatic_install_info), (main):
4754 Add --print-plugin-auto-install-info option to gst-inspect, so we can
4755 introspect plugin files and get machine-parsable output that corresponds
4756 to the last bit of the missing-plugin installer string (small gotcha:
4757 doesn't take into account ranks).
4759 2007-01-11 Stefan Kost <ensonic@users.sf.net>
4762 * docs/gst/gstreamer-sections.txt:
4764 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4765 (gst_registry_lookup_locked):
4766 * gst/gstregistry.h:
4767 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4768 (gst_registry_binary_initialize_magic),
4769 (gst_registry_binary_save_string),
4770 (gst_registry_binary_save_pad_template),
4771 (gst_registry_binary_save_feature),
4772 (gst_registry_binary_save_plugin),
4773 (gst_registry_binary_write_cache),
4774 (gst_registry_binary_check_magic),
4775 (gst_registry_binary_load_pad_template),
4776 (gst_registry_binary_load_feature),
4777 (gst_registry_binary_load_plugin),
4778 (gst_registry_binary_read_cache):
4779 * gst/gstregistrybinary.h:
4780 * gst/gstregistryxml.c: (load_feature),
4781 (gst_registry_xml_read_cache):
4782 commit binary registry (disabled by default, see #359653)
4784 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
4786 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4787 Fix 'make check' too.
4789 2007-01-10 Andy Wingo <wingo@pobox.com>
4791 * docs/design/part-negotiation.txt: Fix a typo, add a couple
4794 * docs/design/part-negotiation.txt: Update with, um, one way that
4795 pull-mode negotiation might work?
4798 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4799 that the pad must be a src pad; makes sense to call it the other
4800 way in pull mode, and the logic is symmetric anyway.
4802 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
4804 * plugins/elements/gstfilesink.c:
4805 Include <stdio.h> for fseeko().
4807 2007-01-10 Wim Taymans <wim@fluendo.com>
4811 Reserve LATENCY event.
4813 2007-01-09 Wim Taymans <wim@fluendo.com>
4815 * docs/design/draft-latency.txt:
4818 2007-01-09 Wim Taymans <wim@fluendo.com>
4820 * docs/design/draft-latency.txt:
4824 * gst/gststructure.c:
4828 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
4830 * tests/check/.cvsignore:
4831 Ignore test-registry.xml as well.
4833 2007-01-09 Wim Taymans <wim@fluendo.com>
4835 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4836 unref data at the end when we are done with the pad.
4838 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4840 * docs/gst/gstreamer-sections.txt:
4841 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4842 (init_post), (gst_deinit), (gst_update_registry):
4844 API: add gst_update_registry() (#391296).
4846 * tests/check/Makefile.am:
4847 * tests/check/gst/gstregistry.c:
4848 * tests/check/gst/.cvsignore:
4849 Simple unit test for the above.
4851 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
4853 * gst/gstregistry.c: (gst_registry_scan_path_level):
4854 Plugin extension on HP-UX is .sl, add that to the list of approved
4855 plugin extensions (see #393796).
4857 * tests/check/gst/gstpad.c: (GST_START_TEST):
4858 ulong => gulong. Fixes compilation with HP-UX compiler.
4860 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4861 Fix compilation if valgrind headers are not available.
4863 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
4865 * win32/common/libgstreamer.def:
4866 Add new exported function.
4867 * win32/vs6/libgstbase.dsp:
4868 Add gstdataqueue.c to the build.
4869 * win32/vs6/libgstcoreelements.dsp:
4870 Add gstmultiqueue.c to the build.
4872 2007-01-06 Andy Wingo <wingo@pobox.com>
4874 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4875 activate_pull(), providing for a way to specialize the process of
4876 spawning a thread to pull on the sink pad. There is a default
4879 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4880 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4881 (gst_base_sink_init): Renamed pad activation functions (inserting
4882 "_pad" in their names). Refactor to use the new activate_pull
4883 vmethod, as appropriate.
4884 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4885 default activate_pull function to start a task pulling from the
4886 sink pad, as before.
4888 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
4889 on the pads if necessary, as in push()/chain(). Update docs.
4890 Shouldn't affect existing pull() usage as it is currently only
4891 being used on buffers without caps.
4893 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4895 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4897 Call g_thread_init() first thing in gst_init() / gst_check_init().
4898 When initialisation is done via gst_init_get_option_group() and
4899 GOption parsing, issue a warning if the GLib thread system has not
4900 been initialised yet by the time gst_init_get_option_group() is
4901 called, as it's quite likely other GLib functions such as
4902 g_option_context_new() have been called already then, and
4903 g_thread_init() must be called before any other GLib function. The
4904 application in question must be fixed in that case, since memory
4905 corruption might happen otherwise.
4906 We issue the warning because even if the GLib folks decide to work
4907 around the problem on their end in future, this is still an issue
4908 with all GLib versions >= 2.10.0, so we should warn until we depend
4909 on a GLib version we know to be safe.
4910 Update documentation as well.
4913 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4915 * tools/gst-inspect.c: (main):
4916 * tools/gst-launch.c: (main):
4917 * tools/gst-typefind.c: (main):
4918 * tools/gst-xmlinspect.c: (main):
4919 Call g_thread_init() really really early, before any other GLib
4920 function (see #342564 and recent discussion on gtk-devel-list).
4922 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4924 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
4926 * gst/gst_private.h:
4927 * gst/gstconfig.h.in:
4929 On win32, all the __declspec stuff for symbol exporting is
4930 apparently only needed with MSVC, but doesn't work with MingW.
4931 Fixes compilation with MingW and #391909.
4933 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
4935 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
4936 Change some GST_ERROR_OBJECT that aren't really errors to
4937 GST_WARNING_OBJECT in order to reduce terminal spam.
4939 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4941 * tests/check/Makefile.am:
4942 disable test again, as there seem to be still race problems
4944 2007-01-04 Stefan Kost <ensonic@users.sf.net>
4946 * tests/check/Makefile.am:
4947 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4948 (GST_START_TEST), (queue_suite):
4949 enable queue test again, add tests for the leaky behaviour
4951 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
4954 * tests/examples/Makefile.am:
4955 Compile adapter test/example only if the required headers are
4956 available (fixes #391915).
4958 2007-01-01 David Schleef <ds@schleef.org>
4961 Restore the previous signal handler for SIGSEGV instead of
4962 setting to default, since we may have stolen it away from
4963 someone. (i.e., Mono)
4965 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4967 * docs/random/draft-missing-plugins.txt:
4968 Some small additions and clarifications.
4970 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
4972 * gst/gstregistryxml.c: (gst_registry_save_escaped):
4973 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
4974 since that can lead to random memory corruptions and crashes
4975 (may or may not be related to #383244, #386711, and #386711).
4977 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4979 * tests/check/.cvsignore:
4980 * tests/check/Makefile.am:
4981 sync .cvsignome and CLEANFILES
4983 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4985 * tests/check/Makefile.am:
4988 2006-12-21 Stefan Kost <ensonic@users.sf.net>
4990 * docs/design/part-states.txt:
4991 two tiny additional comments
4993 * gst/gststructure.c:
4996 * tests/check/Makefile.am:
4997 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
4999 disable test for now, unless it gets fixed
5001 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5003 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5005 fix race in underrun test
5007 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5009 * tests/check/elements/.cvsignore:
5012 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5014 try to narrow test failure
5016 2006-12-21 David Schleef <ds@schleef.org>
5018 * plugins/elements/gstfakesrc.c:
5019 Use g_random_int_range(), since it produces better random
5020 numbers in a range than almost-correct floating point code.
5022 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5024 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5025 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5026 (gst_check_teardown_sink_pad):
5027 do not automatically (de)activate pads
5029 * tests/check/Makefile.am:
5030 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5031 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5032 add new, yet simple tests for queue
5034 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5035 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5036 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5038 * tests/check/elements/identity.c: (cleanup_identity):
5039 consistent pad (de)activation
5041 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5043 Patch by: Sebastian Dröge <slomo ubuntu com>
5045 * libs/gst/base/gstcollectpads.c:
5046 Fix two doc typos (#387866).
5048 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5050 * docs/manual/advanced-dparams.xml:
5051 Fix typo (g_object_control_properties() doesn't exist).
5053 2006-12-19 Edward Hervey <edward@fluendo.com>
5055 * gst/gstsegment.c: (gst_segment_set_seek):
5056 Fine tune the cases where the segment start/stop values are really
5058 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5059 Add tests for the return values of gst_segment_set_seek().
5061 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5066 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5068 Fix incorrect documentation and flesh it out a bit more.
5069 Set default values for the max properties on the GParamSpec as well,
5070 so it shows up correctly in gst-inspect.
5072 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5074 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5075 Correct docs of queue, add more detail and crosslink it more.
5077 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5079 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5080 Print additional debug info when the stream isn't perfectly
5081 timestamped; don't try to use invalid durations.
5083 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5085 * docs/design/Makefile.am:
5086 Dist new design docs.
5088 2006-12-16 Wim Taymans <wim@fluendo.com>
5090 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5092 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5093 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5094 (gst_collect_pads_stop), (gst_collect_pads_event),
5095 (gst_collect_pads_chain):
5096 * libs/gst/base/gstcollectpads.h:
5097 Add refcounting to the collectpads data so we can track when it's safe
5098 to free the data. Fixes #383382.
5100 2006-12-15 Wim Taymans <wim@fluendo.com>
5102 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5103 (gst_collect_pads_remove_pad):
5104 Automatically activate/deactivate pads when they are added to a
5105 started/stoped collectpads.
5107 2006-12-15 Wim Taymans <wim@fluendo.com>
5109 * gst/gstelement.c: (gst_element_add_pad):
5110 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5111 * gst/gstpad.c: (gst_pad_init):
5112 Set pads to FLUSHING when they are created. Check, warn and fix when a
5113 demuxer adds an inactive pad to itself when running. Fixes #339326.
5115 2006-12-15 Wim Taymans <wim@fluendo.com>
5117 * gst/gstelement.c: (gst_element_class_init),
5118 (gst_element_default_send_event), (gst_element_send_event),
5119 (gst_element_default_query), (gst_element_query):
5120 Expose default element send_event and query handling as vmethods that
5121 subclasses can chain up to.
5123 2006-12-15 Wim Taymans <wim@fluendo.com>
5125 * gst/gstelement.c: (gst_element_set_state_func):
5126 Small documentation fixes.
5128 2006-12-15 Wim Taymans <wim@fluendo.com>
5130 * docs/design/draft-latency.txt:
5131 Checked in draft for handling latency in pipelines.
5133 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5137 * gstreamer.spec.in:
5140 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5142 * gst/gst.c: (init_pre), (init_post):
5143 init_pre() and init_post() might be called via our GOptionGroup or
5144 from gst_init(), and we should skip both of them if we've already
5145 been initialised, otherwise we will init some things twice or add
5146 two default log functions.
5148 2006-12-13 Edward Hervey <edward@fluendo.com>
5150 * docs/manual/basics-bus.xml:
5151 No, gst_main_loop does not exist. Its g_main_loop.
5152 Discovered by somebody who abused the copy-paste technique of coding :)
5154 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5156 * gst/gstghostpad.c:
5157 Log ghostpad debug stuff to the GST_PADS category as well rather
5158 than just to the default category.
5160 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5163 * gst/gst.c: (init_pre):
5164 Add some basic system details such as OS and architecture
5165 to the debug output if possible, courtesy of uname().
5167 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5169 * docs/gst/running.xml:
5170 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5171 environment variables.
5173 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5175 * tests/check/gst/gstbin.c: (GST_START_TEST):
5176 It is acceptable to have a refcount of 2 or 3 at this point in the
5177 test, because the pipeline might be just posting its state_change
5178 message. The next line then waits for that message to appear using
5179 bus_poll, so that should be fine too.
5181 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5183 * gst/gst.c: (ensure_current_registry_forking):
5184 Ignore EINTR when reading from the child registry pipe.
5185 Explicitly ignore the return value from close, since it makes no
5188 * gst/gstminiobject.c: (gst_mini_object_ref),
5189 (gst_mini_object_unref):
5190 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5192 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5193 When removing cached plugins, remove their features too, so they're
5194 not visible after they've disappeared.
5196 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5197 In the unlikely case that we are linking pads with no parents, don't
5198 crash trying to get the non-existent parent bin.
5200 * gst/parse/grammar.y:
5201 Output debug in the PIPELINE category
5203 2005-03-08 Wim Taymans <wim@fluendo.com>
5205 Patch by: René Stadler <mail at renestadler dot de>
5207 * gst/gstclock.c: (gst_clock_new_periodic_id):
5208 Reject invalid clock times for interval of periodic ids.
5211 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5213 * gst/gstelementfactory.c: (gst_element_factory_create):
5214 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5215 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5216 * tools/gst-inspect.c: (print_element_info):
5217 Fix refcounting of gst_plugin_feature_load to match the docs.
5220 2006-12-07 Wim Taymans <wim@fluendo.com>
5222 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5223 (gst_base_sink_get_position):
5224 Improve debugging of events.
5226 2006-12-07 Wim Taymans <wim@fluendo.com>
5228 Patch by: René Stadler <mail at renestadler dot de>
5230 * gst/gstclock.c: (gst_clock_id_wait):
5231 Make period ids add the interval to the origial requested time instead
5232 of the possibly updated time which can be wrong when there are multiple
5233 waiters for the same id. Fixes #382592.
5235 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5236 (gst_system_clock_id_wait_jitter_unlocked),
5237 (gst_system_clock_id_wait_jitter):
5238 Fix restart in the async notify thread when an async entry is added to
5239 the front of the list. Fixes #381492.
5241 * tests/check/gst/gstsystemclock.c: (store_callback),
5242 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5243 Added test for multiple async waits.
5244 Added test for async wait order.
5246 2006-12-07 Wim Taymans <wim@fluendo.com>
5248 * gst/gstbin.c: (gst_bin_query):
5249 Add some more docs about the POSITION query.
5251 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5254 Bump version nano - back to CVS.
5256 === release 0.10.11 ===
5258 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5261 releasing 0.10.11, "Love never runs on time"
5263 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5265 * win32/common/libgstbase.def:
5266 * win32/common/libgstreamer.def:
5267 * win32/vs8/libgstbase.vcproj:
5268 * win32/vs8/libgstcoreelements.vcproj:
5269 * win32/vs8/libgstreamer.vcproj:
5270 Fix compilation on win32 under VS8
5271 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5272 Partially fixes #381175
5274 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5276 * gst/gstvalue.c: (gst_value_compare_fraction):
5277 If someone is foolish enough to compare 2 fractions with denominator =
5278 0, return UNORDERED rather than aborting.
5280 2006-11-28 Edward Hervey <edward@fluendo.com>
5282 * libs/gst/base/Makefile.am:
5283 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5284 (gst_data_queue_base_init), (gst_data_queue_class_init),
5285 (gst_data_queue_init), (gst_data_queue_new),
5286 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5287 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5288 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5289 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5290 (gst_data_queue_set_flushing), (gst_data_queue_push),
5291 (gst_data_queue_pop), (gst_data_queue_drop_head),
5292 (gst_data_queue_set_property), (gst_data_queue_get_property):
5293 * libs/gst/base/gstdataqueue.h:
5294 New GstDataQueue object for threadsafe queueing. Most useful for
5295 elements that need some queueing functionnality.
5296 * docs/libs/gstreamer-libs-docs.sgml:
5297 * docs/libs/gstreamer-libs-sections.txt:
5298 Insert documentation for GstDataQueue
5299 * plugins/elements/Makefile.am:
5300 * plugins/elements/gstelements.c:
5301 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5302 (gst_multi_queue_class_init), (gst_multi_queue_init),
5303 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5304 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5305 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5306 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5307 (gst_multi_queue_loop), (gst_multi_queue_chain),
5308 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5309 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5310 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5311 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5312 (wake_up_next_non_linked), (compute_next_non_linked),
5313 (single_queue_overrun_cb), (single_queue_underrun_cb),
5314 (single_queue_check_full), (gst_single_queue_new):
5315 * plugins/elements/gstmultiqueue.h:
5316 New multiqueue element, using GstDataQueue. Used for queuing multiple
5318 Closes #344639 and #347785
5320 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5322 * docs/pwg/advanced-types.xml:
5323 add more missing type details
5325 * tools/gst-run.c: (main):
5326 remove unused variable
5328 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5330 * docs/libs/Makefile.am:
5331 * docs/libs/gstreamer-libs.types:
5332 add types of base classes to enable gobject specific stuff in the docs
5334 * docs/random/ensonic/embedded.txt:
5335 more ideas about isolating platform specific things
5337 2006-11-20 Wim Taymans <wim@fluendo.com>
5339 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5341 * libs/gst/check/gstcheck.h:
5342 Fix compilation and running against 0.9.4. Fixes #377332.
5344 2006-11-20 Wim Taymans <wim@fluendo.com>
5346 * gst/gstsegment.c: (gst_segment_set_seek),
5347 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5348 (gst_segment_to_running_time):
5349 Fix boundary checking in to_running_time() and to_stream_time().
5352 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5353 stream and running time can now be calculated for the complete
5356 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5358 * gst/gstpad.c: (gst_pad_push_event):
5359 Can't access event structure after giving away ownership of
5362 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5364 * docs/random/ensonic/embedded.txt:
5365 * docs/random/ensonic/profiling.txt:
5366 * docs/random/ensonic/receipies.txt:
5369 2006-11-13 Wim Taymans <wim@fluendo.com>
5371 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5374 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5376 2006-11-13 Wim Taymans <wim@fluendo.com>
5378 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5380 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5381 Store new length in segment duration so we don't keep on calling the
5382 potentially expensize get_size() call. Fixes #370865.
5384 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5386 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5388 * win32/common/libgstreamer.def:
5389 Add two missing symbols (#366492).
5391 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5393 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5394 (gst_adapter_take_buffer):
5395 Fix format string to use all its arguments.
5396 Remove useless >= check on a guint
5398 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5400 * tests/examples/adapter/.cvsignore:
5401 Ignore build file as commanded by the build-bot
5403 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5405 * tests/examples/adapter/Makefile.am:
5406 * tests/examples/adapter/adapter_test.c: (run_test_take),
5407 (run_test_take_buffer), (run_tests), (main):
5409 Add new files from the previous commit
5411 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5415 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5416 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5417 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5418 * libs/gst/base/gstadapter.h:
5419 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5420 (GST_START_TEST), (gst_adapter_suite):
5421 * tests/examples/Makefile.am:
5422 Do some optimisation work in GstAdapter to avoid copies in more cases.
5423 It could still do slightly better by merging buffers when
5424 gst_buffer_is_span_fast is true, but is already faster.
5426 Also, avoid traversing a single-linked list to append each incoming
5427 buffer inside the adapter.
5429 Add simple test app that times the adapter behaviour in different
5430 situations, and extend the unit test to check that bytes enter and
5431 exit the adapter in their original order.
5433 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5435 * docs/random/draft-missing-plugins.txt:
5436 Update: use element message instead of adding a new message
5437 type to the core; don't provide GStreamer API to initiate the
5438 plugin download, just provide API to compose the strings needed
5439 and let an external libgimmestuff handle the rest.
5441 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5443 * tools/gst-inspect.c: (print_element_properties_info):
5444 Print a string instead of 'unknown type' for GValueArray properties
5446 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5448 * docs/random/draft-missing-plugins.txt:
5451 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5453 * tests/examples/typefind/typefind.c: (type_found), (main):
5454 Make typefind element example work again (#371894); add a
5457 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5459 * docs/random/draft-missing-plugins.txt:
5460 Commit initial draft about how to deal with missing plugins,
5461 needs work (API too).
5463 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5465 * docs/pwg/advanced-types.xml:
5466 documents the new caps elements (see #363118)
5468 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5470 * gst/gstplugin.c: (gst_plugin_load_file):
5471 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5472 (gst_file_src_map_region), (gst_file_src_start):
5473 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5474 (gst_file_index_commit):
5475 Use g_strerror() instead of strerror() - we want UTF-8.
5477 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5479 Patch by: Peter Kjellerstedt <pkj at axis com>
5481 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5482 Another printf fix (#371493).
5484 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5486 * tests/check/gst/gsttag.c:
5487 relicence (okay with author=company)
5489 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5491 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5492 (gst_pad_push_event):
5493 Enhance debug and improve docs
5498 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5500 * docs/random/ensonic/distributed.txt:
5501 * docs/random/ensonic/profiling.txt:
5504 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5506 * docs/gst/gstreamer-sections.txt:
5507 add new API and fix the build
5509 * gst/gstbin.c: (gst_bin_recalc_state):
5510 * gst/gstelement.c: (gst_element_message_full),
5511 (gst_element_get_state_func), (gst_element_set_state_func):
5512 use new API and improve logging
5514 * gst/gstutils.c: (gst_element_state_change_return_get_name):
5516 API: add function to get StateChangereturn names to improve logs
5518 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
5520 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5521 I'm considering shooting the next person to put strerror stuff
5522 in the translateable part of the message.
5524 2006-11-03 Wim Taymans <wim@fluendo.com>
5526 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5527 Get the type and printf conversion specifiers right.
5529 2006-11-03 Wim Taymans <wim@fluendo.com>
5531 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5533 * gst/gstpad.c: (gst_pad_init), (pre_activate),
5534 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5535 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5536 Some small cleanups. Improve debugging.
5538 Signal all waiting threads with a broadcast instead of just one.
5541 2006-11-03 Wim Taymans <wim@fluendo.com>
5543 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5544 (gst_fd_src_create):
5546 Only update fd when it's different from the old.
5548 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5550 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5551 Printf fixes for PPC/OSX, take two (#369366).
5553 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
5555 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
5557 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5558 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5559 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5560 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5561 don't cast to long long for portability reasons, but use
5562 GLib's types instead.
5564 2006-10-30 Michael Smith <msmith@fluendo.com>
5566 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5567 Get the arguments to lseek() the right way around.
5570 2006-10-30 Wim Taymans <wim@fluendo.com>
5572 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5575 _declspec should be __declspec (two underscores, not one). Fixes 366572.
5577 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5579 Patch by: Kjartan Maraas <kmaraas at gnome org>
5581 * docs/design/part-MT-refcounting.txt:
5582 * docs/random/wtay/capsnego2-docs:
5585 Typo fixes (#366212).
5587 2006-10-28 Wim Taymans <wim@fluendo.com>
5589 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5592 * win32/common/libgstbase.def:
5593 * win32/common/libgstreamer.def:
5594 * win32/vs8/libgstbase.vcproj:
5595 * win32/vs8/libgstcontroller.vcproj:
5596 Add needed entries in .def files.
5598 Rearrange def files in vs8 solutions. Fixes #366286.
5600 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
5602 * win32/common/gstconfig.h:
5603 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5604 hand-made win32 gstconfig.h. Fixes #366321.
5606 2006-10-27 Wim Taymans <wim@fluendo.com>
5608 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5609 (gst_ghost_pad_new_full):
5610 Make acceptcaps return TRUE when we don't have a target, just like
5613 2006-10-27 Wim Taymans <wim@fluendo.com>
5615 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5616 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5618 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
5620 * gst/gststructure.c: (gst_structure_id_set_value):
5621 If someone tries to set a non-UTF8 string field on a structure,
5622 don't just print a warning, but also ignore the request and do
5623 not change/add that field to the structure.
5625 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5628 2006-10-25 David Schleef <ds@schleef.org>
5631 g_hash_table_insert() needs a cast to a non-const pointer duh.
5633 2006-10-25 David Schleef <ds@schleef.org>
5637 Change name parameter of _gst_debug_register_funcptr to const
5638 to reflect the constness of its use in the function as well
5639 as to quiet a gcc warning.
5641 2006-10-25 Edward Hervey <edward@fluendo.com>
5643 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5644 Don't push the buffer if it's empty.
5647 2006-10-24 Wim Taymans <wim@fluendo.com>
5652 * libs/gst/base/gstbasetransform.c:
5653 (gst_base_transform_sink_eventfunc):
5654 Debug segment values *after* updating them as this is more
5657 2006-10-23 Wim Taymans <wim@fluendo.com>
5659 * docs/design/part-events.txt:
5662 * docs/design/part-block.txt:
5663 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5664 (gst_pad_push_event):
5665 Revert BLOCKING patch, it tries to be smart without really having a
5666 clear idea what or how. So, now we discard all FLUSHING events again on
5667 a blocking pad. Should fix gnonlin again.
5669 2006-10-23 Wim Taymans <wim@fluendo.com>
5671 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5673 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5674 (gst_base_src_start), (gst_base_src_activate_push):
5675 Make sure size is always initialized. Fixes #364388.
5677 2006-10-20 Stefan Kost <ensonic@users.sf.net>
5679 * docs/random/ensonic/distributed.txt:
5680 add some ideas about doing distributed processing
5682 * docs/random/ensonic/profiling.txt:
5683 get_rusage look promising
5685 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5687 * docs/manual/basics-helloworld.xml:
5688 Add a cast in example to fix compile warning
5690 2006-10-18 Wim Taymans <wim@fluendo.com>
5692 * gst/gstsegment.c: (gst_segment_set_last_stop),
5693 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5694 Relax arg checking again, -1 is allowed.
5696 2006-10-18 Wim Taymans <wim@fluendo.com>
5698 * gst/gstsegment.c: (gst_segment_set_last_stop),
5699 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5700 _set_last_stop() must be with a value != -1
5701 A _TYPE_SET to -1 means seek to 0.
5702 Calc last_stop correctly for negative rates.
5703 Make sure we work with positive durations when updating a segment.
5705 2006-10-18 Wim Taymans <wim@fluendo.com>
5707 * docs/design/part-live-source.txt:
5711 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
5714 Add an explicit cast to GstBuffer** to keep old code that added an
5715 explicit cast to GstMiniObject** for gst_mini_object_replace()
5716 compiling without warning.
5718 2006-10-18 Stefan Kost <ensonic@users.sf.net>
5720 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5721 check for validity of dates
5723 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5725 * docs/gst/gstreamer-sections.txt:
5726 Forgot this one, makes gtk-doc shut up.
5728 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5730 Patch by: Peter Kjellerstedt <pkj at axis com>
5733 Don't define xmlNodePtr to gpointer if the core was built with
5734 --disable-loadsave and --disable-registry, this will break
5735 applications that want to use libxml2 but are buildling against a
5736 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5737 instead so we don't have to mess with the libxml2 namespace
5740 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
5743 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5744 type-punned pointer warnings.
5746 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
5749 Add casts to the correct return type to state <=> state transition
5752 2006-10-16 Stefan Kost <ensonic@users.sf.net>
5754 * docs/design/part-live-source.txt:
5755 describe howto handle latency
5757 * docs/random/ensonic/profiling.txt:
5760 * tools/gst-plot-timeline.py:
5761 fix log parsing for solaris, remove unused function
5763 2006-10-16 Wim Taymans <wim@fluendo.com>
5765 * docs/design/part-trickmodes.txt:
5767 Update some docs regarding reverse playback.
5769 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
5771 Patch by: Marcus Granado <mrc dot gran at gmail com>
5773 * win32/vs8/grammar.vcproj:
5774 Error out with a warning if glib-genmarshal.exe is not in path,
5775 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5777 2006-10-13 Wim Taymans <wim@fluendo.com>
5779 * gst/gstsegment.c: (gst_segment_set_seek):
5780 When seeking to stop -1, set last_stop (current position) to the
5781 duration of the segment.
5783 2006-10-13 Wim Taymans <wim@fluendo.com>
5786 Clarify _NO_PREROLL a bit more.
5791 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5792 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5793 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5794 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5795 due to wrong locking order. Fixes #361769.
5796 Remove some redundant/misplaced checks in pad_block.
5798 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5799 For negative rates, count backwards from the duration.
5801 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
5803 * gst/gsterror.c: (_gst_library_errors_init):
5804 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5805 up with something better).
5807 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5809 * win32/vs6/libgstreamer.dsp:
5810 * win32/vs7/libgstreamer.vcproj:
5811 * win32/vs8/libgstreamer.vcproj:
5812 Don't reference glib-compat.c which is currently not used and not
5813 disted; add gstquark.c which was recently added. Fixes #361730.
5815 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
5817 * win32/common/libgstbase.def:
5818 * win32/common/libgstcontroller.def:
5819 * win32/common/libgstreamer.def:
5820 Add gst_caps_merge() and a bunch of other recently-added functions.
5823 2006-10-11 Wim Taymans <wim@fluendo.com>
5825 * docs/plugins/gstreamer-plugins.args:
5826 * docs/plugins/inspect/plugin-coreelements.xml:
5827 * docs/plugins/inspect/plugin-coreindexers.xml:
5828 Update element args.
5830 * gst/gstsystemclock.c:
5831 Small comment update.
5833 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5834 (gst_tee_request_new_pad), (gst_tee_release_pad),
5835 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5836 (gst_tee_sink_activate_pull):
5837 * plugins/elements/gsttee.h:
5839 Add default property defines.
5840 Implement release pad function.
5841 Give properties better blubs etc.
5842 Activate pads before adding them to a running tee.
5843 Do simple buffer_alloc on the first requested pad.
5844 Post error when activation fails.
5846 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5848 * gst/gst.c: (ensure_current_registry_forking):
5849 Check return value of write() to make compiler happy.
5851 2006-10-11 Wim Taymans <wim@fluendo.com>
5853 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5855 * plugins/elements/gstqueue.c: (gst_queue_chain):
5856 Recheck queue filledness after signalling the overrun when we're about
5857 to leak downstream because we released the lock when emitting the signal
5858 and the queue could be empty again. Fixes #352345.
5860 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
5862 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5863 Fix refcounting here too, just like we did for _new_valist() a few
5864 days ago (#357180) (thanks to René Stadler). Also remove all those
5865 'Since: 0.9' from the gtk-doc blobs.
5867 * tests/check/libs/controller.c: (controller_refcount_new_list),
5868 (gst_controller_suite):
5869 Unit test for the above.
5871 2006-10-10 Wim Taymans <wim@fluendo.com>
5873 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5875 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5876 (gst_pad_save_thyself):
5878 Write pad direction in XML output. Fixes #345496.
5880 2006-10-10 Wim Taymans <wim@fluendo.com>
5882 Patch by: René Stadler <mail at renestadler dot de>
5884 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5885 (gst_controller_new_list), (_gst_controller_dispose),
5886 (_gst_controller_finalize), (_gst_controller_class_init):
5887 Take ref to controlled object so that it cannot disappear.
5890 2006-10-10 Wim Taymans <wim@fluendo.com>
5892 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5893 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5894 (gst_check_teardown_sink_pad):
5895 Activate/deactivate pads in setup/teardown respectively.
5897 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5899 Patch by: Josep Torre Valles <josep@fluendo.com>
5902 Cast values when making gstenumtypes.h. This pacifies Forte
5903 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
5906 2006-10-09 Wim Taymans <wim@fluendo.com>
5908 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
5909 Rename some more @cur to @start to fix docs.
5911 * gst/gstsegment.c: (gst_segment_set_seek):
5913 time and start must always stay in sync as defined in design doc.
5915 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5916 Rename param to fix docs.
5918 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5919 Check that start and time are in sync.
5921 * tests/check/pipelines/parse-launch.c:
5922 (gst_parse_test_element_change_state):
5923 Activate pad before adding to the element.
5925 2006-10-09 Wim Taymans <wim@fluendo.com>
5927 * docs/design/part-qos.txt:
5932 Update seek event docs regarding negative rates.
5933 Rename @cur to @start.
5935 * gst/gstsegment.c: (gst_segment_set_seek):
5937 Update set_seek docs regarding negative rates.
5938 Correctly update last_stop to @stop when dealing with negative
5940 Rename @cur to @start.
5942 * tests/check/gst/gstpad.c: (GST_START_TEST):
5943 Activate pads before trying to use them.
5945 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5946 (gst_segment_suite):
5947 Add simple check for segments and negative rates.
5949 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
5951 * gst/gsttaglist.c: (gst_tag_list_is_empty):
5953 * docs/gst/gstreamer-sections.txt:
5954 API: add gst_tag_list_is_empty() (#360467).
5956 * tests/check/gst/gsttag.c: (GST_START_TEST):
5959 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5962 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
5963 a value that doesn't fit on enumeration.
5965 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5967 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5968 Remove local debugging system and use Gstreamer's instead.
5970 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5972 Patch by: Josep Torre Valles <josep@fluendo.com>
5974 * common/m4/gst-error.m4:
5975 Disable warning of statement not reached on Forte.
5977 Fix warning on Forte (value doesn't fit on enumeration).
5978 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
5979 Fix warning on Forte (value doesn't fit on enumeration).
5980 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5981 DEBUG macro says it takes minimum of 2 args and so Forte
5982 complains about the use with just 1 arg.
5983 * plugins/elements/gstfdsink.c:
5984 * plugins/elements/gstfdsrc.c:
5985 * plugins/elements/gstfilesink.c:
5986 * plugins/elements/gstfilesrc.c:
5987 Use correct return type for the uri handler implementations.
5989 All these fix warnings in Forte. Fixes bug #360860.
5991 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
5994 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
5995 format string, so don't use G_GNUC_PRINTF for those versions.
5997 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
5999 * gst/gsttaglist.c: (gst_is_tag_list):
6001 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6003 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6004 Small test for the above.
6006 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6009 Less tabs, more spaces.
6011 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6014 Those two function declarations do actually belong there, revert
6015 commit from yesterday that turned them intro macros.
6017 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6019 Patch by: Josep Torre Valles <josep@fluendo.com>
6021 * gst/gst.c: (gst_init_get_option_group):
6022 Fix empty declaration and type mismatch.
6023 * gst/gstbin.c: (gst_bin_change_state_func):
6025 * gst/gstelement.c: (gst_element_continue_state),
6026 (gst_element_set_state_func), (gst_element_change_state),
6027 (gst_element_change_state_func):
6028 Fix type mismatches.
6029 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6030 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6031 Cast as appropriate.
6032 * gst/gstobject.c: (gst_class_signal_connect):
6033 Cast as appropriate. The function pointer parameter really
6034 has the wrong type but would break API if we change it.
6036 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6037 order of including string.h.
6038 * gst/gstutils.c: (gst_element_state_get_name):
6039 Remove unreachable line.
6040 * gst/gstxml.c: (gst_xml_parse_doc):
6042 All these caught by Forte.
6044 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6046 Patch by: Josep Torre Valles <josep@fluendo.com>
6048 * common/m4/gst-error.m4:
6050 We need to disable warnings on Forte for empty declarations
6051 due to gst-indent adding ;s to lines that just use macros
6052 where the macro actually doesn't need a ; at end to end
6055 2006-10-06 Wim Taymans <wim@fluendo.com>
6057 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6058 (gst_file_sink_close_file), (gst_file_sink_event),
6059 (gst_file_sink_render):
6060 Add some FIXME for the NEWSEGMENT handling.
6062 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6064 * gst/parse/grammar.y:
6065 Remove static function gst_parse_element_lock as all it does
6066 is return. Looks like cruft from 0.8.
6068 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6070 Patch by: Josep Torre Valles <josep@fluendo.com>
6072 * common/m4/gst-error.m4:
6074 * libs/gst/net/Makefile.am:
6075 Fix a compilation issue with Forte on Solaris. inet_aton is in
6078 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6080 * gst/gstpad.c: (pre_activate):
6081 * gst/gstregistry.c: (gst_registry_scan_path_level):
6082 * gst/gstregistryxml.c: (load_plugin):
6083 * libs/gst/controller/gstcontroller.c:
6084 (gst_controlled_property_set_interpolation_mode):
6085 * libs/gst/dataprotocol/dataprotocol.c:
6086 (gst_dp_packet_from_event_1_0):
6087 * libs/gst/net/gstnetclientclock.c:
6088 (gst_net_client_clock_observe_times):
6089 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6092 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6095 * docs/gst/gstreamer-sections.txt:
6096 * gst/gstconfig.h.in:
6099 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6100 whether we can use G_GNUC_PRINTF in other header files and at
6101 least check the printf format/arguments of debug messages and
6102 GST_ELEMENT_ERROR messages when the printf extension is not
6104 Replace more tabs with spaces in gstinfo.h and remove two spurious
6105 function declarations in GST_DISABLE_DEBUG part with macros.
6107 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6109 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6110 More docs for the sync-message signal (mention that it is not
6111 emitted by default); log message structures of messages posted on
6114 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6116 * gst/gst.c: (ensure_current_registry_forking):
6117 Use a pipe pair to receive status results from the forked child, and
6118 ignore the result from waitpid. Fixes #355499
6120 2006-10-02 Wim Taymans <wim@fluendo.com>
6122 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6123 (gst_ghost_pad_suite):
6126 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6129 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6131 2006-10-02 Edward Hervey <edward@fluendo.com>
6133 * docs/design/part-block.txt:
6134 Further explain the use of flushing on blocked pads.
6135 * docs/gst/gstreamer-sections.txt:
6136 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6137 (gst_pad_push_event):
6139 Added new GstPadFlag : GST_PAD_BLOCKING.
6140 Adds the notion of pads really blocking, which enables to properly
6141 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6143 API: gst_pad_is_blocking()
6144 API: GST_PAD_IS_BLOCKING() macro
6145 API: GST_PAD_BLOCKING GstPadFlag
6147 2006-10-02 Wim Taymans <wim@fluendo.com>
6149 Patch by: mrcgran <mrc.gran at gmail dot com>
6151 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6152 Filter the proxied caps against the padtemplate if we have one.
6154 * gst/gstquery.c: (gst_query_new_segment):
6155 Add include for gstinfo.h so that compilation with
6156 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6158 2006-10-02 Wim Taymans <wim@fluendo.com>
6160 Patch by: Alessandro Decina <alessandro at nnva org>
6162 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6163 (gst_file_sink_set_location), (gst_file_sink_open_file),
6164 (gst_file_sink_close_file), (gst_file_sink_event),
6165 (gst_file_sink_render):
6166 Set file to NULL when closing filesink so that we can set a new filename
6167 in READY. Fixes #358613.
6169 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6171 Patch by: Alessandro Decina <alessandro at nnva org>
6173 * gst/gstevent.c: (_gst_event_copy):
6174 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6175 with event structures by setting the parent refcount address of the
6176 copied structure to the address of the refcount member of the newly
6177 copied event rather than the address of the refcount member of the
6178 original event. Fixes #358737.
6180 * tests/check/gst/gstevent.c: (GST_START_TEST):
6181 Unit test for the above.
6183 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6185 * docs/design/Makefile.am:
6186 Dist some more files.
6188 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6190 * tests/check/libs/controller.c: (GST_START_TEST),
6191 (gst_controller_suite):
6192 Add test for the previous fix; add some more tests
6193 for correct refcounting behaviour; fix a few leaks
6194 in test cases; call gst_controller_init() at start
6197 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6199 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6200 (gst_controller_set_from_list):
6201 Don't g_return_val_if_fail() on timed values with invalid timestamps
6202 inside a critical section without unlocking the mutex. Spotted by
6203 René Stadler. (#357617)
6204 Also, fix up refcounting properly: when returning an existing
6205 controller, we should increase the reference only once and not
6206 once per property and when trying to control a property again
6207 we should also increase the refcount.
6209 2006-09-29 Wim Taymans <wim@fluendo.com>
6211 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6212 * libs/gst/net/gstnettimeprovider.c:
6213 (gst_net_time_provider_thread):
6214 Stop reading commands when EOF as well.
6216 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6217 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6218 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6219 Unify description of the dump property.
6221 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6223 * tests/examples/manual/.cvsignore:
6224 OK, so it's actually cvsignore that needs changing. Stop laughing.
6226 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6228 * tests/examples/manual/Makefile.am:
6229 Gah, declare vars *before* using them
6231 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6233 * gst/gst.c: (init_pre), (scan_and_update_registry),
6234 (ensure_current_registry_nonforking),
6235 (ensure_current_registry_forking), (ensure_current_registry),
6236 (init_post), (gst_debug_help), (gst_deinit):
6237 * gst/gst_private.h:
6238 * gst/gstregistry.c: (gst_registry_finalize),
6239 (gst_registry_remove_features_for_plugin_unlocked),
6240 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6241 (gst_registry_scan_path),
6242 (_priv_gst_registry_remove_cache_plugins),
6243 (_priv_gst_registry_cleanup):
6244 * gst/gstregistry.h:
6245 Re-commit the registry changes, along with an extra fix:
6246 When a cached plugin is encountered at a different file path,
6247 update the stored path in the registry cache so that the parent
6248 process knows where it actually is now when it re-reads the registry
6249 cache. Fixes the thing that broke distcheck with the previous commit.
6251 * tests/check/Makefile.am:
6252 Clean up files named 'core' too when running make clean.
6254 * tests/examples/manual/Makefile.am:
6255 Set up a registry path for running these tests, and clean it properly
6258 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6261 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6262 want gmodule-no-export-2.0.pc instead so that we don't drag in
6263 --export-dynamic on every project that links to GStreamer.
6265 Also, make our export regex only match the start of symbols, rather
6266 than any symbol that contains '_gst' somewhere.
6268 * libs/gst/check/Makefile.am:
6269 The libgstcheck we build does however need export-dynamic, as it
6270 produces some symbols that don't match our _gst... style regex.
6273 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6275 * gst/gst.c: (init_pre), (scan_and_update_registry),
6276 (ensure_current_registry_nonforking),
6277 (ensure_current_registry_forking), (ensure_current_registry),
6278 (init_post), (gst_debug_help), (gst_deinit):
6279 * gst/gst_private.h:
6280 * gst/gstregistry.c: (gst_registry_finalize),
6281 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6282 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6283 (_gst_registry_cleanup):
6284 * gst/gstregistry.h:
6285 Revert previous change until I figure out why it breaks distcheck.
6287 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6289 * gst/gst.c: (init_pre), (scan_and_update_registry),
6290 (ensure_current_registry_nonforking),
6291 (ensure_current_registry_forking), (ensure_current_registry),
6292 (init_post), (gst_debug_help), (gst_deinit):
6294 Make init_pre and init_post take the full complement of GOptionFunc
6295 args so they can return useful GErrors. Make the registry updating
6298 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6299 ensure that the registry we're about to write out doesn't contain
6300 stale information about old-deleted plugin files.
6302 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6303 that deletion of plugin files is considered a registry change.
6305 * gst/gst_private.h:
6306 * gst/gstregistry.c: (gst_registry_finalize),
6307 (gst_registry_remove_features_for_plugin_unlocked),
6308 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6309 (gst_registry_scan_path),
6310 (_priv_gst_registry_remove_cache_plugins),
6311 (_priv_gst_registry_cleanup):
6312 * gst/gstregistry.h:
6313 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6314 by adding _priv prefix, so that they won't appear in the global
6315 symbol table. They still do atm though because of #318031. Move the
6316 prototypes to gst_private.h
6318 When removing a plugin, remove all features for that plugin too.
6321 2006-09-27 Wim Taymans <wim@fluendo.com>
6323 * docs/random/moving-plugins:
6324 Make it clear that the "compiled-in descriptions" really mean
6325 the element details.
6327 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6328 (gst_base_sink_wait_preroll):
6331 * docs/libs/gstreamer-libs-sections.txt:
6332 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6333 (gst_base_src_get_range), (gst_base_src_activate_push):
6334 * libs/gst/base/gstbasesrc.h:
6335 Added function to block while waiting for PLAYING, this function
6336 is used by live sources that block on the clock.
6337 API: gst_base_src_wait_playing()
6339 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6341 Patch by: Peter Kjellerstedt <pkj at axis com>
6344 gst-element-check.m4 is generated and should therefore be
6345 copied from the build dir rather than the source dir (#357593).
6346 'make distcheck' hasn't noticed this because we were disting
6347 the file as well, so stop doing that.
6349 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6351 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6352 Add some tests for gst_caps_intersect().
6354 * tools/gst-launch.c: (event_loop):
6355 Print all buffering percentages we get, even the 100% one.
6357 2006-09-26 Wim Taymans <wim@fluendo.com>
6359 * tools/gst-inspect.c: (print_element_properties_info),
6360 (print_signal_info):
6361 Fix printing of flags to match the look of enums.
6363 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6365 * gst/gstelementfactory.c:
6366 Fix typo in docs blurb.
6368 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6370 * gst/gsturi.c: (search_by_entry):
6371 Don't assert/crash here if a uri handler doesn't return any
6372 supported protocols. The list of protocols could be generated
6373 dynamically at runtime or at plugin registration, and an error
6374 in the underlying library shouldn't be fatal (#353301).
6376 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6379 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6380 (spotted by Peter Kjellerstedt).
6382 2006-09-23 Wim Taymans <wim@fluendo.com>
6384 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6386 * libs/gst/base/gstbasesrc.c:
6387 (gst_base_src_default_check_get_range), (gst_base_src_start),
6388 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6389 (gst_base_src_change_state):
6390 Match _start/_stop calls in the activate functions. Remove redundant
6391 _stop call from the state change function. Fixes #356910.
6392 Turn failure DEBUG into ERROR.
6394 2006-09-22 Wim Taymans <wim@fluendo.com>
6396 * docs/design/part-buffering.txt:
6397 * gst/gstmessage.c: (gst_message_new_buffering),
6398 (gst_message_parse_buffering):
6399 Update docs about buffering.
6401 * docs/design/part-trickmodes.txt:
6404 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6406 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6407 (gst_controller_new_list):
6408 Ref instances when returning them again (fixes #357180)
6410 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6412 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6413 Don't forget to release proxy lock when there's an error.
6415 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6418 Add extra initialisers for Caps things, to fix some plugin warnings
6421 2006-09-18 Wim Taymans <wim@fluendo.com>
6423 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6424 Also set template on the internal pad so that a getcaps from the
6425 target pad returns the template caps.
6427 2006-09-18 Wim Taymans <wim@fluendo.com>
6429 * gst/gstelement.c: (gst_element_post_message),
6430 (gst_element_dispose):
6431 Use _DEBUG_OBJECT some more.
6433 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6436 * tools/gst-launch.c: (main):
6437 If the toplevel element is not a GstPipeline, it must be put in a
6438 pipeline so that a bus and clock is selected.
6440 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6442 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6443 JITTER, RATE, and LATENCY query should be handled by the
6444 default case and not by the CONVERT query code.
6446 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6448 * gst/gstformat.c: (gst_format_register):
6449 Fix locking order (must take lock before using n_values).
6451 * gst/gstvalue.c: (gst_value_serialize_enum),
6452 (gst_value_deserialize_enum_iter_cmp),
6453 (gst_value_deserialize_enum):
6454 Fix serialisation/deserialisation of custom registered GstFormats.
6456 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6457 Unit test for custom format serialisation/deserialisation.
6459 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6461 * docs/pwg/building-boiler.xml:
6462 * plugins/elements/gstcapsfilter.c:
6463 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6466 2006-09-16 Edward Hervey <edward@fluendo.com>
6468 * libs/gst/base/gstbasetransform.c:
6469 (gst_base_transform_buffer_alloc):
6470 Check if requested caps are the same as the sinks caps IF
6471 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6473 This fixes the renegotiation issues stated in #352827.
6475 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6478 * docs/manual/advanced-autoplugging.xml:
6479 * tests/examples/Makefile.am:
6480 * tests/examples/manual/.cvsignore:
6481 * tests/examples/manual/Makefile.am:
6482 * tests/examples/manual/extract.pl:
6483 Extract the manual examples again like we used to do.
6486 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6488 * win32/common/config.h:
6491 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6494 Documents how to receive errors.
6496 2006-09-15 Wim Taymans <wim@fluendo.com>
6498 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6499 (event_loop), (main):
6500 Added some comments here and there.
6501 Post an application message when an interrupt is caught instead of doing
6502 an uncontrolled state change.
6503 Clean up the event loop.
6504 Handle buffering messages, pause/resume the pipeline.
6505 Make shutdown because of an interrupt more reliable.
6507 2006-09-15 Wim Taymans <wim@fluendo.com>
6509 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6510 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6511 (gst_base_sink_preroll_object):
6512 Make sure that our internal state is correct when we commit our state
6513 asynchronously. This solves a race where a state change to PLAYING
6514 could cause the sink to remain blocked in preroll in some situations.
6516 2006-09-15 Wim Taymans <wim@fluendo.com>
6518 * tools/gst-inspect.c: (print_element_properties_info),
6519 (print_signal_info):
6520 List flags as hex so it's easier to deal with.
6522 2006-09-15 Wim Taymans <wim@fluendo.com>
6524 * docs/libs/gstreamer-libs-sections.txt:
6525 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6526 (gst_base_sink_do_sync):
6527 * libs/gst/base/gstbasesink.h:
6528 Expose logic to wait for preroll so that subclasses such as audiosink
6529 can also use this method.
6530 API: gst_base_sink_wait_preroll()
6532 2006-09-15 Wim Taymans <wim@fluendo.com>
6534 * gst/gstobject.c: (gst_object_set_parent):
6535 * gst/gstpipeline.c: (do_pipeline_seek):
6536 Small cleanups in docs and code.
6538 * gst/gstsegment.c: (gst_segment_clip):
6539 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6540 if stop == start and start is in the segment, no clipping should be
6541 done. Also add a test for this.
6543 2006-09-15 Wim Taymans <wim@fluendo.com>
6545 * docs/design/part-buffering.txt:
6546 * docs/gst/gstreamer-sections.txt:
6547 * gst/gstmessage.c: (gst_message_new_buffering),
6548 (gst_message_parse_buffering):
6550 Added methods to create and parse BUFFERING messages.
6551 Added preliminary docs about buffering.
6552 API: gst_message_new_buffering
6553 API: gst_message_parse_buffering
6555 2006-09-06 Wim Taymans <wim@fluendo.com>
6558 Update documentation.
6560 * gst/gstelement.c: (gst_element_class_init),
6561 (gst_element_release_request_pad), (gst_element_set_clock),
6562 (gst_element_get_index), (gst_element_add_pad),
6563 (gst_element_remove_pad), (gst_element_get_random_pad),
6564 (gst_element_send_event), (gst_element_get_query_types),
6565 (gst_element_query), (gst_element_post_message),
6566 (gst_element_message_full), (gst_element_continue_state),
6567 (gst_element_lost_state), (gst_element_save_thyself),
6568 (gst_element_restore_thyself):
6569 Documentation updates.
6570 Rename last bit of the new-pad -> pad-added signal rename.
6571 Fix the case where an element query would only work if the source
6573 Avoid some useless type checking in message handling.
6578 Documentation updates.
6580 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6582 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6583 add an INFO line for when we actually update the fd
6585 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6590 === release 0.10.10 ===
6592 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
6595 releasing 0.10.10, "Pais"
6597 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
6599 * docs/manual/advanced-position.xml:
6600 Fix typo in sample code.
6602 2006-09-05 Wim Taymans <wim@fluendo.com>
6604 * libs/gst/net/gstnetclientclock.c: (inet_aton),
6605 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6606 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6607 * libs/gst/net/gstnetclientclock.h:
6608 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6609 * libs/gst/net/gstnettimepacket.h:
6610 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6611 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6612 (gst_net_time_provider_thread), (gst_net_time_provider_new):
6613 * libs/gst/net/gstnettimeprovider.h:
6614 Make stuff compile on windows. Fixes #345295.
6616 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6618 * gst/gst.c: (ensure_current_registry_forking):
6619 Print better details when child was terminated by signal.
6621 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
6623 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6624 Print a warning rather than g_assert() if a plugin feature
6625 is a URI handler but returns no protocols (#353976).
6627 2006-09-02 Stefan Kost <ensonic@users.sf.net>
6629 * docs/random/moving-plugins:
6632 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
6634 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6635 Fix locking order, handle NULL function values properly.
6640 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6641 Initialise variable before using it and fix debug statement to
6642 print the address of the function rather than the address of the
6643 variable on the stack holding the address of the function.
6645 2006-09-01 Wim Taymans <wim@fluendo.com>
6647 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6648 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6649 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6650 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6651 (gst_ghost_pad_parent_unset),
6652 (gst_ghost_pad_internal_do_activate_push),
6653 (gst_ghost_pad_internal_do_activate_pull),
6654 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6655 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6656 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6657 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6658 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6659 (gst_ghost_pad_new_no_target_from_template),
6660 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6662 Avoid needless typechecking in macros.
6663 Since the internal pad is always present and never changes, there is
6664 no need to locking or ref when retrieving it.
6665 Improve debugging a bit.
6666 Handle link errors when setting the target. Fixes #341029.
6668 2006-09-01 Wim Taymans <wim@fluendo.com>
6670 * docs/libs/gstreamer-libs-sections.txt:
6671 * docs/plugins/gstreamer-plugins-sections.txt:
6674 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6675 (gst_collect_pads_event):
6676 * libs/gst/base/gstcollectpads.h:
6677 Documentation updates.
6678 Free queued buffer when removing a pad.
6680 2006-08-31 Michael Smith <msmith@fluendo.com>
6682 * gst/gstutils.c: (gst_element_link_pads),
6683 (gst_element_link_pads_filtered):
6684 Ensure that we set a capsfilter to NULL if we failed to link it
6685 when doing filtered linking, to avoid criticals.
6687 No need to check for unreffing srcpad, which is explicly NULLed
6688 above (a trivial code cleanup).
6690 2006-08-31 Wim Taymans <wim@fluendo.com>
6692 * docs/design/part-gstghostpad.txt:
6693 Update ascii art in documentation.
6695 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6696 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6697 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6698 (gst_ghost_pad_internal_do_activate_push),
6699 (gst_ghost_pad_internal_do_activate_pull),
6700 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6701 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6702 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6703 (gst_ghost_pad_set_target):
6704 Small cleanups and leak fixes.
6705 Remove some checks now that the internal pad is never NULL.
6706 Fix the case where linking pads without a target would create nasty
6707 criticals. Fixes #341029.
6708 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6709 value of _set_target().
6711 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6712 (gst_ghost_pad_suite):
6713 Some more tests for creating and linking untargeted ghostpads.
6715 2006-08-31 Edward Hervey <edward@fluendo.com>
6717 * docs/gst/gstreamer-sections.txt:
6718 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6719 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6720 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6721 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6722 (gst_ghost_pad_new_from_template),
6723 (gst_ghost_pad_new_no_target_from_template):
6724 * gst/gstghostpad.h:
6725 Refactored *_new() functions.
6726 Templates are now used as a g_object_new() parameter.
6727 Use template in _do_getcaps() if we don't have a target.
6728 Small documentation cleanups.
6729 Added two new constructors:
6730 gst_ghost_pad_new_from_template()
6731 gst_ghost_pad_new_no_target_from_template()
6732 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6733 (gst_ghost_pad_suite):
6734 Added tests for new ghostpad instanciation functions.
6736 API additions: gst_ghost_pad_new_from_template,
6737 gst_ghost_pad_new_no_target_from_template
6739 2006-08-30 Stefan Kost <ensonic@users.sf.net>
6741 * docs/random/ensonic/profiling.txt:
6742 Ideas about qos profiling.
6744 2006-08-29 Wim Taymans <wim@fluendo.com>
6746 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6750 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
6753 Improve and detypofy docs.
6755 * tests/check/Makefile.am:
6756 * tests/check/gst/.cvsignore:
6757 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6758 Add a basic test suite for GstXML.
6760 2006-08-29 Wim Taymans <wim@fluendo.com>
6762 * gst/gstelement.c: (activate_pads), (clear_caps),
6763 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6764 Clear the pad caps when the element shut down all of the pads and
6765 is not streaming data that could modify the caps.
6768 2006-08-28 Michael Smith <msmith@fluendo.com>
6770 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6771 Revert previous change; I misunderstood single-segment mode.
6773 2006-08-28 Michael Smith <msmith@fluendo.com>
6775 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6776 Unset DISCONT on buffers when using single-segment mode.
6778 2006-08-28 Wim Taymans <wim@fluendo.com>
6780 * gst/gstcaps.c: (gst_caps_merge_structure):
6782 Fix docs and indentation again.
6784 * tests/check/gst/gstquery.c: (GST_START_TEST):
6785 Fix leak in tests and add some more tests.
6787 2006-08-28 Edward Hervey <edward@fluendo.com>
6789 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6790 Inform GstSegment of the last stop position in order for the current
6791 segment to have a proper duration if it doesn't have a specific stop
6792 position from which a duration could be calculated.
6793 This bug was noticeable when a non-flushing, non-update new segment was
6794 followed by another segment (all buffers from the new segment were being
6797 2006-08-28 Wim Taymans <wim@fluendo.com>
6799 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6800 Small comment update.
6802 * plugins/elements/gstidentity.c: (gst_identity_class_init),
6803 (gst_identity_transform_ip):
6804 Drop-probability is broken, mention this in the code with a
6805 FIXME and also in the property description.
6806 Make silent also be silent about the drop messages.
6808 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
6810 * docs/manual/appendix-win32.xml:
6811 Remove mention of popt, we don't depend on that any
6812 longer (#353136). Add some comments pointing out that
6813 this section is slightly outdated.
6815 2006-08-28 Wim Taymans <wim@fluendo.com>
6817 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6819 * gst/gstquery.c: (gst_query_new_segment):
6820 * tests/check/gst/gstquery.c: (GST_START_TEST):
6821 Initialize variables when creating a new segment query.
6824 2006-08-28 Wim Taymans <wim@fluendo.com>
6826 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6828 * gst/gstelement.c: (gst_element_get_bus):
6829 * tests/check/gst/gstelement.c: (GST_START_TEST):
6830 Check for NULL before _reffing the bus. Fixes #353122.
6832 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
6834 * docs/manual/basics-bus.xml:
6835 Docs update: fix wrong callback return value explanation; add
6836 some lines about the implicit relationship between main loop
6837 and main context; remove duplicate main loop variable declaration.
6839 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
6841 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6842 Don't leak caps in unit test; add a few more simple
6845 2006-08-24 Stefan Kost <ensonic@users.sf.net>
6847 * docs/gst/gstreamer-sections.txt:
6848 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6849 (gst_caps_structure_is_subset), (gst_caps_merge),
6850 (gst_caps_merge_structure):
6852 * libs/gst/base/gstbasetransform.c:
6853 (gst_base_transform_transform_caps):
6854 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6855 implement caps merging (fixes #352580)
6857 2006-08-23 Stefan Kost <ensonic@users.sf.net>
6859 * tools/Makefile.am:
6860 * tools/gst-plot-timeline.py:
6861 add debug-log plotting developer tool (#340674)
6863 2006-08-23 Wim Taymans <wim@fluendo.com>
6865 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6866 (gst_pad_stop_task):
6867 Improve debugging for task functions.
6869 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6870 (gst_task_start), (gst_task_pause), (gst_task_join):
6871 Make sure that the task function started and finished after a
6873 Don't try to push the task function on the threadpool multiple
6875 Improve the g_warning message with some useful suggestions
6876 about how to fix the problem.
6878 2006-08-23 Wim Taymans <wim@fluendo.com>
6880 * gst/gstutils.c: (gst_pad_proxy_getcaps):
6881 Handle RESYNC correctly in _proxy_getcaps.
6883 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
6885 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
6886 (gst_xml_parse_memory), (gst_xml_get_element):
6887 Chain up to parent class in dispose function and also
6888 unref the elements in the toplevel_elements GList.
6889 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
6890 Always return a reference in gst_xml_get_element() rather
6891 than only sometimes.
6893 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6894 Don't leak GstXml object.
6896 2006-08-21 Stefan Kost <ensonic@users.sf.net>
6898 * docs/gst/gstreamer-sections.txt:
6899 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
6902 * libs/gst/base/gstbasetransform.c:
6903 (gst_base_transform_transform_caps):
6904 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
6907 2006-08-21 Edward Hervey <edward@fluendo.com>
6909 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
6910 Implement GObject::dispose virtual method in GstXML so we can free the
6913 2006-08-21 Wim Taymans <wim@fluendo.com>
6915 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
6916 (gst_buffer_create_sub):
6917 Copy duration/offset_end/caps when creating a subbuffer of the
6919 Make the subbuffer read-only when we make the metadata writable for
6922 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6923 Added check for metadata copy when creating subbuffers.
6925 2006-08-21 Edward Hervey <edward@fluendo.com>
6927 * libs/gst/base/gstbasetransform.c:
6928 (gst_base_transform_buffer_alloc):
6929 Only call downstream buffer_alloc if transform element is passthrough
6930 or always_in_place. Closes #350449.
6932 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6935 ChangeLog surgery to add comments to previous changes
6937 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6942 * gst/gstpad.c: (gst_pad_set_active):
6943 Be more verbose in the log
6945 * libs/gst/base/gstbasetransform.c:
6946 (gst_base_transform_transform_caps):
6947 Simplify caps to get rid of duplicates, fixes #345444
6949 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6953 Use these optimizations only internally.
6955 2006-08-20 Stefan Kost <ensonic@users.sf.net>
6957 * gst/gstvalue.c: (gst_value_compare_list),
6958 (gst_value_compare_fraction_range),
6959 (gst_value_intersect_fraction_fraction_range),
6960 (gst_value_intersect_fraction_range_fraction_range),
6961 (gst_value_subtract_fraction_fraction_range),
6962 (gst_value_subtract_fraction_range_fraction_range),
6963 (gst_value_get_compare_func), (gst_value_compare),
6964 (gst_value_compare_with_func):
6966 Saves the expensive lookup of the compare function in many cases
6969 2006-08-18 Edward Hervey <edward@fluendo.com>
6971 * tests/check/gst/gstinfo.c: (gst_info_suite):
6972 Disable test that require gstdebug if it wasn't built in core.
6974 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6976 * docs/random/ensonic/logging.txt:
6979 * gst/gstinfo.c: (gst_debug_log_default):
6980 reorder fields, save some columns, add optional color codes for log
6983 2006-08-18 Stefan Kost <ensonic@users.sf.net>
6985 * docs/random/ensonic/logging.txt:
6986 add ideas about making the logs a bit more useful
6988 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6990 * docs/pwg/advanced-events.xml:
6991 * docs/pwg/titlepage.xml:
6992 Update for 0.10 API (#340627). Add myself
6995 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
6997 * docs/libs/gstreamer-libs-docs.sgml:
6998 * docs/libs/gstreamer-libs-sections.txt:
6999 * libs/gst/check/gstbufferstraw.c:
7000 Make gstcheck stuff show up in docs (still needs to
7001 be documented properly though).
7003 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7005 * docs/gst/gstreamer-sections.txt:
7007 * gst/gst.c: (init_post):
7008 * gst/gst_private.h:
7009 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7011 * gst/gstquery.c: (gst_query_new_position),
7012 (gst_query_set_position), (gst_query_parse_position),
7013 (gst_query_new_duration), (gst_query_set_duration),
7014 (gst_query_parse_duration), (gst_query_new_convert),
7015 (gst_query_set_convert), (gst_query_parse_convert),
7016 (gst_query_new_segment), (gst_query_set_segment),
7017 (gst_query_parse_segment), (gst_query_new_seeking),
7018 (gst_query_set_seeking), (gst_query_parse_seeking):
7019 Add internal helpers for pre-registering quarks from static strings
7020 and using the quark values directly instead of looking them up when
7021 creating and parsing queries. Can be used for event construction too.
7024 2006-08-16 Wim Taymans <wim@fluendo.com>
7029 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7031 * gst/gstutils.c: (gst_util_set_value_from_string):
7032 Fix memleak (#351502).
7034 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7035 Add unit test for most of gst_util_set_value_from_string()
7036 (not that one would want to encourage use of this function).
7038 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7040 * libs/gst/check/gstcheck.h:
7041 Use const gchar * variables in fail_unless_equals_string
7042 macro to avoid compiler warnings (and don't use tabs for
7045 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7047 * tools/gst-launch.c: (print_tag):
7048 More space on the left for the tag names, to cater
7049 for the 'extended comment' tag (not touching the
7050 string for the first line since it's translated).
7052 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7054 * libs/gst/check/gstcheck.h:
7055 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7056 print something when they fail.
7058 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7060 * docs/gst/gstreamer-sections.txt:
7061 * gst/gsttaglist.c: (_gst_tag_initialize):
7063 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7064 Also change merge function for GST_TAG_COMMENT to
7067 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7069 * gst/gstinfo.c: (gst_debug_print_object):
7070 Make GST_PTR_FORMAT print messages as well.
7072 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7073 (GST_START_TEST), (gst_info_suite):
7076 2006-08-14 Edward Hervey <edward@fluendo.com>
7078 * gst/gstelementfactory.c: (gst_element_register):
7079 If the GstElementClass doesn't have a GstElementDetails with all fields
7080 filled up correctly (longname, description AND author), then error out
7081 nicely instead of crashing.
7083 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7085 * gst/gststructure.c:
7086 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7089 Expand on the difference between arrays and lists as we use them.
7091 2006-08-14 Wim Taymans <wim@fluendo.com>
7093 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7094 If the parent state change function failed, don't assume we can safely
7095 stop the source, this will be done when the pads are deactivated.
7097 2006-08-14 Wim Taymans <wim@fluendo.com>
7100 * gst/gsttask.c: (gst_task_join):
7103 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7104 (gst_pad_stop_task):
7105 When pad (de)activation failed for some reason, restore the old
7106 activation mode and set the pad to flushing instead of assuming the
7108 If the _task_join() failed, reinstall the task on the pad so that it can
7109 be stopped later and return an error.
7111 2006-08-11 Andy Wingo <wingo@pobox.com>
7114 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7115 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7116 is only for users of API that don't want to see deprecated
7117 functions in the headers; people that want to compile out
7118 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7119 CFLAGS. Fixes the build of multifdsink, or will soon..
7121 2006-08-11 Wim Taymans <wim@fluendo.com>
7123 * docs/gst/gstreamer-sections.txt:
7124 Add GstClockClass vmethod docs.
7127 Mark #endif with comment for associated #if
7129 * gst/gstclock.c: (gst_clock_id_wait):
7131 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7132 most clock implementations.
7134 Flesh out docs about resolution methods.
7135 API: GstClockClass::wait_jitter
7137 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7138 (gst_system_clock_async_thread),
7139 (gst_system_clock_id_wait_jitter_unlocked),
7140 (gst_system_clock_id_wait_jitter):
7141 Use base class wait_jitter variant for improved performance
7142 due to less clock polling.
7144 2006-08-11 Edward Hervey <edward@fluendo.com>
7146 * gst/gst.c: (gst_init_check), (init_post):
7147 Set gst as being initialized before scanning/updating the registry,
7148 since there might be my python plugin loader that calls gst_init() and
7149 we don't want to loop back in.
7152 2006-08-11 Wim Taymans <wim@fluendo.com>
7154 * docs/design/part-qos.txt:
7155 Bring docs in line with the code. Mostly the sign of the jitter was
7156 wrong in the docs. Fixes #349943.
7159 Fix the docs for the jitter.
7161 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7162 (gst_event_parse_tag), (gst_event_new_buffer_size),
7163 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7164 (gst_event_new_seek), (gst_event_parse_seek),
7165 (gst_event_new_navigation):
7166 Make sure the GstStructure has no parent when creating custom
7168 Add some more argument checking so that we avoid 0.0 rates.
7169 Flesh out the docs for the QoS event some more.
7171 2006-08-11 Wim Taymans <wim@fluendo.com>
7173 * docs/gst/gstreamer-sections.txt:
7174 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7175 (ensure_current_registry_forking), (ensure_current_registry),
7176 (parse_one_option), (parse_goption_arg), (gst_deinit),
7177 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7180 Added API and command line option to disable registry forking in
7181 addition to the environment variable.
7182 Constify some static arrays.
7183 Added some more debug.
7185 API: gst_registry_fork_is_enabled()
7186 API: gst_registry_fork_set_enabled()
7187 API: --gst-disable-registry-fork command line option
7190 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7192 * gst/gst.c: (gst_init):
7193 Fix typo in error message.
7195 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7197 * libs/gst/controller/gstcontroller.h:
7198 fix ABI size-correction
7200 * tests/check/libs/gdp.c: (gst_dp_suite):
7201 make tests that use deprecated API conditional
7203 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7205 * docs/libs/gstreamer-libs-sections.txt:
7206 * libs/gst/controller/gstcontroller.c:
7207 (_gst_controller_get_property), (_gst_controller_set_property),
7208 (_gst_controller_init), (_gst_controller_class_init):
7209 * libs/gst/controller/gstcontroller.h:
7210 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7211 (gst_object_set_control_rate):
7212 API: add gst_object_{s,g}et_control_rate(), add private data section,
7215 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7216 * libs/gst/dataprotocol/dataprotocol.h:
7217 add deprecation guards to make gtk-doc happy and allow disabling cruft
7219 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7221 * tests/check/Makefile.am:
7222 * tests/check/gst/.cvsignore:
7223 Let's enable the new unit test as well.
7225 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7228 * docs/gst/gstreamer-sections.txt:
7229 * gst/gstconfig.h.in:
7230 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7231 (_gst_info_printf_extension_ptr),
7232 (_gst_info_printf_extension_segment):
7233 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7234 register that lets us easily dump GstSegments into debug
7237 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7238 (info_segment_format_printf_extension), (gst_info_suite):
7239 Add simple unit test that logs a bunch of different segments (not
7240 valgrinded at the moment because of leaks in
7241 gst_debug_add_log_function).
7243 2006-08-09 Edward Hervey <edward@fluendo.com>
7245 * libs/gst/base/gstbasetransform.c:
7246 (gst_base_transform_buffer_alloc):
7247 Even if we can't figure out the proper format to request downstream,
7248 call buffer_alloc() downstream with the input parameters without setting
7249 the caps on the srcpad. This will force negotiation in the chain
7253 2006-08-08 Edward Hervey <edward@fluendo.com>
7255 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7256 Unlinking from a pad without a target is now a perfectly valid case
7257 which should NOT raise an assertion.
7258 This case would happen if a linked ghostpad its target set to NULL after
7259 it was previously linked.
7261 2006-08-08 Edward Hervey <edward@fluendo.com>
7263 * tests/check/libs/gdp.c:
7264 Also comment out the test (see below).
7266 2006-08-08 Edward Hervey <edward@fluendo.com>
7268 * tests/check/libs/gdp.c: (gst_dp_suite):
7269 Use the architecture information from config.h and not gcc macros
7270 in order to properly disable a test that fails on PPC64.
7272 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7274 * gst/gstelement.c: (gst_element_remove_pad):
7275 Don't crash printing the warning if the pad has no parent.
7277 2006-08-02 Wim Taymans <wim@fluendo.com>
7279 * libs/gst/dataprotocol/dataprotocol.c:
7280 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7281 (gst_dp_crc), (gst_dp_header_payload_length),
7282 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7283 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7284 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7285 (gst_dp_event_from_packet), (gst_dp_validate_header),
7286 (gst_dp_validate_payload):
7287 Make debug category static
7288 Constify the crc table.
7289 Do some more arg checking in public functions.
7290 Fix some docs and do some small cleanups.
7292 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7293 Add some more checks to see if GDP deals with bogus input.
7295 2006-07-31 Wim Taymans <wim@fluendo.com>
7297 * gst/gstvalue.c: (gst_value_compare_list):
7298 Fix GstValueList comparison code. Fixes #347293.
7300 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7301 Check to test GstValueList comparison.
7303 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7305 * gst/gstelementfactory.c: (gst_element_factory_create):
7306 Remove unnecessary ref/unref pair
7308 * gst/parse/grammar.y:
7309 Make sure to free the parse buffer on all code paths.
7310 Move a g_free up to the error handler where it's easier to see.
7312 * tests/check/gst/gstevent.c: (test_event):
7313 Extending timeout for downstream travelling events to 10 seconds to
7314 hopefully avoid intermittent failure on the buildbots.
7316 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7317 Don't manually set the state of the src element - it will happen as a
7318 natural consequence of the pipeline changing state, and that way it
7319 will do it in the right order too.
7321 2006-07-31 Wim Taymans <wim@fluendo.com>
7323 * libs/gst/base/gstbasetransform.c:
7324 (gst_base_transform_buffer_alloc):
7325 Use OBJECT_LOCK and refcounting to get the pad caps in the
7326 buffer_alloc function because the caps could change while we are
7327 busy with them. Fixes #349105
7329 2006-07-31 Wim Taymans <wim@fluendo.com>
7331 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7332 Protect _PAD_CAPS with OBJECT_LOCK.
7334 2006-07-31 Wim Taymans <wim@fluendo.com>
7336 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7337 (gst_pad_get_property), (gst_pad_activate_pull),
7338 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7339 (gst_pad_set_activate_function),
7340 (gst_pad_set_activatepull_function),
7341 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7342 (gst_pad_set_getrange_function),
7343 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7344 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7345 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7346 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7347 (gst_pad_set_acceptcaps_function),
7348 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7349 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7350 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7351 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7352 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7353 (gst_pad_configure_sink), (gst_pad_configure_src),
7354 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7355 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7356 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7357 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7358 (gst_pad_send_event):
7359 Use _DEBUG_OBJECT when it makes sense.
7360 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7361 Small cleanups and code reflows.
7362 Avoid caps refcounting in _accept_caps.
7363 Refactor alloc_buffer so that the code performed on the peer is in a
7364 separate function. Also if the pad does not implement a buffer alloc
7365 function, we should still check if the pad is flushing before falling
7366 back to the default allocator.
7368 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7370 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7371 Make all uses of identity and fakesink have silent=true to avoid
7372 serialising every passing data structure, which is breaking tests
7373 on FC4 for some unknown reason.
7375 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7377 * gst/parse/Makefile.am:
7378 * gst/parse/grammar.y:
7379 * gst/parse/parse.l:
7380 Reverted previous patch as it required to bump the flex dependency to
7381 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7383 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7385 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7387 * gst/parse/Makefile.am:
7388 * gst/parse/grammar.y:
7389 * gst/parse/parse.l:
7390 push & pop the state of the lexer for reentrant use case
7393 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7395 * libs/gst/base/gstbasesrc.h:
7396 Note in the docs that the ::newsegment vfunc is not actually used by
7399 2006-07-28 Wim Taymans <wim@fluendo.com>
7401 * libs/gst/base/gstcollectpads.c:
7402 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7403 (gst_collect_pads_clear), (gst_collect_pads_flush),
7404 (gst_collect_pads_event), (gst_collect_pads_chain):
7405 When flushing a pad, also clear the queued buffer so that we don't
7406 accidentally use it when we shouldn't.
7407 Fix leaks by inreffing incomming buffer.
7408 Flush out queued buffers in case of errors.
7411 2006-07-28 Wim Taymans <wim@fluendo.com>
7413 * docs/random/phonon-gst:
7414 Random notes about a Phonon backend.
7416 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7418 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7420 * tests/check/libs/gdp.c: (gst_dp_suite):
7421 Take a whack at fixing the ppc compile using a different define to
7422 disable the broken test.
7424 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7425 Remove excess g_print()
7427 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7429 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7430 Oops, meant to uncomment this line too to dampen the noise a bit.
7432 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7434 * gst/parse/grammar.y:
7435 * gst/parse/parse.l:
7436 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7437 (GST_START_TEST), (parse_suite):
7438 Fix some of the leaks exposed by extending the parse-launch testsuite,
7439 and move the 3 I can't figure out into a separate test that won't run
7440 the pipelines unless the appropriate line is uncommented.
7442 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7444 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7445 Requesting 0 bytes before the end of the file should result in
7446 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7449 2006-07-27 Wim Taymans <wim@fluendo.com>
7451 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7452 Fix useless assert, a uint is always positive.
7454 * gst/gststructure.c: (gst_structure_nth_field_name),
7455 (gst_structure_foreach), (gst_structure_map_in_place):
7456 Check input arguments for public functions to avoid obvious crashes.
7458 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7459 * plugins/elements/gstfakesink.h:
7460 Do less useless typechecking.
7462 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7464 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7465 Do not use mmap() by default since there are a number of error
7466 conditions that we would like to handle in a non-fatal way that
7467 will result in a SIGBUS if we use mmap(). Examples: external
7468 devices (USB harddrive, portable music player) being unplugged
7469 while in use; file on mounted CD/DVD that can't be read because
7470 the medium is partly damaged. Fixes #348455 and #348475.
7472 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7475 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7478 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7480 * gst/gstregistry.c:
7481 Move big documentation comment into class section header, so that it
7482 appears in the API docs.
7484 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7486 * docs/gst/gstreamer-sections.txt:
7487 Oops. Commit the docs additions too for new API.
7488 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7490 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7492 * gst/gststructure.c: (gst_structure_id_set),
7493 (gst_structure_id_set_valist):
7494 * gst/gststructure.h:
7495 Add API for setting values into structures without performing
7496 a quark lookup, if the appropriate quark is already known.
7498 API: gst_structure_id_set
7499 API: gst_structure_id_set_valist
7501 * gst/parse/grammar.y:
7502 * gst/parse/parse.l:
7503 Remove some dead code shown by the coverage information.
7504 Don't throw a critical g_warning when encountering a syntax error,
7505 just warn and let the normal error path handle it.
7507 * plugins/elements/gstelements.c:
7508 Bump the rank of filesink up to PRIMARY so that it is preferred over
7509 gnomevfssink for file:// sink uri's
7511 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7512 (GST_START_TEST), (run_delayed_test),
7513 (gst_parse_test_element_base_init),
7514 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7515 (gst_parse_test_element_change_state),
7516 (gst_register_parse_element), (parse_suite):
7517 Beef up the tests for parse syntax to check that more error cases
7518 fail as they are supposed to. Increases the test coverage a bit.
7520 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
7522 * docs/manual/basics-elements.xml:
7523 Fix gst_element_link() example.
7526 Mention in API docs that one should usually gst_bin_add()
7527 elements to a bin or pipeline before doing the linking.
7529 2006-07-26 Wim Taymans <wim@fluendo.com>
7531 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7532 (gst_subbuffer_get_type), (gst_buffer_create_sub):
7533 Avoid function call for known types by keeping the buffer and
7534 subbuffer GType global.
7536 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7537 Random silly optimisations in read() path.
7539 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7541 * tools/gst-launch.c: (main):
7542 If the top-level of the parse is a normal bin, it doesn't do the
7543 right logic to run as a top-level element, so place it inside a
7546 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
7548 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7549 Remove superfluous g_object_notify() calls, GObject does
7550 that for us automatically.
7552 2006-07-25 Stefan Kost <ensonic@users.sf.net>
7555 on Win32, use dllspec to export the debug category symbols
7557 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
7559 * gst/gsttaglist.c: (_gst_tag_initialize):
7560 Allow more than one GST_TAG_IMAGE per taglist.
7562 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
7564 * gst/gstminiobject.c:
7566 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7567 (gst_fd_src_create):
7568 log recurring events at LOG level
7569 add more debug for when the fd gets set
7571 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7573 * gst/gstparse.c: (gst_parse_launch):
7574 Also remove reentrance checks if flex is MT safe (#348179)
7575 Fix my empty ChangeLog entry below
7577 2006-07-21 Andy Wingo <wingo@pobox.com>
7579 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7581 * libs/gst/check/Makefile.am
7582 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7583 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
7584 * libs/gst/check/gstbufferstraw.h:
7585 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7586 functions, thus proving I am still a GStreamer haxor. OK I wrote
7587 them a long time ago, but anyways.
7589 2006-07-21 Stefan Kost <ensonic@users.sf.net>
7592 * gst/gstparse.c: (gst_parse_launch):
7593 Check for flex version and omit mutex if we have a MT save flex
7596 2006-07-21 Wim Taymans <wim@fluendo.com>
7598 * gst/gstparse.c: (gst_parse_launch):
7599 Protect recursive calls to _parse with a recursive mutex
7602 2006-07-21 Wim Taymans <wim@fluendo.com>
7604 * tests/check/gst/gstpad.c: (GST_START_TEST):
7607 2006-07-20 Stefan Kost <ensonic@users.sf.net>
7609 * gst/gstparse.c: (gst_parse_launch):
7610 Do not hang on recursive usage of gst_parse_launch()
7612 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7615 Add some more docs, comments and FIXME 0.11s here and there
7616 and also fix some typos.
7618 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
7621 Convert tabs to spaces for better readability.
7623 2006-07-20 Edward Hervey <edward@fluendo.com>
7625 * tests/check/libs/gdp.c: (gst_dp_suite):
7626 the test_buffer test fails at line 140 on ppc64 at the following
7628 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7629 GST_BUFFER_FLAG_IN_CAPS),
7630 "GST_BUFFER_IN_CAPS flag should have been copied !");
7631 See bug #348114 for more details.
7633 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
7635 * docs/pwg/advanced-scheduling.xml:
7637 Fix typos (#348000).
7639 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
7641 * docs/pwg/intro-basics.xml:
7642 Fix wrong links (#347927).
7644 2006-07-18 Stefan Kost <ensonic@users.sf.net>
7646 * gst/gstregistry.h:
7647 * gst/gstregistryxml.c: (load_feature),
7648 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7649 * win32/common/config.h:
7650 make --disable-index work (#342564)
7652 2006-07-18 Wim Taymans <wim@fluendo.com>
7654 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7658 The attached patch adds two missing defines to gsttrace.h when tracing
7659 is disabled. It also corrects one existing define.
7662 2006-07-17 Wim Taymans <wim@fluendo.com>
7664 * docs/gst/gstreamer-sections.txt:
7665 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7667 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7668 Add two functions to check and change the SIGSEGV behaviour
7669 when loading plugins.
7670 Don't mess with the SIGSEGV handler when we were told not to.
7672 API: gst_segtrap_is_enabled
7673 API: gst_segtrap_set_enabled
7675 2006-07-14 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 fix for regression in #347408 after release.
7681 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
7683 Patch by: Antoine Tremblay <hexa00 at gmail com>
7685 * gst/gstutils.c: (gst_element_unlink):
7686 Free iterator when done (#347311).
7688 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7689 And add a test case for this.
7691 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
7694 Bump nano back to CVS
7696 === release 0.10.9 ===
7698 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7701 releasing 0.10.9, "On the road again"
7703 2006-07-13 Wim Taymans <wim@fluendo.com>
7705 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7706 * tests/check/elements/filesrc.c: (GST_START_TEST):
7707 Revert pull-0 fix for release. Disable check. Fixes #347408.
7709 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7711 * libs/gst/dataprotocol/dataprotocol.c:
7712 (gst_dp_event_from_packet_1_0):
7713 Fixes #347337: failure to deserialize event packets with
7714 empty payload (only event type)
7716 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7719 do not install a .c file in the header directory
7721 2006-07-13 Edward Hervey <edward@fluendo.com>
7723 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7724 GhostPad no longer implicitely use the padtemplates of the targets.
7727 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
7729 * gst/gstvalue.c: (gst_value_compare_list),
7730 (gst_value_compare_array), (_gst_value_initialize):
7731 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7732 Make GstValueArray comparison be order dependent as designed.
7733 Add checks for value lists and value array comparisons.
7736 2006-07-11 Edward Hervey <edward@fluendo.com>
7738 * gst/gstbin.c: (activate_pads),
7739 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7740 (gst_bin_change_state_func):
7741 (de)activate src pads before calling state_change on the childs.
7742 This is to avoid the case where a src ghostpad is blocked (holding the
7743 stream lock), which would block the deactivation of the ghostpad's
7745 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7746 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7747 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7748 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7749 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7750 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7751 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7752 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7753 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7754 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7755 (gst_ghost_pad_class_init),
7756 (gst_ghost_pad_internal_do_activate_push),
7757 (gst_ghost_pad_internal_do_activate_pull),
7758 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7759 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7760 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7761 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7762 GhostPads now create their internal GstProxyPad at creation (and not
7763 when they're linked, as it was being done previously).
7764 The internal and target pads are linked straight away.
7765 The data will also travel through the other pad in order to make
7766 pad blocking and probes non-hackish (the probe/block now really happens
7767 on the GhostPad and not on the target).
7768 * gst/gstpad.c: (gst_pad_set_blocked_async),
7769 (gst_pad_link_prepare), (gst_pad_push_event):
7770 Remove previous ghostpad cruft.
7771 * gst/gstutils.c: (gst_pad_add_data_probe),
7772 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7773 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7774 (gst_pad_remove_buffer_probe):
7775 Remove previous ghost pad cruft.
7776 Added more detailed debug statements.
7777 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7778 Fix the testsuite for refcounting changes.
7779 The comments about who has references were correct, but the refcount
7780 being checked wasn't the same (!?!).
7784 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7786 * docs/gst/gstreamer-sections.txt:
7787 * gst/gstconfig.h.in:
7788 More docs for configuration options, add docs to gtk-doc.
7790 2006-07-10 Stefan Kost <ensonic@users.sf.net>
7793 * gst/gstconfig.h.in:
7794 * win32/common/config.h:
7795 Fix build when disabling tracing (fixes #344016). Also start to document
7796 the defines that disable the sub-systems.
7798 2006-07-10 Edward Hervey <edward@fluendo.com>
7800 * gst/gst.c: (ensure_current_registry_forking):
7801 let's make valgrind happy...
7803 2006-07-09 Wim Taymans <wim@fluendo.com>
7805 * gst/gstelement.c: (activate_pads),
7806 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7807 Better pad activation code: Reset the collect value too on resync.
7810 2006-07-09 Wim Taymans <wim@fluendo.com>
7812 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7813 (gst_pad_activate_push):
7814 Use some more macros where it makes sense.
7815 Allow pad mode switching instead of asserting. When a pad
7816 is activated in one mode and we activate it in another,
7817 deactivate it first before activating it in a different mode.
7820 2006-07-08 Andy Wingo <wingo@pobox.com>
7822 * tools/gst-launch.c (main): Handle err == NULL.
7824 * gst/gst.c (init_post, ensure_current_registry)
7825 (ensure_current_registry_forking)
7826 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7827 factoring out the registry scanning into separate functions. Don't
7828 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7829 Better environment var name/interface suggestions accepted.
7831 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7833 * gst/gstobject.c: (gst_object_set_name_default),
7834 (gst_object_set_name):
7835 Random micro-optimisation: don't use a hash table
7836 with strings as keys and the usual strdup/strcmp
7837 involved, but rather just use the GQuark of the
7838 type name as key, since it needs to be looked up
7839 anyway to get the type name string.
7841 * tests/check/gst/gstobject.c: (GST_START_TEST):
7844 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7846 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7847 (gst_bin_iterate_all_by_interface):
7848 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7849 GTypes are gulongs and thus the top 4 bytes might be cut
7850 off on some platforms when doing GPOINTER_TO_INT, leading
7851 to invalid GTypes and bad things happening (see RH bug #179654).
7852 Also add a check to make sure the type passed in is really
7855 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7860 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
7864 * gst-element-check.m4:
7865 * gst-element-check.m4.in:
7866 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7867 instead of the unversioned gst-inspect (#324176, #168659).
7869 2006-07-06 Wim Taymans <wim@fluendo.com>
7872 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7875 2006-07-06 Wim Taymans <wim@fluendo.com>
7877 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7878 (gst_base_src_wait), (gst_base_src_update_length),
7879 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7880 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7881 (gst_base_src_loop), (gst_base_src_start),
7882 (gst_base_src_activate_pull):
7884 blocksize == 0 now means the default blocksize when working in push
7886 Remove some pointless asserts in _wait function.
7887 Fix offset/length calculations and EOS handling. We can now pull 0
7888 bytes as well, which is allowed.
7889 use _check_get_range() to decide if we can operate in _pull based
7891 Fix refcounting leak when check_get_range function was not
7893 API GstBaseSrc::blocksize range can be 0 too now (default)
7895 * tests/check/elements/filesrc.c: (GST_START_TEST),
7897 Added check to test _get_range() behaviour.
7899 2006-07-06 Wim Taymans <wim@fluendo.com>
7901 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
7902 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
7903 (gst_pad_pull_range):
7905 Lots of comments and docs added to the pad functions.
7906 Flesh out the expected behaviour of the get_range() functions.
7908 2006-07-06 Wim Taymans <wim@fluendo.com>
7913 * gst/gstiterator.h:
7917 Remove comma at end of enumerator list.
7919 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
7921 * win32/common/libgstbase.def:
7922 * win32/common/libgstdataprotocol.def:
7923 * win32/common/libsgtreamer.def:
7924 Add new exported functions.
7926 2006-07-05 Wim Taymans <wim@fluendo.com>
7928 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
7929 Add some more docs here and there.
7931 2006-07-05 Wim Taymans <wim@fluendo.com>
7933 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
7934 (gst_base_sink_loop), (gst_base_sink_get_position):
7935 When operating in pull mode update the offset so that we
7938 2006-07-05 Wim Taymans <wim@fluendo.com>
7940 * gst/gstregistryxml.c: (read_string):
7941 Avoid strdup. (will happen in libxml, but hey!)
7946 2006-07-05 Wim Taymans <wim@fluendo.com>
7948 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
7949 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7951 No point in checking if the size of the subbuffer > 0, the
7952 code handles it correclty as demonstrated by unit test.
7953 Also add a unit test for the zero sized _new_and_alloc and
7954 _copy. Fixes #346663.
7956 2006-07-05 Wim Taymans <wim@fluendo.com>
7958 * libs/gst/base/gstbasetransform.c:
7959 (gst_base_transform_prepare_output_buffer),
7960 (gst_base_transform_buffer_alloc),
7961 (gst_base_transform_handle_buffer):
7962 Make sure the buffer we pass to transform_ip has a refcount of
7963 1 and thus is writable. Fixes #343196
7965 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
7967 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7968 (gst_file_src_init), (gst_file_src_set_property),
7969 (gst_file_src_get_property), (gst_file_src_map_region):
7970 * plugins/elements/gstfilesrc.h:
7971 Add "sequential" property, off by default, to use madvise and hint
7972 to the kernel that sequential access is desired.
7973 Touch all retrieved pages by default to ensure they are pulled
7974 into memory. (Closes #345720)
7976 2006-07-03 Wim Taymans <wim@fluendo.com>
7978 * docs/design/part-block.txt:
7979 * docs/design/part-dynamic.txt:
7982 2006-07-03 Wim Taymans <wim@fluendo.com>
7984 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
7985 (gst_caps_unref), (gst_static_caps_get),
7986 (gst_caps_append_structure):
7987 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
7988 Use GSlice when the glib we build against is >= 2.10
7990 2006-07-03 Wim Taymans <wim@fluendo.com>
7992 * gst/gstelement.c: (gst_element_pads_activate):
7993 Small cleanup in pad activation code.
7995 2006-07-03 Wim Taymans <wim@fluendo.com>
7997 Patch by: Peter Kjellerstedt <pkj at axis dot com>
7999 * gst/gst-i18n-app.h:
8000 * gst/gst-i18n-lib.h:
8001 * tools/gst-inspect.c: (print_signal_info):
8002 The attached patch will make the inclusion of gettext.h unconditional in
8003 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8004 libintl.h in tools/gst-inspect.c.
8005 This allows use of --disable-nls again and fixes #344642.
8007 2006-07-03 Edward Hervey <edward@fluendo.com>
8009 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8010 Implement pad blocking on events according to part-block.txt.
8011 More comments on behaviour.
8012 * tests/check/gst/gstevent.c: (test_event):
8013 Send event to peer pad of blocked pad (else it will block).
8015 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8017 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8018 (gst_check_run_suite):
8019 if we get the wrong message, give us the types as string
8020 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8022 * tests/check/elements/filesrc.c: (GST_START_TEST):
8023 add a test for trying to open a non-existing file
8025 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8027 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8028 add a test for adding self
8030 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8032 * libs/gst/check/gstcheck.h:
8033 add some assert_ as alias for fail_unless_*
8034 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8035 increase test coverage
8037 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8040 include lcov.mak for lcov coverage generation
8041 * tools/Makefile.am:
8044 2006-07-02 Edward Hervey <edward@fluendo.com>
8046 * tests/check/elements/.cvsignore:
8049 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8052 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8053 * tests/check/Makefile.am:
8056 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8058 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8059 remove gst_caps_simplify; it was not declared and not used
8060 and deprecated in 0.8
8062 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8064 * docs/faq/gst-uninstalled:
8065 don't put empty paths on PYTHONPATH
8066 * docs/gst/gstreamer-sections.txt:
8067 remove some symbols that are not there
8069 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8071 * gst/gstcaps.c: (gst_caps_compare_structures):
8073 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8074 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8077 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8079 * libs/gst/dataprotocol/Makefile.am:
8080 build dataprotocol test by linking to the lib, instead of
8081 compiling the source, so we get coverage
8082 * tests/check/Makefile.am:
8083 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8084 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8085 add a test for filesrc
8087 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8089 * tests/check/gst/gststructure.c: (GST_START_TEST),
8090 (gst_structure_suite):
8091 Push coverage from 59.04% to 70.00%
8093 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8095 * tests/check/Makefile.am:
8096 gst-inspect every element; this makes sure that we also get
8097 coverage on element's get/set functions
8099 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8102 set CFLAGS and friends to -O0 if gcov is being used
8105 * libs/gst/base/Makefile.am:
8106 * libs/gst/check/Makefile.am:
8107 * libs/gst/controller/Makefile.am:
8108 * libs/gst/dataprotocol/Makefile.am:
8109 * libs/gst/net/Makefile.am:
8110 * plugins/elements/Makefile.am:
8111 * plugins/indexers/Makefile.am:
8112 add makefile rules to generate gcov data and clean up
8113 * tests/check/Makefile.am:
8114 add a coverage target that generates an html overview
8117 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8119 * tests/check/elements/fakesink.c:
8120 * tests/check/elements/fakesrc.c:
8121 * tests/check/elements/fdsrc.c:
8122 * tests/check/elements/identity.c:
8123 * tests/check/generic/sinks.c: (gst_sinks_suite):
8124 * tests/check/generic/states.c:
8125 * tests/check/gst/gst.c:
8126 * tests/check/gst/gstabi.c:
8127 * tests/check/gst/gstbin.c:
8128 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8129 * tests/check/gst/gstbus.c: (gst_bus_suite):
8130 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8131 * tests/check/gst/gstelement.c:
8132 * tests/check/gst/gstevent.c: (gst_event_suite):
8133 * tests/check/gst/gstghostpad.c:
8134 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8135 * tests/check/gst/gstmessage.c: (gst_message_suite):
8136 * tests/check/gst/gstminiobject.c:
8137 * tests/check/gst/gstobject.c:
8138 * tests/check/gst/gstpad.c:
8139 * tests/check/gst/gstpipeline.c:
8140 * tests/check/gst/gstplugin.c:
8141 * tests/check/gst/gstquery.c: (gst_query_suite):
8142 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8143 * tests/check/gst/gststructure.c:
8144 * tests/check/gst/gstsystemclock.c:
8145 * tests/check/gst/gsttag.c:
8146 * tests/check/gst/gsttask.c: (gst_task_suite):
8147 * tests/check/gst/gstutils.c:
8148 * tests/check/gst/gstvalue.c:
8149 * tests/check/libs/adapter.c:
8150 * tests/check/libs/basesrc.c:
8151 * tests/check/libs/collectpads.c:
8152 * tests/check/libs/controller.c:
8153 * tests/check/libs/gdp.c: (gst_dp_suite):
8154 * tests/check/libs/gstnetclientclock.c:
8155 * tests/check/libs/gstnettimeprovider.c:
8156 * tests/check/libs/libsabi.c: (libsabi_suite):
8157 * tests/check/libs/typefindhelper.c:
8158 * tests/check/pipelines/cleanup.c:
8159 * tests/check/pipelines/parse-launch.c:
8160 * tests/check/pipelines/simple-launch-lines.c:
8161 * tests/check/pipelines/stress.c: (stress_suite):
8164 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8166 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8167 * libs/gst/check/gstcheck.h:
8168 create a macro and function so that the simple unit test
8169 case can be just one macro to create main()
8171 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8173 * gst/gstbin.c: (gst_bin_restore_thyself):
8174 * gst/gstxml.c: (gst_xml_make_element):
8175 Fix deserialisation from XML. Set parent manually
8176 instead of using gst_bin_add(), since gst_bin_add()
8177 will unlink all pads of the element being added.
8180 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8182 Patch by: Peter Kjellerstedt <pkj at axis com>
8184 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8185 Fix missing g_strdup() and double free when using the
8186 --gst-plugin-load command line option (#346097).
8188 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8191 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8193 * libs/gst/net/gstnetclientclock.c:
8194 * libs/gst/net/gstnettimeprovider.c:
8195 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8197 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8199 * docs/manual/advanced-dataaccess.xml:
8200 Fix buffer probe example compilation in
8203 2006-06-22 Edward Hervey <edward@fluendo.com>
8205 * gst/gstelement.c: (gst_element_pads_activate):
8206 We need to deactivate src pads first and then sink pads.
8207 The reason is the src pads might be blocking while holding the streaming
8208 lock, so we need to deactivate them first so that deactivating the sink
8209 pads doesn't block (since it will require the streaming lock).
8211 2006-06-22 Wim Taymans <wim@fluendo.com>
8213 * libs/gst/base/gstbasetransform.c:
8214 (gst_base_transform_buffer_alloc):
8215 Forgot to remove two unneeded unrefs.
8216 Simplify a check _is_equal allready checks the obvious case.
8218 2006-06-22 Wim Taymans <wim@fluendo.com>
8220 * docs/design/part-block.txt:
8221 Some docs about what pad_block should do.
8223 2006-06-22 Wim Taymans <wim@fluendo.com>
8225 * gst/gstcaps.c: (gst_caps_replace):
8226 Fix crasher when passed NULL. Doc clarification.
8227 Optimize for the trivial case.
8229 * gst/gstpipeline.c: (gst_pipeline_change_state):
8232 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8233 Small documentation cleanup.
8235 * libs/gst/base/gstbasetransform.c:
8236 (gst_base_transform_buffer_alloc):
8237 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8238 is what we need and it avoids a whole lot of redundant
8239 refcount operations.
8241 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8243 Patch by: Philip Jägenstedt <philip at lysator liu se>
8245 * docs/manual/advanced-dataaccess.xml:
8246 Fix 'Embedding static elements' section to use
8247 GST_PLUGIN_DEFINE_STATIC (#345607).
8249 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8251 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8252 Attempt to 'fix' spuriously failing test case: it seems like the
8253 timeout of half a second is simply too small when the system is under
8254 load otherwise, and the timeout doesn't really seem to serve any
8255 particular purpose here. Give the pipeline a few seconds to preroll
8256 first, and then give it another half a second to go from PAUSED to
8257 PLAYING and marshal the message into the main thread.
8259 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8261 * tools/gst-feedback-m.m:
8262 Don't only use unversioned tools, try versioned tools as well
8265 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8267 * gst/gstbus.c: (gst_bus_class_init):
8268 Fix some typos, make docs more explicit.
8270 2006-06-20 Wim Taymans <wim@fluendo.com>
8272 * tests/check/gst/gstghostpad.c: (block_callback),
8273 (GST_START_TEST), (gst_ghost_pad_suite):
8274 Added some more ghostpad tests, mainly blocking
8277 2006-06-16 Wim Taymans <wim@fluendo.com>
8279 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8280 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8281 (gst_file_sink_event), (gst_file_sink_render):
8282 * plugins/elements/gstfilesink.h:
8283 Check if we can seek in the file instead of assuming
8284 we always can. Post an error when we are asked to seek in a
8285 non-seekable file (like a fifo). Fixes #343312.
8288 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8290 * tools/gst-launch.1.in:
8291 Un-garble (fourcc) bit in filtered caps section.
8293 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8295 * docs/manual/advanced-autoplugging.xml:
8296 * docs/manual/basics-helloworld.xml:
8297 * docs/manual/highlevel-components.xml:
8298 Don't leak bus reference in sample code.
8300 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8303 Add default for new --enable-plugin-docs switch.
8306 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8310 Use new ENABLE_PLUGIN_DOCS conditional.
8312 2006-06-14 Wim Taymans <wim@fluendo.com>
8314 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8315 Make it clear with a FIXME and a real define what the #if 0
8316 previously disabled.
8318 2006-06-14 Wim Taymans <wim@fluendo.com>
8320 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8321 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8322 * libs/gst/base/gstbasetransform.c:
8323 (gst_base_transform_sink_eventfunc):
8324 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8325 Don't randomly and silently reset a segment when the format
8326 changes as this is a bug somewhere upstream. Fixes #330379.
8328 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8330 Patch by: Wouter Paesen <wouter at kangaroot net>
8332 * libs/gst/controller/gstcontroller.c:
8333 (gst_controlled_property_new):
8334 Fix controlling of float properties (#344849).
8336 * tests/check/libs/controller.c:
8337 (gst_test_mono_source_get_property),
8338 (gst_test_mono_source_set_property),
8339 (gst_test_mono_source_class_init), (GST_START_TEST):
8340 While we're at it, add some float stuff to unit test.
8342 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8345 * docs/images/gdp-header.svg:
8347 * docs/libs/Makefile.am:
8348 * docs/libs/gdp-header.png:
8349 * libs/gst/dataprotocol/dataprotocol.c:
8350 add it to the API docs
8351 * docs/manual/intro-motivation.xml:
8354 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8356 * gst/gst.c: (scan_and_update_registry), (init_post):
8357 If the fork()'ed child process can't write the updated registry cache
8358 file to disk for some reason, make it exit with a failure exit code,
8359 so that the parent can then re-scan the plugins itself and update the
8360 registry structures in memory and work with that (rather than failing
8361 when creating elements because seemingly no plugins are available).
8362 Refactor registry scanning code into separate function for this and
8363 also separate fork() and non-fork() code paths. Fixes #344748.
8365 2006-06-13 Wim Taymans <wim@fluendo.com>
8367 * docs/manual/advanced-dataaccess.xml:
8368 Fix wrong PluginDesc. Fixes #344755.
8370 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8372 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8373 Fix silly bug that prevented us from creating
8374 ~/.gstreamer-0.10 and writing the registry in one
8375 go (the first call to g_mkstemp() would overwrite the
8376 placeholder in the template string, so the second call
8377 to g_mkstemp() after creating the missing directory
8378 would then error out with 'invalid argument').
8380 2006-06-13 Edward Hervey <edward@fluendo.com>
8382 * gst/gst.c: (init_post):
8385 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8387 * gst/glib-compat-private.h:
8388 * gst/glib-compat.c:
8389 * gst/glib-compat.h:
8390 * gst/gstvalue.c: (gst_value_serialize_flags):
8391 remove GLib 2.6 compatibility code
8393 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8395 * gst/parse/Makefile.am:
8396 Fix build with 'make -j N' even more (#340016).
8398 2006-06-12 Wim Taymans <wim@fluendo.com>
8400 * docs/gst/gstreamer-sections.txt:
8403 2006-06-12 Wim Taymans <wim@fluendo.com>
8405 * gst/gstsegment.c: (gst_segment_set_duration),
8406 (gst_segment_set_last_stop), (gst_segment_set_seek),
8407 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8408 (gst_segment_to_running_time), (gst_segment_clip):
8409 Use G_UNLIKELY to help the compiler a bit.
8411 2006-06-12 Wim Taymans <wim@fluendo.com>
8413 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8415 * gst/gstevent.c: (gst_event_get_type):
8417 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8419 constify quark registration strings. Fixes #344115
8420 Avoid unneeded type checking is _pad_push() by internally
8421 calling gst_pad_chain_unchecked().
8423 2006-06-12 Wim Taymans <wim@fluendo.com>
8425 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8426 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8427 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8428 (gst_buffer_is_span_fast), (gst_buffer_span):
8429 Init _type for consistency.
8430 Use _FLAGS macro to avoid type check.
8431 Avoid unneeded type checks in subbufer code.
8433 2006-06-12 Wim Taymans <wim@fluendo.com>
8435 * gst/gst.c: (gst_debug_help):
8436 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8437 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8438 (gst_plugin_feature_list_free):
8439 * gst/gstregistry.c: (gst_registry_add_plugin),
8440 (gst_registry_add_feature), (gst_registry_plugin_filter),
8441 (gst_registry_feature_filter), (gst_registry_find_plugin),
8442 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8443 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8444 * gst/gstregistryxml.c: (load_feature),
8445 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8446 * gst/gstminiobject.c: (gst_mini_object_unref),
8447 (gst_mini_object_replace), (gst_value_mini_object_free),
8448 (gst_value_mini_object_copy):
8449 Use _CAST macros to avoid unneeded type checking.
8450 Added some more G_UNLIKELY.
8452 2006-06-12 Wim Taymans <wim@fluendo.com>
8455 Avoid unneeded type checking.
8456 API: GST_BUFFER_IS_DISCONT
8458 * gst/gstminiobject.h:
8459 Avoid type check in flag accessor.
8461 * gst/gstelementfactory.h:
8463 * gst/gstpluginfeature.h:
8465 API: GST_ELEMENT_FACTORY_CAST
8466 API: GST_PLUGIN_CAST
8467 API: GST_PLUGIN_FEATURE_CAST
8469 2006-06-12 Wim Taymans <wim@fluendo.com>
8471 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8473 Add G_UNLIKELY in type registration.
8474 Avoid type check in _ref/_unref since that is also
8477 2006-06-12 Wim Taymans <wim@fluendo.com>
8479 * gst/gsterror.c: (gst_g_error_get_type):
8480 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8481 (gst_static_pad_template_get_type):
8482 * gst/gsttaglist.c: (gst_tag_list_get_type):
8483 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8484 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8485 * gst/gsturi.c: (gst_uri_handler_get_type):
8486 * gst/gstvalue.c: (gst_date_get_type):
8487 * gst/gstxml.c: (gst_xml_get_type):
8488 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8489 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8490 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8491 Add G_UNLIKELY in type registration.
8493 2006-06-12 Wim Taymans <wim@fluendo.com>
8495 * tools/gst-inspect.c: (print_signal_info):
8496 Properly print enum values.
8498 2006-06-12 Wim Taymans <wim@fluendo.com>
8500 * gst/gstinfo.c: (gst_debug_set_active),
8501 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8503 Add some G_[UN]LIKELY.
8504 Maintain __gst_debug_min to avoid formatting the arguments of
8505 debug messages that will be dropped anyway to avoid a lot of
8506 overhead from the debugging system.
8508 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8512 add missing files containing translatable strings, tell intltool about
8515 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8517 * tests/check/libs/.cvsignore:
8518 add test-binary to ignore list
8520 2006-06-11 Stefan Kost <ensonic@users.sf.net>
8522 * docs/libs/gstreamer-libs-docs.sgml:
8523 reorder (put dp into a chapter) and indent
8525 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8530 === release 0.10.8 ===
8532 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8535 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8537 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8539 * gst/gst.c: (init_post):
8540 move pid declaration to declaration block
8542 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
8544 * gst/gst.c: (init_post):
8545 use _exit() instead of exit() in our forked child; this ensures
8546 that none of the registered exit handlers from whatever is using
8547 GStreamer get executed. This fixes gnome-mixer-applet failing
8548 to load, because ORBit would shut down.
8549 Spotted by: Edward Hervey <edward@fluendo.com>
8550 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
8553 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8558 === release 0.10.7 ===
8560 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8563 releasing 0.10.7, "Soepeke, ik zie ou"
8565 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
8588 * win32/common/config.h:
8591 2006-06-07 Wim Taymans <wim@fluendo.com>
8593 * gst/gstindex.c: (gst_index_gtype_resolver):
8594 * tools/gst-xmlinspect.c: (print_plugin_info):
8595 Fix leak spotted by coverity checker. Fixes #343827
8596 Fix another other leak found by paolo borelli.
8598 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8600 * libs/gst/dataprotocol/dataprotocol.c:
8601 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8602 (gst_dp_version_get_type), (gst_dp_init),
8603 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8604 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8605 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8606 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8607 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8608 (gst_dp_packetizer_free):
8609 * libs/gst/dataprotocol/dataprotocol.h:
8610 API: add a GstDPPacketizer object, and create/free functions
8611 API: add GstDPVersion enum
8612 Add 1.0 event function that uses the string serialization
8613 Serialize more useful buffer flags
8616 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8618 * tests/check/Makefile.am:
8619 * tests/check/gst/gstabi.c:
8620 * tests/check/gst/struct_ppc64.h:
8621 * tests/check/libs/libsabi.c:
8622 * tests/check/libs/struct_ppc64.h:
8623 add ppc64 structure sizes
8625 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8627 * tests/check/Makefile.am:
8628 * tests/check/gst/gstabi.c:
8629 * tests/check/gst/struct_x86_64.h:
8630 * tests/check/libs/libsabi.c:
8631 * tests/check/libs/struct_x86_64.h:
8632 generate and add structure size lists for x86_64
8634 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
8636 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8637 * libs/gst/check/gstcheck.h:
8638 factor out the method from tests that checks size of structures,
8639 and add code to generate the header containing these sizes
8640 * tests/check/gst/gstabi.c: (GST_START_TEST):
8641 * tests/check/gst/struct_i386.h:
8642 * tests/check/libs/libsabi.c: (GST_START_TEST):
8643 * tests/check/libs/struct_i386.h:
8646 2006-06-06 Michael Smith <msmith@fluendo.com>
8649 Don't use c++-style comments, fixes #343929
8651 2006-06-05 Edward Hervey <edward@fluendo.com>
8654 plugin_paths is not used if we build without registry support.
8656 * gst/gstsegment.c: (gst_segment_copy):
8657 _copy() was always returning NULL...
8659 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8661 * libs/gst/dataprotocol/dataprotocol.c:
8662 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8663 (gst_dp_packet_from_event):
8666 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8668 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8669 make sure we unset caps
8671 2006-06-02 Michael Smith <msmith@fluendo.com>
8673 * libs/gst/check/gstcheck.c: (gst_check_init),
8674 (gst_check_chain_func):
8675 * libs/gst/check/gstcheck.h:
8676 Add a cond/mutex to the check support lib, signal this whenever we
8677 add to the buffers list. This will allow tests to not busy-wait on
8680 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8682 * libs/gst/dataprotocol/dataprotocol.c:
8683 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8684 (gst_dp_packet_from_event):
8685 factor out some common header init code
8687 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
8689 * docs/libs/gstreamer-libs-sections.txt:
8690 * docs/libs/tmpl/gstdataprotocol.sgml:
8691 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8692 * libs/gst/dataprotocol/dataprotocol.h:
8693 API: make gst_dp_crc() public
8695 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8697 * plugins/indexers/gstindexers.c: (plugin_init):
8698 conditionally register fileindexer (fixes #343598)
8700 2006-06-01 Stefan Kost <ensonic@users.sf.net>
8702 * gst/gsttagsetter.h:
8703 Can't cast ifaces to a class
8705 * libs/gst/net/gstnetclientclock.h:
8706 * libs/gst/net/gstnettimeprovider.h:
8707 * plugins/elements/gstfakesink.h:
8708 * plugins/elements/gstfakesrc.h:
8709 * plugins/elements/gstfdsink.h:
8710 * plugins/elements/gstfdsrc.h:
8711 * plugins/elements/gstfilesink.h:
8712 * plugins/elements/gstfilesrc.h:
8713 * plugins/elements/gstidentity.h:
8714 * plugins/elements/gstqueue.h:
8715 * plugins/elements/gsttee.h:
8716 * plugins/indexers/gstfileindex.c:
8717 * plugins/indexers/gstmemindex.c:
8718 * tests/old/examples/plugins/example.h:
8719 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8721 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
8723 * libs/gst/dataprotocol/dataprotocol.c:
8724 (gst_dp_header_from_buffer):
8725 make sure we zero the whole ABI-compatible area
8727 2006-06-01 Wim Taymans <wim@fluendo.com>
8729 Patch by: Alessandro Decina <alessandro at nnva dot org>
8731 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8732 Make sure the EOS flag is cleared from pads after a flush
8733 or stop. Fixes #343538.
8735 * tests/check/libs/collectpads.c: (GST_START_TEST),
8736 (gst_collect_pads_suite):
8737 Added test for collectpads reusage after EOS.
8739 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
8742 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8743 * win32/common/libgstbase.def:
8744 export gst_collect_pads_set_flushing
8745 * win32/common/libgstreamer.def:
8746 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8747 gst_value_fraction_multiply
8748 * win32/vs6/gst_inspect.dsp:
8749 add a link to intl.lib
8751 2006-05-30 Wim Taymans <wim@fluendo.com>
8753 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8754 (gst_collect_pads_chain):
8755 Handle the case where a pad is removed from the collection
8756 that could cause the other pads to become collectable.
8758 2006-05-30 Wim Taymans <wim@fluendo.com>
8761 Clarify the use of _release_request_pad() and
8762 _get_request_pad() a bit better.
8764 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8765 (gst_adapter_take_buffer):
8766 Fix some doc and comment typos.
8768 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8770 * docs/gst/gstreamer-sections.txt:
8771 * docs/libs/gstreamer-libs-sections.txt:
8772 add declared symbols
8774 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
8776 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8777 Add debug that can be enabled using a #define at the top of the file,
8778 for dumping stats about how late/early we were when waking up from
8779 waiting on the clock.
8781 2006-05-30 Wim Taymans <wim@fluendo.com>
8783 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8784 When rebuilding the pad list, don't leak the previous list.
8786 2006-05-30 Wim Taymans <wim@fluendo.com>
8788 Patch by: Lutz Mueller <lutz at topfrose dot de>
8790 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8791 (gst_base_src_get_query_types), (gst_base_src_update_length):
8792 Publish supported query types.
8793 Update last_stop field in get_range mode so the position
8794 query works. Fixes #342321.
8796 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
8798 * docs/gst/gstreamer-sections.txt:
8799 * gst/gsttaglist.c: (_gst_tag_initialize):
8801 API: add GST_TAG_PREVIEW_IMAGE (#343341).
8803 2006-05-30 Wim Taymans <wim@fluendo.com>
8805 Patch by: Alessandro Decina <alessandro at nnva dot org>
8807 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8808 Unlock mutex when removing an unknown pad.
8811 * tests/check/Makefile.am:
8812 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8813 (push_event), (setup), (teardown), (GST_START_TEST),
8814 (gst_collect_pads_suite), (main):
8815 Added collecpads check, disabled for now as check crashes for
8818 2006-05-29 Wim Taymans <wim@fluendo.com>
8820 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8821 Don't leak pads lists.
8823 2006-05-29 Wim Taymans <wim@fluendo.com>
8825 * docs/libs/gstreamer-libs-sections.txt:
8826 * libs/gst/base/gstcollectpads.c:
8827 (gst_collect_pads_set_flushing_unlocked),
8828 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8829 (gst_collect_pads_stop):
8830 * libs/gst/base/gstcollectpads.h:
8831 API: gst_collect_pads_set_flushing()
8832 Added api to set the pads to flushing, useful for seeking
8833 code in elements using collectpads.
8834 Clear segment when receiving a flush.
8836 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
8838 * gst/gst.c: (add_path_func), (init_post):
8839 Don't scan registry paths passed via --gst-plugin-path immediately
8840 (will crash, because absolutely nothing is set up and no types are
8841 registered etc.); do this later in init_post(). Fixes #343057.
8843 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
8845 * gst/gst.c: (init_post):
8846 if we have fork, fork while reading/rebuilding the registry
8847 so the parent doesn't take the hit of having all plugins loaded
8848 in memory. Fixes #342777.
8850 Check if we have fork()
8851 * win32/common/config.h.in:
8854 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8856 * plugins/elements/gstelements.c:
8857 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8858 (gst_file_src_init), (gst_file_src_set_property),
8859 (gst_file_src_get_property), (gst_file_src_start):
8860 * plugins/elements/gstfilesrc.h:
8861 API: GstFileSrc::use-mmap
8863 Add a use-mmap property to enable easier testing of all code paths.
8864 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8865 in the absence of gnomevfssrc. (Closes #340501)
8867 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8869 * tools/gst-inspect.c:
8870 Add missing include, removes warning of ngettext not being defined on
8873 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
8875 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8876 Handle NULL input and output pointers silently as a failed conversion,
8877 rather than g_warnings.
8879 2006-05-25 Wim Taymans <wim@fluendo.com>
8881 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8882 Initialize variable before using. Fixes #342820.
8884 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
8886 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
8887 Fix off-by-one bug that would only allow peeks of N-1 bytes
8888 from the start even if the buffer to typefind on contains
8889 in fact N bytes of data (makes vorbis typefinding from a
8890 vorbis identification header buffer work).
8892 * tests/check/Makefile.am:
8893 * tests/check/libs/.cvsignore:
8894 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
8895 (gst_typefindhelper_suite), (main), (foobar_typefind),
8897 Add very basic unit test for gst_type_find_helper_for_buffer()
8898 that checks for the problem fixed above.
8900 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8902 * tools/gst-inspect.c: (print_interfaces),
8903 (print_element_properties_info), (print_element_list), (main):
8904 add more translatable strings
8906 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
8908 Patch by: Julien Moutte <julien at moutte net>
8910 * docs/gst/gstreamer-sections.txt:
8911 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
8913 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8914 (gst_fake_sink_preroll):
8915 * plugins/elements/gstfakesink.h:
8916 API: Add new GstFakeSink::preroll-handoff signal (#337100).
8918 2006-05-23 Wim Taymans <wim@fluendo.com>
8920 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
8922 Added _CUSTOM error and success GstFlowReturn that can be
8923 used be elements internally.
8924 Added macro to check for SUCCESS flowreturns.
8925 API: GST_FLOW_CUSTOM_SUCCESS
8926 API: GST_FLOW_CUSTOM_ERROR
8927 API: GST_FLOW_IS_SUCCESS
8929 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8930 Added check for GstFlowReturn sanity.
8932 2006-05-23 Wim Taymans <wim@fluendo.com>
8934 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8936 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8937 (gst_collect_pads_event):
8938 clear/reset segment info in FLUSH_STOP.
8941 2006-05-22 Stefan Kost <ensonic@users.sf.net>
8943 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
8944 (gst_collect_pads_check_collected):
8945 Flush queued buffer on _stop(), fixes playing again (#342454)
8947 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8949 * tests/check/gst/gststructure.c: (GST_START_TEST),
8950 (gst_structure_suite):
8951 add a test for a complete structure
8953 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8955 * docs/faq/developing.xml:
8957 * docs/faq/troubleshooting.xml:
8958 * docs/faq/using.xml:
8959 Some minor FAQ updates that won't change the fact that
8960 our FAQ is badly structured, full of information hardly
8961 anyone new to GStreamer needs to know and lacking lots
8962 of information people constantly ask for.
8964 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
8966 * gst/gstpad.c: (gst_pad_set_caps):
8967 Short-circuit gst_pad_set_caps if setting the existing
8968 caps pointer again, and avoid printing debug and
8969 reffing/unreffing the caps.
8971 * plugins/elements/gstqueue.c: (gst_queue_push_one):
8972 There's actually no need to set the caps before pushing -
8973 the acceptcaps method will handle it anyway.
8975 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
8977 * docs/gst/gstreamer-sections.txt:
8978 * win32/common/libgstreamer.def:
8979 * gst/gstutils.c: (gst_element_seek_simple):
8981 API: add gst_element_seek_simple() (#342238).
8983 2006-05-18 Edward Hervey <edward@fluendo.com>
8985 * gst/gsttypefind.c: (gst_type_find_get_type):
8986 * gst/gsttypefind.h:
8987 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
8988 registered for GstTypeFind pointers. This allows wrapping the structure
8989 in bindings (i.e. gst-python).
8991 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
8993 * gst/gsttagsetter.c:
8994 Docs additions and fixes (see #339918).
8996 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8998 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8999 The caps intersection algorithm can produce multiple copies of the
9000 caps. Until that is fixed, we need to simplify the result to be
9001 sure whether the allowed caps are fixed or not.
9003 * plugins/elements/gstqueue.c: (gst_queue_init),
9004 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9005 (gst_queue_push_one):
9006 Proxied buffer alloc should not set the caps on the source pad.
9007 When pushing buffers, we always accept the caps change that triggers.
9008 This prevents negotiation errors caused by caps changing mid-stream
9009 and then being refused on our source pad (because upstream is now
9010 refusing those caps).
9012 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9014 * tests/examples/helloworld/helloworld.c: (main):
9015 Must plug audioconvert and audioresample between decoder
9018 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9020 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9021 (load_feature), (load_plugin):
9022 Allow empty strings for some of the plugin fields so we don't
9023 drop valid plugin entries that were written out correctly
9026 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9028 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9029 Use g_remove and g_rename instead of remove and rename that don't
9030 handle utf8 characters. rename was failing for users who had specific
9031 characters in their name then the registry was built at each
9033 * win32/vs6/gst_inspect.dsp:
9034 * win32/vs6/gst_launch.dsp:
9035 * win32/vs6/libgstbase.dsp:
9036 * win32/vs6/libgstcoreelements.dsp:
9037 * win32/vs6/libgstreamer.dsp:
9038 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9039 build of libgstreamer and clean unused libraries in projects link
9042 2006-05-17 Edward Hervey <edward@fluendo.com>
9044 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9045 The queue is not responsible for pushing an EOS when receiving a fatal
9046 flow error. It's up to the real element driving the pipeline to do that.
9048 2006-05-16 Edward Hervey <edward@fluendo.com>
9050 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9051 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9052 buffer returned a fatal error. It should just send an EOS and stop
9054 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9055 when pushing buffers on the queue and will be able to handle the event.
9057 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9059 * docs/manual/basics-bins.xml:
9060 * docs/manual/basics-init.xml:
9061 Fix typos and minor errors in sample code (#341856).
9063 2006-05-16 Wim Taymans <wim@fluendo.com>
9065 * docs/design/part-qos.txt:
9066 Fix indexes in formulas to make more sense.
9068 2006-05-15 Wim Taymans <wim@fluendo.com>
9070 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9071 Don't report POSITION based on clock time if sync is
9074 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9077 Add cast to make compiler happy - refcount variable was a gint
9078 in GstObject but is a guint in GObject and g_atomic_int_get()
9081 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9083 * gst/parse/Makefile.am:
9084 chain commands using &&, which also makes parallel make work
9086 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9088 * docs/gst/gstreamer-sections.txt:
9094 === release 0.10.6 ===
9096 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9099 releasing 0.10.6, "Take the cannoli"
9101 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9103 * tools/gst-launch.c: (print_tag):
9104 Fix use of uninitialized variable in the hypothetical
9105 case that some broken plugin creates a GST_TAG_IMAGE
9106 tag containing a NULL buffer (#341667).
9108 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9110 * tools/gst-launch.c: (print_tag):
9111 Print something more intelligible for image tags when
9112 using the -t switch (#341556).
9114 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9119 define GST_MAJORMINOR so we have it available in win32/common/config.h
9120 Possibly remove it from our Makefile.am files later
9121 * win32/common/config.h:
9122 * win32/common/config.h.in:
9123 added GST_MAJORMINOR
9124 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9125 * win32/common/gstversion.h:
9128 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9131 Update win32 files listing.
9132 * win32/common/gstversion.h:
9133 Add GST_MAJORMINOR definition.
9134 * win32/common/libgstreamer.def:
9135 Add new exported functions.
9137 2006-05-12 Michael Smith <msmith@fluendo.com>
9139 * gst/gstplugin.c: (gst_plugin_load_file):
9140 If an so file has no plugin entry point, unload the module.
9142 2006-05-11 Wim Taymans <wim@fluendo.com>
9144 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9145 (gst_queue_set_property):
9146 Don't forget to signal the _chain or _loop function
9147 when the queue size or thresholds change since that might
9148 cause them to make progres again.
9150 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9152 * gst/gstclock.c: (gst_clock_class_init):
9153 * gst/gstindex.c: (gst_index_class_init):
9154 * gst/gstobject.c: (gst_object_class_init):
9155 * gst/gstpad.c: (gst_pad_class_init):
9156 * gst/gstpipeline.c: (gst_pipeline_class_init):
9157 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9158 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9159 * libs/gst/base/gstbasetransform.c:
9160 (gst_base_transform_class_init):
9161 * libs/gst/net/gstnetclientclock.c:
9162 (gst_net_client_clock_class_init):
9163 * libs/gst/net/gstnettimeprovider.c:
9164 (gst_net_time_provider_class_init):
9165 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9166 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9167 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9168 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9169 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9170 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9171 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9172 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9173 * plugins/elements/gsttee.c: (gst_tee_class_init):
9174 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9175 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9176 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9178 2006-05-11 Wim Taymans <wim@fluendo.com>
9180 * gst/gstbuffer.c: (_gst_buffer_initialize):
9181 Register subbufer along with the buffer type so that
9182 it does not accidentally gets registered from N
9183 different streaming threads in a non threadsafe way.
9185 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9190 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9191 gst_event_ref() and gst_message_ref() functions again
9192 (ugly hack, please do fix if there's a better way besides
9193 overrides.txt, which doesn't seem to work).
9195 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9197 * libs/gst/check/gstcheck.h:
9198 add an assert for setting state to avoid lots of repetitive code
9201 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9203 * gst/gstvalue.c: (gst_value_serialize_flags):
9204 fix a leak if no flags are set
9205 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9208 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9210 * docs/manual/basics-pads.xml:
9211 Expand a bit on caps and filtered links and update
9212 examples that were still using the no longer existing
9213 gst_pad_link_filtered() (#338206).
9215 2006-05-10 Wim Taymans <wim@fluendo.com>
9217 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9218 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9219 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9220 (gst_collect_pads_stop):
9221 * libs/gst/base/gstcollectpads.h:
9222 No need to call _stop in _finalize.
9223 Iterate the main pad list in _finalize.
9224 Added some more debug.
9225 Free lists and data in the right order.
9226 Also free data whem doing _remove_pad when stopped for
9227 backward compatibility protect ::started with PAD_LOCK as
9230 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9232 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9233 (gst_structure_parse_value):
9235 rename a method so that it actually says what it does better
9237 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9239 * gst/gstevent.c: (_gst_event_initialize):
9240 * gst/gstformat.c: (_gst_format_initialize):
9241 make sure some essential types used by events are registered
9242 as part of gst_init()
9243 * gst/gstvalue.c: (gst_value_serialize_flags):
9244 if no flags are set, serialize them to a value that represents NONE
9245 so that deserializing them works
9246 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9247 add tests for serialization and deserialization of flags
9249 2006-05-10 Wim Taymans <wim@fluendo.com>
9251 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9252 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9253 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9254 (gst_collect_pads_event), (gst_collect_pads_chain):
9257 Catch and return errors from the collect function
9258 Refuse data on eos pads.
9260 2006-05-10 Edward Hervey <edward@fluendo.com>
9262 * gst/gstinterface.h:
9263 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9264 GInterface type checking.
9265 They were previously using non-defined macros.
9267 2006-05-09 Wim Taymans <wim@fluendo.com>
9269 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9270 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9271 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9272 (gst_collect_pads_start), (gst_collect_pads_stop),
9273 (gst_collect_pads_peek), (gst_collect_pads_pop),
9274 (gst_collect_pads_available), (gst_collect_pads_read),
9275 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9276 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9277 (gst_collect_pads_chain):
9278 * libs/gst/base/gstcollectpads.h:
9279 Clean up the mess that is collectpads, add comments and
9280 FIXMEs where needed.
9281 Maintain a separate pad list so we can add pads while
9282 collecting the other ones. For this we need a new separate
9284 Fix memory leak in finalize.
9285 Refactor some weird code to set/unset pad flushing flags, mark
9287 Don't crash in _available, _read, _flush when we're EOS.
9289 * tests/check/libs/.cvsignore:
9290 Ignore adapter check binary.
9292 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9294 * gst/gstindex.c: (gst_index_resolver_get_type):
9295 * plugins/elements/gstfakesink.c:
9296 (gst_fake_sink_state_error_get_type):
9297 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9298 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9299 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9300 Const-ify GEnumValue arrays.
9302 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9304 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9305 Add test case for flags + gst_buffer_make_metadata_writable().
9307 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9309 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9310 gst_buffer_make_metadata_writable() should maintain the
9311 buffer flags (those that make sense at least) (see #340859).
9313 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9315 * tools/gst-inspect.c:
9316 * tools/gst-launch.c:
9317 * tools/gst-typefind.c:
9318 * tools/gst-xmlinspect.c:
9320 Fix up includes: need to include stdlib.h in tools.h for exit().
9322 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9324 * gst/gsttaglist.c: (_gst_tag_initialize):
9326 API: add GST_TAG_IMAGE tag (#340721).
9328 2006-05-08 Wim Taymans <wim@fluendo.com>
9331 Added some docs for the segment query.
9333 2006-05-08 Wim Taymans <wim@fluendo.com>
9335 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9336 (gst_base_src_loop), (gst_base_src_change_state):
9337 Always push non-flushing serialized events in the streaming
9340 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9342 * gst/gsterror.c: (_gst_stream_errors_init):
9343 Add a missing error string.
9345 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9347 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9348 Add applied_rate to the debug
9350 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9351 Copy applied_rate into the outgoing NEWSEGMENT event
9353 2006-05-08 Wim Taymans <wim@fluendo.com>
9355 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9357 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9358 (gst_base_sink_change_state):
9359 call ::unlock before taking the PREROLL_LOCK so we can safely
9360 handle elements that lock in ::render.
9363 2006-05-08 Edward Hervey <edward@fluendo.com>
9365 * autogen.sh: (CONFIGURE_DEF_OPT):
9366 Darwin's libtoolize is in fact called glibtoolize.
9367 Adding glibtoolize to the list of accepted names for libtoolize.
9369 2006-05-08 Wim Taymans <wim@fluendo.com>
9371 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9372 Unify error handling, don't post an error message
9373 when a push() returns EOS but perform our normal EOS
9374 handling code. Fixes #340772.
9376 2006-05-08 Wim Taymans <wim@fluendo.com>
9378 * docs/design/part-overview.txt:
9379 Make upsteam/downstream concepts more clear.
9380 Give an example of serialized/non-serialized events.
9382 * docs/design/part-events.txt:
9383 * docs/design/part-streams.txt:
9384 Mention applied_rate.
9386 * docs/design/part-trickmodes.txt:
9387 Mention applied rate, flesh out some more use cases.
9389 * gst/gstevent.c: (gst_event_new_new_segment),
9390 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9391 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9392 (gst_event_parse_tag), (gst_event_new_buffer_size),
9393 (gst_event_parse_buffer_size), (gst_event_new_qos),
9394 (gst_event_parse_qos), (gst_event_parse_seek),
9395 (gst_event_new_navigation):
9397 Add applied_rate field to NEWSEGMENT event.
9398 API: gst_event_new_new_segment_full()
9399 API: gst_event_parse_new_segment_full()
9401 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9402 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9403 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9405 Add applied_rate to GstSegment structure.
9406 Make calculation of stream_time and running_time more correct
9407 wrt rate/applied_rate.
9409 API: GstSegment::applied_rate field
9410 API: gst_segment_set_newsegment_full();
9412 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9413 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9414 * libs/gst/base/gstbasetransform.c:
9415 (gst_base_transform_sink_eventfunc),
9416 (gst_base_transform_handle_buffer):
9417 Parse and use applied_rate in the GstSegment field.
9419 * tests/check/gst/gstevent.c: (GST_START_TEST):
9420 Add check for applied_rate field.
9422 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9423 (gstsegments_suite):
9424 Add more checks for various GstSegment operations.
9426 2006-05-08 Wim Taymans <wim@fluendo.com>
9428 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9429 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9430 (gst_base_sink_get_position), (gst_base_sink_change_state):
9431 Store the sync time of the buffer end position separatly in a
9432 new variable eos_rtime so we can properly sync the EOS event.
9434 Fix the docs for gst_base_sink_set_qos_enabled().
9435 Don't set segment start to invalid value when we receive a
9436 non TIME newsegment.
9437 get closer to handling position reporting for negative rates
9440 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9443 Docs about how to print caps for debug purposes.
9445 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9446 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9448 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9451 use full enum names and preprend a '%' in docs strings to make recent
9452 gtk-doc turn that into a link
9454 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9456 * docs/manual/basics-bins.xml:
9457 * docs/manual/basics-bus.xml:
9458 * docs/manual/basics-pads.xml:
9459 Some typo fixes, some additions, some clarifications.
9461 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9463 * tools/gst-inspect.c: (main):
9464 * tools/gst-launch.c: (main):
9465 * tools/gst-run.c: (main):
9466 * tools/gst-typefind.c: (main):
9467 * tools/gst-xmlinspect.c: (main):
9468 Use the string passed to g_option_context_new() for
9469 what it's intended for - the program name is already
9472 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9474 * tools/Makefile.am:
9475 * tools/gst-inspect.c: (main):
9476 * tools/gst-launch.c: (main):
9477 * tools/gst-xmlinspect.c: (main):
9479 Add back --version command line option (#340460).
9481 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9482 Add --version option and use GOption for argument parsing; refactor a
9483 bit; accept directories as arguments and recurse into them; lastly,
9484 print a decent error message when things go wrong.
9486 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9488 * docs/manual/basics-bins.xml:
9489 Don't mention GstThread (#340611)
9490 * docs/manual/basics-elements.xml:
9491 Update link to GObject tutorial (#340607)
9493 2006-05-05 Wim Taymans <wim@fluendo.com>
9496 * gst/gstminiobject.c:
9497 Add note about refcounting and miniobject/buffer writeability
9498 to docs. Fixes #340604
9500 * gst/gstelementfactory.h:
9501 Added some explanation about @klass.
9503 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9505 * docs/manual/intro-motivation.xml:
9506 * docs/manual/manual.xml:
9507 Avoid CORBA & Bonobo references (#340598)
9509 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9511 * docs/manual/basics-bus.xml:
9512 * docs/manual/basics-pads.xml:
9513 Fix up some inaccuracies and omissions (#340609)
9515 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9517 * gst/gstghostpad.c:
9518 Small typo in docs (#340625)
9520 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9522 * gst/parse/Makefile.am:
9523 Make 'make -j' proof (see #340698).
9525 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9528 Require GLib-2.8 here as well.
9530 2006-05-05 Wim Taymans <wim@fluendo.com>
9532 * gst/glib-compat.c:
9533 * gst/gst.c: (init_pre):
9534 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9535 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9536 (gst_object_dispatch_properties_changed):
9538 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9539 * gst/gststructure.c: (gst_structure_set_valist):
9540 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9541 Remove pre glib2.8 compatibility, fixes #340508
9543 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9546 Mention type of tags in doc blurbs.
9548 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
9550 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9551 (gst_pad_configure_src), (gst_pad_push):
9552 Restore acceptcaps checking behaviour now that good plugins have
9555 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
9557 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9568 * gst/parse/Makefile.am:
9569 * libs/gst/base/gstadapter.c:
9570 * libs/gst/base/gstbasesrc.c:
9571 * libs/gst/base/gstpushsrc.c:
9572 * libs/gst/base/gsttypefindhelper.c:
9573 * plugins/elements/gstfakesrc.c:
9574 * plugins/elements/gstidentity.c:
9575 Make sure gstprivate.h and/or config.h are
9576 always included first, otherwise some of our
9577 defines (like _FILE_OFFSET_BITS) might be
9578 redefined in the system headers. Fixes build
9579 on opensolaris (#340016).
9581 2006-05-04 Wim Taymans <wim@fluendo.com>
9583 * docs/libs/gstreamer-libs-sections.txt:
9584 API: addition: gst_adapter_take_buffer()
9586 * libs/gst/base/gstadapter.c: (gst_adapter_push),
9587 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9588 (gst_adapter_available_fast):
9589 * libs/gst/base/gstadapter.h:
9590 Prepare for optimizing the hell out of this hugely inefficient
9592 Added gst_adapter_take_buffer() so we can at least start thinking
9593 about subbuffering and merging.
9594 Added some comments.
9596 * tests/check/Makefile.am:
9597 * tests/check/libs/adapter.c: (GST_START_TEST),
9598 (gst_adapter_suite), (main):
9599 Added GstAdapter check.
9601 2006-05-04 Wim Taymans <wim@fluendo.com>
9603 * docs/design/part-overview.txt:
9604 Fix some typos, add blurb about buffer flags.
9606 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9608 * docs/libs/gstreamer-libs-sections.txt:
9609 make sure GstBaseTransformClass shows up in the docs
9610 * libs/gst/base/gstbasetransform.c:
9611 * libs/gst/base/gstbasetransform.h:
9612 move docs so gtk-doc picks it up now
9614 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9616 * docs/libs/gstreamer-libs-sections.txt:
9617 add missing symbols to docs
9619 2006-05-02 Stefan Kost <ensonic@users.sf.net>
9621 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9622 back out the newsegment handling change, see #340060 for ongoing
9625 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
9627 * tools/gst-run.c: (get_candidates), (main):
9628 Fix wrong g_file_test() usage (see glib docs for why it doesn't
9629 work); fix typo in error message. Fixes #340079.
9631 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9633 * common/Makefile.am:
9635 * docs/faq/Makefile.am:
9636 * docs/gst/Makefile.am:
9637 * docs/libs/Makefile.am:
9638 * docs/manual/Makefile.am:
9639 * docs/plugins/Makefile.am:
9640 * docs/pwg/Makefile.am:
9641 * docs/slides/Makefile.am:
9643 * common/upload.mak:
9644 move upload.mak to common
9646 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9648 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9649 add more asserts on refcounts
9650 do more cleanup at end of tests
9651 fix test leaks showing in FC5
9653 2006-04-29 Stefan Kost <ensonic@users.sf.net>
9655 * plugins/elements/gsttypefindelement.c:
9656 (gst_type_find_element_handle_event):
9657 reverted wrong change and reflowed code to avoid others falling into
9660 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9662 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9663 fix changelog entry about last collectpads change,
9664 add notes about proper fix
9666 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9669 * gst/gstregistry.c: (gst_registry_scan_path_level),
9670 (gst_registry_scan_path):
9671 * gst/gstregistry.h:
9672 only write out registry if it has changed, fixes #338339
9674 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9677 * gst/gstpipeline.c:
9678 * plugins/elements/gstcapsfilter.c:
9679 * plugins/elements/gstfakesink.c:
9680 * plugins/elements/gstfakesrc.c:
9681 * plugins/elements/gstfdsink.c:
9682 * plugins/elements/gstfdsrc.c:
9683 * plugins/elements/gstfilesink.c:
9684 * plugins/elements/gstfilesrc.c:
9685 * plugins/elements/gstidentity.c:
9686 * plugins/elements/gstqueue.c:
9687 * plugins/elements/gsttee.c:
9688 * plugins/elements/gsttypefindelement.c:
9689 (gst_type_find_element_handle_event):
9690 make GstElementDetails const
9692 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9694 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9695 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9696 (gst_collect_pads_is_collected), (gst_collect_pads_event):
9697 more detailed debug and formatting cleanup,
9698 forward newsegments to src-pad (so that e.g. adder not eats them)
9700 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9702 * gst/gstutils.c: (gst_element_link_pads):
9705 2006-04-28 Stefan Kost <ensonic@users.sf.net>
9707 * libs/gst/controller/gstcontroller.c:
9708 (gst_controller_sync_values):
9710 * tests/check/libs/controller.c: (GST_START_TEST),
9711 (gst_controller_suite):
9712 a new test for live value handling
9714 2006-04-28 Wim Taymans <wim@fluendo.com>
9716 * gst/gstutils.c: (push_and_ref):
9717 Added some more docs.
9718 Fix refcount issue whith gst_element_found_tags() helper
9719 function. Fixes #338335
9721 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9722 Added testsuite for gst_element_found_tags().
9724 2006-04-28 Michael Smith <msmith@fluendo.com>
9726 * gst/gstvalue.c: (gst_value_serialize_flags):
9727 Avoid NULL dereference when trying to serialize flags containing
9730 2006-04-28 Michael Smith <msmith@fluendo.com>
9732 * plugins/elements/gsttypefindelement.c:
9733 (gst_type_find_element_handle_event):
9734 If we get EOS before any data is accumulated, don't use
9735 uninitialised local variables.
9737 2006-04-28 Michael Smith <msmith@fluendo.com>
9739 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9740 (gst_dp_event_from_packet):
9741 Fixes in reading/writing events over GDP (not currently used?) -
9742 dereferencing NULL events for unknown/invalid event types, memory
9743 leak, and change g_warning to GST_WARNING.
9745 2006-04-28 Wim Taymans <wim@fluendo.com>
9747 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9748 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9749 (gst_base_sink_get_position), (gst_base_sink_change_state):
9750 When frame dropping is enabled, we should not ignore frames
9752 Update some documentation.
9754 2006-04-28 Wim Taymans <wim@fluendo.com>
9756 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9757 (gst_base_src_send_event), (gst_base_src_change_state):
9758 Documentation updates.
9760 2006-04-28 Wim Taymans <wim@fluendo.com>
9762 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9763 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9764 handle EAGAIN, EINTR and short writes correctly. Also clean
9765 up some error cases, avoid a deadlock on bad file descriptors and
9766 use GST_DEBUG_OBJECT.
9769 2006-04-28 Wim Taymans <wim@fluendo.com>
9771 * gst/gstvalue.c: (gst_value_serialize_buffer),
9772 (gst_value_deserialize_buffer):
9773 Don't try to serialize a GValue with a NULL buffer.
9776 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9777 Added check for serialisation of NULL buffers.
9779 2006-04-28 Wim Taymans <wim@fluendo.com>
9781 * gst/gstminiobject.c: (gst_value_take_mini_object):
9782 Taking a NULL miniobject is valid, fix the case where
9783 we try to unref the NULL miniobject.
9785 2006-04-28 Wim Taymans <wim@fluendo.com>
9787 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9789 * gst/gstbin.c: (gst_bin_handle_message_func):
9791 Don't leak bin refcount when a state recalc is
9792 in progress and we delay another one #339808.
9794 2006-04-28 Wim Taymans <wim@fluendo.com>
9796 * docs/design/part-TODO.txt:
9797 Mention QoS as an ongoing work item.
9799 * docs/design/part-buffering.txt:
9800 New doc about buffering that needs to be fleshed out
9803 * docs/design/part-qos.txt:
9804 More QoS policy for decoders/demuxers/transforms
9806 * docs/design/part-trickmodes.txt:
9809 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9814 === release 0.10.5 ===
9816 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
9819 releasing 0.10.5, "Fogo"
9821 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
9823 patch by: Wim Taymans
9825 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9826 (gst_pad_configure_src), (gst_pad_push):
9827 * gst/gstpipeline.c: (gst_pipeline_init):
9828 Fix internal data flow errors. Fixes #338711.
9830 2006-04-12 Wim Taymans <wim@fluendo.com>
9832 * tests/check/gst/gstelement.c: (GST_START_TEST):
9833 Don't leak the factory.
9835 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9838 * win32/common/config.h:
9841 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
9843 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9844 (gst_controller_unset_all):
9845 Free allocated GstTimedValues when freeing list nodes.
9846 Should fix leaks 'make check-valgrind' complains about.
9848 * win32/common/libgstcontroller.def:
9849 Add gst_controller_unset_all.
9851 2006-04-11 Stefan Kost <ensonic@users.sf.net>
9853 * docs/libs/gstreamer-libs-sections.txt:
9854 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9855 (gst_controller_unset_all):
9856 * libs/gst/controller/gstcontroller.h:
9857 API: Added new method gst_controller_unset_all()
9858 fixed gst_controller_unset()
9859 * tests/check/libs/controller.c: (GST_START_TEST),
9860 (gst_controller_suite):
9861 Added two testcases for new and fixed method
9863 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
9865 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9866 MSG_DONTWAIT is not defined on Cygwin, so work
9867 around that (fixes #317048).
9869 2006-04-11 Wim Taymans <wim@fluendo.com>
9871 * gst/gstelementfactory.c: (gst_element_register),
9872 (gst_element_factory_create), (gst_element_factory_make):
9875 Updated docs (Fixes #131079)
9877 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9880 * tests/check/gst/gstelement.c: (GST_START_TEST),
9881 (gst_element_suite):
9882 Added testcase for elementfactory class field.
9884 2006-04-10 Wim Taymans <wim@fluendo.com>
9887 Added some more docs.
9889 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
9890 (gst_base_sink_reset_qos):
9891 Calculate more accurate rate values.
9893 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
9895 * gst/gst_private.h:
9896 add a new #ifdef to use __declspec(dllimport) only for
9897 other modules and not for gstreamer core
9898 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
9899 use gst_guint64_to_gdouble for conversion
9900 * win32/common/libgstreamer.def:
9901 add new exported functions
9902 * win32/vs6/gst_inspect.dsp:
9903 * win32/vs6/gst_launch.dsp:
9904 * win32/vs6/libgstbase.dsp:
9905 * win32/vs6/libgstcontroller.dsp:
9906 * win32/vs6/libgstcoreelements.dsp:
9907 * win32/vs6/libgstdataprotocol.dsp:
9908 * win32/vs6/libgstnet.dsp:
9909 update project files
9911 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9913 * gst/gstbuffer.c: (gst_subbuffer_class_init):
9914 * gst/gstclock.c: (gst_clock_class_init):
9915 * gst/gstelement.c: (gst_element_class_init):
9916 * gst/gstindex.c: (gst_index_class_init):
9917 * gst/gstindexfactory.c: (gst_index_factory_class_init):
9918 * gst/gstobject.c: (gst_object_class_init),
9919 (gst_signal_object_class_init):
9920 * gst/gstpad.c: (gst_pad_class_init):
9921 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
9922 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
9923 * gst/gstregistry.c: (gst_registry_class_init):
9924 * gst/gstsystemclock.c: (gst_system_clock_class_init):
9925 * gst/gsttask.c: (gst_task_class_init):
9926 * gst/gstxml.c: (gst_xml_class_init):
9927 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9928 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9929 (gst_base_src_loop):
9930 * libs/gst/controller/gstcontroller.c:/
9931 (_gst_controller_class_init):
9932 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9933 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
9934 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
9935 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9936 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9937 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
9939 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
9941 * gst/gstpad.c: (gst_pad_link):
9942 Must set peer pads before calling the link function, otherwise
9943 a task started from a link function might get a flow-not-linked
9944 result when trying to push because the other thread where the
9945 linking happens hasn't had a chance to set the peers yet. This
9946 might happen for example when a queue gets linked to a downstream
9947 element, as queue starts a streaming task when its source pad
9948 gets linked. Happens in real life when playing back flac/musepack
9949 files in playbin (#332390).
9951 2006-04-08 Stefan Kost <ensonic@users.sf.net>
9955 * libs/gst/base/gstadapter.h:
9956 * libs/gst/base/gstbasesink.h:
9957 * libs/gst/base/gstbasesrc.h:
9958 * libs/gst/base/gstbasetransform.h:
9959 * libs/gst/base/gstcollectpads.h:
9960 * libs/gst/base/gstpushsrc.h:
9961 Fix broken GObject macros
9963 2006-04-07 Wim Taymans <wim@fluendo.com>
9965 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9966 Initialize start and stop times, thanks valgrind.
9968 2006-04-07 Wim Taymans <wim@fluendo.com>
9970 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9971 Be a bit nicer to badly behaving upstream elements that expect
9972 us to deal with non TIME segments and timestamps (such as fakesrc
9975 2006-04-07 Wim Taymans <wim@fluendo.com>
9978 Small documentation clarification about the signal watch.
9980 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9981 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
9982 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
9983 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9984 (gst_base_sink_get_position_last),
9985 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
9986 Convert and store timestamps in stream time and running time, the
9987 raw timestamps are not useful, also document this better.
9988 Use different window sizes for good and bad QoS observations so
9989 we react to badness a little quicker.
9990 Keep track of the amount of rendered and dropped buffers.
9991 Send QoS timestamps in running time.
9993 * libs/gst/base/gstbasetransform.c:
9994 (gst_base_transform_sink_eventfunc),
9995 (gst_base_transform_handle_buffer):
9996 Compare QoS timestamps against running time.
9998 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10001 Typo fixes in docs.
10003 2006-04-06 Michael Smith <msmith@fluendo.com>
10005 * gst/gstpad.c: (gst_pad_set_property):
10006 Use g_value_get_object() instead of g_value_dup_gst_object(),
10007 to avoid double-reffing the pad template (which we then sink,
10008 so this worked previously if (and only if) the pad template
10011 * gst/gstpadtemplate.c: (gst_pad_template_init),
10012 (gst_pad_template_pad_created):
10013 Never return floating references to pad templates, create
10014 them as initially-sunken.
10016 Document an extra function (and make this stop sinking our
10017 pad template, since that is now guaranteed to do nothing,
10018 since we created it sunken).
10020 * gst/gstghostpad.c:
10023 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10025 * gst/gstinfo.c: (__gst_in_valgrind):
10028 * plugins/elements/gsttypefindelement.c:
10029 (gst_type_find_element_chain):
10030 Don't leak buffer caps.
10032 2006-04-06 Michael Smith <msmith@fluendo.com>
10034 * gst/parse/grammar.y:
10035 Fix a leak in parse-launch for any source-or-sink named element
10038 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10039 Unref the pipeline if it exists after we've failed parsing.
10041 2006-04-05 Michael Smith <msmith@fluendo.com>
10043 * gst/gstpipeline.c: (gst_pipeline_init):
10044 When we create a pipeline bus, initially create it in flushing mode.
10045 Fixes leaks in at least one test, and makes a new pipeline work the
10046 same as one that has gone to READY and then back to NULL.
10048 * gst/gstelement.c:
10051 2006-04-05 Michael Smith <msmith@fluendo.com>
10053 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10054 Unref a pad we reffed.
10055 * tests/check/gst/gstutils.c: (GST_START_TEST):
10058 2006-04-05 Michael Smith <msmith@fluendo.com>
10060 * gst/gstquery.c: (gst_query_set_formats),
10061 (gst_query_set_formatsv):
10062 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10064 2006-04-05 Michael Smith <msmith@fluendo.com>
10066 * tests/check/generic/sinks.c: (GST_START_TEST):
10067 Fix a variety of memleaks in sinks check, which are only sometimes
10068 shown by running the tests under valgrind (weird?).
10070 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10072 * docs/version.entities.in:
10073 Fix the substituted entity name after thomas' changes on the
10076 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10078 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10081 2006-04-05 Andy Wingo <wingo@pobox.com>
10083 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10085 * libs/gst/base/gstbasetransform.c
10086 (gst_base_transform_sink_eventfunc): When resetting our segment on
10087 FLUSH_STOP, also update the flag saying we haven't seen a
10090 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10092 Patch by: Paolo Borelli <pborelli at katamail dot com>
10094 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10095 (gst_plugin_check_license):
10096 minor clean-ups: G_DEFINE_TYPE already takes care of the
10097 parent_class stuff, no need to do it twice. Mark array of
10098 license strings as constant. (#337103)
10100 2006-04-04 Michael Smith <msmith@fluendo.com>
10102 * tools/gst-inspect.c: (print_element_list):
10103 Free the right plugin list; fixes a memory leak.
10105 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10107 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10109 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10110 Don't error out on empty buffers (#336945).
10112 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10114 * docs/libs/gstreamer-libs-sections.txt:
10115 * gst/gsttaglist.c:
10116 * libs/gst/base/gstbasesink.c:
10117 * libs/gst/base/gstbasesink.h:
10118 * libs/gst/base/gstbasesrc.c:
10119 * libs/gst/base/gstbasesrc.h:
10120 Documentation updates. Make BaseSink and BaseSrc docs contain the
10121 class structure so that people can actually see the prototypes for
10122 virtual functions they're supposed to be overriding.
10124 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10126 * plugins/elements/gsttypefindelement.c:
10127 (gst_type_find_element_chain):
10128 More debug info; when skipping typefinding, send cached
10129 events in all cases.
10131 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10134 use new AS_VERSION and AS_NANO macros
10135 * gst/gst-i18n-lib.h:
10138 * gst/gstversion.h.in:
10139 * win32/common/config.h:
10140 * win32/common/config.h.in:
10143 2006-03-31 Michael Smith <msmith@fluendo.com>
10145 * plugins/elements/gsttypefindelement.c:
10146 (gst_type_find_element_chain):
10147 Do not typefind content if the buffers already have caps.
10148 Neccesary for icydemux (#333657), and the right thing to do anyway.
10150 2006-03-30 Wim Taymans <wim@fluendo.com>
10152 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10153 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10154 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10155 (gst_base_sink_record_qos_observation),
10156 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10157 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10158 (gst_base_sink_change_state):
10159 More QoS measurements as described in the design doc.
10160 Get rid of ringbuffer with observations, running average is
10161 more simple and equally good.
10162 Calculates valid proportion now.
10163 Added beginning of flood measurement.
10165 2006-03-29 Wim Taymans <wim@fluendo.com>
10167 * docs/design/part-qos.txt:
10169 Small documentation updates and additions.
10171 2006-03-29 Wim Taymans <wim@fluendo.com>
10173 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10174 (gst_base_src_send_event), (gst_base_src_loop),
10175 (gst_base_src_change_state):
10176 Perform the EOS logic when we reach the segment stop position.
10177 Fix compilation on gcc4.1
10179 2006-03-29 Wim Taymans <wim@fluendo.com>
10181 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10183 * plugins/elements/gstqueue.c: (gst_queue_init),
10184 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10185 (gst_queue_set_property):
10186 * plugins/elements/gstqueue.h:
10187 In queue, when EOS is received, if minimum threshold > max_size -
10188 current_level, there is chance that queue blocks forever in conditional
10189 item del wait. This is because the queue is not emptied completely due
10190 to minimum threshold. Here is another approach. Instead of setting
10191 cur_levels to max in EOS, just zero all minimum threshold levels. This
10192 should make sure that queue gives out all data. When going to READY
10193 (stop) state, just reset the original minimum threshold levels.
10196 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10198 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10199 (gst_type_find_element_handle_event),
10200 (gst_type_find_element_send_cached_events),
10201 (gst_type_find_element_change_state):
10202 * plugins/elements/gsttypefindelement.h:
10203 When typefinding is done in push mode, we should cache
10204 events we receive during typefinding instead of just
10205 dropping them (e.g. newsegment, custom events from
10206 dvdreadsrc etc.) and then send them out once we've
10207 determined the type of the stream (and decodebin
10208 has had a chance to plug in a decoder/demuxer).
10210 2006-03-27 Wim Taymans <wim@fluendo.com>
10212 * docs/design/part-qos.txt:
10215 2006-03-27 Wim Taymans <wim@fluendo.com>
10217 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10219 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10220 (gst_base_src_send_event), (gst_base_src_change_state):
10221 Handle element seek correctly when we are streaming.
10224 2006-03-24 Michael Smith <msmith@fluendo.com>
10226 * docs/faq/gst-uninstalled:
10227 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10228 allow you to correctly run intalled applications built against old
10229 core, using plugins that require updated core (e.g. running
10230 installed totem against a full uninstalled gstreamer stack)
10232 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10234 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10237 2006-03-24 Wim Taymans <wim@fluendo.com>
10239 * docs/gst/gstreamer-sections.txt:
10240 Rearrange the order of the methods so that related methods
10241 are grouped together in sections.
10243 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10245 * gst/gstelement.c:
10246 Little clarification in the docs
10248 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10252 * plugins/elements/gstidentity.c:
10253 * plugins/elements/gstqueue.c:
10254 * plugins/elements/gsttee.c:
10255 * plugins/elements/gsttypefindelement.c:
10256 GST_ELEMENT_DETAILS formatting
10258 2006-03-24 Wim Taymans <wim@fluendo.com>
10260 * libs/gst/base/gstbasesink.h:
10261 Only add fields, not insert or we break ABI.
10263 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10265 * win32/common/libgstbase.def:
10266 * win32/common/libgstreamer.def:
10267 Update, add recently added functions.
10269 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10271 * docs/gst/gstreamer-sections.txt:
10272 * gst/gstutils.c: (gst_pad_query_peer_position),
10273 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10275 API: add some new utility functions:
10276 - gst_pad_query_peer_position()
10277 - gst_pad_query_peer_duration()
10278 - gst_pad_query_peer_convert()
10280 2006-03-23 Wim Taymans <wim@fluendo.com>
10282 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10283 (gst_base_sink_init), (gst_base_sink_finalize),
10284 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10285 (gst_base_sink_set_property), (gst_base_sink_get_property),
10286 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10287 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10288 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10289 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10290 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10291 (gst_base_sink_preroll_object), (gst_base_sink_event),
10292 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10293 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10294 (gst_base_sink_query), (gst_base_sink_change_state):
10295 Decouple max-lateness and the fact that QoS messages are generated
10296 with a new property (qos).
10297 added API: GstBaseSink::async_play()
10298 Add vmethod so subclasses can be notified of ASYNC playing
10300 Collect timestamp start and stop to report better current
10301 position in EOS/PLAYING/PAUSED/READY/NULL.
10302 Refactor QoS/frame dropping and other measurements.
10303 API: GstBaseSrc::qos
10306 * libs/gst/base/gstbasesink.h:
10307 Added Private struct.
10308 API: gst_base_sink_set_qos_enabled()
10309 API: gst_base_sink_is_qos_enabled()
10311 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10313 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10314 If compiling against GLib-2.8 or newer, try to read the
10315 registry file using GMappedFile first before falling back
10316 to fopen() + fread() (#332151).
10318 2006-03-22 Wim Taymans <wim@fluendo.com>
10320 * gst/gstinfo.c: (gst_debug_set_active),
10321 (gst_debug_category_set_threshold):
10322 Disable debugging unless explicitly activated.
10325 2006-03-22 Wim Taymans <wim@fluendo.com>
10327 * gst/gstelement.c: (gst_element_set_locked_state),
10328 (gst_element_dispose):
10329 Cleanup the error case.
10331 * gst/gstobject.c: (gst_object_dispose):
10332 print a critical when some object was disposed with
10333 a parent, also revive the object since it might
10336 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10338 * tools/gst-launch.1.in:
10341 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10344 * tests/check/Makefile.am:
10345 disable some tests when we don't have a registry
10346 * tests/check/gst/gstutils.c: (gst_utils_suite):
10347 don't build the part that needs parsing
10349 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10352 * tests/examples/Makefile.am:
10353 fix --disable-parse build
10355 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10357 * tools/gst-feedback.1.in:
10358 Fix typo: s/feeback/feedback/ (#133494).
10360 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10362 * tools/Makefile.am:
10363 * tools/gst-launch.1.in:
10364 Add FILES section and correct entry about GST_REGISTRY_PATH
10365 environment variable (#133495; #133494).
10367 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10369 * tools/Makefile.am:
10370 * tools/gst-md5sum.1.in:
10371 * tools/gst-md5sum.c:
10372 Remove gst-md5sum and man page (the md5sink element
10373 required was removed ages ago)
10375 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10377 * gst/gststructure.c: (gst_structure_id_set_value):
10378 Make sure that string fields in structures/taglists
10379 contain valid UTF-8 - we don't want to pass rubbish to
10380 applications because of a buggy plugin (cp. #334167).
10382 2006-03-21 Edward Hervey <edward@fluendo.com>
10384 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10385 (gst_bin_handle_message_func):
10386 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10387 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10388 (gst_element_set_bus_func):
10389 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10390 * gst/gstminiobject.c: (gst_value_set_mini_object),
10391 (gst_value_take_mini_object):
10392 * gst/gstpad.c: (gst_pad_set_pad_template):
10393 * gst/gstpipeline.c: (gst_pipeline_dispose),
10394 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10395 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10396 (gst_collect_pads_chain):
10397 * libs/gst/net/gstnettimeprovider.c:
10398 (gst_net_time_provider_set_property):
10399 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10400 It's in fact all issues with gst_*object_replace().
10402 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10404 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10406 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10407 * pkgconfig/gstreamer-check.pc.in:
10408 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10410 2006-03-21 Edward Hervey <edward@fluendo.com>
10414 * gst/gstmessage.h:
10415 gst_[buffer|event|message]_ref() macros are replaced by a static
10416 inline functions because gcc-4.1 will about if the return value
10418 * tests/check/gst/gstevent.c: (event_probe):
10419 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10421 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10424 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10425 the type' case. (Closes: #335195 for now). In the future, when we
10426 depend on GLib 2.10, we could also intern the type name using
10427 g_intern_static_string()
10429 2006-03-20 Wim Taymans <wim@fluendo.com>
10431 * gst/gstbin.c: (gst_bin_handle_message_func),
10432 (bin_query_max_init), (bin_query_position_fold),
10433 (bin_query_position_done), (gst_bin_query):
10434 Position query should also take max of all streams.
10436 2006-03-20 Wim Taymans <wim@fluendo.com>
10438 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10439 (gst_fake_src_finalize):
10440 Fix leaks in fakesrc.
10442 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10443 Fix leaks in the testcase.
10445 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10447 * gst/gst_private.h:
10448 add win32 specific import decoration(__declspec(dllimport))
10449 for all extern GstDebugCategory * variables
10450 * win32/common/libgstbase.def:
10451 * win32/common/libgstcontroller.def:
10452 * win32/common/libgstreamer.def:
10453 Add some exports, remove empty lines
10454 * win32/common/libgstdataprotocol.def:
10455 * win32/common/libgstdataprotocol.dsp:
10456 * win32/common/libgstnet.def:
10457 * win32/common/libgstnet.dsp:
10458 new project files and exportation files added
10460 2006-03-19 Wim Taymans <wim@fluendo.com>
10462 * tests/check/libs/basesrc.c: (eos_event_counter):
10463 Use proper return value for probe.
10465 2006-03-17 Wim Taymans <wim@fluendo.com>
10467 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10469 Don't leak buffers, caps and pads on negotiation errors.
10471 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10473 * docs/faq/cvs.xml:
10474 * docs/faq/dependencies.xml:
10475 * docs/faq/developing.xml:
10476 * docs/faq/faq.xml:
10477 * docs/faq/general.xml:
10478 * docs/faq/getting.xml:
10479 * docs/faq/legal.xml:
10480 * docs/faq/troubleshooting.xml:
10481 * docs/faq/using.xml:
10482 Faq review and update.
10484 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10486 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10488 Don't pound the cpu to pieces by checking get_caps when accept_caps
10489 is called with the same caps as the pad already has.
10490 Use GST_DEBUG_OBJECT when outputting caps change information.
10492 2006-03-15 Wim Taymans <wim@fluendo.com>
10494 * gst/gstclock.c: (gst_clock_class_init):
10497 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
10502 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10503 (gst_pad_accept_caps), (gst_pad_configure_sink),
10504 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10505 Make the default acceptcaps behaviour be to check the requested
10506 caps against the gst_pad_get_caps output.
10508 Ensure that gst_pad_accept_caps is used to check caps when a pad
10509 doesn't have a setcaps function, so that pads automatically refuse
10510 caps that they don't allow in their pad template. (Fixes #332986)
10512 When a buffer with attached caps is pushed, ensure that the source
10513 pad receives those caps even if the element didn't call
10514 gst_pad_set_caps first.
10516 2006-03-15 Wim Taymans <wim@fluendo.com>
10518 * libs/gst/base/gstadapter.c:
10521 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
10523 * win32/common/libgstbase.def:
10524 * win32/common/libgstcontroller.def:
10525 * win32/common/libgstreamer.def:
10526 Add a whole bunch of missing functions (#334434).
10528 2006-03-14 Wim Taymans <wim@fluendo.com>
10530 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10531 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10532 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10533 Better debug info when we receive a segment event.
10534 Reorganize a bit so we can pass the get_times() results around.
10535 Use the segment format when calculating the running time.
10536 Don't do QoS is sync is disabled or we have no clock or the
10537 element does not want us to sync to the clock.
10538 Don't drop buffers if QoS is disabled for now.
10540 2006-03-14 Wim Taymans <wim@fluendo.com>
10542 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10543 Marked the stats property as unimplemented so people don't get
10545 Add debug message when regression goes wrong.
10546 Added some more docs.
10548 2006-03-14 Wim Taymans <wim@fluendo.com>
10550 * gst/gstsegment.c: (gst_segment_to_stream_time):
10551 Return correct return type in case of errors.
10553 2006-03-14 Wim Taymans <wim@fluendo.com>
10555 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10556 Don't segfault on invalid formats.
10558 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10560 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10561 Can't use gst_segment_to_running_time() when the segment
10562 is not in GST_TIME_FORMAT (like with filesink, for example).
10563 Stops flac encoding pipelines from spewing critical warnings
10566 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
10568 * gst/gstpipeline.c: (gst_pipeline_class_init):
10569 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10571 * plugins/elements/gsttypefindelement.c:
10572 (gst_type_find_element_handle_event):
10573 Don't try to typefind empty streams.
10575 2006-03-14 Wim Taymans <wim@fluendo.com>
10577 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10578 (gst_base_sink_do_qos):
10579 Separate QoS calculation.
10580 Only drop buffers when lateness is bigger than the
10581 duration of the buffer.
10583 2006-03-13 Wim Taymans <wim@fluendo.com>
10585 * gst/gstpipeline.c: (gst_pipeline_set_property),
10586 (gst_pipeline_get_property), (do_pipeline_seek),
10587 (gst_pipeline_change_state), (gst_pipeline_set_delay),
10588 (gst_pipeline_get_delay):
10589 Don't deadlock when reading properties.
10591 2006-03-13 Wim Taymans <wim@fluendo.com>
10593 * libs/gst/base/gstbasetransform.c:
10594 (gst_base_transform_class_init), (gst_base_transform_init),
10595 (gst_base_transform_sink_event),
10596 (gst_base_transform_sink_eventfunc),
10597 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10598 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10599 (gst_base_transform_set_property),
10600 (gst_base_transform_get_property),
10601 (gst_base_transform_change_state), (gst_base_transform_update_qos),
10602 (gst_base_transform_set_qos_enabled),
10603 (gst_base_transform_is_qos_enabled):
10604 * libs/gst/base/gstbasetransform.h:
10605 Make basetransform virtual method for src events too.
10606 Handle QOS in basetransform.
10607 API: gst_base_transform_update_qos()
10608 API: gst_base_transform_set_qos_enabled()
10609 API: gst_base_transform_is_qos_enabled()
10611 2006-03-13 Wim Taymans <wim@fluendo.com>
10613 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10614 (gst_base_sink_do_sync):
10616 Use QOS debug category.
10618 2006-03-13 Wim Taymans <wim@fluendo.com>
10620 * plugins/elements/gstqueue.c:
10621 Very small doc update.
10623 2006-03-13 Wim Taymans <wim@fluendo.com>
10625 * gst/gst_private.h:
10626 * gst/gstinfo.c: (_gst_debug_init):
10627 Added QOS debug category
10629 2006-03-13 Wim Taymans <wim@fluendo.com>
10631 * docs/gst/gstreamer-sections.txt:
10632 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10634 * gst/gstbus.c: (gst_bus_class_init):
10637 * gst/gstelement.c: (gst_element_set_locked_state):
10638 * gst/gstsegment.c:
10639 Documentation updates.
10641 * gst/gstpipeline.c: (gst_pipeline_get_type),
10642 (gst_pipeline_class_init), (gst_pipeline_init),
10643 (gst_pipeline_dispose), (gst_pipeline_set_property),
10644 (gst_pipeline_get_property), (do_pipeline_seek),
10645 (gst_pipeline_send_event), (gst_pipeline_change_state),
10646 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10647 (gst_pipeline_get_delay):
10648 * gst/gstpipeline.h:
10649 Added methods for setting the delay.
10650 API: gst_pipeline_set_delay()
10651 API: gst_pipeline_get_delay()
10652 Add pipeline debug category
10655 Don't reset stream time when seek failed.
10657 2006-03-13 Wim Taymans <wim@fluendo.com>
10659 * docs/design/draft-klass.txt:
10660 * docs/design/part-clocks.txt:
10661 * docs/design/part-events.txt:
10662 * docs/design/part-gstbin.txt:
10663 * docs/design/part-gstpipeline.txt:
10664 * docs/design/part-messages.txt:
10665 * docs/design/part-negotiation.txt:
10666 * docs/design/part-overview.txt:
10667 * docs/design/part-preroll.txt:
10668 * docs/design/part-seeking.txt:
10669 * docs/design/part-states.txt:
10670 * docs/design/part-streams.txt:
10671 Documentation updates.
10673 2006-03-12 Julien MOUTTE <julien@moutte.net>
10675 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10676 us to leak strings...
10678 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
10680 * libs/gst/net/gstnettimeprovider.c:
10682 * win32/common/config.h:
10685 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
10687 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10690 Don't check for libgnomeui (leftover from old examples
10691 that aren't built or disted any longer) (#334303).
10693 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
10695 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10696 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10697 Emit RESOURCE_NO_SPACE_LEFT error here as well when
10698 there's no space left on the device.
10700 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
10703 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10704 to cast the input to GstClockTime before comparing with
10705 another GstClockTime value.
10707 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10712 === release 0.10.4 ===
10714 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
10717 releasing 0.10.4, "Light"
10719 2006-03-10 Michael Smith <msmith@fluendo.com>
10721 * libs/gst/dataprotocol/dataprotocol.c:
10722 Fix docs for dataprocotol to not get the return types completely
10723 wrong for a few functions.
10725 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10727 * docs/gst/gstreamer-sections.txt:
10728 * gst/gstpipeline.c: (gst_pipeline_class_init),
10729 (gst_pipeline_init), (gst_pipeline_set_property),
10730 (gst_pipeline_get_property), (gst_pipeline_change_state),
10731 (gst_pipeline_set_auto_flush_bus),
10732 (gst_pipeline_get_auto_flush_bus):
10733 * gst/gstpipeline.h:
10734 Add new API: gst_pipeline_set_auto_flush_bus() and
10735 gst_pipeline_get_auto_flush_bus() to disable automatic
10736 flushing of the pipeline's GstBus when going from READY
10737 to NULL state (#332045).
10739 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10741 * docs/gst/gstreamer-sections.txt:
10742 * gst/gsturi.c: (gst_uri_has_protocol):
10744 Add new API: gst_uri_has_protocol() (#333779).
10746 2006-03-09 Wim Taymans <wim@fluendo.com>
10748 * gst/gstclock.c: (gst_clock_entry_new),
10749 (gst_clock_id_compare_func), (gst_clock_id_wait),
10750 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10751 (gst_clock_init), (gst_clock_get_internal_time),
10752 (gst_clock_set_master), (do_linear_regression),
10753 (gst_clock_add_observation), (gst_clock_set_property):
10757 Fix a possible segfault when the window-size is made smaller.
10758 Calculate jitter before performing the clock wait. Ideally
10759 the clock implementation should calculate jitter but we need
10760 API breakage for that.
10762 * gst/gstsystemclock.c: (gst_system_clock_init):
10765 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10766 Remove leftover else
10768 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10769 (gst_systemclock_suite):
10770 Added check to test GST_CLOCK_DIFF.
10772 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
10774 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10775 (gst_type_find_helper_get_range):
10776 If we are provided with the size, we should implement
10777 GstTypeFind::get_length, so that typefind functions who
10778 want to can actually peek at the middle of a file.
10780 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
10782 * docs/manual/advanced-dataaccess.xml:
10783 Add some very very basic error checking.
10785 * docs/pwg/appendix-checklist.xml:
10786 Some updates to the list of things to check when writing an element.
10788 2006-03-08 Wim Taymans <wim@fluendo.com>
10790 * docs/design/part-element-transform.txt:
10791 Added some docs about the design of tranform elements.
10793 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10794 (gst_base_src_loop), (gst_base_src_change_state):
10795 Mark buffers with the DISCONT flag.
10797 2006-03-08 Michael Smith <msmith@fluendo.com>
10799 * gst/gstregistry.h:
10800 * gst/gstregistryxml.c: (gst_registry_save),
10801 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10802 (gst_registry_xml_save_pad_template),
10803 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10804 (gst_registry_xml_write_cache):
10805 Rewrite registry-saving to avoid race conditions and check for
10808 2006-03-08 Wim Taymans <wim@fluendo.com>
10810 * libs/gst/base/gstbasetransform.c:
10811 (gst_base_transform_transform_caps),
10812 (gst_base_transform_transform_size),
10813 (gst_base_transform_prepare_output_buffer),
10814 (gst_base_transform_get_unit_size),
10815 (gst_base_transform_buffer_alloc),
10816 (gst_base_transform_handle_buffer),
10817 (gst_base_transform_change_state):
10818 Cleanups, separate normal flow from errors, add sensible
10820 Don't try to renegotiate when allocating an output buffer.
10821 Also copy DISCONT buffer flag when copying a buffer.
10822 Reset the transform after we finish streaming, not during.
10824 2006-03-08 Wim Taymans <wim@fluendo.com>
10826 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10827 Use last buffer timestamp in qos message.
10829 2006-03-07 Wim Taymans <wim@fluendo.com>
10831 Patch by: Christophe Fergeau
10833 * docs/pwg/advanced-tagging.xml:
10834 * docs/pwg/building-pads.xml:
10837 2006-03-07 Wim Taymans <wim@fluendo.com>
10839 * docs/libs/gstreamer-libs-sections.txt:
10840 Added basesink new methods.
10844 Docs updates. Flesh out the QoS docs.
10846 * libs/gst/base/gstadapter.c:
10847 Small doc clarification about ownership and flushing.
10849 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10850 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10851 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10852 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10853 * libs/gst/base/gstbasesink.h:
10855 Added new methods to allow subclass to control max-lateness
10857 Generate very basic QoS events based on last sync observation.
10858 Updated docs, fix typo, added some QoS blurb.
10860 * libs/gst/base/gstbasesrc.c:
10861 Remove obsolete _get_state() calls from docs.
10863 2006-03-07 Wim Taymans <wim@fluendo.com>
10865 * docs/libs/gstreamer-libs-sections.txt:
10866 * libs/gst/base/gstbasetransform.h:
10867 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10868 Fix docs for GstBaseSrc.
10870 2006-03-07 Wim Taymans <wim@fluendo.com>
10872 * docs/gst/gstreamer-sections.txt:
10875 * libs/gst/base/gstbasetransform.h:
10876 Small documentation fixes.
10878 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10881 Document thread-unsafety of gst_value_register_foo_func()
10882 when used at the same time as gst_value_foo() (#322628).
10884 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
10886 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
10887 (gst_push_src_check_get_range):
10888 Push sources don't support pull mode by default.
10890 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10892 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10893 (gst_base_src_init), (gst_base_src_pad_check_get_range),
10894 (gst_base_src_default_check_get_range):
10895 * libs/gst/base/gstbasesrc.h:
10896 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
10897 provide default implementation, and rename
10898 gst_base_src_check_get_range() to
10899 gst_base_src_pad_check_get_range() for clarity.
10901 2006-03-06 Wim Taymans <wim@fluendo.com>
10903 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10904 Make property overridable.
10906 2006-03-06 Wim Taymans <wim@fluendo.com>
10908 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10909 (gst_base_sink_init), (gst_base_sink_set_property),
10910 (gst_base_sink_get_property), (gst_base_sink_do_sync):
10911 * libs/gst/base/gstbasesink.h:
10912 API addition: Make max-lateness a property.
10914 2006-03-06 Wim Taymans <wim@fluendo.com>
10916 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
10917 (gst_base_sink_do_sync), (gst_base_sink_render_object):
10918 Don't ever draw a frame that is >10ms late.
10920 2006-03-06 Michael Smith <msmith@fluendo.com>
10922 * gst/gstmessage.c: (_gst_message_copy):
10923 When copying a message, set the parent_refcount of the enclosed
10924 structure to point at the copy, not the original message.
10926 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
10928 Patch by: Christophe Fergeau
10931 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
10932 usable in c++ code (#333417)
10934 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
10937 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
10939 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
10941 * libs/gst/base/gstbasetransform.c:
10942 (gst_base_transform_transform_caps):
10943 Make sure caps are writable before passing them to
10946 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10949 Fix some minor docs errors.
10951 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
10953 Patch by: Ross Burton <ross at burtonini dot com>
10955 * gst/gsterror.c: (_gst_resource_errors_init):
10957 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
10959 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10962 Add a check and output a g_warning when GStreamer is built
10963 against GLib 2.6 but running against 2.8 or higher, and vice
10964 versa. (Closes: #323542)
10966 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
10968 * gst/parse/parse.l:
10969 Commit patch for parse_launch syntax from #331255. Removes
10970 support for quoted strings and mimetypes when writing filtered
10971 caps. See the bug report for more details - I'm pretty sure this
10972 obscure feature is not in use by _anyone_ anywhere.
10974 With this simple change, the size of the gstreamer.so here
10975 drops from 2193KB to 1565KB.
10977 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10979 * plugins/elements/gsttypefindelement.h:
10980 * plugins/elements/gsttypefindelement.c:
10981 (gst_type_find_element_src_event), (start_typefinding),
10982 (stop_typefinding), (gst_type_find_element_handle_event),
10983 (gst_type_find_element_chain),
10984 (gst_type_find_element_chain_do_typefinding):
10985 Use gst_type_find_helper_for_buffer() for chain-based
10988 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
10990 * plugins/elements/gsttypefindelement.c:
10991 (gst_type_find_element_class_init),
10992 (gst_type_find_element_set_property),
10993 (gst_type_find_element_get_property):
10994 Deprecate "maximum" property (not only was it only taken into
10995 account for typefinding in push-mode anyway, it also was never
10996 actually possible to set it in the first place because the
10997 property was registered with the numeric property ID for the
10998 "minimum" property). Register "maximum" property correctly,
10999 for the sake of future copy'n'pasters. Remove some cruft
11000 from property get/set functions.
11002 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11004 * plugins/elements/gsttypefindelement.c:
11005 (gst_type_find_element_activate):
11006 Use gst_type_find_helper_get_range() here, so we
11007 can honour the "minimum" property and also emit
11008 the signal with the correct probability of the found caps.
11010 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11012 * docs/libs/gstreamer-libs-sections.txt:
11013 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11014 (helper_find_suggest), (gst_type_find_helper_get_range),
11015 (gst_type_find_helper):
11016 * libs/gst/base/gsttypefindhelper.h:
11017 New API: gst_type_find_helper_get_range() (#333042).
11019 2006-03-02 Michael Smith <msmith@fluendo.com>
11021 * gst/gstregistryxml.c: (load_feature):
11022 Asserting on a failure to read part of the registry is Not Cool.
11023 Just log a warning and return NULL (which is already handled)
11025 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11027 * win32/common/libgstbase.def:
11028 added export of gst_type_find_helper_for_buffer
11029 * win32/common/libgstbase.def:
11030 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11031 gst_ghost_pad_get_target
11033 2006-02-28 Wim Taymans <wim@fluendo.com>
11035 * docs/design/draft-klass.txt:
11037 Added Connector to mark elements that are only used to
11038 allow pipeline connections.
11039 Moved Debug to extra feature since most of them are
11040 functionally something else.
11042 2006-02-28 Wim Taymans <wim@fluendo.com>
11044 * docs/design/draft-klass.txt:
11045 Some updates and clarifications.
11047 2006-02-28 Wim Taymans <wim@fluendo.com>
11049 * docs/design/draft-klass.txt:
11050 Proposal for klass field values.
11052 * docs/design/part-streams.txt:
11053 Start of a doc describing stream anatomy.
11055 2006-02-28 Wim Taymans <wim@fluendo.com>
11057 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11058 Help the compiler a bit with type registration.
11059 Use existing forward cod path instead of duplicating it when
11060 handling a message.
11062 * gst/gstbus.c: (gst_bus_get_type):
11063 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11064 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11065 * gst/gstclock.c: (gst_clock_get_type):
11066 * gst/gstelement.c: (gst_element_get_type),
11067 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11068 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11069 * gst/gstminiobject.c: (gst_mini_object_get_type):
11070 * gst/gstpad.c: (gst_pad_get_type):
11071 * gst/gstsegment.c: (gst_segment_get_type):
11072 * gst/gststructure.c: (gst_structure_get_type):
11073 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11074 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11076 Help compiler with type registration.
11078 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11081 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11083 * plugins/elements/gsttypefindelement.c:
11084 (gst_type_find_element_handle_event):
11085 When we get an EOS event and have not found a type yet
11086 (most likely because we had not yet accumulated
11087 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11088 type given the data we have so far. Fixes typefinding
11089 for very short streams again, most notably quicktime
11090 redirections as used on Apple's trailer site (#331701).
11092 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11094 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11095 (gst_type_find_helper):
11096 Try typefinding factories with the highest rank first.
11098 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11100 * docs/libs/gstreamer-libs-docs.sgml:
11101 * docs/libs/gstreamer-libs-sections.txt:
11102 * libs/gst/base/gsttypefindhelper.c:
11103 Add section for typefind helper and add documentation
11104 for the old and the new function.
11106 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11108 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11109 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11110 (gst_type_find_helper_for_buffer):
11111 * libs/gst/base/gsttypefindhelper.h:
11112 New API: gst_type_find_helper_for_buffer() (#332723).
11114 2006-02-27 Michael Smith <msmith@fluendo.com>
11116 Patch by: Loïc Minier
11119 * docs/Makefile.am:
11120 * docs/slides/Makefile.am:
11121 prevent CVS directories getting disted.
11123 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11125 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11126 Use the REFCOUNTING category for caps refcounting.
11128 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11130 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11131 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11133 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11135 * plugins/elements/gsttypefindelement.c:
11136 (gst_type_find_element_activate):
11137 Use gst_pad_check_pull_range() before _activate_pull()
11138 to avoid unnecessary open/close (see #331690).
11140 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11143 Docs enhancement: make it crystal clear what the
11144 gst_pad_add_*_probe() callbacks should look like.
11146 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11148 * libs/gst/base/gstbasesrc.c:
11149 Document how applications can stop recording from
11150 live sources (see #330996).
11152 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11154 * tests/check/Makefile.am:
11155 * tests/check/libs/basesrc.c: (eos_event_counter),
11156 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11157 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11158 (gst_basesrc_suite), (main):
11159 ... and add some tests for the base source EOS stuff.
11161 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11163 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11164 Test case originally showed the problem fixed below,
11165 but was then amended. Add checks back at the place
11166 where they used to be.
11168 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11170 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11171 (gst_base_src_init), (gst_base_src_loop),
11172 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11173 (gst_base_src_change_state):
11174 * libs/gst/base/gstbasesrc.h:
11175 Don't unconditionally send EOS when going from PAUSED to
11176 READY state, esp. make sure we don't send two EOS events
11177 in some cases (e.g. one when reaching EOS and one when
11178 going from PAUSED to READY). Also, we don't want to send
11179 EOS events when operating in pull mode. However, we do
11180 want to send an EOS event when shutting down a live
11181 source explicitly, for example (fixes #330996).
11183 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11185 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11186 Update src->read_position after a seek when not using mmap.
11187 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11189 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11195 Make things work with --disable-parse as they do with
11196 --disable-load-save - the symbols involved disappear, but the
11197 header is still installed and GST_DISABLE_PARSE is included via
11200 2006-02-20 Julien MOUTTE <julien@moutte.net>
11202 * libs/gst/base/gstbasetransform.c:
11203 (gst_base_transform_change_state): Fix a stupid bug. I was
11204 sure I compiled that.
11206 2006-02-20 Julien MOUTTE <julien@moutte.net>
11208 * gst/gstpad.c: (gst_pad_set_blocked_async):
11209 * gst/gstutils.c: (gst_pad_add_data_probe),
11210 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11211 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11212 (gst_pad_remove_buffer_probe): Make those function act on the
11213 ghostpad target when it's a ghostpad. (Closes #331727)
11215 2006-02-20 Julien MOUTTE <julien@moutte.net>
11217 * libs/gst/base/gstbasetransform.c:
11218 (gst_base_transform_change_state): Make basetransform reusable.
11221 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11223 * docs/random/release:
11224 Move the current documentation of how to do a release to the top
11227 * gst/gstbin.c: (gst_bin_class_init),
11228 (gst_bin_handle_message_func):
11229 Allow multiple state-recalculation threads. (Closes #328873)
11231 2006-02-19 Julien MOUTTE <julien@moutte.net>
11233 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11234 * gst/gstpad.c: (gst_pad_set_event_function),
11235 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11236 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11237 2 strings. You can't use the STR_NULL macro on that.
11239 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11241 * gst/gstpad.c: (gst_pad_set_event_function),
11242 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11243 (gst_pad_set_getcaps_function)
11244 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11245 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11246 So now, we can use --gst-debug-level=5 on Windows
11247 * win32/common/libgstcontroller.def:
11248 Added export of gst_controller_init
11249 * win32/vs6/libgstcontroller.dsp:
11250 Fixed Release post build configuration
11252 2006-02-17 Wim Taymans <wim@fluendo.com>
11254 * tests/check/gst/gstquery.c: (GST_START_TEST):
11255 Added another check.
11257 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11259 * plugins/elements/gsttypefindelement.c: (find_peek):
11260 We can do peeks at non-zero offsets, as long as they
11261 fall within the buffer we have.
11263 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11265 * tests/check/Makefile.am:
11266 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11267 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11268 (parse_suite), (main):
11269 Add testsuite for parse launch syntax
11271 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11273 * plugins/elements/gsttypefindelement.c:
11274 (gst_type_find_element_chain):
11275 When typefinding is unsuccessful in the chain function, don't
11276 error out immediately. Only error out with NO_CAPS_FOUND if
11277 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11278 otherwise simply wait for more data so we can try typefinding
11279 again with more data later. Also, don't attempt to typefind
11280 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11281 this should improve typefinding from network sources where the
11282 size of the first buffer can be somewhat random.
11284 2006-02-14 Wim Taymans <wim@fluendo.com>
11286 * docs/gst/gstreamer-sections.txt:
11287 * gst/gstpadtemplate.c:
11288 * gst/gstpadtemplate.h:
11289 Fix padtemplate docs, fixes #328805.
11291 2006-02-14 Wim Taymans <wim@fluendo.com>
11293 * tools/gst-launch.c: (main):
11294 NO_PREROLL is not an ERROR so don't send confusing messages
11297 2006-02-14 Wim Taymans <wim@fluendo.com>
11299 Patch by: Torsten Schoenfeld
11301 * gst/gstregistry.c: (gst_registry_get_default),
11302 (_gst_registry_cleanup):
11303 Protect default registry with lock and ref/sink it.
11306 2006-02-14 Wim Taymans <wim@fluendo.com>
11309 * gst/gstquery.c: (gst_query_list_add_format),
11310 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11311 (gst_query_parse_formats_nth):
11312 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11315 2006-02-14 Wim Taymans <wim@fluendo.com>
11317 * docs/gst/gstreamer-sections.txt:
11318 Reworked query docs.
11320 * gst/gstquery.c: (gst_query_new_formats),
11321 (gst_query_list_add_format), (gst_query_set_formats),
11322 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11323 (gst_query_parse_formats_nth):
11325 Flesh out formats query, added some new methods.
11326 Fix part of #324398.
11328 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11329 Added query creation tests.
11331 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11333 * gst/gstpad.c: (fixate_value):
11334 Add a default fixation for fraction lists.
11336 2006-02-13 Wim Taymans <wim@fluendo.com>
11338 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11339 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11342 Detect and warn for obvious deadlocks. fixes #320340
11343 Fix error case where lock was not released.
11345 * tests/check/Makefile.am:
11346 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11347 (task_func), (gst_element_suite), (main):
11350 2006-02-13 Wim Taymans <wim@fluendo.com>
11352 * docs/gst/gstreamer-sections.txt:
11354 Add new functions to docs.
11356 2006-02-13 Wim Taymans <wim@fluendo.com>
11358 * docs/design/part-TODO.txt:
11359 Updated TODO list, basesrc supports seeking to non-bytes
11362 * docs/design/part-element-sink.txt:
11365 * gst/gstbin.c: (bin_replace_message),
11366 (gst_bin_handle_message_func):
11367 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11368 * gst/gstevent.c: (gst_event_finalize):
11369 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11370 (gst_pad_send_event):
11371 Use shiny new _TYPE_NAME macros.
11373 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11374 Move debug statement up.
11376 * gst/gstelement.c: (gst_element_set_locked_state):
11377 Add some debugging.
11379 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11381 * docs/gst/gstreamer-sections.txt:
11382 * gst/gstmessage.h:
11384 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11385 macros (#330906). Also, document the already existing
11386 GST_QUERY_TYPE macro.
11388 2006-02-13 Wim Taymans <wim@fluendo.com>
11390 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11391 (event_probe), (GST_START_TEST):
11392 Only events up to the pipeline EOS are counted, there are
11393 some more when going to NULL currently which we don't care
11396 2006-02-13 Wim Taymans <wim@fluendo.com>
11398 * gst/gstpad.c: (gst_pad_send_event):
11399 Correctly check flushing and emit probes. fixes #330125
11401 2006-02-10 Andy Wingo <wingo@pobox.com>
11403 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11405 (gst_bus_init): Cache the location of the private data in the
11406 instance structure.
11407 (gst_bus_enable_sync_message_emission)
11408 (gst_bus_disable_sync_message_emission): Implement new public
11410 (gst_bus_post): Emit the sync-message signal if the user asked for
11413 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11414 location of the bus-private structure.
11415 (gst_bus_enable_sync_message_emission)
11416 (gst_bus_disable_sync_message_emission): API addition
11418 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11420 Patch by: Vincent Torri
11422 * docs/pwg/building-boiler.xml:
11423 PWG patch from #326800
11425 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11428 * docs/Makefile.am:
11429 * docs/design/Makefile.am:
11432 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11437 === release 0.10.3 ===
11439 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11442 releasing 0.10.3, "Like a virgin"
11444 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11447 2nd prerelease of 0.10.3
11448 Bump libtool versioning.
11450 2006-02-07 Andy Wingo <wingo@pobox.com>
11452 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11453 update last_stop if we're in TIME format and the timestamp is
11456 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11457 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11458 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11459 If we get a new newsegment with a different format, adapt
11462 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11463 of 0. Not a problem, really.
11465 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11468 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11473 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11476 project files updated to the default vs7 configuration
11477 * win32/common/libgstbase.def:
11478 * win32/common/libgstreamer.def:
11480 removed empty lines,
11481 sorted all exported symbols alphabetically
11482 * win32/common/dirent.c:
11483 * win32/common/dirent.h:
11484 * win32/common/gchar.h:
11485 use windows line end.
11487 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11489 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11490 Send EOS event when stopping.
11492 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11495 Tell folks what to do if the plugin-foobar.xml file
11496 hasn't been generated for a newly-added plugin.
11498 2006-02-05 Julien MOUTTE <julien@moutte.net>
11500 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11501 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11502 (gst_collect_pads_start), (gst_collect_pads_stop),
11503 (gst_collect_pads_event): Collectpads now holds a reference
11504 to the GstPad that was added. Indeed we don't want to look
11505 at pads that might just go away with no warning...
11507 2006-02-05 Julien MOUTTE <julien@moutte.net>
11509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11510 (gst_collect_pads_start), (gst_collect_pads_stop),
11511 (gst_collect_pads_event), (gst_collect_pads_chain):
11512 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11513 Mark Nauwelaerts's patch on bug #328491.
11515 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11517 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11519 Add some simple tests for gst_parse_bin_from_description() and
11520 gst_bin_find_unconnected_pad() (#329069).
11522 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
11524 * tools/gst-launch.c: (event_loop), (main):
11525 Catch errors during preroll (#320084).
11527 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
11529 * plugins/elements/gsttypefindelement.c:
11530 (gst_type_find_element_activate):
11531 Post TYPE_NOT_FOUND error message when typefinding
11532 is unsuccessful in the activate function as well.
11534 2006-02-02 Wim Taymans <wim@fluendo.com>
11536 * docs/design/part-element-sink.txt:
11539 2006-02-02 Wim Taymans <wim@fluendo.com>
11541 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11542 (gst_base_sink_render_object),
11543 (gst_base_sink_queue_object_unlocked):
11544 Only keep track of prerollable items when we are
11546 Before rendering after preroll, always check if we
11548 Added some more debugging.
11550 2006-02-02 Wim Taymans <wim@fluendo.com>
11552 * gst/gstelement.c: (gst_element_continue_state),
11553 (gst_element_set_state_func), (gst_element_change_state):
11554 Fixed #326576, been running this for quite some time with
11555 no regressions at all.
11557 2006-02-02 Wim Taymans <wim@fluendo.com>
11560 Added more suppressions
11562 2006-02-02 Wim Taymans <wim@fluendo.com>
11564 * docs/design/part-element-sink.txt:
11567 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11568 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11569 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11570 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11571 (gst_base_sink_do_sync), (gst_base_sink_render_object),
11572 (gst_base_sink_preroll_object),
11573 (gst_base_sink_queue_object_unlocked),
11574 (gst_base_sink_queue_object), (gst_base_sink_event),
11575 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11576 (gst_base_sink_loop), (gst_base_sink_activate_pull),
11577 (gst_base_sink_get_position), (gst_base_sink_change_state):
11578 * libs/gst/base/gstbasesink.h:
11579 Totally refactored matching the design doc.
11580 Use two segments, one to clip incomming buffers and another to
11582 Handle queueing correctly, bypass the queue when playing.
11583 Make EOS cancelable.
11584 Handle errors correctly when operating in pull based mode.
11586 * tests/check/elements/fakesink.c: (GST_START_TEST),
11588 Added new check for sinks.
11590 2006-02-02 Wim Taymans <wim@fluendo.com>
11592 * gst/gstsegment.c: (gst_segment_clip):
11593 No reason to refuse to clip when start == -1
11595 2006-02-02 Stefan Kost <ensonic@users.sf.net>
11598 * docs/manual/intro-basics.xml:
11599 * docs/manual/intro-preface.xml:
11600 * docs/manual/manual.xml:
11601 * docs/pwg/advanced-dparams.xml:
11602 * docs/pwg/intro-basics.xml:
11603 * docs/pwg/intro-preface.xml:
11604 * docs/pwg/pwg.xml:
11605 describe dparams (controller) for plugins
11606 unify docs a little more
11608 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
11610 * docs/gst/gstreamer-sections.txt:
11611 * gst/gstutils.c: (element_find_unconnected_pad),
11612 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11614 Add new API: gst_parse_bin_from_description() and
11615 gst_bin_find_unconnected_pad() (#329069).
11617 2006-02-01 Stefan Kost <ensonic@users.sf.net>
11619 * docs/manual/README:
11620 uncover a nasty detail of the docs build
11622 2006-01-31 Wim Taymans <wim@fluendo.com>
11624 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11625 Don't cache duration messages if we're not going to use or
11628 2006-01-31 Stefan Kost <ensonic@users.sf.net>
11630 * docs/manual/advanced-dparams.xml:
11631 * docs/pwg/advanced-dparams.xml:
11635 * libs/gst/controller/lib.c: (gst_controller_init):
11638 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
11640 * gst/gstelement.c: (gst_element_message_full):
11641 also show file/line/func if no additional debug was given
11643 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
11645 * win32/vs7/grammar.vcproj:
11646 activate copy of autogenerated files for Release mode
11648 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11650 * win32/common/libgstreamer.def:
11651 export gst_value_compare
11653 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
11655 * plugins/elements/Makefile.am:
11656 * plugins/elements/gstelements.c:
11657 * plugins/elements/gstfdsink.c: (_do_init),
11658 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11659 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11660 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11661 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11662 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11663 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11664 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11665 * plugins/elements/gstfdsink.h:
11666 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11668 2006-01-30 Stefan Kost <ensonic@users.sf.net>
11670 * docs/manual/advanced-dparams.xml:
11671 describe controller
11672 * docs/manual/advanced-position.xml:
11673 * docs/manual/basics-init.xml:
11674 * docs/manual/manual.xml:
11675 * docs/manual/titlepage.xml:
11676 * docs/pwg/pwg.xml:
11677 * docs/pwg/titlepage.xml:
11678 cleanup xml (more to come)
11679 * libs/gst/controller/gstcontroller.c:
11682 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
11684 * win32/vs6/grammar.dsp:
11685 add autogen of gstmarshal.c,h for Release mode
11687 2006-01-30 Wim Taymans <wim@fluendo.com>
11689 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11690 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11691 (gst_base_sink_handle_object), (gst_base_sink_event),
11692 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11693 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11694 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11695 (gst_base_sink_deactivate), (gst_base_sink_activate),
11696 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11697 (gst_base_sink_query), (gst_base_sink_change_state):
11698 Basesink cleanups, remove some old code.
11699 Handle the case where a subclass can preroll in the render
11700 method (mostly audiosinks).
11701 Handle more events.
11702 Remove some locks around variables that are now protected
11703 with the PREROLL_LOCK (clock_id, flushing, ..).
11704 Optimize position query some more, do correct locking.
11705 Remove old code to push queue in state change, this is not
11706 needed anymore since preroll blocks on all prerollable items
11708 Almost implemented as described in design doc.
11710 2006-01-30 Wim Taymans <wim@fluendo.com>
11712 * tests/check/gst/gstbin.c: (GST_START_TEST):
11713 Wait for refcount to settle down before checking.
11715 2006-01-30 Wim Taymans <wim@fluendo.com>
11717 * docs/design/part-element-sink.txt:
11718 Pseudo code overview of desired sink behaviour regarding
11721 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11722 * win32/vs6/grammar.dsp:
11723 fix some bugs in Release mode for autogenerated files
11725 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11726 * win32/common/libgstbase.def:
11727 * win32/common/libgstreamer.def:
11728 export some new symbols: gst_base_src_set_format,
11729 gst_iterator_next, gst_structure_set_valist
11731 2006-01-29 Julien MOUTTE <julien@moutte.net>
11733 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11734 Set pad functions unconditionally. Fixes #329105.
11736 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
11738 add vs8 project files created by Sergey Scobich
11740 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
11742 * gst/gstutils.c: (gst_element_unlink_pads):
11743 Don't leak pad references.
11745 * tests/check/elements/fakesink.c: (GST_START_TEST):
11746 * tests/check/generic/sinks.c: (GST_START_TEST):
11747 * tests/check/generic/states.c: (GST_START_TEST):
11748 * tests/check/gst/gstbin.c: (GST_START_TEST):
11749 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11750 * tests/check/gst/gstelement.c: (GST_START_TEST):
11751 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11752 * tests/check/gst/gstiterator.c: (GST_START_TEST):
11753 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11754 Fix a bunch of leaks. Make generic/sinks.c
11755 use a bit less cpu by slowing the buffer rate
11756 between fakesrc and fakesink.
11758 2006-01-27 Stefan Kost <ensonic@users.sf.net>
11760 * gst/gstelement.c: (gst_element_send_event):
11763 * gst/gstiterator.c:
11764 * gst/gstiterator.h:
11765 * gst/gstpad.c: (gst_pad_send_event):
11766 * gst/gststructure.c:
11770 * libs/gst/base/gstadapter.c:
11771 doc fixes, to link to function, just write gst_cool_function(), don't
11774 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11776 * plugins/elements/gsttee.c: (gst_tee_do_push),
11777 (gst_tee_handle_buffer):
11778 Always prefer an actual return value from a src
11779 pad in place of NOT_LINKED. This means we return
11780 WRONG_STATE when all src pads are WRONG_STATE
11781 instead of NOT_LINKED.
11783 Lock when replacing the last message to prevent
11784 racing with the get_property method.
11788 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11790 * tests/check/Makefile.am:
11791 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11793 Add a very simple check that should have caught the memleak I fixed
11794 last night (if not for the slice allocator hiding it)
11796 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
11798 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11799 (gst_bin_remove_func), (gst_bin_handle_message_func),
11800 (bin_query_duration_fold), (bin_query_generic_fold):
11801 Clean up references to the clock provider when disposed or when
11802 handling a clock-lost message from it.
11804 Unref sinks when performing a query via gst_iterator_fold, as the
11805 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11807 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11808 (gst_clock_set_master):
11809 Drop our reference to the master clock, if any, when we are disposed.
11811 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11812 Chain up in dispose.
11814 2006-01-26 Wim Taymans <wim@fluendo.com>
11816 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11817 Add some debugging.
11819 2006-01-26 Julien MOUTTE <julien@moutte.net>
11821 * plugins/elements/gsttee.c: (gst_tee_do_push),
11822 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11823 handles pad being NOT_LINKED or in WRONG_STATE.
11825 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11830 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11833 remove obsolete entry
11835 2006-01-26 Stefan Kost <ensonic@users.sf.net>
11837 * docs/gst/gstreamer-sections.txt:
11838 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11839 (gst_bin_iterate_sources), (gst_bin_send_event):
11841 * gst/gstelement.c: (gst_element_send_event):
11843 * gst/gstpad.c: (gst_pad_send_event):
11844 added code for downstream events, reviewed docs in gstevent.c
11846 2006-01-25 Julien MOUTTE <julien@moutte.net>
11848 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11849 We only query position using the clock in the playing state.
11850 Query peer in the other cases.
11851 * win32/common/config.h: Updates.
11853 2006-01-24 Wim Taymans <wim@fluendo.com>
11855 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11856 A clock entry that is scheduled for the exact time of the
11857 clock is still in time.
11859 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11860 (gst_base_sink_do_sync):
11861 Add some more debug info.
11863 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11866 Add new vs7 project files and solution.
11868 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
11871 all files removed as they were out-dated.
11873 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11875 * docs/random/release:
11877 * gst/gstbin.c: (gst_bin_init):
11878 * gst/gstbus.c: (gst_bus_new):
11880 * gst/gstpipeline.c: (gst_pipeline_init):
11881 use gst_bus_new(), improve logging, fix docs
11882 * win32/common/config.h:
11883 update for cvs build
11885 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
11888 up required version of automake to 1.7
11890 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
11892 * win32/common/libgstreamer.def:
11893 export gst_buffer_is_metadata_writable
11895 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
11897 * docs/gst/gstreamer-sections.txt:
11899 Add gst_event_replace() (#327001)
11901 2006-01-20 Wim Taymans <wim@fluendo.com>
11903 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
11904 Make it actually compile too..
11906 2006-01-20 Wim Taymans <wim@fluendo.com>
11909 Clarify behaviour of _is_equal() when passing NULL parameters.
11911 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11912 (gst_pad_set_caps):
11913 Cleanups. Don't unref NULL caps.
11914 When setting the same caps, protect caps of the pad with
11916 Use full functionality of _is_equal() when comparing caps.
11918 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11920 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11921 Don't loop infinitely if there are no buffers to present. Partially
11922 fixes #327197, but collectpads is just broken for reusing elements
11923 to do multiple encodes atm.
11925 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
11927 * tools/gst-inspect.c: (print_element_features):
11928 * tools/gst-xmlinspect.c: (main):
11929 URL_HANDLER is not a plugin feature we can search for in
11932 2006-01-19 Edward Hervey <edward@fluendo.com>
11934 * gst/gstelement.c: (gst_element_pads_activate):
11935 When activating, do src pads first, then sink pads.
11936 When de-activating, do sink pads first, then src pads.
11938 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11940 * docs/gst/gstreamer-sections.txt:
11941 Add gst_index_add_associationv to the docs
11943 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11948 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
11949 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
11950 Do some refactoring. Doesn't actually change functionality,
11951 but makes landing the DRAIN event easier later.
11953 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
11955 * docs/pwg/advanced-scheduling.xml:
11956 Update from 0.9.x to 0.10 API and make example a bit
11959 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11961 * docs/gst/gstreamer-sections.txt:
11962 Add gst_buffer_(is|make)_metadata_writable methods.
11964 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
11966 * docs/design/part-sparsestreams.txt:
11967 Update sparse streams doc, hopefully for greater clarity
11969 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
11971 * docs/design/part-events.txt:
11972 Remove mention of FILLER events.
11975 * docs/design/part-sparsestreams.txt:
11976 Write some things about using NEWSEGMENT to keep sparse streams
11979 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
11981 * gst/gstbin.c: (gst_bin_dispose):
11982 Guard gst_object_unref call against a NULL object (dispose
11983 can theoretically be called multiple times).
11985 2006-01-18 Wim Taymans <wim@fluendo.com>
11987 * gst/gstbin.c: (gst_bin_element_set_state):
11988 * gst/gstclock.c: (gst_clock_id_wait):
11989 Added some more debug info.
11991 * libs/gst/base/gstadapter.c:
11994 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11995 (gst_base_sink_do_sync), (gst_base_sink_chain):
11996 Added some comments.
11998 2006-01-18 Wim Taymans <wim@fluendo.com>
12000 * tests/check/Makefile.am:
12001 * tests/check/elements/fakesink.c: (chain_async_buffer),
12002 (chain_async), (chain_async_return), (GST_START_TEST),
12003 (fakesink_suite), (main):
12004 Added fakesink test that checks prerolling and clipping
12007 * tests/check/gst/gstutils.c: (GST_START_TEST):
12008 Make check run faster so that buildbots don't timeout.
12010 2006-01-18 Wim Taymans <wim@fluendo.com>
12012 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12013 (gst_base_sink_do_sync):
12015 When the sink finishes blocking on the preroll buffer, it can
12016 immediatly render it instead of rendering when the next buffer
12019 2006-01-18 Wim Taymans <wim@fluendo.com>
12021 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12022 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12023 (gst_base_sink_chain):
12025 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12026 Don't store _last_stop if the buffer is dropped.
12028 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12030 * plugins/elements/gsttypefindelement.c:
12031 (gst_type_find_element_class_init):
12032 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12033 object method handler that sets the caps on the pad and we want
12034 that to happen before we emit the signal (fixes e.g. feeding a
12035 plain text file to decodebin).
12037 2006-01-18 Christian Schaller <Christian@fluendo.com>
12039 * gst/gstplugin.c: Add MPL and Proprietary as license options
12041 2006-01-18 Andy Wingo <wingo@pobox.com>
12043 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12044 symbol was exported before, it appears this was just an oversight.
12046 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12048 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12049 prototype to gint. OK since this prototype was not in the header.
12051 2006-01-17 Andy Wingo <wingo@pobox.com>
12053 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12054 registry while we remove plugins.
12056 * tools/gst-inspect.c (print_element_info): Don't unref the
12057 factory arg, that should be the responsibility of whatever code
12058 received the ref. Fixes a double-free when called from
12059 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12060 (main): Unref the factory if we have one.
12061 (print_element_list): No change -- relies on the
12062 plugin_feature_list_free to free the list of features.
12064 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12066 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12067 (gst_buffer_make_metadata_writable):
12069 * libs/gst/base/gstbasetransform.c:
12070 (gst_base_transform_prepare_output_buf):
12071 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12072 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12073 Replace gst_buffer_(make|is)_metadata_writable patch now
12074 that the release is out.
12076 2006-01-17 Andy Wingo <wingo@pobox.com>
12078 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12079 in the present tense without reference to versions.
12081 * gst/gstregistry.c (gst_registry_add_plugin)
12082 (gst_registry_remove_plugin, gst_registry_remove_feature)
12083 (gst_registry_find_feature, gst_registry_get_feature_list)
12084 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12085 (gst_registry_lookup, gst_registry_scan_path)
12086 (_gst_registry_remove_cache_plugins)
12087 (gst_registry_get_feature_list_by_plugin): Add argument
12090 === release 0.10.2 ===
12092 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12095 releasing 0.10.2, "If man is five"
12097 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12101 * libs/gst/base/gstbasetransform.c:
12102 (gst_base_transform_prepare_output_buf):
12103 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12104 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12105 Back out patch until after the release.
12107 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12109 * gst/gstminiobject.c:
12110 Spelling fix in docs.
12111 * ChangeLog - remove conflict indicator
12113 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12115 Reviewed By: Andy Wingo
12117 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12118 (gst_buffer_make_metadata_writable):
12120 Add gst_buffer_(is|make)_metadata_writable as analogues of
12121 gst_buffer_(is|make)_writable.
12123 * libs/gst/base/gstbasetransform.c:
12124 (gst_base_transform_prepare_output_buf):
12125 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12126 Use name gst_buffer_(is|make)_metadata_writable functions.
12128 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12129 Test gst_buffer_(is|make)_metadata_writable
12133 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12135 * docs/manual/Makefile.am:
12136 don't do parallel make
12139 * win32/common/config.h.in:
12140 add generations for HOST_CPU and GST_MAJORMINOR
12141 * win32/common/config.h:
12142 commit generated result
12144 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12146 * docs/manual/appendix-integration.xml:
12147 Update GNOME integration section to use gst_init_get_option_group()
12148 instead of the old popt stuff (#322911). Also, GNOME applications
12149 should now use gconf*sink and gconf*src instead of the old gconf
12152 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12155 * docs/gst/gstreamer-docs.sgml:
12156 * docs/gst/gstreamer-sections.txt:
12157 * docs/libs/gstreamer-libs-sections.txt:
12158 add new API entries to the docs
12159 * libs/gst/controller/Makefile.am:
12160 * libs/gst/controller/gstcontroller.c:
12161 * libs/gst/controller/gstcontroller.h:
12162 * libs/gst/controller/gstcontrollerprivate.h:
12163 * libs/gst/controller/gsthelper.c:
12164 * libs/gst/controller/gstinterpolation.c:
12165 move private structs to private header
12167 gstreamer-0.7 -> gstreamer-0.10
12168 * tests/check/libs/struct_i386.h:
12169 remove private structs
12171 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12173 * plugins/indexers/Makefile.am:
12174 Fixes as part of #317048
12176 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12178 * plugins/indexers/Makefile.am:
12179 fix #316086 - compilation when mmap is missing
12181 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12183 * libs/gst/base/gstbasesink.c:
12184 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12185 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12186 * win32/common/config.h:
12187 added some defines GST_MAJORMINOR and HOST_CPU
12188 * win32/common/libgstbase.def:
12189 * win32/common/libgstreamer.def:
12190 added some exported functions.
12192 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12194 * libs/gst/controller/gstcontroller.c:
12195 (gst_controlled_property_set_interpolation_mode),
12196 (gst_controlled_property_new):
12197 * libs/gst/controller/gstcontroller.h:
12198 * libs/gst/controller/gstinterpolation.c:
12199 (interpolate_none_get_string_value_array):
12200 make G_TYPE_STRING controlable
12202 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12205 * tools/gst-feedback.1.in:
12206 * tools/gst-inspect.1.in:
12207 * tools/gst-launch.1.in:
12208 * tools/gst-md5sum.1.in:
12209 * tools/gst-typefind.1.in:
12210 * tools/gst-xmlinspect.1.in:
12211 * tools/gst-xmllaunch.1.in:
12212 cleanup man-pages, remove reference to gst-register, document env-vars
12214 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12216 * gst/gstbuffer.c: (gst_buffer_span):
12217 gst_buffer_span should copy the timestamp of the first buffer
12218 if they were both originally overlapping subbuffers of the
12219 same parent, using the same logic as the 'slow copy' case.
12221 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12224 Need to awaken ALL the pads when we pop a buffer, otherwise
12225 collectpads only works when there is 2 input streams.
12227 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12229 * docs/random/ensonic/media-device-daemon.txt:
12232 fix doc example, add clarification
12233 * tools/gst-launch.1.in:
12234 add initial info about GST_PLUGIN_PATH, needs more work
12236 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12238 * docs/manual/basics-bins.xml:
12239 * docs/manual/basics-elements.xml:
12240 * docs/manual/intro-basics.xml:
12241 Some more minor docs additions and updates.
12243 2006-01-11 Wim Taymans <wim@fluendo.com>
12245 * docs/manual/basics-bins.xml:
12246 * docs/manual/basics-elements.xml:
12247 Some small fixes as pointed out by Ser-ver on IRC.
12249 2006-01-10 Edward Hervey <edward@fluendo.com>
12251 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12252 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12253 the single-segment mode.
12255 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12257 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12259 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12260 (gst_base_src_perform_seek), (gst_base_src_send_event),
12261 (gst_base_src_set_property), (gst_base_src_get_property),
12262 (gst_base_src_loop), (gst_base_src_start),
12263 (gst_base_src_activate_push):
12264 * libs/gst/base/gstbasesrc.h:
12265 Name (private) union; makes Sun's Forte compiler happy (#324900).
12267 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12270 gst-register is gone.
12272 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12274 * gst/gstvalue.c: (_gst_value_initialize):
12275 make the G_TYPE_DATE instantiation work if debug is disabled
12277 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12279 * gst/gstmessage.c: (gst_message_parse_tag),
12280 (gst_message_parse_error), (gst_message_parse_warning):
12281 Don't crash when return location for error/warning debug
12282 string is NULL; add fact that return locations can be
12283 NULL to docs where appropriate.
12285 2006-01-05 Wim Taymans <wim@fluendo.com>
12287 * gst/gstplugin.c: (gst_plugin_load_file):
12288 Replace strdup by g_strdup.
12290 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12292 * docs/pwg/advanced-types.xml:
12295 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12297 submitted by: Abel Cheung
12301 Added Chinese (traditional) translation
12303 2006-01-04 Wim Taymans <wim@fluendo.com>
12305 * docs/manual/basics-pads.xml:
12306 * docs/plugins/Makefile.am:
12307 * docs/plugins/gstreamer-plugins-docs.sgml:
12308 * docs/plugins/gstreamer-plugins-sections.txt:
12309 * docs/pwg/advanced-clock.xml:
12310 * docs/pwg/advanced-scheduling.xml:
12311 * docs/pwg/advanced-types.xml:
12312 * plugins/elements/gstfdsink.c:
12313 * plugins/elements/gstfdsrc.c:
12314 * plugins/elements/gstfdsrc.h:
12315 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12316 * plugins/elements/gstidentity.h:
12317 * plugins/elements/gstqueue.h:
12318 * plugins/elements/gsttee.c:
12319 * plugins/elements/gsttee.h:
12320 * plugins/elements/gsttypefindelement.c:
12321 (gst_type_find_element_class_init):
12322 * plugins/elements/gsttypefindelement.h:
12323 Small updates to various docs.
12324 Added core plugins to docs.
12326 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12329 add a suppression for liboil's uninitialized variable
12331 2006-01-02 James Livingston <jrl at ids dot org dot au>
12333 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12336 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12337 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12338 compiler switch is being used (#325429).
12340 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12342 * gst/gstbin.c: (gst_bin_query):
12343 Disable duration query caching in bins until it gets
12344 fixed (see #324807).
12346 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12348 * tools/gst-inspect.c: (print_element_properties_info):
12349 Handle properties of POINTER and BOXED type.
12351 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12353 * gst/gst.c: (init_post):
12354 Init tags stuff and some other things before loading
12355 any static plugins (there may be other static plugins
12356 than just the GStreamer ones, and they may want to
12357 register their own tags or formats or whatever, and
12358 preferably without segfaulting).
12360 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12361 Print at least a warning in the debug logs if we drop a
12362 query just because we don't know how to adjust the value
12363 in the particular format.
12365 2005-12-24 David Schleef <ds@schleef.org>
12367 * tools/gstreamer-completion:
12368 Replacement for gst-complete written in sh and sed. Only
12369 completes names of features, but that's 90% of what I want
12370 it for. Properties are not available in registry.xml. (Maybe
12373 === release 0.10.1 ===
12375 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12378 releasing 0.10.1, "Nollaig chridheil"
12380 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12382 * docs/faq/cvs.xml:
12383 Add missing quote, should be make ERROR_CFLAGS="".
12385 2005-12-20 Wim Taymans <wim@fluendo.com>
12387 * docs/design/part-trickmodes.txt:
12388 More documentation on trickmodes.
12390 2005-12-20 Edward Hervey <edward@fluendo.com>
12392 * gst/gstcaps.c: (gst_static_caps_get_type):
12394 API addition: GST_TYPE_STATIC_CAPS
12395 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12396 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12397 * gst/gstpadtemplate.h:
12398 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12399 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12402 2005-12-18 Wim Taymans <wim@fluendo.com>
12404 * libs/gst/base/gstadapter.c:
12405 * libs/gst/base/gstadapter.h:
12406 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12407 (gst_base_sink_get_position):
12408 * libs/gst/base/gstbasesink.h:
12409 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12410 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12411 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12412 (gst_base_src_send_event), (gst_base_src_update_length),
12413 (gst_base_src_get_range), (gst_base_src_loop),
12414 (gst_base_src_start):
12415 * libs/gst/base/gstbasesrc.h:
12416 * libs/gst/base/gstbasetransform.h:
12417 * libs/gst/base/gstcollectpads.h:
12418 * libs/gst/base/gstpushsrc.c:
12419 * libs/gst/base/gstpushsrc.h:
12420 * libs/gst/dataprotocol/dataprotocol.c:
12421 * libs/gst/dataprotocol/dataprotocol.h:
12422 * libs/gst/net/gstnetclientclock.h:
12423 * libs/gst/net/gstnettimeprovider.h:
12424 Documentation updates.
12426 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12428 * docs/manual/basics-helloworld.xml:
12429 Remove superfluous closing bracket in helloworld example.
12431 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12433 * tools/gst-launch.1.in:
12434 Update gst-launch man page; add a section with useful
12435 environment variables. Fixes #323882.
12437 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12440 * gst/gst_private.h:
12441 change some char* into char[]
12443 2005-12-16 Wim Taymans <wim@fluendo.com>
12445 * gst/gstregistryxml.c: (load_feature):
12447 Don't use g_object_unref on GstObjects so that we avoid
12448 leaks on unsafe glibs.
12450 2005-12-16 Wim Taymans <wim@fluendo.com>
12452 * gst/gstbin.c: (gst_bin_recalc_state):
12455 2005-12-16 Wim Taymans <wim@fluendo.com>
12457 * common/check.mak:
12458 Added make forever target for check.
12460 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12462 * gst/gst.c: (init_post):
12463 make the registry cache file HOST_CPU-dependent
12465 2005-12-16 Andy Wingo <wingo@pobox.com>
12467 * plugins/elements/gstbufferstore.c
12468 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12471 * tests/check/gst/gstobject.c
12472 (test_fake_object_name_threaded_unique): Pay attention to
12473 g_list_sort return value.
12475 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12477 * tools/gst-feedback-m.m:
12478 Update for 0.9/0.10 (fixes #323870).
12480 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12482 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12483 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12485 * tests/check/gst/gstminiobject.c: (my_foo_init),
12486 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12487 (test_value_collection), (gst_mini_object_suite):
12488 Add test to ensure refcounts end up as expected when passing
12489 GstMiniObjects through g_object_get() and g_object_set().
12491 2005-12-14 Julien MOUTTE <julien@moutte.net>
12493 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12494 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12495 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12496 of collectpads. This version removes a lot of races without
12497 touching API/ABI. Yay !
12499 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
12501 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12502 Don't allow activation of a srcpad in pull_range if it has no
12504 Change some debug statements to be a little clearer
12506 * plugins/elements/gsttypefindelement.c:
12507 (gst_type_find_handle_src_query):
12508 Check that we have a peer before executing queries thereupon.
12510 * tests/examples/metadata/read-metadata.c: (message_loop):
12511 Use gst_bus_pop instead of gst_bus_poll when we just want it to
12512 immediately return us any available message with 0 timeout.
12514 2005-12-12 Michael Smith <msmith@fluendo.com>
12516 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12517 Don't unref factories after calling them.
12518 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12519 * plugins/elements/gsttypefindelement.c:
12520 (gst_type_find_element_chain):
12521 Free lists of factories after using them. Fixing typefinding memory
12524 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12526 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12527 (gst_plugin_feature_load):
12528 more meaningful debug output
12530 * tests/Makefile.am:
12531 * tests/old/examples/Makefile.am:
12532 make make distcheck happy again
12534 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12536 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12537 Catch the special case where we are operating chain-based,
12538 but the downstream peer pad has no chain function. Emit a
12539 custom error message in this case instead of letting the
12540 core generate one implying that this is some sort of core
12541 bug. It's not, it just means that whatever got plugged
12542 into the pipeline downstream when we announced the type
12543 can only operate pull-based, while our source can only
12544 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12545 Error string has not been marked for translation yet, as
12546 it probably needs some more work first.
12548 (gst_type_find_element_get_best_possibility):
12549 Add helper function to find the best of all available
12550 found possibilities that qualify given the min. threshold.
12552 (gst_type_find_element_handle_event):
12553 Fix the case where we get an EOS while still in TYPEFIND
12554 mode (we want to chose the best of all possible types,
12555 not just the first type that happens to be in our unsorted
12556 list of possible types).
12558 (gst_type_find_element_chain):
12559 Make sure we return GST_FLOW_ERROR when we errored out
12560 in stop_typefinding(); also, don't just find the best of
12561 all found type entries and then use the last examined
12562 type entry, but actually use the best entry.
12564 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
12566 * tests/examples/typefind/typefind.c: (type_found):
12567 * tests/examples/xml/runxml.c: (xml_loaded):
12568 More gcc4 fixes and a mem leak fix.
12570 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12572 * tests/examples/xml/createxml.c: (object_saved):
12575 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12577 * tests/Makefile.am:
12578 enable the examples even more
12580 2005-12-12 Andy Wingo <wingo@pobox.com>
12582 * libs/gst/net/gstnettimeprovider.c
12583 (gst_net_time_provider_class_init, gst_net_time_provider_init)
12584 (gst_net_time_provider_set_property)
12585 (gst_net_time_provider_get_property):
12586 API addition: Export "active" as a GObject property.
12587 (gst_net_time_provider_thread): Only respond to time queries if
12588 the time provider is active.
12590 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12591 NetTimeProvider, preserving binary compat.
12593 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12595 * tests/examples/controller/audio-example.c: (main):
12596 * tests/examples/launch/Makefile.am:
12597 convert comments again
12599 2005-12-12 Wim Taymans <wim@fluendo.com>
12601 * libs/gst/base/gstpushsrc.c:
12604 2005-12-12 Wim Taymans <wim@fluendo.com>
12606 * docs/libs/gstreamer-libs-sections.txt:
12607 Added new symbol to docs.
12609 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12610 (gst_base_src_init), (gst_base_src_set_format),
12611 (gst_base_src_default_query), (gst_base_src_query),
12612 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12613 (gst_base_src_perform_seek), (gst_base_src_send_event),
12614 (gst_base_src_default_event), (gst_base_src_event_handler),
12615 (gst_base_src_set_property), (gst_base_src_get_property),
12616 (gst_base_src_wait), (gst_base_src_do_sync),
12617 (gst_base_src_update_length), (gst_base_src_get_range),
12618 (gst_base_src_check_get_range), (gst_base_src_loop),
12619 (gst_base_src_default_negotiate), (gst_base_src_start),
12620 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12621 (gst_base_src_change_state):
12622 * libs/gst/base/gstbasesrc.h:
12623 Implement seeking to other formats than _BYTES.
12624 Implement more seeking methods correctly.
12626 Added query vmethod.
12627 Added do_seek vmethod to make life easier for subclasses
12629 API addition: gst_base_src_set_format()
12631 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12633 * tests/examples/Makefile.am:
12636 2005-12-12 Stefan Kost <ensonic@users.sf.net>
12639 * docs/random/ensonic/media-device-daemon.txt:
12640 * tests/examples/controller/.cvsignore:
12641 * tests/examples/controller/Makefile.am:
12642 * tests/examples/controller/audio-example.c: (main):
12643 * tests/examples/helloworld/.cvsignore:
12644 * tests/examples/helloworld/Makefile.am:
12645 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12646 * tests/examples/launch/.cvsignore:
12647 * tests/examples/launch/Makefile.am:
12648 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12649 * tests/examples/metadata/.cvsignore:
12650 * tests/examples/metadata/Makefile.am:
12651 * tests/examples/metadata/read-metadata.c: (message_loop),
12652 (make_pipeline), (print_tag), (main):
12653 * tests/examples/queue/.cvsignore:
12654 * tests/examples/queue/Makefile.am:
12655 * tests/examples/queue/queue.c: (event_loop), (main):
12656 * tests/examples/typefind/.cvsignore:
12657 * tests/examples/typefind/Makefile.am:
12658 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12660 * tests/examples/xml/.cvsignore:
12661 * tests/examples/xml/Makefile.am:
12662 * tests/examples/xml/createxml.c: (object_saved), (main):
12663 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12664 * tests/old/examples/Makefile.am:
12665 * tests/old/examples/TODO:
12666 * tests/old/examples/controller/.cvsignore:
12667 * tests/old/examples/controller/Makefile.am:
12668 * tests/old/examples/controller/audio-example.c:
12669 * tests/old/examples/helloworld/.cvsignore:
12670 * tests/old/examples/helloworld/Makefile.am:
12671 * tests/old/examples/helloworld/helloworld.c:
12672 * tests/old/examples/launch/.cvsignore:
12673 * tests/old/examples/launch/Makefile.am:
12674 * tests/old/examples/launch/mp3parselaunch.c:
12675 * tests/old/examples/launch/mp3play:
12676 * tests/old/examples/manual/Makefile.am:
12677 * tests/old/examples/metadata/Makefile.am:
12678 * tests/old/examples/metadata/read-metadata.c:
12679 * tests/old/examples/queue/.cvsignore:
12680 * tests/old/examples/queue/Makefile.am:
12681 * tests/old/examples/queue/queue.c:
12682 * tests/old/examples/typefind/.cvsignore:
12683 * tests/old/examples/typefind/Makefile.am:
12684 * tests/old/examples/typefind/typefind.c:
12685 * tests/old/examples/xml/.cvsignore:
12686 * tests/old/examples/xml/Makefile.am:
12687 * tests/old/examples/xml/createxml.c:
12688 * tests/old/examples/xml/runxml.c:
12689 applied some simple fixing to some examples
12690 re-enabled the working examples
12692 2005-12-12 Wim Taymans <wim@fluendo.com>
12694 * gst/gstsegment.c: (gst_segment_init),
12695 (gst_segment_set_last_stop), (gst_segment_set_seek),
12696 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12697 (gst_segment_to_running_time):
12698 Added more documentation.
12699 Make sure the last_pos value is updated properly.
12700 Make sure to_stream_time and to_running_time don't
12701 operate on wrong values.
12703 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12706 2005-12-12 Michael Smith <msmith@fluendo.com>
12708 * plugins/elements/gsttypefindelement.c: (free_entry),
12709 (gst_type_find_element_chain):
12710 Now that we're not leaking factories, make sure we keep references
12711 to them while we need them.
12713 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12715 * tests/check/gst/struct_i386.h:
12716 ifdef out the XML structs
12718 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
12720 * gst/gstvalue.c: (gst_value_transform_double_fraction):
12721 floor is not needed, F is always positive; this obviates the
12722 need for adding -lm when building without libxml
12724 2005-12-12 Wim Taymans <wim@fluendo.com>
12726 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12727 Take current playback rate into account when reporting
12730 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12732 * docs/manual/mime-world.fig:
12733 Let's try this again, this time with a file that is
12734 actually in XFig format.
12736 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12738 * docs/manual/mime-world.fig:
12739 Add audioconvert element to diagram so that it
12740 matches the text and the code (fixes #319526).
12742 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12744 * docs/pwg/building-chainfn.xml:
12745 * docs/pwg/building-pads.xml:
12746 * docs/pwg/building-state.xml:
12747 * docs/pwg/other-source.xml:
12748 Update state change stuff for 0.10 (fixes #322969).
12750 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12752 * docs/manual/advanced-dataaccess.xml:
12753 * docs/manual/appendix-checklist.xml:
12754 * docs/manual/appendix-programs.xml:
12755 * docs/manual/basics-pads.xml:
12756 * docs/manual/highlevel-components.xml:
12757 * docs/manual/manual.xml:
12758 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12759 add converters in front of pipelines; remove curly
12760 brackets for threads stuff, they no longer exist; use
12761 GST_TYPE_FRACTION for framerates; update some pieces of
12762 code to 0.10, but there's plenty more to do.
12764 * docs/manual/appendix-porting.xml:
12765 Expand on asynchroneous state changes; s/0.9/0.10/;
12766 mention disappearance of gst_init_get_popt_table()
12769 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
12771 * docs/faq/using.xml:
12772 Spider no longer exists, and neither does gst-launch-ext.
12773 Update examples to use decodebin and playbin and put
12774 converters in front of sinks (fixes #323726).
12776 2005-12-09 Michael Smith <msmith@fluendo.com>
12778 * plugins/elements/gsttypefindelement.c: (find_peek),
12779 (gst_type_find_element_chain):
12780 Fix leaking element factories in typefinding.
12781 Fix problem where we forgot about a probable type on non-seekable
12782 files, and thus later mis-typefound it.
12784 2005-12-09 Michael Smith <msmith@fluendo.com>
12786 * common/m4/gst-makecontext.m4:
12787 * common/m4/gst-mcsc.m4:
12789 * win32/common/config.h:
12790 * win32/common/config.h.in:
12791 Remove makecontext stuff; not used in 0.10 and causes problems on
12792 HPUX according to bug #322441
12794 2005-12-07 Wim Taymans <wim@fluendo.com>
12796 * tests/check/Makefile.am:
12797 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12799 * tests/check/libs/struct_i386.h:
12800 Added ABI check for libs
12802 2005-12-07 Wim Taymans <wim@fluendo.com>
12804 * tests/check/Makefile.am:
12805 And add the struct_i386.h to dist.
12807 2005-12-07 Wim Taymans <wim@fluendo.com>
12809 * tests/check/Makefile.am:
12810 * tests/check/gst/.cvsignore:
12811 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12813 * tests/check/gst/struct_i386.h:
12814 Added check for ABI compatibility.
12816 2005-12-07 Wim Taymans <wim@fluendo.com>
12818 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12819 (gst_fake_src_get_times), (gst_fake_src_create):
12820 Fix broken sync option, fixes #323259
12822 2005-12-07 Wim Taymans <wim@fluendo.com>
12827 * gst/gstcaps.c: (gst_caps_is_equal):
12828 Don't assert on NULL <--> X. Fixes #323260
12830 * gst/gstminiobject.c: (gst_mini_object_replace):
12831 If we're doing atomic operations, we might just as well use
12832 the proper way to get an atomic pointer.
12834 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12835 Clean up debugging.
12837 2005-12-07 Michael Smith <msmith@fluendo.com>
12839 * gst/parse/grammar.y:
12840 Remove handling of { } for threads.
12842 2005-12-06 David Schleef <ds@schleef.org>
12844 * libs/gst/base/gstbasetransform.c: speling fix.
12846 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12848 * docs/libs/tmpl/gstdataprotocol.sgml:
12849 * docs/random/omega/testing/gstobject.c:
12852 * gst/gstelement.c:
12853 * gst/gstelementfactory.c:
12856 * gst/gstghostpad.c:
12858 * gst/gstpadtemplate.c:
12859 * gst/gstregistryxml.c:
12860 * gst/gsttaglist.c:
12861 * gst/gsttagsetter.c:
12862 * gst/gsttypefind.c:
12864 * libs/gst/base/gstbasesrc.c:
12865 * libs/gst/net/gstnetclientclock.c:
12866 * libs/gst/net/gstnettimeprovider.c:
12867 * plugins/elements/gstfakesrc.c:
12868 * plugins/elements/gstfdsrc.c:
12869 * plugins/elements/gstfilesrc.c:
12870 * plugins/elements/gstidentity.c:
12871 * plugins/elements/gstqueue.c:
12872 * plugins/elements/gsttypefindelement.c:
12873 * plugins/indexers/gstfileindex.c:
12874 * plugins/indexers/gstmemindex.c:
12875 * tests/check/gst/gsttag.c:
12876 * tests/old/examples/cutter/cutter.c:
12877 * tests/old/examples/mixer/mixer.c:
12878 * tests/old/examples/xml/runxml.c: (main):
12879 * tests/old/testsuite/caps/normalisation.c:
12880 * tests/old/testsuite/debug/global.c:
12881 * tests/old/testsuite/parse/parse1.c:
12882 * tools/gst-xmlinspect.c:
12883 * win32/common/dirent.c:
12886 === release 0.10.0 ===
12888 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12891 releasing 0.10.0, "Maroilles"
12893 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12895 submitted by: Funda Wang <fundawang@linux.net.cn>
12899 added Chinese (Traditional) translation
12901 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12903 * docs/gst/gstreamer-sections.txt:
12904 * docs/libs/tmpl/gstdataprotocol.sgml:
12905 * docs/random/thomasvs/TODO:
12910 2005-12-05 Andy Wingo <wingo@pobox.com>
12912 patch by: Wim Taymans <wim@fluendo.com>
12914 * libs/gst/base/gstbasetransform.c
12915 (gst_base_transform_prepare_output_buf)
12916 (gst_base_transform_buffer_alloc):
12917 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
12918 alloc_buffer_and_set_caps.
12920 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
12921 set_caps on the source pad.
12922 (gst_pad_alloc_buffer_and_set_caps): New function, does what
12923 alloc_buffer used to do. Fixes #322874.
12925 * docs/gst/gstreamer-sections.txt:
12926 * docs/design/part-negotiation.txt:
12927 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
12930 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
12932 patch by: Sebastien Moutte
12935 * win32/common/config.h.in:
12936 * win32/vs6/libgstcontroller.dsp:
12939 2005-12-05 Wim Taymans <wim@fluendo.com>
12941 * gst/gstcaps.c: (gst_caps_is_equal):
12942 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12943 (gst_fake_src_create):
12944 Back out previous code changes, leave doc updates, file bugs
12947 2005-12-05 Wim Taymans <wim@fluendo.com>
12949 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12950 (gst_fake_src_get_times), (gst_fake_src_create):
12951 * plugins/elements/gstfakesrc.h:
12952 Fix broken sync code.
12954 2005-12-05 Wim Taymans <wim@fluendo.com>
12956 * gst/gstcaps.c: (gst_caps_is_equal):
12957 Comparing NULL against !NULL yields different caps, not a
12960 2005-12-05 Wim Taymans <wim@fluendo.com>
12962 * gst/gstpipeline.c:
12963 Fix small typo in docs.
12965 2005-12-05 Andy Wingo <wingo@pobox.com>
12967 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
12969 * gst/gst.c (init_post): remove hard-coded 0.9 location for
12970 registries/plugins with a MAJORMINOR one.
12971 (plugin_desc): Rename library from gstcoreleements to
12972 staticelements. Fixes #323222.
12974 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
12976 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
12977 Change debug category to 'collectpads' from 'collect_pads'
12980 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12982 patch by: Sebastien Moutte
12984 * libs/gst/controller/gstinterpolation.c:
12985 use convert function for uint64/double
12986 * win32/vs6/libgstcontroller.dsp:
12989 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
12991 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
12992 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
12994 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12995 add tests that seem to show that the guint64/gdouble conversions
12998 2005-12-02 Wim Taymans <wim@fluendo.com>
13000 * gst/gstregistry.c: (gst_registry_add_path):
13001 * gst/gstregistry.h:
13002 * gst/gstregistryxml.c:
13005 2005-12-02 Wim Taymans <wim@fluendo.com>
13007 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13008 (gst_util_uint64_scale_int):
13011 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13012 Add debug log line.
13014 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13017 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13020 * win32/common/config.h:
13021 * win32/vs6/gstreamer.dsw:
13022 * win32/vs6/libgstcoreelements.dsp:
13023 * win32/vs6/libgstelements.dsp:
13024 renamed core elements plugin
13026 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13028 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13030 do piece-wise major/minor comparison so 0.9 < 0.10
13031 also allow .exe extensions for tools
13033 2005-12-02 Michael Smith <msmith@fluendo.com>
13036 Escape a % to make gtkdoc happier; bug 322958.
13038 === release 0.9.7 ===
13040 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13043 releasing 0.9.7, "My Dog Has No Nose"
13045 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13047 * common/gst-xmlinspect.py:
13049 * docs/libs/tmpl/gstdataprotocol.sgml:
13050 * docs/random/release:
13069 * win32/common/config.h:
13070 * win32/common/config.h.in:
13071 * win32/vs6/gst_inspect.dsp:
13072 * win32/vs6/gst_launch.dsp:
13073 * win32/vs6/libgstbase.dsp:
13074 * win32/vs6/libgstelements.dsp:
13075 * win32/vs6/libgstreamer.dsp:
13076 * win32/vs7/GStreamer.vcproj:
13077 * win32/vs7/gst-inspect.vcproj:
13078 * win32/vs7/gst-launch.vcproj:
13079 * win32/vs7/libgstbase.vcproj:
13080 bump GST_MAJORMINOR to 0.10
13081 reset libtool version
13083 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13087 Added Bulgarian translation by (Alexander Shopov)
13089 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13091 * tests/check/gst/gstplugin.c:
13094 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13096 * common/gst-xmlinspect.py:
13097 * common/gtk-doc-plugins.mak:
13099 * docs/Makefile.am:
13100 * docs/gst/Makefile.am:
13101 * docs/gst/gstreamer-docs.sgml:
13102 * docs/gst/gstreamer-sections.txt:
13103 * docs/gst/gstreamer.types:
13104 * docs/gst/gstreamer.types.in:
13105 * docs/plugins/Makefile.am:
13106 * docs/plugins/gstreamer-plugins-docs.sgml:
13107 * docs/plugins/gstreamer-plugins-sections.txt:
13108 * docs/plugins/gstreamer-plugins.types:
13109 * docs/plugins/inspect.stamp:
13110 * docs/plugins/inspect/plugin-coreelements.xml:
13111 * docs/plugins/inspect/plugin-coreindexers.xml:
13112 * docs/plugins/scanobj-build.stamp:
13113 * gstreamer.spec.in:
13114 * plugins/elements/Makefile.am:
13115 * plugins/elements/gstelements.c:
13116 * plugins/elements/gstfakesink.c:
13117 * plugins/elements/gstfakesrc.c:
13118 * plugins/elements/gstfilesink.c:
13119 * plugins/elements/gstfilesrc.c:
13120 * plugins/elements/gstqueue.c:
13121 * plugins/indexers/Makefile.am:
13122 * plugins/indexers/gstindexers.c:
13123 document core plugins in a separate document just like all the
13125 rename these plugins to something starting with core
13127 2005-12-01 Andy Wingo <wingo@pobox.com>
13129 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13130 padding here before, but it missed the commit.
13132 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13134 * libs/gst/controller/gstinterpolation.c:
13135 whitespace prices have crashed, we should feel free to use some now
13136 use gst_guint64_to_gdouble
13138 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13140 * libs/gst/controller/gstcontroller.c:
13141 * libs/gst/controller/gsthelper.c:
13142 * libs/gst/controller/gstinterpolation.c:
13143 * libs/gst/controller/lib.c:
13144 wrap config.h include
13146 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13148 * docs/gst/gstreamer-sections.txt:
13151 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13153 * plugins/elements/gstelements.c:
13154 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13155 (gst_fd_sink__class_init), (gst_fd_sink__init),
13156 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13157 (gst_fd_sink__get_property):
13158 * plugins/elements/gstfdsink.h:
13159 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13160 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13161 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13162 (gst_fd_src_unlock), (gst_fd_src_set_property),
13163 (gst_fd_src_get_property), (gst_fd_src_create),
13164 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13165 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13166 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13167 (gst_fd_src_uri_handler_init):
13168 * plugins/elements/gstfdsrc.h:
13169 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13172 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13174 * docs/gst/Makefile.am:
13175 * docs/gst/gstreamer.types.in:
13179 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13185 * gst/gstregistry.h:
13186 * tests/benchmarks/complexity.c:
13187 * tests/benchmarks/mass-elements.c:
13188 * tests/check/Makefile.am:
13189 * tools/Makefile.am:
13190 * tools/gst-inspect.c:
13191 * tools/gst-xmlinspect.c:
13192 various fixes to make
13193 --disable-nls --disable-registry --disable-loadsave
13194 --disable-parse --disable-gst-debug
13195 work and get the core .so down to 360444 bytes after stripping
13197 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13202 * docs/random/thomasvs/TODO:
13203 * tests/Makefile.am:
13207 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13209 * win32/GStreamer.vcproj:
13212 * win32/Makefile.inspect:
13213 * win32/Makefile.launch:
13214 * win32/Makefile.register:
13215 * win32/README.txt:
13216 * win32/gst-inspect.vcproj:
13217 * win32/gst-launch.vcproj:
13218 * win32/gst-register.vcproj:
13219 * win32/gstelements.vcproj:
13220 * win32/gstgetbits.def:
13221 * win32/gstgetbits.vcproj:
13222 * win32/gstreamer-dbg.def:
13223 * win32/gstreamer.def:
13224 * win32/libgstbase.def:
13225 * win32/libgstbase.vcproj:
13226 * win32/link_oldruntime.c:
13230 * win32/msvc71.sln:
13231 move even more stuff, win32/ is nice and clean now
13233 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13235 * libs/gst/control/.cvsignore:
13240 * win32/gstbytestream.def:
13241 * win32/gstbytestream.vcproj:
13242 * win32/gstconfig.h:
13243 * win32/gstenumtypes.c:
13244 * win32/gstenumtypes.h:
13245 * win32/gstoptimalscheduler.vcproj:
13246 * win32/gstversion.h:
13248 * win32/testsuite/bins.vcproj:
13249 * win32/testsuite/bytestream.vcproj:
13250 * win32/testsuite/caps.vcproj:
13251 * win32/testsuite/cleanup.vcproj:
13252 * win32/testsuite/clock.vcproj:
13253 * win32/testsuite/debug.vcproj:
13254 * win32/testsuite/dlopen.vcproj:
13255 * win32/testsuite/dynparams.vcproj:
13256 * win32/testsuite/elements.vcproj:
13257 * win32/testsuite/ghostpads.vcproj:
13258 * win32/testsuite/indexers.vcproj:
13259 * win32/testsuite/negotiation.vcproj:
13260 * win32/testsuite/parse.vcproj:
13261 * win32/testsuite/plugin.vcproj:
13262 * win32/testsuite/refcounting.vcproj:
13263 * win32/testsuite/schedulers.vcproj:
13264 * win32/testsuite/states.vcproj:
13265 * win32/testsuite/tags.vcproj:
13266 * win32/testsuite/threads.vcproj:
13267 remove old win32 stuff that isn't maintained and should be
13270 2005-11-30 Andy Wingo <wingo@pobox.com>
13272 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13273 loading the gst.interfaces python module bork.
13275 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13276 available since GLib 2.2. Fixes #318031.
13278 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13281 * check/.cvsignore:
13282 * check/Makefile.am:
13283 * check/elements/.cvsignore:
13284 * check/elements/fakesrc.c:
13285 * check/elements/fdsrc.c:
13286 * check/elements/identity.c:
13287 * check/generic/.cvsignore:
13288 * check/generic/states.c:
13289 * check/gst-libs/.cvsignore:
13290 * check/gst-libs/controller.c:
13291 * check/gst-libs/gdp.c:
13292 * check/gst/.cvsignore:
13293 * check/gst/capslist.h:
13295 * check/gst/gstbin.c:
13296 * check/gst/gstbuffer.c:
13297 * check/gst/gstbus.c:
13298 * check/gst/gstcaps.c:
13299 * check/gst/gstelement.c:
13300 * check/gst/gstevent.c:
13301 * check/gst/gstghostpad.c:
13302 * check/gst/gstiterator.c:
13303 * check/gst/gstmessage.c:
13304 * check/gst/gstminiobject.c:
13305 * check/gst/gstobject.c:
13306 * check/gst/gstpad.c:
13307 * check/gst/gstpipeline.c:
13308 * check/gst/gstplugin.c:
13309 * check/gst/gstsegment.c:
13310 * check/gst/gststructure.c:
13311 * check/gst/gstsystemclock.c:
13312 * check/gst/gsttag.c:
13313 * check/gst/gstutils.c:
13314 * check/gst/gstvalue.c:
13315 * check/net/.cvsignore:
13316 * check/net/gstnetclientclock.c:
13317 * check/net/gstnettimeprovider.c:
13318 * check/pipelines/.cvsignore:
13319 * check/pipelines/cleanup.c:
13320 * check/pipelines/simple_launch_lines.c:
13321 * check/pipelines/stress.c:
13322 * check/states/.cvsignore:
13323 * check/states/sinks.c:
13325 * examples/Makefile.am:
13326 * examples/appreader/.cvsignore:
13327 * examples/appreader/Makefile.am:
13328 * examples/appreader/appreader.c:
13329 * examples/controller/.cvsignore:
13330 * examples/controller/Makefile.am:
13331 * examples/controller/audio-example.c:
13332 * examples/cutter/.cvsignore:
13333 * examples/cutter/Makefile.am:
13334 * examples/cutter/cutter.c:
13335 * examples/cutter/cutter.h:
13336 * examples/events/Makefile.am:
13337 * examples/events/seek.c:
13338 * examples/helloworld/.cvsignore:
13339 * examples/helloworld/Makefile.am:
13340 * examples/helloworld/helloworld.c:
13341 * examples/helloworld2/.cvsignore:
13342 * examples/helloworld2/Makefile.am:
13343 * examples/helloworld2/helloworld2.c:
13344 * examples/launch/.cvsignore:
13345 * examples/launch/Makefile.am:
13346 * examples/launch/mp3parselaunch.c:
13347 * examples/launch/mp3play:
13348 * examples/manual/.cvsignore:
13349 * examples/manual/Makefile.am:
13350 * examples/manual/extract.pl:
13351 * examples/metadata/Makefile.am:
13352 * examples/metadata/read-metadata.c:
13353 * examples/mixer/.cvsignore:
13354 * examples/mixer/Makefile.am:
13355 * examples/mixer/mixer.c:
13356 * examples/mixer/mixer.h:
13357 * examples/pingpong/.cvsignore:
13358 * examples/pingpong/Makefile.am:
13359 * examples/pingpong/pingpong.c:
13360 * examples/plugins/.cvsignore:
13361 * examples/plugins/Makefile.am:
13362 * examples/plugins/example.c:
13363 * examples/plugins/example.h:
13364 * examples/pwg/.cvsignore:
13365 * examples/pwg/Makefile.am:
13366 * examples/pwg/extract.pl:
13367 * examples/queue/.cvsignore:
13368 * examples/queue/Makefile.am:
13369 * examples/queue/queue.c:
13370 * examples/queue2/.cvsignore:
13371 * examples/queue2/Makefile.am:
13372 * examples/queue2/queue2.c:
13373 * examples/queue3/.cvsignore:
13374 * examples/queue3/Makefile.am:
13375 * examples/queue3/queue3.c:
13376 * examples/queue4/.cvsignore:
13377 * examples/queue4/Makefile.am:
13378 * examples/queue4/queue4.c:
13379 * examples/retag/.cvsignore:
13380 * examples/retag/Makefile.am:
13381 * examples/retag/retag.c:
13382 * examples/retag/transcode.c:
13383 * examples/thread/.cvsignore:
13384 * examples/thread/Makefile.am:
13385 * examples/thread/thread.c:
13386 * examples/typefind/.cvsignore:
13387 * examples/typefind/Makefile.am:
13388 * examples/typefind/typefind.c:
13389 * examples/xml/.cvsignore:
13390 * examples/xml/Makefile.am:
13391 * examples/xml/createxml.c:
13392 * examples/xml/runxml.c:
13393 * tests/Makefile.am:
13394 * tests/check/Makefile.am:
13395 * testsuite/.cvsignore:
13396 * testsuite/Makefile.am:
13398 * testsuite/caps/.cvsignore:
13399 * testsuite/caps/Makefile.am:
13400 * testsuite/caps/app_fixate.c:
13401 * testsuite/caps/audioscale.c:
13402 * testsuite/caps/caps.c:
13403 * testsuite/caps/caps.h:
13404 * testsuite/caps/caps_strings:
13405 * testsuite/caps/compatibility.c:
13406 * testsuite/caps/deserialize.c:
13407 * testsuite/caps/enumcaps.c:
13408 * testsuite/caps/eratosthenes.c:
13409 * testsuite/caps/filtercaps.c:
13410 * testsuite/caps/fixed.c:
13411 * testsuite/caps/fraction-convert.c:
13412 * testsuite/caps/fraction-multiply-and-zero.c:
13413 * testsuite/caps/intersect2.c:
13414 * testsuite/caps/intersection.c:
13415 * testsuite/caps/normalisation.c:
13416 * testsuite/caps/random.c:
13417 * testsuite/caps/renegotiate.c:
13418 * testsuite/caps/sets.c:
13419 * testsuite/caps/simplify.c:
13420 * testsuite/caps/string-conversions.c:
13421 * testsuite/caps/structure.c:
13422 * testsuite/caps/subtract.c:
13423 * testsuite/caps/union.c:
13424 * testsuite/debug/.cvsignore:
13425 * testsuite/debug/Makefile.am:
13426 * testsuite/debug/category.c:
13427 * testsuite/debug/commandline.c:
13428 * testsuite/debug/global.c:
13429 * testsuite/debug/output.c:
13430 * testsuite/debug/printf_extension.c:
13431 * testsuite/dlopen/.cvsignore:
13432 * testsuite/dlopen/Makefile.am:
13433 * testsuite/dlopen/dlopen_gst.c:
13434 * testsuite/dlopen/loadgst.c:
13435 * testsuite/elements/.cvsignore:
13436 * testsuite/elements/Makefile.am:
13437 * testsuite/elements/gst-inspect-check.in:
13438 * testsuite/elements/struct_i386.h:
13439 * testsuite/elements/struct_size.c:
13440 * testsuite/indexers/.cvsignore:
13441 * testsuite/indexers/Makefile.am:
13442 * testsuite/indexers/cache1.c:
13443 * testsuite/indexers/indexdump.c:
13444 * testsuite/parse/.cvsignore:
13445 * testsuite/parse/Makefile.am:
13446 * testsuite/parse/parse1.c:
13447 * testsuite/parse/parse2.c:
13448 * testsuite/plugin/.cvsignore:
13449 * testsuite/plugin/Makefile.am:
13450 * testsuite/plugin/README:
13451 * testsuite/plugin/dynamic.c:
13452 * testsuite/plugin/linked.c:
13453 * testsuite/plugin/loading.c:
13454 * testsuite/plugin/registry.c:
13455 * testsuite/plugin/static.c:
13456 * testsuite/plugin/static2.c:
13457 * testsuite/plugin/testplugin.c:
13458 * testsuite/plugin/testplugin2.c:
13459 * testsuite/plugin/testplugin2_s.c:
13460 * testsuite/plugin/testplugin_s.c:
13461 * testsuite/refcounting/.cvsignore:
13462 * testsuite/refcounting/Makefile.am:
13463 * testsuite/refcounting/bin.c:
13464 * testsuite/refcounting/element.c:
13465 * testsuite/refcounting/element_pad.c:
13466 * testsuite/refcounting/mainloop.c:
13467 * testsuite/refcounting/mem.c:
13468 * testsuite/refcounting/mem.h:
13469 * testsuite/refcounting/object.c:
13470 * testsuite/refcounting/pad.c:
13471 * testsuite/refcounting/sched.c:
13472 * testsuite/refcounting/thread.c:
13473 * testsuite/states/.cvsignore:
13474 * testsuite/states/Makefile.am:
13475 * testsuite/states/bin.c:
13476 * testsuite/states/locked.c:
13477 * testsuite/states/parent.c:
13478 * testsuite/threads/.cvsignore:
13479 * testsuite/threads/159566.c:
13480 * testsuite/threads/159852.c:
13481 * testsuite/threads/Makefile.am:
13482 * testsuite/threads/queue.c:
13483 * testsuite/threads/signals.c:
13484 * testsuite/threads/staticrec.c:
13485 * testsuite/threads/thread.c:
13486 * testsuite/threads/threadb.c:
13487 * testsuite/threads/threadc.c:
13488 * testsuite/threads/threadd.c:
13489 * testsuite/threads/threade.c:
13490 * testsuite/threads/threadf.c:
13491 * testsuite/threads/threadg.c:
13492 * testsuite/threads/threadh.c:
13493 * testsuite/threads/threadi.c:
13494 move all of these under tests
13496 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13499 * tests/Makefile.am:
13502 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13504 * docs/gst/gstreamer-sections.txt:
13505 * tests/sched/.cvsignore:
13506 * tests/sched/Makefile.am:
13507 * tests/sched/cases/(fs-fs).xml:
13508 * tests/sched/cases/(fs-i-fs).xml:
13509 * tests/sched/cases/(fs-i-i-fs).xml:
13510 * tests/sched/cases/(fs-i-q[i-fs]).xml:
13511 * tests/sched/dynamic-pipeline.c:
13512 * tests/sched/interrupt1.c:
13513 * tests/sched/interrupt2.c:
13514 * tests/sched/interrupt3.c:
13515 * tests/sched/runtestcases:
13516 * tests/sched/runxml.c:
13517 * tests/sched/sched-stress.c:
13518 * tests/sched/sort.c:
13519 * tests/sched/testcases:
13520 * tests/sched/testcases1.tc:
13521 * tests/seeking/.cvsignore:
13522 * tests/seeking/Makefile.am:
13523 * tests/seeking/seeking1.c:
13524 * tests/threadstate/.cvsignore:
13525 * tests/threadstate/Makefile.am:
13526 * tests/threadstate/test1.c:
13527 * tests/threadstate/test2.c:
13528 * tests/threadstate/threadstate1.c:
13529 * tests/threadstate/threadstate2.c:
13530 * tests/threadstate/threadstate3.c:
13531 * tests/threadstate/threadstate4.c:
13532 * tests/threadstate/threadstate5.c:
13533 remove obsolete tests
13535 * tests/bench-complexity.scm:
13536 * tests/bench-mass_elements.scm:
13537 * tests/complexity.c:
13538 * tests/complexity.gnuplot:
13539 * tests/instantiate/.cvsignore:
13540 * tests/instantiate/Makefile.am:
13541 * tests/instantiate/caps.c:
13542 * tests/mass_elements.c:
13543 * tests/network-clock-utils.scm:
13544 * tests/network-clock.scm:
13546 First pass at cleaning up tests/ dir before moving the rest
13547 Combined with CVS surgery
13549 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13552 queue has moved, update
13554 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13556 * docs/gst/gstreamer-sections.txt:
13557 remove double entries from the docs
13558 * gst/gst_private.h:
13559 * gst/gstinfo.c: (_gst_debug_init):
13560 remove the THREAD debug category
13564 * docs/gst/gstreamer.types:
13565 * plugins/elements/gstqueue.c: (gst_queue_get_type),
13566 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13567 completely move queue and fix up debugging categories
13569 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13571 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13572 make initialization portable, using LL is not
13574 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13576 * win32/common/gstconfig.h:
13579 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13581 * win32/common/libgstreamer.def:
13582 rename symbols; sort base section
13584 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13586 * gst/gstclock.c: (do_linear_regression):
13587 remove crack non-portable handrolled DEBUG macro
13589 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13591 * docs/random/release:
13593 * win32/common/gstenumtypes.c: (register_gst_object_flags),
13594 (gst_object_flags_get_type), (register_gst_bin_flags),
13595 (gst_bin_flags_get_type), (register_gst_buffer_flag),
13596 (gst_buffer_flag_get_type), (register_gst_bus_flags),
13597 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13598 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13599 (gst_caps_flags_get_type), (register_gst_clock_return),
13600 (gst_clock_return_get_type), (register_gst_clock_entry_type),
13601 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13602 (gst_clock_flags_get_type), (register_gst_state),
13603 (gst_state_get_type), (register_gst_state_change_return),
13604 (gst_state_change_return_get_type), (register_gst_state_change),
13605 (gst_state_change_get_type), (register_gst_element_flags),
13606 (gst_element_flags_get_type), (register_gst_core_error),
13607 (gst_core_error_get_type), (register_gst_library_error),
13608 (gst_library_error_get_type), (register_gst_resource_error),
13609 (gst_resource_error_get_type), (register_gst_stream_error),
13610 (gst_stream_error_get_type), (register_gst_event_type_flags),
13611 (gst_event_type_flags_get_type), (register_gst_event_type),
13612 (gst_event_type_get_type), (register_gst_seek_type),
13613 (gst_seek_type_get_type), (register_gst_seek_flags),
13614 (gst_seek_flags_get_type), (register_gst_format),
13615 (gst_format_get_type), (register_gst_index_certainty),
13616 (gst_index_certainty_get_type), (register_gst_index_entry_type),
13617 (gst_index_entry_type_get_type),
13618 (register_gst_index_lookup_method),
13619 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13620 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13621 (gst_index_resolver_method_get_type), (register_gst_index_flags),
13622 (gst_index_flags_get_type), (register_gst_debug_level),
13623 (gst_debug_level_get_type), (register_gst_debug_color_flags),
13624 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13625 (gst_iterator_result_get_type), (register_gst_iterator_item),
13626 (gst_iterator_item_get_type), (register_gst_message_type),
13627 (gst_message_type_get_type), (register_gst_mini_object_flags),
13628 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13629 (gst_pad_link_return_get_type), (register_gst_flow_return),
13630 (gst_flow_return_get_type), (register_gst_activate_mode),
13631 (gst_activate_mode_get_type), (register_gst_pad_direction),
13632 (gst_pad_direction_get_type), (register_gst_pad_flags),
13633 (gst_pad_flags_get_type), (register_gst_pad_presence),
13634 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13635 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13636 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13637 (gst_plugin_error_get_type), (register_gst_plugin_flags),
13638 (gst_plugin_flags_get_type), (register_gst_rank),
13639 (gst_rank_get_type), (register_gst_query_type),
13640 (gst_query_type_get_type), (register_gst_tag_merge_mode),
13641 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13642 (gst_tag_flag_get_type), (register_gst_task_state),
13643 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13644 (gst_alloc_trace_flags_get_type),
13645 (register_gst_type_find_probability),
13646 (gst_type_find_probability_get_type), (register_gst_uri_type),
13647 (gst_uri_type_get_type), (register_gst_parse_error),
13648 (gst_parse_error_get_type):
13649 * win32/common/gstenumtypes.h:
13650 * win32/common/gstversion.h:
13651 update visual studio generated files
13653 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13655 * win32/vs6/libgstbase.dsp:
13656 * win32/vs6/libgstelements.dsp:
13657 update project files for new locations
13659 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13664 reinstate and update
13669 * docs/random/LICENSE:
13672 2005-11-30 Edward Hervey <edward@fluendo.com>
13674 * gst/gsttypefind.c: (gst_type_find_register):
13675 * gst/gsttypefind.h:
13676 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13677 (gst_type_find_factory_dispose):
13678 * gst/gsttypefindfactory.h:
13679 Fix memory leak in GstTypeFindFactory.
13681 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13684 * plugins/elements/Makefile.am:
13685 * plugins/elements/gstelements.c:
13686 * plugins/elements/gstqueue.c:
13687 move queue from core to the elements plugin
13689 2005-11-29 Andy Wingo <wingo@pobox.com>
13691 * libs/gst/base/gstbasetransform.h:
13692 * libs/gst/base/gstbasesrc.h:
13693 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13695 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13696 of pointers by which to pad very extensible base classes (like the
13697 ones in libs/gst/base).
13699 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13701 * docs/gst/gstreamer-docs.sgml:
13702 * docs/gst/gstreamer-sections.txt:
13703 * docs/libs/gstreamer-libs-docs.sgml:
13704 * docs/libs/gstreamer-libs-sections.txt:
13705 moving documentation from core to lib
13707 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13709 * check/Makefile.am:
13711 * docs/gst/Makefile.am:
13713 * gst/base/.cvsignore:
13714 * gst/base/Makefile.am:
13716 * gst/base/gstadapter.c:
13717 * gst/base/gstadapter.h:
13718 * gst/base/gstbasesink.c:
13719 * gst/base/gstbasesink.h:
13720 * gst/base/gstbasesrc.c:
13721 * gst/base/gstbasesrc.h:
13722 * gst/base/gstbasetransform.c:
13723 * gst/base/gstbasetransform.h:
13724 * gst/base/gstcollectpads.c:
13725 * gst/base/gstcollectpads.h:
13726 * gst/base/gstpushsrc.c:
13727 * gst/base/gstpushsrc.h:
13728 * gst/base/gsttypefindhelper.c:
13729 * gst/base/gsttypefindhelper.h:
13730 * gst/check/Makefile.am:
13731 * gst/check/gstcheck.c:
13732 * gst/check/gstcheck.h:
13733 * gst/net/Makefile.am:
13734 * gst/net/gstnet.h:
13735 * gst/net/gstnetclientclock.c:
13736 * gst/net/gstnetclientclock.h:
13737 * gst/net/gstnettimepacket.c:
13738 * gst/net/gstnettimepacket.h:
13739 * gst/net/gstnettimeprovider.c:
13740 * gst/net/gstnettimeprovider.h:
13741 * libs/gst/Makefile.am:
13742 * libs/gst/base/Makefile.am:
13743 * libs/gst/base/gstbasetransform.c:
13744 * libs/gst/check/Makefile.am:
13745 * plugins/elements/Makefile.am:
13747 CVS surgery + support to move base, check, and net out of gst
13750 2005-11-29 Andy Wingo <wingo@pobox.com>
13752 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13754 * gst/gststructure.h (struct _GstStructure): Only one pointer of
13757 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13759 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13761 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13763 * gst/gstobject.h: (struct _GstObject): Only one pointer of
13764 padding; reduces object size by about 30%. We don't expect
13765 anything else to go into gstobject.
13767 * gst/gstminiobject.h (struct _GstMiniObject)
13768 (struct _GstMiniObjectClass): Only one pointer of padding; the
13769 payload is only a pointer and two ints anyway. For the class there
13770 are only two methods as well.
13772 * gst/gstelement.h (struct _GstElementClass): Removed
13773 the state_changed signal callback, it is not used.
13775 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13777 * docs/gst/gstreamer.types:
13778 fix includes, though they are a little dinky
13780 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13782 * check/Makefile.am:
13783 look in the right place for elements, a lot more chance of
13786 remove indexers and elements subdirs
13787 * plugins/Makefile.am:
13788 make indexers conditional
13790 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13794 * plugins/elements/Makefile.am:
13795 * plugins/elements/gstcapsfilter.c:
13796 * plugins/elements/gstfilesink.c:
13797 * plugins/elements/gstfilesrc.c:
13798 * plugins/elements/gstidentity.c:
13799 * plugins/indexers/Makefile.am:
13800 do CVS surgery and related build fixery to move elements
13801 and indexers in a new gstreamer/plugins directory, out of the
13804 2005-11-29 Andy Wingo <wingo@pobox.com>
13806 * check/Makefile.am:
13807 * pkgconfig/gstreamer-net-uninstalled.pc.in:
13808 * pkgconfig/gstreamer-net.pc.in:
13809 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13812 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13814 * tools/Makefile.am:
13815 * tools/gst-complete.1.in:
13816 * tools/gst-complete.c:
13817 * tools/gst-compprep.1.in:
13818 * tools/gst-compprep.c:
13819 removing -compprep and -complete
13821 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
13823 * gst/gstevent.c: (gst_event_new_new_segment),
13824 (gst_event_parse_new_segment):
13826 fix #320529 - clean up new_segment API and structure.
13827 Let's hope everyone was using the methods, and not the structure.
13829 2005-11-29 Edward Hervey <edward@fluendo.com>
13831 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13832 (gst_base_sink_event), (gst_base_sink_do_sync),
13833 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13834 Properly handle non GST_FORMAT_TIME segment
13835 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13836 Properly handle non GST_FORMAT_TIME segment
13837 * gst/gstsegment.c:
13838 This function is valid if the accumulator is 0 and the format
13839 is different from the requested format.
13841 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13843 * docs/gst/gstreamer-sections.txt:
13844 Add gst_query_new_seeking and gst_query_parse_seeking to the
13847 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
13849 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13850 Treat a pad alloc with new caps the same as if we were not
13851 negotiated, in order to allow a changing upstream output
13852 to produce a new format of data.
13854 2005-11-29 Edward Hervey <edward@fluendo.com>
13856 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13857 (gst_base_transform_event), (gst_base_transform_eventfunc):
13858 The event virtual method is now properly implemented, with a default
13860 Sub classes should call the parent_class event method. They should
13861 return FALSE if they had a problem handling the given event, or don't
13862 want GstBaseTransform to send that even downstream
13863 * gst/elements/gstidentity.c: (gst_identity_class_init),
13864 (gst_identity_init), (gst_identity_event),
13865 (gst_identity_transform_ip), (gst_identity_set_property),
13866 (gst_identity_get_property):
13867 * gst/elements/gstidentity.h:
13868 Added the single-segment boolean property.
13869 If set to TRUE, it will output a single segment of data, starting from
13870 0, will eat up all incoming newsegment, and modify the timestamp of the
13871 buffers accordingly
13873 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
13875 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13876 Don't ref NULL target pad (#322751). Improve docs.
13878 2005-11-29 Michael Smith <msmith@fluendo.com>
13880 * gst/gstregistryxml.c: (load_plugin):
13881 Don't crash if we failed to load a feature from a plugin.
13883 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13885 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13887 use more check API and less GLib API
13889 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13892 don't run checks if we don't have check
13893 * common/check.mak:
13894 remove the registry when running make torture
13895 * docs/gst/gstreamer-sections.txt:
13896 remove second multiply
13897 * gst/gstqueue.c: (gst_queue_loop):
13898 fix a compile warning when disabling debug
13900 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13903 Hey! Let's print the pad name if the pointer != NULL instead
13904 of when it == NULL :-)
13906 2005-11-28 Wim Taymans <wim@fluendo.com>
13908 * check/gst/gstutils.c: (GST_START_TEST):
13909 Updated check, add some scaling accuracy checking code.
13911 * gst/gstutils.c: (gst_util_div128_64),
13912 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
13913 (gst_util_uint64_scale_int):
13914 Fix 6 times faster division code. Optimize for common
13915 1/1 and less common X/1 cases.
13917 2005-11-28 Wim Taymans <wim@fluendo.com>
13919 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13922 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
13923 (do_linear_regression), (gst_clock_add_observation):
13925 Release lock when the clock cannot be slaved.
13926 Catch the case where the regression returned an invalid denominator.
13928 * gst/gstutils.c: (gst_util_div128_64_iterate),
13929 (gst_util_div128_64), (gst_util_uint64_scale_int64),
13930 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
13931 Add protentially more performant non-iterative 128/64 divide function
13932 that unfortunatly does not work yet.
13933 Shortcut the trivial 0/X = 0 case.
13934 Remove the warnings on overflow.
13936 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13938 * gst/gstplugin.c: (gst_plugin_register_func):
13939 everything causing a plugin not to load should be at least a WARNING
13941 2005-11-28 Stefan Kost <ensonic@users.sf.net>
13943 * docs/random/ensonic/dparams.txt:
13944 some TODOs for the next dev cycle
13945 * libs/gst/controller/gstcontroller.c:
13946 (gst_controlled_property_set_interpolation_mode),
13947 (gst_controlled_property_new):
13948 * libs/gst/controller/gstcontroller.h:
13949 use base type to assign acccessor functions
13951 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13953 * check/Makefile.am:
13954 Oops, that should have been top_srcdir
13956 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
13958 * check/Makefile.am:
13959 * check/elements/fdsrc.c: (GST_START_TEST):
13960 Use a cmdline define to specify the location of a file to use for
13961 testing, to avoid breaking distcheck.
13963 2005-11-28 Andy Wingo <wingo@pobox.com>
13965 * gst/gstpad.c (fixate_value): Use array functions for arrays.
13967 2005-11-28 Edward Hervey <edward@fluendo.com>
13969 * tools/gst-launch.c: (main):
13970 Clarify the output strings, makes it easier to translate.
13973 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
13976 don't try and build net if we don't even have <sys/socket.h>
13978 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
13980 * check/Makefile.am:
13981 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
13982 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
13983 Add tests for fdsrc seekability
13985 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13986 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
13987 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
13988 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
13989 * gst/elements/gstfdsrc.h:
13990 fdsrc should not be a 'live' source.
13991 Implement seeking on seekable fd's.
13993 * gst/gstquery.c: (gst_query_new_seeking),
13994 (gst_query_parse_seeking):
13996 Implement SEEKING query functions:
13997 *_new_seeking and *_parse_seeking
13999 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14001 * gst/gstelement.c: (gst_element_dispose):
14004 * gst/gstiterator.c:
14005 * gst/gststructure.c:
14008 * libs/gst/controller/gstcontroller.c:
14009 (gst_controlled_property_set_interpolation_mode):
14010 * libs/gst/controller/gstcontroller.h:
14011 * libs/gst/controller/gstinterpolation.c:
14012 (interpolate_none_get_enum_value_array):
14013 support controlling enums
14015 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14018 Improve documentation for gst_value_union().
14021 Change return value for union, intersect and subtract functions
14022 from gint to gboolean.
14024 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14026 * gst/gstvalue.c: (gst_value_serialize_any_list),
14027 (gst_value_transform_any_list_string),
14028 (gst_value_deserialize_list), (gst_value_deserialize_array),
14029 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14030 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14031 (gst_value_set_fraction_range_full),
14032 (gst_value_deserialize_fraction_range),
14033 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14034 (gst_value_deserialize_boolean),
14035 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14036 (gst_value_serialize_float), (gst_value_deserialize_float),
14037 (gst_string_wrap), (gst_value_deserialize_string),
14038 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14039 (gst_value_union_int_range_int_range),
14040 (gst_value_intersect_int_range_int_range),
14041 (gst_value_intersect_double_range_double_range),
14042 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14043 (gst_value_subtract_int_range_int_range),
14044 (gst_value_subtract_double_double_range),
14045 (gst_value_subtract_double_range_double_range),
14046 (gst_value_deserialize_fraction):
14048 Use gint, gdouble and gchar in our API instead of int, double and
14049 char (and make usage in gstvalue.c more consistent).
14051 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14053 * check/Makefile.am:
14054 * libs/gst/controller/Makefile.am:
14055 * libs/gst/dataprotocol/Makefile.am:
14056 fix up Makefile.am and remove GST_ENABLE_NEW
14058 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14062 * gst/base/Makefile.am:
14063 * gst/check/Makefile.am:
14064 * gst/elements/Makefile.am:
14065 * gst/net/Makefile.am:
14066 update LDFLAGS use some more
14068 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14070 * common/m4/gst-doc.m4:
14073 2005-11-26 Edward Hervey <edward@fluendo.com>
14075 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14076 This shouldn't issue a g_warning since it returns NULL if it
14077 couldn't find the plugin, and all functions using this behave
14078 properly on a NULL return. Switching to a GST_WARNING.
14080 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14082 * gst/gstbin.c: (gst_bin_handle_message_func):
14083 Don't leak clock messages.
14085 2005-11-25 Wim Taymans <wim@fluendo.com>
14087 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14088 (gst_util_uint64_scale_int):
14089 Optimisations, remove unneeded vars.
14091 2005-11-25 Wim Taymans <wim@fluendo.com>
14093 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14094 Added more checks for the high precision uint64 cases.
14096 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14097 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14098 Implement high precision (guint64 * guint64) / guint64.
14100 2005-11-24 Wim Taymans <wim@fluendo.com>
14102 * gst/base/gstbasesrc.c: (gst_base_src_query):
14103 Fix wrong percentage query.
14105 * gst/gstutils.c: (gst_util_uint64_scale),
14106 (gst_util_uint64_scale_int):
14107 Add some more common cases that can be handled
14108 efficiently to _scale.
14110 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14112 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14113 (gst_mini_object_suite):
14114 don't use check calls from threads; check probably isn't
14115 threadsafe and using a lock to make it threadsafe would
14116 defeat the purpose of this check
14117 * gst/check/gstcheck.c:
14118 * gst/check/gstcheck.h:
14119 use GST_DEBUG some more
14121 2005-11-24 Wim Taymans <wim@fluendo.com>
14123 * gst/gstutils.c: (gst_util_uint64_scale),
14124 (gst_util_uint64_scale_int):
14125 Chain trivial case to _scale_int.
14127 2005-11-24 Wim Taymans <wim@fluendo.com>
14129 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14130 Added test for scaling.
14135 * gst/gstutils.c: (gst_util_uint64_scale_int):
14136 Implemented high precision scaling code.
14138 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14141 do not crash on pad==NULL
14143 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14145 Patch by: Stefan Kost
14147 * common/gtk-doc.mak:
14148 * docs/gst/Makefile.am:
14149 * docs/libs/Makefile.am:
14150 Fix distcheck issues for the libraries docs build
14153 2005-11-24 Michael Smith <msmith@fluendo.com>
14155 * docs/manual/basics-helloworld.xml:
14156 Fix bug #315027: memory leak in example code in docs.
14158 2005-11-24 Michael Smith <msmith@fluendo.com>
14160 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14161 Unlock the PREROLL_LOCK in a failure case.
14163 2005-11-24 Wim Taymans <wim@fluendo.com>
14165 * docs/gst/gstreamer-sections.txt:
14166 * gst/base/gstadapter.h:
14167 * gst/base/gstbasesink.h:
14168 * gst/base/gstbasesrc.h:
14169 * gst/base/gstbasetransform.h:
14170 * gst/base/gstpushsrc.h:
14171 * gst/elements/gstfakesink.h:
14172 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14173 * gst/elements/gstfakesrc.h:
14174 * gst/elements/gstfilesink.h:
14175 * gst/elements/gstfilesrc.h:
14178 * gst/gstbuffer.c: (_gst_buffer_copy):
14181 * gst/gstchildproxy.c:
14183 * gst/gstelement.c:
14184 * gst/gstelementfactory.c:
14185 * gst/gstelementfactory.h:
14187 * gst/gstghostpad.h:
14189 * gst/gstinterface.h:
14190 * gst/gstminiobject.c:
14191 * gst/gstminiobject.h:
14194 * gst/gstpadtemplate.h:
14195 * gst/gstpipeline.h:
14196 * gst/gstpluginfeature.h:
14199 * gst/gsttaglist.c:
14200 * gst/gsttaglist.h:
14201 * gst/gsttagsetter.c:
14202 * gst/gsttagsetter.h:
14205 * gst/gsttypefind.h:
14208 * gst/net/gstnetclientclock.c:
14209 * gst/net/gstnetclientclock.h:
14210 * gst/net/gstnettimepacket.c:
14211 * gst/net/gstnettimeprovider.c:
14212 * gst/net/gstnettimeprovider.h:
14215 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14217 * configure.ac: back to HEAD
14219 === release 0.9.6 ===
14221 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14224 releasing 0.9.6, "Always On Time"
14226 2005-11-23 Wim Taymans <wim@fluendo.com>
14228 * docs/gst/gstreamer-sections.txt:
14229 * gst/glib-compat.c:
14230 * gst/gsttagsetter.c:
14232 * gst/net/gstnetclientclock.c:
14233 * gst/net/gstnettimepacket.h:
14236 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14238 * docs/faq/using.xml:
14239 * docs/libs/tmpl/gstcontrol.sgml:
14240 * docs/manual/advanced-dparams.xml:
14241 * docs/manual/appendix-checklist.xml:
14242 * docs/manual/basics-elements.xml:
14243 * docs/pwg/other-source.xml:
14244 * docs/random/moving-plugins:
14246 * tools/gst-launch.1.in:
14247 remove mentions of sinesrc
14249 2005-11-23 Michael Smith <msmith@fluendo.com>
14251 * docs/gst/gstreamer-sections.txt:
14252 Update for new API and API changes.
14254 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14256 Documentation typo fix.
14257 * gst/net/gstnettimepacket.c:
14258 Documentation fixes for arguments.
14260 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14262 * gst/gststructure.c: (gst_structure_get_fraction),
14263 (gst_structure_parse_value),
14264 (gst_structure_fixate_field_nearest_fraction):
14265 * gst/gststructure.h:
14266 * gst/gstutils.c: (gst_util_uint64_scale_int):
14268 * scripts/update-funcnames:
14270 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14271 Make gst_structure_fixate_field_nearest_fraction take a numerator
14272 and denominator argument instead of a GValue
14273 add gst_structure_get_fraction helper function.
14275 2005-11-23 Wim Taymans <wim@fluendo.com>
14277 * docs/design/part-TODO.txt:
14280 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14281 * gst/net/gstnetclientclock.h:
14282 Use parent fields for timeout and window_size.
14284 2005-11-23 Andy Wingo <wingo@pobox.com>
14286 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14287 rate_num/rate_denom change.
14289 * gst/net/gstnetclientclock.c
14290 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14291 OBJECT_LOCK. Don't call add_observation with the lock.
14293 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14295 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14297 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14298 deal with rate as a fraction whose numerator and denominator are
14299 GstClockTime values.
14300 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14301 master; the other fields are protected by the SLAVE_LOCK.
14302 (do_linear_regression): Note that this must be called with the
14304 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14305 OBJECT_LOCK. Call set_calibration instead of touching the
14306 variables directly.
14307 (gst_clock_set_property, gst_clock_get_property): Protect
14308 master/slave parameters with the SLAVE_LOCK.
14310 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14311 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14312 note that all of the instance variables that add_observation and
14313 the set_master functions use are protected by that lock and not
14315 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14317 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14318 the caller to take the object lock.
14320 2005-11-23 Wim Taymans <wim@fluendo.com>
14322 * gst/gsterror.c: (_gst_core_errors_init):
14324 Add error for clock stuff.
14326 * gst/gstpipeline.c: (gst_pipeline_change_state),
14327 (gst_pipeline_set_clock):
14328 Post clock error when clock cannot be used in a pipeline.
14330 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14332 * docs/gst/gstreamer-sections.txt:
14333 make two symbols from gstinfo private for the docs
14334 * gst/base/gstcollectpads.h:
14336 fix doc typos, update docs
14338 2005-11-22 Wim Taymans <wim@fluendo.com>
14340 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14341 (gst_base_sink_wait), (gst_base_sink_do_sync),
14342 (gst_base_sink_handle_event):
14343 * gst/base/gstbasesink.h:
14344 No need to store the clock, the parent element class already
14347 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14348 Updates for clock_set returning a gboolean
14350 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14351 (gst_clock_id_wait_async), (gst_clock_class_init),
14352 (gst_clock_init), (gst_clock_finalize),
14353 (gst_clock_get_internal_time), (gst_clock_get_time),
14354 (gst_clock_slave_callback), (gst_clock_set_master),
14355 (gst_clock_get_master), (do_linear_regression),
14356 (gst_clock_add_observation), (gst_clock_set_property),
14357 (gst_clock_get_property):
14359 Implement master/slave. When setting a clock as a slave, a
14360 periodic timeout is scheduled to sample master and slave times.
14361 Then the slave clock is recalibrated to match offset and rate
14362 of the master clock.
14363 Update logging a bit.
14364 Add flag so that a clock can state that is cannot be slaved to
14367 * gst/gstelement.c: (gst_element_set_clock):
14368 * gst/gstelement.h:
14369 The set clock returns a gboolean for when an element cannot
14370 deal with the selected clock in the pipeline.
14372 * gst/gstpipeline.c: (gst_pipeline_change_state),
14373 (gst_pipeline_set_clock):
14374 * gst/gstpipeline.h:
14375 Handle the case where the selected clock cannot be set on
14378 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14379 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14380 (gst_net_client_clock_set_property),
14381 (gst_net_client_clock_get_property),
14382 (gst_net_client_clock_observe_times):
14383 * gst/net/gstnetclientclock.h:
14384 Use regression code in GstClock parent, remove duplicated
14387 2005-11-22 Michael Smith <msmith@fluendo.com>
14389 * gst/gstutils.c: (gst_util_clock_time_scale):
14391 * docs/gst/gstreamer-sections.txt:
14392 Rename method to have extra underscore.
14394 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14396 * gst/elements/Makefile.am:
14397 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14398 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14399 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14400 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14401 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14402 * gst/elements/gstfakesrc.h:
14403 * gst/gstqueue.c: (queue_leaky_get_type):
14404 correctly fix GEnumValues so that nick is the short lowercase
14406 * tools/gst-inspect.c: (print_element_properties_info):
14407 also show the nick, since it's useful to use from parse_launch
14411 2005-11-22 Michael Smith <msmith@fluendo.com>
14413 * gst/gstutils.c: (gst_util_clocktime_scale):
14415 * docs/gst/gstreamer-sections.txt:
14416 Add util method for scaling a clocktime by a fraction. Useful
14417 implementation is left as an exercise for the reader.
14419 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14421 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14422 If needed, allocate storage in the destination value during
14425 2005-11-22 Edward Hervey <edward@fluendo.com>
14427 * docs/gst/gstreamer-sections.txt:
14430 * gst/gsturitype.c:
14431 * gst/gsturitype.h:
14432 * gst/gstutils.c: (gst_util_set_object_arg):
14433 * tools/gst-compprep.c: (main):
14434 * tools/gst-inspect.c: (print_element_properties_info):
14435 Removed GstURI, closes bug #321061
14437 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14439 * check/gst/gststructure.c: (GST_START_TEST):
14440 * gst/gststructure.c: (gst_structure_parse_value):
14441 Oops, broke automatic string type parsing.
14442 Add a test to catch it in future.
14444 2005-11-22 Andy Wingo <wingo@pobox.com>
14446 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14447 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14448 Actually rename the function implementations. Grr.
14450 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14452 * check/gst/capslist.h:
14454 * check/gst/gststructure.c: (GST_START_TEST),
14455 (gst_structure_suite):
14456 Test automatic value type detection in gst_structure_from_string.
14457 * gst/gststructure.c: (gst_structure_parse_value):
14458 Add fraction as a type we try and guess automatically in
14459 caps/structure strings.
14461 2005-11-22 Andy Wingo <wingo@pobox.com>
14463 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14465 * gst/gsttagsetter.h:
14466 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14467 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14468 (gst_tag_setter_add_tag_valist)
14469 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14470 _add_values, _add_valist, and _add_valist_values. Since this is an
14471 interface the function suffixes should be more explicit so
14472 language binding don't end up with element.add_valist ->
14473 gst_tag_setter_add_valist, for example. Fixes #322069.
14475 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14477 * check/gst/gstcaps.c: (GST_START_TEST):
14478 Extend caps string tests to check that a caps to string
14479 conversion is reversible and produces the same caps.
14481 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14482 Output "fraction" as the generic type fraction range, so caps
14483 serialisation and deserialisation works.
14484 * check/gst/capslist.h:
14485 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14486 Support 'MIN' and 'MAX' for deserialising fractions.
14488 2005-11-22 Andy Wingo <wingo@pobox.com>
14490 * gst/gstevent.h (gst_event_new_new_segment)
14491 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14492 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14493 Renamed from *_newsegment, *_buffersize, *_notarget.
14495 * scripts/update-funcnames: New script, performs the changes
14498 2005-11-22 Wim Taymans <wim@fluendo.com>
14500 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14501 Make sure the GstFlowReturn is returned.
14503 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14504 (gst_bus_add_signal_watch):
14506 add gst_bus_add_signal_watch_full.
14508 * gst/gstplugin.c: (gst_plugin_load_file):
14509 Small style cleanup.
14511 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14513 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14514 Block the fakesrc srcpad when we send an event, to avoid
14515 contention on the stream_lock causing random test failures.
14517 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14519 * check/gst/gstvalue.c: (GST_START_TEST):
14520 * gst/gstvalue.c: (gst_value_fraction_subtract):
14523 2005-11-22 Stefan Kost <ensonic@users.sf.net>
14526 include "gstchildproxy.h"
14527 * gst/gstchildproxy.h:
14528 * libs/gst/controller/gstcontroller.h:
14529 use G_GNUC_NULL_TERMINATED
14531 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14533 * check/gst/capslist.h:
14534 * check/gst/gstcaps.c: (GST_START_TEST):
14535 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14536 * gst/gststructure.c: (gst_structure_parse_range),
14537 (gst_structure_fixate_field_nearest_fraction):
14538 * gst/gststructure.h:
14539 * gst/gstvalue.c: (gst_value_init_fraction_range),
14540 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14541 (gst_value_collect_fraction_range),
14542 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14543 (gst_value_set_fraction_range_full),
14544 (gst_value_get_fraction_range_min),
14545 (gst_value_get_fraction_range_max),
14546 (gst_value_serialize_fraction_range),
14547 (gst_value_transform_fraction_range_string),
14548 (gst_value_compare_fraction_range),
14549 (gst_value_deserialize_fraction_range),
14550 (gst_value_intersect_fraction_fraction_range),
14551 (gst_value_intersect_fraction_range_fraction_range),
14552 (gst_value_subtract_fraction_fraction_range),
14553 (gst_value_subtract_fraction_range_fraction),
14554 (gst_value_subtract_fraction_range_fraction_range),
14555 (gst_value_collect_fraction), (gst_value_fraction_multiply),
14556 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14557 (gst_value_transform_string_fraction), (_gst_value_initialize):
14559 Implement fraction ranges and extend GstFraction to support
14560 arithmetic subtraction, as well as deserialization from integer
14561 strings such as "100"
14562 Add a testsuite as for int and double range set operations
14564 2005-11-21 Andy Wingo <wingo@pobox.com>
14566 * gst/gsttaglist.h:
14568 * gst/gststructure.h: Add glib-compat.h.
14570 2005-11-21 Wim Taymans <wim@fluendo.com>
14572 * gst/gstbin.c: (gst_bin_change_state_func):
14575 2005-11-21 Wim Taymans <wim@fluendo.com>
14577 * gst/gstsegment.h:
14578 And add a nice define too.
14580 2005-11-21 Wim Taymans <wim@fluendo.com>
14582 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14583 (gst_segment_new), (gst_segment_free), (gst_segment_init),
14584 (gst_segment_set_duration), (gst_segment_set_last_stop),
14585 (gst_segment_set_seek), (gst_segment_set_newsegment),
14586 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14587 (gst_segment_clip):
14588 * gst/gstsegment.h:
14589 Make binding friendly.
14591 2005-11-21 Andy Wingo <wingo@pobox.com>
14593 * gst/gsttagsetter.h:
14594 * gst/gsttaglist.h:
14595 * gst/gststructure.h:
14597 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14600 * gst/gsterror.c (_gst_core_errors_init):
14601 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14604 * gst/Makefile.am (gst_headers): Add glib-compat.h.
14605 (noinst_HEADERS): noinst the -private.
14607 2005-11-21 Michael Smith <msmith@fluendo.com>
14610 * gst/gstregistry.h:
14611 Remove unimplemented declarations for which we can see no sensible
14614 2005-11-21 Andy Wingo <wingo@pobox.com>
14616 * gst/gst.h: Include glib-compat.h.
14618 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14620 * gst/glib-compat.c: Include the public and the private header.
14622 * gst/glib-compat-private.h: Copied here from glib-compat.h.
14626 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14628 * check/gst/gstevent.c (create_custom_events): Check that
14629 FLUSH_STOP is serialized.
14631 * check/elements/identity.c (event_func):
14632 * check/elements/fakesrc.c (event_func): No stream lock, the core
14635 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14636 stream lock taking, yay.
14638 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14639 ensure that core takes the stream lock.
14641 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14644 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14645 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14646 it already. For the flush start we do take it though so we get the
14647 right preroll state change messages.
14649 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14650 the stream lock here, the core does it for us.
14652 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14653 GST_STREAM_GET_LOCK.
14654 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
14655 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
14656 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14657 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14658 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
14659 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14661 * gst/gstpad.c: Update for stream lock name change.
14663 * gst/base/gstbasesink.c: Update for preroll lock name change.
14665 2005-11-21 Wim Taymans <wim@fluendo.com>
14667 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14668 (gst_clock_get_master):
14670 * gst/gstsystemclock.c: (gst_system_clock_init):
14671 Convert Clock flags to object flags.
14672 Added methods to manage master/slave clocks.
14674 2005-11-21 Wim Taymans <wim@fluendo.com>
14676 * check/gst/gstsegment.c: (GST_START_TEST):
14677 * docs/design/part-TODO.txt:
14678 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14679 (gst_base_sink_event), (gst_base_sink_do_sync),
14680 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14681 (gst_base_sink_query), (gst_base_sink_change_state):
14682 * gst/base/gstbasesink.h:
14683 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14684 (gst_base_src_default_newsegment),
14685 (gst_base_src_configure_segment), (gst_base_src_do_seek),
14686 (gst_base_src_get_range), (gst_base_src_loop),
14687 (gst_base_src_change_state):
14688 * gst/base/gstbasesrc.h:
14689 * gst/base/gstbasetransform.c:
14690 (gst_base_transform_prepare_output_buf),
14691 (gst_base_transform_event), (gst_base_transform_change_state):
14692 * gst/base/gstbasetransform.h:
14693 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14694 (gst_collect_pads_event):
14695 * gst/base/gstcollectpads.h:
14696 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14697 (gst_fake_src_create):
14698 * gst/elements/gstfakesrc.h:
14699 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14700 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14701 (gst_segment_set_last_stop), (gst_segment_set_seek),
14702 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14703 (gst_segment_to_running_time), (gst_segment_clip):
14704 * gst/gstsegment.h:
14705 More segment updates, replace code in plugins with segment
14708 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14710 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14711 Don't ignore sscanf results
14713 2005-11-21 Andy Wingo <wingo@pobox.com>
14715 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14718 * *.c: Ran scripts/update-macros. Oh yes.
14720 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14721 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14724 * scripts/update-macros: New script. Run it on your files to
14725 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14728 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14730 * docs/gst/Makefile.am:
14731 * docs/gst/gstreamer-docs.sgml:
14732 * docs/gst/gstreamer-sections.txt:
14733 * docs/gst/gstreamer.types:
14735 more docs fixes, add new api to the docs
14737 2005-11-21 Andy Wingo <wingo@pobox.com>
14739 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14740 state_broadcast call.
14742 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14744 2005-11-21 Julien MOUTTE <julien@moutte.net>
14746 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14747 function calls for arrays.
14749 2005-11-21 Stefan Kost <ensonic@users.sf.net>
14751 * docs/random/ensonic/media-device-daemon.txt:
14752 wild idea, can this be done?
14753 * docs/gst/gstreamer-sections.txt:
14758 * gst/gstpluginfeature.c:
14762 doc fixes and additions
14764 2005-11-21 Andy Wingo <wingo@pobox.com>
14766 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
14767 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
14768 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
14769 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14770 private to the basesrc implementation.
14772 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14773 behalf of event function if necessary. It should no longer be
14774 necessary to take the stream lock in pad's event functions. Fixes
14777 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14778 * docs/gst/gstreamer-sections.txt:
14779 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14780 (gst_structure_fixate_field_nearest_double),
14781 (gst_structure_fixate_field_boolean):
14782 * gst/gststructure.h:
14783 * win32/common/libgstreamer.def:
14784 * win32/gstreamer.def:
14786 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14789 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
14791 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14792 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14793 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14794 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14795 (gst_fdsrc_uri_handler_init):
14796 * gst/elements/gstfdsrc.h:
14797 Port fd:// URI handler from 0.8 to fdsrc
14799 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14801 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14802 (gst_value_serialize_fourcc):
14804 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14805 consistent with our other format defines (#320324).
14807 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14809 * gst/gstvalue.c: (gst_value_is_fixed):
14810 Revert previous commit. Value lists are by definition
14811 not fixed, as they are a list of possible values.
14813 2005-11-21 Andy Wingo <wingo@pobox.com>
14815 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14816 during the stable series if we need it. Fixes #319178.
14818 * gst/gstevent.c (gst_event_new_filler): Removed.
14820 * check/gst/gstevent.c: Update comment about filler events.
14822 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14824 * gst/gstvalue.c: (gst_value_is_fixed):
14825 Should handle both value arrays and value lists.
14827 2005-11-21 Andy Wingo <wingo@pobox.com>
14829 patch by: Alessandro Dessina <alessandro nnva org>
14831 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14832 functions to access arrays. Fixes #321962.
14834 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14836 * docs/gst/gstreamer.types:
14837 gst_collectpads_get_type => gst_collect_pads_get_type.
14839 * gst/base/gstbasetransform.c:
14840 Remove unused SIGNAL_HANDOFF enum.
14842 2005-11-21 Andy Wingo <wingo@pobox.com>
14844 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14845 the event type (upstream, downstream, serialized). Renamed
14846 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14847 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14848 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14850 * gst/gstevent.c: Update for new CUSTOM event names.
14852 * check/gst/gstevent.c: Update check for new CUSTOM event names.
14855 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14858 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14860 * docs/gst/gstreamer-sections.txt:
14861 * win32/common/libgstbase.def:
14862 * win32/libgstbase.def:
14863 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14864 (gst_collect_pads_class_init), (gst_collect_pads_init),
14865 (gst_collect_pads_finalize), (gst_collect_pads_new),
14866 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14867 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14868 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14869 (gst_collect_pads_start), (gst_collect_pads_stop),
14870 (gst_collect_pads_peek), (gst_collect_pads_pop),
14871 (gst_collect_pads_available), (gst_collect_pads_read),
14872 (gst_collect_pads_flush), (gst_collect_pads_event),
14873 (gst_collect_pads_chain):
14874 * gst/base/gstcollectpads.h:
14875 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14876 unimplemented functions as unimplemented. Add padding to
14877 GstCollectData. (#320766, #320423)
14879 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
14881 * gst/gstmessage.c:
14882 Improve docs for DURATION message (usage of duration parameter)
14885 2005-11-20 Wim Taymans <wim@fluendo.com>
14887 * check/Makefile.am:
14888 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
14892 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14893 (gst_segment_set_seek), (gst_segment_set_newsegment),
14894 (gst_segment_to_stream_time), (gst_segment_to_running_time),
14895 (gst_segment_clip):
14896 * gst/gstsegment.h:
14897 Added segment helper structure and methods. Not fully implemented
14899 Added segment check.
14901 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
14903 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14904 Add a deserialisation test for fractions
14905 * examples/metadata/read-metadata.c: (message_loop),
14906 (make_pipeline), (main):
14907 Fix up metadata reading sample.
14908 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14910 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14911 Don't try and fixate empty caps
14912 * gst/gst_private.h:
14913 Wrap in G_BEGIN_DECLS/G_END_DECLS
14914 * gst/gstvalue.c: (gst_value_collect_fraction),
14915 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
14916 (gst_value_transform_string_fraction),
14917 (gst_value_compare_fraction):
14918 Add some extra guards to ensure that we don't end up
14919 with an invalid denominator of 0 in a gstfraction and
14920 that fractions always get reduced.
14922 2005-11-20 Wim Taymans <wim@fluendo.com>
14924 * docs/gst/gstreamer-sections.txt:
14926 * gst/gstelement.c:
14935 2005-11-20 Wim Taymans <wim@fluendo.com>
14937 * docs/design/part-TODO.txt:
14939 Make a proper enum of the flag.
14941 2005-11-19 Wim Taymans <wim@fluendo.com>
14943 * docs/design/part-TODO.txt:
14944 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
14945 (gst_format_to_quark), (gst_format_register):
14947 * gst/gstquery.c: (_gst_query_initialize),
14948 (gst_query_type_get_name), (gst_query_type_to_quark),
14949 (gst_query_type_register):
14951 Add type to quark and type to string conversions.
14953 2005-11-19 Andy Wingo <wingo@pobox.com>
14955 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
14958 2005-11-19 Wim Taymans <wim@fluendo.com>
14960 * docs/design/part-TODO.txt:
14961 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
14962 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
14963 (gst_bin_handle_message_func):
14965 Make message handling overridable.
14967 2005-11-19 Andy Wingo <wingo@pobox.com>
14969 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
14972 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
14974 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
14975 is a GstClockTime. Fixes #321710.
14977 * gst/gstclock.h (GstClock): Remove offset property. Add
14978 internal_calibration and external_calibration. Fix padding. Pad
14979 also by GstClockTime so we don't run into problems.
14981 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
14982 (gst_clock_get_rate_offset): Remove.
14983 (gst_clock_set_time_adjust): Remove. Fixes #321712.
14986 * gst/gstutils.c (g_static_rec_cond_wait)
14987 (g_static_rec_cond_timed_wait): Removed, no longer needed.
14989 * gst/gstbin.c: Remove terrible continue_state prototype.
14991 * gst/gstelement.h (gst_element_continue_state): Make public.
14993 * gst/gstelement.h:
14994 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
14995 by continue_state. Fixes #319389.
14997 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
14998 Really fixes #168438. However I don't see anywhere where the
14999 filter function is called... stupid GStreamer...
15001 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15002 don't have a dispose function, so it won't get called when the
15003 object is unreffed, but oh well!
15005 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15006 allows a destroy function to be set so user_data can be freed.
15008 (gst_index_set_filter): Call gst_index_set_filter_full.
15010 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15012 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15013 string should produce an error, given the lack of a way to
15014 represent NULL strings. Fixes #165650.
15017 * gst/gstvalue.c (gst_value_array_append_value)
15018 (gst_value_array_prepend_value, gst_value_array_get_size)
15019 (gst_value_array_get_value): New API, copied from
15020 gst_value_list_*, only operates on arrays.
15021 (gst_value_list_append_value, gst_value_list_prepend_value)
15022 (gst_value_list_concat, gst_value_list_get_size)
15023 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15025 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15026 init_list, because it works on both.
15027 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15028 (gst_value_copy_list_or_array): Renamed from copy_list.
15029 (gst_value_free_list_or_array): Renamed from free_list.
15030 (gst_value_collect_list_or_array): Renamed from collect_list.
15031 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15032 (gst_value_list_or_array_peek_pointer): Renamed from
15034 (_gst_value_array_value_table, _gst_value_list_value_table):
15035 Update value table functions.
15036 (gst_value_compare_list_or_array): Renamed from compare_list.
15038 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15041 * gst/gsttaglist.c:
15042 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15043 GstTagList*. Fixes #143472.
15045 * gst/gststructure.h: Clarify what the foreach/map functions can
15046 or can't do to their arguments.
15048 2005-11-18 Wim Taymans <wim@fluendo.com>
15050 * gst/gstclock.c: (gst_clock_set_calibration),
15051 (gst_clock_get_calibration):
15053 Calibration can be set with internal time equal to current
15056 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15062 2005-11-18 Andy Wingo <wingo@pobox.com>
15065 * pkgconfig/gstreamer-net.pc.in:
15066 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15067 * pkgconfig/Makefile.am: Add net pkgconfig files.
15069 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15072 * gst/gstghostpad.c:
15078 2005-11-18 Andy Wingo <wingo@pobox.com>
15080 * gst/net/gstnetclientclock.c: Turn off debugging.
15082 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15083 times connverge somewhat. Can't make a real test.
15085 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15086 integer arithmetic. Return the minimum of the domain, which can be
15087 set as "internal" for gst_clock_set_calibration.
15088 (gst_net_client_clock_observe_times): Call _set_calibration.
15089 (gst_net_client_clock_new): Call _set_calibration instead of
15092 * check/net/gstnetclientclock.c (test_functioning): Use the right
15096 * gst/gstclock.c (gst_clock_get_calibration)
15097 (gst_clock_set_calibration): New functions, obsolete the ones I
15098 added yesterday. Doh. Precision issues mean we have to extrapolate
15099 from a point in the more recent past than 1970.
15100 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15102 (gst_clock_adjust_unlocked): Use the right calibration data.
15104 2005-11-18 Edward Hervey <edward@fluendo.com>
15106 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15107 Also reset the ->current_* values in READY->PAUSED
15109 2005-11-18 Andy Wingo <wingo@pobox.com>
15111 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15112 Whoops, check the right fd. Also add some debugging.
15113 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15114 (do_linear_regression): Add a crapload of debugging. Subtract off
15115 the minimum values from the input series to discard unneeded bits.
15116 Use only int arithmetic. There is still double arithmetic when
15117 calculating the intercept that needs fixing. Return boolean to
15118 indicate success; FALSE would mean the domain or range is too
15119 great. Still needs fixes.
15121 2005-11-18 Wim Taymans <wim@fluendo.com>
15123 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15124 For the current position in stream time, we need to subtract
15127 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15128 Release lock before calling the callback function of async
15131 2005-11-18 Andy Wingo <wingo@pobox.com>
15133 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15134 Port goes all the way to MAXUINT16.
15136 * gst/net/gstnettimeprovider.c: Make the port range the same as
15137 for the kernel: 0 assigns, otherwise ports are less than
15140 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15143 * check/net/gstnetclientclock.c (test_functioning): Add the start
15146 2005-11-18 Wim Taymans <wim@fluendo.com>
15148 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15149 (gst_bin_remove_func), (bin_bus_handler):
15151 Removing a clock provider from a bin, triggers a clock lost message
15152 so that a new clock will be selected.
15153 Adding a clock to a bin triggers a clock provider message.
15154 Make sure we reselect a clock when we received a clock lost message.
15155 Keep a reference to the element that provided the clock.
15157 2005-11-18 Andy Wingo <wingo@pobox.com>
15159 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15160 the clock initially so it produces values around the base time.
15161 (gst_net_client_clock_class_init): Typo fix.
15162 (gst_net_client_clock_thread): Add note on when the socket gets
15165 2005-11-17 Wim Taymans <wim@fluendo.com>
15167 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15168 Free remote and local time arrays.
15170 2005-11-17 Wim Taymans <wim@fluendo.com>
15172 * gst/net/gstnetclientclock.c: (do_linear_regression),
15173 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15174 Fix compilation, uninitialized vars and a forgotten continue.
15176 2005-11-17 Andy Wingo <wingo@pobox.com>
15178 * check/Makefile.am (check_PROGRAMS):
15179 * check/net/gstnetclientclock.c: Add a most minimal test for the
15180 net client clock. More to come later.
15182 * gst/net/gstnet.h:
15183 * gst/net/Makefile.am: Add netclientclock.
15185 * gst/net/gstnetclientclock.h:
15186 * gst/net/gstnetclientclock.c: New files, implement an untested
15187 GstClock that takes its time from a network time provider.
15188 Implements the algorithm in network-clock.scm.
15190 * tests/network-clock.scm (*window-size*): Rename from
15192 * tests/network-clock.scm (network-time):
15193 * tests/network-clock-utils.scm (q-push): Update callers.
15195 2005-11-17 Wim Taymans <wim@fluendo.com>
15197 * gst/gstbin.c: (gst_bin_provide_clock_func),
15198 (gst_bin_sort_iterator_new):
15199 And unref the child too..
15201 2005-11-17 Wim Taymans <wim@fluendo.com>
15203 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15204 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15205 Refactor the sort iterator so it can be used while holding the
15207 Make clock selection select a clock closest to the source.
15209 2005-11-17 Michael Smith <msmith@fluendo.com>
15211 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15212 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15214 Anonymous structs are a gcc (and some other compilers) extension, so
15215 don't use them. Since this is only for ABI-compatibility, and our
15216 API/ABI freeze is over in a few days, this whole thing will only
15217 last a few days, so don't bother trying to think up a meaningful
15218 name for the struct.
15220 2005-11-17 Andy Wingo <wingo@pobox.com>
15222 * gst/gstclock.h (GstClock): Add rate and offset properties,
15223 preserving ABI stability. Add rate/offset accessors. Will file bug
15224 for the freeze break.
15226 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15227 and offset, trying to keep precision and avoiding
15228 underflow/overflow.
15229 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15230 functions. Make gst_clock_set_time_adjust obsolete.
15231 (gst_clock_set_time_adjust): Note that this function is obsolete.
15232 Will file bug soon.
15234 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15235 greppable by using GST_PADDING-1+1.
15237 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15239 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15241 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15242 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15244 * gst/gstpadtemplate.h:
15245 * gst/gstpluginfeature.h:
15246 Don't use c++ style comments in headers (#321638).
15248 2005-11-16 Andy Wingo <wingo@pobox.com>
15250 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15253 * check/net/gstnettimeprovider.c: Check to see that the time
15254 provider actually provides times. Works, yo!
15256 2005-11-16 Wim Taymans <wim@fluendo.com>
15258 * check/Makefile.am:
15261 * check/elements/fakesrc.c: (GST_START_TEST):
15262 Set element to NULL before disposing it.
15264 2005-11-16 Andy Wingo <wingo@pobox.com>
15266 * gst/net/Makefile.am:
15267 * gst/net/gstnet.h:
15268 * gst/net/gstnettimeprovider.c:
15269 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15270 provider, include it from gstnet.h, and add it to the build.
15272 * gst/net/gstnettimepacket.h:
15273 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15274 sending and receiving.
15276 2005-11-16 Wim Taymans <wim@fluendo.com>
15278 * check/Makefile.am:
15279 Enable valgrind check.
15281 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15282 (gst_fake_src_alloc_buffer):
15285 2005-11-16 Wim Taymans <wim@fluendo.com>
15287 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15288 Call parent finalize too.
15290 2005-11-16 Wim Taymans <wim@fluendo.com>
15292 * check/Makefile.am:
15293 Enable valgrind check that should work fine now.
15295 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15296 * gst/gstqueue.c: (gst_queue_init):
15297 Fix memleaks in pad allocation.
15299 2005-11-16 Andy Wingo <wingo@pobox.com>
15301 * gst/net/Makefile.am:
15302 * gst/net/gstnet.h: New part of core to hold network elements and
15303 objects. Put in core because it exposes API that applications want
15304 to use. The library is named libgstnet-tempname right now because
15305 of the existing libgstnet in gst-plugins-base. Solution is
15306 probably to rename the one in plugins-base; will file a bug for
15309 * gst/net/gstnettimeprovider.c:
15310 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15311 get_time call over the network.
15314 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15316 * check/Makefile.am:
15317 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15318 get additions shortly.
15320 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15322 * gst/gstpad.c: (gst_pad_new_from_static_template):
15324 add gst_pad_new_from_static_template functions
15325 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15326 (gst_check_setup_sink_pad):
15327 * gst/elements/gsttee.c: (gst_tee_init):
15330 2005-11-16 Wim Taymans <wim@fluendo.com>
15332 * gst/gstpad.c: (gst_pad_pause_task):
15333 Removed warning, it's not really an error either.
15335 2005-11-16 Wim Taymans <wim@fluendo.com>
15337 * gst/base/gstbasetransform.c:
15338 (gst_base_transform_prepare_output_buf),
15339 (gst_base_transform_event):
15340 Check if the caps are NULL, this can happen if the element
15341 is shutting down and the pad caps are set to NULL.
15343 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15345 * gst/elements/gsttee.c: (gst_tee_init):
15346 fix pad template leak in tee
15348 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15350 * gst/glib-compat.c: (g_value_dup_gst_object):
15351 * gst/glib-compat.h:
15352 * gst/gstpad.c: (gst_pad_set_property):
15353 use gst_object_ref when setting the pad template; this will
15354 trigger the pad template leaks on GLib 2.6 and the slaves
15356 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15358 * gst/glib-compat.c: (gst_flags_get_first_value):
15359 * gst/glib-compat.h:
15360 * gst/gstregistryxml.c:
15361 remove functions copied from GLib 2.6
15363 2005-11-16 Michael Smith <msmith@fluendo.com>
15366 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15367 do, but only breaks with newer valgrind versions. We're not a
15368 valgrind tool, we have no link-time dependencies on libcoregrind.
15370 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15372 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15374 * gst/gstmessage.h:
15377 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15379 * gst/base/gstbasesrc.c: (gst_base_src_init):
15380 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15381 * gst/gstqueue.c: (gst_queue_init):
15382 * gst/gstregistryxml.c: (load_feature):
15383 Revert all these unrefs, they don't even pass make check !
15385 2005-11-15 Johan Dahlin <johan@gnome.org>
15387 * gst/base/gstbasesrc.c: (gst_base_src_init):
15388 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15389 * gst/gstqueue.c: (gst_queue_init):
15390 Free pad templates, fixes a couple of leaks.
15392 2005-11-15 Daniel Fischer <dan at f3c dot com>
15394 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15396 * gst/gstpad.c: (gst_pad_get_property):
15397 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15398 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15401 2005-11-15 Wim Taymans <wim@fluendo.com>
15406 2005-11-15 Andy Wingo <wingo@pobox.com>
15408 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15410 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15411 using GST_CLOCK_TIME_NONE to disable base time management.
15412 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15413 time if it was NONE before.
15414 (gst_pipeline_change_state): Only munge the base time if
15415 stream_time != GST_CLOCK_TIME_NONE.
15417 * check/gst/gstpipeline.c (test_base_time): Punt around the
15418 problem of the probe not being called, because that's not the
15419 issue I'm looking at. Add a check that setting stream_time to NONE
15420 disables base time management.
15422 2005-11-15 Wim Taymans <wim@fluendo.com>
15424 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15425 segment_stop == -1 at startup.
15427 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15428 (gst_base_transform_change_state):
15429 Init segment values at start.
15431 2005-11-15 Wim Taymans <wim@fluendo.com>
15433 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15434 0 segment values are 0 in any format.
15436 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15437 * gst/base/gstbasetransform.h:
15438 Parse newsegment correctly in basetransform
15440 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15441 Sync to clock using updated segment values.
15443 2005-11-15 Andy Wingo <wingo@pobox.com>
15445 * check/gst/gstpipeline.c (test_base_time): Add check that the
15446 base time and stream time are reset correctly.
15448 2005-11-15 Wim Taymans <wim@fluendo.com>
15450 * docs/design/part-TODO.txt:
15451 Some more TODO items.
15453 2005-11-15 Andy Wingo <wingo@pobox.com>
15455 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15456 error if the user selected "no clock" as the clocking method.
15458 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15459 timestamps with live capture.
15461 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15462 is 0 but we are a live source, timestamp the buffers using the
15465 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15467 * docs/gst/gstreamer-sections.txt:
15469 * gst/gstghostpad.c:
15474 2005-11-14 Wim Taymans <wim@fluendo.com>
15477 add suppressions from Wim's Debian machine
15479 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15482 add suppressions from Andy's AMD64 Ubuntu machine
15484 2005-11-14 Andy Wingo <wingo@pobox.com>
15486 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15487 STATE_LOCK not necessary. Fixes #311489.
15489 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15492 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15493 this function is not implemented.
15495 2005-11-14 Julien MOUTTE <julien@moutte.net>
15497 * gst/base/gstbasetransform.c:
15498 (gst_base_transform_prepare_output_buf):
15499 Ref the source pad caps while we need them.
15502 2005-11-11 Wim Taymans <wim@fluendo.com>
15504 * docs/gst/gstreamer-sections.txt:
15505 Added some docs for GstCollectData.
15507 * gst/base/gstadapter.c:
15508 Some small code example fix.
15510 * gst/base/gstcollectpads.c:
15511 * gst/base/gstcollectpads.h:
15512 Document some more.
15514 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15516 * configure.ac: back to HEAD
15518 === release 0.9.5 ===
15520 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
15523 releasing 0.9.5, "Bike Lunch Day"
15525 2005-11-11 Wim Taymans <wim@fluendo.com>
15527 * gst/gstbuffer.c: (_gst_buffer_copy):
15530 * gst/gstcaps.c: (gst_caps_is_equal):
15532 Make _is_equal fast in the trivial cases.
15534 * gst/gstminiobject.c:
15535 * gst/gstminiobject.h:
15536 More docs. Spifify .h file.
15541 2005-11-11 Wim Taymans <wim@fluendo.com>
15543 * gst/base/gstbasetransform.c:
15544 (gst_base_transform_prepare_output_buf),
15545 (gst_base_transform_handle_buffer):
15547 If we're processing a buffer and need to allocate an output
15548 buffer, we cannot accept a format change. If we did get a
15549 format change, we have to alloc a buffer ourselves of the
15552 2005-11-11 Wim Taymans <wim@fluendo.com>
15554 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15555 While checking the flag for reentrancy in the gstcaps function
15556 is nice to detect recursive invocations, it also makes it
15557 impossible to call getcaps from multiple threads, which must be
15558 possible. So, checking for recursive calls has to go.
15560 2005-11-11 Michael Smith <msmith@fluendo.com>
15562 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15563 Don't sync on buffers that fall partially outside our current
15564 segment. Prevents an assertion failure/abort playing some files.
15566 2005-11-10 Andy Wingo <wingo@pobox.com>
15568 * check/gst/gstbin.c (test_message_state_changed_children): Style
15571 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15572 gst_bus_poll with the signal watch. Ensures that poll and a signal
15573 watch see the same messages.
15575 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15576 a poll and a watch at the same time get the same messages.
15578 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15580 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15581 * gst/gstcaps.c: (gst_caps_intersect):
15582 Don't call gst_caps_do_simplify - it doesn't respect order of caps
15583 and it's not needed.
15585 2005-11-10 Wim Taymans <wim@fluendo.com>
15587 * docs/design/part-TODO.txt:
15590 2005-11-10 Wim Taymans <wim@fluendo.com>
15592 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15593 * gst/base/gstbasesrc.c: (gst_base_src_wait),
15594 (gst_base_src_do_sync), (gst_base_src_get_range):
15595 Implement clock sync in base class.
15597 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
15599 patch by: Tim-Philipp Müller <tim at centricular dot net>
15601 * gst/gststructure.c: (gst_structure_parse_field),
15602 (gst_structure_from_string):
15603 Forward-port a 0.8 patch to handle escaped spaces in structure string,
15604 so that gst_parse_launch() can deal with spaces in filtered link
15605 caps (fixes #164479)
15606 * check/gst/capslist.h:
15607 * check/gst/gststructure.c: (GST_START_TEST):
15608 add unit tests for this change
15610 2005-11-10 Wim Taymans <wim@fluendo.com>
15612 * docs/gst/gstreamer-sections.txt:
15613 * gst/gstelement.c:
15614 * gst/gstelement.h:
15615 Fix docs, move some STATE macros to private.
15617 2005-11-10 Wim Taymans <wim@fluendo.com>
15619 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15620 Added check for bug #317341
15624 Some more spiffifying.
15626 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15627 Call peer linkfunction if we are a source pad. Totally fixes
15631 Update docs, source pads should call the peer linkfunction
15632 so they can atomically perform the pad link.
15634 2005-11-09 Wim Taymans <wim@fluendo.com>
15638 Uber-spiffy-spiffify some more.
15640 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
15642 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15643 * gst/elements/gstfilesink.c: (gst_file_sink_init):
15644 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15645 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15646 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15647 * gst/gstpad.c: (gst_pad_init):
15648 Use GST_DEBUG_FUNCPTR() more extensively.
15650 2005-11-09 Wim Taymans <wim@fluendo.com>
15652 * gst/gstobject.c: (gst_object_class_init):
15654 Documentation fixes.
15656 2005-11-09 Edward Hervey <edward@fluendo.com>
15658 * gst/gsttypefindfactory.c:
15661 2005-11-09 Edward Hervey <edward@fluendo.com>
15663 * gst/base/gsttypefindhelper.c:
15664 * gst/gsttypefind.c:
15665 * gst/gsttypefind.h:
15668 2005-11-09 Wim Taymans <wim@fluendo.com>
15670 * gst/gstiterator.c:
15677 2005-11-09 Wim Taymans <wim@fluendo.com>
15683 2005-11-09 Wim Taymans <wim@fluendo.com>
15685 * docs/gst/gstreamer-sections.txt:
15686 Moved the message async delivery private lock and cond
15687 to the private section.
15689 * gst/gstmessage.c:
15690 * gst/gstmessage.h:
15693 2005-11-09 Edward Hervey <edward@fluendo.com>
15695 * docs/gst/gstreamer-sections.txt:
15698 Document GstURIHandler
15700 2005-11-09 Wim Taymans <wim@fluendo.com>
15702 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15703 (gst_iterator_find_custom):
15704 * gst/gstiterator.h:
15707 2005-11-09 Wim Taymans <wim@fluendo.com>
15710 Document another field.
15712 * gst/gststructure.c:
15713 * gst/gststructure.h:
15716 2005-11-09 Wim Taymans <wim@fluendo.com>
15719 Documented structs.
15721 2005-11-09 Wim Taymans <wim@fluendo.com>
15723 * docs/gst/gstreamer-sections.txt:
15724 Added some new macros.
15731 2005-11-09 Wim Taymans <wim@fluendo.com>
15733 * docs/design/part-TODO.txt:
15734 Some more items for the TODO
15740 2005-11-09 Andy Wingo <wingo@pobox.com>
15742 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15743 to work on something else now tho...
15745 * gst/base/gstadapter.c: More adapter docs.
15747 * gst/elements/gstfilesink.c (gst_file_sink_start)
15748 (gst_file_sink_stop): New functions, replace the state change
15750 (gst_file_sink_class_init): Hook up the start and stop functions.
15751 (gst_file_sink_base_init): Don't set the state change handler any
15752 more. It was a bit ugly too, being set from here...
15753 (gst_file_sink_get_property, gst_file_sink_set_property):
15755 (gst_file_sink_set_location): More robust check that doesn't call
15756 GST_STATE. Ugggggg.
15758 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
15760 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15761 Hold STREAM_LOCK while pushing newsegment or tag events as well.
15763 2005-11-08 Wim Taymans <wim@fluendo.com>
15765 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15766 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15767 (gst_base_sink_chain), (gst_base_sink_change_state):
15768 * gst/base/gstbasesink.h:
15769 * gst/base/gstbasesrc.h:
15770 * gst/gstelement.h:
15772 Avoid excessive typechecking in macros.
15774 * gst/gstminiobject.c: (gst_mini_object_get_type),
15775 (gst_mini_object_init), (gst_mini_object_new),
15776 (gst_mini_object_free):
15777 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15778 (gst_object_finalize):
15779 Remove cruft code, optimize alloc_trace.
15781 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
15783 * docs/faq/gst-uninstalled:
15784 fix up PS1 for systems that try to reset it
15786 2005-11-07 Wim Taymans <wim@fluendo.com>
15788 * gst/base/gstbasesrc.c: (gst_base_src_init),
15789 (gst_base_src_get_range):
15790 Set the segment_end to -1 initially. Fixed typefind.
15792 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
15794 * gst/base/gstadapter.c:
15795 Debug category should be 'adapter', not 'GstAdapter'.
15797 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15798 (gst_collectpads_class_init), (gst_collectpads_init),
15799 (gst_collectpads_peek), (gst_collectpads_pop),
15800 (gst_collectpads_event), (gst_collectpads_chain):
15801 Add debug category and some debugging output. Use boilerplate
15802 macros. Remove some extraneous words from docs.
15804 2005-11-05 Andy Wingo <wingo@pobox.com>
15806 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15809 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15811 * docs/gst/gstreamer-sections.txt:
15814 * gst/gstminiobject.h:
15819 2005-11-04 Wim Taymans <wim@fluendo.com>
15821 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15822 Small update to stop at the configured segment_end
15825 2005-11-04 Stefan Kost <ensonic@users.sf.net>
15827 * gst/gstregistry.c:
15828 * gst/gstregistry.h:
15831 2005-11-04 Edward Hervey <edward@fluendo.com>
15833 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15834 Check if we are doing a segment seek and have arrived at the
15835 end of that segment.
15837 2005-11-04 Wim Taymans <wim@fluendo.com>
15839 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15840 Don't leak a mutex unlock in case of an error.
15845 2005-11-04 Wim Taymans <wim@fluendo.com>
15847 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15849 Get the context to wake up only once.
15851 2005-11-03 Wim Taymans <wim@fluendo.com>
15853 * check/states/sinks.c: (GST_START_TEST):
15854 Uncomment fixed check.
15856 * docs/design/part-TODO.txt:
15859 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15860 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15861 (gst_base_sink_get_position):
15862 If we are going to PLAYING, post the right pending state
15863 when we post the intermediate paused message.
15865 * gst/gstelement.c: (gst_element_continue_state),
15866 (gst_element_set_state_func), (gst_element_change_state):
15867 Don't post state changes that were between the same state
15868 and were not ASYNC.
15870 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15872 * docs/gst/gstreamer-sections.txt:
15875 * gst/gstminiobject.h:
15878 more docs and doc style fixes
15880 2005-11-03 Stefan Kost <ensonic@users.sf.net>
15882 * docs/gst/gstreamer-sections.txt:
15883 * gst/gstelement.c:
15884 * gst/gstminiobject.c:
15887 2005-11-03 Andy Wingo <wingo@pobox.com>
15889 * check/states/sinks.c (test_livesrc_sink): Add checks that the
15890 state-changed messages actually have the right order and the right
15893 2005-11-03 Wim Taymans <wim@fluendo.com>
15895 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
15896 Added some more checks. Specifically the case where NO_PREROLL
15897 elements are in the pipeline.
15899 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15900 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15901 (gst_base_sink_get_position):
15902 Post READY->PAUSED state change messages too.
15903 Fix bug where VOID was posted as pending state...
15905 * gst/gstbin.c: (gst_bin_recalc_state):
15906 use _element_continue_state() to continue the state change.
15908 * gst/gstelement.c: (gst_element_continue_state),
15909 (gst_element_commit_state), (gst_element_set_state_func),
15910 (gst_element_change_state), (gst_element_change_state_func):
15911 Lots of state change cleanups, assign the STATE_RETURN in
15912 a new continue_state() function that also propagates the
15913 last return value from a state change to the app.
15914 Update some debug statements with proper category.
15916 2005-11-03 Wim Taymans <wim@fluendo.com>
15918 * docs/design/part-events.txt:
15919 * docs/design/part-gstpipeline.txt:
15920 * docs/design/part-messages.txt:
15921 * docs/design/part-overview.txt:
15922 * docs/design/part-seeking.txt:
15923 * docs/design/part-states.txt:
15924 * docs/design/part-trickmodes.txt:
15925 * docs/manual/advanced-position.xml:
15926 Small docs updates.
15929 People think !! is ugly, this looks better.
15931 * gst/gstpad.c: (gst_pad_set_blocked_async):
15932 Remove !! since it's fixed elsewhere now.
15934 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15936 * gst/gstminiobject.h:
15938 Add !! to _FLAG_IS_SET macros to make the result boolean.
15940 2005-11-03 Edward Hervey <edward@fluendo.com>
15942 * gst/gstpad.c: (gst_pad_set_blocked_async):
15943 comparing a flag and a gboolean rarely returns coherent results...
15944 Added two characters (!!) to make that work correctly.
15946 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15948 * gst/gstbus.c: (gst_bus_class_init):
15951 * gst/gstqueue.c: (gst_queue_loop):
15952 Don't assume a miniobject that isn't a buffer is an
15953 event (it could be that there is a refcounting
15954 problem somewhere and the pointer is stale and
15955 refers to an already destroyed miniobject).
15957 2005-11-03 Julien MOUTTE <julien@moutte.net>
15959 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
15961 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
15963 * docs/manual/advanced-position.xml:
15964 Update seek example and explanations to current 0.9 API.
15966 * gst/elements/gsttypefindelement.c:
15967 (gst_type_find_element_activate):
15968 Remove FIXME comment now that the found caps
15971 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
15973 * gst/gstregistryxml.c: (load_feature):
15974 Add another GST_STR_NULL instance
15976 2005-11-02 Edward Hervey <edward@fluendo.com>
15978 * gst/gstpad.c: (handle_pad_block):
15979 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
15981 2005-11-02 Wim Taymans <wim@fluendo.com>
15986 * gst/gstelement.c: (gst_element_commit_state):
15987 Remove unused value.
15989 * gst/gstiterator.c:
15990 Mention that the returned element is reffed in the docs.
15992 2005-11-02 Wim Taymans <wim@fluendo.com>
15994 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
15995 (gst_pad_push), (gst_pad_push_event):
15996 Unlock blocked pads when they are flushed.
15998 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16001 * docs/gst/gstreamer-sections.txt:
16004 * gst/gstregistry.c: (gst_registry_scan_path_level):
16005 fix for a nasty little missed situation where an installed plug-in
16006 which was in the cache did not get overridden by an uninstalled one
16007 which was earlier in the plugin path because the newly created plugin
16008 for the uninstalled one (not in the registry) didn't get its
16009 ->registered set to TRUE
16011 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16013 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16014 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16015 (gst_collectpads_is_active), (gst_collectpads_collect),
16016 (gst_collectpads_collect_range), (gst_collectpads_start),
16017 (gst_collectpads_stop), (gst_collectpads_peek),
16018 (gst_collectpads_pop), (gst_collectpads_available),
16019 (gst_collectpads_read), (gst_collectpads_flush):
16020 Guard public API with assertions.
16023 Fix docs for gst_pad_set_link_function().
16025 2005-11-02 Johan Dahlin <johan@gnome.org>
16027 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16028 Unref found_caps after we used it.
16030 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16032 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16033 Don't try to ref NULL.
16035 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16037 * win32/common/config.h.in:
16038 provide a GST_FUNCTION that just gives a string for now
16040 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16042 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16043 (gst_object_flags_get_type), (register_gst_bin_flags),
16044 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16045 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16046 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16047 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16048 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16049 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16050 (gst_clock_flags_get_type), (register_gst_state),
16051 (gst_state_get_type), (register_gst_state_change_return),
16052 (gst_state_change_return_get_type), (register_gst_state_change),
16053 (gst_state_change_get_type), (register_gst_element_flags),
16054 (gst_element_flags_get_type), (register_gst_core_error),
16055 (gst_core_error_get_type), (register_gst_library_error),
16056 (gst_library_error_get_type), (register_gst_resource_error),
16057 (gst_resource_error_get_type), (register_gst_stream_error),
16058 (gst_stream_error_get_type), (register_gst_event_type),
16059 (gst_event_type_get_type), (register_gst_seek_type),
16060 (gst_seek_type_get_type), (register_gst_seek_flags),
16061 (gst_seek_flags_get_type), (register_gst_format),
16062 (gst_format_get_type), (register_gst_index_certainty),
16063 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16064 (gst_index_entry_type_get_type),
16065 (register_gst_index_lookup_method),
16066 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16067 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16068 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16069 (gst_index_flags_get_type), (register_gst_debug_level),
16070 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16071 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16072 (gst_iterator_result_get_type), (register_gst_iterator_item),
16073 (gst_iterator_item_get_type), (register_gst_message_type),
16074 (gst_message_type_get_type), (register_gst_mini_object_flags),
16075 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16076 (gst_pad_link_return_get_type), (register_gst_flow_return),
16077 (gst_flow_return_get_type), (register_gst_activate_mode),
16078 (gst_activate_mode_get_type), (register_gst_pad_direction),
16079 (gst_pad_direction_get_type), (register_gst_pad_flags),
16080 (gst_pad_flags_get_type), (register_gst_pad_presence),
16081 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16082 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16083 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16084 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16085 (gst_plugin_flags_get_type), (register_gst_rank),
16086 (gst_rank_get_type), (register_gst_query_type),
16087 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16088 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16089 (gst_tag_flag_get_type), (register_gst_task_state),
16090 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16091 (gst_alloc_trace_flags_get_type),
16092 (register_gst_type_find_probability),
16093 (gst_type_find_probability_get_type), (register_gst_uri_type),
16094 (gst_uri_type_get_type), (register_gst_parse_error),
16095 (gst_parse_error_get_type):
16096 * win32/common/gstversion.h:
16097 update win32 copies
16099 2005-11-01 Luca Ognibene <luogni@tin.it>
16102 fix docs. popt is dead, long live GOption.
16104 2005-10-31 Wim Taymans <wim@fluendo.com>
16109 2005-10-31 Andy Wingo <wingo@pobox.com>
16113 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16115 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16116 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16117 the possibility of deadlocks here if code calling notify() or
16118 set() has a lock that can be taken in another notify handler (ABBA
16119 with class lock and e.g. python GIL state lock).
16121 2005-10-28 Julien MOUTTE <julien@moutte.net>
16123 * gst/gstbus.c: Doc updates.
16125 2005-10-28 Wim Taymans <wim@fluendo.com>
16127 * docs/design/part-TODO.txt:
16128 * gst/gstiterator.c:
16129 * gst/gstsystemclock.c:
16130 * gst/gstsystemclock.h:
16133 2005-10-28 Edward Hervey <edward@fluendo.com>
16135 * docs/gst/gstreamer-docs.sgml:
16136 * docs/gst/gstreamer-sections.txt:
16137 the GstURIType documentation page is private, it only defines GstURIType
16138 which should be defined in the GstURIHandler page
16140 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16142 * gst/gstbin.c: (gst_bin_class_init):
16145 Documentation updates.
16147 2005-10-28 Wim Taymans <wim@fluendo.com>
16149 * docs/gst/gstreamer-sections.txt:
16152 Documented the clocks.
16154 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16156 * docs/gst/gstreamer-sections.txt:
16157 move some macros to private sections
16158 * gst/gstminiobject.c:
16159 * gst/gstminiobject.h:
16160 add descriptions provided by ds and some more
16162 mark macro as to be removed
16164 2005-10-28 Wim Taymans <wim@fluendo.com>
16166 * docs/design/part-TODO.txt:
16167 Add an item to TODO.
16169 * gst/gstiterator.c: (gst_iterator_fold),
16170 (gst_iterator_find_custom):
16171 * gst/gstiterator.h:
16174 2005-10-28 Wim Taymans <wim@fluendo.com>
16176 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16177 (gst_base_transform_init):
16180 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16181 An EOS event marks the queue as completely filled.
16183 2005-10-27 Wim Taymans <wim@fluendo.com>
16185 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16186 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16187 Some more debugging.
16189 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16190 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16191 (gst_base_transform_event), (gst_base_transform_getrange),
16192 (gst_base_transform_chain):
16193 * gst/base/gstbasetransform.h:
16195 Protect transform and concurrent buffer alloc with a new lock.
16196 Try not to break ABI/API.
16198 2005-10-27 Wim Taymans <wim@fluendo.com>
16200 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16201 (gst_base_src_init), (gst_base_src_query),
16202 (gst_base_src_default_newsegment),
16203 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16204 (gst_base_src_send_event), (gst_base_src_event_handler),
16205 (gst_base_src_pad_get_range), (gst_base_src_loop),
16206 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16207 (gst_base_src_start), (gst_base_src_deactivate),
16208 (gst_base_src_activate_push), (gst_base_src_change_state):
16209 Move some stuff around and cleanup things.
16211 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16213 * gst/base/gstbasesrc.c: (gst_base_src_query):
16214 Add missing break statements.
16216 2005-10-27 Wim Taymans <wim@fluendo.com>
16218 * check/gst/gstbin.c: (GST_START_TEST):
16219 An extra refcount is taken in basesrc.
16221 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16222 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16223 (gst_base_src_loop):
16224 Small cleanups, check for flushing after being unlocked from the
16225 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16226 Don't send out EOS when going to READY.
16228 2005-10-27 Wim Taymans <wim@fluendo.com>
16230 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16231 (gst_base_sink_get_position):
16234 * gst/gstbin.c: (message_check), (bin_replace_message),
16235 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16236 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16237 (bin_query_duration_init), (bin_query_duration_fold),
16238 (bin_query_duration_done), (bin_query_generic_fold),
16240 * tools/gst-launch.c: (main):
16243 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16245 * examples/controller/audio-example.c: (main):
16246 * examples/queue/queue.c: (event_loop):
16247 * gst/base/gstbasetransform.h:
16248 * gst/gstelement.c: (gst_element_send_event):
16250 * gst/gstpad.c: (gst_pad_send_event):
16253 changing log priority in error situations
16255 2005-10-25 Wim Taymans <wim@fluendo.com>
16257 * gst/gstbin.c: (message_check), (bin_replace_message),
16258 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16259 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16260 (bin_query_duration_init), (bin_query_duration_fold),
16261 (bin_query_duration_done), (bin_query_generic_fold),
16263 Some doc and debug updates.
16264 Cache previously requested query DURATION for speed. invalidate
16265 cached duration if element posts a DURATION message.
16267 2005-10-25 Wim Taymans <wim@fluendo.com>
16269 * docs/design/part-TODO.txt:
16272 * gst/gstbin.c: (message_check), (bin_replace_message),
16273 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16274 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16275 (bin_query_duration_init), (bin_query_duration_fold),
16276 (bin_query_duration_done), (bin_query_generic_fold),
16278 Handle SEGMENT_START/DONE messages correctly.
16279 More evolved query algorithm that handles duration queries
16282 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16283 (gst_element_get_state_func), (gst_element_abort_state),
16284 (gst_element_commit_state), (gst_element_lost_state):
16285 Some more debugging.
16287 * gst/gstmessage.h:
16290 2005-10-25 Wim Taymans <wim@fluendo.com>
16292 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16293 Don't use invalid stream_time.
16295 * gst/gstevent.c: (gst_event_new_newsegment):
16296 stream_time in newsegment cannot be undefined.
16298 2005-10-24 Wim Taymans <wim@fluendo.com>
16303 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16305 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16307 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16309 * docs/libs/tmpl/gstdparam.sgml:
16310 * docs/libs/tmpl/gstdplinint.sgml:
16311 * docs/libs/tmpl/gstdpman.sgml:
16312 * docs/libs/tmpl/gstdpsmooth.sgml:
16313 * docs/libs/tmpl/gstunitconvert.sgml:
16316 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16321 === release 0.9.4 ===
16323 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16326 releasing 0.9.4, "Tyrannosaurus Rex"
16328 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16330 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16331 (gst_file_sink_get_current_offset):
16332 Use fseeko() and ftello() if available. When falling back on
16333 lseek() to get the current offset, fflush() first to make sure
16334 everything is up-to-date and we get the right offset.
16336 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16339 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16340 * gst/gsterror.c: (_gst_stream_errors_init):
16342 * gst/gstqueue.c: (gst_queue_loop):
16344 remove prematurely added error category and clean up the instances
16346 2005-10-21 Wim Taymans <wim@fluendo.com>
16348 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16349 (gst_base_sink_get_position), (gst_base_sink_query),
16350 (gst_base_sink_change_state):
16351 Simply set the right flag when going to playing, that's all
16352 we need to do instead of calling a function inside the object
16353 lock (that could take the lock as well and deadlock)
16355 2005-10-21 Wim Taymans <wim@fluendo.com>
16357 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16358 (gst_base_src_loop):
16359 Don't warn, the peer element knows what to do best when
16360 the seek failed, it might try something else.
16362 2005-10-21 Wim Taymans <wim@fluendo.com>
16364 * gst/base/gstbasesrc.c: (gst_base_src_init),
16365 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16368 2005-10-21 Wim Taymans <wim@fluendo.com>
16370 * docs/design/part-segments.txt:
16373 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16374 Correctly set caps, even on the subbufer.
16376 2005-10-21 Wim Taymans <wim@fluendo.com>
16378 * docs/gst/gstreamer-docs.sgml:
16379 * docs/gst/gstreamer-sections.txt:
16380 * gst/gstelement.h:
16383 * gst/gstmessage.h:
16386 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16390 And 2% more doc coverage.
16392 2005-10-21 Andy Wingo <wingo@pobox.com>
16394 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16395 position reporting.
16397 2005-10-20 Wim Taymans <wim@fluendo.com>
16399 * gst/gsterror.c: (gst_error_get_message):
16402 * gst/gststructure.c:
16407 2005-10-20 Wim Taymans <wim@fluendo.com>
16412 Another 1% more coverage.
16414 2005-10-20 Wim Taymans <wim@fluendo.com>
16416 * docs/gst/gstreamer-sections.txt:
16417 * gst/gstelement.c: (gst_element_get_state_func),
16418 (gst_element_abort_state), (gst_element_commit_state),
16419 (gst_element_lost_state):
16421 * gst/gstquery.c: (gst_query_set_position),
16422 (gst_query_parse_position), (gst_query_set_duration),
16423 (gst_query_parse_duration), (gst_query_new_convert):
16425 Yay! 1% more docs coverage.
16427 2005-10-20 Wim Taymans <wim@fluendo.com>
16430 * gst/gstquery.c: (gst_query_set_position),
16431 (gst_query_parse_position), (gst_query_set_duration),
16432 (gst_query_parse_duration), (gst_query_new_convert):
16434 * gst/gstutils.c: (gst_element_query_convert):
16436 Docs and consistency fixes.
16438 2005-10-20 Wim Taymans <wim@fluendo.com>
16444 2005-10-20 Wim Taymans <wim@fluendo.com>
16446 * gst/gstbin.c: (message_check), (bin_replace_message),
16447 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16448 (update_degree), (gst_bin_sort_iterator_next),
16449 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16450 Reworked the message handling a bit, cache the messages instead of
16451 only the senders. alows us to do more in the future.
16453 2005-10-20 Wim Taymans <wim@fluendo.com>
16455 * docs/design/part-TODO.txt:
16458 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16459 (gst_base_sink_query):
16460 Don't use clock time to report position when in EOS.
16462 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16464 * tools/gst-inspect.c: (print_interfaces),
16465 (print_element_properties_info), (print_element_info):
16466 Fix interface output with gst-inspect -a; don't print
16467 newlines after double/float properties.
16469 2005-10-20 Wim Taymans <wim@fluendo.com>
16471 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16472 (gst_base_sink_query):
16473 Speed up current position calculation.
16475 * gst/base/gstbasesrc.c: (gst_base_src_query),
16476 (gst_base_src_default_newsegment):
16477 Correctly set stream position in newsegment.
16479 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16480 (update_degree), (gst_bin_sort_iterator_next),
16481 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16482 * gst/gstmessage.c: (gst_message_new_custom):
16483 Clean up debugging info
16485 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16486 (gst_queue_loop), (gst_queue_handle_src_query):
16489 2005-10-19 Wim Taymans <wim@fluendo.com>
16491 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16492 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16493 Fix query handling again.
16495 2005-10-19 Wim Taymans <wim@fluendo.com>
16497 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16498 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16499 * gst/base/gstbasesrc.c: (gst_base_src_query):
16500 * gst/elements/gstfilesink.c: (gst_file_sink_query):
16501 * gst/elements/gsttypefindelement.c:
16502 (gst_type_find_handle_src_query), (find_element_get_length),
16503 (gst_type_find_element_activate):
16506 * gst/gstquery.c: (gst_query_new_position),
16507 (gst_query_set_position), (gst_query_parse_position),
16508 (gst_query_new_duration), (gst_query_set_duration),
16509 (gst_query_parse_duration), (gst_query_set_segment),
16510 (gst_query_parse_segment):
16512 Bundling query position/duration is not a good idea since duration
16513 does not change much and we don't want to recalculate it for every
16514 position query, so they are separated again..
16515 Base value in segment query is not needed.
16517 * gst/gstqueue.c: (gst_queue_handle_src_query):
16518 * gst/gstutils.c: (gst_element_query_position),
16519 (gst_element_query_duration), (gst_pad_query_position),
16520 (gst_pad_query_duration):
16522 Updates for query API change.
16523 Added some docs here and there.
16525 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
16527 * check/gst/gstbin.c: (GST_START_TEST):
16528 * check/gst/gstghostpad.c: (GST_START_TEST):
16529 * check/pipelines/cleanup.c: (GST_START_TEST):
16530 wait on thread to die so we can check refcount correctly
16532 2005-10-18 Wim Taymans <wim@fluendo.com>
16534 * check/pipelines/stress.c: (GST_START_TEST):
16535 Make check a little more time consuming.
16537 2005-10-18 Wim Taymans <wim@fluendo.com>
16539 * check/Makefile.am:
16540 * check/pipelines/stress.c: (GST_START_TEST),
16541 (simple_launch_lines_suite), (main):
16542 Small state change torture test.
16544 * docs/design/part-states.txt:
16545 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16546 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16547 (gst_base_sink_change_state):
16548 Never take state lock from streaming thread, clean up ugly
16549 hacks. Unfortunatly core does not yet support nice ways to
16550 async commit state.
16552 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16554 Start state recalc if a STATE_DIRTY message is posted, but only
16555 on the toplevel bin.
16557 * gst/gstelement.c: (gst_element_sync_state_with_parent),
16558 (gst_element_get_state_func), (gst_element_abort_state),
16559 (gst_element_commit_state), (gst_element_lost_state),
16560 (gst_element_set_state_func), (gst_element_change_state):
16561 * gst/gstelement.h:
16562 State variables are now protected with the LOCK, the state
16563 lock is only used to serialize _set_state().
16565 2005-10-18 Wim Taymans <wim@fluendo.com>
16567 * check/gst/gstbin.c: (GST_START_TEST):
16568 * check/gst/gstmessage.c: (GST_START_TEST):
16569 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16570 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16572 * gst/gstelement.c: (gst_element_abort_state),
16573 (gst_element_commit_state), (gst_element_lost_state):
16574 * gst/gstmessage.c: (gst_message_new_state_changed),
16575 (gst_message_new_state_dirty), (gst_message_new_segment_start),
16576 (gst_message_new_segment_done), (gst_message_new_duration),
16577 (gst_message_parse_state_changed),
16578 (gst_message_parse_segment_start),
16579 (gst_message_parse_segment_done), (gst_message_parse_duration):
16580 * gst/gstmessage.h:
16581 * tools/gst-launch.c: (event_loop):
16582 Seriously, this is better than a previous commit as we only need
16583 to notify the fact that an element changed state in a streaming
16584 thread, marking the state of the parents dirty, hence the
16585 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16588 2005-10-18 Wim Taymans <wim@fluendo.com>
16590 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16591 (gst_bin_recalc_func):
16592 * gst/gstelement.c: (gst_element_set_clock),
16593 (gst_element_abort_state), (gst_element_lost_state):
16594 Cleanups, prepare for state change fixes.
16596 2005-10-18 Wim Taymans <wim@fluendo.com>
16599 * gst/gstelement.c: (gst_element_class_init),
16600 (gst_element_set_state), (gst_element_set_state_func):
16601 * gst/gstelement.h:
16602 Pending ABI changes.
16603 GThreadPool in GstBinClass to monitor async state changes.
16604 state_cookie in GstElement to detect concurrent gst/set state.
16605 set_state is now virtual too in case a very complicated element
16606 has to be constructed.
16608 2005-10-18 Wim Taymans <wim@fluendo.com>
16610 * check/gst/gstbin.c: (GST_START_TEST):
16611 * check/gst/gstmessage.c: (GST_START_TEST):
16612 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16613 * gst/gstbin.c: (bin_bus_handler):
16614 * gst/gstelement.c: (gst_element_commit_state),
16615 (gst_element_lost_state):
16616 * gst/gstmessage.c: (gst_message_new_state_changed),
16617 (gst_message_new_segment_start), (gst_message_new_segment_done),
16618 (gst_message_new_duration), (gst_message_parse_state_changed),
16619 (gst_message_parse_segment_start),
16620 (gst_message_parse_segment_done), (gst_message_parse_duration):
16621 * gst/gstmessage.h:
16622 * tools/gst-launch.c: (event_loop):
16623 Make messages future proof.
16624 state-change gets a flag if it was a message comming from the
16626 segment-start/stop can also be specified in other formats.
16627 A message to notify an app that a pipeline changed playback
16629 Also fix a GstMessage leak in -launch
16631 2005-10-18 Andy Wingo <wingo@pobox.com>
16633 * gst/gstelement.c (gst_element_dispose): More helpful message.
16635 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16637 reviewed by: <delete if not using a buddy>
16639 * common/gtk-doc.mak:
16641 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
16643 * gst/gstregistry.c: (gst_registry_scan_path_level):
16644 unref a plug-in we get that was already initialized
16646 2005-10-18 Stefan Kost <ensonic@users.sf.net>
16648 * docs/gst/gstreamer-sections.txt:
16649 * docs/libs/gstreamer-libs-sections.txt:
16650 * gst/gstelement.h:
16651 add new api entries
16652 hide internal macro
16654 2005-10-17 Andy Wingo <wingo@pobox.com>
16656 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16659 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16661 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16663 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16664 (gst_element_get_state_func): Better debug message.
16665 (gst_element_commit_state): s/INFO/DEBUG/.
16666 (gst_element_lost_state, gst_element_change_state):
16668 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16669 (gst_message_new_custom): s/INFO/LOG/.
16671 2005-10-17 Michael Smith <msmith@fluendo.com>
16673 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16674 Check if end time is valid using end time, not start time.
16676 2005-10-17 Stefan Kost <ensonic@users.sf.net>
16678 * check/gst-libs/controller.c: (GST_START_TEST),
16679 (gst_controller_suite):
16680 * libs/gst/controller/gstcontroller.c:
16681 (gst_controlled_property_set_interpolation_mode):
16682 * libs/gst/controller/gstcontroller.h:
16683 * libs/gst/controller/gstinterpolation.c:
16684 * testsuite/controller/.cvsignore:
16685 * testsuite/controller/Makefile.am:
16686 * testsuite/controller/interpolator.c:
16687 merge controller testsuites
16689 remove mem-chunk from docs
16691 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16693 * gst/gstmemchunk.c:
16694 * gst/gstmemchunk.h:
16695 * gst/gsttrashstack.c:
16696 * gst/gsttrashstack.h:
16697 out. get out. you're fired. to the Attic !
16699 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
16701 * gst/gstcaps.c: (gst_caps_intersect):
16702 fix signedness issues in a (hopefully) correct way
16703 * gst/gstelement.c: (gst_element_pads_activate):
16705 * gst/gstobject.c: (gst_object_set_parent):
16708 2005-10-17 Julien MOUTTE <julien@moutte.net>
16710 * gst/gstvalue.h: Fix prototypes.
16712 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16714 * docs/gst/gstreamer-sections.txt:
16715 * gst/gst.c: (gst_version_string):
16717 * gst/gstversion.h.in:
16718 * win32/common/libgstreamer.def:
16719 add gst_version_string ()
16721 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16725 * gst/gst.c: (init_post):
16726 * win32/common/config.h.in:
16728 * gst/gstcaps.c: (gst_caps_intersect):
16729 use gint64, the range could be bigger than a guint
16731 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16734 document potential problem in 2038
16736 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16738 * gst/gstcaps.c: (gst_caps_intersect):
16739 Fix guint j diving under 0
16741 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16744 * win32/common/config.h:
16745 * win32/common/config.h.in:
16746 check for process.h, declares getpid() on Windows
16748 include process.h if we have it
16749 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16750 * gst/gstmemchunk.h:
16751 fix signedness issues
16752 * win32/common/libgstreamer.def:
16755 2005-10-16 Julien MOUTTE <julien@moutte.net>
16757 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16758 fix. Because of unsigned ints, caps intersection was going nuts and
16759 trying to access structures with G_MAXUINT index. That fixes
16760 videotestsrc ! ffmpegcolorspace ! fakesink
16761 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16764 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16767 use the gettext macro
16768 * gst/elements/gstelements.c:
16770 * gst/indexers/gstindexers.c:
16771 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16772 * win32/common/config.h:
16774 * win32/common/config.h.in:
16775 add the template to generate config.h
16776 * win32/common/gstenumtypes.c:
16777 * win32/common/gstversion.h:
16780 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
16782 * gst/gst.c: (gst_version):
16783 * gst/gstversion.h.in:
16786 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16789 Oops, add missing closing bracket.
16791 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16794 use common m4's for argument checking
16796 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
16798 * docs/gst/gstreamer-sections.txt:
16800 Add GST_EVENT_TYPE_NAME() macro.
16802 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16805 * gst/gstpluginfeature.c:
16807 privatize more symbols
16809 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16812 add srcdir, builddir includes to GST_ALL_CFLAGS, since
16813 everything that uses GStreamer API should have the includes
16815 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16817 * docs/gst/gstreamer-sections.txt:
16818 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16820 give each value a _get_type, removes the DATA exports
16822 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16826 remove _gst_registry_auto_load, not used anymore
16827 * gst/gstbin.c: (gst_bin_get_type):
16829 * gst/gstelement.c: (gst_element_get_type):
16830 * gst/gstelement.h:
16831 * gst/gstobject.c: (gst_object_get_type):
16833 * gst/gstpad.c: (gst_pad_get_type):
16835 make _get_type functions similar, fixes data export from library
16837 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16840 correctly make conditionals
16841 * gst/elements/Makefile.am:
16842 * gst/elements/gstelements.c:
16843 fix typo causing fdsrc not to build
16845 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16847 * testsuite/Makefile.am:
16848 * testsuite/bytestream/.cvsignore:
16849 * testsuite/bytestream/Makefile.am:
16850 * testsuite/bytestream/filepadsink.c:
16851 * testsuite/bytestream/gstbstest.c:
16852 * testsuite/bytestream/test1.c:
16853 * testsuite/bytestream/testfile1:
16854 * testsuite/caps/normalisation.c:
16855 * testsuite/caps/random.c: (main):
16856 * testsuite/cleanup/.cvsignore:
16857 * testsuite/cleanup/Makefile.am:
16858 * testsuite/cleanup/cleanup1.c:
16859 * testsuite/cleanup/cleanup2.c:
16860 * testsuite/cleanup/cleanup3.c:
16861 * testsuite/cleanup/cleanup4.c:
16862 * testsuite/cleanup/cleanup5.c:
16863 * testsuite/controller/interpolator.c:
16864 * testsuite/debug/printf_extension.c: (main):
16865 * testsuite/elements/tee.c:
16866 * testsuite/negotiation/.cvsignore:
16867 * testsuite/negotiation/Makefile.am:
16868 * testsuite/negotiation/pad_link.c:
16869 * testsuite/pad/Makefile.am:
16870 * testsuite/pad/chainnopull.c:
16871 * testsuite/pad/getnopush.c:
16872 * testsuite/pad/link.c:
16873 * testsuite/refcounting/sched.c: (create_pipeline):
16874 * testsuite/registry/Makefile.am:
16875 * testsuite/registry/gst-print-formats.c:
16876 * testsuite/schedulers/.cvsignore:
16877 * testsuite/schedulers/142183-2.c:
16878 * testsuite/schedulers/142183.c:
16879 * testsuite/schedulers/143777-2.c:
16880 * testsuite/schedulers/143777.c:
16881 * testsuite/schedulers/147713.c:
16882 * testsuite/schedulers/147819.c:
16883 * testsuite/schedulers/147894-2.c:
16884 * testsuite/schedulers/147894.c:
16885 * testsuite/schedulers/Makefile.am:
16886 * testsuite/schedulers/group_link.c:
16887 * testsuite/schedulers/queue_link.c:
16888 * testsuite/schedulers/relink.c:
16889 * testsuite/schedulers/unlink.c:
16890 * testsuite/schedulers/unref.c:
16891 * testsuite/schedulers/useless_iteration.c:
16892 * testsuite/states/bin.c:
16893 clean out/remove some stuff from the testsuite directories
16895 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16898 check for some headers
16899 * gst/elements/Makefile.am:
16900 * gst/elements/gstelements.c:
16901 don't compile fdsrc without sys/socket.h
16902 * gst/indexers/Makefile.am:
16903 * gst/indexers/gstindexers.c: (plugin_init):
16904 don't compile fileindex without mmap
16906 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
16913 * check/Makefile.am:
16914 * docs/gst/Makefile.am:
16915 * examples/helloworld/Makefile.am:
16917 * gst/base/Makefile.am:
16918 * gst/check/Makefile.am:
16919 * gst/elements/Makefile.am:
16920 * gst/indexers/Makefile.am:
16921 * gst/parse/Makefile.am:
16922 * libs/gst/controller/Makefile.am:
16923 * libs/gst/dataprotocol/Makefile.am:
16924 * examples/helloworld/helloworld.c: (event_loop):
16925 compile fixes, though it's not being compiled currently
16927 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16929 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
16930 Add some simple tests for the new taglist date API.
16932 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16934 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
16935 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
16936 Beautify 'last-message' output: print 'none' for buffer timestamps
16937 and durations if none is set; improve alignment with next messages.
16939 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
16941 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
16942 * gst/gstpluginfeature.h:
16943 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
16944 * gst/gstregistry.h:
16945 * docs/gst/gstreamer-sections.txt:
16946 Add new API to check plugin feature version requirements.
16948 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
16949 Some basic tests for the above.
16951 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16953 * gst/gststructure.c: (gst_structure_to_string):
16954 guard against NULL printf - happens when for example
16955 a message structure with GstClock gets serialized
16957 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
16959 * gst/base/gstcollectpads.c: (gst_collectpads_event):
16960 Fix presumable copy'n'pasto.
16962 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16964 * gst/elements/gstfakesrc.h:
16965 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16966 * gst/elements/gsttypefindelement.c:
16967 fix some signedness
16968 * gst/elements/gstfilesink.c: (gst_file_sink_render):
16969 I wonder if this could actually write +2GB files before
16971 2005-10-13 Andy Wingo <wingo@pobox.com>
16973 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
16974 Fix Timmeke Waymans bug.
16975 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
16976 string of the proper length to gst_caps_from_string. There's a
16977 potential for, before this fix, that this could cause someone
16978 connecting over the network to cause a segfault if the payload is
16979 not NUL-terminated.
16981 2005-10-13 Stefan Kost <ensonic@users.sf.net>
16983 * docs/design/draft-push-pull.txt:
16984 * docs/design/part-overview.txt:
16985 * docs/random/TODO-pre-0.9:
16986 * docs/random/old/ChangeLog.gstreamer:
16987 * gst/base/gstpushsrc.c:
16991 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
16993 * gst/glib-compat.c: (gst_flags_get_first_value):
16994 * gst/glib-compat.h:
16995 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
16996 (gst_value_compare_double), (gst_value_serialize_flags):
16997 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17000 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17002 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17003 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17005 * tools/gst-launch.c: (event_loop):
17006 print out clock nicely
17008 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17010 * docs/gst/gstreamer-sections.txt:
17011 * gst/gsttaglist.h:
17012 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17013 (gst_tag_list_get_date_index):
17014 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17015 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17017 2005-10-13 Julien MOUTTE <julien@moutte.net>
17019 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17020 (gst_collectpads_chain):
17021 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17024 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17026 * docs/gst/gstreamer-sections.txt:
17029 * tools/gst-inspect.c: (main):
17030 * tools/gst-launch.c: (main):
17031 * tools/gst-run.c: (main):
17032 * tools/gst-xmlinspect.c: (main):
17033 fix GOption context leaks
17036 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17040 * win32/common/config.h:
17042 * win32/vs6/grammar.dsp:
17043 * win32/vs6/libgstelements.dsp:
17044 * win32/vs6/libgstreamer.dsp:
17047 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17049 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17050 * gst/base/gstbasesrc.c: (gst_base_src_query):
17051 fix more guint64<->gdouble conversions
17053 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17056 add win32-update target
17057 * win32/common/gstconfig.h:
17058 * win32/common/gstenumtypes.c:
17059 * win32/common/gstenumtypes.h:
17060 * win32/common/gstversion.h:
17061 add files that visual studio can't generate
17063 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17066 add a win32-update target
17069 2005-10-12 Wim Taymans <wim@fluendo.com>
17071 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17072 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17073 * gst/gstelement.c: (gst_element_commit_state),
17074 (gst_element_set_state):
17075 Protect flags with proper lock.
17076 unref provided cached clock in dispose.
17078 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17081 * gst/gstminiobject.h:
17083 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17084 removed unused flags from miniobject
17087 2005-10-12 Wim Taymans <wim@fluendo.com>
17089 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17090 (gst_file_sink_event), (gst_file_sink_render):
17091 Flush before seeking.
17093 2005-10-12 Andy Wingo <wingo@pobox.com>
17095 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17096 always been the case.
17098 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17100 * check/gst/gstbin.c: (GST_START_TEST):
17101 * docs/gst/gstreamer-sections.txt:
17102 * gst/base/gstbasesink.c: (gst_base_sink_init):
17103 * gst/base/gstbasesrc.c: (gst_base_src_init),
17104 (gst_base_src_get_range), (gst_base_src_check_get_range),
17105 (gst_base_src_start), (gst_base_src_stop):
17106 * gst/base/gstbasesrc.h:
17107 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17108 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17109 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17113 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17115 * gst/gstelement.c: (gst_element_is_locked_state),
17116 (gst_element_set_locked_state), (gst_element_commit_state),
17117 (gst_element_set_state):
17118 * gst/gstelement.h:
17119 * gst/gstindex.c: (gst_index_init):
17121 * gst/gstminiobject.h:
17122 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17123 (gst_object_set_parent):
17125 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17126 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17128 * gst/gstpadtemplate.h:
17129 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17130 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17131 * gst/gstpipeline.h:
17132 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17133 (gst_file_index_commit):
17134 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17135 * testsuite/pad/link.c: (gst_test_src_init),
17136 (gst_test_filter_init), (gst_test_sink_init):
17137 * testsuite/states/locked.c: (main):
17138 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17139 moved bitshift from macro to enum definition
17141 2005-10-12 Wim Taymans <wim@fluendo.com>
17143 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17144 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17145 (gst_file_sink_render):
17146 Some more debugging info.
17148 2005-10-12 Wim Taymans <wim@fluendo.com>
17150 * docs/design/part-states.txt:
17151 * tools/gst-launch.c: (main):
17153 Revert non-intentional change.
17155 2005-10-12 Wim Taymans <wim@fluendo.com>
17157 * check/gst/gstbin.c: (GST_START_TEST):
17158 * check/gst/gstelement.c: (GST_START_TEST):
17159 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17160 * check/gst/gstghostpad.c: (GST_START_TEST):
17161 * check/gst/gstpipeline.c: (GST_START_TEST):
17162 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17163 * check/states/sinks.c: (GST_START_TEST):
17164 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17165 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17166 (gst_bin_remove_func), (gst_bin_get_state_func),
17167 (gst_bin_recalc_state), (gst_bin_change_state_func),
17169 * gst/gstelement.c: (gst_element_get_state_func),
17170 (gst_element_get_state), (gst_element_abort_state),
17171 (gst_element_commit_state), (gst_element_set_state),
17172 (gst_element_change_state), (gst_element_change_state_func):
17173 * gst/gstelement.h:
17174 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17175 (gst_pipeline_provide_clock_func):
17176 * gst/gstutils.c: (gst_element_link_pads_filtered):
17177 * tools/gst-launch.c: (main):
17178 * tools/gst-typefind.c: (main):
17179 Use GstClockTime in _get_state() instead of GTimeVal.
17180 Remove old code in gstutils.c
17182 2005-10-12 Andy Wingo <wingo@pobox.com>
17184 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17187 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17188 there is no task. Shouldn't affect any code, as nothing in our
17189 plugins checks this return value.
17190 (gst_pad_stop_task): Also take the stream lock if the pad has no
17191 task. Docs updated.
17193 2005-10-12 Wim Taymans <wim@fluendo.com>
17195 * gst/gstpad.c: (pre_activate), (post_activate),
17196 (gst_pad_activate_pull), (gst_pad_activate_push):
17197 Cleanup activation code. Reset old state if
17200 2005-10-12 Wim Taymans <wim@fluendo.com>
17202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17203 (gst_base_sink_change_state):
17204 No need to prerol after receiving EOS.
17206 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17207 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17208 * gst/elements/gstidentity.c: (gst_identity_event):
17209 Print events more verbosely.
17211 2005-10-12 Wim Taymans <wim@fluendo.com>
17213 * check/Makefile.am:
17214 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17215 * check/states/sinks2.c:
17216 Moved sinks2 testcode in sinks check.
17218 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17219 (gst_bin_remove_func), (gst_bin_recalc_state),
17220 (gst_bin_change_state_func), (bin_bus_handler):
17221 Fix potential race condition when _get_state() iterated over an
17222 ASYNC element right before it posted a state completion.
17225 Do proper cast here.
17227 * gst/gstevent.c: (gst_event_new_newsegment),
17228 (gst_event_parse_newsegment):
17229 A playback rate of 0.0 is not allowed.
17231 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17233 * win32/common/config.h:
17234 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17235 (_trewinddir), (_ttelldir), (_tseekdir):
17236 * win32/common/dirent.h:
17237 * win32/common/gtchar.h:
17238 * win32/common/libgstbase.def:
17239 * win32/common/libgstreamer.def:
17240 * win32/vs6/grammar.dsp:
17241 * win32/vs6/gst_inspect.dsp:
17242 * win32/vs6/gst_launch.dsp:
17243 * win32/vs6/gstreamer.dsw:
17244 * win32/vs6/libgstbase.dsp:
17245 * win32/vs6/libgstelements.dsp:
17246 * win32/vs6/libgstreamer.dsp:
17247 Visual Studio 6 project files, and a new common directory.
17250 2005-10-11 Wim Taymans <wim@fluendo.com>
17252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17253 (gst_base_sink_do_sync), (gst_base_sink_query),
17254 (gst_base_sink_change_state):
17255 * gst/base/gstbasesink.h:
17256 Correctly parse newsegment info.
17258 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17260 * gst/gst.c: (init_post):
17261 split plugin paths correctly
17263 2005-10-11 Wim Taymans <wim@fluendo.com>
17265 * check/gst/gstevent.c: (GST_START_TEST):
17266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17267 (gst_base_sink_change_state):
17268 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17269 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17270 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17271 * gst/gstevent.c: (gst_event_new_newsegment),
17272 (gst_event_parse_newsegment):
17274 Added extra flag to newsegment for future API freeze.
17275 Updated check and base elements.
17277 2005-10-11 Julien MOUTTE <julien@moutte.net>
17279 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17280 (gst_collectpads_add_pad), (gst_collectpads_pop),
17281 (gst_collectpads_event), (gst_collectpads_chain):
17282 * gst/base/gstcollectpads.h: Handle EOS correctly.
17284 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17286 * tools/gst-launch.c: (main):
17287 more null protecting
17289 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17291 * gst/gst-i18n-lib.h:
17292 check for ENABLE_NLS, not GETTEXT_PACKAGE
17293 * gst/gstregistry.c: (gst_registry_add_plugin),
17294 (gst_registry_scan_path_level),
17295 (_gst_registry_remove_cache_plugins):
17296 protect possibly NULL strings
17297 * gst/parse/types.h:
17298 config.h already included before
17299 * tools/gst-inspect.c: (main):
17300 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17301 check for ENABLE_NLS, not GETTEXT_PACKAGE
17302 * tools/gst-launch.c: (main):
17303 check for ENABLE_NLS, not GETTEXT_PACKAGE
17305 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17308 if we don't have glib, fail before testing 2.8
17309 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17310 fix a leak, should fix plugins-base testsuite
17312 2005-10-11 Andy Wingo <wingo@pobox.com>
17314 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17315 take the mode we're going to as an arg. Go head and set the mode
17316 and flushing flags now, so that if the activate function starts a
17317 thread all the flags will be in the right state.
17318 (post_activate): Renamed also. Just handle making sure streaming
17319 finishes for the deactivation case, and setting the deactivated
17321 (gst_pad_set_active): Complain loudly if deactivation fails.
17322 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17323 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17324 remove the terrible hack.
17326 2005-10-11 Wim Taymans <wim@fluendo.com>
17328 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17329 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17330 (gst_bin_recalc_state), (gst_bin_change_state_func),
17331 (gst_bin_dispose), (bin_bus_handler):
17333 Prepare to make current EOS message queue more generic.
17336 * gst/gstevent.c: (gst_event_new_newsegment),
17337 (gst_event_parse_newsegment):
17339 Rename base to stream_time.
17341 * gst/gstmessage.h:
17344 2005-10-11 Wim Taymans <wim@fluendo.com>
17346 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17347 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17348 (gst_bin_change_state_func), (bin_bus_handler):
17350 Work on proper clock selection.
17352 2005-10-11 Edward Hervey <edward@fluendo.com>
17354 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17355 * libs/gst/controller/gstcontroller.h:
17356 Added GList* version of _remove_properties() in order to be able to wrap
17359 2005-10-11 Wim Taymans <wim@fluendo.com>
17361 * docs/design/part-states.txt:
17364 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17365 (gst_bin_change_state_func), (bin_bus_handler):
17366 Doc updates. Don't distribute the same clock over and over again.
17372 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17373 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17374 (gst_pad_send_event):
17376 Make probe emission threadsafe again.
17377 Register quarks and move _get_name() from utils.
17380 * gst/gstpipeline.c: (gst_pipeline_class_init),
17381 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17382 Only redistribute the clock of it changed.
17384 * gst/gstsystemclock.h:
17389 Moved the _flow_get_name() to GstPad.
17391 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17393 * check/gst-libs/gdp.c: (GST_START_TEST):
17394 * check/gst/gstcaps.c: (GST_START_TEST):
17395 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17396 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17397 (gst_dp_packet_from_caps):
17398 fix more valgrind warnings before turning up the heat
17400 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17402 * gst/parse/grammar.y:
17403 some cleanup before the hacking
17405 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17407 * gst/base/gstbasesrc.c: (gst_base_src_query):
17409 * gst/gstutils.c: (gst_guint64_to_gdouble),
17410 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17412 externalize, basesrc uses it
17413 obviously the implementation needs testing
17415 2005-10-10 Wim Taymans <wim@fluendo.com>
17417 * tests/sched/Makefile.am:
17418 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17419 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17421 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17423 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17424 apparently converting from guint64 to double is not implemented
17427 2005-10-10 Wim Taymans <wim@fluendo.com>
17429 * check/Makefile.am:
17430 * check/generic/states.c: (GST_START_TEST):
17431 * check/gst/gstbin.c: (GST_START_TEST):
17432 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17433 * check/states/sinks.c: (GST_START_TEST):
17434 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17436 Check fixes, use API as stated in design docs, remove hacks.
17438 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17439 (gst_base_sink_change_state):
17440 Catch stopping our task while we're shutting down.
17442 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17443 (gst_bin_remove_func), (gst_bin_get_state_func),
17444 (gst_bin_recalc_state), (gst_bin_change_state_func),
17447 * gst/gstelement.c: (gst_element_init),
17448 (gst_element_get_state_func), (gst_element_abort_state),
17449 (gst_element_commit_state), (gst_element_lost_state),
17450 (gst_element_set_state), (gst_element_change_state),
17451 (gst_element_change_state_func):
17452 * gst/gstelement.h:
17453 New state change algorithm (see #318116)
17455 * gst/gstpipeline.c: (gst_pipeline_class_init),
17456 (gst_pipeline_init), (gst_pipeline_set_property),
17457 (gst_pipeline_get_property), (do_pipeline_seek),
17458 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17459 * gst/gstpipeline.h:
17460 Remove crude state change hacks.
17463 Remove crude hacks.
17465 * tools/gst-launch.c: (main):
17466 Fixes for state change. Needs some more work to fully use the
17469 2005-10-10 Andy Wingo <wingo@pobox.com>
17471 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17473 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17474 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17477 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17479 * gst/gstiterator.c: (gst_iterator_new):
17480 Fix my previous commit: GTypes passed to gst_iterator_new()
17481 can be fundamental types.
17483 2005-10-10 Wim Taymans <wim@fluendo.com>
17485 * gst/gstelement.c: (gst_element_iterate_pad_list),
17486 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17487 (gst_element_iterate_sink_pads):
17488 Use src/sink pads lists for the respective iterators instead
17491 2005-10-10 Andy Wingo <wingo@pobox.com>
17493 Merged in popt removal + GOption addition patch from Ronald, bug
17496 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17497 GstElement macros around, remove popt-related symbols, add goption
17500 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17502 * docs/gst/Makefile.am:
17503 * docs/libs/Makefile.am: No POPT_CFLAGS.
17505 * examples/manual/Makefile.am:
17506 * docs/manual/basics-init.xml: Doc updates with an example.
17508 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17509 (gst_init), (parse_one_option), (parse_goption_arg):
17510 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17511 bit of hand merging and debugging to get the GOption stuff working
17514 * tests/Makefile.am:
17515 * tools/Makefile.am:
17516 * tools/gst-inspect.c: (main):
17517 * tools/gst-launch.c: (main):
17518 * tools/gst-run.c: (main):
17519 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17521 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17523 * gst/gstiterator.c: (gst_iterator_new):
17524 Add assertions to make sure passed GType is likely to really
17525 be a GType (as the compiler won't catch it if the size and
17526 GType arguments get mixed up, see #318447).
17528 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
17530 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17532 * gst/gstbin.c: (gst_bin_iterate_sorted):
17533 Pass GType and size arguments to gst_iterator_new() in the right
17534 order (maybe we should make _new() take the GType as first argument
17535 just like _new_list()?) (#318447).
17538 2005-10-10 Wim Taymans <wim@fluendo.com>
17540 * gst/gstelement.c: (gst_element_finalize):
17541 And free the GStaticRecMutex too
17543 2005-10-10 Andy Wingo <wingo@pobox.com>
17545 * gst/gstelement.c (gst_element_init, gst_element_finalize):
17546 Allocate and free the mutex properly.
17548 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17550 (GstElement): The state_lock is now recursive. Rebuild your
17551 plugins, suckers. Old macros adapted.
17553 * docs/gst/gstreamer-sections.txt: Doc updates.
17556 * gst/gstutils.c (g_static_rec_cond_timed_wait)
17557 (g_static_rec_cond_wait): Ported from state changes patch, while
17558 we wait on bug #317802 to be solved in a well-distributed GLib.
17560 * gst/gstelement.c (gst_element_change_state_func): Renamed from
17561 gst_element_change_state, variable name changes.
17562 (gst_element_change_state): Split out of gst_element_set_state in
17563 preparation for the state change merge. Doesn't pay attention to
17564 the 'transition' argument.
17565 (gst_element_set_state): Updates, hopefully purely cosmetic.
17566 (gst_element_sync_state_with_parent): MT-safety. Ported from the
17567 state change patch.
17568 (gst_element_get_state_func): Renamed from get_state, cosmetic
17571 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17573 * gst/elements/gstelements.c:
17574 * win32/GStreamer.vcproj:
17576 * win32/dirent.c: (_tseekdir):
17577 * win32/gst-inspect.vcproj:
17578 * win32/gst-launch.vcproj:
17579 * win32/gstconfig.h:
17580 * win32/gstelements.vcproj:
17581 * win32/gstenumtypes.c: (gst_object_flags_get_type):
17582 * win32/gstreamer.def:
17583 * win32/msvc71.sln:
17584 updates for the win32 build (patch from Sebastien Moutte)
17586 2005-10-10 Andy Wingo <wingo@pobox.com>
17588 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17589 gst_bin_get_state, cleaned up (but no logic changes).
17590 (bin_element_is_sink): Comment updates.
17591 (sink_iterator_filter): Remove needless cast.
17592 (gst_bin_iterate_sinks): Doc update.
17593 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17594 cleaned up (but no logic changes).
17596 * check/states/sinks.c (test_src_sink): Cleanups from the state
17598 (test_livesrc_sink): Sync on the state.
17600 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17601 the state change patch.
17603 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17606 * check/gst/gstbin.c: Merge in some style fixes and additional
17607 checks from Wim's state change patch.
17609 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17611 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17612 (gst_type_find_helper):
17613 Check whether we have the requested data already in our list of
17614 cached buffers before pulling a new buffer; also make the buffer
17615 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17617 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17622 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17623 don't use long long, it's not portable. Replacing with
17624 gint64 seems to work; let's hope no skeletons fall out of the closet.
17626 2005-10-10 Andy Wingo <wingo@pobox.com>
17628 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17630 2005-10-09 Stefan Kost <ensonic@users.sf.net>
17632 * docs/gst/gstreamer-sections.txt:
17637 * gst/gstmessage.c: (gst_message_parse_state_changed):
17640 more docs, fix compilation
17642 2005-10-09 Philippe Khalaf <burger@speedy.org>
17643 * gst/gstmessage.c:
17644 Fixed a few forgotten variables on previous commit
17646 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
17648 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17649 Fix evil typefind crasher: getrange() might return a short
17650 buffer at the end of a file, but gst_type_find_peek() must
17651 either return the full data as requested or NULL, but
17652 never a short buffer.
17654 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
17656 * gst/gstmessage.c: (gst_message_new_state_changed),
17657 (gst_message_parse_state_changed):
17658 * gst/gstmessage.h:
17659 don't use "new", it's a C++ keyword
17661 2005-10-08 Wim Taymans <wim@fluendo.com>
17663 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17664 * gst/gstelement.c: (gst_element_post_message):
17665 * gst/gstpipeline.c: (gst_pipeline_change_state):
17666 Small docs and debug updates.
17668 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17670 * docs/gst/gstreamer-sections.txt:
17671 * gst/gstelementfactory.c:
17673 * gst/gsttaglist.c:
17676 2005-10-08 Wim Taymans <wim@fluendo.com>
17678 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17679 (gst_bin_dispose), (bin_bus_handler):
17680 Fix typos, add comments.
17681 Clear EOS list when going to PAUSED from any direction and do it
17682 in a threadsafe way.
17683 Get base time in a threadsafe way too.
17684 Fix confusing debug in the change_state function.
17685 Various other small cleanups.
17687 * gst/gstelement.c: (gst_element_post_message):
17688 Fix very verbose bus posting code.
17690 * gst/gstpipeline.c: (gst_pipeline_class_init),
17691 (gst_pipeline_set_property), (gst_pipeline_get_property),
17692 (gst_pipeline_change_state):
17693 Small ARG_ -> PROP_ cleanup
17695 2005-10-08 Wim Taymans <wim@fluendo.com>
17697 * gst/gstbin.c: (is_eos), (bin_bus_handler):
17698 Do a less CPU demanding EOS check because we can.
17700 2005-10-08 Wim Taymans <wim@fluendo.com>
17702 * libs/gst/dataprotocol/dataprotocol.c:
17703 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17704 (gst_dp_packet_from_event):
17705 * libs/gst/dataprotocol/dataprotocol.h:
17706 * libs/gst/dataprotocol/dp-private.h:
17707 It's about time we bump the version number.
17708 Since event types don't fit in the guint8 anymore describing
17709 the payload type, make payload type 16 bits wide.
17711 2005-10-08 Wim Taymans <wim@fluendo.com>
17713 * docs/design/part-TODO.txt:
17714 * docs/design/part-clocks.txt:
17715 * docs/design/part-events.txt:
17716 * docs/design/part-gstbin.txt:
17717 * docs/design/part-gstelement.txt:
17718 * docs/design/part-gstpipeline.txt:
17719 * docs/design/part-live-source.txt:
17720 * docs/design/part-messages.txt:
17721 * docs/design/part-overview.txt:
17722 * docs/design/part-states.txt:
17725 2005-10-08 Wim Taymans <wim@fluendo.com>
17729 Fix event quark registration.
17730 Add some space between events so we can insert them in the
17733 2005-10-08 Wim Taymans <wim@fluendo.com>
17735 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17736 (gst_base_sink_handle_buffer):
17737 Better log message.
17740 * gst/gstelement.h:
17743 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17744 (gst_queue_set_property), (gst_queue_get_property):
17746 Remove old unused properties.
17748 2005-10-08 Stefan Kost <ensonic@users.sf.net>
17749 * docs/gst/gstreamer-sections.txt:
17750 * gst/gstmessage.c:
17751 * gst/gstmessage.h:
17752 * gst/gstminiobject.c:
17753 * gst/gstminiobject.h:
17757 lots of new docs and doc fixes
17759 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17761 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17763 * gst/gstregistry.c: (gst_registry_lookup_locked),
17764 (gst_registry_scan_path_level):
17765 * gst/gstregistryxml.c: (load_plugin):
17766 Only ever load one plugin for a given plugin basename.
17767 This ensures correct overriding of GST_PLUGIN_PATH over
17768 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17769 system installed plugins.
17771 2005-10-08 Wim Taymans <wim@fluendo.com>
17773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17774 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17775 Prepare for doing QOS.
17777 2005-10-08 Wim Taymans <wim@fluendo.com>
17779 * check/gst/gstbin.c: (GST_START_TEST):
17780 * check/pipelines/cleanup.c: (GST_START_TEST):
17781 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17782 Allow new clock message too.
17784 2005-10-08 Wim Taymans <wim@fluendo.com>
17786 * gst/gstmessage.c: (gst_message_new_error),
17787 (gst_message_new_warning), (gst_message_new_tag),
17788 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17789 (gst_message_new_clock_lost), (gst_message_new_new_clock),
17790 (gst_message_new_segment_start), (gst_message_new_segment_done),
17791 (gst_message_parse_state_changed),
17792 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17793 (gst_message_parse_new_clock):
17794 * gst/gstmessage.h:
17795 Also carry the clock in question.
17797 2005-10-08 Wim Taymans <wim@fluendo.com>
17799 * gst/gstmessage.c: (gst_message_new_custom),
17800 (gst_message_new_eos), (gst_message_new_error),
17801 (gst_message_new_warning), (gst_message_new_tag),
17802 (gst_message_new_state_changed), (gst_message_new_clock_provide),
17803 (gst_message_new_new_clock), (gst_message_new_segment_start),
17804 (gst_message_new_segment_done), (gst_message_parse_state_changed),
17805 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17806 * gst/gstmessage.h:
17808 Added clock related messages.
17810 * gst/gstpipeline.c: (gst_pipeline_change_state):
17811 Post message when the clock changed.
17813 * tools/gst-launch.c: (event_loop):
17816 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
17818 * tools/gst-inspect.c: (print_element_properties_info):
17819 Can't pass NULL strings to g_print() on windows.
17821 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17823 * docs/Makefile.am:
17824 * docs/gst/Makefile.am:
17825 * docs/gst/gstreamer-docs.sgml:
17826 * docs/gst/running.xml:
17827 * docs/version.entities.in:
17828 add a chapter on running GStreamer.
17829 document GST_DEBUG and GST_PLUGIN* env vars
17831 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17836 remove PLUGINS_BUILDDIR stuff
17837 * gst/gst.c: (init_post):
17838 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17840 remove, it was condescending and not needed
17842 2005-10-08 Wim Taymans <wim@fluendo.com>
17844 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17845 (gst_base_sink_handle_object), (gst_base_sink_event),
17846 (gst_base_sink_wait), (gst_base_sink_handle_event),
17847 (gst_base_sink_change_state):
17848 * gst/base/gstbasesink.h:
17849 Repost EOS message while going to PLAYING if still EOS.
17850 Make sure that when receiving a FLUSH_START we don't attempt
17851 to sync on the clock anymore.
17853 2005-10-08 Wim Taymans <wim@fluendo.com>
17855 * tools/gst-launch.c: (event_loop):
17856 Better message printout.
17858 2005-10-08 Wim Taymans <wim@fluendo.com>
17860 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17861 (gst_bin_child_proxy_get_children_count):
17862 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17863 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17864 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17865 (gst_child_proxy_set_valist):
17866 * gst/parse/grammar.y:
17867 Make ChildProxy threadsafe and fix mem leaks.
17869 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17871 * gst/gst.c: (init_post):
17872 debug the GST_PLUGIN_ env vars
17874 2005-10-08 Wim Taymans <wim@fluendo.com>
17876 * check/gst/gstbin.c: (GST_START_TEST):
17877 * check/gst/gstmessage.c: (GST_START_TEST):
17878 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17879 * gst/gstelement.c: (gst_element_commit_state),
17880 (gst_element_lost_state):
17881 * gst/gstmessage.c: (gst_message_new_state_changed),
17882 (gst_message_parse_state_changed):
17883 * gst/gstmessage.h:
17884 * tools/gst-launch.c: (event_loop):
17885 Added extra field to STATE_CHANGE message with the pending
17886 state, which will be different from the new state soon.
17888 2005-10-08 Wim Taymans <wim@fluendo.com>
17890 * gst/gstbus.c: (gst_bus_pop):
17892 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17893 Small cleanups and doc updates.
17895 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
17897 * gst/gst.c: (init_pre):
17898 * gst/gstbin.c: (gst_bin_add_func):
17899 log distributing clocks and base time
17900 * gst/gstregistry.c: (gst_registry_add_plugin),
17901 (gst_registry_scan_path_level), (gst_registry_scan_path):
17902 clean up the debugging output a little
17903 * gst/gstutils.c: (gst_element_state_get_name):
17904 warn about a memleak (I've actually seen this be used, though
17905 it was probably a bug)
17907 2005-10-07 Wim Taymans <wim@fluendo.com>
17909 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17910 (gst_base_src_init), (gst_base_src_default_newsegment),
17911 (gst_base_src_newsegment), (gst_base_src_do_seek),
17912 (gst_base_src_loop), (gst_base_src_start):
17913 * gst/base/gstbasesrc.h:
17914 Make the newsegment event customizable by subclasses.
17916 2005-10-07 Wim Taymans <wim@fluendo.com>
17918 * gst/gstevent.c: (gst_event_new_buffersize),
17919 (gst_event_parse_buffersize):
17921 New event for future idea.
17923 2005-10-07 Andy Wingo <wingo@pobox.com>
17925 * gst/gstelement.c (gst_element_post_message): Doc update.
17927 * docs/gst/gstreamer-sections.txt: Update.
17929 * gst/gstmessage.c (gst_message_new_application): Made into a
17930 function like honest API calls.
17931 (gst_message_new_element): New message type.
17933 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
17935 * check/elements/fakesrc.c (test_no_preroll): New check, checks
17936 that setting a live fakesrc to PAUSED returns NO_PREROLL both
17939 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
17940 NO_PREROLL from gst_element_change_state to fall through.
17942 2005-10-07 Wim Taymans <wim@fluendo.com>
17944 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
17945 (gst_ghost_pad_do_activate_push):
17946 Activating a ghostpad with no internal pad in push mode
17949 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
17952 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
17953 Fixes compilation on Windows.
17955 2005-10-07 Michael Smith <msmith@fluendo.com>
17957 * tools/gst-inspect.c:
17958 Print out feature and plugin count at the end when printing out
17961 2005-10-04 Michael Smith <msmith@fluendo.com>
17963 * gst/gsterror.c: (_gst_stream_errors_init):
17964 Add another error string used in a few existing plugins.
17967 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17968 * tools/gst-inspect.c: (print_element_info):
17969 When a feature disappears from a plugin (and the feature exists in
17970 the cached registry file), things went horribly wrong. This isn't a
17971 complete fix, we should actually be removing the 'missing' features
17972 from the features list when we load the actual plugin. That's not
17975 2005-10-04 Johan Dahlin <johan@gnome.org>
17977 * check/gst/gstiterator.c: (GST_START_TEST):
17978 * gst/gstbin.c: (gst_bin_iterate_elements),
17979 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
17980 * gst/gstelement.c: (gst_element_iterate_pads):
17981 * gst/gstformat.c: (gst_format_iterate_definitions):
17982 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17983 (gst_iterator_new_list), (gst_iterator_filter):
17984 * gst/gstiterator.h:
17985 * gst/gstquery.c: (gst_query_type_iterate_definitions):
17986 Add a GType to GstIterator, update callsites and tests.
17988 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17990 * gst/gstpad.c: (gst_pad_event_default_dispatch):
17991 give events a chance to be handled by event probes when the pad
17994 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
17996 * gst/gstevent.c: (gst_event_type_get_name),
17997 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
17999 add string representations for event types
18001 2005-10-06 Wim Taymans <wim@fluendo.com>
18003 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18004 Don't use NULL pointers.
18006 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18008 * gst/gst_private.h:
18010 * gst/gstelement.c:
18012 * gst/gstpluginfeature.c:
18013 widen the debug category in output to fit the biggest one we have
18014 add a bus category and use it
18015 play with the colors
18016 fix up some categories
18018 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18020 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18021 add push activation of sink ghost pads.
18022 Andye, please verify
18024 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18026 * gst/gstutils.c: (gst_element_link_pads):
18027 fix a bug in the case where neither element has a pad
18028 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18029 add a test for that case
18031 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18033 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18034 emit have-data before checking for peers. This allows
18035 for probe handlers to connect elements. This helps autopluggers.
18036 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18038 add six checks, linked/unlinked with no/true/false probe
18040 2005-10-04 Wim Taymans <wim@fluendo.com>
18042 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18043 (gst_fake_sink_event), (gst_fake_sink_preroll),
18044 (gst_fake_sink_render), (gst_fake_sink_change_state):
18045 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18046 (gst_fake_src_get_property), (gst_fake_src_create),
18047 (gst_fake_src_stop):
18048 * gst/elements/gstidentity.c: (gst_identity_stop):
18049 Protect last_message with lock.
18051 2005-10-04 Edward Hervey <edward@fluendo.com>
18054 Added precision in the comments for GST_FORMAT_DEFAULT
18056 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18058 * tools/gst-launch.c: (main):
18059 Don't try to run erroneous pipelines.
18061 2005-10-04 Julien MOUTTE <julien@moutte.net>
18063 * gst/gstbus.c: We don't need this header.
18065 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18068 back to development
18070 === release 0.9.3 ===
18072 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18076 Releasing 0.9.3, "Unregistered"
18078 2005-10-03 Andy Wingo <wingo@pobox.com>
18080 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18081 whereby calling a pad's activatepush() function can start a thread
18082 that starts to push or pull before the pad gets the FLUSHING flag
18083 unset. Hack around it by holding the stream lock until the flag is
18084 set. Need to replace this with a proper solution. Together with
18085 the ghost pad fixes, this fixes mp3 playing/tagreading.
18087 * docs/design/part-gstghostpad.txt: Add a note about activation of
18088 proxy pads outside of ghost pads.
18090 * gst/gstghostpad.c: Implement the ghost pad activation design.
18092 2005-10-02 Andy Wingo <wingo@pobox.com>
18094 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18095 It is volatile, after all.
18097 * docs/design/part-gstghostpad.txt: Flesh out activation with
18100 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18103 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18106 Fix (unused) AM_CONDITIONAL tests.
18108 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18110 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18112 * gst/gstutils.c: (gst_pad_query_convert):
18113 Add assertion that makes sure src_val is >=0, just like
18114 gst_query_new_convert() has. (#315895)
18116 2005-09-30 Edward Hervey <edward@fluendo.com>
18118 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18119 Let's not iterate pads we're not interested in, it avoids getting
18120 sky-high refcounts on sinkpad.
18122 2005-09-30 Wim Taymans <wim@fluendo.com>
18124 * gst/gstelement.c: (gst_element_set_state),
18125 (gst_element_change_state):
18126 Small tweak, element in ASYNC remains ASYNC.
18128 2005-09-30 Wim Taymans <wim@fluendo.com>
18130 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18131 Only error is an error.
18133 * gst/gstbin.c: (gst_bin_change_state):
18136 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18137 Also call pad_block in pad alloc.
18139 * gst/gstutils.c: (gst_flow_get_name):
18142 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18144 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18145 (gst_base_src_get_range):
18146 Fix documentation typos. Add some more debug info.
18148 2005-09-29 David Schleef <ds@schleef.org>
18150 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18151 more end-user friendly.
18152 * tools/gst-inspect.c: (main): Check if command-line argument is
18153 a file and attempt to load that file as a plugin.
18155 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18157 * check/gst/gstbin.c:
18158 * check/states/sinks.c:
18159 fix tests for the new warning
18160 * check/gst/gstpipeline.c:
18161 add a test for pipeline and bus interaction
18162 * gst/gstelement.c:
18163 elements should be NULL if they get disposed; add a warning if not
18165 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18168 for 2.6 refcounting, make debug log more correct by printing
18169 the actual refcounts at the time of swap (Wim)
18171 2005-09-29 Andy Wingo <wingo@pobox.com>
18173 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18174 removes signal watches previously added via
18175 gst_bus_add_signal_watch.
18176 (gst_bus_add_signal_watch): Don't return the source id, just store
18177 it on the bus if there wasn't an id already.
18179 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18180 add_signal_watch and remove_signal_watch.
18182 2005-09-29 Edward Hervey <edward@fluendo.com>
18184 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18185 Better if we actually iterate the list :)
18187 2005-09-29 Wim Taymans <wim@fluendo.com>
18189 * check/gst/gstbin.c: (GST_START_TEST):
18190 Change for new bus API.
18192 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18193 (send_messages), (GST_START_TEST), (gstbus_suite):
18194 Change for new bus signal API.
18196 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18197 (gst_bus_source_prepare), (gst_bus_source_check),
18198 (gst_bus_create_watch), (gst_bus_add_watch_full),
18199 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18200 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18202 Remove support for multiple GSources operating on different
18203 message types as it is too complex and unneeded when using
18205 Added support for receiving signals from the bus.
18207 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18209 * docs/libs/tmpl/gstdataprotocol.sgml:
18210 * docs/manual/advanced-dataaccess.xml:
18211 * gst/elements/gstcapsfilter.c:
18213 rename filter-caps to caps property
18215 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18217 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18218 More robust fraction string parsing.
18220 * docs/pwg/appendix-porting.xml:
18221 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18223 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18225 * gst/gstcaps.c: (gst_caps_do_simplify):
18226 Thou shalt not free a structure and then continue using it
18227 in the next loop iteration.
18229 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18231 Add test case for caps simplification.
18233 2005-09-29 Wim Taymans <wim@fluendo.com>
18235 * check/gst/gstbin.c: (GST_START_TEST):
18238 2005-09-29 Wim Taymans <wim@fluendo.com>
18240 * check/gst/gstbin.c: (GST_START_TEST):
18243 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18244 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18245 (find_element), (gst_bin_sort_iterator_next),
18246 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18247 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18248 (gst_bin_change_state), (gst_bin_dispose):
18249 A bin does not have a bus, it gets the bus from the parent.
18251 * gst/gstelement.c: (gst_element_requires_clock),
18252 (gst_element_provides_clock), (gst_element_is_indexable),
18253 (gst_element_is_locked_state), (gst_element_change_state),
18254 (gst_element_set_bus_func):
18257 * gst/gstpipeline.c: (gst_pipeline_class_init),
18258 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18259 The pipeline provides a bus.
18261 2005-09-28 Johan Dahlin <johan@gnome.org>
18263 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18264 gst_structure_get_enum instead of gst_structure_get_int
18266 * gst/gststructure.c (gst_structure_get_enum): Impl.
18268 * gst/gststructure.h (gst_structure_get_enum): Add
18270 * docs/gst/gstreamer-sections.txt: Ditto
18272 * gst/gstmessage.c (gst_message_new_state_changed): Use
18273 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18274 which does introspection.
18275 Reviewed by Christian Schaller
18277 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18279 * gst/gstinfo.c: (gst_debug_log_default):
18280 don't do dummy g_strdup()s
18281 * libs/gst/controller/gstcontroller.c:
18282 (on_object_controlled_property_changed),
18283 (gst_controlled_property_new), (gst_controller_new_valist),
18284 (gst_controller_new_list),
18285 (gst_controller_remove_properties_valist), (gst_controller_set),
18286 (gst_controller_get), (gst_controller_sync_values),
18287 (gst_controller_get_value_array), (_gst_controller_class_init),
18288 (gst_controller_get_type):
18289 * libs/gst/controller/gstcontroller.h:
18290 * libs/gst/controller/gstinterpolation.c:
18291 (gst_controlled_property_find_timed_value_node):
18292 convert // to /**/ comments
18294 2005-09-28 Wim Taymans <wim@fluendo.com>
18296 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18297 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18298 (gst_bus_sync_signal_handler):
18300 Added async-message and sync-message signals to the bus.
18301 Added helper BusFunc to emit signals for all posted messages.
18303 * gst/gstmessage.c: (gst_message_type_get_name),
18304 (gst_message_type_to_quark), (gst_message_get_type):
18305 * gst/gstmessage.h:
18306 Register quarks for message names.
18308 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18310 * docs/libs/gstreamer-libs-sections.txt:
18311 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18312 (gst_controller_new_list):
18313 * libs/gst/controller/gstcontroller.h:
18314 added another constructor for language bindings
18316 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18318 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18322 * gst/gstinfo.c: (_gst_debug_init):
18323 slightly more readable color for refcount debugging
18325 2005-09-28 Wim Taymans <wim@fluendo.com>
18327 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18328 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18329 (find_element), (gst_bin_sort_iterator_next),
18330 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18331 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18332 (gst_bin_change_state), (gst_bin_dispose):
18333 Small doc fixes. get_clock -> provide_clock.
18335 * gst/gstelement.c: (gst_element_class_init),
18336 (gst_element_provides_clock), (gst_element_provide_clock),
18337 (gst_element_get_clock), (gst_element_commit_state),
18338 (gst_element_lost_state):
18339 * gst/gstelement.h:
18340 Make get/set_clock() symetric. Add provide_clock vmethod since
18341 that is actually what this function does.
18343 * gst/gstpipeline.c: (gst_pipeline_class_init),
18344 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18345 (gst_pipeline_get_clock):
18346 get_clock -> provide_clock.
18348 2005-09-28 Andy Wingo <wingo@pobox.com>
18350 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18351 lieu of real docs...
18353 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18355 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18357 * gst/elements/gstcapsfilter.c:
18358 * gst/elements/gstfakesink.c:
18359 * gst/elements/gstfakesrc.c:
18360 * gst/elements/gstfdsink.c:
18361 * gst/elements/gstfdsrc.c:
18362 * gst/elements/gstfilesink.c:
18363 * gst/elements/gstfilesrc.c:
18364 * gst/elements/gstidentity.c:
18365 * gst/elements/gsttee.c:
18366 * gst/elements/gsttypefindelement.c:
18367 Make element details static.
18369 2005-09-28 Wim Taymans <wim@fluendo.com>
18371 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18372 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18373 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18374 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18375 (gst_bin_change_state), (gst_bin_dispose):
18376 Some documentation updates.
18377 Clean up dispose handlers.
18379 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18380 * gst/gstpad.c: (gst_pad_dispose):
18381 Clean up dispose handler.
18383 * gst/gstpipeline.c: (gst_pipeline_change_state):
18384 Removed spurious UNLOCK.
18386 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18388 * docs/gst/gstreamer-sections.txt:
18389 * gst/base/gstbasesrc.h:
18390 * gst/gstelement.h:
18394 * gst/gstpipeline.c:
18395 * gst/gstpipeline.h:
18398 added two new functions to the docs
18399 documents all undocumented GstXXXFlags
18400 completed some incomplete docs
18402 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18404 * gst/gstbin.c: (gst_bin_dispose):
18405 * gst/gstelement.c: (gst_element_dispose):
18406 remove now useless and leaky resurrection code in dispose
18407 * gst/base/gstbasesrc.c: (gst_base_src_init):
18408 * gst/gstelementfactory.c: (gst_element_factory_create):
18409 * gst/gstobject.c: (gst_object_set_parent):
18412 2005-09-27 Wim Taymans <wim@fluendo.com>
18414 * docs/design/part-TODO.txt:
18417 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18418 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18419 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18420 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18421 (gst_bin_change_state):
18422 * gst/gstelement.h:
18423 Remove element variable, we keep element info in the iterator now.
18425 2005-09-27 Andy Wingo <wingo@pobox.com>
18427 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18430 2005-09-27 Wim Taymans <wim@fluendo.com>
18432 * check/gst/gstbin.c: (GST_START_TEST):
18433 Enable check that works now.
18435 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18436 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18437 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18438 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18439 (gst_bin_change_state):
18441 Redid the state change algorithm using a topological sort algo.
18442 Handles all cases correctly.
18443 Exposed iterator for state change order.
18445 * gst/gstelement.h:
18446 Temp storage for state changes. Need to get rid of this soon.
18448 2005-09-27 Wim Taymans <wim@fluendo.com>
18450 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18451 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18452 (link_fold_func), (gst_pad_proxy_setcaps):
18453 Leak fixes, the fold functions need to unref the passed object and
18454 _get_parent_*() returns ref to parent.
18456 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18458 * check/gst/gstbuffer.c: (test_make_writable):
18459 Plug leak in test case and fix 'make check-valgrind'
18461 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18463 * gst/gstbuffer.c: (gst_subbuffer_init):
18464 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18465 works correctly in all circumstances (we could have just copied
18466 the parent buffer's readonly flag, but conceptually it seems
18467 cleaner to mark all subbuffers as read-only). (based on patch
18468 by Alessandro Decina, #314710).
18470 * check/gst/gstbuffer.c: (create_read_only_buffer),
18471 (test_make_writable), (test_subbuffer_make_writable),
18473 Add some tests for gst_buffer_make_writable().
18475 2005-09-27 Wim Taymans <wim@fluendo.com>
18477 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18478 use gst_object_has_ancestor().
18480 * gst/gstobject.c: (gst_object_has_ancestor):
18482 gst_object_has_ancestor() copied from gstbin.c as it is a
18485 * tests/instantiate/create.c: (create_all_elements):
18486 * tests/lat.c: (handoff_src), (handoff_sink):
18487 * tests/sched/runxml.c: (main):
18488 * tests/seeking/seeking1.c: (main):
18489 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18491 Fix compilation of some tests.
18493 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18496 Remove comment. GST_TYPE_G_ERROR is here to stay,
18497 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18498 (#316961, #300610).
18500 2005-09-26 Wim Taymans <wim@fluendo.com>
18502 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18503 Added check that shows error in state change order.
18505 2005-09-26 Wim Taymans <wim@fluendo.com>
18507 * gst/gstbin.c: (gst_bin_change_state):
18508 Make state change function use 3 queues again, we were
18509 adding elements in the wrong order.
18511 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18514 * gst/gstpad.c: (gst_pad_dispose):
18515 Added some debug info first.
18517 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
18519 * docs/design/draft-push-pull.txt:
18520 * docs/design/part-events.txt:
18521 * docs/design/part-overview.txt:
18522 * docs/design/part-scheduling.txt:
18523 Replace all _pull_region() with _pull_range()
18525 2005-09-26 Andy Wingo <wingo@pobox.com>
18527 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18529 * check/gst-libs/controller.c: Update for controller api change.
18532 * tests/Makefile.am:
18533 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18534 over by GLib bug 118439.
18536 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18537 routines to a function.
18539 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18541 * libs/gst/controller/gsthelper.c:
18542 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18543 (gst_object_sync_values): Renamed from sink_values. Ugh.
18545 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18547 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18548 Renamed from controller_key, as it is exported.
18550 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18552 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
18557 * gst/gstpadtemplate.h:
18560 * gst/gstqueryutils.c:
18561 * gst/gstqueryutils.h:
18562 remove queryutils headers after moving the two used functions
18563 to gstquery. also fixes build problem for gstsiddec
18565 2005-09-26 Michael Smith <msmith@fluendo.com>
18567 * tools/gst-launch.1.in:
18568 Correct documentation in manpage of debug syntax
18570 2005-09-26 Wim Taymans <wim@fluendo.com>
18572 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18573 (gst_base_src_is_seekable), (gst_base_src_change_state):
18574 Some more debugging info.
18576 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18578 * docs/gst/gstreamer-sections.txt:
18579 * gst/base/gstbasetransform.h:
18583 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18585 * docs/gst/.cvsignore:
18586 * docs/gst/tmpl/.cvsignore:
18587 * docs/gst/tmpl/gstpipeline.sgml:
18588 * docs/gst/tmpl/gstplugin.sgml:
18589 * gst/gstpipeline.c:
18592 inlined the last two docs files
18593 removed the tmpl directory from cvs (no more conflicts here!)
18595 2005-09-25 Stefan Kost <ensonic@users.sf.net>
18597 * docs/gst/gstreamer-sections.txt:
18598 * docs/gst/tmpl/.cvsignore:
18599 * docs/gst/tmpl/gstpad.sgml:
18600 * docs/gst/tmpl/gstpadtemplate.sgml:
18602 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18603 (gst_pad_finalize), (gst_pad_set_pad_template):
18605 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18606 (gst_pad_template_class_init), (gst_pad_template_init),
18607 (gst_pad_template_dispose), (name_is_valid),
18608 (gst_static_pad_template_get), (gst_pad_template_new),
18609 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18610 (gst_pad_template_pad_created):
18611 * gst/gstpadtemplate.h:
18612 inlined two more docs
18613 factored gstpadtemplate out of gstpad
18615 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
18617 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18618 (test_children_state_change_order_semi_sink):
18619 Fix test case: we can't rely on a fixed state change order when
18620 going from READY => PAUSED because the sink might commit its
18621 new state first when the first buffer created by the source
18622 reaches the sink before the source has finished its change state.
18623 (Test case still fails at times, see #316856, comment 5 onwards)
18625 2005-09-24 Wim Taymans <wim@fluendo.com>
18627 * docs/design/part-events.txt:
18628 * docs/design/part-gstbus.txt:
18629 * docs/design/part-gstpipeline.txt:
18630 * docs/design/part-messages.txt:
18631 * docs/design/part-overview.txt:
18632 * docs/design/part-segments.txt:
18636 * gst/gstelement.c:
18639 * gst/gstiterator.c:
18640 Various documentation updates.
18642 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
18645 Well, that's embarassing. Luckily we weren't using
18646 GST_CLOCK_DIFF anywhere.
18648 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18650 * common/gtk-doc.mak:
18651 don't fail on building XML, FC4 slave shows a bunch of doc
18652 missing bits that I don't get
18654 * gst/gstpipeline.c:
18655 * gst/gststructure.c:
18658 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18660 * docs/design/part-gstbin.txt:
18661 * docs/design/part-gstbus.txt:
18663 Add blurb about how the bus goes into flushing mode and
18664 drops all messages when its bin goes from READY into NULL
18667 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18669 * docs/gst/gstreamer-sections.txt:
18670 * gst/gststructure.c: (gst_structure_get_clock_time):
18671 * gst/gststructure.h:
18672 add a method to get a GstClockTime out of a structure
18674 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
18676 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18677 (test_children_state_change_order_semi_sink), (gst_bin_suite):
18678 Added test to check state change order in bins (can still be made
18679 to fail here under heavy disk load; bails out with 'Push on pad
18680 fakesink:sink0, but it was not activated in push mode').
18682 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18683 Fix state change order when there is only a semi sink (#316856)
18685 * gst/gstbus.c: (gst_bus_class_init):
18686 Use _class_peek_parent(), not _class_ref(); fix docs to say
18687 'default main context' instead of 'mainloop' where that is
18690 * gst/gstelement.c: (gst_element_commit_state),
18691 (gst_element_set_state):
18692 Fix typos in debug messages
18694 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18697 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18698 * gst/gstpluginfeature.c:
18700 various doc updates
18701 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18702 change an assert into an error until it gets fixed properly
18704 2005-09-23 Stefan Kost <ensonic@users.sf.net>
18706 * docs/gst/gstreamer-sections.txt:
18707 * docs/gst/tmpl/.cvsignore:
18708 * docs/gst/tmpl/gstelement.sgml:
18709 * docs/gst/tmpl/gstinfo.sgml:
18710 * docs/gst/tmpl/gstobject.sgml:
18711 * gst/gstelement.c:
18712 * gst/gstelement.h:
18715 * gst/gstobject.c: (gst_object_class_init):
18717 inlined 3 more biiiig doc files and added some missing docs on the fly
18719 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
18721 * check/gst/.cvsignore:
18722 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18723 * gst/gstregistryxml.c: (load_plugin),
18724 (gst_registry_xml_save_plugin):
18725 put back source in registry. add checks for find_plugin.
18726 * testsuite/states/bin.c: (assert_state), (empty_bin),
18727 (test_adding_one_element), (main):
18728 * testsuite/states/locked.c: (main):
18729 some compile/run fixes
18731 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
18733 * check/gst/gstvalue.c: (GST_START_TEST):
18734 fix leaks in the test itself
18736 2005-09-22 Wim Taymans <wim@fluendo.com>
18738 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18739 (gst_base_sink_send_event), (gst_base_sink_peer_query),
18740 (gst_base_sink_query):
18741 Prepare for more accurate position reporting and query
18744 * gst/gstelement.c: (gst_element_send_event),
18745 (gst_element_set_state):
18748 2005-09-22 Wim Taymans <wim@fluendo.com>
18750 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18751 (gst_query_parse_segment):
18753 More documentation.
18754 Add segment query for future use.
18756 2005-09-22 Wim Taymans <wim@fluendo.com>
18758 * gst/gstbin.c: (gst_bin_add_func):
18759 Some more debug info.
18761 * gst/gstelement.c: (gst_element_send_event):
18762 Simplify send_event
18764 * gst/gstelement.h:
18765 Don't know how flags got broken.
18770 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18772 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18773 Add simplistic test suite for GST_TYPE_DATE serialisation and
18776 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
18778 * docs/gst/gstreamer-sections.txt:
18779 * gst/gststructure.c: (gst_structure_set_valist),
18780 (gst_structure_get_date):
18781 * gst/gststructure.h:
18782 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18783 (gst_date_copy), (gst_value_compare_date),
18784 (gst_value_serialize_date), (gst_value_deserialize_date),
18785 (gst_value_transform_date_string),
18786 (gst_value_transform_string_date), (_gst_value_initialize):
18788 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18789 bunch of utility functions along with a hack that checks that
18790 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18791 is required. Part of the grand scheme in #170777.
18793 2005-09-22 Andy Wingo <wingo@pobox.com>
18795 * gst/gstconfig.h.in: Psych out gtk-doc.
18797 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18799 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18801 * tools/gst-inspect.c (print_element_list): Plug some
18802 inconsequential leaks.
18804 * gst/gstregistry.c (gst_registry_get_default): Doc.
18806 * check/gst/gstplugin.c:
18807 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18808 * gst/gstelementfactory.c (gst_element_factory_create):
18809 * gst/gstindexfactory.c (gst_index_factory_create): Update for
18812 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18813 (gst_plugin_feature_load): Doc, don't eat refs.
18815 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18816 (gst_plugin_list_free): Doc.
18817 (gst_plugin_load_file): Doc updates.
18819 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18820 accessors returning refcounted objects, return a ref.
18822 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18823 accessor for caps. IDEMPOTENCE. Oh yes.
18825 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
18827 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18829 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18830 (_gst_debug_register_funcptr):
18831 Add mutex to serialise access to the hash table with
18832 the function pointer => function name string mapping;
18833 make that hash table static scope (#316809).
18835 * gst/registries/.cvsignore:
18836 Remove left-over file.
18838 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18840 * docs/pwg/appendix-porting.xml:
18841 And something about newsegment events and caps-on-buffers to
18842 the porting guide (feel free to improve).
18844 2005-09-21 Andy Wingo <wingo@pobox.com>
18846 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18847 data and event probes on the same pad.
18848 (test_buffer_probe_once): Test that removing probes from within
18849 the probe functions works.
18851 2005-09-21 Andy Wingo <wingo@pobox.com>
18853 * check/gst/gstutils.c: New file.
18854 (test_buffer_probe_n_times): A simple buffer probe test. More to
18857 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18858 have-data::buffer, not have-data.
18859 (gst_pad_add_event_probe): Likewise for have-data::event.
18860 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18861 peer' isn't quite right yet though.
18862 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
18863 (gst_pad_remove_data_probe): Change to take the guint handler_id
18864 as their arg, not the function+data, which is more glib-like.
18866 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18867 the signal emission to indicate if the data is a buffer or an
18869 (gst_pad_get_type): Initialize buffer and event quarks.
18870 (gst_pad_class_init): have-data is now a detailed signal, yes it
18873 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
18875 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18876 * gst/gstutils.c: (gst_util_set_value_from_string),
18877 (gst_util_set_object_arg):
18878 Don't put functional code in g_return_if_fail() or
18879 g_return_val_if_fail() statements, otherwise things will
18880 break when G_DISABLE_CHECKS is defined during compilation.
18882 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18884 * docs/gst/tmpl/.cvsignore:
18885 * docs/gst/tmpl/gstvalue.sgml:
18888 inlied another one and added some obvious docs
18890 2005-09-21 Wim Taymans <wim@fluendo.com>
18892 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18893 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
18894 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
18895 (gst_fdsrc_get_property), (gst_fdsrc_create):
18896 * gst/elements/gstfdsrc.h:
18897 Properly implement fdsrc. Removed signal and timeout,
18898 better implemented somewhere else.
18900 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18902 * docs/gst/tmpl/.cvsignore:
18903 * docs/gst/tmpl/gstimplementsinterface.sgml:
18904 * gst/gstinterface.c:
18907 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18909 * docs/gst/gstreamer-sections.txt:
18910 * docs/gst/tmpl/.cvsignore:
18911 * docs/gst/tmpl/gstenumtypes.sgml:
18912 remove obsolete doc file
18914 2005-09-21 David Schleef <ds@schleef.org>
18916 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
18917 little beer, fix a little leak.
18919 2005-09-21 Stefan Kost <ensonic@users.sf.net>
18921 * docs/gst/gstreamer-docs.sgml:
18922 * docs/gst/gstreamer-sections.txt:
18923 * docs/gst/tmpl/.cvsignore:
18927 * gst/gstelement.h:
18928 * gst/gstindex.c: (gst_index_class_init):
18930 * gst/gstindexfactory.c: (gst_index_factory_get_type),
18931 (gst_index_factory_class_init), (gst_index_factory_init),
18932 (gst_index_factory_finalize), (gst_index_factory_new),
18933 (gst_index_factory_destroy), (gst_index_factory_find),
18934 (gst_index_factory_create), (gst_index_factory_make):
18935 * gst/gstindexfactory.h:
18936 * gst/gstpluginfeature.c:
18937 * gst/gstpluginfeature.h:
18938 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18939 more docs inlined, splitted gstindex.{c,h}
18941 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18943 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
18946 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18948 * gst/elements/gstfilesink.c: (gst_file_sink_init):
18949 Set sync to FALSE by default.
18951 2005-09-20 Wim Taymans <wim@fluendo.com>
18953 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18954 (gst_base_sink_init):
18955 Make sync property settable from subclass.
18957 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
18958 (gst_fake_sink_change_state):
18959 Set sync to FALSE by default.
18961 2005-09-20 Wim Taymans <wim@fluendo.com>
18963 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
18964 * tools/gst-launch.c: (main):
18965 The timeout handler should have lower priority than the source
18966 so we don't timeout before popping a message with 0 timeout.
18967 Dump error messages after failed state change.
18969 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
18971 * tools/gst-inspect.c: (print_element_properties_info):
18974 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
18976 * check/gst/gstevent.c:
18977 * gst/elements/gstfakesink.c:
18978 * gst/elements/gstfakesink.h:
18979 remove the sync property from fakesink.
18980 has the side effect of setting sync TRUE
18981 for fakesink, which is a change. Anyone who knows how
18982 to fix this nicely in a GObject-y way, feel free.
18984 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18986 * docs/gst/gstreamer-docs.sgml:
18987 remove probe refsection
18989 2005-09-20 Stefan Kost <ensonic@users.sf.net>
18991 * check/Makefile.am:
18992 disable valgrinding the controller test again
18993 * docs/gst/gstreamer-sections.txt:
18994 update for api-changes
18996 2005-09-20 Wim Taymans <wim@fluendo.com>
18998 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18999 (gst_base_sink_set_property), (gst_base_sink_get_property),
19000 (gst_base_sink_do_sync):
19001 * gst/base/gstbasesink.h:
19002 Added sync property to basesink to disable clock sync.
19004 2005-09-20 Andy Wingo <wingo@pobox.com>
19006 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19007 eating the caller's refcount.
19009 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19010 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19013 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19014 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19015 of GLib 2.8 public, so we can know which refcount to check in
19018 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19019 (gst_object_init): Only set the gst refcount if we're going ahead
19020 with the refcount hack.
19022 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19024 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19025 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19026 more leaks plumbed, added more debug-logging
19030 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19032 * gst/gstmessage.c:
19033 remove include of gstmemchunk.h
19035 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19037 * gst/gstclock.c: (_gst_clock_id_free):
19038 Commit from the Political Party For More Atomic CVS Commits,
19039 so that people don't waste too much of their day fishing
19040 out obvious leaks out of massive commits.
19041 Oh, and fix a pretty damn obvious leak in the memchunk
19044 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19046 * check/Makefile.am:
19047 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19048 plug mem-leak, re-add to valgrindable tests
19050 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19053 unbreak the build for those who have chronic arthritis
19054 and typing "make check" is just too taxing on the hands
19056 2005-09-20 Andy Wingo <wingo@pobox.com>
19058 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19059 really want it out, you should fix plugins at the same time.
19061 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19064 * docs/gst/gstreamer-sections.txt:
19066 added missing symbols to api docs
19067 disable ref-count hack if we have glib >= 2.8
19069 2005-09-19 David Schleef <ds@schleef.org>
19071 * docs/gst/Makefile.am: Ignore a few more internal headers
19072 * docs/gst/gstreamer-docs.sgml: Remove old sections
19073 * docs/gst/gstreamer-sections.txt: Remove old sections
19074 * docs/gst/tmpl/gstobject.sgml: update
19075 * docs/gst/tmpl/gstplugin.sgml: update
19076 * docs/gst/tmpl/gstpluginfeature.sgml: update
19077 * docs/random/ds/0.9-suggested-changes: update.
19078 * gst/Makefile.am: remove memchunk and trashstack, since they're
19080 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19081 * gst/gst.h: don't include some headers
19082 * gst/gstchildproxy.c: add gstmarshal.h
19083 * gst/gstclock.c: Don't use memchunks
19084 * gst/gstminiobject.c: Add some docs
19085 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19086 * gst/gstobject.h: same
19087 * gst/gstplugin.c: include gstmacros.h
19088 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19089 * gst/gstquery.c: don't use memchunks
19090 * gst/gstregistry.c: rename gst_registry_deinit()
19091 * gst/gstregistry.h: same
19093 2005-09-19 David Schleef <ds@schleef.org>
19095 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19096 * docs/libs/gstreamer-libs-sections.txt:
19097 * docs/libs/tmpl/gstgetbits.sgml:
19098 * docs/libs/tmpl/gstputbits.sgml:
19100 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19102 * win32/gstenumtypes.c:
19103 * win32/gstenumtypes.h:
19106 2005-09-19 Wim Taymans <wim@fluendo.com>
19108 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19109 Automatically PAUSE and RESUME a pipeline when a flushing seek
19112 2005-09-19 Andy Wingo <wingo@pobox.com>
19114 * gst/gstregistry.h: Spacing fixen.
19116 2005-09-19 Wim Taymans <wim@fluendo.com>
19118 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19119 Handle state change failure more correctly.
19121 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19123 * check/Makefile.am:
19124 * check/pipelines/cleanup.c: (run_pipeline):
19125 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19127 enable cleanup again after fixing the leak
19129 some more info on docs
19131 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19133 * check/Makefile.am:
19134 re-enable tests now that leaks are plugged
19136 * check/gst/gstbin.c:
19137 * check/gst/gstpipeline.c:
19138 add some more tests while fixing leaks
19139 * common/check.mak:
19140 make sure binaries are uptodate when valgrinding/gdbing
19142 * gst/gstelementfactory.c:
19143 remove a ref too many, and add a FIXME for when we get
19144 round to disposing of classes
19146 fix the refcounting when loading a plugin from a file and
19147 the code pretends that the pointer is the same even though
19148 of course it can change
19149 * gst/gstpluginfeature.c:
19150 unref plugins marked cached (a bit confusing as a name)
19151 as the docs state should be done
19152 various doc additions to explain refcounting
19153 * gst/gstregistry.c:
19154 * gst/gstregistryxml.c:
19157 2005-09-19 Wim Taymans <wim@fluendo.com>
19159 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19160 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19161 (send_messages), (GST_START_TEST), (gstbus_suite):
19162 * check/gst/gstpipeline.c: (GST_START_TEST):
19163 * check/pipelines/cleanup.c: (run_pipeline):
19164 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19166 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19167 (gst_bus_source_check), (gst_bus_source_dispatch),
19168 (gst_bus_create_watch), (gst_bus_add_watch_full),
19169 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19171 * tools/gst-launch.c: (event_loop):
19172 * tools/gst-md5sum.c: (event_loop):
19173 GstBusHandler -> GstBusFunc, return value has the same meaning as
19174 any other GSource (FALSE == remove source).
19175 _add_watch() and _add_watch_full() now take a MessageType mask to
19176 only handle specific types of messages.
19177 _poll() returns the GstMessage instead of the message type to avoid
19179 _have_pending() takes a MessageType mask now too.
19180 Added testsuite for multiple bus watches.
19181 Fix testsuites and applications for new bus API.
19183 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19185 * check/Makefile.am:
19186 mark a bunch of the tests as to fix until we fix them
19188 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19190 * common/check.mak:
19191 use GST_PLUGIN settings for valgrind tests as well, so we're
19192 valgrinding the correct thing
19193 * gst/gst.c: (init_post):
19196 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19198 * gst/gst.c: (init_post), (gst_deinit):
19199 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19200 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19201 * gst/gstindex.c: (gst_index_factory_class_init),
19202 (gst_index_factory_finalize):
19203 * gst/gstobject.c: (gst_object_dispose):
19204 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19205 (gst_plugin_load_file), (gst_plugin_desc_free):
19206 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19207 (gst_plugin_feature_finalize):
19208 * gst/gstregistry.c: (gst_registry_class_init),
19209 (gst_registry_init), (gst_registry_finalize),
19210 (gst_registry_get_default), (gst_registry_deinit):
19211 * gst/gstregistry.h:
19212 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19213 various cleanups and memleak plugging. make valgrind is happy now.
19215 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19217 * common/check.mak:
19218 add a check-valgrind target
19220 2005-09-18 David Schleef <ds@schleef.org>
19222 * tools/gst-inspect.c: Revert the GOption code.
19224 2005-09-17 David Schleef <ds@schleef.org>
19226 * check/Makefile.am: Fix environment variables.
19227 * check/gst/gstplugin.c: Fix for API changes.
19228 * tools/gst-inspect.c: Fix for API changes.
19229 * tools/gst-xmlinspect.c: Fix for API changes.
19230 * gst/gstelementfactory.c:
19233 * gst/gstpluginfeature.c:
19234 * gst/gstpluginfeature.h:
19235 * gst/gstregistry.c:
19236 * gst/gstregistry.h:
19237 * gst/gstregistryxml.c:
19238 * gst/gsttypefind.c:
19239 * gst/gsttypefindfactory.c:
19240 * gst/indexers/gstfileindex.c:
19241 * gst/indexers/gstmemindex.c:
19242 * gst/schedulers/Makefile.am:
19243 Change registry to keep track of both plugins and features,
19244 removing the feature tracking from plugins themselves.
19246 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19248 * check/Makefile.am:
19249 * tools/gst-register.1.in:
19250 remove gst-register
19252 2005-09-15 David Schleef <ds@schleef.org>
19254 * check/gst/gstplugin.c:
19255 * gst/gstelementfactory.c:
19257 * gst/gstpluginfeature.c:
19258 * gst/gstregistry.c:
19259 Getting tired of debugging. Disabled all the unreffing of
19260 plugins and features, which fixes the segfaults, but of
19261 course leaks like crazy. At least playbin works.
19263 2005-09-15 David Schleef <ds@schleef.org>
19265 * check/gst/gstplugin.c: (register_check_elements),
19266 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19268 * gst/elements/gsttypefindelement.c: Fix refcounting.
19269 * gst/gsttypefind.c:
19270 * gst/gsttypefindfactory.c:
19271 * gst/gsttypefindfactory.h:
19273 2005-09-15 David Schleef <ds@schleef.org>
19275 * gst/gstindex.c: get refcounting correct.
19276 * gst/gstregistry.c: Handle the case where a feature/plugin is
19279 2005-09-15 David Schleef <ds@schleef.org>
19281 * check/Makefile.am:
19282 * check/gst/gstplugin.c: Add test
19283 * gst/gstplugin.c: Fix problems noticed by testsuite
19285 * gst/gstregistry.c:
19286 * gst/gstregistry.h:
19288 2005-09-15 David Schleef <ds@schleef.org>
19290 * gst/gstplugin.c: Implement semi-decent recounting and locking
19291 in plugins and plugin features.
19293 * gst/gstpluginfeature.c:
19294 * gst/gstpluginfeature.h:
19295 * gst/gstregistry.c:
19297 2005-09-15 Michael Smith <msmith@fluendo.com>
19299 * gst/gstregistry.c: (gst_registry_get_feature_list):
19300 Implement this. Makes oggdemux work; decodebin still broken.
19302 2005-09-14 David Schleef <ds@schleef.org>
19304 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19306 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19307 * gst/check/Makefile.am:
19308 * libs/gst/controller/Makefile.am:
19309 * libs/gst/dataprotocol/Makefile.am:
19311 2005-09-14 David Schleef <ds@schleef.org>
19313 * configure.ac: Remove getbits library. Nothing uses it, and
19314 it should be in something like liboil if someone did want
19316 * libs/gst/Makefile.am:
19317 * libs/gst/getbits/Makefile.am:
19318 * libs/gst/getbits/gbtest.c:
19319 * libs/gst/getbits/getbits.c:
19320 * libs/gst/getbits/getbits.h:
19321 * libs/gst/getbits/gstgetbits_generic.c:
19322 * libs/gst/getbits/gstgetbits_i386.s:
19323 * libs/gst/getbits/gstgetbits_inl.h:
19325 2005-09-14 David Schleef <ds@schleef.org>
19327 * gst/Makefile.am: Dist glib-compat.h
19329 2005-09-14 David Schleef <ds@schleef.org>
19331 * configure.ac: Remove gst/registries, since it's no longer used.
19332 * gst/registries/Makefile.am:
19333 * gst/registries/gstlibxmlregistry.c:
19334 * gst/registries/gstlibxmlregistry.h:
19335 * gst/registries/gstxmlregistry.c:
19336 * gst/registries/gstxmlregistry.h:
19337 * gst/registries/registrytest.c:
19339 2005-09-14 David Schleef <ds@schleef.org>
19341 * gst/glib-compat.h:
19342 * gst/gstregistryxml.c:
19343 Convergence is near. Seriously.
19345 2005-09-14 David Schleef <ds@schleef.org>
19347 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19348 * gst/glib-compat.h:
19349 Attempt #4 to appease the buildbots.
19351 2005-09-14 David Schleef <ds@schleef.org>
19353 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19356 2005-09-14 David Schleef <ds@schleef.org>
19358 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19361 2005-09-14 David Schleef <ds@schleef.org>
19363 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19366 2005-09-14 David Schleef <ds@schleef.org>
19368 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19369 * gst/glib-compat.h: Add some functions that are in newer versions
19370 of glib than we care to require.
19371 * gst/gstregistryxml.c: Use them.
19373 2005-09-14 David Schleef <ds@schleef.org>
19375 * po/POTFILES.in: remove gst-register.c
19377 2005-09-14 David Schleef <ds@schleef.org>
19379 * docs/gst/gstreamer-docs.sgml:
19380 * docs/gst/gstreamer-sections.txt:
19381 * docs/gst/gstreamer.types:
19382 * docs/gst/tmpl/gstelement.sgml:
19383 * docs/gst/tmpl/gstplugin.sgml:
19384 * docs/gst/tmpl/gstpluginfeature.sgml:
19385 Documentation updates for registry changes.
19387 2005-09-14 David Schleef <ds@schleef.org>
19389 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19390 because we don't require glib-2.8.
19392 2005-09-14 David Schleef <ds@schleef.org>
19394 * gst/gstregistryxml.c: Added. Essentially moved out of the
19395 registries directory.
19397 2005-09-14 David Schleef <ds@schleef.org>
19399 * check/Makefile.am:
19400 * check/generic/states.c:
19404 * gst/gst_private.h:
19405 * gst/gstelementfactory.c:
19410 * gst/gstpluginfeature.c:
19411 * gst/gstpluginfeature.h:
19412 * gst/gstregistry.c:
19413 * gst/gstregistry.h:
19414 * gst/gstregistrypool.c: remove
19415 * gst/gstregistrypool.h: remove
19416 * gst/gsttypefind.c:
19417 * gst/gsttypefindfactory.c:
19419 * tools/Makefile.am:
19420 * tools/gst-compprep.c:
19421 * tools/gst-inspect.c:
19422 * tools/gst-register.c: remove
19423 * tools/gst-xmlinspect.c:
19424 Registry rewrite. Changes registry from being a file created
19425 by a tool into a simple cache file created automatically by
19426 libgstreamer. Removed gst-register (because it's no longer
19427 needed). Remove registry pools, because we only have one
19428 registry implementation (XML). Fix up other subsystems as
19431 2005-09-13 Michael Smith <msmith@fluendo.com>
19433 * gst/gstconfig.h.in:
19434 Don't Use windows linking attributes for MinGW. Fixes #316157
19436 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19438 * gst/gstutils.c: (set_state_async_thread_func),
19439 (gst_element_set_state_async):
19440 Apparently people think it's better if this function doesn't
19441 try to set the state to whatever state was asked for on the first
19442 call to this function for any object. Seriously.
19444 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19446 * check/gst/gstpipeline.c: (GST_START_TEST):
19447 * docs/gst/gstreamer-sections.txt:
19448 * gst/gstutils.c: (set_state_async_thread_func),
19449 (gst_element_set_state_async):
19451 add a "gst_element_set_state_async" method that
19452 sets the state and starts a thread to make sure the state
19453 change completes as best as it can
19455 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19457 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19458 codify design+behaviour in testsuite after discussion
19460 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19462 * docs/gst/tmpl/gstelement.sgml:
19463 * docs/manual/appendix-quotes.xml:
19465 * gst/gstelement.c: (gst_element_set_state):
19468 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19470 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19471 (gst_base_transform_prepare_output_buf),
19472 (gst_base_transform_handle_buffer):
19473 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19474 (gst_capsfilter_prepare_buf):
19475 Remove the requirement for sub-classes to call the parent
19476 implementation of prepare_output_buffer with a wrapper function.
19478 * gst/gsttaglist.h:
19479 * gst/gsttagsetter.h:
19480 Fix #define wrapper
19482 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19484 * docs/gst/gstreamer-sections.txt:
19487 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19489 * docs/gst/gstreamer-sections.txt:
19490 * docs/gst/tmpl/gstelement.sgml:
19491 * docs/gst/tmpl/gstplugin.sgml:
19492 * gst/gstminiobject.c:
19494 docs now stop throwing warnings
19496 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19498 * docs/gst/gstreamer-sections.txt:
19499 * docs/gst/gstreamer.types:
19500 * docs/gst/tmpl/gstpad.sgml:
19501 * docs/gst/tmpl/gsttypes.sgml:
19502 * gst/base/gstadapter.h:
19503 * gst/base/gstbasesink.h:
19504 * gst/base/gstbasesrc.h:
19510 * gst/gstelement.h:
19512 * gst/gstmessage.h:
19514 * gst/gststructure.c:
19515 * gst/registries/gstlibxmlregistry.h:
19516 various documentation fixes
19518 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19520 * docs/gst/gstreamer-sections.txt:
19521 * docs/gst/tmpl/gstvalue.sgml:
19522 rearrange gstvalue section
19523 * gst/gstutils.c: (gst_element_state_get_name):
19525 * gst/gstvalue.c: (_gst_value_initialize):
19529 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
19531 * check/gst-libs/controller.c:
19532 Header include fix.
19533 * gst/base/gstbasetransform.c:
19534 (gst_base_transform_default_prepare_buf),
19535 (gst_base_transform_handle_buffer):
19536 * gst/base/gstbasetransform.h:
19537 Some more basetransform changes and fixes to enable sub-classes
19538 that modify buffer metadata only.
19539 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19540 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19541 (gst_capsfilter_prepare_buf):
19542 If the output pad has fixed allowed caps and input buffers
19543 don't have any, set the fixed caps on outgoing buffers.
19545 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
19546 * check/elements/identity.c: (GST_START_TEST):
19547 Make the error a little clearer when the test fails because
19548 identity made a copy of the buffer.
19549 * docs/gst/gstreamer-sections.txt:
19550 New symbols in gstbasetransform.h
19551 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19552 (gst_base_transform_init), (gst_base_transform_transform_size),
19553 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19554 (gst_base_transform_default_prepare_buf),
19555 (gst_base_transform_get_unit_size),
19556 (gst_base_transform_buffer_alloc),
19557 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19558 (gst_base_transform_change_state),
19559 (gst_base_transform_set_passthrough),
19560 (gst_base_transform_set_in_place),
19561 (gst_base_transform_is_in_place):
19562 * gst/base/gstbasetransform.h:
19563 Change BaseTransform to separate in_place operate from same_caps
19564 output. in_place implies that the element can perform the transform
19565 on incoming buffers in-place, even if the caps on the output are
19567 Sub-class elements can now implement special buffer allocation
19568 methods for outgoing buffers if they wish to.
19569 Big documentation addition.
19570 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19571 * gst/elements/gstelements.c:
19572 Changes for basetransform modifications.
19573 * gst/elements/Makefile.am:
19574 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19575 Compile fix. Extra debug output.
19577 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19579 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19581 add tests for valid pad naming
19582 * gst/check/gstcheck.c: (gst_check_log_message_func),
19583 (gst_check_log_critical_func):
19585 remove printing of code, it is fragile when the code contains
19586 % and the line number is enough info
19587 * gst/check/gstcheck.h:
19588 * gst/gstpad.c: (gst_pad_template_new):
19591 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19594 say what CHECK flags we use
19595 * docs/libs/gstreamer-libs.types:
19596 * libs/gst/controller/Makefile.am:
19597 * libs/gst/controller/gst-controller.c:
19598 * libs/gst/controller/gst-controller.h:
19599 * libs/gst/controller/gst-helper.c:
19600 * libs/gst/controller/gst-interpolation.c:
19601 * libs/gst/controller/gstcontroller.c:
19602 * libs/gst/controller/gsthelper.c:
19603 * libs/gst/controller/gstinterpolation.c:
19604 * tools/gst-inspect.c: (print_plugin_info):
19605 we don't use dashes in header names
19607 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
19609 * check/Makefile.am:
19610 * check/gst/.cvsignore:
19611 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19612 (gst_pipeline_suite), (main):
19613 adding a test for pipelines and state changes
19614 * gst/gstutils.c: (get_state_func):
19616 * gstreamer.spec.in:
19619 2005-09-08 Michael Smith <msmith@fluendo.com>
19621 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19622 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19623 (gst_file_src_is_seekable), (gst_file_src_get_size),
19624 (gst_file_src_start):
19625 * gst/elements/gstfilesrc.h:
19626 Various fixes for unseekable, unmmapable, and non-normal files, so
19627 that fallback to read() rather than mmap() works.
19628 * gst/gstevent.c: (gst_event_new_newsegment):
19629 Allow newsegment events with segment_start == segment_end, as will
19630 correctly happen if you use filesrc on a zero-size file, for
19633 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19635 * gst/gstplugin.c: (gst_plugin_load_file):
19636 Call g_module_close when we don't load the module
19638 * gst/registries/gstlibxmlregistry.c:
19639 (gst_xml_registry_get_property):
19640 Port leak fix from 0.8
19642 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19644 * docs/gst/gstreamer-docs.sgml:
19645 * docs/gst/tmpl/.cvsignore:
19646 * docs/gst/tmpl/gsttrace.sgml:
19647 * docs/gst/tmpl/gsttrashstack.sgml:
19650 * gst/gstelement.h:
19652 * gst/gstmessage.c:
19653 * gst/gstmessage.h:
19656 * gst/gsttaginterface.c:
19657 * gst/gsttaginterface.h:
19658 * gst/gsttaglist.c:
19659 * gst/gsttaglist.h:
19660 * gst/gsttagsetter.c:
19661 * gst/gsttagsetter.h:
19664 * gst/gsttrashstack.c:
19665 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19666 inlined docs for gsttrace, gsttrashstack
19668 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19671 * gst/elements/gstbufferstore.h:
19672 * gst/elements/gsttypefindelement.c:
19673 * gst/elements/gsttypefindelement.h:
19675 * gst/gsttypefind.c:
19676 * gst/gsttypefind.h:
19677 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19678 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19679 (gst_type_find_factory_dispose),
19680 (gst_type_find_factory_unload_thyself),
19681 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19682 (gst_type_find_factory_get_caps),
19683 (gst_type_find_factory_get_extensions),
19684 (gst_type_find_factory_call_function):
19685 * gst/gsttypefindfactory.h:
19686 * gst/registries/gstlibxmlregistry.c:
19687 * gst/registries/gstxmlregistry.c:
19688 splitted gsttypefind into gsttypefind, gsttypefindfactory
19690 2005-09-07 Andy Wingo <wingo@pobox.com>
19692 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19693 condition whereby the pad's task function is entered before the
19694 pad_mode variable was set.
19696 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
19698 * gst/gstpad.c: (gst_pad_alloc_buffer):
19699 Catch misbehaving pad_alloc functions that don't
19700 set up caps and do it for them.
19702 2005-09-07 Stefan Kost <ensonic@users.sf.net>
19704 * check/pipelines/simple_launch_lines.c: (run_pipeline):
19705 test for pipe!=NULL
19706 * docs/gst/tmpl/.cvsignore:
19707 * docs/gst/tmpl/gstmemchunk.sgml:
19708 * docs/gst/tmpl/gstparse.sgml:
19709 * docs/gst/tmpl/gsttaglist.sgml:
19710 * docs/gst/tmpl/gsttagsetter.sgml:
19711 * docs/gst/tmpl/gsttypefind.sgml:
19712 * docs/gst/tmpl/gsttypefindfactory.sgml:
19713 * gst/gstmemchunk.c:
19716 * gst/gsttaginterface.c:
19717 * gst/gsttypefind.c:
19718 * gst/gsttypefind.h:
19721 === release 0.9.2 ===
19723 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
19728 releasing 0.9.2, "South"
19730 2005-09-05 Andy Wingo <wingo@pobox.com>
19732 * gst/registries/gstxmlregistry.h:
19733 * gst/registries/gstxmlregistry.c: Um... resurrect...
19735 * gst/registries/gstxmlregistry.h:
19736 * gst/registries/gstxmlregistry.c: and update to newer API.
19737 Incidentally they should be a bit faster now that they don't have
19740 2005-09-05 Andy Wingo <wingo@pobox.com>
19742 * gst/registries/gstxmlregistry.h:
19743 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19744 replaced by the libxml registry a while back
19746 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19748 * docs/gst/tmpl/gstplugin.sgml:
19749 * gst/elements/gstelements.c:
19751 * gst/gstplugin.c: (gst_plugin_register_func),
19752 (gst_plugin_desc_copy), (gst_plugin_desc_free),
19753 (gst_plugin_get_source):
19755 * gst/registries/gstlibxmlregistry.c: (load_plugin),
19756 (gst_xml_registry_save_plugin):
19757 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19758 (gst_xml_registry_save_plugin):
19759 * tools/gst-inspect.c: (print_plugin_info):
19760 add a "source" plugin description field, to represent the source
19761 module this plugin is a part of. By default GST_PLUGIN_DEFINE
19762 will set it to PACKAGE, which is automake's idea of the name of
19763 the source project.
19765 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
19770 * docs/Makefile.am:
19771 * docs/faq/Makefile.am:
19772 * docs/gst/tmpl/gstelement.sgml:
19773 * docs/gst/tmpl/gsttypes.sgml:
19774 * docs/htmlinstall.mak:
19775 * docs/manual/Makefile.am:
19776 * docs/pwg/Makefile.am:
19777 reorganize doc build a little
19778 split out docbook and gtk-doc stuff
19779 have two separate --enable's and enable them through autogen
19780 but disable by default in configure (to be similar to other
19782 * gstreamer.spec.in:
19783 clean up docs install
19801 translation updates
19803 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
19805 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19808 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19809 (gst_fake_sink_change_state):
19810 Make state change function thread-safe.
19812 * gst/gstpad.c: (gst_pad_alloc_buffer):
19813 Set offset on generic buffer allocated by fallback.
19815 2005-09-03 Stefan Kost <ensonic@users.sf.net>
19817 * docs/gst/gstreamer-sections.txt:
19818 * docs/gst/tmpl/gstelement.sgml:
19820 * libs/gst/controller/gst-controller.c:
19821 (gst_controlled_property_set_interpolation_mode),
19822 (gst_controlled_property_new),
19823 (gst_controller_find_controlled_property):
19824 run the wingo-magic script against the docs
19826 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19828 * docs/gst/gstreamer-docs.sgml:
19829 * docs/gst/gstreamer-sections.txt:
19830 * docs/gst/tmpl/.cvsignore:
19831 * docs/gst/tmpl/gstelementdetails.sgml:
19832 * docs/gst/tmpl/gstelementfactory.sgml:
19835 * gst/gstelementfactory.c:
19836 * gst/gstelementfactory.h:
19837 merged elementdetails docs into elementfactory docs
19840 2005-09-02 Andy Wingo <wingo@pobox.com>
19842 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19843 consider this enum an enum and not a flags.
19845 2005-09-02 Stefan Kost <ensonic@users.sf.net>
19847 * docs/gst/gstreamer-docs.sgml:
19848 * docs/gst/tmpl/.cvsignore:
19849 * docs/gst/tmpl/gstghostpad.sgml:
19850 * docs/gst/tmpl/gstiterator.sgml:
19851 * docs/gst/tmpl/gstmacros.sgml:
19852 * docs/gst/tmpl/gstrealpad.sgml:
19853 * docs/gst/tmpl/gstregistry.sgml:
19854 * docs/gst/tmpl/gstregistrypool.sgml:
19855 * docs/gst/tmpl/gststructure.sgml:
19856 * docs/gst/tmpl/gstsystemclock.sgml:
19857 * docs/gst/tmpl/gsttrace.sgml:
19858 * gst/gstghostpad.c:
19860 * gst/gstmemchunk.c:
19861 * gst/gstmemchunk.h:
19863 * gst/gstregistry.c:
19864 * gst/gstregistrypool.c:
19865 * gst/gststructure.c:
19866 * gst/gstsystemclock.c:
19869 2005-09-02 Andy Wingo <wingo@pobox.com>
19871 * gst/gstelement.h (GstState): Renamed from GstElementState,
19872 changed to be a normal enum instead of flags.
19873 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19874 munged to be GST_STATE_CHANGE_*.
19875 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19876 work with the new state representation.
19877 (GstStateChange): New enumeration of possible state transitions.
19878 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19879 (GstElementClass::change_state): Pass the GstStateChange along as
19880 an argument. Helps language bindings, so they don't have to use
19881 tricky lock-needing macros like GST_STATE_CHANGE ().
19883 * scripts/update-states (file): New script. Run it on a file to
19884 update it for state naming and API changes. Updates files in
19887 * All files updated for the new API.
19889 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
19891 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
19892 * gst/gstutils.c: (gst_util_set_value_from_string),
19893 (gst_util_set_object_arg):
19894 fix a bunch of unchecked return values
19895 * tools/gst-complete.c: (main):
19896 * gstreamer.spec.in:
19899 2005-09-01 Wim Taymans <wim@fluendo.com>
19901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19902 (gst_base_sink_event), (gst_base_sink_do_sync),
19903 (gst_base_sink_handle_event):
19904 * gst/base/gstbasesink.h:
19905 Handle newsegments more correctly.
19910 * gst/gstevent.c: (gst_event_new_newsegment):
19911 A newsegment cannot have a start_time of -1
19913 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
19915 * win32/gstenumtypes.c:
19916 * win32/gstenumtypes.h:
19919 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19921 * libs/gst/controller/gst-controller.c:
19922 (gst_controlled_property_set_interpolation_mode),
19923 (gst_controlled_property_new):
19924 fixed boolean again
19926 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
19928 * docs/faq/gst-uninstalled:
19933 * gst/gstutils.c: (gst_element_link_filtered):
19935 add gst_element_link_filtered
19937 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19939 * docs/gst/gstreamer-docs.sgml:
19940 * docs/gst/gstreamer-sections.txt:
19941 * docs/gst/tmpl/.cvsignore:
19942 * docs/gst/tmpl/gsterror.sgml:
19943 * docs/gst/tmpl/gstfilter.sgml:
19944 * docs/gst/tmpl/gsturihandler.sgml:
19945 * docs/gst/tmpl/gsturitype.sgml:
19946 * docs/gst/tmpl/gstutils.sgml:
19947 * docs/gst/tmpl/gstxml.sgml:
19952 * gst/gsturitype.c:
19955 inlined more docs, fixed double id-ref
19957 2005-08-31 Wim Taymans <wim@fluendo.com>
19959 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19960 (gst_base_transform_handle_buffer):
19961 Passthrough elements don't need the caps as they don't care.
19963 2005-08-31 Wim Taymans <wim@fluendo.com>
19965 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
19966 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
19967 Don't leak refcounts on buffers.
19969 2005-08-31 Wim Taymans <wim@fluendo.com>
19971 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
19972 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19973 (gst_base_transform_chain), (gst_base_transform_change_state):
19974 * gst/base/gstbasetransform.h:
19975 Handle the case where we are not negotiated more gracefully.
19977 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
19979 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
19980 (gst_file_src_map_region):
19981 Set READONLY flag on mmap'ed buffers, otherwise
19982 gst_buffer_make_writable() won't work properly (#314708).
19984 2005-08-31 Wim Taymans <wim@fluendo.com>
19986 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
19987 passthrough elements can even do inplace on non writable
19988 buffers (as they don't touch them).
19990 2005-08-31 Stefan Kost <ensonic@users.sf.net>
19992 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
19993 (gst_test_mono_source_set_property),
19994 (gst_test_mono_source_class_init), (GST_START_TEST),
19995 (gst_controller_suite):
19996 more tests (hehe I have the most)
19998 describe popping messages whenusing mulltiple sources
19999 * libs/gst/controller/gst-controller.c:
20000 (gst_controlled_property_set_interpolation_mode),
20001 (gst_controlled_property_new):
20002 * libs/gst/controller/gst-controller.h:
20003 * libs/gst/controller/gst-interpolation.c:
20004 implement boolean properties
20006 2005-08-31 Wim Taymans <wim@fluendo.com>
20008 * gst/gstminiobject.c: (gst_mini_object_ref):
20009 Cannot assert that the refcount has to be positive
20010 since a disposed object can be resurrected.
20012 2005-08-31 Wim Taymans <wim@fluendo.com>
20014 * gst/gstpad.c: (gst_pad_init):
20015 Revert change, need to first fix badly behaving
20018 2005-08-30 Wim Taymans <wim@fluendo.com>
20020 * check/elements/fakesrc.c: (setup_fakesrc):
20021 * check/elements/identity.c: (setup_identity):
20022 Activate pads before using them.
20024 2005-08-30 Wim Taymans <wim@fluendo.com>
20026 * gst/base/gstadapter.c: (gst_adapter_flush):
20027 Flushing out 0 bytes is ok for this function.
20029 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20030 no newsegment gives a warning and sets the start/stop to
20033 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20034 (gst_base_transform_set_passthrough):
20037 * gst/gstminiobject.c: (gst_mini_object_ref):
20038 Check refcount here too.
20040 * gst/gstpad.c: (gst_pad_init):
20041 Pads are initially flushing and refusing data.
20043 * gst/gstutils.c: (gst_element_link_pads_filtered):
20044 When adding a capsfilter element make sure it has the
20045 same state as the parent bin.
20047 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20049 * docs/gst/tmpl/.cvsignore:
20050 * docs/gst/tmpl/gstformat.sgml:
20051 * docs/gst/tmpl/gstversion.sgml:
20055 * gst/gstversion.h.in:
20056 more docs and two more inlined
20058 2005-08-30 Wim Taymans <wim@fluendo.com>
20060 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20061 Don't sync to clock.
20063 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20065 * docs/gst/gstreamer-sections.txt:
20066 ultral33t func10ns deserve to appear in the docs actually
20067 * docs/gst/tmpl/.cvsignore:
20068 * docs/gst/tmpl/gstcompat.sgml:
20069 * docs/gst/tmpl/gstconfig.sgml:
20070 * gst/check/gstcheck.c:
20072 * gst/gstconfig.h.in:
20075 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20077 * docs/gst/tmpl/.cvsignore:
20078 * docs/gst/tmpl/gstquery.sgml:
20079 * docs/gst/tmpl/gstutils.sgml:
20082 inlined and extended docs
20084 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20086 * check/gst-libs/controller.c: (GST_START_TEST),
20087 (gst_controller_suite):
20089 * docs/gst/tmpl/gstutils.sgml:
20090 * docs/libs/gstreamer-libs-sections.txt:
20091 * docs/libs/tmpl/gstdataprotocol.sgml:
20093 * examples/controller/audio-example.c: (main):
20094 controller example works now
20097 * tools/gst-inspect.c: (print_element_properties_info):
20098 show param spec flags
20100 2005-08-29 Andy Wingo <wingo@pobox.com>
20102 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20104 2005-08-28 Andy Wingo <wingo@pobox.com>
20106 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20107 as having two arguments instead of just one. Allows superclasses
20108 to access information on subclasses -- see the terrible for() loop
20109 in gtype.c:g_type_create_instance for the reason why. All callers
20112 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20114 * docs/design/part-messages.txt:
20116 * docs/gst/tmpl/.cvsignore:
20117 * docs/gst/tmpl/gstcaps.sgml:
20118 * docs/gst/tmpl/gstclock.sgml:
20124 * gst/gstmessage.c:
20125 added descriptions for bus and message
20126 inline caps and clock docs
20128 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20130 * gst/gstmessage.c:
20131 * gst/gstmessage.h:
20134 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20136 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20139 2005-08-26 Andy Wingo <wingo@pobox.com>
20141 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20142 element_set_state's return val.
20143 (test_2_elements): Add test that's been disabled for months.
20145 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20146 can-activate-pull properties.
20148 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20149 can-activate-pull properties. Implement is_seekable so fakesrc can
20150 operate in pull mode.
20152 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20154 (gst_base_sink_activate, gst_base_sink_activate_pull)
20155 (gst_base_sink_activate_push): Make activation mode choosing work.
20157 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20158 is right. Make pull mode work. Post an eos before pausing in pull
20160 (gst_base_sink_change_state): Pay attention to the core's
20161 change_state() return val.
20163 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20164 has-getrange properties. Cleanups.
20166 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20167 has_getrange and replace with can_activate_pull and
20170 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20171 locking comments. Remove has_loop, has_chain and replace with
20172 can_activate_pull and can_activate_push.
20174 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20177 * examples/Makefile.am:
20178 * examples/metadata/Makefile.am:
20179 * examples/metadata/read-metadata.c: (message_loop),
20180 (have_pad_handler), (make_pipeline), (print_tag), (main):
20181 Add metadata reading example that loops over a list of filenames,
20182 dumping any tags found.
20184 * gst/gstbus.c: (gst_bus_dispose):
20185 * gst/gstelement.c: (gst_element_dispose):
20186 Release a few potentially-held references in dispose.
20188 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20190 * docs/gst/tmpl/gstminiobject.sgml:
20191 do *not* add tmpl/*.sgml files to CVS!
20193 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20195 * libs/gst/bytestream/.cvsignore:
20196 * libs/gst/bytestream/Makefile.am:
20197 * libs/gst/bytestream/adapter.c:
20198 * libs/gst/bytestream/adapter.h:
20199 * libs/gst/bytestream/bytestream.c:
20200 * libs/gst/bytestream/bytestream.h:
20201 * libs/gst/bytestream/filepad.c:
20202 * libs/gst/bytestream/filepad.h:
20203 removing obsolete files
20205 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20207 * docs/gst/gstreamer-docs.sgml:
20208 * docs/libs/gstreamer-libs-docs.sgml:
20209 disabed additional index entries again, as this makes docs-gen just
20210 slow and they aren't useful yet
20211 * docs/libs/gstreamer-libs-sections.txt:
20212 little -section.txt cleanup for libs
20214 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20216 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20217 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20218 fix up some debugging
20219 (gst_base_transform_get_unit_size),
20220 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20221 (gst_base_transform_handle_buffer):
20222 * gst/base/gstbasetransform.h:
20223 handle and store timed NEWSEGMENT events so that subclasses that
20224 calculate time by counting samples have a segment_start time they
20225 need to add to their timestamps - see audioresample
20227 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20230 removed ';' from the end of macro defs
20231 * docs/gst/gstreamer-docs.sgml:
20232 * docs/gst/gstreamer-sections.txt:
20233 * docs/gst/tmpl/.cvsignore:
20235 * gst/gstelement.c: (gst_element_class_init),
20236 (gst_element_set_state), (activate_pads),
20237 (gst_element_save_thyself):
20238 * gst/gstevent.c: (gst_event_new_newsegment):
20240 * gst/gstiterator.c:
20241 * gst/gstiterator.h:
20244 * gst/gstutils.c: (gst_pad_query_convert):
20246 fixed parameter name mismatches between source, header and docs
20247 added some more docs, resolved the last batch of unused elements in
20248 docs (now someone needs to doc them)
20250 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20252 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20253 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20254 don't walk through the plugins backwards. Where is all this
20255 reversed logic coming from ?
20257 2005-08-25 Wim Taymans <wim@fluendo.com>
20259 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20260 (gst_base_transform_transform_size),
20261 (gst_base_transform_configure_caps),
20262 (gst_base_transform_get_unit_size),
20263 (gst_base_transform_buffer_alloc),
20264 (gst_base_transform_change_state):
20265 * gst/base/gstbasetransform.h:
20266 Cache caps unit_size.
20267 Make sure we cannot negotiate up and downstream at the
20270 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20272 * gst/gst.c: (init_pre), (init_post):
20273 register the installed plugin path after the env var
20274 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20275 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20276 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20277 directories, so the tests can prefer uninstalled over installed
20279 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20281 * gst/base/gstbasetransform.h:
20286 2005-08-25 Wim Taymans <wim@fluendo.com>
20288 * gst/gstbin.c: (bin_bus_handler):
20289 Be a bit more conservative about the posted message.
20291 * gst/gstbus.c: (gst_bus_post):
20292 Some cleanups, warn wrong return values.
20294 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20296 * check/gst/gstbin.c: (GST_START_TEST):
20297 * gst/gstbin.c: (bin_bus_handler):
20298 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20299 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20300 (gst_message_new_warning), (gst_message_new_tag),
20301 (gst_message_new_state_changed), (gst_message_new_segment_start),
20302 (gst_message_new_segment_done), (gst_message_new_custom):
20303 * gst/gstmessage.h:
20304 * tools/gst-launch.c: (event_loop):
20305 * tools/gst-md5sum.c: (event_loop):
20306 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20308 2005-08-25 Wim Taymans <wim@fluendo.com>
20310 * check/generic/states.c: (GST_START_TEST):
20311 Cleanup can be done at the end.
20313 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20314 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20315 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20316 Oh boy.. Thanks for finding this, Thomas.
20318 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20320 * docs/gst/gstreamer.types:
20321 added missing types
20323 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20325 * docs/gst/gstreamer-docs.sgml:
20326 * docs/gst/gstreamer-sections.txt:
20327 * docs/gst/tmpl/.cvsignore:
20329 * gst/gstiterator.c:
20331 * gst/registries/gstxmlregistry.h:
20332 added missing classes and symbols (123 more to go)
20333 removed removed symbols from section file
20334 fixed many doc-comments
20336 2005-08-24 Wim Taymans <wim@fluendo.com>
20338 * check/generic/states.c: (GST_START_TEST):
20339 Make sure all tasks are stopped.
20341 * check/gst/gstbin.c: (GST_START_TEST):
20342 Unref after usage for proper valgrinding.
20344 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20345 Really wait for the task to stop before destroying the
20348 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20349 (gst_queue_src_activate_push):
20350 Small cleanups. Don't stop the task when we did not start
20353 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20354 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20355 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20358 Protect the stream lock with the object lock.
20359 Disallow setting the stream lock when running.
20360 Add cleanup_all to wait for the threadpool to finish.
20361 Remove code to autoallocate a mutex if none was provided.
20362 Add _join() to wait for a task to stop.
20363 Protect the thread pool with a global lock.
20365 2005-08-24 Wim Taymans <wim@fluendo.com>
20367 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20368 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20369 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20370 * gst/base/gstbasesink.h:
20371 Handle newsegment events correctly.
20372 Drop buffers out of the segment range.
20374 2005-08-22 Andy Wingo <wingo@pobox.com>
20376 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20377 macro, implements an interface and gstimplementsinterface for a
20380 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20382 * check/Makefile.am:
20383 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20384 add a test that does a bunch of state changes on elements
20385 needs some fixing for valgrind
20386 * check/states/sinks.c: (gst_object_suite):
20389 add prototype for gst_caps_is_equal_fixed
20391 * gst/gstregistrypool.c:
20394 2005-08-24 Andy Wingo <wingo@pobox.com>
20396 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20397 convert a negative value. Doesn't make much sense. Mostly this is
20398 here to force callers to ensure -1 maps to -1.
20400 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20402 * docs/pwg/advanced-types.xml:
20403 Well done to Michael for catching my deliberate introduction
20404 of this spelling mistake.
20405 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20406 * gst/gstelement.h:
20407 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20408 unlink pads before removing the element from the bin.
20410 2005-08-24 Andy Wingo <wingo@pobox.com>
20412 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20413 the same thing as GST_DEBUG=*:4.
20414 (parse_debug_level, parse_debug_category): New helper parsers.
20416 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20418 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20419 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20420 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20421 (gst_base_transform_buffer_alloc),
20422 (gst_base_transform_handle_buffer):
20423 use gboolean return values and pointers to size so we can use the
20424 full GST_BUFFER_SIZE range (guint) for buffer sizes
20425 use GstPadDirection for transform_caps
20426 * gst/base/gstbasetransform.h:
20427 rename get_size to get_unit_size since that's what it is
20428 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20429 use GstPadDirection for transform_caps
20430 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20432 cleanup and debugging
20434 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20436 * gst/gstelement.c: (gst_element_class_init),
20437 (gst_element_set_state), (activate_pads),
20438 (gst_element_save_thyself):
20439 * tools/gst-compprep.c: (main):
20440 * tools/gst-inspect.c: (print_element_properties_info):
20441 * tools/gst-xmlinspect.c: (print_element_properties):
20442 Fixed long standing mem-leak
20444 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20446 * check/gst/gstbin.c: (GST_START_TEST):
20447 * gst/gstbin.c: (bin_bus_handler):
20448 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20449 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20450 (gst_message_new_warning), (gst_message_new_tag),
20451 (gst_message_new_state_changed), (gst_message_new_segment_start),
20452 (gst_message_new_segment_done), (gst_message_new_custom):
20453 * gst/gstmessage.h:
20454 * tools/gst-launch.c: (event_loop):
20455 * tools/gst-md5sum.c: (event_loop):
20456 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20457 that applications can sensibly post custom messages with references
20458 to their own objects.
20460 2005-08-24 Andy Wingo <wingo@pobox.com>
20462 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20465 2005-08-24 Wim Taymans <wim@fluendo.com>
20467 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20468 (gst_base_transform_transform_caps),
20469 (gst_base_transform_transform_size),
20470 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20471 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20472 (gst_base_transform_handle_buffer):
20473 * gst/base/gstbasetransform.h:
20474 Many fixes and new features added by Thomas. Can now also do
20475 transforms with variable sizes and a custom fixate_caps function.
20477 2005-08-24 Wim Taymans <wim@fluendo.com>
20479 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20483 Cast to ClockTime before formatting to time.
20488 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20490 * check/gst-libs/controller.c: (GST_START_TEST),
20491 (gst_controller_suite):
20492 * docs/gst/tmpl/gstcaps.sgml:
20493 * docs/gst/tmpl/gstghostpad.sgml:
20494 * docs/gst/tmpl/gstquery.sgml:
20495 * docs/gst/tmpl/gstutils.sgml:
20496 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20497 (gst_object_sink_values), (gst_object_get_value_arrays),
20498 (gst_object_get_value_array):
20499 gracefully handle helper method calls to objects that are not beeing
20500 controlled, added test case for that
20502 2005-08-23 Wim Taymans <wim@fluendo.com>
20504 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20505 (gst_event_new_newsegment), (gst_event_parse_newsegment),
20506 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20507 (gst_event_parse_qos), (gst_event_new_seek),
20508 (gst_event_parse_seek):
20510 Some more debugging output and doc cleanups.
20512 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20513 Fix possible deadlock.
20515 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20517 * docs/gst/gstreamer-docs.sgml:
20518 * docs/gst/gstreamer-sections.txt:
20519 * docs/gst/gstreamer.types:
20520 * docs/gst/tmpl/.cvsignore:
20523 * gst/gstelement.c:
20525 added 100 symbols from gstreamer-unused.txt to the right sections
20526 fixed more broken comments
20527 added GstBus to docs
20529 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20531 * docs/gst/gstreamer-sections.txt:
20532 * docs/gst/tmpl/.cvsignore:
20533 * docs/gst/tmpl/gstbin.sgml:
20534 * docs/gst/tmpl/gstbuffer.sgml:
20535 * gst/base/gstbasesrc.c:
20536 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20539 * tools/gst-launch.1.in:
20540 inlined more doc comments, added missing comments and fixed comments
20543 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
20545 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20549 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20551 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20552 * gst/gststructure.h:
20553 add a fixate function for booleans; add a FIXME that these func
20554 names should probably be gst_structure_fixate_*
20556 2005-08-23 Stefan Kost <ensonic@users.sf.net>
20558 * docs/gst/gstreamer-docs.sgml:
20559 * docs/gst/gstreamer-sections.txt:
20561 * gst/gstbin.c: (gst_bin_get_type),
20562 (gst_bin_child_proxy_get_child_by_index),
20563 (gst_bin_child_proxy_get_children_count),
20564 (gst_bin_child_proxy_init):
20565 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20566 (gst_child_proxy_get_child_by_index),
20567 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20568 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20569 (gst_child_proxy_get), (gst_child_proxy_set_property),
20570 (gst_child_proxy_set_valist), (gst_child_proxy_set),
20571 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20572 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20573 * gst/gstchildproxy.h:
20574 * gst/parse/grammar.y:
20575 * tools/gst-inspect.c: (print_interfaces),
20576 (print_element_properties_info), (print_element_info):
20577 ported gstchildproxy over from 0.8
20578 ported gst-inspect fixes and enhancements over from 0.8
20580 2005-08-22 Wim Taymans <wim@fluendo.com>
20582 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20583 (gst_base_transform_handle_buffer):
20584 Also call the transform function if we have ANY caps.
20586 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20589 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20591 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20592 Don't pretend to handle seek events if the source is not seekable
20594 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
20596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20597 Remove extra parameter to debug output
20599 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20600 (gst_base_src_do_seek), (gst_base_src_activate_push):
20601 Fix seek event handling.
20603 * gst/gstpipeline.c: (gst_pipeline_change_state):
20604 * gst/gstqueue.c: (gst_queue_handle_sink_event),
20605 (gst_queue_src_activate_push):
20606 Don't start the src pad task on FLUSH_STOP if the pad
20610 2005-08-22 Wim Taymans <wim@fluendo.com>
20612 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20613 Added check for gst_static_caps_get() refcounting.
20615 2005-08-22 Wim Taymans <wim@fluendo.com>
20617 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20618 Make _static_caps_get() refcounting sane.
20620 * gst/gstelement.c: (gst_element_set_state):
20621 Add g_return_val_if_fail() to protect against segfaults.
20623 2005-08-22 Stefan Kost <ensonic@users.sf.net>
20625 * docs/gst/tmpl/gstevent.sgml:
20628 inlined remaining docs, added missing doc comments
20630 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
20632 * check/gst/gstbin.c: (GST_START_TEST):
20633 since we don't know when preroll is done, use refcount range
20635 * gst/check/gstcheck.h:
20636 add macro for checking refcount range
20638 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20640 * check/Makefile.am:
20641 clean up environment for when registry gets built versus
20642 when actual tests are run; valgrind seems to not report
20643 leaks if GST_PLUGIN_PATH is set to some specific values
20644 * check/gst/gstbin.c: (GST_START_TEST):
20645 add more refcounting checks; maybe this exposes a
20647 * common/check.mak:
20648 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20649 * gst/check/gstcheck.h:
20650 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20651 (gst_bin_change_state):
20652 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20653 add/fix debugging/whitespace
20655 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20657 * check/gst/gstevent.c: (event_probe), (test_event),
20659 Er, don't call gst_bin_watch_for_state_change you idiot.
20661 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
20663 * check/Makefile.am:
20664 Use CHECK_CFLAGS and CHECK_LIBS
20665 * check/gst/gstevent.c: (event_probe), (test_event),
20668 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20669 (gst_base_src_start), (gst_base_src_stop),
20670 (gst_base_src_activate_push), (gst_base_src_activate_pull),
20671 (gst_base_src_change_state):
20672 Sprinkle gst_base_src_stop liberally around error paths to fix
20673 problems reusing a source after failed state changes.
20674 * gst/base/gsttypefindhelper.c: (helper_find_peek),
20675 (helper_find_suggest), (gst_type_find_helper):
20676 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20678 * docs/gst/tmpl/gstevent.sgml:
20679 Migrate part of the docs from the SGML file. Wait for ensonic to
20680 tell me how I did it wrong ;)
20681 * tools/gst-typefind.c: (main):
20682 Extra robustness to state changes between files.
20684 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
20686 * check/Makefile.am:
20687 don't valgrind the controller test - it's leaking - Stefan, HELP
20688 * gst/check/gstcheck.c: (gst_check_message_error),
20689 (gst_check_chain_func), (gst_check_setup_element),
20690 (gst_check_teardown_element), (gst_check_setup_src_pad),
20691 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20692 (gst_check_teardown_sink_pad):
20693 * gst/check/gstcheck.h:
20694 add a bunch of methods to set up elements, and src and sink pads
20695 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20696 * check/elements/identity.c: (setup_identity), (cleanup_identity),
20699 * gst/gstmessage.c:
20701 whitespace/doc fixes
20703 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20705 * gst/gstelement.h:
20706 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20707 be handled by the application and not always printed as well
20709 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20711 * check/Makefile.am:
20713 * gst/check/gstcheck.c: (gst_check_message_error):
20714 * gst/check/gstcheck.h:
20715 add a fail_unless_equals_int
20716 add fail_unless for error messages
20718 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20720 * check/Makefile.am:
20722 * common/Makefile.am:
20723 * common/check.mak:
20725 factor out some of the common stuff so we can use it
20727 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20729 * check/Makefile.am:
20730 * check/gst/gstiterator.c: (GST_START_TEST):
20731 * check/gst/gstsystemclock.c: (GST_START_TEST),
20732 (gst_systemclock_suite):
20733 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20735 valgrind more tests
20737 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
20739 * check/elements/.cvsignore:
20740 * check/elements/gstfakesrc.c:
20741 rename to name of element
20742 * check/elements/identity.c: (chain_func), (event_func),
20743 (setup_identity), (cleanup_identity), (GST_START_TEST),
20744 (identity_suite), (main):
20745 add a test for identity
20746 * check/Makefile.am:
20747 * pkgconfig/Makefile.am:
20748 * pkgconfig/gstreamer-check.pc.in:
20749 * pkgconfig/gstreamer-check-uninstalled.pc.in:
20753 move the check stuff to a library that gets installed
20754 * check/gst-libs/controller.c: (GST_START_TEST):
20755 * check/gst-libs/gdp.c:
20756 * check/gst/gst.c: (GST_START_TEST):
20757 * check/gst/gstbin.c:
20758 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20759 * check/gst/gstbus.c:
20760 * check/gst/gstcaps.c: (GST_START_TEST):
20761 * check/gst/gstelement.c:
20762 * check/gst/gstghostpad.c:
20763 * check/gst/gstiterator.c:
20764 * check/gst/gstmessage.c:
20765 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20766 * check/gst/gstobject.c:
20767 * check/gst/gstpad.c: (GST_START_TEST):
20768 * check/gst/gststructure.c: (GST_START_TEST):
20769 * check/gst/gstsystemclock.c: (GST_START_TEST),
20770 (gst_systemclock_suite):
20771 * check/gst/gsttag.c: (gst_tag_suite):
20772 * check/gst/gstvalue.c:
20773 * check/pipelines/cleanup.c:
20774 * check/pipelines/simple_launch_lines.c:
20775 * check/states/sinks.c:
20776 change include statement
20778 * docs/gst/gstreamer-sections.txt:
20779 * docs/gst/tmpl/gstpad.sgml:
20780 document more pad stuff
20781 * gst/gstminiobject.c: (gst_mini_object_ref),
20782 (gst_mini_object_unref):
20785 2005-08-19 Stefan Kost <ensonic@users.sf.net>
20787 * docs/gst/tmpl/gst.sgml:
20789 eliminate another tmpl file, fix spelling in the long-description
20791 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20793 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20794 (test_event), (timediff), (gstevents_suite):
20795 Should fix build on 64-bit arch's
20797 2005-08-18 Andy Wingo <wingo@pobox.com>
20799 Make sure that when a pipeline goes to PLAYING, that data has
20800 actually hit the sink.
20802 * check/states/sinks.c (test_sink): A sink that doesn't get any
20803 data shouldn't return SUCCESS for going to either PLAYING or
20804 PAUSED. Test also the return values on the way back down.
20806 * gst/gstelement.c (gst_element_set_state): When changing the
20807 state of an element currently changing state asynchronously, go to
20808 lost-state after commiting the pending state. Makes future calls
20809 to get_state continue to return ASYNC.
20811 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20812 ASYNC when going to PLAYING if we still don't have preroll, as can
20813 happen with live sources.
20815 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20817 * docs/pwg/advanced-types.xml:
20818 Hack long paragraph into 2 chunks as a workaround for buggy
20819 jadetex version in sid and breezy that loops infinitely and
20822 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20824 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20825 (test_event), (timediff), (gstevents_suite):
20826 Provide more error margin in clock measurements to allow for
20827 g_get_current_time inaccuracies.
20829 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20831 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20832 (test_event), (timediff), (gstevents_suite):
20833 Fix error message output so I might be able to tell why the
20834 test works here but fails on the build farm.
20836 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
20838 * check/Makefile.am:
20839 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20840 (test_event), (timediff), (gstevents_suite), (main):
20843 * docs/design/part-seeking.txt:
20844 Spelling correction
20846 * docs/gst/tmpl/gstevent.sgml:
20847 * docs/gst/tmpl/gstfakesrc.sgml:
20850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20851 Treat a buffer-without-newsegment the same as a receiving
20852 a newsegment not in time format, and disable syncing to the clock
20855 * gst/gstbus.c: (gst_bus_set_sync_handler):
20856 Assert if anyone tries to replace the existing sync_handler for bus,
20857 as only the owner should be setting it.
20860 Have a fixed set of custom event enums with events identified by
20861 their structure name (as in 0.8), rather than a free-for-all
20862 allowing collisions between enum values from different plugins.
20864 * gst/gstpad.c: (gst_pad_class_init):
20867 * gst/gstqueue.c: (gst_queue_handle_sink_event):
20868 Handle out-of-band downstream events from the sending thread.
20870 2005-08-17 Andy Wingo <wingo@pobox.com>
20872 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20873 play-timeout==0 to mean no timeout at all. In that case, don't
20874 bother with a get_state or a warning, just return directly, even
20877 * gst/base/gstbasetransform.c: Debug changes.
20880 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20881 ensure bins post state change messages. A bit of a hack but I can't
20882 think of a way to avoid it.
20884 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20886 2005-08-16 Andy Wingo <wingo@pobox.com>
20888 * gst/base/gstadapter.h:
20889 * gst/base/gstadapter.c (gst_adapter_take): New function, like
20890 peek() but you own the data. Not terribly efficient atm.
20892 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20894 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
20895 (gst_element_found_tags):
20897 Add two utility functions for tag handling.
20899 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20901 * docs/manual/advanced-dataaccess.xml:
20902 * docs/manual/basics-helloworld.xml:
20903 Fix docs to use _bin_add() before _link(), which fixes the examples
20904 with recent core versions (reported by Madhan Raj M
20905 <raj_madan@rediffmail.com>, #313199).
20907 2005-08-16 Wim Taymans <wim@fluendo.com>
20909 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20910 Added subtract checks.
20912 * docs/design/part-events.txt:
20913 Some more docs about newsegment
20915 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
20918 * gst/gstcaps.c: (gst_caps_to_string):
20919 Add comments, cleanups.
20921 * gst/gstelement.c: (gst_element_save_thyself):
20924 * gst/gstvalue.c: (gst_value_collect_int_range),
20925 (gst_string_unwrap), (gst_value_union_int_int_range),
20926 (gst_value_union_int_range_int_range),
20927 (gst_value_intersect_int_int_range),
20928 (gst_value_intersect_int_range_int_range),
20929 (gst_value_intersect_double_double_range),
20930 (gst_value_intersect_double_range_double_range),
20931 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
20932 (gst_value_subtract_int_range_int),
20933 (gst_value_subtract_double_range_double),
20934 (gst_value_subtract_double_range_double_range),
20935 (gst_value_subtract_from_list), (gst_value_subtract_list),
20936 (gst_value_can_compare), (gst_value_compare_fraction):
20937 Cleanups, add comments, remove unneeded asserts.
20939 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20941 * tools/gst-launch.c: (event_loop):
20942 don't convert NULL structures to strings
20944 2005-08-15 Stefan Kost <ensonic@users.sf.net>
20946 * docs/gst/gstreamer-sections.txt:
20947 made some defines private
20948 * docs/gst/tmpl/gstconfig.sgml:
20949 * docs/gst/tmpl/gstqueue.sgml:
20950 * docs/gst/tmpl/gsttaglist.sgml:
20951 * docs/gst/tmpl/gsttypes.sgml:
20952 * docs/gst/tmpl/gstutils.sgml:
20953 * docs/pwg/appendix-porting.xml:
20954 * gst/base/gstbasesink.h:
20955 * gst/base/gstbasesrc.c:
20956 * gst/base/gstbasesrc.h:
20957 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
20958 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
20959 * gst/gstelement.c: (gst_element_class_init):
20960 * gst/gstpad.c: (gst_pad_class_init):
20961 * gst/gstqueue.c: (gst_queue_class_init):
20962 * gst/gstxml.c: (gst_xml_class_init):
20963 documented all undocumented signal inline
20964 * libs/gst/controller/gst-controller.h:
20967 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
20969 * docs/pwg/appendix-porting.xml:
20970 Document _set_link_function -> _set_setcaps_function.
20972 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
20974 * check/Makefile.am:
20975 add a .check target for running the check
20976 * check/gst-libs/controller.c: (GST_START_TEST):
20978 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20979 complete checks for gstbuffer; would be nice if I could get the
20980 gcov stuff to work so I can see if I actually completed gstbuffer.c
20981 * check/gstcheck.h:
20982 add ASSERT_BUFFER_REFCOUNT
20984 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
20986 * docs/gst/gstreamer-sections.txt:
20987 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
20989 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
20990 spew out a warning if a tag that is already registered
20991 is re-registered, unless it is re-registered with a
20992 different type (#308438).
20994 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
20996 * docs/pwg/appendix-porting.xml:
20997 * docs/pwg/building-state.xml:
20998 Add some paragraphs about state changes in 0.9 to the PWG
20999 and the porting guide, in particular about the new meaning
21000 of GST_STATE_PAUSED and how to write state change functions
21001 with concurrent access by multiple threads in mind.
21003 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21005 * docs/gst/gstreamer-docs.sgml:
21006 * docs/libs/gstreamer-libs-docs.sgml:
21007 added deprecation and since indexes
21008 * libs/gst/controller/gst-controller.c:
21009 * libs/gst/controller/gst-helper.c:
21013 2005-08-11 Wim Taymans <wim@fluendo.com>
21015 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21016 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21017 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21018 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21019 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21020 (gst_ghost_pad_set_target):
21021 Actually implement (re)setting the target on a ghostpad
21022 as described in the docs.
21024 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21026 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21027 Check whether GST_DEBUG_NO_COLOR environment variable is
21028 set and disable coloured debug output if that is the case.
21030 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21032 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21033 (gst_type_find_helper):
21034 The memory returned by gst_type_find_peek() needs to
21035 stay valid until the end of a typefind function, and
21036 typefind functions may keep results from different
21037 offsets around, so we can't just unref the buffer from
21038 the previous _peek(), but have to save all buffers
21039 returned by _peek() until typefinding is done and only
21042 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21044 * docs/gst/gstreamer-sections.txt:
21046 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21048 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21050 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21051 Fix a pretty good memleak.
21053 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21055 * gst/gstiterator.h:
21056 Fix wrong include and 'make distcheck'.
21058 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21060 * gst/gstbin.c: (bin_bus_handler):
21061 Use gst_element_post_message() instead.
21063 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21065 * gst/base/gstadapter.h:
21066 * gst/base/gstbasesink.h:
21067 * gst/base/gstbasesrc.h:
21068 * gst/base/gstbasetransform.h:
21069 * gst/base/gstcollectpads.h:
21070 * gst/base/gstpushsrc.h:
21071 * gst/gstiterator.h:
21072 Add padding to our base elements' class and instance structs and
21073 to GstIterator (you will need to rebuild all plugins and apps!)
21075 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21077 * gst/gstbin.c: (bin_bus_handler):
21078 Make default message forwarding from child->bus to bin->bus
21079 threadsafe and make it not emit warnings if the parent has no bus.
21081 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21083 * gst/gstelement.c: (activate_pads):
21084 On paused->ready, set pad->caps to NULL, as is the documented
21085 behaviour in this state change. Fixes playback of series of
21086 media files when visualization is enabled in Totem.
21088 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21090 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21091 Allow NULL as filter-caps (which means "any").
21093 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21095 * docs/libs/gstreamer-libs-sections.txt:
21096 * libs/gst/controller/gst-controller.c:
21097 * libs/gst/controller/gst-controller.h:
21098 * libs/gst/controller/gst-helper.c:
21099 adding more entries to the docs and fix small doc-bugs
21101 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21103 * docs/gst/gstreamer-docs.sgml:
21104 * docs/gst/gstreamer-sections.txt:
21105 * docs/gst/gstreamer.types:
21106 * docs/gst/tmpl/gstbasesink.sgml:
21107 * docs/gst/tmpl/gstbasesrc.sgml:
21108 * docs/gst/tmpl/gstbasetransform.sgml:
21109 * docs/gst/tmpl/gstfakesrc.sgml:
21110 * gst/base/gstcollectpads.c:
21111 * gst/base/gstcollectpads.h:
21112 * libs/gst/controller/gst-controller.c:
21113 * libs/gst/controller/gst-controller.h:
21114 * libs/gst/controller/gst-helper.c:
21115 * libs/gst/controller/gst-interpolation.c:
21116 * libs/gst/controller/lib.c:
21117 added long/short desc for controller docs
21118 added collectpads base class docs
21119 added correct includes to base-class docs
21121 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21123 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21124 (gst_test_mono_source_set_property),
21125 (gst_test_mono_source_class_init), (GST_START_TEST),
21126 (gst_controller_suite):
21127 * docs/gst/gstreamer-docs.sgml:
21128 * docs/gst/gstreamer-sections.txt:
21129 * docs/gst/gstreamer.types:
21130 * docs/libs/gstreamer-libs-docs.sgml:
21131 * docs/libs/gstreamer-libs-sections.txt:
21132 * gst/base/gstadapter.c:
21133 * libs/gst/controller/gst-controller.c:
21134 (gst_controlled_property_new), (gst_controlled_property_free),
21135 (gst_controller_new_valist),
21136 (gst_controller_remove_properties_valist),
21137 (gst_controller_sink_values), (_gst_controller_finalize):
21138 * libs/gst/controller/gst-controller.h:
21139 * libs/gst/controller/gst-helper.c:
21140 (gst_object_control_properties), (gst_object_uncontrol_properties),
21141 (gst_object_get_controller), (gst_object_set_controller),
21142 (gst_object_sink_values), (gst_object_get_value_arrays),
21143 (gst_object_get_value_array):
21144 more tests (and fixes) for the controller
21145 more docs for the controller
21146 integrated companies docs for the adapter
21148 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21150 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21151 (GST_START_TEST), (fakesrc_suite):
21152 add tests for sizetype
21154 2005-08-04 Andy Wingo <wingo@pobox.com>
21156 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21157 fixes buffer_alloc proxying among other things.
21159 * gst/base/gstbasetransform.c:
21160 * gst/base/gstbasetransform.h:
21161 Revert patch to gstbasetransform from 7-28 removing
21164 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21165 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21166 Semantics changed, should return not the size of the output buffer
21167 but the byte size of a buffer with a given caps.
21169 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21171 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21172 out) are not the pad caps until setcaps finishes.
21173 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21174 not-in-place case as well. Deal with changing from in-place to
21175 not-in-place within calling pad_alloc_buffer. Still a bit
21176 concerned about the overhead here...
21178 2005-08-03 Andy Wingo <wingo@pobox.com>
21180 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21181 fixating is an error.
21183 2005-08-04 Edward Hervey <edward@fluendo.com>
21185 * gst/base/gstadapter.h:
21186 Added gst_adapter_get_type() to the header
21188 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21190 * check/Makefile.am:
21191 * check/gst-libs/controller.c:
21192 * libs/gst/controller/gst-controller.c:
21193 (gst_controller_new_valist):
21194 added check test suite for the controller
21195 * gst/base/gstpushsrc.c:
21198 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21200 * docs/gst/Makefile.am:
21201 * docs/gst/gstreamer-docs.sgml:
21202 * docs/gst/gstreamer-sections.txt:
21203 * docs/gst/gstreamer.types:
21204 * docs/gst/tmpl/gstfakesrc.sgml:
21206 * gst/base/gstbasesink.c:
21207 * gst/base/gstbasesink.h:
21208 * gst/base/gstbasesrc.c:
21209 * gst/base/gstbasesrc.h:
21210 * gst/base/gstbasetransform.c:
21211 * gst/base/gstpushsrc.c:
21212 * gst/base/gstpushsrc.h:
21213 add short/long description docs to base classes
21214 add pushsrc to the docs
21215 remove consolidated doc fragments
21217 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21220 * docs/libs/Makefile.am:
21221 * docs/libs/gstreamer-libs-docs.sgml:
21222 * docs/libs/gstreamer-libs-sections.txt:
21223 * docs/libs/gstreamer-libs.types:
21224 * examples/Makefile.am:
21225 * examples/controller/.cvsignore:
21226 * examples/controller/Makefile.am:
21227 * examples/controller/audio-example.c: (main):
21228 * libs/gst/Makefile.am:
21229 * libs/gst/controller/.cvsignore:
21230 * libs/gst/controller/Makefile.am:
21231 * libs/gst/controller/gst-controller.c:
21232 (on_object_controlled_property_changed), (gst_timed_value_compare),
21233 (gst_timed_value_find),
21234 (gst_controlled_property_set_interpolation_mode),
21235 (gst_controlled_property_new), (gst_controlled_property_free),
21236 (gst_controller_find_controlled_property),
21237 (gst_controller_new_valist), (gst_controller_new),
21238 (gst_controller_remove_properties_valist),
21239 (gst_controller_remove_properties), (gst_controller_set),
21240 (gst_controller_set_from_list), (gst_controller_unset),
21241 (gst_controller_get), (gst_controller_get_all),
21242 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21243 (gst_controller_get_value_array),
21244 (gst_controller_set_interpolation_mode),
21245 (_gst_controller_finalize), (_gst_controller_init),
21246 (_gst_controller_class_init), (gst_controller_get_type):
21247 * libs/gst/controller/gst-controller.h:
21248 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21249 (g_object_uncontrol_properties), (g_object_get_controller),
21250 (g_object_set_controller), (g_object_sink_values),
21251 (g_object_get_value_arrays), (g_object_get_value_array):
21252 * libs/gst/controller/gst-interpolation.c:
21253 (gst_controlled_property_find_timed_value_node),
21254 (interpolate_none_get), (interpolate_trigger_get),
21255 (interpolate_trigger_get_value_array):
21256 * libs/gst/controller/lib.c: (gst_controller_init):
21257 * pkgconfig/Makefile.am:
21258 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21259 * pkgconfig/gstreamer-control.pc.in:
21260 * testsuite/Makefile.am:
21261 * testsuite/controller/.cvsignore:
21262 * testsuite/controller/Makefile.am:
21263 * testsuite/controller/interpolator.c: (main):
21264 added controller code
21265 removed dparam pc files
21267 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21268 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21269 (gst_collectpads_stop):
21270 Broadcast the condition when shutting down, to make sure we wake all
21271 threads up. Shut down pads on finalize, for safety.
21273 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21274 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21275 (gst_base_transform_handle_buffer),
21276 (gst_base_transform_change_state):
21277 Handle PAUSED->READY->PAUSED transition after negotiation
21279 * gst/gstmessage.c: (gst_message_init):
21280 Extra piece of debug for new messages.
21282 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21285 * docs/gst/tmpl/gstbasesrc.sgml:
21286 * docs/gst/tmpl/gstelement.sgml:
21287 * docs/gst/tmpl/gstevent.sgml:
21288 * docs/gst/tmpl/gstfakesrc.sgml:
21289 * docs/gst/tmpl/gstformat.sgml:
21290 * docs/gst/tmpl/gstghostpad.sgml:
21291 * docs/gst/tmpl/gstpad.sgml:
21292 * docs/gst/tmpl/gstquery.sgml:
21293 * docs/gst/tmpl/gststructure.sgml:
21294 * docs/gst/tmpl/gsttaglist.sgml:
21295 * docs/gst/tmpl/gstvalue.sgml:
21296 * docs/libs/gstreamer-libs-docs.sgml:
21297 * docs/libs/gstreamer-libs-sections.txt:
21298 * docs/libs/gstreamer-libs.types:
21299 * libs/gst/Makefile.am:
21300 * libs/gst/control/.cvsignore:
21301 * libs/gst/control/Makefile.am:
21302 * libs/gst/control/control.c:
21303 * libs/gst/control/control.h:
21304 * libs/gst/control/dparam.c:
21305 * libs/gst/control/dparam.h:
21306 * libs/gst/control/dparam_smooth.c:
21307 * libs/gst/control/dparam_smooth.h:
21308 * libs/gst/control/dparamcommon.h:
21309 * libs/gst/control/dparammanager.c:
21310 * libs/gst/control/dparammanager.h:
21311 * libs/gst/control/dplinearinterp.c:
21312 * libs/gst/control/dplinearinterp.h:
21313 * libs/gst/control/unitconvert.c:
21314 * libs/gst/control/unitconvert.h:
21315 * testsuite/Makefile.am:
21316 * testsuite/dynparams/.cvsignore:
21317 * testsuite/dynparams/Makefile.am:
21318 * testsuite/dynparams/dparamstest.c:
21319 * tools/Makefile.am:
21320 * tools/gst-inspect.c: (print_element_info), (main):
21321 * tools/gst-xmlinspect.c: (print_element_info), (main):
21322 deactivate and remove dparams (libgstcontrol)
21324 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21326 * gst/elements/gsttypefindelement.c:
21327 (gst_type_find_element_have_type), (gst_type_find_element_init),
21328 (stop_typefinding), (gst_type_find_element_handle_event),
21329 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21330 * gst/elements/gsttypefindelement.h:
21331 Set caps on all outgoing buffers, not just the first one.
21333 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21335 * gst/elements/gsttypefindelement.c:
21336 (gst_type_find_element_have_type),
21337 (gst_type_find_element_check_set_buffer_caps),
21338 (gst_type_find_element_init), (stop_typefinding),
21339 (gst_type_find_element_handle_event),
21340 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21341 * gst/elements/gsttypefindelement.h:
21342 Set caps on first outgoing buffer when we've found the type.
21344 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21346 * docs/gst/gstreamer-docs.sgml:
21347 * docs/gst/gstreamer-sections.txt:
21348 * docs/gst/tmpl/gstscheduler.sgml:
21349 * docs/gst/tmpl/gstschedulerfactory.sgml:
21350 Remove some old cruft from docs.
21352 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21355 Fix inline docs for GstPadLinkReturn.
21357 * gst/gststructure.c: (gst_structure_has_name):
21358 * gst/gststructure.h:
21359 * docs/gst/gstreamer-sections.txt:
21360 New API: gst_structure_has_name().
21362 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21365 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21366 and _LARGEFILE_SOURCE in config.h as required. Do not
21367 export those flags in our .pc files any longer (#142209).
21369 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21371 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21372 (gst_file_sink_do_seek), (gst_file_sink_event),
21373 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21374 Redo seek/tell calls with large file support in mind; add some
21375 debugging messages; add log message that tells us when large
21376 file support is unavailable or not enabled for some reason.
21378 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21379 Add log message that tells us when large file support
21380 is unavailable or not enabled for some reason.
21382 2005-07-29 Wim Taymans <wim@fluendo.com>
21384 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21385 Added test for removing an element with ghostpad from a bin.
21386 Fixed test as current implementation does the right thing.
21388 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21389 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21390 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21391 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21392 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21393 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21394 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21395 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21396 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21397 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21398 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21399 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21400 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21401 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21402 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21403 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21404 * gst/gstghostpad.h:
21405 Clean up ghostpads, remove properties for internal stuff.
21408 Prepare for switching targets, not all use cases work yet.
21410 2005-07-29 Wim Taymans <wim@fluendo.com>
21412 * docs/design/part-gstghostpad.txt:
21415 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21416 (gst_bin_remove_func):
21417 Unlinking pads while holding the bin LOCK is not a good
21420 * gst/gstpad.c: (gst_pad_class_init),
21421 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21422 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21423 No prob setting template after creating the pad.
21425 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21427 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21428 (gst_bus_peek), (gst_bus_source_dispatch),
21429 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21430 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21431 gst_bus_poll may be called from other threads. Handle
21432 this nicely by not making poll_data disappear off the
21433 stack once gst_bus_poll returns.
21434 gst_bus_peek now increments the refcount on the returned
21437 2005-07-29 Wim Taymans <wim@fluendo.com>
21439 * docs/design/part-gstghostpad.txt:
21440 Overview of current GhostPad datastructures and use
21441 cases for changing the target.
21443 2005-07-28 Wim Taymans <wim@fluendo.com>
21445 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21446 Added checks for hierarchy consistency whan adding linked
21449 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21450 Added check to test element scheduling without bin/pipeline.
21452 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21453 First add elements to bin, then link.
21455 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21456 (gst_bin_remove_func):
21457 Unlink pads from elements added/removed from bin to maintain
21458 hierarchy consistency.
21460 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21462 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21463 (gst_base_transform_handle_buffer):
21464 * gst/base/gstbasetransform.h:
21465 Remove broken delay_configure (fixes renegotiation of software
21466 scaling pipelines); remove some leftover printf()s.
21468 2005-07-28 Wim Taymans <wim@fluendo.com>
21470 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21471 Added some more tests for wrong hierarchy
21473 * docs/design/part-overview.txt:
21476 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21479 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21480 (gst_element_dispose):
21481 Some more cleanups.
21483 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21484 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21485 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21486 (gst_pad_set_caps), (gst_pad_send_event):
21487 Check for correct hierarchy when linking pads. Moving to
21488 strict requirement for ghostpads when linking elements in
21492 Clean ups. Added WRONG_HIERARCHY return value.
21494 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21496 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21497 Better debug if no transform is possible.
21499 2005-07-27 Wim Taymans <wim@fluendo.com>
21501 * docs/random/wtay/network-transp:
21502 Some old doc I had.
21504 2005-07-27 Wim Taymans <wim@fluendo.com>
21506 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21507 (gst_dp_event_from_packet):
21508 Fix serialization of seek events.
21510 2005-07-27 Wim Taymans <wim@fluendo.com>
21512 * check/gst-libs/gdp.c: (GST_START_TEST):
21513 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21514 Fix compilation and fix event serialization.
21516 2005-07-27 Wim Taymans <wim@fluendo.com>
21519 * docs/design/part-TODO.txt:
21520 * docs/design/part-events.txt:
21523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21524 (gst_base_sink_event), (gst_base_sink_do_sync),
21525 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21526 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21527 (gst_base_src_do_seek), (gst_base_src_event_handler),
21528 (gst_base_src_loop):
21529 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21530 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21531 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21532 (gst_base_transform_event), (gst_base_transform_handle_buffer),
21533 (gst_base_transform_set_passthrough),
21534 (gst_base_transform_is_passthrough):
21535 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21536 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21542 * gst/gstelement.c: (gst_element_seek):
21543 * gst/gstelement.h:
21544 Update gst_element_seek.
21546 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21547 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21548 (gst_event_new_flush_start), (gst_event_new_flush_stop),
21549 (gst_event_new_eos), (gst_event_new_newsegment),
21550 (gst_event_parse_newsegment), (gst_event_new_tag),
21551 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21552 (gst_event_parse_qos), (gst_event_new_seek),
21553 (gst_event_parse_seek), (gst_event_new_navigation):
21555 Make GstEvent use GstStructure. Add parsing code, make sure the
21556 API is sufficiently generic.
21557 Mark possible directions of events and serialization.
21559 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21560 (_gst_message_copy), (gst_message_new_segment_start),
21561 (gst_message_new_segment_done), (gst_message_new_custom),
21562 (gst_message_parse_segment_start),
21563 (gst_message_parse_segment_done):
21566 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21567 (gst_pad_set_caps), (gst_pad_send_event):
21568 Update for new events.
21569 Catch events sent in wrong directions.
21571 * gst/gstqueue.c: (gst_queue_link_src),
21572 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21573 (gst_queue_handle_src_query):
21578 Remove event code from this file.
21580 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21581 (gst_dp_event_from_packet):
21584 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21586 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21587 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21588 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21589 Make debugging actually useful.
21591 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21593 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21594 (gst_pad_fixate_caps):
21595 Implement default fixation once again, so that gst_pad_fixate()
21596 actually does anything at all. This probably needs to be some
21597 sort of a last resort, and use profile-based fixation first, but
21598 since that doesn't exist yet, this is the best we have. Fixes
21599 visualization in Totem.
21601 2005-07-22 Wim Taymans <wim@fluendo.com>
21603 * docs/design/part-events.txt:
21606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21607 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21608 (gst_base_sink_activate_pull):
21609 Some more comments.
21611 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21612 (gst_fake_src_create):
21613 Fix handoff marshall.
21615 * gst/elements/gstidentity.c: (gst_identity_class_init),
21616 (gst_identity_transform_ip):
21617 We're a real inplace element.
21619 * gst/gstbus.c: (gst_bus_post):
21620 Added some comments.
21622 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21623 * tests/muxing/case1.c: (main):
21624 * tests/sched/dynamic-pipeline.c: (main):
21625 * tests/sched/interrupt1.c: (main):
21626 * tests/sched/interrupt2.c: (main):
21627 * tests/sched/interrupt3.c: (main):
21628 * tests/sched/runxml.c: (main):
21629 * tests/sched/sched-stress.c: (main):
21630 * tests/seeking/seeking1.c: (event_received), (main):
21631 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21633 * tests/threadstate/threadstate3.c: (main):
21634 * tests/threadstate/threadstate4.c: (main):
21635 * tests/threadstate/threadstate5.c: (main):
21638 2005-07-21 Wim Taymans <wim@fluendo.com>
21640 * docs/design/part-seeking.txt:
21641 Some small additions.
21643 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21644 (gst_base_sink_get_times), (gst_base_sink_do_sync),
21645 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21646 * gst/base/gstbasesink.h:
21647 discont values are gint64, handle the math correctly.
21649 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21650 Make the basesrc report error if the source pad is not linked.
21652 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21653 (gst_queue_loop), (gst_queue_handle_src_query),
21654 (gst_queue_src_activate_push):
21655 Make queue collect data even if the srcpad is not linked.
21656 Start pushing out data as soon as it is linked.
21658 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21660 Added gst_flow_get_name() to ease error reporting.
21662 2005-07-20 Wim Taymans <wim@fluendo.com>
21664 * gst/gstmessage.c: (gst_message_new_segment_start),
21665 (gst_message_new_segment_done), (gst_message_parse_segment_start),
21666 (gst_message_parse_segment_done):
21667 * gst/gstmessage.h:
21668 Added a bunch of messages for advanced seeking.
21670 * gst/parse/grammar.y:
21671 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21672 (gst_dpman_state_changed):
21673 Fix some new-pad -> pad-added signals
21675 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21677 * docs/manual/appendix-porting.xml:
21678 * docs/pwg/appendix-porting.xml:
21679 Document new-pad/state-change signal renames and the FixedList
21682 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21684 * docs/manual/advanced-autoplugging.xml:
21685 * docs/manual/basics-helloworld.xml:
21686 * docs/manual/basics-pads.xml:
21687 * docs/random/ds/0.9-suggested-changes:
21688 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21689 * gst/gstelement.h:
21693 * gst/gststructure.c: (gst_structure_value_get_generic_type),
21694 (gst_structure_parse_array), (gst_structure_parse_value):
21695 * gst/gstvalue.c: (gst_type_is_fixed),
21696 (gst_value_list_prepend_value), (gst_value_list_append_value),
21697 (gst_value_list_get_size), (gst_value_list_get_value),
21698 (gst_value_transform_array_string), (gst_value_serialize_array),
21699 (gst_value_deserialize_array), (gst_value_intersect_array),
21700 (gst_value_is_fixed), (_gst_value_initialize):
21702 GstElement::new-pad -> pad-added, GstElement::state-change ->
21703 state-changed, GstValueFixedList -> GstValueArray, add format and
21704 flags as their own arguments in gst_element_seek() (should improve
21705 "bindeability"), remove function generators since they don't work
21706 under a whole bunch of compilers (they were deprecated already
21709 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21711 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21712 (_gst_debug_register_funcptr):
21714 Fix illegal cast on some platforms (#309253).
21716 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21718 * gst/gstmessage.c: (gst_message_new_custom):
21719 * gst/gstmessage.h:
21720 Add _new_custom, make _new_application a macro to _new_custom.
21722 2005-07-20 Wim Taymans <wim@fluendo.com>
21724 * gst/base/gstbasesrc.c: (gst_base_src_init),
21725 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21726 * gst/base/gstbasesrc.h:
21727 Add a gboolean to decide when to push out a discont.
21729 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21730 (gst_queue_loop), (gst_queue_handle_src_query),
21731 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21732 (gst_queue_set_property), (gst_queue_get_property):
21735 * tests/threadstate/threadstate1.c: (main):
21736 Make a thread test compile and run... very silly..
21739 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21741 * docs/manual/appendix-porting.xml:
21742 Mention removal of libgstgconf-0.9.la and existence of gconf
21745 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21747 * docs/pwg/advanced-clock.xml:
21748 * docs/pwg/appendix-porting.xml:
21749 * docs/pwg/intro-preface.xml:
21750 * docs/pwg/other-base.xml:
21751 * docs/pwg/other-manager.xml:
21752 * docs/pwg/other-nton.xml:
21753 * docs/pwg/other-ntoone.xml:
21754 * docs/pwg/other-oneton.xml:
21755 * docs/pwg/pwg.xml:
21756 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21757 demuxer), remove n-to-n (was never written), fix some code examples
21758 and links and update the porting section to include all this.
21760 2005-07-19 Wim Taymans <wim@fluendo.com>
21762 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21763 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21764 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21765 (gst_queue_src_activate_push), (gst_queue_change_state),
21766 (gst_queue_get_property):
21768 Propagate GstFlowReturn more intelligently upstream and output
21769 an ERROR/EOS when streaming stopped due to fatal error.
21771 2005-07-19 Wim Taymans <wim@fluendo.com>
21773 * tools/gst-launch.c: (check_intr), (event_loop), (main):
21774 Don't block forever for the state change to complete, the
21775 pipeline already did with a sensible timeout.
21777 2005-07-19 Wim Taymans <wim@fluendo.com>
21779 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21780 Make sure we never call the create function is we
21783 2005-07-19 Andy Wingo <wingo@pobox.com>
21785 * gst/parse/parse.l: Attempt to solve bug #172815.
21787 2005-07-19 Wim Taymans <wim@fluendo.com>
21789 * docs/design/part-clocks.txt:
21790 * docs/design/part-events.txt:
21791 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21792 Small docs updates.
21793 Only update the seeking values when we are not
21796 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21798 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21799 Oops, ignore the result of gst_pad_push_event here.
21801 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
21803 * gst/base/gstbasesrc.c: (gst_base_src_loop),
21804 (gst_base_src_activate_push):
21805 Send discont event from the loop function, as pads
21806 aren't activated yet in the activate_push handler.
21808 * gst/gstbin.c: (bin_bus_handler):
21809 Don't leak element name.
21811 2005-07-18 Andy Wingo <wingo@pobox.com>
21813 * configure.ac: Use AS_LIBTOOL_TAGS.
21815 2005-07-18 Wim Taymans <wim@fluendo.com>
21817 * docs/gst/gstreamer.types:
21818 Remove deleted types.
21820 2005-07-18 Wim Taymans <wim@fluendo.com>
21822 * check/elements/gstfakesrc.c: (GST_START_TEST):
21825 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21826 (init_popt_callback):
21828 * gst/gst_private.h:
21829 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21830 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21833 * gst/gstconfig.h.in:
21834 * gst/gstelement.c: (gst_element_class_init),
21835 (gst_element_set_base_time), (gst_element_get_base_time),
21836 (iterator_fold_with_resync), (gst_element_change_state),
21837 (gst_element_dispose), (gst_element_get_bus):
21838 * gst/gstelement.h:
21839 * gst/gstelementfactory.h:
21840 * gst/gsterror.c: (_gst_core_errors_init):
21843 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21845 * gst/gstinfo.c: (_gst_debug_init):
21846 * gst/gstmessage.c: (_gst_message_copy):
21847 * gst/gstmessage.h:
21848 * gst/gstminiobject.h:
21851 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21852 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21855 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21856 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21857 (gst_pipeline_get_last_stream_time):
21858 * gst/gstpipeline.h:
21859 * gst/gstpluginfeature.h:
21861 * gst/gstscheduler.c:
21862 * gst/gstscheduler.h:
21863 * gst/gststructure.h:
21864 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21865 (gst_task_finalize), (gst_task_func), (gst_task_create),
21866 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21867 (gst_task_stop), (gst_task_pause):
21869 * gst/gsttypefind.h:
21871 * gst/registries/gstlibxmlregistry.c: (load_feature),
21872 (gst_xml_registry_load), (gst_xml_registry_save_feature):
21873 * gst/registries/gstxmlregistry.c:
21874 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21875 * gst/schedulers/threadscheduler.c:
21876 * libs/gst/control/dparammanager.h:
21877 * tools/gst-inspect.c: (print_element_list),
21878 (print_plugin_features), (print_element_features):
21879 * tools/gst-xmlinspect.c: (print_element_list),
21880 (print_plugin_info), (main):
21881 Removed plugable schedulers.
21882 Removed Scheduler/Manager from elements.
21883 Removed gsttypes.h, rearranged includes.
21884 Removed dependency pad<->element, element<>pipeline, and
21885 various others, fix includes.
21886 implement gst_pad_get_parent() with gst_object_get_parent()
21887 Make GstTask sefcontained.
21888 Fix _get_state() on GstBin, it did not return ASYNC with a 0
21890 Fix endless loop in iterator_fold_with_resync.
21893 2005-07-18 Wim Taymans <wim@fluendo.com>
21899 2005-07-18 Wim Taymans <wim@fluendo.com>
21902 No more cothreads.h
21904 2005-07-18 Wim Taymans <wim@fluendo.com>
21908 Let's remove these.
21910 2005-07-18 Wim Taymans <wim@fluendo.com>
21912 * docs/design/part-dynamic.txt:
21913 * docs/design/part-events.txt:
21914 * docs/design/part-seeking.txt:
21915 Some more docs in the works.
21917 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21918 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
21919 (gst_base_transform_setcaps), (gst_base_transform_get_size),
21920 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21921 (gst_base_transform_handle_buffer),
21922 (gst_base_transform_sink_activate_push),
21923 (gst_base_transform_src_activate_pull),
21924 (gst_base_transform_set_passthrough),
21925 (gst_base_transform_is_passthrough):
21928 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
21931 * gst/gstevent.c: (gst_event_finalize):
21934 * gst/gstutils.c: (gst_element_unlink),
21935 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
21936 (gst_pad_proxy_setcaps):
21938 Add _get_parent_element() to get a pads parent as an element.
21940 2005-07-18 Wim Taymans <wim@fluendo.com>
21942 * check/gst/gstbin.c: (GST_START_TEST):
21945 2005-07-18 Wim Taymans <wim@fluendo.com>
21947 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
21948 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
21949 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
21950 (gst_base_sink_event), (gst_base_sink_do_sync),
21951 (gst_base_sink_chain), (gst_base_sink_loop),
21952 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
21953 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
21955 Fix logic for returning ASYNC when not prerolled.
21957 2005-07-18 Wim Taymans <wim@fluendo.com>
21959 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21960 Fix nasty refcount bug.
21962 2005-07-16 Philippe Khalaf <burger@speedy.org>
21964 * gst/elements/gstfdsrc.c:
21965 * gst/elements/gstfdsrc.h:
21966 * gst/elements/gstelements.c:
21967 * gst/elements/Makefile.am:
21968 Ported fdsrc to 0.9.
21970 2005-07-16 Wim Taymans <wim@fluendo.com>
21972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21973 (gst_base_sink_do_sync):
21976 2005-07-16 Wim Taymans <wim@fluendo.com>
21978 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21979 (gst_base_sink_event), (gst_base_sink_get_times),
21980 (gst_base_sink_do_sync), (gst_base_sink_change_state):
21981 * gst/base/gstbasesink.h:
21982 Store and use discont values when syncing buffers as described
21985 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21986 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
21987 (gst_base_src_activate_push):
21988 Push discont event when starting.
21990 * gst/elements/gstidentity.c: (gst_identity_transform):
21993 * gst/gstbin.c: (gst_bin_change_state):
21994 Small cleanups in base_time distribution.
21996 * gst/gstelement.c: (gst_element_set_base_time),
21997 (gst_element_get_base_time), (gst_element_change_state):
21998 * gst/gstelement.h:
21999 Added methods for the base_time of the element.
22002 * gst/gstpipeline.c: (gst_pipeline_send_event),
22003 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22004 (gst_pipeline_get_last_stream_time):
22005 * gst/gstpipeline.h:
22007 Handle seeking as described in design doc, remove stream_time
22009 Cleanups clock and stream_time selection code. Added accessors
22010 for the stream_time.
22013 2005-07-16 Andy Wingo <wingo@pobox.com>
22015 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22018 2005-07-16 Wim Taymans <wim@fluendo.com>
22020 * check/gst/gstbin.c: (GST_START_TEST):
22021 Make elements silent as the deep_notify refs the
22022 parent, which might make the test fail.
22024 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22025 Don't hold the lock for too long.
22027 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22029 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22030 Don't unref the caps we passed to gst_caps_make_writable() after
22031 passing them. gst_caps_make_writable() will do that for us.
22033 2005-07-15 Andy Wingo <wingo@pobox.com>
22035 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22038 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22039 own marshalling function for the handoff signal. Properly type the
22040 buffer as a buffer. Fixes some warnings. Should do a more general
22042 (gst_identity_class_init): Plug into the right marshaller.
22044 2005-07-15 Wim Taymans <wim@fluendo.com>
22046 * docs/design/part-TODO.txt:
22047 * docs/design/part-clocks.txt:
22048 * docs/design/part-element-sink.txt:
22049 * docs/design/part-events.txt:
22050 * docs/design/part-gstpipeline.txt:
22051 Updated docs, mostly DISCONT related.
22053 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22055 * docs/pwg/building-pads.xml:
22056 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22058 2005-07-15 Andy Wingo <wingo@pobox.com>
22060 * tools/gst-typefind.c: Update, add copyright block.
22062 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22063 Normalize and truncate caps before fixation.
22066 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22067 discards all but the first structure from its argument.
22069 2005-07-15 Wim Taymans <wim@fluendo.com>
22071 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22072 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22073 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22074 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22075 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22076 (gst_base_transform_chain), (gst_base_transform_change_state),
22077 (gst_base_transform_set_passthrough),
22078 (gst_base_transform_is_passthrough):
22079 * gst/base/gstbasetransform.h:
22080 Make passthrough work using the bufferpools.
22081 Changed API a bit, subclasses have to write into a buffer
22082 provided by the base class.
22083 More debug info in nego functions.
22085 * gst/elements/gstidentity.c: (gst_identity_init),
22086 (gst_identity_transform):
22087 Port to new base class.
22089 2005-07-15 Wim Taymans <wim@fluendo.com>
22091 * gst/gstmessage.c: (gst_message_new_state_changed):
22092 * tools/gst-launch.c: (event_loop), (main):
22093 Totally dump messages in -launch with the -m option.
22094 Fix message name for State messages,
22096 2005-07-14 Wim Taymans <wim@fluendo.com>
22098 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22099 Post error messages on errors.
22101 2005-07-14 Wim Taymans <wim@fluendo.com>
22103 * gst/gstcaps.c: (gst_caps_do_simplify):
22107 Define error for stream stopped.
22109 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22110 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22111 Do proper return values.
22113 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22114 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22115 (gst_pad_get_range):
22116 Better return values.
22119 Reorganise return values, add macro to check for fatal errors.
22121 * gst/gstqueue.c: (gst_queue_chain):
22122 Return proper GstFlowReturn values,
22124 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22126 * docs/gst/gstreamer-sections.txt:
22127 * docs/gst/gstreamer.types:
22128 * docs/gst/tmpl/gst.sgml:
22129 * docs/gst/tmpl/gstbasesink.sgml:
22130 * docs/gst/tmpl/gstbasesrc.sgml:
22131 * docs/gst/tmpl/gstbasetransform.sgml:
22132 * docs/gst/tmpl/gstbin.sgml:
22133 * docs/gst/tmpl/gstbuffer.sgml:
22134 * docs/gst/tmpl/gstcaps.sgml:
22135 * docs/gst/tmpl/gstclock.sgml:
22136 * docs/gst/tmpl/gstcompat.sgml:
22137 * docs/gst/tmpl/gstconfig.sgml:
22138 * docs/gst/tmpl/gstelement.sgml:
22139 * docs/gst/tmpl/gstelementdetails.sgml:
22140 * docs/gst/tmpl/gstelementfactory.sgml:
22141 * docs/gst/tmpl/gstenumtypes.sgml:
22142 * docs/gst/tmpl/gsterror.sgml:
22143 * docs/gst/tmpl/gstevent.sgml:
22144 * docs/gst/tmpl/gstfakesink.sgml:
22145 * docs/gst/tmpl/gstfakesrc.sgml:
22146 * docs/gst/tmpl/gstfilesink.sgml:
22147 * docs/gst/tmpl/gstfilesrc.sgml:
22148 * docs/gst/tmpl/gstfilter.sgml:
22149 * docs/gst/tmpl/gstformat.sgml:
22150 * docs/gst/tmpl/gstghostpad.sgml:
22151 * docs/gst/tmpl/gstimplementsinterface.sgml:
22152 * docs/gst/tmpl/gstindex.sgml:
22153 * docs/gst/tmpl/gstindexfactory.sgml:
22154 * docs/gst/tmpl/gstinfo.sgml:
22155 * docs/gst/tmpl/gstiterator.sgml:
22156 * docs/gst/tmpl/gstmacros.sgml:
22157 * docs/gst/tmpl/gstmemchunk.sgml:
22158 * docs/gst/tmpl/gstminiobject.sgml:
22159 * docs/gst/tmpl/gstobject.sgml:
22160 * docs/gst/tmpl/gstpad.sgml:
22161 * docs/gst/tmpl/gstpadtemplate.sgml:
22162 * docs/gst/tmpl/gstparse.sgml:
22163 * docs/gst/tmpl/gstpipeline.sgml:
22164 * docs/gst/tmpl/gstplugin.sgml:
22165 * docs/gst/tmpl/gstpluginfeature.sgml:
22166 * docs/gst/tmpl/gstquery.sgml:
22167 * docs/gst/tmpl/gstqueue.sgml:
22168 * docs/gst/tmpl/gstregistry.sgml:
22169 * docs/gst/tmpl/gstregistrypool.sgml:
22170 * docs/gst/tmpl/gstscheduler.sgml:
22171 * docs/gst/tmpl/gstschedulerfactory.sgml:
22172 * docs/gst/tmpl/gststructure.sgml:
22173 * docs/gst/tmpl/gstsystemclock.sgml:
22174 * docs/gst/tmpl/gsttaglist.sgml:
22175 * docs/gst/tmpl/gsttagsetter.sgml:
22176 * docs/gst/tmpl/gsttrace.sgml:
22177 * docs/gst/tmpl/gsttrashstack.sgml:
22178 * docs/gst/tmpl/gsttypefind.sgml:
22179 * docs/gst/tmpl/gsttypefindfactory.sgml:
22180 * docs/gst/tmpl/gsttypes.sgml:
22181 * docs/gst/tmpl/gsturihandler.sgml:
22182 * docs/gst/tmpl/gsturitype.sgml:
22183 * docs/gst/tmpl/gstutils.sgml:
22184 * docs/gst/tmpl/gstvalue.sgml:
22185 * docs/gst/tmpl/gstversion.sgml:
22186 * docs/gst/tmpl/gstxml.sgml:
22187 * docs/libs/tmpl/gstcontrol.sgml:
22188 * docs/libs/tmpl/gstdataprotocol.sgml:
22189 * docs/libs/tmpl/gstdparam.sgml:
22190 * docs/libs/tmpl/gstdplinint.sgml:
22191 * docs/libs/tmpl/gstdpman.sgml:
22192 * docs/libs/tmpl/gstdpsmooth.sgml:
22193 * docs/libs/tmpl/gstgetbits.sgml:
22194 * docs/libs/tmpl/gstunitconvert.sgml:
22195 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22196 (gst_push_src_base_init), (gst_push_src_class_init),
22197 (gst_push_src_init), (gst_push_src_create):
22198 * gst/base/gstpushsrc.h:
22199 * gst/elements/gstelements.c:
22200 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22201 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22202 (gst_fake_sink_init), (gst_fake_sink_set_property),
22203 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22204 (gst_fake_sink_event), (gst_fake_sink_preroll),
22205 (gst_fake_sink_render), (gst_fake_sink_change_state):
22206 * gst/elements/gstfakesink.h:
22207 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22208 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22209 (gst_fake_src_base_init), (gst_fake_src_class_init),
22210 (gst_fake_src_init), (gst_fake_src_event_handler),
22211 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22212 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22213 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22214 (gst_fake_src_create_buffer), (gst_fake_src_create),
22215 (gst_fake_src_start), (gst_fake_src_stop):
22216 * gst/elements/gstfakesrc.h:
22217 * gst/elements/gstfilesink.c: (_do_init),
22218 (gst_file_sink_base_init), (gst_file_sink_class_init),
22219 (gst_file_sink_init), (gst_file_sink_dispose),
22220 (gst_file_sink_set_location), (gst_file_sink_set_property),
22221 (gst_file_sink_get_property), (gst_file_sink_open_file),
22222 (gst_file_sink_close_file), (gst_file_sink_query),
22223 (gst_file_sink_event), (gst_file_sink_render),
22224 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22225 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22226 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22227 * gst/elements/gstfilesink.h:
22228 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22229 (gst_file_src_class_init), (gst_file_src_init),
22230 (gst_file_src_finalize), (gst_file_src_set_location),
22231 (gst_file_src_set_property), (gst_file_src_get_property),
22232 (gst_file_src_map_region), (gst_file_src_map_small_region),
22233 (gst_file_src_create_mmap), (gst_file_src_create_read),
22234 (gst_file_src_create), (gst_file_src_is_seekable),
22235 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22236 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22237 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22238 (gst_file_src_uri_handler_init):
22239 * gst/elements/gstfilesrc.h:
22240 more autistic cleanliness in functions/names/defines
22242 2005-07-13 Andy Wingo <wingo@pobox.com>
22244 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22245 source couldn't negotiate.
22247 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22251 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22252 function. I am channeling Hades. Put your boots on suckers!!!
22254 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22256 * testsuite/caps/Makefile.am:
22257 * testsuite/caps/value_compare.c:
22258 * testsuite/caps/value_intersect.c:
22259 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22260 move two testsuite apps over to the check dir
22262 2005-07-12 Wim Taymans <wim@fluendo.com>
22264 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22265 Added more debug info in the negotiate process.
22267 * gst/gstmessage.h:
22268 Prepare for segment playback.
22270 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22276 * tools/gst-launch.c: (main):
22277 NULL pipeline on errors.
22279 2005-07-12 Andy Wingo <wingo@pobox.com>
22281 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22282 not it comes from a malloc region. Make sure our copy gets freed.
22284 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22286 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22287 * check/gst/gstmessage.c: (GST_START_TEST):
22288 * check/gst/gststructure.c: (GST_START_TEST),
22289 (gst_structure_suite), (main):
22291 * gst/gstelement.c: (gst_element_message_full):
22292 clean up GError and debug string now that they get copied
22293 * gst/gstmessage.c: (gst_message_new_error),
22294 (gst_message_new_warning), (gst_message_parse_error),
22295 (gst_message_parse_warning):
22296 use GST_TYPE_G_ERROR for structure_new, and take copies of
22297 arguments, so that we don't mess up refcounting
22299 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22301 * check/Makefile.am:
22302 add per-test valgrind targets
22303 * check/gst-libs/gdp.c: (GST_START_TEST),
22304 (gst_data_protocol_suite), (main):
22307 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22309 * check/Makefile.am:
22310 instate more valgrindable tests
22311 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22312 (GST_START_TEST), (fakesrc_suite):
22313 * check/gst/gstpad.c: (GST_START_TEST):
22314 * check/gst/gststructure.c: (GST_START_TEST):
22316 * docs/gst/tmpl/gstminiobject.sgml:
22317 * gst/gstpad.c: (gst_pad_finalize):
22318 fix the static mutex leak
22320 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22322 * check/Makefile.am:
22323 add two more tests for valgrinding
22324 * check/gst/gstvalue.c: (GST_START_TEST):
22325 test refcount of deserialized buffer, found a leak
22326 * docs/gst/gstreamer-docs.sgml:
22327 * docs/gst/gstreamer-sections.txt:
22328 * docs/gst/gstreamer.types:
22329 * docs/gst/tmpl/gstminiobject.sgml:
22330 add miniobject to docs
22331 * gst/gstminiobject.c:
22333 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22334 (gst_string_unwrap):
22335 fix a hard-to-find invalid write for one of the tests
22336 fix a leak for deserialized buffers
22338 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22340 * docs/pwg/advanced-events.xml:
22341 * docs/pwg/advanced-request.xml:
22342 * docs/pwg/advanced-scheduling.xml:
22343 * docs/pwg/appendix-porting.xml:
22344 * docs/pwg/building-boiler.xml:
22345 * docs/pwg/intro-preface.xml:
22346 * docs/pwg/other-ntoone.xml:
22347 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22348 of example code and explanation for pad activation, loop() and
22349 getrange() functions and a bit more. Remove old comments pointing
22351 * examples/pwg/Makefile.am:
22352 Add loop/getrange examples.
22354 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22357 check for valgrind binary + some fixes
22359 valgrind suppressions for the tests
22360 * check/Makefile.am:
22361 add a valgrind: target that valgrinds the unit tests
22362 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22363 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22364 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22365 * check/gst/gstghostpad.c:
22367 * check/gst/gstdata.c:
22369 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22370 (thread_unref), (gst_mini_object_suite), (main):
22372 * gst/gst.c: (gst_deinit):
22374 add a method to clean up.
22375 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22376 (gst_system_clock_obtain):
22377 allow for disposing the system clock.
22378 * tools/gst-launch.c: (main):
22381 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22383 * docs/gst/tmpl/gstbasesrc.sgml:
22384 * docs/gst/tmpl/gstfakesrc.sgml:
22385 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22386 (gst_base_src_init), (gst_base_src_set_property),
22387 (gst_base_src_get_property), (gst_base_src_get_range),
22388 (gst_base_src_start):
22389 * gst/base/gstbasesrc.h:
22390 add num-buffers property
22391 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22392 (gst_fakesrc_init), (gst_fakesrc_set_property),
22393 (gst_fakesrc_get_property), (gst_fakesrc_create),
22394 (gst_fakesrc_start):
22395 remove num-buffers property
22397 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22399 * docs/gst/gstreamer-sections.txt:
22400 * docs/gst/tmpl/gstbasesink.sgml:
22401 * docs/gst/tmpl/gstbasesrc.sgml:
22402 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22403 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22404 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22405 (gst_base_sink_set_property), (gst_base_sink_get_property),
22406 (gst_base_sink_handle_object), (gst_base_sink_event),
22407 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22408 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22409 (gst_base_sink_loop), (gst_base_sink_deactivate),
22410 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22411 (gst_base_sink_change_state):
22412 * gst/base/gstbasesink.h:
22413 * gst/base/gstbasesrc.h:
22414 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22415 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22416 (gst_filesink_init):
22417 more macro splitting
22419 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22421 * gst/gstelement.c: (gst_element_get_bus):
22423 * tools/gst-launch.c: (check_intr), (event_loop):
22426 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22428 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22431 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22433 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22434 (gst_base_src_finalize):
22435 add finalize method and clean up properly
22436 * gst/gstpipeline.c: (gst_pipeline_dispose):
22439 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22441 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22443 add more things to check
22444 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22445 * gst/gstelement.c:
22448 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22450 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22451 (GST_START_TEST), (fakesrc_suite):
22452 * check/gst-libs/gdp.c: (GST_START_TEST):
22453 * check/gst/gst.c: (GST_START_TEST):
22454 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22455 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22456 * check/gst/gstbus.c: (GST_START_TEST):
22457 * check/gst/gstcaps.c: (GST_START_TEST):
22458 * check/gst/gstdata.c: (GST_START_TEST):
22459 * check/gst/gstelement.c: (GST_START_TEST):
22460 * check/gst/gstghostpad.c: (GST_START_TEST):
22461 * check/gst/gstiterator.c: (GST_START_TEST):
22462 * check/gst/gstmessage.c: (GST_START_TEST):
22463 * check/gst/gstobject.c: (GST_START_TEST):
22464 * check/gst/gstpad.c: (GST_START_TEST):
22465 * check/gst/gststructure.c: (GST_START_TEST):
22466 * check/gst/gstsystemclock.c: (GST_START_TEST),
22467 (gst_systemclock_suite):
22468 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22469 * check/gst/gstvalue.c: (GST_START_TEST):
22470 * check/pipelines/cleanup.c: (GST_START_TEST):
22471 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22472 * check/states/sinks.c: (GST_START_TEST):
22473 * check/gstcheck.c: (gst_check_init):
22474 * check/gstcheck.h:
22475 add debugging category
22476 use GST_START_TEST now, so we add a debug line
22478 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22480 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22481 add test for state change message on a bin
22482 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22484 * gst/gstbin.c: (gst_bin_init):
22485 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22486 * gst/gstelement.c: (gst_element_post_message),
22487 (gst_element_set_state):
22488 * gst/gstelementfactory.c: (gst_element_factory_create):
22489 * gst/gstmessage.c: (gst_message_new):
22490 * gst/gstscheduler.c:
22491 various debugging additions and cleanups
22493 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22495 * check/Makefile.am:
22496 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22498 adding tests for elements
22499 * gst/gstelement.c: (gst_element_dispose):
22501 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22503 * gst/registries/gstlibxmlregistry.c: (load_feature):
22504 plug more leaks. A simple gst_init() now is leakfree, yay.
22506 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22508 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22509 (gst_xml_registry_load):
22510 plug another memleak
22512 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22515 use GST_SET_ERROR_CFLAGS
22516 * docs/faq/cvs.xml:
22517 change to ERROR_CFLAGS
22519 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22522 make GST_ERROR_CFLAGS overridable and re-enable Werror
22523 * docs/faq/cvs.xml:
22524 add a note about error CFLAGS
22525 * docs/gst/tmpl/gstfakesrc.sgml:
22526 * gst/elements/gstfakesrc.c:
22527 comment out some unused code
22528 * gst/gst.c: (split_and_iterate):
22529 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22533 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22535 * common/Makefile.am:
22536 * common/gtk-doc.mak:
22537 * docs/gst/Makefile.am:
22538 factor out gtk-doc.mak
22540 2005-07-07 Wim Taymans <wim@fluendo.com>
22542 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22543 (gst_thread_scheduler_dispose):
22544 Unlock the STREAM_LOCK completely.
22546 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
22548 * check/Makefile.am:
22549 * check/elements/.cvsignore:
22550 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22551 (START_TEST), (fakesrc_suite), (main):
22552 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22553 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22554 (gst_fakesrc_create), (gst_fakesrc_start):
22555 * gst/elements/gstfakesrc.h:
22556 adding a first element test
22558 2005-07-07 Andy Wingo <wingo@pobox.com>
22560 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22563 2005-07-07 Wim Taymans <wim@fluendo.com>
22569 2005-07-07 Wim Taymans <wim@fluendo.com>
22571 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22572 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22573 Allow subclasses to implement their own negotiation.
22575 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22577 * docs/design/part-gstbin.txt:
22578 * docs/design/part-gstpipeline.txt:
22579 Update design notes to reflect the movement of
22580 responsibility for bus handling from GstPipeline to
22583 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22586 Remove unnecessary queue2/3/4 examples.
22588 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
22590 * examples/Makefile.am:
22591 * examples/helloworld/helloworld.c: (event_loop), (main):
22592 * examples/queue/queue.c: (event_loop), (main):
22593 * examples/queue2/queue2.c: (main):
22594 Update a couple of the examples to work again.
22596 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22597 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22598 Spelling corrections and extra debug.
22600 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22601 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22602 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22604 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22605 (gst_pipeline_change_state):
22606 * gst/gstpipeline.h:
22607 Move the bus handler for children to the GstBin, and create a
22608 separate bus for receiving messages from children to the one the
22609 bus sends 'upwards' on.
22611 2005-07-06 Wim Taymans <wim@fluendo.com>
22614 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22615 (gst_base_sink_handle_object), (gst_base_sink_loop),
22616 (gst_base_sink_change_state):
22617 * gst/base/gstbasesink.h:
22618 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22619 (gst_base_src_init), (gst_base_src_setcaps),
22620 (gst_base_src_getcaps), (gst_base_src_loop),
22621 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22622 (gst_base_src_start), (gst_base_src_change_state):
22623 * gst/base/gstbasesrc.h:
22624 Make basesrc negotiate.
22625 Handle the case where preroll fails in basesink.
22628 2005-07-06 Wim Taymans <wim@fluendo.com>
22630 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22631 Implement the fixate function.
22632 Clean up acceptcaps.
22634 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22636 * docs/pwg/building-filterfactory.xml:
22637 * docs/pwg/pwg.xml:
22638 Remove never-written filter-factory chapter; I'll add the various
22639 base classes to part 4 ("other element types") later on.
22641 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22643 * docs/pwg/advanced-negotiation.xml:
22644 * docs/pwg/building-boiler.xml:
22645 * docs/pwg/building-pads.xml:
22646 * docs/pwg/pwg.xml:
22647 * examples/pwg/Makefile.am:
22648 Add a chapter on caps negotiation, simplify the original code
22649 samples a bit w.r.t. caps negotiation, add link to the advanced
22650 section. Add a bunch of examples showing different use cases of
22651 different types of caps negotiation. Upstream renegotiation isn't
22652 fully documented yet since nobody knows how that works.
22654 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
22656 * check/gst/gstpad.c:
22657 * check/gstcheck.c:
22658 * gst/gstpad.c: (gst_pad_get_internal_links_default):
22659 if pad has no parent, return NULL as list of internal links
22661 2005-07-05 Andy Wingo <wingo@pobox.com>
22663 * gst/elements/gstfilesrc.c:
22664 * gst/elements/gstfakesrc.c:
22665 * gst/base/gstpushsrc.c:
22666 * gst/base/gstbasesrc.h:
22667 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22669 2005-07-05 Stefan Kost <ensonic@users.sf.net>
22672 better report generation target (lcov needs a patch)
22674 2005-07-05 Andy Wingo <wingo@pobox.com>
22676 * gst/elements, testsuite: Null if we got it...
22678 2005-07-05 Wim Taymans <wim@fluendo.com>
22681 * libs/gst/dataprotocol/Makefile.am:
22682 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22683 * libs/gst/dataprotocol/dataprotocol.h:
22684 * pkgconfig/Makefile.am:
22685 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22686 * pkgconfig/gstreamer-dataprotocol.pc.in:
22687 Ported dataprotol to 0.9.
22688 Added pkgconfig files.
22690 2005-07-05 Andy Wingo <wingo@pobox.com>
22692 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22693 Default to returning TRUE for the case when tranform_caps returns
22694 a fixed caps, like for identity or volume.
22696 * check/gst/gstbus.c (pound_bus_with_messages):
22697 * check/gst/gstmessage.c (START_TEST):
22698 * check/pipelines/simple_launch_lines.c (got_handoff): Application
22699 message API change.
22701 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22702 logic weaks here: always run transform_caps, trying passthrough
22703 operation only if the original caps intersects with the transform.
22705 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22706 source and sink caps.
22708 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22709 Intersect the peer caps with the pad template before going into
22711 (gst_base_transform_transform_caps): More debugging.
22713 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22716 2005-07-04 Edward Hervey <edward@fluendo.com>
22720 (gst_pad_add_*_probe): now returns the signal id for better wrapping
22723 2005-07-04 Andy Wingo <wingo@pobox.com>
22725 * check/gst/gstpad.c: Only set explicit caps on pads.
22727 2005-07-01 Andy Wingo <wingo@pobox.com>
22729 * tests/network-clock.scm: Commentary update.
22731 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22732 Didn't really make sense, not implementable with basetransform,
22734 (gst_identity_transform): Unref inbuf via make_writable. Feeble
22735 attempt at implementing the sync property, needs an unlock method.
22737 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22738 New func, by default returns the same caps (the identity
22740 (gst_base_transform_getcaps): Uses transform_caps to return
22741 something sensible.
22742 (gst_base_transform_setcaps): Complicated logic to get caps on
22743 both pads, even if they are different, and to call set_caps once
22744 for every time both pads get their caps set.
22745 (gst_base_transform_handle_buffer): Give the ref to the transform
22746 function. Allows in-place modification of the buffer.
22748 * gst/base/gstbasetransform.h (transform_caps): New class method.
22749 Given caps on one side, what can I do on the other.
22750 (set_caps): Take two caps, one for each side of the element.
22753 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22754 caps in place. This is safe because we can check the mutability of
22755 the caps, and a good idea because fixate functions are just called
22756 as a matter of last resort. (Not actually implemented.)
22757 (gst_pad_set_caps): If the caps we're setting is actually the same
22758 as the existing pad caps, just update the pointer without calling
22759 setcaps. Assert that caps is either NULL or fixed, as per the
22762 * gst/gstghostpad.c: Update for fixate changes.
22764 2005-07-02 Andy Wingo <wingo@pobox.com>
22767 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22768 two refcounts makes it immutable, which is enough. Doc more.
22770 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
22772 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22773 Put the mini_object into GValue as a mini_object,
22774 not a gpointer, since that's how we declared
22777 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22779 * examples/pwg/Makefile.am:
22780 Fix buildbot again.
22782 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22784 * docs/pwg/building-testapp.xml:
22786 * examples/pwg/Makefile.am:
22789 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22792 * examples/Makefile.am:
22793 * examples/pwg/Makefile.am:
22794 * examples/pwg/extract.pl:
22795 Enable building the PWG examples.
22796 * docs/pwg/advanced-interfaces.xml:
22797 Add URI interface stub.
22798 * docs/pwg/advanced-types.xml:
22799 * docs/pwg/other-autoplugger.xml:
22800 * docs/pwg/appendix-porting.xml:
22801 * docs/pwg/pwg.xml:
22802 Add porting guide (mostly stubs), remove autoplugging (see ADM).
22803 * docs/pwg/building-boiler.xml:
22804 * docs/pwg/building-chainfn.xml:
22805 * docs/pwg/building-pads.xml:
22806 * docs/pwg/building-props.xml:
22807 * docs/pwg/building-state.xml:
22808 * docs/pwg/building-testapp.xml:
22809 Update the building-*.xml parts for 0.9 changes. All examples
22810 code blocks compile in examples/pwg/*.
22812 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22814 * docs/manual/advanced-autoplugging.xml:
22815 * docs/manual/appendix-checklist.xml:
22816 * docs/manual/appendix-integration.xml:
22817 * docs/manual/highlevel-components.xml:
22818 Fix playbin/decodebin examples, update docs a bit, mention bus
22819 instead of signals in various places, mention kmplayer and
22820 kaffeine since they have a working GStreamer backend in the KDE
22823 2005-06-30 Wim Taymans <wim@fluendo.com>
22826 * docs/design/draft-ghostpads.txt:
22827 * docs/design/draft-push-pull.txt:
22828 * docs/design/draft-query.txt:
22829 * docs/design/part-TODO.txt:
22830 * docs/design/part-query.txt:
22831 Added CHANGES-0.9 doc, updated status of other docs.
22836 2005-06-30 Wim Taymans <wim@fluendo.com>
22838 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22839 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22840 (gst_base_sink_change_state):
22841 * gst/base/gstbasesink.h:
22842 Some tweaks, only EOS and a buffer complete a preroll.
22844 2005-06-30 Andy Wingo <wingo@pobox.com>
22846 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22847 activate_push down to the internal pad as well.
22849 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
22851 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22853 * gst/gsttaginterface.c:
22854 Some documentation fixes (#307394 and #307397).
22856 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
22858 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22860 * gst/gstvalue.c: (gst_value_intersect_list):
22861 Fix memleak (#309125).
22863 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22865 * docs/manual/advanced-dataaccess.xml:
22866 Fix fakesrc example to compile; doesn't work, bug somewhere...?
22867 * docs/manual/basics-pads.xml:
22868 Add reference for filtered caps to above chapter.
22870 2005-06-30 Wim Taymans <wim@fluendo.com>
22872 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22873 (gst_bin_change_state):
22875 Lame attempt at making the state change function a bit
22878 2005-06-30 Wim Taymans <wim@fluendo.com>
22880 * docs/design/part-clocks.txt:
22881 * docs/design/part-element-sink.txt:
22882 * docs/design/part-events.txt:
22883 * docs/design/part-preroll.txt:
22884 * docs/design/part-states.txt:
22885 Some more tweeks and additions to the docs.
22887 2005-06-30 Wim Taymans <wim@fluendo.com>
22889 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22890 (default_have_data), (gst_pad_class_init), (gst_pad_init),
22891 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22892 (gst_pad_check_pull_range), (gst_pad_get_range),
22893 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
22895 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
22896 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22897 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22898 (gst_pad_remove_buffer_probe):
22899 Removed atomic operations, use existing LOCK.
22900 Move exception handling out of main code path.
22902 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22904 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22905 (silly_return_true_function), (gst_pad_class_init),
22906 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
22907 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
22908 (gst_pad_send_event):
22909 Fix accumulator, add default value by using _emitv() instead
22910 of _emit() for signal emission.
22912 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22914 * docs/manual/advanced-dataaccess.xml:
22915 * examples/manual/Makefile.am:
22917 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
22920 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
22922 * gst/elements/gstfilesink.c: (gst_filesink_render):
22923 Simplify code so that we don't have to handle short
22924 writes and return GST_FLOW_ERROR if an error occured.
22926 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22928 * docs/gst/gstreamer-docs.sgml:
22929 Remove probes more.
22931 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22933 * docs/gst/gstreamer-sections.txt:
22934 * docs/gst/tmpl/gstpad.sgml:
22935 * docs/gst/tmpl/gstprobe.sgml:
22937 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
22938 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
22939 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
22940 (gst_pad_push_event), (gst_pad_send_event):
22942 * gst/gstutils.c: (gst_pad_add_data_probe),
22943 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
22944 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
22945 (gst_pad_remove_buffer_probe):
22947 Remove old probes, add new g-signal-based probes and some utility
22950 2005-06-29 Edward Hervey <edward@fluendo.com>
22952 * gst/gstelementfactory.c:
22955 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
22956 the definition to the header file.
22958 2005-06-29 Andy Wingo <wingo@pobox.com>
22960 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
22961 plugins from the source directory.
22963 2005-06-29 Wim Taymans <wim@fluendo.com>
22965 * docs/gst/tmpl/gstbuffer.sgml:
22966 * docs/gst/tmpl/gstclock.sgml:
22967 Some fixings for blantently wrong text.
22969 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22971 * check/Makefile.am:
22972 * gst/gst.c: (add_path_func), (init_pre):
22973 * gst/gstregistry.c: (gst_registry_add_path):
22974 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
22975 only scan the GST_PLUGIN_PATH locations, and not add
22978 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
22980 * docs/gst/gstreamer-sections.txt:
22981 * docs/gst/tmpl/gstbasesrc.sgml:
22982 * gst/gstelement.c:
22983 * gst/gstelement.h:
22988 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22990 * docs/manual/advanced-autoplugging.xml:
22991 Fix autoplugging example.
22993 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22995 * docs/manual/advanced-autoplugging.xml:
22996 * docs/manual/mime-world.fig:
22997 Try to get autoplugging working, fix type detection. Fix text
22998 in hello-world image.
23000 2005-06-29 Wim Taymans <wim@fluendo.com>
23002 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23003 (gst_base_sink_change_state):
23007 map SIGNAL and BROADCAST to the right function.
23010 Remove redundant braces.
23012 * gst/gstpad.c: (gst_pad_set_caps):
23013 Don't call setcaps function when reseting caps to NULL.
23015 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23016 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23017 (gst_system_clock_id_unschedule):
23018 Use BROADCAST as this is what we do.
23020 2005-06-29 Wim Taymans <wim@fluendo.com>
23022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23023 We are actually prerolling before commiting the state
23026 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23028 * docs/manual/advanced-clocks.xml:
23029 * docs/manual/advanced-interfaces.xml:
23030 * docs/manual/advanced-metadata.xml:
23031 * docs/manual/advanced-position.xml:
23032 * docs/manual/advanced-schedulers.xml:
23033 * docs/manual/advanced-threads.xml:
23034 * docs/manual/appendix-porting.xml:
23035 * docs/manual/basics-bins.xml:
23036 * docs/manual/basics-bus.xml:
23037 * docs/manual/basics-elements.xml:
23038 * docs/manual/basics-helloworld.xml:
23039 * docs/manual/basics-pads.xml:
23040 * docs/manual/highlevel-components.xml:
23041 * docs/manual/manual.xml:
23042 * docs/manual/thread.fig:
23043 Update (until threads/scheduling) Application Development Manual;
23044 remove GstThread, add GstBus, add simple porting checklist, add
23045 documentation for tag writing, clocks, make all examples until this
23046 part compile and run.
23047 * examples/manual/Makefile.am:
23048 Update from changes to Application Development Manual; add bus
23049 example, remove thread example.
23051 2005-06-28 Wim Taymans <wim@fluendo.com>
23053 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23054 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23055 (gst_bus_source_dispatch):
23056 Add debugging messages.
23057 Make internal methods static.
23058 Handle the case where the bus is flushed in the handler.
23060 * gst/gstelement.c: (gst_element_get_bus):
23061 Fix refcount in _get_bus();
23063 * gst/gstpipeline.c: (gst_pipeline_change_state),
23064 (gst_pipeline_get_clock_func):
23065 Clock refcounting fixes.
23066 Handle the case where preroll timed out more gracefully.
23068 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23069 Clean up the internal thread in dispose. This is needed
23070 for subclasses that actually get disposed.
23072 * gst/schedulers/threadscheduler.c:
23073 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23074 (gst_thread_scheduler_dispose):
23075 Free thread pool in dispose.
23077 2005-06-28 Andy Wingo <wingo@pobox.com>
23079 * tests/network-clock-utils.scm (debug, print-event): New utils.
23081 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23082 (*packet-loss*): Unified loss probability.
23083 (network-time): Report out-of-band events.
23085 * tests/plot-data: Add support for out-of-band events. Hack it
23086 into this script instead of passing it down the pipe; should fix
23089 2005-06-28 Wim Taymans <wim@fluendo.com>
23091 * docs/gst/gstreamer.types:
23092 * docs/gst/tmpl/gstbasesrc.sgml:
23093 * docs/gst/tmpl/gstpad.sgml:
23096 2005-06-28 Wim Taymans <wim@fluendo.com>
23098 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23099 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23100 (gst_proxy_pad_do_fixatecaps):
23101 Correctly proxy the check_pull_range function.
23103 2005-06-28 Andy Wingo <wingo@pobox.com>
23105 * tests/network-clock.scm: Removed need for slib.
23107 2005-06-28 Wim Taymans <wim@fluendo.com>
23109 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23110 (gst_basesink_preroll_queue_flush):
23111 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23112 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23113 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23114 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23115 (gst_proxy_pad_set_property):
23118 * gst/gstqueue.c: (gst_queue_init):
23119 The deprecated pad loop function is removed now.
23121 2005-06-28 Andy Wingo <wingo@pobox.com>
23123 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23124 New parameters, simulate network packet loss.
23126 * tests/network-clock-utils.scm: Initialize the RNG.
23128 2005-06-28 Wim Taymans <wim@fluendo.com>
23130 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23131 (gst_basesink_event), (gst_basesink_deactivate):
23132 Flushing the preroll queue always needs to unlock the waiters.
23134 2005-06-28 Edward Hervey <edward@fluendo.com>
23136 * gst/gstpipeline.c: (gst_pipeline_send_event):
23137 Wheen a seek was successful on a pipeline, set the stream_time to the
23138 seek offset in order to have a synchronized stream_time.
23140 2005-06-28 Wim Taymans <wim@fluendo.com>
23142 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23143 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23144 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23145 (gst_proxy_pad_do_fixatecaps):
23146 Call wrapper function instead of just calling the function
23147 pointers. This takes care of any locking and whatmore.
23149 2005-06-28 Wim Taymans <wim@fluendo.com>
23151 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23152 (gst_pad_pull_range):
23154 CONNECTED -> LINKED.
23156 2005-06-28 Andy Wingo <wingo@pobox.com>
23158 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23159 source-munging commit!!!
23161 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23162 (gst_object_sink): Take gpointer arguments, not GstObject --
23163 avoids casts. Like GLib.
23165 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23168 2005-06-27 Andy Wingo <wingo@pobox.com>
23170 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23173 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23174 returns a sorted copy of the trace list.
23175 (gst_alloc_trace_print_live): New API, only prints traces with
23176 live objects. Sort the list.
23177 (gst_alloc_trace_print_all): Sort the list.
23178 (gst_alloc_trace_print): Align columns.
23180 * gst/elements/gstttypefindelement.c:
23181 * gst/elements/gsttee.c:
23182 * gst/base/gstbasesrc.c:
23183 * gst/base/gstbasesink.c:
23184 * gst/base/gstbasetransform.c:
23185 * gst/gstqueue.c: Adapt for pad activation changes.
23187 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23189 (gst_pipeline_dispose): Drop ref on sched.
23191 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23192 (gst_pad_activate_default): Push mode by default.
23193 (pre_activate_switch, post_activate_switch): New stubs, things to
23194 do before and after switching activation modes on pads.
23195 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23196 the pad's activate function to choose which mode to activate.
23197 Shortcut on deactivation and call the right function directly.
23198 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23200 (gst_pad_activate_push): New API, same for push mode.
23201 (gst_pad_set_activate_function)
23202 (gst_pad_set_activatepull_function)
23203 (gst_pad_set_activatepush_function): Setters for new API.
23205 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23206 Trace all miniobjects.
23207 (gst_mini_object_make_writable): Unref the arg if we copy, like
23208 gst_caps_make_writable.
23210 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23212 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23213 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23214 Adapt for new pad API.
23216 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23218 * gst/gstelement.h:
23219 * gst/gstelement.c (gst_element_iterate_src_pads)
23220 (gst_element_iterate_sink_pads): New API functions.
23222 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23223 should fold into gstiterator.c in some form.
23224 (gst_element_pads_activate): Simplified via use of fold and
23225 delegation of decisions to gstpad->activate.
23227 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23230 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23231 class once in init, like gstmessage. Didn't run into this issue
23232 but it seems correct. Don't initialize a trace, gstminiobject does
23235 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23236 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23238 (assert_live_count): New util function, uses alloc traces to check
23241 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23242 To be modified when unlink drops the internal pad.
23244 2005-06-27 Wim Taymans <wim@fluendo.com>
23246 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23247 (gst_bin_change_state):
23248 Cleanup the get_state() function a little, make sure it
23249 iterates the same set of elements.
23250 Added stub iterate_state_order().
23252 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23254 * docs/gst/gstreamer-docs.sgml:
23255 * docs/gst/gstreamer-sections.txt:
23256 * docs/gst/gstreamer.types:
23257 * docs/gst/tmpl/gstbasesink.sgml:
23258 * docs/gst/tmpl/gstbasesrc.sgml:
23259 * docs/gst/tmpl/gstbasetransform.sgml:
23260 * docs/gst/tmpl/gstelement.sgml:
23261 * docs/gst/tmpl/gstiterator.sgml:
23262 * gst/base/gstbasesrc.c:
23263 * gst/base/gstbasesrc.h:
23264 * gst/base/gstbasetransform.h:
23265 * gst/gstelement.c:
23266 * gst/gstiterator.h:
23267 adding basetransform and iterator docs
23269 2005-06-27 Andy Wingo <wingo@pobox.com>
23271 * docs/design/part-activation.txt: Notes on how activation should
23272 work -- not quite implemented yet.
23274 2005-06-25 Wim Taymans <wim@fluendo.com>
23276 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23277 At least get the chain function correct, needs more
23280 2005-06-25 Wim Taymans <wim@fluendo.com>
23282 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23283 (gst_basesink_handle_object), (gst_basesink_event),
23284 (gst_basesink_do_sync), (gst_basesink_handle_event),
23285 (gst_basesink_change_state):
23287 Right, two problems here: ghostpads don't take locks and
23288 glib _rec_mutex_lock_full() with depth==0 still locks.
23289 Catch illegal locking and g_warn them.
23291 2005-06-25 Wim Taymans <wim@fluendo.com>
23293 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23294 Have to check for completion now...
23296 2005-06-25 Wim Taymans <wim@fluendo.com>
23298 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23299 (gst_basesink_handle_object), (gst_basesink_event),
23300 (gst_basesink_do_sync), (gst_basesink_handle_event),
23301 (gst_basesink_change_state):
23303 Unlock STREAM_LOCK whatever the recursion was.
23305 2005-06-25 Wim Taymans <wim@fluendo.com>
23307 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23308 (gst_basesink_preroll_queue_empty),
23309 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23310 (gst_basesink_event), (gst_basesink_do_sync),
23311 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23312 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23313 (gst_basesink_change_state):
23314 Reworked the base sink, handle event and buffer serialisation
23315 correctly and removed possible deadlock.
23316 Handle EOS correctly.
23318 2005-06-25 Wim Taymans <wim@fluendo.com>
23320 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23321 (gst_pipeline_change_state):
23322 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23323 Allow elements to post EOS in the state change function.
23324 Fix up -launch, make it exit the poll loop when the
23325 pipeline actually changed state.
23326 Fix up warning parsing in -launch.
23328 2005-06-25 Wim Taymans <wim@fluendo.com>
23330 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23331 (gst_tee_sink_activate):
23332 Core takes STREAM_LOCK for us now.
23334 2005-06-25 Wim Taymans <wim@fluendo.com>
23336 * gst/gstelement.c: (gst_element_get_state_func),
23337 (gst_element_set_state):
23338 * gst/gstelement.h:
23339 * gst/gstmessage.c: (gst_message_parse_error),
23340 (gst_message_parse_warning):
23341 Keep track of current target state while performing a state
23342 change so that subclasses can do something interesting.
23343 Fix parsing of warning/error messages when GError is NULL.
23345 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23347 * docs/gst/Makefile.am:
23348 * docs/gst/gstreamer-docs.sgml:
23349 * docs/gst/gstreamer-sections.txt:
23350 * docs/gst/gstreamer.types:
23351 * docs/gst/tmpl/gstbasesink.sgml:
23352 * docs/gst/tmpl/gstbasesrc.sgml:
23353 * docs/gst/tmpl/gstbin.sgml:
23354 * docs/gst/tmpl/gstcompat.sgml:
23355 * docs/gst/tmpl/gstfakesink.sgml:
23356 * docs/gst/tmpl/gstfakesrc.sgml:
23357 * docs/gst/tmpl/gstfilesink.sgml:
23358 * docs/gst/tmpl/gstfilesrc.sgml:
23359 * docs/gst/tmpl/gstindex.sgml:
23360 * docs/manual/appendix-quotes.xml:
23361 * gst/base/gstbasesrc.h:
23362 * gst/elements/gstfakesrc.h:
23363 * gst/gstmessage.h:
23364 start pulling in base classes and elements in our docs
23366 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23368 * docs/gst/Makefile.am:
23369 * docs/libs/Makefile.am:
23370 fixed make distcheck with gtk-doc 1.3
23372 2005-06-23 Wim Taymans <wim@fluendo.com>
23374 * gst/gstelement.c: (gst_element_get_state_func),
23375 (gst_element_set_state), (gst_element_change_state):
23376 When the state did not change, also report NO_PREROLL
23379 2005-06-23 Wim Taymans <wim@fluendo.com>
23381 * gst/gstpad.c: (gst_pad_event_default):
23382 * gst/gstqueue.c: (gst_queue_loop):
23383 No unsafe task pausing please.
23385 2005-06-23 Wim Taymans <wim@fluendo.com>
23387 * gst/schedulers/threadscheduler.c:
23388 (gst_thread_scheduler_task_start),
23389 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23390 Ref the task before pushing it on the threadpool. This
23391 makes sure that we have a ref when the threadfunction is
23394 2005-06-23 Andy Wingo <wingo@pobox.com>
23396 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23397 offset is greater than the file's size.
23399 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23400 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23401 * gst/gstobject.c (gst_object_class_init): Make the class lock
23402 recursive. Wim won't let me drop deep_notify. Decodebin works
23403 again, whoopdy doo.
23405 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23406 internal pad, and hacks accordingly. Doesn't do it on the target
23407 pad because we change its caps. Probably catches all cases of
23409 (gst_ghost_pad_set_property): Connect to notify::caps as
23412 * tests/network-clock.scm (plot-simulation): Pipe data to the
23413 elite python skript.
23415 * tests/network-clock-utils.scm (define-parameter): New macro,
23416 defines a parameter that can be set via the command line.
23417 (set-parameter!, parse-parameter-arguments): Command line args
23420 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23423 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23425 * gst/elements/gsttypefindelement.c:
23426 (gst_type_find_element_handle_event):
23427 Don't restart typefinding on a discont.
23428 * gst/gstelement.c: (gst_element_set_state):
23429 Debug spelling fix.
23430 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23431 Allow changing mode of an active pad.
23432 Debug output fixes.
23433 * gst/registries/gstlibxmlregistry.c: (load_feature):
23434 Don't cast a static pad template to a normal pad template.
23436 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23438 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23439 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23440 remove gst_strtoll completely, since it didn't actually do
23441 anything more than what g_ascii_strtoull already does.
23442 check for range errors when deserializing
23443 do a cast for the unsigned cases; but further fixing needs
23444 a decision on what the interpretation of "(int)" and
23445 deserialization should be for values that fall outside the
23446 type's boundaries (ie, refuse, or interpret as casting)
23448 2005-06-23 Wim Taymans <wim@fluendo.com>
23450 * check/Makefile.am:
23451 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23452 * docs/design/part-live-source.txt:
23453 * docs/design/part-states.txt:
23454 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23455 (gst_basesrc_set_live), (gst_basesrc_is_live),
23456 (gst_basesrc_get_range), (gst_basesrc_activate),
23457 (gst_basesrc_change_state):
23458 * gst/base/gstbasesrc.h:
23459 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23460 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23461 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23462 * gst/gstelement.c: (gst_element_get_state_func),
23463 (gst_element_set_state):
23464 * gst/gstelement.h:
23466 * tools/gst-launch.c: (event_loop), (main):
23467 Added support for live sources and other elements that
23469 Updated design docs, added live-source design doc.
23470 Implemented live source functionality in basesrc
23471 Fix error condition in _bin_get_state()
23472 Implement live source handling in -launch.
23473 Added check for live sources.
23474 Fixed case in GstBin where elements were changed state
23478 2005-06-23 Andy Wingo <wingo@pobox.com>
23480 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23481 borken refcounting.
23483 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23484 gst_caps_replace takes care of this for us.
23486 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23487 gst_pad_set_caps on the target, not just its setcaps() function.
23489 * tests/network-clock.scm:
23490 * tests/network-clock-utils.scm: A network clock simulator.
23491 Something of an algorithmic testbed before doing something in C.
23493 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23495 * check/Makefile.am:
23496 * check/gst/capslist.h:
23497 copy over from 0.8, and add two with bitmasks specified with
23499 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23500 add test to parse everything from capslist.h
23501 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23503 add test for structure deserialization
23504 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23505 add tests for deserialization of strings to int types
23506 * gst/gststructure.c: (gst_structure_nth_field_name):
23507 * gst/gststructure.h:
23508 add a way to get the name of a field referenced by index
23509 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23510 instead of checking if the resulting long long lies between
23511 min and max, we check if the long long would fit into
23512 a number of bytes for the final type.
23513 This fixes cases where a string represents 2^32 - 1, which
23514 when cast to int would be the (valid) -1, but is bigger than
23517 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23519 * gst/parse/grammar.y:
23520 add a log line for type deserialization
23522 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23524 * check/gst/gstvalue.c: (START_TEST):
23525 * gst/gstvalue.c: (gst_value_deserialize):
23526 return long long, not int, so gint64 deserialization actually
23527 works. Is there any flag that makes the compiler check this ?
23530 2005-06-22 Wim Taymans <wim@fluendo.com>
23533 Added convenience macros for setting buffers in GValue.
23535 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23537 * check/gst/.cvsignore:
23538 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23539 add a test deserializing int64, and comment part out because
23542 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
23544 * check/Makefile.am:
23545 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23546 * testsuite/Makefile.am:
23547 * testsuite/caps/Makefile.am:
23548 * testsuite/caps/value_serialize.c:
23549 * testsuite/test_gst_init.c:
23550 move a value_serialize test over
23552 2005-06-20 Wim Taymans <wim@fluendo.com>
23557 * gst/gstvalue.c: (gst_value_compare_buffer),
23558 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23559 (gst_value_compare_flags), (gst_value_serialize_flags),
23560 (gst_value_deserialize_flags), (_gst_value_initialize):
23561 Fix serialisation of buffers, they are not boxed types anymore
23563 2005-06-20 Wim Taymans <wim@fluendo.com>
23565 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23566 Testcase to show error in buffer-on-caps serialisation.
23568 2005-06-20 Andy Wingo <wingo@pobox.com>
23570 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23571 will be adding to later.
23573 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23574 if its socks fill with rocks.
23575 (gst_system_clock_obtain): Set the name on object construction.
23576 Avoid double-checked locking.
23578 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
23580 * gst/gsturi.c: (gst_element_make_from_uri):
23581 Fix potential endless loop.
23583 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23585 * check/Makefile.am:
23587 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23589 move over from testsuite dir and clean up
23592 * testsuite/Makefile.am:
23593 * testsuite/tags/.cvsignore:
23594 * testsuite/tags/Makefile.am:
23595 * testsuite/tags/merge.c:
23596 remove testsuite/tags
23598 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23600 * docs/gst/gstreamer-sections.txt:
23601 * docs/gst/tmpl/gstenumtypes.sgml:
23602 * win32/gstenumtypes.c:
23603 clean up documentation build a little
23605 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23607 * check/gstcheck.h:
23608 add macros for checking refcounts on objects and caps
23609 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23610 add some more unit tests
23611 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23612 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23613 fix leaked refcounts (I hope :)) so unittest works
23617 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
23619 * configure.ac: back to HEAD
23621 === release 0.9.1 ===
23623 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
23629 2005-06-17 Andy Wingo <wingo@pobox.com>
23631 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23632 assert; it's always possible that the pad gets deactivated in
23633 between the checks in gstpad.c and the implementation. Rely on
23634 finish_preroll() to return a FLUSHING or similar instead of on the
23637 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23638 clock and post an EOS message if we come out of finish_preroll in
23641 2005-06-16 David Schleef <ds@schleef.org>
23643 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23644 (gst_capsfilter_set_property): Allow NULL as possible value
23645 for filter_caps property, indicating GST_CAPS_ANY.
23647 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23649 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23651 * gst/schedulers/Makefile.am:
23653 * gstreamer.spec.in:
23656 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
23658 * gstreamer.spec.in:
23661 2005-06-08 Andy Wingo <wingo@pobox.com>
23663 * gst/gstutils.c: RPAD fixes all around.
23664 (gst_element_link_pads): Refcounting fixes.
23666 * tools/gst-inspect.c:
23667 * tools/gst-xmlinspect.c:
23669 * gst/base/gsttypefindhelper.c:
23670 * gst/base/gstbasesink.c:
23671 * gst/gstqueue.c: RPAD fixes.
23673 * gst/gstghostpad.h:
23674 * gst/gstghostpad.c: New ghost pad implementation as full proxy
23675 pads. The tricky thing is they provide both source and sink
23676 interfaces, since they proxy the internal pad for the external
23677 pad, and vice versa. Implement with lower-level ProxyPad objects,
23678 with the interior proxy pad as a child of the exterior ghost pad.
23679 Should write a doc on this.
23681 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23682 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23685 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23686 pads are real pads. No ghost pads in this file. Not documenting
23687 the myriad s/RPAD/PAD/ and REALIZE fixes.
23688 (gst_pad_class_init): Add properties for "direction" and
23689 "template". Both are construct-only, so they can't change during
23690 the life of the pad. Fixes properly deriving from GstPad.
23691 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23692 derived objects, just set properties when creating the objects via
23694 (gst_pad_get_parent): Implement as a function, return NULL if the
23695 parent is not an element.
23696 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23697 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23699 * gst/gstobject.c (gst_object_class_init): Make name a construct
23700 property. Don't set it in the object init.
23702 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23703 with UNKNOWN direction.
23704 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23705 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23706 (gst_element_remove_pad): Remove ghost-pad special cases.
23707 (gst_element_pads_activate): Remove rpad cruft.
23709 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23710 catch the pad's-parent-not-an-element case.
23712 * gst/gst.h: Include gstghostpad.h.
23714 * gst/gst.c (init_post): No more real, ghost pads.
23716 * gst/Makefile.am: Add gstghostpad.[ch].
23718 * check/Makefile.am:
23719 * check/gst/gstbin.c:
23720 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23721 into a bin creates ghost pads, and that the refcounts are right.
23722 Partly moved from gstbin.c.
23724 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23726 * check/gst-libs/.cvsignore:
23727 * check/gst/.cvsignore:
23728 * check/pipelines/.cvsignore:
23730 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23731 (START_TEST), (cleanup_suite), (main):
23732 add some tests related to cleanup after running pipelines
23734 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23736 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23737 add a testsuite for GstBuffer
23739 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
23741 * gst/gstminiobject.h:
23742 add defines for accessing the refcount
23744 2005-06-03 Stefan Kost <ensonic@users.sf.net>
23746 * Makefile.am: added support for html unit test coverage reports
23748 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
23750 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23751 Free existing caps if the capsfilter changes. Add a FIXME about
23752 setting those caps on the pads.
23754 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23755 Before adding a ghost pad to a parent bin, check that there isn't
23756 already one for the element on the bin. Prevents infinite recursion
23757 when using decodebin in parse pipelines. Andy says he'll rewrite the
23758 way this works anyway, so ignore the hack.
23760 2005-06-02 Andy Wingo <wingo@pobox.com>
23762 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23763 file size, pass it on to the type find helper.
23765 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23766 segment_start and segment_end properly according to the seek
23767 method. Segment_end is still a bit flaky because offset can be
23768 negative for CUR and END cases, but it takes -1 as an "unset"
23771 2005-06-02 Wim Taymans <wim@fluendo.com>
23773 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23774 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23775 (gst_basesink_activate):
23776 * gst/base/gstbasesink.h:
23777 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23778 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23779 (gst_pad_query), (gst_pad_start_task):
23781 * gst/gstqueue.c: (gst_queue_bufferalloc),
23782 (gst_queue_handle_sink_event), (gst_queue_chain):
23783 Bufferalloc: return GstFlowReturn to more accuratly report
23784 why allocation failed.
23786 2005-06-02 Wim Taymans <wim@fluendo.com>
23788 * gst/gstpipeline.c: (gst_pipeline_send_event):
23789 Take snapshot of state without blocking.
23791 2005-06-02 Wim Taymans <wim@fluendo.com>
23793 * docs/design/part-TODO.txt:
23794 * docs/design/part-caps.txt:
23795 * docs/design/part-clocks.txt:
23796 * docs/design/part-negotiation.txt:
23797 * docs/design/part-preroll.txt:
23800 2005-05-30 Wim Taymans <wim@fluendo.com>
23802 * gst/elements/gstidentity.c: (gst_identity_event),
23803 (gst_identity_transform), (gst_identity_get_property):
23804 Protect last_message property as it is accessed from
23807 2005-05-30 Wim Taymans <wim@fluendo.com>
23809 * gst/gstelement.c: (gst_element_init),
23810 (gst_element_pads_activate), (gst_element_change_state):
23811 Slicker pad activation code.
23813 2005-05-30 Wim Taymans <wim@fluendo.com>
23816 * gst/gstelement.h:
23817 * gst/gstelementfactory.h:
23819 Move elementfactory methods to separate .h file.
23821 2005-05-30 Wim Taymans <wim@fluendo.com>
23823 * docs/design/part-overview.txt:
23824 * gst/gstsystemclock.h:
23825 Small typo fixes, doc updates.
23827 2005-05-30 Wim Taymans <wim@fluendo.com>
23829 * gst/gst.c: (gst_init_get_popt_table), (init_post),
23830 (init_popt_callback):
23831 Remove cpu-opt flag.
23833 2005-05-30 Wim Taymans <wim@fluendo.com>
23835 * gst/gstbuffer.c: (gst_subbuffer_finalize),
23836 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23838 Avoid typechecking in places where not needed.
23839 Added accessor for malloc_data.
23841 2005-05-30 Wim Taymans <wim@fluendo.com>
23843 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23844 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23845 (gst_pad_configure_sink), (gst_pad_configure_src),
23846 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23847 (gst_pad_start_task):
23848 Propagate errors from _set_caps() in configure_src/sink
23849 functions instead of returning TRUE.
23850 FLUSH events can travel up and downstream
23853 2005-05-30 Wim Taymans <wim@fluendo.com>
23855 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23856 (gst_basesink_activate):
23857 Handle EOS in preroll.
23859 2005-05-30 Wim Taymans <wim@fluendo.com>
23861 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23862 (gst_queue_loop), (gst_queue_handle_src_event):
23863 Remove old pieces of code
23864 Flushing the queue in an upstream event is a very bad idea.
23866 2005-05-26 Andy Wingo <wingo@pobox.com>
23868 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23869 gst_value_set_mini_object so as to add a ref on the object (which
23870 will be removed when the value is unset).
23872 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23873 arg type in ::handoff.
23875 * gst/gstelement.c (gst_element_change_state): Also deactivate
23876 pads in READY->NULL, just in case the element didn't make it to
23877 PAUSED. Wingo tested, Wim approved.
23879 2005-05-26 Wim Taymans <wim@fluendo.com>
23881 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23882 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23883 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23884 A flushing pad cannot be used to alloc_buffer from.
23886 2005-05-26 Wim Taymans <wim@fluendo.com>
23888 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
23889 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
23890 (gst_bus_source_dispatch), (gst_bus_source_finalize),
23891 (gst_bus_create_watch), (gst_bus_add_watch_full):
23893 Implement a real GSource and use g_main_context_wakeup() to
23894 signal new messages instead of the socketpair.
23896 2005-05-25 Wim Taymans <wim@fluendo.com>
23898 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
23899 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
23900 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23901 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23902 (gst_pad_send_event), (gst_pad_start_task):
23903 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
23904 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23905 (gst_queue_sink_activate), (gst_queue_src_activate),
23906 (gst_queue_change_state):
23908 Fix state changes for non sinks. We now change sinks, then elements
23909 with unconnected srcpads, then the rest.
23910 More efficient queue unlocking in flush and state changes.
23911 Set the pad activate mode even if it does not have an activate
23914 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23916 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
23917 Don't go in pull mode for non-seekable sources.
23918 * gst/elements/gsttypefindelement.h:
23919 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
23920 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
23921 (free_entry), (stop_typefinding),
23922 (gst_type_find_element_handle_event), (find_peek),
23923 (gst_type_find_element_chain), (do_pull_typefind),
23924 (gst_type_find_element_change_state):
23925 Allow typefinding (w/o seeking) in push-mode, simplified version
23926 of what was in 0.8.
23927 * gst/gstutils.c: (gst_buffer_join):
23929 gst_buffer_join() from 0.8.
23931 2005-05-25 Wim Taymans <wim@fluendo.com>
23933 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23934 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
23935 (gst_pad_send_event), (gst_pad_start_task):
23936 Disable attempt at mode switching until it is figured out.
23938 2005-05-25 Wim Taymans <wim@fluendo.com>
23940 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
23941 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23942 (gst_basesink_finish_preroll), (gst_basesink_chain),
23943 (gst_basesink_loop), (gst_basesink_activate),
23944 (gst_basesink_change_state):
23945 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
23946 (gst_basesrc_get_range), (gst_basesrc_loop),
23947 (gst_basesrc_activate):
23948 * gst/elements/gsttee.c: (gst_tee_sink_activate):
23949 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
23950 (gst_real_pad_init), (gst_real_pad_set_property),
23951 (gst_real_pad_get_property), (gst_pad_set_active),
23952 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
23953 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
23954 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
23955 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
23956 (gst_pad_event_default_dispatch), (gst_pad_event_default),
23957 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
23958 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
23959 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23960 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
23961 (gst_pad_stop_task):
23963 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23964 (gst_queue_loop), (gst_queue_src_activate):
23965 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
23966 (gst_task_get_state):
23968 * gst/schedulers/threadscheduler.c:
23969 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
23970 Implement gst_pad_pause/start/stop_task(), take STREAM lock
23972 Remove ACTIVE pad flag, use FLUSHING everywhere
23973 Added _pad_chain(), _pad_get_range() to call chain/getrange
23975 Add locks around IS_FLUSHING when reading.
23976 Take STREAM lock in chain(), get_range() functions so plugins
23977 don't need to take it anymore.
23981 2005-05-25 Wim Taymans <wim@fluendo.com>
23983 * tools/gst-launch.c: (event_loop):
23984 Unref message after using its contents instead of
23987 2005-05-24 Wim Taymans <wim@fluendo.com>
23989 * docs/design/draft-ghostpads.txt:
23990 * docs/design/draft-push-pull.txt:
23991 * docs/design/draft-query.txt:
23992 * docs/design/part-overview.txt:
23993 Docs updates, added general overview doc.
23995 2005-05-21 David Schleef <ds@schleef.org>
23997 * docs/gst/tmpl/old/GstBin.sgml:
23998 * docs/gst/tmpl/old/GstBuffer.sgml:
23999 * docs/gst/tmpl/old/GstCaps.sgml:
24000 * docs/gst/tmpl/old/GstClock.sgml:
24001 * docs/gst/tmpl/old/GstCompat.sgml:
24002 * docs/gst/tmpl/old/GstData.sgml:
24003 * docs/gst/tmpl/old/GstElement.sgml:
24004 * docs/gst/tmpl/old/GstEvent.sgml:
24005 * docs/gst/tmpl/old/GstIndex.sgml:
24006 * docs/gst/tmpl/old/GstStructure.sgml:
24007 * docs/gst/tmpl/old/GstTag.sgml:
24008 * docs/gst/tmpl/old/cothreads.sgml:
24009 * docs/gst/tmpl/old/cothreads_compat.sgml:
24010 * docs/gst/tmpl/old/gettext.sgml:
24011 * docs/gst/tmpl/old/gobject2gtk.sgml:
24012 * docs/gst/tmpl/old/grammar.tab.sgml:
24013 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24014 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24015 * docs/gst/tmpl/old/gst_private.sgml:
24016 * docs/gst/tmpl/old/gstaggregator.sgml:
24017 * docs/gst/tmpl/old/gstarch.sgml:
24018 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24019 * docs/gst/tmpl/old/gstbufferstore.sgml:
24020 * docs/gst/tmpl/old/gstdata_private.sgml:
24021 * docs/gst/tmpl/old/gstdisksink.sgml:
24022 * docs/gst/tmpl/old/gstdisksrc.sgml:
24023 * docs/gst/tmpl/old/gstelementfactory.sgml:
24024 * docs/gst/tmpl/old/gstextratypes.sgml:
24025 * docs/gst/tmpl/old/gstfakesink.sgml:
24026 * docs/gst/tmpl/old/gstfakesrc.sgml:
24027 * docs/gst/tmpl/old/gstfdsink.sgml:
24028 * docs/gst/tmpl/old/gstfdsrc.sgml:
24029 * docs/gst/tmpl/old/gstfilesink.sgml:
24030 * docs/gst/tmpl/old/gstfilesrc.sgml:
24031 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24032 * docs/gst/tmpl/old/gstidentity.sgml:
24033 * docs/gst/tmpl/old/gstindexfactory.sgml:
24034 * docs/gst/tmpl/old/gstmarshal.sgml:
24035 * docs/gst/tmpl/old/gstmd5sink.sgml:
24036 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24037 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24038 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24039 * docs/gst/tmpl/old/gstpipefilter.sgml:
24040 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24041 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24042 * docs/gst/tmpl/old/gstshaper.sgml:
24043 * docs/gst/tmpl/old/gstspider.sgml:
24044 * docs/gst/tmpl/old/gstspideridentity.sgml:
24045 * docs/gst/tmpl/old/gststatistics.sgml:
24046 * docs/gst/tmpl/old/gsttee.sgml:
24047 * docs/gst/tmpl/old/gsttimecache.sgml:
24048 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24049 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24050 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24051 * docs/gst/tmpl/old/types.sgml:
24052 I didn't intend to add these or check them in.
24054 2005-05-19 David Schleef <ds@schleef.org>
24056 * configure.ac: Use -no-common everywhere. In a sane world, it
24057 would be the default in libtool, because without it, you can't
24058 build DLLs on Windows.
24059 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24060 * docs/gst/gstreamer-sections.txt:
24061 * docs/gst/tmpl/gstcpu.sgml:
24062 * docs/gst/tmpl/gstdata.sgml:
24063 * docs/gst/tmpl/gstthread.sgml:
24065 2005-05-19 David Schleef <ds@schleef.org>
24067 * gst/gstminiobject.c: (gst_value_set_mini_object),
24068 (gst_value_take_mini_object), (gst_value_get_mini_object):
24069 * gst/gstminiobject.h: Add GValue set/get functions.
24071 2005-05-19 Wim Taymans <wim@fluendo.com>
24073 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24074 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24075 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24077 * gst/gstbus.c: (gst_bus_post):
24078 * gst/gstelement.c: (gst_element_get_random_pad):
24079 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24080 Make subbufer unref the parent in finalize.
24081 some more debugging info.
24084 2005-05-19 Wim Taymans <wim@fluendo.com>
24086 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24087 (gst_basesink_init), (gst_basesink_finalize),
24088 (gst_basesink_activate), (gst_basesink_change_state):
24089 Don't free preroll queue too early.
24091 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24095 Hi, I'm outdated. Please shoot me.
24097 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24099 * gst/gstpipeline.c: (gst_pipeline_send_event):
24100 Do not access variables after they have been deleted.
24102 2005-05-19 Wim Taymans <wim@fluendo.com>
24104 * tools/gst-inspect.c: (print_plugin_features):
24105 A plugin feature does unfortunatly not use the
24108 2005-05-18 Wim Taymans <wim@fluendo.com>
24110 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24111 Port _span() functions to new subbuffers.
24113 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24115 * gst/gstbin.c: (gst_bin_add_func):
24116 Fix clock settery in bins when adding kids after the clock has
24119 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24121 * gst/elements/gstidentity.c: (gst_identity_class_init):
24122 Workaround until signals support GstMiniObject.
24124 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24127 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24129 2005-05-18 Wim Taymans <wim@fluendo.com>
24131 * gst/base/Makefile.am:
24132 * gst/base/gstadapter.c: (gst_adapter_base_init),
24133 (gst_adapter_class_init), (gst_adapter_init),
24134 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24135 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24136 (gst_adapter_flush), (gst_adapter_available),
24137 (gst_adapter_available_fast):
24138 * gst/base/gstadapter.h:
24139 Ported and added adapter to the base classes.
24141 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24144 * gst/gstmessage.c:
24145 Make sure the class is reffed/unreffed once before threads can be
24146 used. Fixes #304551.
24148 2005-05-17 Wim Taymans <wim@fluendo.com>
24150 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24151 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24152 * gst/gstminiobject.c: (gst_mini_object_get_type),
24153 (gst_mini_object_free):
24154 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24155 (gst_pad_push), (gst_pad_push_event):
24156 * gst/gstqueue.c: (gst_queue_change_state):
24157 Don't queue buffers in basesink when we are flushing.
24158 Unref buffer when flushing in basesink.
24159 Flush queue when going to READY
24160 Unref buffer when _push() returns an error.
24161 Don't free MiniObject instance when refcount is incremented
24162 in _finalize() so that we can recover objects.
24164 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24166 * docs/manual/advanced-schedulers.xml:
24167 * docs/manual/appendix-checklist.xml:
24168 * docs/pwg/advanced-clock.xml:
24169 * docs/pwg/advanced-interfaces.xml:
24170 * docs/pwg/advanced-request.xml:
24171 * docs/pwg/advanced-types.xml:
24172 * docs/pwg/intro-preface.xml:
24173 * examples/plugins/example.c: (gst_example_get_type),
24174 (gst_example_class_init), (gst_example_chain),
24175 (gst_example_set_property), (gst_example_get_property),
24176 (gst_example_change_state), (plugin_init):
24177 * examples/plugins/example.h:
24180 2005-05-17 Wim Taymans <wim@fluendo.com>
24182 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24183 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24184 * gst/gstqueue.c: (gst_queue_change_state):
24185 Clear queue when going to READY.
24186 Remove IN_SETCAPS flag too.
24188 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24190 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24191 Remove implicit cast from gboolean to GstElementStateReturn;
24192 make sure we still return failure in paused => ready case if
24193 the parent class fails to change state and our own stop
24196 2005-05-17 Wim Taymans <wim@fluendo.com>
24198 * tools/gst-launch.c: (event_loop):
24199 Message was unreffed too soon.
24201 2005-05-16 Andy Wingo <wingo@pobox.com>
24203 * gst/gstbin.c (sink_iterator_filter): Err... um...
24205 * check/gst/gstbin.c (test_ghost_pads): New test for the
24206 ghosting-if-elements-not-in-same-bin behavior.
24208 2005-05-16 David Schleef <ds@schleef.org>
24210 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24211 accessing refcount directly.
24213 2005-05-15 David Schleef <ds@schleef.org>
24215 * check/Makefile.am: remove GstData checks
24216 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24217 * gst/Makefile.am: add miniobject, remove data
24218 * gst/gst.h: add miniobject, remove data
24219 * gst/gstdata.c: remove
24220 * gst/gstdata.h: remove
24221 * gst/gstdata_private.h: remove
24222 * gst/gsttypes.h: remove GstEvent and GstMessage
24223 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24224 * gst/gstmarshal.list: change BOXED -> OBJECT
24226 Implement GstMiniObject.
24227 * gst/gstminiobject.c:
24228 * gst/gstminiobject.h:
24230 Modify to be subclasses of GstMiniObject.
24231 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24232 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24233 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24234 (gst_subbuffer_get_type), (gst_subbuffer_init),
24235 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24238 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24239 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24240 (_gst_event_copy), (gst_event_new):
24242 * gst/gstmessage.c: (_gst_message_initialize),
24243 (gst_message_get_type), (gst_message_class_init),
24244 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24245 (gst_message_new), (gst_message_new_error),
24246 (gst_message_new_warning), (gst_message_new_tag),
24247 (gst_message_new_state_changed), (gst_message_new_application):
24248 * gst/gstmessage.h:
24249 * gst/gstprobe.c: (gst_probe_perform),
24250 (gst_probe_dispatcher_dispatch):
24252 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24253 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24254 (_gst_query_copy), (gst_query_new):
24256 Update elements for GstData -> GstMiniObject changes
24258 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24259 (gst_queue_chain), (gst_queue_loop):
24260 * gst/elements/gstbufferstore.c:
24261 (gst_buffer_store_add_buffer_func),
24262 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24263 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24264 (gst_fakesink_render):
24265 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24266 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24267 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24268 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24269 (gst_filesrc_create_read):
24270 * gst/elements/gstidentity.c: (gst_identity_class_init):
24271 * gst/elements/gsttypefindelement.c:
24272 (gst_type_find_element_src_event), (free_entry_buffers),
24273 (gst_type_find_element_handle_event):
24274 * libs/gst/dataprotocol/dataprotocol.c:
24275 (gst_dp_header_from_buffer):
24276 * libs/gst/dataprotocol/dataprotocol.h:
24277 * libs/gst/dataprotocol/dp-private.h:
24279 2005-05-15 David Schleef <ds@schleef.org>
24281 * gst/elements/gstelements.c: Don't include headers that were
24284 2005-05-15 David Schleef <ds@schleef.org>
24286 * gst/elements/Makefile.am: Remove some elements that don't
24287 need to be in the core (or even exist at all).
24288 * gst/elements/gstaggregator.c:
24289 * gst/elements/gstaggregator.h:
24290 * gst/elements/gstmd5sink.c:
24291 * gst/elements/gstmd5sink.h:
24292 * gst/elements/gstmultifilesrc.c:
24293 * gst/elements/gstmultifilesrc.h:
24294 * gst/elements/gstpipefilter.c:
24295 * gst/elements/gstpipefilter.h:
24296 * gst/elements/gstshaper.c:
24297 * gst/elements/gstshaper.h:
24298 * gst/elements/gststatistics.c:
24299 * gst/elements/gststatistics.h:
24300 * po/POTFILES.in: Remove above files.
24302 2005-05-14 Andy Wingo <wingo@pobox.com>
24304 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24305 so as to get the refs right.
24306 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24307 unreffing objects that don't pass the filter.
24309 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24310 gst_element_set_bus.
24311 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24312 normal cases, this will destroy the bus.
24314 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24317 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24320 2005-05-13 Andy Wingo <wingo@pobox.com>
24322 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24323 gst_pad_link, call pad_link_maybe_ghosting,
24324 (pad_link_maybe_ghosting): Links pads, making sure that the
24325 elements being linked are in the same bin.
24326 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24327 Helpers for pad_link_maybe_ghosting.
24329 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24332 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24334 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24336 * docs/design/part-element-source.txt:
24339 2005-05-12 Wim Taymans <wim@fluendo.com>
24341 * gst/base/gstbasesink.c: (gst_basesink_init),
24342 (gst_basesink_activate):
24343 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24344 (gst_basesrc_is_seekable):
24345 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24346 (bin_element_is_sink), (gst_bin_change_state):
24347 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24348 * gst/gstelement.h:
24349 Identify sinks by their flag to avoid overly complicated
24351 Do state changes even for elements not reachable from the
24353 BaseSink is a sink now :)
24354 Some more debugging info in the basesrc.
24357 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24359 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24360 Implement _query on a bin, similar to _send_event.
24362 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24364 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24365 Discont event offset format should be GST_FORMAT_BYTES,
24366 not GST_FORMAT_TIME.
24368 2005-05-12 Wim Taymans <wim@fluendo.com>
24370 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24371 Same fix as Ronald's but without the signal.
24373 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24375 * gst/gstutils.c: (gst_element_query_position):
24376 No, an element is not a pad.
24378 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24380 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24381 (gst_bin_get_state):
24382 If a child is removed from a bin while we remove the child from
24383 the bin and while we're retrieving its state, signal this to the
24384 get_state function so we abort the wait (instead of waiting for
24385 a timeout) and can immediately re-iterate over all other elements.
24387 2005-05-12 Wim Taymans <wim@fluendo.com>
24389 * gst/base/Makefile.am:
24390 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24391 (gst_basesrc_start):
24392 * gst/base/gstbasesrc.h:
24393 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24394 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24395 (gst_pushsrc_init), (gst_pushsrc_create):
24396 * gst/base/gstpushsrc.h:
24397 Added is_seekable to BaseSrc
24398 Added simple PushSrc.
24400 2005-05-11 Wim Taymans <wim@fluendo.com>
24402 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24403 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24404 (gst_element_link_pads), (gst_element_query_position),
24405 (gst_element_query_convert), (intersect_caps_func),
24406 (gst_pad_query_position), (gst_pad_query_convert):
24407 Fix refcounting in utils function.
24408 No point in trying to activate a pad when it's added, it could
24409 be added from the state change function and then we deadlock, the
24410 element has to decide what to do.
24412 2005-05-10 Andy Wingo <wingo@pobox.com>
24414 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24415 *all* the arguments.
24417 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24418 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24419 lock (according to the docs -- if this is wrong change the docs).
24421 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24422 flush messages in the NULL state.
24424 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24425 message immediately and return.
24426 (gst_bus_set_flushing): New function. If a bus is flushing, it
24427 flushes out any queued messages and immediately unrefs new
24428 messages. This is so when an element goes to NULL, all of the
24429 unhandled messages coming from it can be freed, and their
24430 references to the element dropped. In other words: message source
24431 ref considered harmful :P
24433 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24434 we're finished with it.
24436 * gst/gstmessage.c (gst_message_new_state_changed):
24438 2005-05-10 Wim Taymans <wim@fluendo.com>
24440 * gst/gstvalue.c: (gst_value_compare_flags),
24441 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24442 (_gst_value_initialize):
24443 Added flags serialize/deserialize/compare code.
24445 2005-05-09 Andy Wingo <wingo@pobox.com>
24447 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24448 Intersect the peer's caps with our caps.
24450 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24452 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24453 * gst/elements/gsttypefindelement.c: (find_peek):
24454 Handle negative offsets better. Fixes decodebin.
24456 2005-05-09 Wim Taymans <wim@fluendo.com>
24458 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24459 (gst_base_transform_event):
24460 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24461 Implement accept_caps.
24462 Fix silly lock/unlock mismatch in base class.
24464 2005-05-09 Wim Taymans <wim@fluendo.com>
24466 * docs/design/draft-push-pull.txt:
24467 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24468 * gst/elements/gstfilesink.c: (gst_filesink_init),
24469 (gst_filesink_query):
24470 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24471 (gst_type_find_handle_src_query), (find_element_get_length):
24472 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24473 * gst/gstelement.h:
24474 * gst/gstmessage.c:
24475 * gst/gstmessage.h:
24476 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24477 (gst_real_pad_get_caps_unlocked),
24478 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24479 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24480 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24481 (gst_real_pad_dispose), (gst_real_pad_finalize),
24482 (gst_pad_load_and_link), (gst_pad_save_thyself),
24483 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24484 (gst_pad_check_pull_range), (gst_pad_pull_range),
24485 (gst_pad_template_get_type), (gst_pad_template_class_init),
24486 (gst_pad_template_init), (gst_pad_template_dispose),
24487 (name_is_valid), (gst_static_pad_template_get),
24488 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24489 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24490 (gst_pad_get_element_private), (gst_pad_start_task),
24491 (gst_pad_pause_task), (gst_pad_stop_task),
24492 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24493 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24494 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24495 (gst_ghost_pad_new):
24497 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24498 (gst_query_new_position), (gst_query_set_position),
24499 (gst_query_parse_position), (gst_query_new_convert),
24500 (gst_query_set_convert), (gst_query_parse_convert):
24502 * gst/gstqueryutils.c:
24503 * gst/gstqueryutils.h:
24504 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24505 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24506 (gst_queue_handle_src_query):
24507 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24508 (gst_element_query_position), (gst_element_query_convert),
24509 (intersect_caps_func), (gst_pad_query_position),
24510 (gst_pad_query_convert):
24512 * tools/gst-inspect.c: (print_pad_info):
24513 * tools/gst-xmlinspect.c: (print_element_info):
24514 Remove old query functions. Ported old code.
24515 Added position/convert helper functions to gstutils.
24516 Reordered gstpad.c code, grouping relevant things.
24517 Remove gst_message_new(), always need to speficy a specific
24521 2005-05-09 Andy Wingo <wingo@pobox.com>
24523 * gst/gstiterator.h: Add some includes.
24525 * gst/gstqueryutils.h: Include more headers.
24528 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24529 some uses of gst_pad_query.
24531 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24532 NULL out parameters.
24533 (gst_query_new_position): New proc, allocates a new position
24536 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24537 gstqueryutils.c to the build.
24539 * gst/gststructure.c (gst_structure_set_valist): Implement with
24540 the generic G_VALUE_COLLECT.
24542 2005-05-08 Edward Hervey <bilboed@bilboed.com>
24544 * gst/Makefile.am: (gst_headers):
24545 Added gstqueryutils.h to the list of headers to install, that was
24546 a 'nachty' move wingo :)
24548 2005-05-06 Andy Wingo <wingo@pobox.com>
24551 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24552 GstData, init a memchunk.
24553 (standard_definitions): Add a few query types, deprecate a few.
24554 (gst_query_get_type): New proc.
24555 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24557 (gst_query_new_application, gst_query_get_structure): New public
24560 * docs/design/draft-query.txt: Removed LINKS from the query types,
24561 because all the rest can be dispatched to other pads -- seemed
24562 ugly to have a query that couldn't be dispatched. internal_links
24563 is fine as a pad method.
24565 * gst/gstpad.h: Add query2 as a pad method, add the new functions
24566 in gstpad.c, but maintain binary compatibility for the moment.
24567 Will fix before 0.9 is out.
24569 * gst/gstqueryutils.c:
24570 * gst/gstqueryutils.h: New files, implement 3 methods for each
24571 query type: parse_query, parse_response, and set. Probably need an
24574 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24576 * gst/elements/gstfilesink.c (gst_filesink_query2):
24577 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24578 query_types, and formats methods.
24580 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24581 (gst_pad_set_query2_function): New functions.
24582 (gst_real_pad_init): Set query2_default as the default query2
24583 function. Basically just dispatches to internally linked pads.
24587 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24588 without using the atomic operations. Only one thread can possibly
24589 be accessing the data at this point. Changed so as to avoid
24590 gst_atomic operations.
24592 2005-05-06 Wim Taymans <wim@fluendo.com>
24594 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24595 Also set caps if we use the fallback buffer alloc.
24597 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
24599 * docs/gst/Makefile.am:
24600 * docs/gst/gstreamer-docs.sgml:
24601 * docs/gst/gstreamer-sections.txt:
24602 * docs/gst/tmpl/gstatomic.sgml:
24603 * docs/gst/tmpl/gstmemchunk.sgml:
24604 * testsuite/elements/struct_i386.h:
24605 * win32/GStreamer.vcproj:
24607 Purge GstAtomic stuff from docs and win32 makefiles as well
24609 2005-05-06 Wim Taymans <wim@fluendo.com>
24611 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24612 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24613 * gst/gstpad.c: (gst_pad_peer_get_caps):
24614 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24615 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24616 (gst_queue_src_activate), (gst_queue_change_state):
24618 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24619 (intersect_caps_func):
24620 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24621 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24622 Some fixes for the peer_get_caps() change.
24624 2005-05-06 Wim Taymans <wim@fluendo.com>
24626 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24627 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24628 (gst_basesink_activate):
24629 Actually do something with error codes returned from the push
24632 2005-05-06 Wim Taymans <wim@fluendo.com>
24634 * docs/design/part-element-sink.txt:
24635 * docs/design/part-element-source.txt:
24636 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24637 (gst_basesink_event), (gst_basesink_activate):
24638 * gst/base/gstbasesink.h:
24639 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24640 (gst_basesrc_activate):
24641 * gst/base/gstbasesrc.h:
24642 * gst/gstelement.c: (gst_element_pads_activate):
24643 Some more documentation.
24644 Fixed scheduling decision in _pads_activate().
24646 2005-05-05 Andy Wingo <wingo@pobox.com>
24648 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24651 2005-05-05 Wim Taymans <wim@fluendo.com>
24653 * gst/base/Makefile.am:
24654 * gst/base/gstbasesink.h:
24655 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24656 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24657 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24658 (gst_collectpads_class_init), (gst_collectpads_init),
24659 (gst_collectpads_finalize), (gst_collectpads_new),
24660 (gst_collectpads_set_function), (gst_collectpads_add_pad),
24661 (find_pad), (gst_collectpads_remove_pad),
24662 (gst_collectpads_is_active), (gst_collectpads_collect),
24663 (gst_collectpads_collect_range), (gst_collectpads_start),
24664 (gst_collectpads_stop), (gst_collectpads_peek),
24665 (gst_collectpads_pop), (gst_collectpads_available),
24666 (gst_collectpads_read), (gst_collectpads_flush),
24667 (gst_collectpads_chain):
24668 * gst/base/gstcollectpads.h:
24669 * gst/elements/Makefile.am:
24670 * gst/elements/gstelements.c:
24671 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24672 (gst_fakesink_get_times), (gst_fakesink_event),
24673 (gst_fakesink_preroll), (gst_fakesink_render):
24674 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24675 (gst_filesink_init), (gst_filesink_set_location),
24676 (gst_filesink_open_file), (gst_filesink_close_file),
24677 (gst_filesink_pad_query), (gst_filesink_event),
24678 (gst_filesink_render), (gst_filesink_change_state):
24679 * gst/elements/gstfilesink.h:
24680 Added object to help in making collect pad based elements.
24682 Make event function in sink baseclass return gboolean.
24684 2005-05-05 Wim Taymans <wim@fluendo.com>
24686 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24687 (gst_bin_get_by_name):
24689 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24690 (gst_clock_finalize):
24691 * gst/gstdata.c: (gst_data_replace):
24693 * gst/gstelement.c: (gst_element_request_pad),
24694 (gst_element_pads_activate):
24695 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24696 (gst_object_unref):
24697 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24698 (gst_pad_set_checkgetrange_function),
24699 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24700 (gst_pad_check_pull_range), (gst_pad_pull_range),
24701 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24702 (gst_pad_pause_task), (gst_pad_stop_task):
24703 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24704 (gst_element_request_pad), (gst_pad_proxy_getcaps):
24705 Fix name lookup in GstBin.
24706 Added _data_replace() function and _buffer_replace()
24707 Use finalize method to clean up clock.
24708 Fix refcounting on request pads.
24709 Fix pad schedule mode error.
24710 Some more object refcounting debug info,
24713 2005-05-04 Andy Wingo <wingo@pobox.com>
24715 * check/Makefile.am:
24716 * docs/gst/tmpl/gstatomic.sgml:
24717 * docs/gst/tmpl/gstplugin.sgml:
24718 * gst/base/gstbasesink.c: (gst_basesink_activate):
24719 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24720 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24721 (gst_basesrc_query), (gst_basesrc_set_property),
24722 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24723 (gst_basesrc_activate):
24724 * gst/base/gstbasesrc.h:
24725 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24726 (gst_base_transform_src_activate):
24727 * gst/elements/gstelements.c:
24728 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24729 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24730 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24731 * gst/elements/gsttypefindelement.c: (find_element_get_length),
24732 (gst_type_find_element_checkgetrange),
24733 (gst_type_find_element_activate):
24734 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24735 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24736 (gst_caps_load_thyself):
24737 * gst/gstelement.c: (gst_element_pads_activate),
24738 (gst_element_save_thyself), (gst_element_restore_thyself):
24739 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24740 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24742 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24743 (gst_xml_parse_file), (gst_xml_parse_memory),
24744 (gst_xml_get_element), (gst_xml_make_element):
24745 * gst/indexers/gstfileindex.c: (gst_file_index_load),
24746 (_file_index_id_save_xml), (gst_file_index_commit):
24747 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24748 (read_enum), (load_pad_template), (load_feature), (load_plugin),
24750 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24751 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24752 * tools/gst-complete.c: (main):
24753 * tools/gst-compprep.c: (main):
24754 * tools/gst-inspect.c: (print_element_properties_info):
24755 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24756 * tools/gst-xmlinspect.c: (print_element_properties):
24759 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
24761 * gst/gstplugin.c: (gst_plugin_check_module),
24762 (gst_plugin_check_file), (gst_plugin_load_file):
24763 apply patch from #172526 to make register work on MacOSX
24765 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24767 * docs/gst/tmpl/gstconfig.sgml:
24768 * gst/gstconfig.h.in:
24769 move documentation for some symbols. Add doc for GST_PTR_FORMAT
24770 * testsuite/debug/printf_extension.c: (main):
24771 Do not use GST_PTR_FORMAT on pointers to types with
24772 sizeof < sizeof(gpointer). Fixes test on 64-bit
24773 * testsuite/elements/property.h:
24774 use correct printf format
24776 2005-05-02 Wim Taymans <wim@fluendo.com>
24778 * docs/design/draft-push-pull.txt:
24779 * docs/design/draft-query.txt:
24780 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24781 (gst_basesrc_start):
24782 Added draft for new query API.
24783 Added draft for better selecting scheduling methods.
24784 Make basesrc ignore length if the subclass does not support
24787 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24790 possible fixes for automake-1.5 - _LIBADD is reserved
24792 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
24794 * docs/faq/Makefile.am:
24795 * docs/manual/Makefile.am:
24796 * docs/manuals.mak:
24797 * docs/pwg/Makefile.am:
24799 possible fixes for automake-1.5
24801 2005-04-28 Wim Taymans <wim@fluendo.com>
24803 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24804 (gst_basesink_pad_getcaps), (gst_basesink_init),
24805 (gst_basesink_do_sync):
24806 * gst/gstclock.c: (gst_clock_entry_new):
24807 * gst/gstevent.c: (gst_event_discont_get_value):
24808 * gst/gstpipeline.c: (pipeline_bus_handler),
24809 (gst_pipeline_change_state):
24810 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24811 Better debugging of clocking info.
24812 Allow NULL values when getting discont values.
24814 2005-04-27 Wim Taymans <wim@fluendo.com>
24816 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24817 * check/gst/gstpad.c: (gst_pad_suite):
24818 Increase timeout for checks.
24820 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24822 * check/Makefile.am:
24823 fix the broken rule for cleanup. Apparently this rule is
24824 only needed on FC2, so maybe this warrants further autotool
24827 2005-04-26 Wim Taymans <wim@fluendo.com>
24829 * gst/gsttrashstack.h:
24830 Ooohh. a nasty one! After having a failed pop() from the stack,
24831 it's possible that the stack is empty. In that case, don't
24832 follow the NULL pointer.
24834 2005-04-25 Wim Taymans <wim@fluendo.com>
24836 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24837 (gst_pad_set_checkgetrange_function),
24838 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24839 (gst_pad_check_pull_range), (gst_pad_pull_range),
24840 (gst_static_pad_template_get_caps), (gst_pad_start_task),
24841 (gst_pad_pause_task), (gst_pad_stop_task):
24842 * gst/gstplugin.c: (gst_plugin_load):
24844 Remove gst_library_load as it does more harm than good with
24845 the new g_module flags.
24846 Revert bogus caps template check in pad linking, pad caps
24847 are important when linking not the template, which is more
24848 general than the current caps.
24850 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24852 * gst/autoplug/.cvsignore:
24853 * gst/autoplug/Makefile.am:
24854 * gst/autoplug/gstsearchfuncs.c:
24855 * gst/autoplug/gstsearchfuncs.h:
24856 * gst/autoplug/gstspider.c:
24857 * gst/autoplug/gstspider.h:
24858 * gst/autoplug/gstspideridentity.c:
24859 * gst/autoplug/gstspideridentity.h:
24860 * gst/autoplug/spidertest.c:
24863 2005-04-25 Wim Taymans <wim@fluendo.com>
24865 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24866 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24867 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24868 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24870 Added stubs for unimplemented functions.
24872 2005-04-24 David Schleef <ds@schleef.org>
24874 * gst/gstpad.h: Disable some unimplemented functions. Wim,
24877 2005-04-24 David Schleef <ds@schleef.org>
24879 Convert everything from GstAtomicInt to g_atomic_int_*, and
24884 * gst/gstatomic_impl.h:
24892 * gst/gstdata_private.h:
24896 * gst/gstmessage.c:
24899 * gst/gststructure.c:
24900 * gst/gststructure.h:
24901 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
24904 2005-04-24 David Schleef <ds@schleef.org>
24906 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
24907 make the regressions tests work. Remove some code that is no
24909 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
24910 Disable warning for pads without templates.
24912 2005-04-24 David Schleef <ds@schleef.org>
24914 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
24915 functions that handle filtered links.
24916 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
24918 * gst/gstutils.c: Fix/remove utility functions that handle
24921 * gst/gstvalue.c: Add serialization/deserialization of caps
24922 * gst/parse/grammar.y: Ignore filtered caps when linking. This
24923 requires fixing so that the filter caps notation creates
24924 a capsfilter element and sets the filter_caps property. I
24925 think everyone probably wants to keep the shorthand notation.
24926 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
24927 * docs/gst/tmpl/gstpad.sgml:
24929 * gst/elements/gstelements.c: Register capsfilter element.
24930 * gst/Makefile.am: fix spacing
24931 * docs/random/ds/0.9-suggested-changes: random
24933 2005-04-23 David Schleef <ds@schleef.org>
24935 * gst/elements/Makefile.am:
24936 * gst/elements/gstcapsfilter.c: New element that acts like an
24937 identity, but filters caps. Will eventually replace filtered
24938 caps in pad linking.
24939 * gst/gstutils.c: (gst_element_create_all_pads): New function
24940 to create all the ALWAYS pads that are registered with an
24941 element class. This functionality should eventually be
24942 merged in with GstElement initialization.
24944 * testsuite/trigger/README: part of trigger test code that should
24945 have been checked in a long time ago.
24947 2005-04-23 David Schleef <ds@schleef.org>
24949 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
24950 needed with new versions of libtool (nobody will confirm this),
24951 and hard to carry around.
24952 * gst/autoplug/Makefile.am:
24953 * gst/base/Makefile.am:
24954 * gst/elements/Makefile.am:
24955 * gst/indexers/Makefile.am:
24956 * gst/schedulers/Makefile.am:
24957 * libs/gst/bytestream/Makefile.am:
24958 * libs/gst/control/Makefile.am:
24959 * libs/gst/dataprotocol/Makefile.am:
24960 * libs/gst/getbits/Makefile.am:
24962 2005-04-21 Wim Taymans <wim@fluendo.com>
24964 * docs/design/draft-push-pull.txt:
24965 * docs/design/part-MT-refcounting.txt:
24966 * docs/design/part-TODO.txt:
24967 * docs/design/part-caps.txt:
24968 * docs/design/part-events.txt:
24969 * docs/design/part-gstbus.txt:
24970 * docs/design/part-gstpipeline.txt:
24971 * docs/design/part-messages.txt:
24972 * docs/design/part-push-pull.txt:
24973 * docs/design/part-query.txt:
24976 2005-04-21 Wim Taymans <wim@fluendo.com>
24978 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
24979 (gst_message_new), (gst_message_new_error),
24980 (gst_message_new_warning), (gst_message_new_tag),
24981 (gst_message_new_state_changed), (gst_message_new_application),
24982 (gst_message_get_structure):
24983 * gst/gstmessage.h:
24984 * gst/gststructure.c: (gst_structure_set_parent_refcount),
24985 (gst_structure_copy_conditional):
24986 Use parent refcount in GstMessage to ensure GstStructure
24988 Cleaned up headers a bit.
24991 2005-04-20 Wim Taymans <wim@fluendo.com>
24993 * gst/base/gstbasesink.c: (gst_basesink_base_init),
24994 (gst_basesink_pad_getcaps), (gst_basesink_init),
24995 (gst_basesink_chain_unlocked):
24996 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
24997 (gst_type_find_helper):
24998 * gst/elements/gsttypefindelement.c:
24999 (gst_type_find_element_have_type), (gst_type_find_element_init),
25000 (stop_typefinding), (gst_type_find_element_handle_event),
25001 (find_suggest), (gst_type_find_element_chain),
25002 (gst_type_find_element_checkgetrange),
25003 (gst_type_find_element_getrange), (do_typefind),
25004 (gst_type_find_element_activate):
25005 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25006 (gst_buffer_default_free), (gst_buffer_default_copy),
25007 (gst_buffer_set_caps):
25008 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25009 (gst_caps_replace):
25010 * gst/gstmessage.c: (gst_message_new),
25011 (gst_message_new_state_changed):
25012 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25013 (gst_pad_set_checkgetrange_function),
25014 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25015 (gst_pad_set_caps), (gst_pad_check_pull_range),
25016 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25018 * gst/gsttypefind.c: (gst_type_find_register):
25019 Make gst_caps_replace() work like other _replace() functions.
25020 Use _caps_replace() where possible.
25021 Make sure _message_new() initialises its field.
25022 Add gst_static_pad_template_get_caps()
25025 2005-04-18 Andy Wingo <wingo@pobox.com>
25027 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25028 on the peer, not the pad. I think that was a typo. Pass an extra
25029 arg to see if random access is possible. Activate the pads as
25030 PULL_RANGE if possible.
25032 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25034 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25035 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25038 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25040 * docs/faq/using.xml:
25041 Add note on gstreamer-properties (#154996).
25043 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25045 * docs/random/bbb/optional-properties:
25046 Some analysis on optional properties.
25048 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25050 * docs/gst/tmpl/gstelementfactory.sgml:
25051 * gst/gstelement.h:
25052 * gst/gstelementfactory.c: (gst_element_factory_init),
25053 (gst_element_factory_cleanup), (gst_element_register),
25054 (__gst_element_factory_add_static_pad_template),
25055 (gst_element_factory_get_static_pad_templates),
25056 (gst_element_factory_can_src_caps),
25057 (gst_element_factory_can_sink_caps):
25058 * gst/registries/Makefile.am:
25059 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25060 (gst_xml_registry_class_init), (gst_xml_registry_init),
25061 (gst_xml_registry_new), (gst_xml_registry_set_property),
25062 (gst_xml_registry_get_property), (get_time), (make_dir),
25063 (gst_xml_registry_get_perms_func),
25064 (plugin_times_older_than_recurse), (plugin_times_older_than),
25065 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25066 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25067 (add_to_char_array), (read_string), (read_uint), (read_enum),
25068 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25069 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25070 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25071 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25072 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25073 (gst_xml_registry_rebuild):
25074 * gst/registries/gstlibxmlregistry.h:
25075 * tools/gst-compprep.c: (main):
25076 * tools/gst-inspect.c: (print_pad_templates_info):
25077 * tools/gst-xmlinspect.c: (print_element_info):
25078 Use libxml2 for registry parsing, use staticpadtemplates in
25079 elementfactories. Makes gst_init() +/- 10x faster.
25081 2005-04-12 Wim Taymans <wim@fluendo.com>
25083 * gst/base/Makefile.am:
25084 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25085 (gst_basesink_pad_getcaps), (gst_basesink_init),
25086 (gst_basesink_event), (gst_basesink_change_state):
25087 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25088 (gst_basesrc_init), (gst_basesrc_query),
25089 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25090 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25091 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25092 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25093 (gst_basesrc_stop), (gst_basesrc_activate),
25094 (gst_basesrc_change_state):
25095 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25096 (helper_find_suggest), (gst_type_find_helper):
25097 * gst/base/gsttypefindhelper.h:
25098 * gst/elements/Makefile.am:
25099 * gst/elements/gstelements.c:
25100 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25101 (gst_fakesink_get_times), (gst_fakesink_event),
25102 (gst_fakesink_preroll), (gst_fakesink_render):
25103 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25104 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25105 (gst_fakesrc_get_property), (gst_fakesrc_create),
25106 (gst_fakesrc_start), (gst_fakesrc_stop):
25107 * gst/elements/gstfakesrc.h:
25108 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25109 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25110 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25111 (gst_filesrc_create_read), (gst_filesrc_create),
25112 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25113 (gst_filesrc_start):
25114 * gst/elements/gsttypefindelement.c:
25115 (gst_type_find_element_have_type), (gst_type_find_element_init),
25116 (start_typefinding), (stop_typefinding), (push_buffer_store),
25117 (gst_type_find_element_handle_event),
25118 (gst_type_find_element_chain),
25119 (gst_type_find_element_checkgetrange),
25120 (gst_type_find_element_getrange), (do_typefind),
25121 (gst_type_find_element_activate),
25122 (gst_type_find_element_change_state):
25123 * gst/elements/gsttypefindelement.h:
25124 * gst/gstpipeline.c: (pipeline_bus_handler):
25125 Added typefind helper.
25126 Small preroll fix in the base sink.
25127 Disable typefind code in basesrc.
25128 Crude port of typefindelement.
25132 2005-04-11 Wim Taymans <wim@fluendo.com>
25134 * check/gst/gstbus.c: (gstbus_suite):
25135 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25136 * check/gstcheck.h:
25137 Fix up the timeout so that the test does not fail.
25139 2005-04-06 Wim Taymans <wim@fluendo.com>
25142 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25143 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25144 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25145 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25146 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25147 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25148 (gst_basesrc_stop), (gst_basesrc_activate),
25149 (gst_basesrc_change_state), (basesrc_find_peek),
25150 (basesrc_find_suggest), (gst_basesrc_type_find):
25151 * gst/base/gstbasesrc.h:
25152 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25153 (gst_filesrc_class_init), (gst_filesrc_init),
25154 (gst_filesrc_finalize), (gst_filesrc_set_location),
25155 (gst_filesrc_set_property), (gst_filesrc_get_property),
25156 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25157 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25158 (gst_filesrc_create_read), (gst_filesrc_create),
25159 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25160 * gst/elements/gstfilesrc.h:
25161 * gst/gstelement.c: (gst_element_get_state_func),
25162 (gst_element_lost_state), (gst_element_pads_activate):
25163 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25164 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25165 (gst_pad_pull_range):
25167 More work on the generic source base class, implement seeking,
25169 Make filesrc extend the base source class.
25170 Added gst_pad_set_checkgetrange_function to GstPad.
25172 2005-04-06 Andy Wingo <wingo@pobox.com>
25174 * pkgconfig/gstreamer-base.pc.in:
25175 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25177 * pkgconfig/Makefile.am:
25178 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25180 2005-04-04 Wim Taymans <wim@fluendo.com>
25182 * gst/base/Makefile.am:
25184 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25185 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25186 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25187 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25188 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25189 (gst_basesrc_base_init), (gst_basesrc_class_init),
25190 (gst_basesrc_init), (gst_basesrc_get_formats),
25191 (gst_basesrc_get_query_types), (gst_basesrc_query),
25192 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25193 (gst_basesrc_set_property), (gst_basesrc_get_property),
25194 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25195 (gst_basesrc_loop), (gst_basesrc_activate),
25196 (gst_basesrc_change_state):
25197 * gst/base/gstbasesrc.h:
25198 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25199 (gst_fakesrc_class_init), (gst_fakesrc_init),
25200 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25201 (gst_fakesrc_get_property), (gst_fakesrc_create):
25202 * gst/elements/gstfakesrc.h:
25203 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25204 (gst_filesrc_open_file), (gst_filesrc_loop),
25205 (gst_filesrc_activate), (filesrc_find_peek),
25206 (gst_filesrc_type_find):
25207 Made base source class, make fakesrc extend it.
25208 Add comments to basesink class.
25209 Some filesrc cleanup.
25211 2005-03-31 David Schleef <ds@schleef.org>
25213 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25214 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25215 expected to link against libgstreamer.
25216 * gst/base/Makefile.am: link against libgstreamer
25217 * gst/elements/Makefile.am: same
25219 2005-03-31 Andy Wingo <wingo@pobox.com>
25221 * tests/instantiate/Makefile.am:
25222 * tests/instantiate/caps.c: Add test to test speed of caps copy
25225 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25226 GMemChunk to be fair.
25228 * gst/gsttrashstack.h: Remove warning about using the fallback
25229 trash stack implementation, it's still faster than malloc.
25231 2005-03-30 Andy Wingo <wingo@pobox.com>
25233 * tests/complexity.c: Add a copyright.
25235 2005-03-31 Wim Taymans <wim@fluendo.com>
25237 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25238 (gst_base_transform_class_init), (gst_base_transform_init),
25239 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25240 (gst_base_transform_get_property),
25241 (gst_base_transform_sink_activate),
25242 (gst_base_transform_src_activate),
25243 (gst_base_transform_change_state):
25244 * gst/base/gstbasetransform.h:
25245 * gst/elements/gstidentity.c: (gst_identity_class_init),
25246 (gst_identity_event), (gst_identity_check_perfect),
25247 (gst_identity_transform), (gst_identity_start),
25248 (gst_identity_stop):
25249 Added start/stop methods to transform base class so subclasses
25250 don't need to deal with state changes even.
25252 2005-03-31 Wim Taymans <wim@fluendo.com>
25254 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25255 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25257 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25258 (gst_pad_pull_range):
25259 Added rate to the discont event to prepare for variable speed
25260 and reverse playback.
25262 2005-03-29 David Schleef <ds@schleef.org>
25265 * testsuite/trigger/Makefile.am:
25266 * testsuite/trigger/trigger.c: A little example program to show
25267 how trigger-based elements can work.
25269 2005-03-29 Wim Taymans <wim@fluendo.com>
25271 * gst/base/Makefile.am:
25273 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25274 (gst_basesink_base_init), (gst_basesink_class_init),
25275 (gst_basesink_pad_getcaps), (gst_basesink_init),
25276 (gst_basesink_activate), (gst_basesink_change_state):
25277 * gst/base/gstbasesink.h:
25278 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25279 (gst_base_transform_base_init), (gst_base_transform_finalize),
25280 (gst_base_transform_class_init), (gst_base_transform_init),
25281 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25282 (gst_base_transform_event), (gst_base_transform_getrange),
25283 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25284 (gst_base_transform_set_property),
25285 (gst_base_transform_get_property),
25286 (gst_base_transform_sink_activate),
25287 (gst_base_transform_src_activate),
25288 (gst_base_transform_change_state):
25289 * gst/base/gstbasetransform.h:
25290 * gst/elements/gstidentity.c: (gst_identity_finalize),
25291 (gst_identity_class_init), (gst_identity_init),
25292 (gst_identity_event), (gst_identity_check_perfect),
25293 (gst_identity_transform), (gst_identity_set_property),
25294 (gst_identity_get_property), (gst_identity_change_state):
25295 * gst/elements/gstidentity.h:
25296 * gst/gstelement.c: (gst_element_get_state_func),
25297 (gst_element_lost_state), (gst_element_pads_activate):
25298 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25299 (gst_pad_check_pull_range), (gst_pad_pull_range):
25301 Simplify pad activation.
25302 Added function to check if pull_range can be performed.
25303 Error out when pulling inactive or flushing pads.
25304 Removed const from refcounted types as it does not make sense.
25305 Simplify pad templates in basesink
25306 Added base class for simple 1-to-1 transforms.
25307 Make identity subclass the base transform.
25309 2005-03-29 Andy Wingo <wingo@pobox.com>
25311 * docs/libs/gstreamer-libs-overrides.txt:
25312 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25313 really don't understand what's going on, but like whatever. I want
25316 * docs/gst/Makefile.am:
25317 * docs/libs/Makefile.am: Dist the overrides files.
25319 * check/Makefile.am (clean-local): Remove .libs directories.
25321 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25322 elements to EXTRA_DIST, so po/ files are happy.
25324 * po/POTFILES.in: Er, remove it here.
25326 * po/POTFILES: Remove gstspider.c.
25328 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25330 * docs/libs/gstreamer-libs-docs.sgml:
25331 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25334 * tests/complexity.c (main): Set the length of the preroll queue
25335 on the sinks to prevent a lockup.
25337 * libs/gst/dataprotocol/Makefile.am:
25338 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25339 the same as the one in check/gst-libs/gdp.c.
25341 * po/, docs/gst/: Commit automatic changes to docs and po files.
25343 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25344 the versioned libgstbase.
25346 * check/Makefile.am: Depend on an unversioned gst-register, seems
25347 to make autoconf happier.
25349 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25351 2005-03-28 Wim Taymans <wim@fluendo.com>
25354 * docs/design/part-gstelement.txt:
25355 * docs/design/part-negotiation.txt:
25356 * docs/design/part-preroll.txt:
25357 * docs/design/part-scheduling.txt:
25358 * docs/design/part-states.txt:
25360 * gst/base/Makefile.am:
25362 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25363 (gst_basesink_base_init), (gst_basesink_class_init),
25364 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25365 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25366 (gst_basesink_set_pad_functions),
25367 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25368 (gst_basesink_set_property), (gst_basesink_get_property),
25369 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25370 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25371 (gst_basesink_preroll_queue_push),
25372 (gst_basesink_preroll_queue_empty),
25373 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25374 (gst_basesink_event), (gst_basesink_get_times),
25375 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25376 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25377 (gst_basesink_loop), (gst_basesink_activate),
25378 (gst_basesink_change_state):
25379 * gst/base/gstbasesink.h:
25380 * gst/elements/Makefile.am:
25381 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25382 (gst_fakesink_class_init), (gst_fakesink_init),
25383 (gst_fakesink_set_property), (gst_fakesink_get_property),
25384 (gst_fakesink_get_times), (gst_fakesink_event),
25385 (gst_fakesink_preroll), (gst_fakesink_render),
25386 (gst_fakesink_change_state):
25387 * gst/elements/gstfakesink.h:
25388 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25389 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25390 * gst/gstelement.c: (gst_element_add_pad),
25391 (gst_element_get_state_func), (gst_element_abort_state),
25392 (gst_element_commit_state), (gst_element_lost_state),
25393 (gst_element_set_state), (gst_element_pads_activate):
25394 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25395 * gst/gstpipeline.c: (gst_pipeline_send_event),
25396 (gst_pipeline_change_state):
25397 Added state change code.
25398 Added/updated docs.
25399 Added sink base class, make fakesink extend the base class.
25400 Small cleanups in GstPipeline.
25402 2005-03-26 David Schleef <ds@schleef.org>
25404 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25405 is broken and should be implemented in a different library.
25406 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25407 * gst/gst.h: remove gstcpu.h
25408 * gst/gstcpu.c: remove
25409 * gst/gstcpu.h: remove
25410 * gst/Makefile.am.future: Remove this file. It's ancient.
25412 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25414 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25415 (gst_bin_send_event):
25416 Add default event/set_manager handlers. The set_manager handler
25417 takes care that the manager is distributed over kids that were
25418 already in the bin before the manager was set. The event handler
25419 is a utility virtual function that sends the event over all sinks,
25420 so that gst_element_send_event (bin, event); has the expected
25422 * gst/gstpad.c: (gst_pad_event_default):
25423 Re-install default event handling for discontinuities, so that
25424 seeking works without requiring hacks in applications or extra
25426 * gst/gstpipeline.c: (gst_pipeline_class_init),
25427 (gst_pipeline_send_event):
25428 Half hack, half utility: set a pipeline to PAUSED for seek events,
25429 since that is the only way we can guarantee a/v sync. Means that
25430 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25431 and it "just works".
25433 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25435 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25436 Lock/unlock mismatch.
25438 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25440 * docs/faq/gst-uninstalled:
25441 add gst-plugins-base
25442 * docs/gst/Makefile.am:
25443 don't error out until docs are fixed
25444 * docs/gst/gstreamer.types:
25447 2005-03-22 Wim Taymans <wim@fluendo.com>
25449 * check/Makefile.am:
25450 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25451 * gst/gststructure.c: (gst_structure_set_valist),
25452 (gst_structure_copy_conditional):
25453 Activated more tests.
25454 Added message test.
25455 Added G_TYPE_POINTER to GstStructure.
25458 2005-03-22 Wim Taymans <wim@fluendo.com>
25460 * docs/design/part-TODO.txt:
25461 * docs/design/part-events.txt:
25462 * docs/design/part-gstbin.txt:
25463 * docs/design/part-gstbus.txt:
25464 * docs/design/part-gstpipeline.txt:
25465 * docs/design/part-messages.txt:
25467 * gst/gstmessage.c:
25470 2005-03-21 Wim Taymans <wim@fluendo.com>
25472 * gst/gstbus.c: (gst_bus_post):
25473 Fix copy-and-paste error.
25475 2005-03-21 Wim Taymans <wim@fluendo.com>
25477 * check/Makefile.am:
25479 * gst/elements/Makefile.am:
25480 * gst/elements/gstelements.c:
25481 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25482 (gst_fakesink_event), (gst_fakesink_chain):
25483 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25484 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25485 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25486 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25487 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25488 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25489 (gst_fakesrc_loop), (gst_fakesrc_activate),
25490 (gst_fakesrc_change_state):
25491 * gst/elements/gstfakesrc.h:
25492 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25493 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25494 (gst_filesrc_open_file), (gst_filesrc_loop),
25495 (gst_filesrc_activate), (gst_filesrc_change_state),
25496 (filesrc_find_peek), (filesrc_find_suggest),
25497 (gst_filesrc_type_find):
25498 * gst/elements/gstidentity.c: (gst_identity_finalize),
25499 (gst_identity_class_init), (gst_identity_init),
25500 (gst_identity_proxy_getcaps), (identity_queue_push),
25501 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25502 (gst_identity_getrange), (gst_identity_chain),
25503 (gst_identity_sink_loop), (gst_identity_src_loop),
25504 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25505 (gst_identity_set_property), (gst_identity_get_property),
25506 (gst_identity_change_state):
25507 * gst/elements/gstidentity.h:
25508 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25509 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25510 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25511 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25512 (gst_tee_sink_activate):
25513 * gst/elements/gsttee.h:
25514 * gst/gst.c: (gst_register_core_elements), (init_post):
25516 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25517 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25518 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25519 (gst_bin_change_state):
25521 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25522 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25523 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25524 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25525 (gst_bus_set_sync_handler), (gst_bus_create_watch),
25526 (bus_watch_callback), (bus_watch_destroy),
25527 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25528 (poll_timeout), (gst_bus_poll):
25532 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25533 (gst_element_post_message), (gst_element_message_full),
25534 (gst_element_get_state_func), (gst_element_get_state),
25535 (gst_element_abort_state), (gst_element_commit_state),
25536 (gst_element_lost_state), (gst_element_set_state),
25537 (gst_element_pads_activate), (gst_element_change_state),
25538 (gst_element_dispose), (gst_element_set_manager_func),
25539 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25540 (gst_element_set_manager), (gst_element_get_manager),
25541 (gst_element_set_bus), (gst_element_get_bus),
25542 (gst_element_set_scheduler), (gst_element_get_scheduler):
25543 * gst/gstelement.h:
25544 * gst/gstevent.c: (gst_event_new_segment_seek),
25545 (gst_event_new_flush):
25547 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25548 (_gst_message_free), (gst_message_get_type), (gst_message_new),
25549 (gst_message_new_eos), (gst_message_new_error),
25550 (gst_message_new_warning), (gst_message_new_tag),
25551 (gst_message_new_state_changed), (gst_message_new_application),
25552 (gst_message_get_structure), (gst_message_parse_tag),
25553 (gst_message_parse_state_changed), (gst_message_parse_error),
25554 (gst_message_parse_warning):
25555 * gst/gstmessage.h:
25556 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25557 (gst_real_pad_set_property), (gst_pad_set_active),
25558 (gst_pad_is_active), (gst_pad_set_blocked_async),
25559 (gst_pad_set_blocked), (gst_pad_is_blocked),
25560 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25561 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25562 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25563 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25564 (gst_pad_link_filtered), (gst_pad_relink_filtered),
25565 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25566 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25567 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25568 (gst_pad_set_caps), (gst_pad_configure_sink),
25569 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25570 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25571 (gst_real_pad_dispose), (gst_real_pad_finalize),
25572 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25573 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25574 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25576 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25577 (pipeline_bus_handler), (gst_pipeline_change_state),
25578 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25579 * gst/gstpipeline.h:
25581 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25582 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25583 (gst_queue_link_src), (gst_queue_bufferalloc),
25584 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25585 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25586 (gst_queue_loop), (gst_queue_handle_src_event),
25587 (gst_queue_handle_src_query), (gst_queue_src_activate),
25588 (gst_queue_change_state):
25590 * gst/gstscheduler.c: (gst_scheduler_init),
25591 (gst_scheduler_dispose), (gst_scheduler_create_task),
25592 (gst_scheduler_factory_create):
25593 * gst/gstscheduler.h:
25594 * gst/gststructure.c: (gst_structure_get_type),
25595 (gst_structure_copy_conditional):
25596 * gst/gststructure.h:
25597 * gst/gsttaginterface.h:
25598 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25599 (gst_task_init), (gst_task_dispose), (gst_task_create),
25600 (gst_task_get_state), (gst_task_start), (gst_task_stop),
25606 * gst/schedulers/Makefile.am:
25607 * gst/schedulers/cothreads_compat.h:
25608 * gst/schedulers/entryscheduler.c:
25609 * gst/schedulers/faircothreads.c:
25610 * gst/schedulers/faircothreads.h:
25611 * gst/schedulers/fairscheduler.c:
25612 * gst/schedulers/gstbasicscheduler.c:
25613 * gst/schedulers/gstoptimalscheduler.c:
25614 * gst/schedulers/gthread-cothreads.h:
25615 * gst/schedulers/threadscheduler.c:
25616 (gst_thread_scheduler_task_get_type),
25617 (gst_thread_scheduler_task_class_init),
25618 (gst_thread_scheduler_task_init),
25619 (gst_thread_scheduler_task_start),
25620 (gst_thread_scheduler_task_stop),
25621 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25622 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25623 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25624 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25626 * libs/gst/Makefile.am:
25627 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25628 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25629 (gst_file_pad_parent_set):
25630 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25631 (gst_dp_event_from_packet):
25632 * tests/complexity.c: (main):
25633 * tests/mass_elements.c: (main):
25634 * testsuite/states/locked.c: (message_received), (main):
25635 * testsuite/states/parent.c: (main):
25636 * tools/gst-inspect.c: (print_element_flag_info),
25637 (print_implementation_info), (print_pad_info):
25638 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25640 * tools/gst-md5sum.c: (event_loop), (main):
25641 * tools/gst-typefind.c: (main):
25642 * tools/gst-xmlinspect.c: (print_element_info):
25644 Added GstBus for mainloop integration.
25645 Added GstMessage for sending notifications on the bus.
25646 Added GstTask as an abstraction for pipeline entry points.
25648 Removed Schedulers.
25649 Simplified GstQueue for multithreaded core.
25650 Made _link threadsafe, removed old capsnego.
25651 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25652 Added pad blocking functions.
25653 Reworked scheduling functions in GstPad to prepare for
25654 scheduling updates soon.
25655 Moved events out of data stream.
25656 Simplified GstEvent types.
25657 Added return values to push/pull.
25658 Removed clocking from GstElement.
25659 Added prototypes for state change function for next merge.
25660 Removed iterate from bins and state change management.
25661 Fixed some elements, disabled others for now.
25662 Fixed -inspect and -launch.
25663 Added check for GstBus.
25665 2005-03-10 Wim Taymans <wim@fluendo.com>
25667 * docs/design/part-MT-refcounting.txt:
25668 * docs/design/part-clocks.txt:
25669 * docs/design/part-gstelement.txt:
25670 * docs/design/part-gstobject.txt:
25671 * docs/design/part-standards.txt:
25672 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25673 (gst_bin_remove_func), (gst_bin_remove):
25677 * testsuite/clock/clock1.c: (main):
25678 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25680 * testsuite/dlopen/loadgst.c: (do_test):
25681 * testsuite/refcounting/bin.c: (add_remove_test1),
25682 (add_remove_test2), (main):
25683 * testsuite/refcounting/element.c: (main):
25684 * testsuite/refcounting/element_pad.c: (main):
25685 * testsuite/refcounting/pad.c: (main):
25686 * tools/gst-launch.c: (sigint_handler_sighandler):
25687 * tools/gst-typefind.c: (main):
25689 Added doc about clock.
25690 removed gst_bin_iterate_recurse_up(), marked methods
25692 Fix more testsuites.
25694 2005-03-09 Wim Taymans <wim@fluendo.com>
25696 * gst/gstpad.c: (gst_pad_get_direction),
25697 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25698 (gst_pad_collect_valist):
25699 * testsuite/bins/interface.c: (main):
25700 * testsuite/caps/audioscale.c: (test_caps):
25701 * testsuite/caps/caps.c: (test1), (test2), (test3):
25702 * testsuite/caps/deserialize.c: (main):
25703 * testsuite/caps/enumcaps.c: (main):
25704 * testsuite/caps/filtercaps.c: (main):
25705 * testsuite/caps/intersect2.c: (main):
25706 * testsuite/caps/random.c: (main):
25707 * testsuite/caps/renegotiate.c: (my_fixate), (main):
25708 * testsuite/caps/sets.c: (check_caps):
25709 * testsuite/caps/simplify.c: (check_caps), (main):
25710 * testsuite/caps/subtract.c: (check_caps):
25711 Fix _pad_get_direction wrt ghostpads.
25712 Fix caps testsuite.
25714 2005-03-09 Wim Taymans <wim@fluendo.com>
25716 * check/Makefile.am:
25717 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25718 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25719 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25720 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25721 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25722 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25723 (gst_bin_remove), (gst_bin_iterate_recurse_up),
25724 (bin_element_is_sink), (gst_bin_iterate_sinks),
25725 (gst_bin_iterate_all_by_interface):
25727 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25728 (gst_element_change_state), (gst_element_dispose),
25729 (gst_element_finalize), (gst_element_set_loop_function):
25730 * gst/gstelement.h:
25731 * gst/gstiterator.c: (find_custom_fold_func):
25732 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25733 (gst_pad_collectv), (gst_pad_collect_valist),
25734 (gst_pad_template_new):
25735 * gst/gstpipeline.c: (gst_pipeline_class_init),
25736 (gst_pipeline_dispose), (gst_pipeline_set_property),
25737 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25738 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25739 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25741 * gst/schedulers/entryscheduler.c:
25742 * gst/schedulers/gstbasicscheduler.c:
25743 (gst_basic_scheduler_cothreaded_chain),
25744 (gst_basic_scheduler_chain_add_element):
25745 * testsuite/bins/interface.c: (main):
25747 Added GstSystemClock test.
25748 Implemented clock distribution code in GstBin.
25749 Implemented iterate sinks method for future use.
25750 Rearranged gstelement.h
25751 Fix GstIterator comparison bug.
25752 Moved some code to GstPipeline, mostly clocking related.
25754 2005-03-09 Wim Taymans <wim@fluendo.com>
25757 * gst/gst_private.h:
25758 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25759 (gst_bin_remove_func), (gst_bin_remove),
25760 (gst_bin_get_by_name_recurse_up):
25761 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25762 (gst_clock_id_compare_func), (gst_clock_id_wait),
25763 (gst_clock_id_wait_async), (gst_clock_init),
25764 (gst_clock_adjust_unlocked), (gst_clock_get_time):
25765 * gst/gstelement.h:
25766 * gst/gstinfo.c: (_gst_debug_init):
25768 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25769 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25771 Bump version number, we're now 0.9.0
25772 Add future debugging category.
25773 Fix NULL _unref() in _get_by_name_recurse_up
25774 Rearrange gstpad.h.
25777 2005-03-08 Wim Taymans <wim@fluendo.com>
25779 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25780 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25781 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25782 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25783 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25784 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25785 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25786 * gst/elements/gstidentity.c: (gst_identity_class_init):
25787 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25788 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25789 * gst/elements/gstshaper.c: (gst_shaper_class_init):
25790 * gst/elements/gststatistics.c: (gst_statistics_class_init):
25791 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25793 * gst/gstelement.c: (gst_element_class_init),
25794 (gst_element_base_class_init), (gst_element_init),
25795 (gst_element_get_random_pad), (gst_element_wait_state_change),
25796 (gst_element_change_state), (gst_element_dispose),
25797 (gst_element_finalize), (gst_element_set_loop_function):
25798 * gst/gstelement.h:
25799 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25800 * gst/gstthread.c: (gst_thread_class_init),
25801 (gst_thread_release_children_locks), (gst_thread_change_state):
25802 * gst/schedulers/gstbasicscheduler.c:
25803 (gst_basic_scheduler_loopfunc_wrapper),
25804 (gst_basic_scheduler_chain_wrapper),
25805 (gst_basic_scheduler_src_wrapper),
25806 (gst_basic_scheduler_remove_element):
25807 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25808 Remove threadsafe properties. Fix elements because GObject
25809 complains when installing a property before declaring a
25810 set/get_property handler.
25811 Rearrange gstelement.h file, use STATE macros for state locks.
25812 Free mutexes in the finalize method instead of dispose.
25814 2005-03-08 Wim Taymans <wim@fluendo.com>
25816 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25817 * gst/gstthread.c: (gst_thread_release_children_locks):
25818 Added parentage check.
25819 Fix build og GstThread again.
25821 2005-03-08 Wim Taymans <wim@fluendo.com>
25823 * docs/design/part-MT-refcounting.txt:
25824 * docs/design/part-conventions.txt:
25825 * docs/design/part-gstobject.txt:
25826 * docs/design/part-relations.txt:
25827 * docs/design/part-standards.txt:
25828 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25829 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25830 (gst_bin_get_by_name), (gst_bin_get_by_interface),
25831 (gst_bin_iterate_all_by_interface):
25834 * gst/gstelement.c: (gst_element_class_init),
25835 (gst_element_change_state), (gst_element_set_loop_function):
25836 * gst/gstelement.h:
25837 * gst/gstiterator.c:
25838 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25839 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25840 (gst_object_dispatch_properties_changed), (gst_object_set_name),
25841 (gst_object_set_parent), (gst_object_unparent),
25842 (gst_object_check_uniqueness):
25844 Docs updates, clean up some headers.
25846 2005-03-07 Wim Taymans <wim@fluendo.com>
25848 * check/.cvsignore:
25849 * check/Makefile.am:
25850 * check/gst-libs/.cvsignore:
25851 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25852 * check/gst/.cvsignore:
25853 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25854 (START_TEST), (gstbus_suite), (main):
25855 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25856 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25857 (gst_data_suite), (main):
25858 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25859 (add_fold_func), (gstiterator_suite), (main):
25860 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25861 (thread_name_object), (thread_name_object_default),
25862 (gst_object_name_compare), (gst_object_suite), (main):
25863 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25864 (gst_pad_suite), (main):
25865 * check/gstcheck.c: (gst_check_log_message_func),
25866 (gst_check_log_critical_func), (gst_check_init):
25867 * check/gstcheck.h:
25868 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25869 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25872 2005-03-07 Wim Taymans <wim@fluendo.com>
25874 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25875 (gst_list_iterator_next), (gst_list_iterator_resync),
25876 (gst_list_iterator_free), (gst_iterator_new_list),
25877 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25878 (gst_iterator_free), (gst_iterator_push), (filter_next),
25879 (filter_resync), (filter_uninit), (filter_free),
25880 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25881 (gst_iterator_foreach), (find_custom_fold_func),
25882 (gst_iterator_find_custom):
25883 * gst/gstiterator.h:
25884 Added missing files.
25886 2005-03-07 Wim Taymans <wim@fluendo.com>
25890 * docs/design/part-MT-refcounting.txt:
25891 * docs/design/part-conventions.txt:
25892 * docs/design/part-gstobject.txt:
25893 * docs/design/part-relations.txt:
25894 * examples/mixer/mixer.c: (main):
25895 * examples/thread/thread.c: (eos), (main):
25897 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
25898 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
25899 (gst_spider_plug_from_srcpad):
25900 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
25901 (gst_spider_identity_change_state),
25902 (gst_spider_identity_sink_loop_type_finding):
25903 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
25904 * gst/elements/gstidentity.c: (gst_identity_init):
25905 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
25906 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
25907 * gst/elements/gsttypefindelement.c: (free_entry):
25910 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
25911 (gst_bin_set_clock_func), (gst_bin_auto_clock),
25912 (gst_bin_set_index), (gst_bin_set_element_sched),
25913 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
25914 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
25915 (gst_bin_iterate_elements), (iterate_child_recurse),
25916 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
25917 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
25918 (compare_interface), (gst_bin_get_by_interface),
25919 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
25921 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
25922 (gst_buffer_default_free), (gst_buffer_default_copy),
25923 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
25924 (gst_buffer_create_sub):
25926 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
25927 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
25928 (gst_caps_unref), (gst_static_caps_get),
25929 (gst_caps_remove_and_get_structure), (gst_caps_append),
25930 (gst_caps_append_structure), (gst_caps_remove_structure),
25931 (gst_caps_copy_nth), (gst_caps_set_simple),
25932 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
25933 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
25934 (gst_caps_structure_intersect_field), (gst_caps_intersect),
25935 (gst_caps_structure_subtract_field), (gst_caps_subtract),
25936 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
25937 (gst_caps_structure_figure_out_union),
25938 (gst_caps_switch_structures), (gst_caps_do_simplify),
25939 (gst_caps_replace), (gst_caps_from_string),
25940 (gst_caps_copy_conditional):
25942 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
25943 (_gst_clock_id_free), (gst_clock_id_unref),
25944 (gst_clock_id_compare_func), (gst_clock_id_wait),
25945 (gst_clock_id_wait_async), (gst_clock_class_init),
25946 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
25947 (gst_clock_get_time), (gst_clock_set_time_adjust),
25948 (gst_clock_set_property), (gst_clock_get_property):
25951 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
25952 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
25954 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25955 (gst_element_requires_clock), (gst_element_provides_clock),
25956 (gst_element_set_clock), (gst_element_clock_wait),
25957 (gst_element_wait), (gst_element_set_time_delay),
25958 (gst_element_is_indexable), (gst_element_add_pad),
25959 (gst_element_add_ghost_pad), (gst_element_remove_pad),
25960 (pad_compare_name), (gst_element_get_static_pad),
25961 (gst_element_request_pad), (gst_element_get_request_pad),
25962 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
25963 (gst_element_class_get_pad_template_list),
25964 (gst_element_class_get_pad_template), (gst_element_error_func),
25965 (gst_element_get_random_pad), (gst_element_get_event_masks),
25966 (gst_element_send_event), (gst_element_seek),
25967 (gst_element_get_query_types), (gst_element_query),
25968 (gst_element_get_formats), (gst_element_convert),
25969 (gst_element_is_locked_state), (gst_element_set_locked_state),
25970 (gst_element_sync_state_with_parent), (gst_element_change_state),
25971 (gst_element_finalize), (gst_element_yield),
25972 (gst_element_interrupt), (gst_element_set_scheduler),
25973 (gst_element_get_scheduler), (gst_element_set_loop_function):
25974 * gst/gstelement.h:
25976 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
25977 (gst_format_get_by_nick), (gst_format_get_details),
25978 (gst_format_iterate_definitions):
25980 * gst/gstindex.c: (gst_index_gtype_resolver):
25983 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
25984 (gst_mem_chunk_free):
25985 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
25986 (gst_object_ref), (gst_object_unref), (gst_object_sink),
25987 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
25988 (gst_object_dispatch_properties_changed),
25989 (gst_object_set_name_default), (gst_object_set_name),
25990 (gst_object_get_name), (gst_object_set_name_prefix),
25991 (gst_object_get_name_prefix), (gst_object_set_parent),
25992 (gst_object_get_parent), (gst_object_unparent),
25993 (gst_object_check_uniqueness), (gst_object_save_thyself),
25994 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
25995 (gst_object_set_property), (gst_object_get_property),
25996 (gst_object_get_path_string):
25998 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25999 (gst_real_pad_init), (gst_real_pad_get_property),
26000 (gst_pad_custom_new), (gst_pad_get_direction),
26001 (gst_pad_set_active), (gst_pad_is_active),
26002 (gst_pad_set_event_function), (gst_pad_is_linked),
26003 (gst_pad_link_free), (gst_pad_link_intersect),
26004 (gst_pad_link_fixate), (gst_pad_set_caps),
26005 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26006 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26007 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26008 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26009 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26010 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26011 (gst_pad_realize), (gst_pad_get_allowed_caps),
26012 (gst_real_pad_dispose), (gst_real_pad_finalize),
26013 (gst_pad_collectv), (gst_pad_collect_valist),
26014 (gst_pad_template_dispose), (gst_pad_template_new),
26015 (gst_pad_get_internal_links):
26017 * gst/gstpipeline.c: (gst_pipeline_dispose),
26018 (gst_pipeline_change_state):
26019 * gst/gstpipeline.h:
26021 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26022 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26023 * gst/gstpluginfeature.h:
26024 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26025 * gst/gstquery.c: (_gst_query_type_initialize),
26026 (gst_query_type_register), (gst_query_type_get_by_nick),
26027 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26029 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26030 * gst/gstscheduler.c: (gst_scheduler_add_element),
26031 (gst_scheduler_factory_create):
26032 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26033 (gst_structure_free), (gst_structure_set_name),
26034 (gst_structure_id_set_value), (gst_structure_set_value),
26035 (gst_structure_set_valist), (gst_structure_remove_field),
26036 (gst_structure_remove_fields),
26037 (gst_structure_remove_fields_valist),
26038 (gst_structure_remove_all_fields), (gst_structure_foreach),
26039 (gst_structure_map_in_place),
26040 (gst_caps_structure_fixate_field_nearest_int),
26041 (gst_caps_structure_fixate_field_nearest_double):
26042 * gst/gststructure.h:
26043 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26044 (gst_system_clock_init), (gst_system_clock_dispose),
26045 (gst_system_clock_async_thread),
26046 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26047 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26048 * gst/gstsystemclock.h:
26049 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26050 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26051 * gst/gsttaginterface.c:
26052 * gst/gstthread.c: (gst_thread_dispose),
26053 (gst_thread_release_children_locks), (gst_thread_change_state),
26054 (gst_thread_main_loop):
26055 * gst/gsttrashstack.h:
26056 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26058 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26059 (gst_element_request_pad), (gst_element_get_pad_from_template),
26060 (gst_element_request_compatible_pad),
26061 (gst_element_get_compatible_pad_filtered),
26062 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26063 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26064 (gst_element_link_many), (gst_element_link),
26065 (gst_element_link_pads), (gst_element_unlink_pads),
26066 (gst_element_unlink_many), (gst_element_unlink),
26067 (gst_pad_can_link_filtered), (gst_pad_can_link),
26068 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26069 (gst_object_default_error), (gst_bin_add_many),
26070 (gst_bin_remove_many), (gst_element_populate_std_props),
26071 (gst_element_class_install_std_props), (gst_buffer_merge),
26072 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26073 (link_fold_func), (gst_pad_proxy_setcaps):
26075 * gst/gstvalue.c: (gst_value_deserialize_string):
26076 * gst/parse/grammar.y:
26077 * gst/schedulers/gstbasicscheduler.c:
26078 (gst_basic_scheduler_cothreaded_chain),
26079 (gst_basic_scheduler_chain_recursive_add),
26080 (gst_basic_scheduler_pad_link):
26081 * gst/schedulers/gstoptimalscheduler.c:
26082 (get_group_schedule_function),
26083 (gst_opt_scheduler_state_transition),
26084 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26085 * libs/gst/bytestream/bytestream.c:
26086 * libs/gst/dataprotocol/dataprotocol.c:
26087 (gst_dp_header_from_buffer):
26090 * tests/threadstate/threadstate2.c: (eos):
26091 * tools/gst-compprep.c: (main):
26092 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26093 (print_pad_info), (print_children_info):
26094 * tools/gst-launch.c: (idle_func), (main):
26095 * tools/gst-md5sum.c: (idle_func), (main):
26096 * tools/gst-xmlinspect.c: (print_element_info):
26097 First THREADED backport attempt, focusing on adding locks and
26098 making sure the API is threadsafe. Needs more work. More docs
26101 2005-02-24 Andy Wingo <wingo@pobox.com>
26103 * tests/bench-complexity.scm:
26104 * tests/complexity.gnuplot: New files, good for running complexity
26107 * tests/Makefile.am:
26108 * tests/complexity.c: New test, sets up N elements, at each level
26109 teeing into M streams per element. Eeeenteresting.
26111 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26112 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26113 running bench-mass_elements.scm.
26115 * tests/bench-mass_elements.scm: New script, runs mass_elements
26116 for various numbers of identities, outputting the results to a
26117 file. Requires guile 1.6. Just for testing.
26119 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26121 * gst/schedulers/fairscheduler.c:
26122 compile with debug disabled
26124 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26127 hunting season on 0.9 is now OPEN