1 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
3 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
4 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
5 being fixed and inline the trivial check.
7 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
9 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
10 (gst_caps_merge_structure), (gst_caps_get_structure),
11 (gst_caps_copy_nth), (gst_caps_set_simple),
12 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
13 (gst_caps_is_equal_fixed), (gst_caps_intersect),
14 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
16 Callgrind micro optimisations.
17 Avoid array bounds checks and force inline of trivial function.
19 * gst/gstobject.c: (gst_object_set_name_default):
20 -1 is equivalent to letting glib to the strlen but then there is more
21 room for optimisations and it's not our fault.
23 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
24 no need to clear the array, we're cool.
26 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
27 The most common _is_fixed() check is done on fundamental glib base
28 types so we check this first instead of doing a huge amount of
29 useless GST_TYPE_ARRAY calls.
31 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
34 Add a SKIP seek flag for use with advanced trickmodes.
35 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
37 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
39 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
40 No need to memset, we can clear the value ourselves.
42 * gst/gstvalue.c: (gst_type_is_fixed),
43 (gst_value_get_compare_func):
44 Some optimisations from a few callgrind sessions:
45 When checking if a type is fixed, check for trivial fundamental types
46 first before checking types for which we need to get the type followed
47 by the heavy duty type checks, this reduces the amount of
48 g_type_fundamental() calls a lot.
49 When getting the compare function, first check for our registered types.
50 If that fails, do the heavy duty g_type_is_a() checks, reduces the
51 amount of g_type_is_a() considerably.
53 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
55 * docs/design/part-TODO.txt:
56 Mumble something about removing GstXML.
58 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
60 * gst/gstbin.c: (gst_bin_handle_message_func):
61 Get the seqnum before we dispose the message.
63 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
65 * docs/design/part-TODO.txt:
66 Refer to the framestepping document.
68 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
70 * gst/gstbin.c: (bin_handle_async_start),
71 (gst_bin_handle_message_func), (gst_bin_query):
72 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
73 (gst_base_sink_event), (gst_base_sink_change_state):
74 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
75 (gst_base_src_loop), (gst_base_src_change_state):
76 Copy seqnums from events to messages so that they can all be related
79 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
81 * tools/gst-launch.c: (event_loop):
82 Print the message seqnums.
84 2008-11-04 Andy Wingo <wingo@pobox.com>
86 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
88 2008-11-04 Andy Wingo <wingo@pobox.com>
90 Add sequence numbers to events and messages. See #559250.
92 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
96 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
97 events with a new sequence number, and copy it when copying.
98 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
99 an event's sequence number.
102 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
103 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
106 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
108 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
110 * docs/manual/advanced-position.xml:
111 * docs/manual/basics-bins.xml:
112 * docs/manual/basics-bus.xml:
113 * docs/manual/basics-pads.xml:
114 * docs/manual/intro-gstreamer.xml:
115 * docs/manual/intro-preface.xml:
116 Some Application Development Manual fixes thanks to
117 Andrew Feren. Fixes #558459.
119 2008-11-03 Stefan Kost <ensonic@users.sf.net>
121 * gst/gstregistrybinary.c:
122 Don't bother with the GTimer if we don't output the results.
124 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
126 Patch by: David Schleef <ds@schleef.org>
128 * libs/gst/net/Makefile.am:
129 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
131 2008-10-31 Stefan Kost <ensonic@users.sf.net>
133 * gst/gstregistrybinary.c:
134 Oh my, studip, stupid me. Remove double stat() call.
136 2008-10-31 Stefan Kost <ensonic@users.sf.net>
139 Use g_unlink instead of unlink.
141 * gst/gststructure.c:
150 Formatting & whitespaces.
152 2008-10-31 Stefan Kost <ensonic@users.sf.net>
154 * plugins/elements/gstidentity.c:
155 Doc typo. Use return value of parent_class->event.
157 * plugins/elements/gsttypefindelement.c:
158 Chain up at the end for consistency.
160 2008-10-30 Stefan Kost <ensonic@users.sf.net>
163 * docs/gst/gstreamer-docs.sgml:
164 * docs/gst/gstreamer-sections.txt:
165 * docs/gst/running.xml:
166 * docs/libs/gstreamer-libs-docs.sgml:
167 Change to xinclude based build - its faster and easier to maintain.
169 2008-10-30 Stefan Kost <ensonic@users.sf.net>
171 * gst/gstregistrybinary.c:
172 * gst/gstregistryxml.c:
173 Use g_unlink() as none of these are directories.
175 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
177 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
180 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
182 * libs/gst/base/gstbasetransform.c:
183 (gst_base_transform_find_transform), (gst_base_transform_getrange):
184 If we have a fixate function, call it even if we already have fixed caps
185 because the subclass might add some caps. Makes audioconvert add a
186 default channel layout.
188 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
190 * libs/gst/base/gstbasetransform.c:
191 (gst_base_transform_prepare_output_buffer),
192 (gst_base_transform_getrange):
193 Clear the output buffer variable.
194 Cleanups to the error path in the getrange function.
197 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
199 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
200 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
201 Use gst_buffer_try_new_and_alloc() and handle errors instead of
202 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
205 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
207 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
208 Set the last_stop to a more meaningful position when configuring the
209 segment. ie. the start/stop of the segment or clipped against the
210 updated segment boundaries.
212 * tests/check/gst/gstsegment.c: (GST_START_TEST):
213 Add some unit tests for the last_stop.
215 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
217 * libs/gst/base/gstbytereader.c:
218 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
221 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
223 * docs/gst/gstreamer-sections.txt:
225 API: Move float endianness conversion macros from libgstfloatcast
226 to core as it's useful in general, even in core. Fixes bug #555196.
227 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
228 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
229 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
231 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
232 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
233 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
234 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
236 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
238 * docs/libs/gstreamer-libs-sections.txt:
239 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
240 (gst_byte_reader_peek_data):
241 * libs/gst/base/gstbytereader.h:
242 * win32/common/libgstbase.def:
243 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
244 to get a pointer to the data at the current position and have
247 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
250 Fix a bug in the output of the configure script summary
251 when --gst-disable-registry is supplied
253 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
255 * libs/gst/base/gstbitreader.c:
256 * libs/gst/base/gstbytereader.c:
257 Fix the names of 2 functions in the docs strings.
259 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
261 * libs/gst/base/gstbasetransform.c:
262 (gst_base_transform_prepare_output_buffer),
263 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
264 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
265 refcount problems as seen in banshee and maybe also in farsight2.
266 Remove atomic int now that we need to take the lock anyways.
268 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
270 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
271 (gst_base_sink_default_prepare_seek_segment),
272 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
273 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
274 (gst_base_sink_query):
275 Implement more seeking in pull mode.
276 Use pad convert functions to convert position to the requested format.
277 Fix position/duration reporting in pull mode.
278 Implement position and duration reporting in other formats than time.
280 * libs/gst/base/gstbasesink.h:
281 Add member to keep track of when the segment is playing.
283 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
285 * gst/gstpad.c: (gst_pad_configure_src):
286 When we use gst_pad_alloc_buffer() without wanting to set the caps we
287 also don't need to check if the caps are compatible because the caller
288 presumably is going to perform its own custom checks. Fixes some cases
289 where basetransform elements would error out when it was not needed.
291 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
293 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
296 * libs/gst/base/gstbasetransform.c:
297 (gst_base_transform_handle_buffer),
298 (gst_base_transform_reconfigure):
301 * win32/common/libgstbase.def:
304 2008-10-19 Stefan Kost <ensonic@users.sf.net>
306 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
307 Remove duplicated assignment and log a message in failure case.
309 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
311 Patch by: Dig Ge <dig.ge.cn at gmail com>
313 * tests/examples/helloworld/helloworld.c: (main):
314 Fix copy'n'paste bug in hello world example (#556900).
316 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
318 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
319 (gst_base_sink_query):
320 Query the total number of bytes when activating the pad in pull mode.
321 Implement duration query in pull mode by using the installed pad convert
322 function to convert from bytes to the requested format.
324 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
326 * docs/libs/gstreamer-libs-sections.txt:
327 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
328 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
329 (gst_base_sink_event), (gst_base_sink_perform_seek),
330 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
331 (gst_base_sink_send_event), (gst_base_sink_change_state):
332 * libs/gst/base/gstbasesink.h:
333 Add method to commit the state in subclasses.
334 Refactor the flush_start and flush_stop code because we need it for
335 flushing while seeking too.
336 Implement the beginnings of seeking in pull mode.
337 Use the segment last_stop field for the pulling offset.
338 Fix the pause method in pull mode.
339 Configure the segment to BYTES for pull mode.
340 API: GstBaseSink::gst_base_sink_do_preroll()
342 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
344 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
347 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
349 * gst/gstquark.c: (_priv_gst_quarks_initialize):
350 Fix printf format warning.
352 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
354 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
355 Fix flow aggregation of tee. Error out immediately for all flow returns
356 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
357 and return OK if at least one pad is linked.
359 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
360 and otherwise returned the flow return of the last pad, which is wrong.
362 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
363 (GST_START_TEST), (tee_suite):
364 Add unit tests for the flow aggregation.
366 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
368 * docs/design/part-TODO.txt:
369 Remove item from the todo list because it was fixed with the latency
370 state change rewrites.
372 * docs/design/part-seeking.txt:
373 * docs/design/part-segments.txt:
376 * gst/gstevent.c: (gst_event_new_new_segment_full),
377 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
378 (gst_event_parse_buffer_size), (gst_event_new_qos),
379 (gst_event_parse_qos), (gst_event_new_seek),
380 (gst_event_parse_seek), (gst_event_new_latency),
381 (gst_event_parse_latency):
382 Use quarks to construct and parse events.
384 * gst/gstquark.c: (_priv_gst_quarks_initialize):
386 Add some more quarks to the table.
387 Emit a warning when the quark tables are not in sync.
389 * tests/check/gst/gstbus.c: (GST_START_TEST):
392 2008-10-13 Stefan Kost <ensonic@users.sf.net>
394 * plugins/elements/Makefile.am:
395 * plugins/indexers/Makefile.am:
396 Don't install static libs for plugins. Fixes #550851 for core.
398 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
400 * gst/gstbus.c: (gst_bus_source_finalize),
401 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
402 (gst_bus_enable_sync_message_emission),
403 (gst_bus_disable_sync_message_emission),
404 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
405 Fix deadlock, g_source_get_id() cannot be called in finalize.
406 Keep track of the watch source by keeping a pointer to the source object
408 Use the bus lock to protect access to the pointer to the current
411 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
413 Base on Patch by: Olivier Crete <tester at tester dot ca>
415 * gst/gstbus.c: (gst_bus_source_finalize),
416 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
417 Only allow one bus watch to be set at a time. This is necessary
418 because the dispatcher pops the message from the bus and the second
419 watcher will then get NULL or the next message (and the first won't
420 get this next message then, etc). If more than one "watcher" is
421 required signal watches should be used. Fixes bug #526044.
423 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
425 * tools/gst-launch.c:
426 Change the printing of the 'buffering...' output to avoid putting
427 a \r in a translateable string (flagged by the TP).
429 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
432 Clarify that the save_thyself() and restore_thyself() virtual
433 functions of GstObject need to be overriden, not
434 gst_object_(save|restore)_thyself() which is impossible.
437 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
439 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
440 Revert a patch from 21 months ago that broke caps negotiation in pull
441 mode. Basically, having a buffer pass over a pad will trigger the
442 setcaps function when caps change, just like in push mode.
444 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
446 * docs/design/part-negotiation.txt:
447 Update the docs some more.
449 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
450 If we pull a buffer with non-trivial caps, suggest those caps with the
453 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
455 * docs/design/part-TODO.txt:
456 Add another limitation of pad-blocking with segment seeks not pushing
459 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
461 * win32/common/libgstbase.def:
462 * win32/common/libgstreamer.def:
463 Add new symbols to the win32 defs files
465 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
467 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
468 (gst_bin_handle_message_func):
469 The message src can be NULL, don't try to print the object names in that
472 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
473 Add some more debug info.
475 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
478 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
481 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
483 * docs/design/part-negotiation.txt:
486 * docs/libs/gstreamer-libs-sections.txt:
487 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
488 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
489 (gst_base_sink_init), (gst_base_sink_set_blocksize),
490 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
491 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
492 (gst_base_sink_loop), (gst_base_sink_pad_activate),
493 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
494 (gst_base_sink_change_state):
495 * libs/gst/base/gstbasesink.h:
496 Add blocksize property and methods to control the amount of data
498 Negotiate first before activating upstream in pull mode so that they can
499 negotiate themselves.
500 When we operate in pull mode, we only accept the caps that we
502 Make the sink go ASYNC to PAUSED, like all other sinks.
503 API: GstBaseSink::gst_base_sink_set_blocksize()
504 API: GstBaseSink::gst_base_sink_get_blocksize()
505 API: GstBaseSink::blocksize
507 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
508 (gst_base_src_set_live), (gst_base_src_is_live),
509 (gst_base_src_set_format), (gst_base_src_query_latency),
510 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
511 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
512 (gst_base_src_set_property), (gst_base_src_get_property):
513 * libs/gst/base/gstbasesrc.h:
514 Add typechecking in public API functions.
515 Add methods to control the blocksize in subclasses.
516 API: GstBaseSrc::gst_base_src_set_blocksize()
517 API: GstBaseSrc::gst_base_src_get_blocksize()
519 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
521 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
522 (buffer_probe), (event_probe), (GST_START_TEST):
523 We now see 3 events go through our pad, since basesink now sends
524 upstream latency events.
526 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
528 * gst/gstpipeline.c: (gst_pipeline_change_state):
529 Release the object lock before trying to flush the bus.
531 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
533 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
534 Forward LATENCY events upstreams so that elements know about the total
535 pipeline latency. Fixes #555307.
537 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
539 * plugins/elements/gstqueue.c:
540 Allow through queries when we don't know how
541 to adjust them (not TIME or BYTES), as otherwise it's
542 not possible to query the current position in order
543 to seek in other formats at all.
545 2008-10-08 Andy Wingo <wingo@pobox.com>
547 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
549 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
553 Unbreak -good build, private is a reserved c++ keyword.
555 2008-10-08 Andy Wingo <wingo@pobox.com>
557 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
558 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
559 removal: re-add GST_GHOST_PAD_CAST to the header.
561 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
562 (GstGhostPadClass): Publically expose these structures so as to
563 allow easy subclassing from C. Hide the member data behind a
564 private opaque data pointer.
566 * gst/gstghostpad.c: Adapt to store instance data in the type
567 instance's private data region, not in the public struct.
569 2008-10-08 Andy Wingo <wingo@pobox.com>
571 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
572 template via g_object_get(), be sure to unref it.
574 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
576 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
578 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
579 If we can't get a cache file don't try to save something to it.
580 Dereferencing NULL pointers usually isn't a good idea.
582 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
584 * tests/check/Makefile.am:
585 * tests/check/gst/gstabi.c:
586 * tests/check/gst/struct_sparc.h:
587 * tests/check/libs/libsabi.c:
588 * tests/check/libs/struct_sparc.h:
591 * tests/check/gst/gstvalue.c: (GST_START_TEST):
592 Cast signed integer to unsigned to avoid a compiler warning.
594 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
596 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
597 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
598 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
599 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
600 (gst_byte_reader_peek_int24_be):
601 Use new GST_READ_UINT24_(LE|BE) macros.
603 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
605 * docs/gst/gstreamer-sections.txt:
607 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
608 as it's too easy to break the ISO C strict aliasing rules with simple
609 casts to the corresponding type and this would introduce hard to debug
610 bugs. Fixes bug #545714.
612 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
614 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
616 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
617 * gst/gstghostpad.c: (gst_ghost_pad_construct):
618 Add 'Since' bits to gtk-doc chunks for new API.
620 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
622 * docs/gst/gstreamer-sections.txt:
625 2008-10-06 Andy Wingo <wingo@pobox.com>
627 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
628 that will be called on the malloc_data to free it. Basically a way
629 to avoid subclassing when all you need is a different free
630 function, i.e. free() instead of g_free().
632 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
633 calling the free function.
634 (gst_buffer_init): Initialize the free function to g_free.
636 2008-10-06 Andy Wingo <wingo@pobox.com>
639 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
640 finishes the initialization of ghost pad. Useful for language
641 bindings and subclassers of GstGhostPad. Fixes #539108.
642 (gst_ghost_pad_new_full): Use the new constructor.
644 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
646 Base on Patch by: Olivier Crete <tester at tester dot ca>
648 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
649 (gst_bin_remove_func), (update_degree),
650 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
651 Keep track of pads that are being linked/unlinked and resync the state
654 * gst/gstpad.c: (gst_pad_get_direction),
655 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
656 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
657 (gst_pad_link_prepare), (gst_pad_link),
658 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
659 (gst_pad_check_pull_range), (gst_pad_get_range),
660 (gst_pad_pull_range):
661 Some code cleanups, use macros to check pad direction.
662 Don't need to take the lock on the pad direction.
663 Post structure change when pads are linked/unlinked.
664 Change some checks into _return_if_fail().
666 * tests/check/gst/gstbin.c:
667 (test_link_structure_change_state_changed_sync_cb),
668 (GST_START_TEST), (gst_bin_suite):
669 Add testcase for pad link/unlinke resync during a state change.
672 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
674 * docs/gst/gstreamer-sections.txt:
675 * gst/gstmessage.c: (gst_message_new_structure_change),
676 (gst_message_parse_structure_change):
678 Implement STRUCTURE_CHANGED messages. These messages will be used to
679 signal the parent bin of link/unlink operations that could require a
680 resync when doing a state change. See ##510354.
681 API: gst_message_new_structure_change()
682 API: gst_message_parse_structure_change()
684 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
688 Add some more quarks for new message. See #510354.
690 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
692 * docs/libs/gstreamer-libs-docs.sgml:
693 * docs/libs/gstreamer-libs-sections.txt:
694 * libs/gst/base/Makefile.am:
695 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
696 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
697 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
698 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
699 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
700 (gst_bit_reader_skip_to_byte):
701 * libs/gst/base/gstbitreader.h:
702 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
703 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
704 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
705 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
706 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
707 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
708 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
709 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
710 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
711 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
712 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
713 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
714 * libs/gst/base/gstbytereader.h:
715 * tests/check/Makefile.am:
716 * tests/check/libs/bitreader.c: (GST_START_TEST),
717 (gst_bit_reader_suite):
718 * tests/check/libs/bytereader.c: (GST_START_TEST),
719 (gst_byte_reader_suite):
720 API: Add bit reader and byte reader classes, including documentation
721 and an extensive unit test suite. Fixes bug #553554.
723 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
725 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
726 (gst_base_sink_query):
727 Improve position reporting while flushing and other intermediate state
728 changes. Fixes #553874.
730 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
732 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
734 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
735 Original patch by : Simon Descaries
736 Fix small refount leak in caps compatibility check.
739 2008-10-06 Stefan Kost <ensonic@users.sf.net>
741 * docs/pwg/advanced-request.xml:
742 Fix 0.8 api usage in example. Fixes #554561
744 * docs/pwg/appendix-porting.xml:
745 Change 0.9 to 0.10 here.
747 2008-10-06 Stefan Kost <ensonic@users.sf.net>
749 * docs/manual/basics-data.xml:
750 Change "event-event interaction" to "element-element interaction".
751 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
754 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
757 Back to development -> 0.10.21.1
759 === release 0.10.21 ===
761 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
764 releasing 0.10.21, "Take These Things From Me"
766 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
769 0.10.20.4 pre-release
771 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
773 * libs/gst/base/gstbasetransform.c:
774 * plugins/elements/gstcapsfilter.c:
775 * tests/check/Makefile.am:
776 * tests/check/elements/.cvsignore:
777 * tests/check/elements/capsfilter.c:
778 Fix assertion in basetransform when the subclass chooses not to
779 allocate a buffer in prepare_buffer(), and make capsfilter error out
780 cleanly if requested to apply caps that don't completely specify the
781 buffer. Fixes #551509
783 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
785 * libs/gst/base/gstbasetransform.c:
786 (gst_base_transform_prepare_output_buffer):
787 Take new caps ref because our old one might have been gone when the
788 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
790 2008-09-15 Stefan Kost <ensonic@users.sf.net>
793 Do not probe availability of check unit test library when cross
794 compiling, as test would not work anyway. Also cleanup verbose output
795 of the check test. Fixes #551952.
797 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
799 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
801 * gst/gstelement.c: (gst_element_sync_state_with_parent):
802 Avoid leaking the parent ref when we fail changing the state of the
803 element using gst_element_sync_state_with_parent(). Fixes #551978.
805 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
807 * docs/manual/intro-motivation.xml::
808 Remove some bits that no longer apply, update others (#551642).
810 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
813 0.10.20.2 pre-release
821 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
823 * win32/common/config.h.in:
824 Add GST_DATADIR, hard-code cpu to x86.
826 * win32/common/libgstreamer.def:
829 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
832 Fix Since: markers for new geo tags.
834 2008-09-02 Stefan Kost <ensonic@users.sf.net>
837 Fix actual tag name define after renaming from altitude to elevation.
839 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
841 * gst/gstpad.c: (add_unref_pad_to_list),
842 (gst_pad_get_internal_links_default):
843 Add fallback when calling the deprecated function on an element that
844 implements the new internal_link handler.
846 2008-09-01 Stefan Kost <ensonic@users.sf.net>
848 * docs/gst/gstreamer-sections.txt:
851 Add new tags for geo location and clarify purpose of existing location
854 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
856 Patch by: Olivier Crete <tester at tester dot ca>
858 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
859 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
860 Use thread-safe internal links iterator. Fixes #549504.
862 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
864 Based on patch by: Olivier Crete <tester at tester dot ca>
866 * docs/gst/gstreamer-sections.txt:
867 * win32/common/libgstreamer.def:
868 * gst/gstpad.c: (gst_pad_init),
869 (gst_pad_set_iterate_internal_links_function),
870 (int_link_iter_data_free), (iterate_pad),
871 (gst_pad_iterate_internal_links_default),
872 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
874 Add threadsafe replacement functions for getting internal links of an
875 element. Deprecate the old internal links functions.
876 API:GstPad::gst_pad_set_iterate_internal_links_function()
877 API:GstPad::GstPadIterIntLinkFunction
878 API:GstPad::gst_pad_iterate_internal_links()
879 API:GstPad::gst_pad_iterate_internal_links_default()
881 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
882 (gst_proxy_pad_init):
883 Implement threadsafe internal links.
885 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
886 Unit test for internal links on tee. See #549504.
888 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
890 * tests/check/Makefile.am:
891 libs/transform1 test requires libs/test_transform.c
893 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
895 * gst/gstpad.c: (gst_pad_get_internal_links_default):
896 Die evil deadlock, die !
898 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
900 * gst/gstutils.c: (gst_element_get_compatible_pad):
901 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
902 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
903 Fix all leaks due to the bug in gst_pad_template_new() by which it does
904 not steal the refcount of the given caps as stated.
906 REVERT THIS COMMIT ONCE FIXED !
907 REVERT THIS COMMIT ONCE FIXED !
908 REVERT THIS COMMIT ONCE FIXED !
909 REVERT THIS COMMIT ONCE FIXED !
910 REVERT THIS COMMIT ONCE FIXED !
911 REVERT THIS COMMIT ONCE FIXED !
913 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
917 After 3 years it's about time to revise the documentation of the
920 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
922 * gst/gstpad.c: (gst_pad_get_internal_links_default):
923 Make the internal links function less thread-unsafe and add some
926 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
929 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
930 build with --disable-gst-debug.
932 2008-08-28 David Schleef <ds@schleef.org>
934 * gst/gstpadtemplate.c: Revert last change, since it breaks
935 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
936 but shouldn't be enabled until we've released fixed versions
937 of -good and -ffmpeg.
939 2008-08-28 Stefan Kost <ensonic@users.sf.net>
942 Put the gst_object_get_name() back in.
944 2008-08-28 Stefan Kost <ensonic@users.sf.net>
946 * gst/gstpadtemplate.c:
947 The old behaviour was that gst_pad_template_new() takes ownership of
948 the caps. As we now call g_object_new() which calls g_object_set() and
949 which copies the caps, we have to unref them to not leak them. Fixes
952 2008-08-28 Stefan Kost <ensonic@users.sf.net>
955 Don't segfault on input like "tel:+1-123-555-1234".
957 2008-08-27 Stefan Kost <ensonic@users.sf.net>
960 Due to popular request also include ObjectType in
961 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
963 2008-08-26 David Schleef <ds@schleef.org>
965 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
966 src_val must be positive, because that's not a requirement.
967 This causes problems with converting negative granulepos
969 * gst/gstquery.c: Same, gst_query_new_convert().
971 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
973 * gst/gstclock.c: (gst_clock_add_observation):
974 Add some more debugging to the clock slaving code.
976 * win32/common/libgstbase.def:
977 Add new basetransform method.
979 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
981 * gst/gstbin.c: (gst_bin_element_set_state):
982 Take the (recursive) state lock between getting the locked state of an
983 element and changing the element state. This allows the application to
984 lock an element's state and then change its state without races.
986 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
988 * gst/gstbin.c: (gst_bin_element_set_state):
989 When an element is in the locked state we still want to update the
990 base_time of the element.
992 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
994 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
995 Use the result from gst_pad_set_caps() instead of assuming the element
996 always accepted the caps computed by the default negotiate function.
998 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1000 * docs/libs/gstreamer-libs-sections.txt:
1001 * libs/gst/base/gstbasetransform.c:
1002 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1003 (gst_base_transform_chain), (gst_base_transform_suggest),
1004 (gst_base_transform_reconfigure):
1005 * libs/gst/base/gstbasetransform.h:
1006 Implement method for reconfiguring basetransform.
1007 API: GstBaseTransform::gst_base_transform_reconfigure()
1009 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1011 patch by: Murray Cumming <murrayc@murrayc.com>
1014 Mention that this is just like gst_buffer_merge() but with extra
1015 unreffing for C coders. Advise language bindings not to wrap it.
1018 Also fix file comment.
1020 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1022 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1024 * plugins/elements/gstfakesink.c:
1025 * plugins/elements/gstfakesrc.c:
1026 Call super::event() when not handling it. Fixes #544855.
1028 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1030 Patch by: Alessandro Decina <alessandro@nnva.org>
1031 * plugins/elements/gstfilesrc.c:
1032 Use 64 bit variants of stat functions on win32, to enable support
1033 of large files there.
1036 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1038 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1039 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1040 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1041 (gst_base_sink_get_position), (gst_base_sink_change_state):
1042 Improve position reporting in the flushing state.
1043 Also report the position when we are not yet prerolled but we
1044 have a newsegment event. Fixes #543444.
1045 Improve the pull-based negotiation code.
1047 * tests/check/elements/fakesink.c: (GST_START_TEST),
1049 Add testcase for position reporting while flushing in PAUSED and
1052 * tests/check/generic/sinks.c: (GST_START_TEST):
1053 Update unit-test, we can now query the position as soon as we receive a
1056 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1058 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1060 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1061 When the subclass event handler releases the PREROLL_LOCK, we could be
1062 in the flushing state and we have to ignore the event. Fixes #548394.
1064 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1066 * tools/gst-launch.1.in:
1067 Document GST_REGISTRY_UPDATE environment variable.
1069 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1071 * libs/gst/base/gstbasetransform.c:
1072 (gst_base_transform_prepare_output_buffer):
1073 If the element is configured in passthrough mode but the
1074 prepare_output_buffer gave us a new output buffer, discard that buffer
1075 and reuse the input buffer.
1077 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1079 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1081 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1082 (gst_tee_request_new_pad), (gst_tee_release_pad),
1083 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1084 * plugins/elements/gsttee.h:
1085 Protect pad_alloc with a new lock so that we can be sure that nothing is
1086 performing a pad_alloc when removing the pad. Fixes #547835.
1088 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1089 (buffer_alloc_harness_teardown), (app_thread_func),
1090 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1091 Added testcase for shutdown race.
1093 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1098 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1100 * libs/gst/base/gstbasetransform.c:
1101 (gst_base_transform_prepare_output_buffer),
1102 (gst_base_transform_buffer_alloc):
1103 Go over the buffer_alloc function again and make sure we always end up
1104 allocating a buffer.
1106 Avoid doing pad alloc when we have a pending suggestion because we
1107 cannot yet deal with changing caps in that case. Fixes #547728
1109 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1111 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1113 * docs/manual/advanced-clocks.xml:
1114 * docs/manual/clocks.png:
1115 * docs/manual/diagrams-clocks.svg:
1116 Add one more image showing different times together with a describing
1117 paragraph. Fixes #547729.
1119 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1121 * win32/common/libgstbase.def:
1124 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1126 * libs/gst/base/gstbasetransform.c:
1127 (gst_base_transform_transform_caps),
1128 (gst_base_transform_prepare_output_buffer),
1129 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1130 Don't overwrite the outsize when calculating the expected size of a new
1131 buffer because we still need it in case we cannot process the new
1133 When converting the size of the new buffer to an upstream size, actually
1134 use the expected size of the buffer, not some other random value.
1135 Use an atomic int to signal that a new upstream caps suggestion is
1137 When we can convert the current buffer to a new format, check if the
1138 buffer size is of the expected size and allocate a new buffer of the
1139 expected size when this is not the case. Fixes #546883.
1141 * tests/check/libs/transform1.c: (GST_START_TEST):
1142 remove ifdeffed code from the unit test.
1144 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1146 * pkgconfig/gstreamer-uninstalled.pc.in:
1147 * pkgconfig/gstreamer.pc.in:
1148 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1149 called gstcontroller-0.10.
1151 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1153 * gst/gstchildproxy.h:
1155 Remove double interface from doc-string.
1157 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1159 * libs/gst/base/gstbasesrc.c:
1160 * libs/gst/base/gstbasetransform.c:
1161 Fix headings in docs and gtk-doc warnings.
1163 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1165 * gst/gstregistrybinary.c:
1166 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1170 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1172 * libs/gst/base/gstbasetransform.c:
1173 (gst_base_transform_buffer_alloc):
1174 Fix a "may be used unitialized" warning.
1176 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1178 * docs/gst/gstreamer-sections.txt:
1180 Document preset-iface vmethods.
1182 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1184 * docs/manual/advanced-interfaces.xml:
1185 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1186 only used to discover devices.
1188 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1190 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1192 * gst/gst.c: (init_pre):
1193 Make sure gettext returns translations in UTF-8 encoding rather
1194 than in the current locale encoding (#546822).
1196 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1198 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1201 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1202 Improve unit test subset tests and add a testcase for the subset failure
1205 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1206 Improve subtraction unit test.
1208 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1210 * plugins/elements/gsttee.c:
1211 Unlock, instead of locking again.
1213 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1216 Clarify the docs a bit more.
1218 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1220 * tests/examples/metadata/read-metadata.c:
1221 Don't leak old taglist.
1223 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1225 Patch by: Olivier Crete <tester at tester dot ca>
1227 * gst/gststructure.c:
1228 (gst_structure_fixate_field_nearest_fraction):
1229 Avoid overflows in fixation code when dealing with MAXINT values, which
1230 v4l2src seems to do.
1233 * tests/check/gst/gststructure.c: (GST_START_TEST):
1234 Make a unit test to check the fix.
1236 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1238 * plugins/elements/gstcapsfilter.c: (copy_func),
1239 (gst_capsfilter_set_property):
1240 Use new caps suggestion feature of basetransform to request a caps
1241 negotiation upstream.
1243 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1245 * docs/libs/gstreamer-libs-sections.txt:
1247 API: GstBaseTransform::gst_base_transform_suggest()
1249 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1250 (gst_base_transform_init), (gst_base_transform_transform_caps),
1251 (gst_base_transform_transform_size),
1252 (gst_base_transform_configure_caps),
1253 (gst_base_transform_can_transform),
1254 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1255 (gst_base_transform_prepare_output_buffer),
1256 (gst_base_transform_buffer_alloc),
1257 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1258 (gst_base_transform_chain), (gst_base_transform_activate),
1259 (gst_base_transform_set_passthrough),
1260 (gst_base_transform_is_passthrough),
1261 (gst_base_transform_set_in_place),
1262 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1263 (gst_base_transform_set_qos_enabled),
1264 (gst_base_transform_is_qos_enabled),
1265 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1266 (gst_base_transform_reconfigure):
1267 * libs/gst/base/gstbasetransform.h:
1268 Rewrite of basetransform to perform negotiation outside of the
1269 buffer_alloc functions. Fixes #545853.
1271 * tests/check/libs/transform1.c: (GST_START_TEST),
1275 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1277 * tests/check/gst/gstpreset.c:
1278 Only run preset tests when $HOME is writable. Preliminary fix for
1281 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1283 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1284 (gst_bin_change_state_func), (bin_handle_async_done),
1285 (gst_bin_handle_message_func):
1286 Fix race for bins that simulate ASYNC state changes by inserting
1287 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1288 pending ASYNC messages even when the bin does not have ASYNC children.
1289 We note detect this behaviour because we will receive an ASYNC message
1290 that is originating from the bin itself.
1291 Fixes races with decodebin2 state changes.
1293 * tests/check/gst/gstbin.c: (GST_START_TEST):
1294 Add some more debug.
1296 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1298 * gst/gsttaglist.c: (_gst_tag_initialize):
1301 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1304 Argh. actually save the text before committing. Now adds
1305 gst_tag_merge_strings_with_comma() to gst_tag_register().
1307 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1311 Do as tim pointed out and actually register the new tag. Also improve
1312 te docs and use gst_tag_merge_strings_with_comma() method to allow
1313 retriving all keywords merged in one list.
1315 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1318 * docs/gst/gstreamer.types:
1319 Revert 'accidential' change of the configure option removal. We still
1320 need to generate the types file in configure --disable-load-save.
1322 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1324 * docs/gst/gstreamer-sections.txt:
1326 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1328 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1330 * gst/gstpadtemplate.c:
1331 (gst_pad_template_class_init), (gst_static_pad_template_get),
1332 (gst_pad_template_new), (gst_pad_template_pad_created),
1333 (gst_pad_template_set_property), (gst_pad_template_get_property):
1334 Add "name-template", "direction", "presence" and "caps" properties,
1335 so that gst_pad_template_new() is just a thin wrapper around
1336 g_object_new(), which is better for bindings. (Fixes: #539772)
1338 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1341 Be more liberal in what URIs we accept.
1342 Do not unescape bits of the URI for no apparent reason before passing to
1343 the element. Fixes #545352.
1345 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1347 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1350 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1352 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1355 * docs/gst/gstreamer-sections.txt:
1356 * docs/gst/gstreamer.types:
1357 * docs/gst/gstreamer.types.in:
1360 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1361 * gst/gstconfig.h.in:
1362 * gst/gstelement.c: (gst_element_get_index):
1363 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1364 (gst_registry_binary_load_feature),
1365 (gst_registry_binary_read_cache):
1366 * gst/gstregistryxml.c: (load_feature),
1367 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1368 * plugins/Makefile.am:
1370 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1371 (print_plugin_features), (print_element_features):
1372 * tools/gst-xmlinspect.c: (print_event_masks),
1373 (print_element_info):
1374 * win32/common/gstconfig.h:
1375 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1377 Disabling the indexers and URI handler code will only reduce the
1378 required amount of memory by a very small amount but on the other hand
1379 requires much more maintaince work. Apart from that many places of
1380 code are broken when disabling them.
1382 Disabling the enum types doesn't reduce the required amount of memory
1383 by more than a few bytes and makes it hard to fix bugs like #539772,
1384 i.e. use the enums as GObject properties.
1386 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1388 * docs/design/part-TODO.txt:
1389 Add some thoughts and problems with upstream renegotiation.
1391 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1393 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1394 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1395 Remove silly redundant debug.
1396 Add some more debug info.
1397 Clarify the docs regarding new caps received from pad_alloc.
1399 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1401 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1402 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1403 Make setting the caps more threadsafe.
1405 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1407 * docs/design/part-element-transform.txt:
1410 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1412 * plugins/elements/gstqueue.c: (gst_queue_init),
1413 (gst_queue_acceptcaps):
1414 Add and use a custom acceptcaps function instead of falling back to the
1415 potentially less optimized default implementation.
1417 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1419 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1420 Only sanity-check the buffer size if requested_caps == buffer_caps
1421 (ie. don't take pad caps into account, they're not relevant here)
1423 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1425 * plugins/elements/gsttee.c:
1426 * plugins/elements/gsttee.h:
1427 Reverting as not everything is clear yet. Needs some general design
1430 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1433 ChangeLog surgery for tee commit.
1435 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1437 * docs/gst/gstreamer-sections.txt:
1438 Cleanup section-file.
1440 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1442 * plugins/elements/gsttee.c:
1443 * plugins/elements/gsttee.h:
1444 Relay tag events in tee. Fixes parts of #474016.
1445 Downgrades 3 reoccurring debugs to log.
1447 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1450 * libs/gst/Makefile.am:
1451 Build the net library if we have winsock2.
1453 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1455 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1457 * docs/manual/advanced-threads.xml:
1458 * docs/manual/diagrams-pipelines.svg:
1459 * docs/manual/hello-world.png:
1460 * docs/manual/linked-elements.png:
1461 * docs/manual/mime-world.png:
1462 * docs/manual/queue.png:
1463 * docs/manual/thread-buffering.png:
1464 * docs/manual/thread-synchronizing.png:
1465 Replace one diagram with two separate ones and updates others.
1468 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1471 Fix link in documentation.
1473 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1476 Fix confusing documentation.
1478 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1480 * libs/gst/base/gstbasesrc.h:
1481 revert the changes to the header file for the ABI.
1483 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1485 * libs/gst/base/gstbasesrc.c:
1486 * libs/gst/base/gstbasesrc.h:
1487 Don't cache the seekable status.
1490 2008-07-24 Rene Stadler <mail@renestadler.de>
1492 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1493 code to close the pipeline graph. This prevents the program from
1494 printing internal data flow errors.
1496 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1498 * docs/manual/basics-bus.xml:
1499 Correct typo. Fixes bug #544320.
1501 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1504 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1505 Add check (taken from -base) for winsock, adds WIN32_LIBS
1507 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1509 Define GST_EXPORTS when building libgstreamer (only used on win32)
1510 * gst/gst_private.h:
1512 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1513 for symbols that we need to export in both these files.
1515 Include gst_private.h higher up to avoid some compile problems on win32.
1517 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1522 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1525 Previous commit was wrong NULL caps does not exist
1526 and indicate an error, so also add a FIXME to
1527 gst_caps_is_equal where NULL caps are accepted.
1529 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1532 Allow passing of NULL to gst_caps_union
1534 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1536 * gst/gstghostpad.c:
1537 Add in doc that gst_ghost_pad_set_target can accept
1538 NULL to clear target
1540 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1543 * gst/gstregistry.c:
1544 GstRegistryPool doesn't exist; don't refer to it in docs.
1545 Don't refer to functions that don't exist in docs, it's
1548 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1551 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1553 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1555 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1557 * docs/pwg/building-testapp.xml:
1558 Don't use an undeclared variable in the example program.
1561 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1563 * gst/gstdebugutils.c:
1564 Squeeze ghost-pad links and remove <> from classname labels to save
1565 more horizontal space.
1567 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1569 * gst/gstdebugutils.c:
1570 Give request and sometimes pads a different shpe style. Condense the
1571 graphs a little more.
1573 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1576 Don't require flex and bison if the parser is disabled.
1578 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1580 * libs/gst/controller/gstinterpolationcontrolsource.c:
1581 (_list_find_sorted_custom):
1582 Don't use declarations after statements.
1584 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1586 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1587 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1588 of the the child-added / -removed signals as GstChildProxy
1589 only supports GstObjects.
1591 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1593 * gst/gstdebugutils.c:
1596 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1598 Patch by: Alessandro Decina <alessandro at nnva dot org>
1601 Fix "ignored return value" compiler warning with newer glibc.
1603 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1605 * gst/gstchildproxy.c:
1606 Fix copy&paste error in gst_child_proxy_removed() documentation.
1608 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1610 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1611 Print error debug message if plugin description fields that should
1614 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1615 Don't crash if the string to serialise is NULL (it really should
1616 not be, but apparently this used to work with the xml registry ...).
1618 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1620 * tools/gst-plot-timeline.py:
1621 Fix parsing of log messages
1623 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1625 * win32/common/libgstbase.def::
1626 Sort alphabetically so make check-exports doesn't barf.
1628 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1631 Use gst_format_get_name() to improve debug output.
1634 Remove #ifdef'ed code. Add TODO comment.
1637 Add debug output to ease spotting format != segment.format assertions.
1639 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1641 * tests/check/libs/gdp.c: (gst_dp_suite):
1642 Also enable the GDP unit test again on PPC now that the bug
1645 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1647 * libs/gst/dataprotocol/dataprotocol.c:
1648 Don't write to the same region of memory as a uint64 and uint16
1649 as this breaks strict aliasing rules and apparantly breaks on PPC
1650 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1652 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1654 * libs/gst/controller/gstinterpolationcontrolsource.c:
1655 Optimize list handling. Use own find function. Exploit that fact that
1656 the list is sorted. Also pass back the node before, so that we can
1657 insert quickly. Have a fast path for append.
1659 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1661 * docs/design/draft-framestep.txt:
1662 * docs/design/part-negotiation.txt:
1665 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1668 Show configuration sumary after configure run. Based on patch by
1669 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1671 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1673 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1675 * docs/manual/advanced-autoplugging.xml:
1676 * docs/manual/advanced-threads.xml:
1677 * docs/manual/basics-bins.xml:
1678 * docs/manual/basics-elements.xml:
1679 * docs/manual/basics-helloworld.xml:
1680 * docs/manual/basics-pads.xml:
1681 Add scale factor for pdf output.
1683 * docs/manual/intro-basics.xml:
1684 Switched sections "pads" and "bins" and added a pipeline diagram.
1686 * docs/manual/intro-gstreamer.xml:
1687 Added more info on gstreamer.
1689 * docs/manual/intro-motivation.xml:
1690 Commented out the whole section "current problem", which sounds
1691 historical and somehow osolete; it could be turned in a positive
1692 way and reused to improve the design principles.
1694 * docs/manual/intro-preface.xml:
1695 - Update URLs to library.gnome.org.
1696 - Do not mention GTK+ in preliminary reading (irrelevant).
1697 - Mention Plugin Writer's Manual and further reading only in the
1699 - Added a list of most relevant GObject/glib topics.
1701 * docs/manual/Makefile.am:
1702 * docs/manual/bin-element-ghost.fig:
1703 * docs/manual/bin-element-ghost.png:
1704 * docs/manual/bin-element-noghost.fig:
1705 * docs/manual/bin-element-noghost.png:
1706 * docs/manual/bin-element.fig:
1707 * docs/manual/bin-element.png:
1708 * docs/manual/filter-element-multi.fig:
1709 * docs/manual/filter-element-multi.png:
1710 * docs/manual/filter-element.fig:
1711 * docs/manual/filter-element.png:
1712 * docs/manual/gstreamer-overview.png:
1713 * docs/manual/hello-world.fig:
1714 * docs/manual/hello-world.png:
1715 * docs/manual/linked-elements.fig:
1716 * docs/manual/linked-elements.png:
1717 * docs/manual/mime-world.fig:
1718 * docs/manual/mime-world.png:
1719 * docs/manual/queue.fig:
1720 * docs/manual/queue.png:
1721 * docs/manual/simple-player.png:
1722 * docs/manual/sink-element.fig:
1723 * docs/manual/sink-element.png:
1724 * docs/manual/src-element.fig:
1725 * docs/manual/src-element.png:
1726 * docs/manual/diagrams-general.svg:
1727 * docs/manual/diagrams-pipelines.svg:
1728 Removed .fig, added .png counterpart.
1732 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1734 * plugins/elements/gstmultiqueue.c:
1735 * plugins/elements/gstmultiqueue.h:
1736 revert extra-size-buffers stuff, caused some race conditions
1737 and extra-size-buffers is not used anymore. Docs needs some updates
1739 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1741 * win32/common/config.h:
1742 * win32/common/gstenumtypes.c:
1743 * win32/common/gstenumtypes.h:
1744 * win32/common/gstversion.h:
1747 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1749 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1750 (GST_DEBUG_BIN_TO_DOT_FILE):
1751 Add missing Since' markers to gtk-doc blurbs.
1753 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1755 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1756 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1757 (set_caps_1), (set_caps_ct1), (transform_ct1),
1758 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1759 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1760 (transform_size_ct2), (buffer_alloc_ct2):
1761 Add some more tests with switching caps in buffer_alloc.
1763 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1765 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1766 (gst_test_trans_class_init), (result_sink_chain),
1767 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1768 (gst_test_trans_push), (gst_test_trans_pop):
1769 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1770 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1771 (set_caps_1), (set_caps_ct1), (transform_ct1),
1772 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1773 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1774 (transform_size_ct2), (buffer_alloc_ct2),
1775 (gst_basetransform_suite):
1776 More tests, prepare for tests with switching caps in buffer_alloc.
1778 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1780 * plugins/elements/gstmultiqueue.c:
1781 * plugins/elements/gstmultiqueue.h:
1782 Fix dead-lock in underrun_cb
1784 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1786 * docs/design/part-states.txt:
1787 Fix device open/close docs.
1789 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1792 Mention bugnumber for last commit.
1794 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1796 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1798 * docs/manual/manual.xml:
1799 - Reorganised the previous "introduction" bundle into Foreword,
1800 Introduction, and About GStreamer. The two first are <preface>
1801 docbook elements. The later is the first part of the book.
1802 - added intro-gstreamer.xml (content partially from
1804 - moved appendix-win32.xml into appendix-integration.xml
1806 * docs/manual/intro-preface.xml: gstreamer section moved...
1807 * docs/manual/intro-gstreamer.xml: ...here. new file.
1809 * docs/manual/appendix-win32.xml: removed file. Content moved...
1810 * docs/manual/appendix-integration.xml: ...here.
1812 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1813 * docs/manual/appendix-checklist.xml: ...here.
1817 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1819 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1821 * docs/manual/basics-helloworld.xml:
1822 * docs/manual/hello-world.fig:
1823 - Explicitely include glib.h.
1824 - Do not use global variables.
1825 - Use g_printerr() instead of g_print().
1826 - Minor formating/renaming to increase readibility.
1827 - Renamed new_pad() to on_pad_added()
1828 - Improved explenatory comments.
1829 - renamed ogg parser to ogg demuxer
1830 - Use "autoaudiosink" instead of "alsasink".
1833 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1836 Remove cvs conflict marker.
1838 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1841 Document that for plgin-docs we extraxt he short-desc from the element
1844 * docs/design/part-states.txt:
1845 Tell that devices should be closed in PAUSED -> READY.
1847 * docs/manual/README:
1848 Document how tests in the manual are handled.
1853 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1855 * gst/gstbin.c: (bin_query_latency_fold):
1856 Only care about latency min and max when the sink is actually a live
1859 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1861 * docs/design/part-block.txt:
1864 * docs/design/part-element-transform.txt:
1865 Add notes about why transform needs to know input/output sizes.
1866 Add some issues that need to be solved.
1867 Add some more use cases.
1869 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1870 (gst_test_trans_class_init), (result_sink_chain),
1871 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1872 (gst_test_trans_push), (gst_test_trans_pop):
1873 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1874 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1875 (set_caps_1), (set_caps_ct1), (transform_ct1),
1876 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1877 (gst_basetransform_suite):
1878 Add suport for different pad templates and buffer-alloc.
1879 Add more checks for caps and buffer-alloc.
1880 Add checks for proxy buffer alloc.
1881 Add unit test for copy transform.
1883 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1885 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1887 * docs/manual/appendix-integration.xml:
1888 * docs/manual/appendix-licensing.xml:
1889 * docs/manual/basics-elements.xml:
1890 * docs/manual/basics-helloworld.xml:
1891 * docs/manual/basics-pads.xml:
1892 * docs/manual/highlevel-components.xml:
1893 * docs/manual/highlevel-xml.xml:
1894 * docs/manual/intro-basics.xml:
1895 * docs/manual/intro-preface.xml:
1896 Typo and formatting fixes (#538594).
1898 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1900 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1901 Fix some memory leaks and uses of object instances that we don't
1904 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1906 * plugins/elements/gstmultiqueue.c:
1907 Add functionality to extra-size-buffers property.
1909 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1911 * plugins/elements/gstmultiqueue.c:
1912 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1913 activate the pads if they are added in STATE_NULL.
1915 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1917 * docs/libs/gstreamer-libs-sections.txt:
1919 * libs/gst/check/gstcheck.c:
1920 * libs/gst/check/gstcheck.h:
1921 API: gst_check_teardown_pad_by_name
1923 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1925 * libs/gst/check/gstcheck.c:
1926 * libs/gst/check/gstcheck.h:
1927 Also setup request pads and allow setup pads by name (#537812)
1928 API: gst_check_setup_src_pad_by_name
1929 API: gst_check_setup_sink_pad_by_name
1931 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1933 * tests/check/gst/gstbuffer.c:
1934 * tests/check/pipelines/parse-launch.c:
1935 Use HAVE_VALGRIND_H some more.
1937 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1939 * scripts/cvs-update.sh:
1940 Pass arguments to make.
1941 Run autoregen.sh if Makefile is not there.
1943 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1947 Don't assume that <valgrind/valgrind.h> exists just because
1948 the binary is there.
1950 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1952 * tests/check/Makefile.am:
1953 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1954 (gst_test_trans_class_init), (gst_test_trans_init),
1955 (gst_test_trans_set_data), (result_sink_chain),
1956 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1957 (gst_test_trans_pop):
1958 * tests/check/libs/transform1.c: (GST_START_TEST),
1959 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1960 Add some test basetransform element and the beginnings of various
1963 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1965 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1966 Increase code readability.
1967 Don't try to compare buffer offsets when ther are invalid.
1969 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1971 * docs/design/Makefile.am:
1972 Dist some more design docs.
1974 * docs/random/moving-plugins:
1975 Small addition: good plugins mustn't have functional code
1976 within assertion macros.
1978 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1980 * docs/design/draft-framestep.txt:
1981 Some ideas about a framestep API
1983 * docs/design/part-element-transform.txt:
1984 Start design and use cases for basetransform in order to get it
1987 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1990 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1991 be in UTF-8 encoding.
1993 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1996 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1998 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2000 * plugins/elements/gstcapsfilter.c:
2001 * plugins/elements/gstfakesink.c:
2002 * plugins/elements/gstfakesrc.c:
2003 * plugins/elements/gstfdsink.c:
2004 * plugins/elements/gstfdsrc.c:
2005 * plugins/elements/gstfilesink.c:
2006 * plugins/elements/gstfilesrc.c:
2007 * plugins/elements/gstidentity.c:
2008 * plugins/elements/gstmultiqueue.c:
2009 * plugins/elements/gstqueue.c:
2010 * plugins/elements/gsttee.c:
2011 * plugins/elements/gsttypefindelement.c:
2012 Remove short_description. Add basic docs for gsttypefindelement.
2013 Simplify markup for fakesrc/fdsrc.
2015 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2017 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2020 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2022 Patch by: Joel Larsson <tilljoel at gmail dot com>
2024 * docs/plugins/gstreamer-plugins.args:
2025 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2026 (gst_fd_src_init), (gst_fd_src_update_fd),
2027 (gst_fd_src_set_property), (gst_fd_src_get_property),
2028 (gst_fd_src_create):
2029 * plugins/elements/gstfdsrc.h:
2030 Add timeout property like udpsrc. Fixes #538628.
2031 Add some more docs and example pipelines.
2033 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2035 * docs/libs/gstreamer-libs-sections.txt:
2036 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2037 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2038 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2039 (gst_base_sink_do_sync):
2040 * libs/gst/base/gstbasesink.h:
2041 * win32/common/libgstbase.def:
2042 Add method to allow sinks to specify additional delay between the sync
2043 times and the actual rendering of the data.
2044 API: gst_base_sink_set_render_delay()
2045 API: gst_base_sink_get_render_delay()
2047 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2050 Bump version number back to dev -> 0.10.20.1
2052 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2054 * docs/gst/gstreamer-sections.txt:
2055 * gst/gsttaglist.c: (_gst_tag_initialize):
2057 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2060 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2062 * libs/gst/controller/gstcontroller.c:
2063 Revert one change, that make ret value possible uninitialized.
2065 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2067 * libs/gst/controller/gstcontroller.c:
2068 Use freeze/thaw notify to sync notify emission a bit (its also more
2069 efficient). Move debug output to LOG (is called a lot in a loop).
2070 Always unset g_values if the have been initialized.
2072 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2074 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2075 (gst_base_sink_wait_eos), (gst_base_sink_event):
2076 If we have not seen a buffer before EOS, use the segment values to
2077 report the current position instead of invalid positions.
2079 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2081 * docs/plugins/tmpl/.cvsignore:
2082 * tests/check/gst/.cvsignore:
2085 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2087 * libs/gst/controller/gstinterpolation.c:
2088 * libs/gst/controller/gstinterpolationcontrolsource.c:
2089 * tests/check/libs/controller.c:
2090 Rewrite handling of default values. Fix overflow with unsigned types
2091 in linear interpolation. Remove now obsolete _first_value() function.
2092 Add more tests. Fixes #538201.
2094 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2096 * libs/gst/base/gstbasetransform.c:
2097 (gst_base_transform_class_init), (gst_base_transform_init),
2098 (gst_base_transform_transform_caps),
2099 (gst_base_transform_prepare_output_buffer):
2101 When a buffer is writable, its metadata is also writable so we don't
2102 need to subbuffer (which then makes the buffer not-writable anymore).
2104 === release 0.10.20 ===
2106 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2109 releasing 0.10.20, "You Crazy Diamond"
2111 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2114 0.10.19.3 pre-release
2116 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2120 Rename DATADIR to GST_DATADIR to avoid build problems
2121 on win32. Patch By: David Schleef <ds@schleef.org>
2124 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2127 Explicitely link with -ldl if dladdr() is found there. Before it was
2128 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2129 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2131 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2133 * gst/gsterror.c: (_gst_stream_errors_init):
2134 Fix typo (spotted by Fabricio Godoy, #536723).
2136 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2139 0.10.19.2 pre-release
2141 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2143 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2144 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2146 Make sure we don't generate invalid QoS messages.
2148 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2150 * gst/gstevent.c: (gst_event_new_qos):
2151 Add some assert and docs for invalid input to the qos function.
2153 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2155 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2156 (gst_base_sink_get_position):
2157 The reported position must always be smaller than the last seen
2158 timestamps (or timestamp + duration for reverse).
2160 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2162 Patch by: Rob Bradford <rob at robster dot org dot uk>
2164 * gst/gstregistry.c: (gst_registry_scan_path_level):
2165 Don't recurse into .debug directories as some distros install
2166 the debugging symbols next to the plugins in .debug directories
2167 and dlopen() crashes on them sometimes. Fixes bug #508070.
2169 Add FIXME for 0.11 to not recurse into directories at all because
2170 it's very inconsistent to the behaviour of other PATH environment
2173 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2175 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2176 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2177 Fix position query range checks in reverse playback.
2179 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2183 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2184 clear of the reference to the resulting pad must be released later
2185 or not, resulting in possible leaks. Fixes bug #533865.
2187 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2189 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2191 * gst/gstelementfactory.c:
2192 Small doc fix. Fixes #535285.
2194 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2196 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2198 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2199 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2200 (gst_base_src_loop), (gst_base_src_set_flushing),
2201 (gst_base_src_change_state):
2202 Make sending an EOS event to the basesrc non-blocking even if the
2203 implementation does blocking waits in the create function. This is done
2204 by unlocking the create function when EOS is sent.
2207 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2209 * tools/gst-inspect.c: (print_element_properties_info):
2210 If possible print the element type of GValueArray properties.
2212 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2214 * gst/gstiterator.c:
2215 Remove an unused field from the private GstListIterator struct.
2217 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2219 * libs/gst/controller/gstcontroller.c:
2220 Add parameter guards.
2222 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2224 * tests/check/gst/gstpipeline.c:
2225 Revert test change and add comment why it should not work.
2227 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2229 * tests/check/gst/gstpipeline.c:
2230 Extending the test a little to verify that we also get the NULL state-
2233 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2235 * gst/gstpreset.c: (gst_preset_default_get_meta),
2236 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2237 (gst_preset_load_preset), (gst_preset_save_preset),
2238 (gst_preset_rename_preset), (gst_preset_delete_preset),
2239 (gst_preset_set_meta):
2240 Add Since: markers to docs blurbs.
2242 * win32/common/libgstreamer.def:
2243 Add recently-added API.
2245 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2247 Patch by: Stefan Kost <ensonic@users.sf.net>
2250 Add DATADIR for storing presets.
2252 * docs/gst/gstreamer-docs.sgml:
2253 * docs/gst/gstreamer-sections.txt:
2254 * docs/gst/gstreamer.types.in:
2255 Add GstPreset to docs.
2259 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2260 (preset_open_and_parse_header), (preset_parse_version),
2261 (preset_merge), (preset_get_keyfile),
2262 (gst_preset_default_get_preset_names),
2263 (gst_preset_default_get_property_names),
2264 (gst_preset_default_load_preset),
2265 (gst_preset_default_save_presets_file),
2266 (gst_preset_default_save_preset),
2267 (gst_preset_default_rename_preset),
2268 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2269 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2270 (gst_preset_default_reset), (gst_preset_get_preset_names),
2271 (gst_preset_get_property_names), (gst_preset_load_preset),
2272 (gst_preset_save_preset), (gst_preset_rename_preset),
2273 (gst_preset_delete_preset), (gst_preset_set_meta),
2274 (gst_preset_get_meta), (gst_preset_class_init),
2275 (gst_preset_base_init), (gst_preset_get_type):
2277 Add GstPreset to core. Fixes #396779
2279 * tests/check/Makefile.am:
2280 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2281 (gst_preset_test_set_property), (gst_preset_test_class_init),
2282 (gst_preset_test_base_init), (gst_preset_test_get_type),
2283 (gst_preset_test_plugin_init), (GST_START_TEST),
2284 (remove_preset_file), (test_setup), (test_teardown),
2286 Add GstPreset unit tests.
2288 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2290 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2291 The default event function on a sinkpad should return TRUE when
2292 there are no internal links but should collect the return values from
2293 the internal links otherwise.
2295 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2297 * plugins/elements/gsttypefindelement.c:
2298 (gst_type_find_element_src_event),
2299 (gst_type_find_element_handle_event):
2300 Use faster and safer _pad_push_event().
2302 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2304 * docs/gst/gstreamer-sections.txt:
2305 * gst/gstutils.c: (element_find_unlinked_pad),
2306 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2308 API: add gst_bin_find_unlinked_pad()
2309 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2311 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2317 Fixed a bunch of typos.
2319 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2322 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2323 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2324 (gst_parse_bin_from_description_full):
2326 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2328 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2330 * docs/pwg/advanced-tagging.xml:
2331 Small docs update, can't be bothered to rewrite the nonsensical
2334 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2337 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2339 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2341 * gst/parse/grammar.y:
2342 Remove unneeded casts.
2344 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2346 * gst/parse/grammar.y:
2347 * tests/check/pipelines/parse-launch.c:
2348 Get all missing elements from a parse launch string if possible
2349 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2351 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2353 * tests/check/Makefile.am:
2354 * tests/check/pipelines/parse-launch.c:
2355 Add some unit tests for the new gst_parse_launch*_full() API.
2356 (Exposes a previously-existing memory leak in the error code
2357 path, so adding to VALGRIND_TO_FIX for now).
2359 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2361 * docs/gst/gstreamer-sections.txt:
2362 * gst/gst.c: (init_post):
2363 * gst/gst_private.h: (_GstParseContext):
2364 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2365 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2366 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2367 (gst_parse_launch_full):
2368 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2369 (GstParseFlags), (GstParseContext):
2370 * gst/gstutils.c: (gst_parse_bin_from_description),
2371 (gst_parse_bin_from_description_full):
2373 * gst/parse/grammar.y:
2374 * gst/parse/types.h:
2375 * win32/common/libgstreamer.def:
2376 Add new gst_parse_*_full API (#528178):
2377 API: gst_parse_launch_full()
2378 API: gst_parse_launchv_full()
2379 API: gst_parse_bin_from_description_full()
2380 API: gst_parse_context_new()
2381 API: gst_parse_context_free()
2382 API: gst_parse_context_get_missing_elements()
2384 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2386 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2388 * docs/faq/gst-uninstalled:
2389 Also support ffmpeg in gst-uninstalled.
2391 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2394 After discussion on IRC use the binary registry as default
2395 but allow to disable it with --disable-binary-registry.
2397 * win32/common/libgstreamer.def:
2398 Add the two new symbols for the binary registry.
2400 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2402 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2403 * gst/gstutils.c: (gst_parse_bin_from_description):
2404 * gst/parse/grammar.y: (graph):
2405 More guards against bad input; typo fix; some minor clean-ups.
2407 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2409 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2411 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2412 If nothing else can be used, use the last buffer's start time as
2413 the segment's last stop. Fixes bug #534258.
2415 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2417 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2418 Move size sanity check to the right place: downstream may return
2419 a buffer with a smaller size if the buffer caps are different than
2420 the requested ones, as may happen when doing reverse negotiation.
2422 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2424 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2425 (gst_file_sink_render):
2426 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2427 (gst_file_src_start):
2428 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2431 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2433 * gst/gstpad.c: (gst_pad_load_and_link):
2434 * gst/gstutils.c: (gst_element_link_pads),
2435 (gst_element_unlink_pads):
2436 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2437 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2438 (gst_check_teardown_sink_pad),
2439 (gst_check_element_push_buffer_list):
2440 * tests/check/elements/fakesink.c: (GST_START_TEST):
2441 * tests/check/elements/filesink.c:
2442 * tests/check/elements/filesrc.c: (GST_START_TEST):
2443 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2444 (mq_sinkpad_to_srcpad):
2445 * tests/check/elements/tee.c: (GST_START_TEST):
2446 * tests/check/generic/sinks.c: (GST_START_TEST):
2447 * tests/check/gst/gstbin.c: (GST_START_TEST):
2448 * tests/check/gst/gstevent.c: (GST_START_TEST):
2449 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2450 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2451 * tests/check/gst/gstquery.c: (GST_START_TEST):
2452 * tests/check/gst/gstutils.c: (GST_START_TEST):
2453 * tests/check/libs/basesrc.c: (GST_START_TEST):
2454 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2455 (gst_parse_test_element_change_state):
2456 Don't use gst_element_get_pad().
2458 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2461 Fix installing plugin documentation when gtk-doc is disabled.
2463 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2465 * docs/manual/advanced-autoplugging.xml:
2466 * docs/manual/basics-helloworld.xml:
2467 * docs/manual/basics-pads.xml:
2468 * docs/manual/highlevel-components.xml:
2469 Avoid using a bad function in the example code.
2471 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2473 * gst/gstclock.c: (gst_clock_set_calibration):
2474 Fix debug of the new clock rate.
2476 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2478 * win32/common/libgstbase.def:
2479 Add gst_base_sink_wait_clock() to the exported symbols.
2481 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2483 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2485 * libs/gst/base/gstbasetransform.c:
2486 (gst_base_transform_sink_event):
2487 Unref events that the GstBaseTransform::event vfunc didn't want to
2488 have forwarded by the base class. Closes a leak in identity.
2491 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2493 * docs/libs/gstreamer-libs-sections.txt:
2494 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2495 * libs/gst/base/gstbasesink.h:
2496 Expose a method that was previously used internally to synchronize
2497 against the clock because it can be useful for subclasses too.
2498 API: GstBaseSink::gst_base_sink_wait_clock()
2500 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2502 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2503 Add sanity check to make sure we don't get smaller buffers
2504 than requested (and fallback to normal buffer alloc if we do).
2506 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2508 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2509 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2510 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2511 Refactor adjusting the running_time with latency and offset into a
2513 When doing clipping, we still want to use the subclass get_times method,
2514 just in case the DURATION or TIMESTAMP are not set.
2516 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2518 * docs/gst/gstreamer-sections.txt:
2519 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2520 * gst/gsttypefind.h:
2521 * win32/common/libgstreamer.def:
2522 API: add gst_type_find_suggest_simple(), #533740.
2524 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2526 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2527 Use right error code when typefinding fails, so we can use
2528 the default (translated) error messages.
2530 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2532 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2533 (gst_base_src_start):
2534 When the subclass did not set caps on outgoing buffers, configure the
2535 caps we negotiated on the source pad.
2536 When the typefind helper does not find caps, error out properly instead
2537 of doing things with NULL caps.
2539 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2541 * gst/gsttypefind.h:
2542 Tabs to spaces, oh yes!
2544 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2546 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2547 Add David's and Benjamin's tests for array intersection to the
2548 unit test suite (#147931).
2550 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2553 Document that gst_event_new_tag() and gst_event_new_navigation()
2554 take ownership of the taglist/structure passed to them. (#533635).
2556 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2559 Don't descend into the plugins dir if plugin docs building
2563 Add a note about the new type:GTypeName syntax for the plugin
2564 documentation .types file.
2566 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2568 * gst/gstmessage.c: (gst_message_new_error),
2569 (gst_message_new_warning), (gst_message_new_info):
2571 Mark the debug string parameters as const. Fixes bug #533490.
2573 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2575 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2576 Sort buffer cache list by end offsets. This makes sure that we don't
2577 stop to search for a cached buffer that contains the requested data
2579 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2580 more efficient. Fixes bug #459862.
2582 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2585 Explain why we copy the list.
2587 * gst/gstpipeline.c:
2591 Add one debug-log statement to help tracing probelms with linking pads.
2593 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2595 * tests/check/gst/gstinfo.c:
2596 Add a test for removing the default log handler. Seems to fail under
2599 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2601 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2602 Release pad lock before calling out to avoid a possible deadlock.
2604 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2606 * gst/parse/grammar.y:
2607 Remove unneeded value unset.
2609 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2610 Add unit test for de/serialization of caps.
2612 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2614 * plugins/elements/gstfakesink.c:
2615 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2616 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2617 (gst_fake_src_class_init):
2618 Use custom marshalers that take GstMiniObject as first parameter.
2619 Using OBJECT as parameter while a GstMiniObject is given will lead
2620 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2622 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2624 * plugins/elements/gsttypefindelement.c:
2625 (gst_type_find_element_handle_event),
2626 (gst_type_find_element_send_cached_events),
2627 (gst_type_find_element_change_state):
2628 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2631 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2633 * plugins/elements/gsttypefindelement.c:
2634 (gst_type_find_handle_src_query), (stop_typefinding),
2635 (gst_type_find_element_handle_event),
2636 (gst_type_find_element_send_cached_events),
2637 (gst_type_find_element_change_state):
2638 Forward FLUSH_START events immediately and clean up instead of
2641 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2643 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2645 * libs/gst/base/gstbasetransform.c:
2646 (gst_base_transform_buffer_alloc):
2647 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2648 fall back to default negotiation in the chain function if the caps
2649 are different from what was requested. Fixes bug #526768.
2651 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2654 * tests/check/gst/gstsegment.c:
2655 No, let's not use g_slice_{dup|copy} here, since they only exist
2656 since GLib 2.14 and we still depend only on >= 2.12. Also add
2657 unit test for gst_segment_copy().
2659 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2661 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2662 Try to fix 'dereferencing type-punned pointer will break strict
2663 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2664 changed the default GType typedef from gulong to gsize at some point,
2665 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2666 g_once_* functions all take a gsize * though, so work around the type
2667 mismatch for C++ by doing everything in gsize and casting to GType
2670 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2672 * plugins/elements/gstmultiqueue.c:
2673 Add documentation for the signals to push our core plugin docs
2674 coverage back up to 100%.
2676 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2678 * gst/gstinfo.h (GST_FUNCTION):
2679 Reverted GST_FUNCTION to the old version as we don't want the
2680 full signature in C++ code. Also added support for MSVC.
2682 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2685 Intern the type name string, similar to what G_DEFINE_TYPE does.
2687 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2690 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2692 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2694 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2696 * libs/gst/base/gstbasetransform.c:
2697 (gst_base_transform_buffer_alloc):
2698 Don't passthrough buffer allocation too easily if the caps change.
2699 This breaks when working in passthrough mode and upstream changes
2700 it's caps. Fixes bug #526768.
2702 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2704 * gst/gstinfo.c (gst_debug_log_valist):
2705 Improved the __FILE__ part of debug output for MSVC.
2707 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2709 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2710 Declaration after statement fix for compilers like MSVC.
2712 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2714 * win32/common/config.h.in:
2715 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2716 use the real thing than having "???" unconditionally.
2718 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2720 * gst/gstinfo.h (GST_FUNCTION):
2721 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2723 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2725 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2728 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2729 (gst_base_sink_set_flushing):
2730 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2733 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2735 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2736 (gst_fake_src_init), (gst_fake_src_set_property),
2737 (gst_fake_src_get_property), (gst_fake_src_start):
2738 * plugins/elements/gstfakesrc.h:
2739 Added format property to control the format of the newsegment events.
2740 API: GstFakeSrc:format
2742 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2744 * win32/common/libgstreamer.def:
2745 Add gst_pad_has_name() to the exported symbols.
2747 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2749 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2750 * libs/gst/base/gstbasetransform.c:
2751 (gst_base_transform_prepare_output_buffer):
2752 Don't allow negative sizes when allocating new buffers.
2755 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2757 Patch by: Sjoerd Simons <sjoerd at luon net>
2759 * gst/gstbus.c: (gst_bus_source_dispatch):
2760 Don't print a warning if the queue is empty when we try to pop
2761 here. That could happen if another thread or callback set the
2762 bus to flushing between the source's check/prepare and the
2763 dispatch being called (#531538).
2765 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2767 * plugins/elements/gstmultiqueue.c:
2770 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2772 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2773 Add unit test for deserializing uint64s and check some really large
2774 numbers in the int64 test.
2776 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2778 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2779 (print_interfaces), (print_element_properties_info),
2780 (print_signal_info):
2781 Use "%s" as format string instead of printing strings directly.
2783 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2785 * gst/gstclock.c: (gst_clock_set_calibration):
2786 Make some checks actually useful.
2788 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2789 Remove some unused code. Unsigned integers tend to be >= 0.
2791 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2793 * gst/gstminiobject.c: (gst_value_get_mini_object):
2794 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2795 function was not in the unscheduled 0.10.19 release.
2797 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2799 * gst/gstregistry.c: (gst_registry_scan_path_level):
2800 Only print one log message per non-plugin file.
2802 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2804 * gst/gstinfo.c: (gst_debug_log_default):
2805 Fix alignment of debug log columns on 64-bit.
2807 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2809 * docs/libs/Makefile.am:
2810 * docs/libs/gstreamer-libs-sections.txt:
2811 Ignore private controller headers for docs.
2813 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2815 * libs/gst/controller/gstcontrollerprivate.h:
2816 * libs/gst/controller/gsthelper.c:
2817 * libs/gst/controller/gstinterpolation.c:
2818 * libs/gst/controller/gstinterpolationcontrolsource.c:
2819 (gst_interpolation_control_source_set_interpolation_mode):
2820 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2821 * libs/gst/controller/lib.c:
2822 Move some private declarations into private headers.
2824 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2826 * gst/gstdebugutils.c: (debug_dump_element_pad):
2827 Remove some code that is unused after Stefan's refactoring and uses
2828 uninitialized variables now, resulting in a compiler warning.
2830 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2832 * gst/gstregistry.c: (gst_registry_scan_path_level):
2833 Run g_str_has_suffix() only on the file name, not the
2836 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2838 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2839 Since we're not called only from the chain function any longer,
2840 we can't assume that there's always data in the queue, so move
2841 the is_full check to the beginning of the loop (otherwise we'd
2842 hit the assert when changing the limit properties while the
2843 queue is empty or not running yet).
2844 Also, only set a discont if items were actually removed from
2847 * tests/check/elements/queue.c: (test_leaky_downstream):
2848 Test case for the above.
2850 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2852 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2854 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2855 (gst_queue_chain), (queue_capacity_change),
2856 (gst_queue_set_property):
2857 When changing thr max capacity of a leaky queue, immediatly drop buffers
2858 instead of waiting for a push on the sinkpad. Fixes #530637.
2860 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2862 * gst/gstdebugutils.c:
2863 Refactor code and fix handling of ghostpads and their proxypads.
2865 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2867 * docs/gst/gstreamer-sections.txt:
2868 * gst/gstevent.c: (gst_event_has_name):
2870 * tests/check/gst/gstevent.c: (GST_START_TEST):
2871 Add method to conveniently check the name of a custom event with
2872 gst_event_has_name().
2873 Reformat the event docs so that related methods are put together instead
2874 of the default alphabetical sort.
2875 Update unit test with new method.
2876 API: GstEvent::gst_event_has_name()
2878 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2880 * libs/gst/check/Makefile.am:
2881 Don't add an explicit link to libgstreamer-0.10.la; it's already
2882 included in GST_OBJ_LIBS.
2884 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2887 Register GstClock type from a type-safe context. Fixes bug #530317.
2889 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2891 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2893 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2895 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2897 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2899 Use the GLib stuff to create a private structure.
2900 Add some locking around some dispose methods to make them a little
2901 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2903 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2905 * libs/gst/base/gstbasesink.h:
2906 * libs/gst/base/gstbasesrc.h:
2907 * libs/gst/base/gstbasetransform.h:
2908 * libs/gst/base/gstcollectpads.h:
2909 Fix doc typos and unify caps a bit.
2911 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2913 * tools/gst-launch.1.in:
2914 Forgot to also add the envvar docs here.
2916 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2918 * gst/gst.c: (init_post), (gst_deinit):
2919 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2920 (test_concurrent_create), (gst_pipeline_suite):
2921 Ref some more classes in gst_init() to work around thread-safety
2922 issues in pre-2.16 GLibs, and add basic unit test.
2924 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2926 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2927 (gst_base_sink_send_event):
2928 Rearrange the latency query code. We always want to do the upstream
2929 query, even if we are not live so that the upstream elements can get the
2930 latency results too. If we fail doing the query and we are live, we
2931 return TRUE afterwards.
2933 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2935 patch by: Jason Zhao <e3423c@motorola.com>
2937 * docs/gst/running.xml:
2939 Enable/disable scan_and_update_registry() based on commandline switch
2940 or environment variable. Fixes #520468.
2943 Fix typo in my previous commit.
2945 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2947 * gst/gstregistrybinary.c:
2948 Add a warning if we hit unhandled factories when saving.
2949 More debug logging detail, but move to LOG category.
2951 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2953 * gst/gstregistry.c:
2954 Tell the *truth* when improving the documentation.
2956 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2958 * gst/gstelementfactory.c: (gst_element_factory_make):
2959 Unref the factory after it was used the last time, not before.
2961 * gst/gstindexfactory.c: (gst_index_factory_make):
2962 Improve debugging a bit and don't leak a ref to the index factory with
2965 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2967 * gst/gstregistry.c:
2968 Improve the documentation.
2970 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2973 The glib macro seems to be borked. Use g_slice_copy directly and cast
2974 in the hope that this fixes the warning on 64bit.
2976 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2979 Document the new function. Use g_slice_dup() (no need for
2980 gst_segment_init()).
2982 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2984 * docs/gst/gstreamer-sections.txt:
2985 Move GParamSepc macros to standart section.
2988 Dn't document _get_type - its in private section in docs anyway and
2989 this doc-blob was incomplete.
2992 Fix wrong symbol names in docs.
2995 Add once doc sentence.
2997 * tests/check/gst/.cvsignore:
3000 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3002 * docs/gst/Makefile.am:
3003 And remove those libs here.
3005 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3007 * docs/libs/Makefile.am:
3008 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3010 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3012 Patch by: Olivier Crete <tester at tester dot ca>
3014 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3015 Add the min-threshold to the min latency if possible. Fixes #529148.
3017 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3019 * docs/gst/gstreamer.types.in:
3020 Stupid editor, I removed that line as it should go in yet.
3022 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3024 * docs/gst/gstreamer.types.in:
3025 * docs/libs/gstreamer-libs.types:
3026 Remove library types fro core docs and have them in libs docs.
3027 Reformat and cleanup. Add comment for miniobject types.
3029 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3031 * gst/gsturi.c: (gst_uri_get_protocol):
3032 Fix leak: g_strdown operates on the string in place, while
3033 g_ascii_strdown() returns a newly-allocated string.
3035 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3037 * tools/gst-inspect.c: (print_uri_handler_info),
3038 (print_element_info):
3039 Print the URI protocols and the URI type supported by the element.
3041 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3043 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3044 Use g_value_take_string() instead of the deprecated
3045 g_value_set_string_take_ownership().
3047 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3049 * gst/gstregistrybinary.c: (_gst_crc32):
3050 Return the old CRC instead of 0 if we give a NULL buffer
3051 or a buffer with a length of 0.
3053 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3055 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3056 (gst_uri_get_protocol), (gst_uri_has_protocol),
3057 (gst_uri_construct), (gst_uri_handler_set_uri):
3058 A valid URI scheme can also include '+', '-' and '.' additional
3059 to alphanumeric characters as per RFC 3986 Section 3.1.
3061 Handle URI schemes case insensitive in all places and convert
3062 to lower-case when constructing an URI or setting an URI with
3063 the GstURIHandler interface. Fixes bug #528868.
3064 All elements can still assume (as before) that they will
3065 get passed URIs with a lower-case URI scheme by the GstURIHandler
3068 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3070 * gst/gstcaps.c: (gst_static_caps_get):
3071 * gst/gstclock.c: (gst_clock_entry_new):
3072 Don't use g_atomic_set_int where it's not needed.
3074 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3076 * gst/gstvalue.c: (gst_value_deserialize_caps):
3077 * gst/parse/grammar.y:
3080 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3082 * gst/gstutils.c: (gst_atomic_int_set):
3083 Use g_atomic_int_set() here too instead of assignment +
3086 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3090 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3091 now that we depend on new enough GLib.
3093 * gst/gstcaps.c: (gst_static_caps_get):
3094 * gst/gstclock.c: (gst_clock_entry_new):
3095 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3096 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3097 (gst_debug_category_set_threshold):
3098 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3099 (gst_base_sink_set_qos_enabled):
3100 * libs/gst/net/gstnettimeprovider.c:
3101 (gst_net_time_provider_set_property):
3102 Use g_atomic_int_set() instead of gst_atomic_int_set().
3104 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3107 Also use G_GINT64_CONSTANT for the queries.
3109 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3112 Use G_GINT64_CONSTANT in varargs function.
3114 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3116 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3117 Initialize the registry magic with zeroes.
3119 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3121 * gst/gstregistrybinary.c: (_gst_crc32),
3122 (gst_registry_binary_write),
3123 (gst_registry_binary_initialize_magic),
3124 (gst_registry_binary_write_cache),
3125 (gst_registry_binary_check_magic),
3126 (gst_registry_binary_read_cache):
3127 * gst/gstregistrybinary.h:
3128 Add crc32 checksum to the binary registry file and check this before
3129 accepting a registry file.
3131 Also free the data list when writing to the registry file fails.
3133 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3135 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3136 (gst_registry_binary_load_feature),
3137 (gst_registry_binary_load_plugin):
3138 If an element supports the Uri interface, returns a valid pointer
3139 to the supported URI protocols but this pointer contains nothing
3140 don't try to save that as it will corrupt the registry.
3142 Don't unref the plugin if we added it to the registry already but
3143 fail to load a feature as gst_registry_add_plugin() takes ownership
3146 Improve debugging a bit.
3148 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3151 Clarify some tag item docs after discussion on irc.
3153 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3155 * docs/gst/gstreamer-docs.sgml:
3156 Remove commented out plugins (they have their own docs). Update
3159 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3161 * docs/gst/gstreamer-docs.sgml:
3162 * docs/gst/gstreamer-sections.txt:
3163 * gst/gstparamspecs.c:
3164 * gst/gstparamspecs.h:
3165 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3166 docs to own section.
3169 This now only documents GValue.
3171 * docs/libs/gstreamer-libs-sections.txt:
3172 * libs/gst/controller/gstcontroller.h:
3173 Remove GST_PARAM_CONTROLLABLE.
3175 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3178 Correct file path. Tell about how to use -overrides.txt.
3179 * docs/design/draft-tagreading.txt:
3180 Small design update.
3182 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3184 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3185 (gst_registry_binary_load_plugin):
3186 Fix a typo in a debug message and revert change from yesterday as
3187 gst_registry_add_plugin() will only fail if something is really wrong
3188 already and we can't survive it anyway.
3190 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3192 * gst/gst.c: (init_post), (gst_deinit):
3193 Pre-register GstGError GType from a thread-safe context
3194 (fixes #527967); unref enum type classes in deinit.
3196 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3198 Patch by: Rene Stadler <mail at renestadler de>
3200 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3201 Merging an empty list with another list in KEEP_ALL mode should
3202 yield an empty list as result and not the second list (#512578).
3204 * tests/check/gst/gsttagsetter.c:
3205 Add unit test for tag merge modes and the aforementioned bug.
3207 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3209 Patch by: Rene Stadler <mail at renestadler de>
3212 Fix description to match the order in the table (#512577).
3214 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3216 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3218 * libs/gst/net/gstnettimepacket.h:
3219 * docs/libs/gstreamer-libs-sections.txt:
3220 Define socklen_t as int if it's not defined yet. Fixes compilation
3221 with MSVC6 and other versions where socklen_t is not defined in
3222 the windows headers (#518022).
3224 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3226 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3227 If gst_registry_add_plugin() fails our reference to the plugin is
3228 invalid so don't try to use it anymore and instead error out.
3230 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3232 * tools/gst-xmlinspect.c: (print_element_info), (main):
3233 De-cruft a bit. If no argument is specified, print all elements in
3234 XML syntax rather than a freestyle list of elements like gst-inspect.
3235 Also, don't print XML header chunk unless we actually have something
3236 to print (ie. don't print it before an error message); print error
3237 message to stderr not stdout. Remove support for printing plugin
3238 info (it would just output something freestyle along the lines of
3239 gst-inspect so far), which fixes #514507. Also add license header.
3241 2008-04-11 Julien Moutte <julien@fluendo.com>
3244 * configure.ac: Merge platform specific defines, introduce a new
3245 define on OS X to remember that forking when updating registry is
3247 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3249 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3251 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3252 condition that leads to absolutely no plugins being registered on
3255 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3257 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3259 * gst/gstutils.c: (gst_pad_add_data_probe),
3260 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3261 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3262 (gst_pad_add_buffer_probe_full):
3264 * docs/gst/gstreamer-sections.txt:
3265 * win32/common/libgstreamer.def:
3266 Add gst_pad_add_*_probe_full() functions with a notify callback that
3267 lets the caller free the data it passes to the probe functions. This
3268 is useful for bindings such as gst-python or gstreamermm (#526814).
3269 API: gst_pad_add_data_probe_full
3270 API: gst_pad_add_buffer_probe_full
3271 API: gst_pad_add_event_probe_full
3273 * tests/check/gst/gstutils.c:
3274 Add minimal unit test to make sure freeing the data actually works
3277 * tests/benchmarks/.cvsignore:
3278 Random cvsignore addendum.
3280 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3282 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3283 (GST_DEBUG_BIN_TO_DOT_FILE):
3284 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3285 to it in the docs (since these are macros the types of the arguments
3286 won't be shown in the docs otherwise).
3288 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3291 Do not abort on out of memory for pad_alloc_buffer.
3293 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3295 * libs/gst/check/gstcheck.c:
3296 Remove blank line between symbol name ad parameters to fix gtkdoc
3299 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3301 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3303 * docs/gst/gstreamer-sections.txt:
3306 * win32/common/libgstreamer.def:
3307 Expose gst_segment_copy() to make things easier for the c++ bindings.
3309 API: gst_segment_copy()
3311 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3313 * gst/gst.c: (gst_init_get_option_group), (init_post):
3314 Fix const position; ref GType classes for enum types to work
3315 around thread-safety issues in GLib versions < 2.16.
3317 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3319 * docs/design/part-buffering.txt:
3320 Fix some typos and set the estimated total for push mode to -1.
3322 * gst/gstquery.c: (gst_query_new_buffering):
3323 Set buffering-left to 0 as we're not buffering by default.
3325 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3326 Implement BUFFERING query.
3328 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3330 Based on patch by: Milosz Derezynski <internalerror gmail com>
3332 * gst/gsterror.c: (_gst_stream_errors_init):
3334 Add two new error codes for encrypted content. Fixes #524659.
3335 API: GST_STREAM_ERROR_DECRYPT
3336 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3338 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3343 * win32/common/libgstreamer.def:
3346 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3348 * plugins/elements/gstidentity.c: (gst_identity_event),
3349 (gst_identity_start):
3350 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3351 event after processing some data. Fixes bug #526042.
3353 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3355 * docs/gst/gstreamer-sections.txt:
3356 * gst/gstquery.c: (gst_query_parse_latency),
3357 (gst_query_set_buffering_percent),
3358 (gst_query_parse_buffering_percent),
3359 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3361 Rename _avail -> _range
3362 API: gst_query_set_buffering_range
3363 API: gst_query_parse_buffering_range
3365 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3367 * docs/design/part-buffering.txt:
3370 * gst/gstquery.c: (gst_query_parse_latency),
3371 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3372 (gst_query_parse_buffering_percent):
3374 Add busy field and quark for the buffering query so that the app can
3375 only use the query to see if buffering is in progress.
3377 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3379 * docs/gst/gstreamer-sections.txt:
3380 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3381 (gst_message_parse_buffering_stats):
3383 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3384 (gst_query_parse_latency), (gst_query_new_buffering),
3385 (gst_query_set_buffering_percent),
3386 (gst_query_parse_buffering_percent),
3387 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3388 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3390 Reorder the message docs and headers for clarity.
3391 Add aditional buffering stats API for messages.
3392 Add buffering query.
3393 Convert some leftover queries to use GstQuark.
3394 API: gst_message_set_buffering_stats
3395 API: gst_message_parse_buffering_stats
3396 API: GST_QUERY_BUFFERING
3397 API: GstBufferingMode
3398 API: gst_query_new_buffering
3399 API: gst_query_set_buffering_percent
3400 API: gst_query_parse_buffering_percent
3401 API: gst_query_set_buffering_stats
3402 API: gst_query_parse_buffering_stats
3404 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3406 * gst/gstmessage.c: (gst_message_new_error),
3407 (gst_message_new_warning), (gst_message_new_info),
3408 (gst_message_new_buffering), (gst_message_new_state_changed),
3409 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3410 (gst_message_new_new_clock), (gst_message_new_segment_start),
3411 (gst_message_new_segment_done), (gst_message_new_duration),
3412 (gst_message_new_async_start), (gst_message_parse_buffering),
3413 (gst_message_parse_state_changed),
3414 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3415 (gst_message_parse_new_clock), (gst_message_parse_error),
3416 (gst_message_parse_warning), (gst_message_parse_info),
3417 (gst_message_parse_segment_start),
3418 (gst_message_parse_segment_done), (gst_message_parse_duration),
3419 (gst_message_parse_async_start):
3420 Use GstQuark for messages.
3422 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3424 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3426 Add some more quarks needed for messages and queries.
3428 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3430 * docs/design/part-buffering.txt:
3431 Remove the "none" buffering mode, STREAM is a good default.
3432 Move estimated-time to the avail query, that's when it will be needed.
3433 Other small typo fixes and updates.
3435 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3437 * gst/gstindex.c: (gst_index_resolver_get_type):
3438 Don't put descriptions into the nick field of a GEnumValue: it's not
3439 meant for that and some language bindings rely on the nick field to
3440 construct constants and the like. Fixes #526705.
3442 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3447 Merge other changes from 0.10.19 release branch.
3449 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3451 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3454 Actually build dlls when cross-compiling with mingw32.
3457 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3459 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3462 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3464 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3466 * docs/design/draft-latency.txt:
3469 * docs/design/part-buffering.txt:
3470 Update design docs with more buffering ideas.
3472 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3475 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3477 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3480 Revert part that belongs to the preset patch.
3482 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3485 Add qoutes to the define. Fixes # 525961.
3487 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3489 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3490 (gst_file_index_load), (gst_file_index_add_id),
3491 (gst_file_index_get_assoc_entry):
3492 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3493 (gst_mem_index_free_id), (gst_mem_index_add_id),
3494 (gst_mem_index_index_format):
3495 Use GSlice when possible.
3497 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3499 * libs/gst/controller/gstinterpolationcontrolsource.c:
3500 (gst_control_point_free),
3501 (gst_interpolation_control_source_set_internal):
3502 Use GSlice for allocating the control points.
3504 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3506 * plugins/elements/gsttypefindelement.c:
3507 (gst_type_find_element_class_init),
3508 (gst_type_find_element_set_property),
3509 (gst_type_find_element_get_property),
3510 (gst_type_find_element_activate):
3511 * plugins/elements/gsttypefindelement.h:
3513 Fix pad leak when peer query fails.
3514 We can still typefind when the peer returns -1.
3515 Add property to force caps and bypass typefinding. This will be used in
3519 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3524 * gst/glib-compat-private.h:
3525 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3526 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3527 Unconditionally use GSlice for allocation.
3529 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3530 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3531 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3532 (gst_structure_free):
3533 Use GSlice for allocation.
3535 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3537 * gst/parse/Makefile.am:
3538 * gst/parse/grammar.tab.pre.c:
3539 * gst/parse/grammar.tab.pre.h:
3540 * gst/parse/lex._gst_parse_yy.pre.c:
3541 Require a new enough flex and bison and remove the parser hacks to use
3542 a pre-regenerated version.
3544 2008-04-01 Julien Moutte <julien@fluendo.com>
3546 patch by: Jason Zhao <E3423C@motorola.com>
3548 * configure.ac: Add a configure switch to disable option parsing
3552 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3555 * gst/gstregistry.c:
3556 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3557 and handle this case.
3560 Add a comment here describing, why we stat each plugin and not try to
3563 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3565 * libs/gst/base/gstbasetransform.c:
3566 (gst_base_transform_prepare_output_buffer):
3567 Also unset the GAP flag on buffers if we're working inplace but
3568 the element is not GAP-aware.
3570 Mark a comment as FIXME 0.11.
3572 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3575 Fix type in log message and add one to ease seeing how long registry
3576 cache verification takes.
3578 * gst/gstregistry.c:
3579 Only test plugin filenames against G_MODULE_SUFFIX.
3581 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3583 * gst/gstdebugutils.c:
3584 Improve handling ghost/proxy pads.
3586 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3588 * docs/gst/gstreamer-sections.txt:
3591 Expose macro to docs and fix link to it.
3593 2008-03-27 Michael Smith <msmith@fluendo.com>
3595 * libs/gst/dataprotocol/dataprotocol.c:
3596 (gst_dp_packet_from_event_1_0):
3597 When calculating GDP body CRC, use the correct pointer.
3598 Fixes part of #522401.
3600 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3602 Patch by: Mark Nauwelaerts <manauw at skynet be>
3604 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3605 (gst_identity_init), (gst_identity_prepare_output_buffer):
3606 Identity is not always a passthrough element, it can modify the buffer
3607 timestamps when it has a datarate and operates in single-segment mode.
3608 We therefore make it an in_place filter with a custom buffer prepare
3609 function that conditionally makes the input buffer metadata writable
3610 when needed. Fixes #523985.
3612 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3614 Patch by: Mark Nauwelaerts <manauw at skynet be>
3617 * libs/gst/base/gstbasesrc.h:
3618 * libs/gst/base/gstbasetransform.c:
3619 * libs/gst/check/gstcheck.c:
3620 Small documentation fixes. Fixes #523978.
3622 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3624 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3625 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3626 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3628 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3630 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3631 (single_queue_underrun_cb):
3632 When trying to make room in the queue, bump the max allowed buffers
3633 bigger than the current amount of buffers in the queue. this fixes some
3634 nasty deadlocks in multiqueue when dynamically changing the limits of
3637 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3639 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3641 * gst/gstcaps.c: (gst_caps_set_simple),
3642 (gst_caps_set_simple_valist), (gst_caps_intersect):
3644 Constify the field gchar * params in set_simple and friends.
3647 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3649 * gst/gstvalue.c: (gst_value_transform_object_string):
3650 Transform a GstObject to a more meaningfull string that includes the
3651 object type in addition to its name.
3653 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3656 ChangeLog surgery to add bugnumber to commit.
3658 2008-03-23 Rene Stadler <mail@renestadler.de>
3660 * libs/gst/base/gstbasetransform.c:
3661 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3663 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3665 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3666 Rename constant everywhere and don't forget one occurence.
3668 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3670 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3671 Align memory to the pointer size even if the architecture allows
3672 unaligned memory access. Unaligned memory access usually comes with
3673 performance penality.
3675 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3677 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3678 (gst_registry_binary_check_magic),
3679 (gst_registry_binary_load_pad_template),
3680 (gst_registry_binary_load_feature),
3681 (gst_registry_binary_load_plugin):
3682 Align memory to the pointer size instead of always 32 bit. Fixes
3683 unaligned memory accesses on ia64 and friends.
3685 * gst/gstregistrybinary.h:
3686 Bump binary registry format version for this as it changes the
3687 format on those architectures that don't have unaligned access
3688 and 64 bit pointers.
3690 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3692 * docs/pwg/advanced-dparams.xml:
3693 * docs/pwg/building-props.xml:
3694 * docs/pwg/other-source.xml:
3695 * gst/glib-compat.h:
3696 * gst/gstbin.c: (gst_bin_class_init):
3697 * gst/gstclock.c: (gst_clock_class_init):
3698 * gst/gstindex.c: (gst_index_class_init):
3699 * gst/gstobject.c: (gst_object_class_init):
3700 * gst/gstpad.c: (gst_pad_class_init):
3701 * gst/gstpipeline.c: (gst_pipeline_class_init):
3702 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3703 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3704 * libs/gst/base/gstbasetransform.c:
3705 (gst_base_transform_class_init):
3706 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3707 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3708 (_gst_check_fault_handler_sighandler),
3709 (_gst_check_fault_handler_setup), (gst_check_init):
3710 * libs/gst/controller/gstcontroller.c:
3711 (_gst_controller_class_init):
3712 * libs/gst/controller/gstlfocontrolsource.c:
3713 (gst_lfo_control_source_class_init):
3714 * libs/gst/net/gstnetclientclock.c:
3715 (gst_net_client_clock_class_init):
3716 * libs/gst/net/gstnettimeprovider.c:
3717 (gst_net_time_provider_class_init):
3718 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3719 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3720 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3721 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3722 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3723 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3724 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3725 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3726 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3727 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3728 * plugins/elements/gsttee.c: (gst_tee_class_init):
3729 * plugins/elements/gsttypefindelement.c:
3730 (gst_type_find_element_class_init):
3731 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3732 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3733 use it everywhere for GParamSpecs that use static strings (i.e. all).
3734 This gives us less memory usage, fewer allocations and thus less
3735 memory defragmentation. Fixes bug #523806.
3737 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3739 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3740 (gst_param_spec_mini_object):
3741 * gst/gstminiobject.h:
3742 * win32/common/libgstreamer.def:
3743 * docs/gst/gstreamer-sections.txt:
3744 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3745 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3746 GstParamSpecMiniObject into a public header for this.
3748 This make GstMiniObject a bit more consistent with GObject and makes
3749 it possible to extend the param specs.
3751 gst_value_dup_mini_object is mainly useful for set_property methods.
3755 * tools/gst-inspect.c: (print_element_properties_info):
3756 Print something useful for GstMiniObject properties and not just
3759 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3761 * docs/gst/gstreamer-sections.txt:
3762 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3763 (gst_registry_binary_check_magic):
3764 * gst/gstregistrybinary.h:
3765 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3766 and add it to the (private part) of the docs to fix the build.
3768 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3770 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3771 (gst_registry_binary_check_magic),
3772 (gst_registry_binary_read_cache):
3773 * gst/gstregistrybinary.h:
3774 Don't use GST_MAJORMINOR for the binary registry version. Instead
3775 hardcode a value that must be changed whenever the format changes
3776 in an incompatible way.
3777 Also don't GST_ERROR when there is a version mismatch, just
3778 regenerate the registry silently.
3780 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3783 Back to development - 0.10.18.1
3785 === release 0.10.18 ===
3787 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3790 releasing 0.10.18, "So far away"
3792 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3795 * win32/common/config.h:
3796 0.10.17.4 pre-release
3798 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3800 Patch by: Ole André Vadla Ravnås
3801 <ole dot andre dot ravnas at tandberg dot com>
3803 * docs/gst/gstreamer-sections.txt:
3804 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3805 (gst_poll_update_winsock_event_mask),
3806 (gst_poll_prepare_winsock_active_sets),
3807 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3808 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3809 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3810 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3811 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3813 * win32/common/libgstreamer.def:
3814 Add new function gst_poll_fd_ignored() for improved Windows
3816 Various minor fixes and cleanups. See #520808.
3818 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3820 * gst/gstindex.c: (gst_index_entry_free):
3822 Don't free key strings which we don't own. Fixes crash in
3823 gst_index_entry_free() (#522741).
3825 * tests/check/Makefile.am:
3826 * tests/check/gst/.cvsignore:
3827 * tests/check/gst/gstindex.c: (test_index_entries),
3828 (gst_index_suite), (gst_index):
3829 Add unit test for the above.
3831 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3833 * win32/common/libgstreamer.def:
3834 Remove symbols that were removed recently. Fixes bug #521740.
3836 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3839 * win32/common/config.h:
3840 0.10.17.3 pre-release
3842 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3844 Patch by: Ole André Vadla Ravnås
3845 <ole dot andre dot ravnas at tandberg dot com>
3847 * docs/gst/gstreamer-sections.txt:
3848 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3849 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3850 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3851 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3852 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3853 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3854 (gst_poll_fd_can_write), (gst_poll_wait),
3855 (gst_poll_set_controllable), (gst_poll_restart),
3856 (gst_poll_set_flushing):
3858 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3859 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3860 (gst_net_time_provider_new):
3861 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3862 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3863 * tests/benchmarks/gstpollstress.c: (main):
3864 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3865 Remove GstPollMode from the API, it does not make sense to let the
3866 application control this.
3867 Add support for Win32.
3868 Fix the testsuite. Fixes #520671.
3870 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3872 Patch by: Ole André Vadla Ravnås
3873 <ole dot andre dot ravnas at tandberg dot com>
3875 * gst/gstregistrybinary.c:
3876 Include io.h for write() and close() when building with MSVC. Fixes
3879 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3882 * gst/gst_private.h:
3883 * gst/gstconfig.h.in:
3884 * gst/gstregistry.h:
3885 * gst/gstregistrybinary.c:
3886 * win32/common/gstconfig.h:
3887 Move registry backend API to private headers where we can. Add
3888 fixme-0.11 comments for the others. Add stubs for the xml backend when
3889 using the binary to ensure they functions exists (they should not be
3890 used though). Fixes #520756.
3892 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3895 * win32/common/config.h:
3898 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3900 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3901 (gst_registry_binary_read_cache):
3902 * gst/gstregistryxml.c: (gst_registry_save):
3903 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3904 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3905 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3906 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3907 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3910 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3912 * gst/gstminiobject.c:
3913 Import gst_private.h before any other header that might include other
3914 glib headers. This fixes the build on windows using native compilers.
3916 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3918 * win32/common/gstconfig.h:
3919 Add here too, just for completeness.
3921 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3924 * gst/gstconfig.h.in:
3925 * gst/gstregistry.h:
3926 Fix broken use of config.h-defined preprocessor directive in a public
3927 header file. Add a corresponding define to gstconfig.h, since we can't
3928 really remove those function declarations from the header file now
3929 (or can we? and why are they there in the first place?).
3931 2008-03-03 Andy Wingo <wingo@pobox.com>
3933 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3936 * gst/gststructure.c (gst_structure_from_string): Warn if
3937 structure_from_string didn't consume the whole string, but the
3938 caller did not provide an end pointer.
3940 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3942 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3944 * gst/gstregistryxml.c: (read_string), (load_feature):
3945 Strings allocated by libxml2 should be freed with xmlFree(), not
3946 with g_free(). Fixes issues on windows in certain contexts (#519698).
3948 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3950 * gst/gstinterface.c: (gst_element_implements_interface):
3951 Don't crash if the element supports the interface queried, but does
3952 not implement GstImplementsInterface. Fixes #519584.
3954 * tests/check/Makefile.am:
3955 * tests/check/gst/.cvsignore:
3956 * tests/check/gst/gstinterface.c:
3957 Add unit test for the above.
3959 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3961 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3964 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3966 * gst/gstsegment.c: (gst_segment_set_seek),
3967 (gst_segment_to_stream_time):
3968 Improve some comment.
3969 Update variables where it makes more sense.
3971 2008-02-29 Rene Stadler <mail@renestadler.de>
3973 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3974 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3975 URIHandlers implemented using language bindings.
3977 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3979 * gst/gstelementfactory.h:
3980 * tests/check/elements/fakesink.c:
3981 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3982 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3983 * tests/check/elements/filesink.c: (setup_filesink):
3984 * tests/check/elements/filesrc.c: (setup_filesrc):
3985 * tests/check/elements/identity.c: (setup_identity):
3986 * tests/check/elements/tee.c:
3987 * tests/check/generic/sinks.c:
3988 * tests/check/generic/states.c: (setup), (teardown):
3989 * tests/check/gst/gst.c:
3990 * tests/check/gst/gstabi.c:
3991 * tests/check/gst/gstbin.c:
3992 * tests/check/gst/gstbus.c: (pull_messages):
3993 * tests/check/gst/gstcaps.c:
3994 * tests/check/gst/gstelement.c:
3995 * tests/check/gst/gstevent.c:
3996 * tests/check/gst/gstghostpad.c:
3997 * tests/check/gst/gstiterator.c:
3998 * tests/check/gst/gstmessage.c:
3999 * tests/check/gst/gstminiobject.c: (my_foo_init):
4000 * tests/check/gst/gstobject.c: (thread_name_object),
4002 * tests/check/gst/gstpad.c:
4003 * tests/check/gst/gstplugin.c:
4004 * tests/check/gst/gstpoll.c:
4005 * tests/check/gst/gstquery.c:
4006 * tests/check/gst/gstsegment.c:
4007 * tests/check/gst/gststructure.c:
4008 * tests/check/gst/gstsystemclock.c:
4009 * tests/check/gst/gsttask.c:
4010 * tests/check/gst/gstutils.c:
4011 * tests/check/gst/gstvalue.c:
4012 * tests/check/gst/struct_hppa.h:
4013 * tests/check/gst/struct_i386.h:
4014 * tests/check/gst/struct_ppc32.h:
4015 * tests/check/gst/struct_ppc64.h:
4016 * tests/check/gst/struct_x86_64.h:
4017 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4018 * tests/check/libs/basesrc.c:
4019 * tests/check/libs/controller.c: (GST_START_TEST):
4020 * tests/check/libs/gdp.c:
4021 * tests/check/libs/gstnetclientclock.c:
4022 * tests/check/libs/gstnettimeprovider.c:
4023 * tests/check/libs/libsabi.c:
4024 * tests/check/libs/struct_hppa.h:
4025 * tests/check/libs/struct_i386.h:
4026 * tests/check/libs/struct_ppc32.h:
4027 * tests/check/libs/struct_ppc64.h:
4028 * tests/check/libs/struct_x86_64.h:
4029 * tests/check/pipelines/cleanup.c:
4030 * tests/check/pipelines/simple-launch-lines.c:
4031 * tests/check/pipelines/stress.c:
4032 And correct even more valid sparse warnings.
4034 * win32/common/libgstreamer.def:
4035 Add gst_poll_fd_init to the list of symbols.
4037 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4039 * gst/gstconfig.h.in:
4040 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4041 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4042 (gst_check_log_critical_func), (gst_check_drop_buffers),
4043 (gst_check_element_push_buffer_list):
4044 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4045 (gst_controller_get_type):
4046 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4047 (gst_object_get_controller), (gst_object_get_control_source):
4048 * libs/gst/controller/gstinterpolationcontrolsource.c:
4049 (gst_interpolation_control_source_new):
4050 * libs/gst/controller/gstlfocontrolsource.c:
4051 (gst_lfo_control_source_new):
4052 * libs/gst/dataprotocol/dataprotocol.c:
4053 (gst_dp_event_from_packet_0_2):
4054 * plugins/elements/gstfdsrc.c:
4055 * plugins/elements/gstmultiqueue.c:
4056 * plugins/elements/gsttee.c:
4057 * plugins/elements/gsttypefindelement.c:
4058 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4059 (gst_file_index_add_association):
4060 * plugins/indexers/gstmemindex.c:
4061 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4062 * tests/check/elements/queue.c: (setup_queue):
4063 * tests/check/gst/gstpipeline.c:
4064 * tests/check/libs/collectpads.c: (setup), (teardown),
4065 (gst_collect_pads_suite):
4066 * tests/examples/adapter/adapter_test.c:
4067 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4068 * tests/examples/xml/createxml.c:
4069 * tests/examples/xml/runxml.c:
4070 * tools/gst-inspect.c:
4072 Correct all relevant warnings found by the sparse semantic code
4073 analyzer. This include marking several symbols static, using
4074 NULL instead of 0 for pointers, not using variable sized arrays
4075 on the stack, moving variable declarations to the beginning of
4076 a block and using "foo (void)" instead of "foo ()" for declarations.
4078 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4080 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4081 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4082 Don't reset GstPollFDs, this is not necessary at all.
4084 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4085 (delayed_restart), (delayed_control):
4086 Use GST_POLL_FD_INIT.
4088 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4090 * gst/gstpoll.c: (gst_poll_fd_init):
4094 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4095 Use some more init macros.
4097 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4099 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4100 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4101 Use init macros and functions.
4103 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4105 * docs/gst/gstreamer-sections.txt:
4106 * gst/gstpoll.c: (gst_poll_fd_init):
4108 Add INIT macro and _init method for initializing the GstPollFD.
4110 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4112 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4113 (gst_fd_sink_update_fd):
4114 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4115 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4116 (delayed_restart), (delayed_control):
4117 Initialize some uninitialized variables as spotted by valgrind.
4119 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4121 * tests/benchmarks/Makefile.am:
4122 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4124 Add poll stress test.
4126 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4128 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4130 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4131 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4132 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4133 * plugins/elements/gstfdsink.h:
4134 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4135 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4136 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4137 (gst_fd_src_uri_set_uri):
4138 * plugins/elements/gstfdsrc.h:
4139 Port to GstPoll. See #505417.
4141 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4143 * win32/common/libgstreamer.def:
4144 Add new gst_poll_ symbols to win32 defs.
4146 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4148 * docs/libs/gstreamer-libs-sections.txt:
4149 * libs/gst/net/gstnetclientclock.c:
4150 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4151 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4152 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4153 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4154 * libs/gst/net/gstnetclientclock.h:
4155 * libs/gst/net/gstnettimeprovider.c:
4156 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4157 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4158 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4159 (gst_net_time_provider_new):
4160 * libs/gst/net/gstnettimeprovider.h:
4161 Use a private stuct to not break ABI.
4163 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4165 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4167 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4168 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4169 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4170 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4171 * libs/gst/net/gstnetclientclock.h:
4172 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4173 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4174 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4175 (gst_net_time_provider_new):
4176 * libs/gst/net/gstnettimeprovider.h:
4177 Massive code removal and cleanups because of GstPoll.
4180 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4183 Add checks for poll, ppoll and pselect.
4185 * docs/gst/gstreamer-docs.sgml:
4186 * docs/gst/gstreamer-sections.txt:
4187 Add docs for GstPoll.
4191 * gst/gstpoll.c: (find_index), (selectable_fds),
4192 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4193 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4194 (gst_poll_set_mode), (gst_poll_get_mode),
4195 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4196 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4197 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4198 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4199 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4200 (gst_poll_fd_can_write), (gst_poll_wait),
4201 (gst_poll_set_controllable), (gst_poll_restart),
4202 (gst_poll_set_flushing):
4204 Add generic poll abstraction. We ideally don't want to have this in core
4205 here but in glib intead...
4206 This code will be used in various network elements and ultimately for
4207 the nanosecond precision monotonic clock (that's why it's here in core).
4208 It'll allow us to implement cancelable socket operations for windows too.
4210 * tests/check/Makefile.am:
4211 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4212 (delayed_stop), (delayed_restart), (delayed_flush),
4213 (delayed_control), (gst_poll_suite):
4214 Add GstPoll unit test.
4216 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4219 Improve documentation of gst_filter_run(). Fixes #518627.
4221 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4224 Add a few lines about the new 'check-inspected-versions' target.
4226 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4228 * tests/check/gst/gstevent.c:
4229 Add qos to the event test. Rename tcase/tsuite; is not only about
4232 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4234 * plugins/elements/gstqueue.c:
4235 Ensure that buffer metadata is writeable, before modifying. Spotted by
4238 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4240 * plugins/elements/gstqueue.c:
4241 * plugins/elements/gstqueue.h:
4242 When dropping buffers in leaky modes, mark next buffers we sent as
4245 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4247 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4248 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4250 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4252 * plugins/elements/Makefile.am:
4253 * plugins/elements/gstbufferstore.c:
4254 * plugins/elements/gstbufferstore.h:
4255 * plugins/elements/gsttypefindelement.h:
4256 Remove GstBufferStore, no idea why we were still building it.
4257 It's not used anywhere and superseded by GstAdapter.
4259 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4260 (gst_file_src_create_mmap):
4261 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4262 Printf format fixes for 64-bit integers.
4264 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4267 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4268 We're not in 0.8 times anymore.
4270 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4272 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4273 (gst_check_element_push_buffer_list):
4274 * libs/gst/check/gstcheck.h:
4275 Make the declaration in the header for
4276 gst_check_element_push_buffer_list match the implementation.
4278 Fix up spelling, grammar and wording of the documentation in a few
4279 places, and add the Since keyword to new API functions.
4280 Use g_list_delete_link instead of g_list_remove in
4281 gst_check_drop_buffers, since it's immeasurably more efficient.
4283 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4284 Use new gst_check_drop_buffers function where appropriate.
4286 * win32/common/libgstbase.def:
4287 * win32/common/libgstreamer.def:
4288 Add new symbols gst_collect_pads_take_buffer,
4289 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4292 Changelog surgery to add API keyword to new gst_check API.
4294 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4296 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4297 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4298 Update pre-generated flex files with flex 2.3.34.
4300 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4302 * gst/gstminiobject.c:
4303 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4304 friendly to subclasses and not require them to know all internals
4305 of their parent class.
4307 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4309 * docs/libs/gstreamer-libs-sections.txt:
4310 * libs/gst/base/gstcollectpads.c:
4311 * libs/gst/base/gstcollectpads.h:
4312 Add sub-buffer functions to collectpads. Fixes #516187.
4313 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4315 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4318 Copy selected buffer-flags when creating subbuffers.
4321 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4323 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4324 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4325 * gst/gstmessage.c: (gst_message_class_init),
4326 (gst_message_finalize):
4327 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4328 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4329 (gst_mmap_buffer_finalize):
4330 Properly chain up finalize functions to the parent class.
4332 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4334 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4336 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4337 (gst_index_set_resolver_full):
4339 Add new function with option to dispose of user_data in resolver.
4340 Actually call the dispose function when finalizing the object and not
4341 just when changing the resolver/filter.
4342 API: GstIndex::gst_index_set_resolver_full()
4344 * docs/gst/gstreamer-sections.txt:
4345 Add new function to docs. Fixes #515469.
4347 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4349 * gst/gstindex.c: (gst_index_finalize):
4350 Chain up finalize to the parent class. Fixes leaking the GstObject
4351 name and other things.
4353 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4356 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4357 pre-releases or releases.
4359 * docs/faq/gst-uninstalled:
4362 * docs/random/release:
4363 Change one of the steps - we only upload core & base to Gnome FTP
4365 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4367 * gst/gstconfig.h.in:
4368 Add 'id' for example.
4372 * plugins/elements/gstfdsink.c:
4373 Link to signals. Doc and comment fixes.
4375 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4377 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4378 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4379 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4380 unused and unimplemented; finally, it is plugin features, not
4381 plugins, that have ranks.
4383 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4385 * gst/gstpluginfeature.h:
4386 Clarify GstRank range docs.
4388 2008-02-05 David Schleef <ds@schleef.org>
4390 * gst/gst.c: Add a separate gst_deinitialized that prevents
4391 gst_init() from being called after gst_deinit(). Fixes #509559
4393 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4395 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4396 (gst_bin_class_init):
4397 * gst/gstelement.c: (gst_element_base_class_init),
4398 (gst_element_class_add_pad_template):
4399 * gst/gstpadtemplate.c: (gst_pad_template_init):
4400 * gst/gstpipeline.c: (gst_pipeline_get_type),
4401 (gst_pipeline_base_init), (gst_pipeline_class_init):
4402 * libs/gst/base/gstbasesink.c:
4403 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4404 (gst_base_src_base_init), (gst_base_src_class_init):
4405 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4406 (gst_capsfilter_class_init):
4407 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4408 (gst_fake_sink_class_init):
4409 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4410 (gst_fake_src_class_init):
4411 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4412 (gst_fd_sink_class_init):
4413 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4414 (gst_fd_src_class_init):
4415 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4416 (gst_file_sink_class_init):
4417 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4418 (gst_file_src_class_init):
4419 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4420 (gst_identity_class_init):
4421 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4422 (gst_multi_queue_class_init):
4423 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4424 (gst_queue_class_init):
4425 * plugins/elements/gsttee.c: (gst_tee_base_init),
4426 (gst_tee_class_init):
4427 * plugins/elements/gsttypefindelement.c:
4428 (gst_type_find_element_base_init),
4429 (gst_type_find_element_class_init):
4430 * tests/check/gst/gstelement.c: (gst_element_suite):
4431 Revert previous changes to the behaviour of GstPadTemplates, etc
4432 and the possiblity to call them in class_init as it breaks too
4433 many elements. Reopens bug #491501.
4435 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4438 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4440 * tools/gst-launch.c:
4441 Dump one graph per pipeline state-change and state change name
4442 (if GST_DEBUG_DUMP_DOT_DIR is set).
4444 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4447 * tests/check/gst/gstpad.c:
4448 Be sure that we have a new copy of the caps and not
4449 reffed caps from a template
4451 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4453 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4454 * gst/gstpipeline.c: (gst_pipeline_get_type),
4455 (gst_pipeline_class_init):
4456 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4457 (gst_base_sink_class_init):
4458 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4459 (gst_base_src_class_init):
4460 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4461 (gst_base_transform_class_init):
4462 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4463 (gst_collect_pads_class_init):
4464 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4465 * libs/gst/net/gstnettimeprovider.c:
4466 (gst_net_time_provider_base_init),
4467 (gst_net_time_provider_class_init):
4468 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4469 (gst_capsfilter_class_init):
4470 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4471 (gst_fake_sink_class_init):
4472 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4473 (gst_fake_src_class_init):
4474 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4475 (gst_fd_sink_class_init):
4476 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4477 (gst_fd_src_class_init):
4478 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4479 (gst_file_sink_class_init):
4480 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4481 (gst_file_src_class_init):
4482 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4483 (gst_identity_class_init):
4484 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4485 (gst_multi_queue_class_init):
4486 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4487 (gst_queue_class_init):
4488 * plugins/elements/gsttee.c: (gst_tee_base_init),
4489 (gst_tee_class_init):
4490 * plugins/elements/gsttypefindelement.c:
4491 (gst_type_find_element_base_init),
4492 (gst_type_find_element_class_init):
4493 Don't use base_init where not absolutely necessary. For example it's
4494 not necessary anymore for adding pad templates or setting element
4497 Leave empty base_init functions in several places as GST_BOILERPLATE
4498 still defines and uses them.
4500 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4502 * gst/gstelement.c: (gst_element_base_class_init),
4503 (gst_element_class_add_pad_template):
4504 * gst/gstpadtemplate.c:
4505 Make it possible (and recommended) to set element details and add
4506 pad templates in the class_init functions by copying the details/pad
4507 templates in GstElement's base_init.
4509 Also make it possible to replace existing pad templates by adding
4510 a new one with the same name. This was done in a hackish fashion
4511 in same elements before already.
4513 Don't reference pad templates that are added a second time. A
4514 new pad template has a refcount of one and is not floating anymore
4515 and to be owned by the element's class. Make this more explicit by
4516 mentioning it in the docs of gst_element_class_add_pad_template().
4518 These changes are backwards compatible. Fixes bug #491501.
4520 * tests/check/gst/gstelement.c:
4521 Add unit test for setting element details, adding pad templates and
4522 replacing them in a subclass.
4524 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4526 * tools/gst-inspect.c: (print_interfaces),
4527 (print_element_properties_info), (print_pad_info),
4528 (print_signal_info), (print_element_info):
4529 Fix a few memory leaks.
4531 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4533 * docs/libs/gstreamer-libs-sections.txt:
4534 * libs/gst/check/gstcheck.c:
4535 * libs/gst/check/gstcheck.h:
4536 Add more functions for unit testing: gst_check_drop_buffers,
4537 gst_check_caps_equal, gst_check_element_push_buffer_list,
4538 gst_check_element_push_buffer
4539 API: gst_check_drop_buffers
4540 API: gst_check_caps_equal
4541 API: gst_check_element_push_buffer_list
4542 API: gst_check_element_push_buffer
4544 2008-02-01 Julien Moutte <julien@fluendo.com>
4546 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4547 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4548 (gst_index_finalize), (gst_index_entry_free),
4549 (gst_index_add_association): Fix memory leaks.
4550 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4551 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4552 (gst_mem_index_free_format), (gst_mem_index_free_id),
4553 (gst_mem_index_finalize): Fix memory leaks.
4554 * win32/common/config.h: Updated to CVS HEAD.
4556 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4559 Some more details about how the plugin docs works.
4561 * docs/plugins/gstreamer-plugins-sections.txt:
4564 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4566 * gst/parse/grammar.tab.pre.c:
4567 * gst/parse/grammar.tab.pre.h:
4568 * gst/parse/grammar.y:
4569 * gst/parse/lex._gst_parse_yy.pre.c:
4570 Add delayed set-property. This allows to set properties on dynamicaly
4571 created objects (pads in videomxer). Fixes #509391.
4573 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4576 Check if caps are not NULL (fix bug #510194)
4578 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4580 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4581 (gst_base_sink_get_position_paused):
4582 Add fixme regarding EOS in pull mode.
4583 Fix position reporting in PAUSED for negative rates.
4585 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4587 * gst/gstminiobject.c: (gst_mini_object_replace):
4588 When replacing a miniobject, do a quick equality check first so that we
4589 can avoid a ref/unref pair.
4591 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4593 * docs/design/part-synchronisation.txt:
4596 * docs/plugins/Makefile.am:
4597 * docs/plugins/gstreamer-plugins-docs.sgml:
4598 * docs/plugins/gstreamer-plugins-sections.txt:
4599 * plugins/elements/gstmultiqueue.c:
4600 Add multiqueue to the docs.
4602 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4607 === release 0.10.17 ===
4609 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4612 releasing 0.10.17, "Due Negligence"
4614 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4617 Revert caps != NULL check temporarily for 0.10.17 release.
4619 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4622 Check if caps are not NULL (fix bug #510194)
4624 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4627 Fix compilation on systems that have posix timers but no
4630 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4633 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4635 * tools/gst-inspect.c:
4636 Revert previous commit in preparation for an impromptu 0.10.17 release
4638 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4640 * tools/gst-inspect.c: (print_interfaces),
4641 (print_element_properties_info), (print_pad_info),
4642 (print_signal_info), (print_element_info):
4643 Fix a few memory leaks.
4645 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4650 === release 0.10.16 ===
4652 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4655 releasing 0.10.16, "Special Dispensation"
4657 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4660 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4661 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4662 not fail when trying to crosscompile on OpenEmbedded (#511750).
4664 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4667 Use $(MAKE) instead of make to fix the build if GNU make is
4668 called different. Fixes bug #510747.
4670 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4672 * gst/gstplugin.c: (_gst_plugin_initialize):
4673 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4674 again, which I broke two commits ago when changing the API
4675 of gst_plugin_register_static(): the g_list_foreach() in
4676 _gst_plugin_register_static still assumed the old function
4677 signature and would therefore fail (re-fixes #510187).
4679 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4680 (_gst_plugin_register_static), (gst_plugin_register_static):
4681 Revert the (technically correct) change to call g_thread_init() from
4682 the pre-main() constructor. This will break programs which call
4683 g_thread_init() without an if (!g_thread_supported()) guard in their
4684 main function. We could just blame it on GLib or the application, but
4685 it's probably best to just avoid this altogether and simply not use
4686 any GLib functions here and use plain old malloc() with a simple
4687 array to store the plugins to register later when gst_init() is
4688 finally called (re-fixes #510187).
4690 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4691 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4692 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4693 (GST_START_TEST), (gst_plugin_suite):
4694 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4697 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4699 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4700 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4701 This makes gtk-doc complain, but results in slightly better
4702 compiler errors. The old _gst_plugin_register_static() is
4703 still guarded, so there'll be a compiler warning about that
4704 instead. Fixes #510187 too.
4706 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4708 * gst/gst.c: (init_post):
4709 * gst/gstplugin.c: (_gst_plugin_register_static),
4710 (gst_plugin_register_static), (_gst_plugin_initialize):
4711 * gst/gstplugin.h: (GstPluginFilter):
4712 Change API of gst_plugin_register_static() to not take
4713 a GstPluginDesc, but rather just take all the arguments
4714 in a GstPluginDesc directly. This is more intuitive and
4715 avoids certain mistakes when porting code from
4716 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4719 * tests/check/gst/gstplugin.c:
4720 Fix up for changed API.
4722 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4724 * docs/faq/legal.xml:
4725 Update FAQ, Totem actually has an exception these days.
4727 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4729 * win32/common/libgstreamer.def:
4730 Add new API declarations
4732 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4734 * gst/gstminiobject.c:
4735 Spelling fixes for the API docs.
4737 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4739 * libs/gst/base/gstbasetransform.c:
4740 Fix long property description for QoS.
4742 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4745 _gst_trace_on is already provided by gsttrace.h, no need to declare
4748 * docs/libs/gstreamer-libs-sections.txt:
4749 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4750 and remove strange tcase_add_test which is outputting a warning.
4752 * libs/gst/check/gstcheck.c:
4753 * libs/gst/check/gstcheck.h:
4754 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4755 and define them in gstcheck.c instead of having every .c file whcih
4756 includes gstcheck.h be defining its own copy and relying on symbol
4757 interposing to marry them all, which doesn't work on Solaris.
4759 * tests/check/elements/identity.c: (GST_START_TEST):
4760 Don't define 'buffers' locally, it comes from libgstcheck.
4762 * tests/check/generic/sinks.c: (send_buffer):
4763 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4765 * tests/check/gst/gststructure.c: (GST_START_TEST):
4766 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4767 * tests/check/gst/gstutils.c: (GST_START_TEST):
4768 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4769 Add a bunch of casts to make various constants fit the types
4770 they're being assigned to.
4772 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4774 * gst/gstchildproxy.c:
4775 Improve docs and add some ideas for making this more general-purpose.
4777 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4779 * gst/gst_private.h: (GST_CAT_TYPES):
4780 Add GST_CAT_TYPES, for consistency, and so that the other
4781 debug categories don't make fun of it. Spotted by Saur on IRC.
4783 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4785 * gst/parse/Makefile.am:
4786 Move types.h from EXTRA_DIST to noinst_HEADERS.
4788 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4791 Add -Wno-portability to the automake parameters to stop warnings
4792 about GNU make extensions being used. We require GNU make in almost
4793 every Makefile anyway.
4796 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4797 at the same time is required for per target flags.
4799 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4802 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4803 __GNUC__ is defined before using it.
4805 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4807 * docs/gst/gstreamer-sections.txt:
4808 * gst/gst.c: (init_post):
4809 * gst/gstplugin.c: (_gst_plugin_register_static),
4810 (gst_plugin_register_static), (_gst_plugin_initialize),
4811 (gst_plugin_register_func):
4812 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4813 API: add gst_plugin_register_static() and deprecate
4814 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4816 Also, in _gst_plugin_register_static(), make sure to call
4817 g_thread_init() before calling GLib functions such as
4818 g_list_append() if we're not initialised yet, since that
4819 may lead to random crashes with older GSlice/GLib versions.
4821 * tests/check/gst/gstplugin.c:
4822 Adapt unit test to above changes.
4824 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4826 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4827 * gst/gstcaps.c: (gst_caps_to_string):
4828 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4829 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4830 Yet another gratuitous GString micro-optimisation: add a (private)
4831 function that serialises a structure appending to an existing
4832 GString, so that when we serialise caps we don't need to alloc+free
4833 a throwaway GString for each structure (each of which also entailing
4834 multiple reallocs on the way); also use g_string_sized_new() in
4835 various places with an approximate string length to avoid reallocs
4836 within GString. See #500143.
4838 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4840 * gst/gststructure.c: (gst_structure_id_set_value):
4841 Always check UTF-8 conformance of structure strings and not only
4842 if the debugging system is enabled; reasoning: the behaviour of
4843 the actual code shouldn't really change depending on whether the
4844 debugging system is enabled or not (#508291).
4846 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4849 Remove old coverage target in favour of "make lcov".
4851 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4853 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4854 (gst_base_src_loop):
4855 The start segment for reverse playback goes from start to last_stop.
4857 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4859 Patch by: Peter Kjellerstedt <pkj axis com>
4862 Cast the results from the timeval/spec_to_time macros to what the
4863 docs say it casts to, a GstClockTime. fixes #508175.
4865 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4868 Update some comments.
4870 * tools/gst-inspect.c: (print_element_properties_info):
4871 Improve printing of flags.
4873 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4875 * libs/gst/base/gstbasetransform.c:
4876 (gst_base_transform_transform_size):
4877 Print element name with g_warning() if there's a problem
4880 2008-01-07 David Schleef <ds@schleef.org>
4882 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4884 * libs/gst/controller/gstcontroller.h:
4885 * libs/gst/controller/gstcontrolsource.h:
4886 * libs/gst/controller/gstinterpolationcontrolsource.h:
4887 * libs/gst/controller/gstlfocontrolsource.h:
4888 * libs/gst/dataprotocol/dataprotocol.h:
4889 Fix empty prototypes. Fixes bug #507957.
4891 2008-01-07 David Schleef <ds@schleef.org>
4893 * docs/faq/dependencies.xml: Fix typo.
4895 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4897 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4898 (gst_base_src_loop):
4899 Don't update the last_stop position in do_seek, that's the position we
4901 Read backwards when we have a negative rate.
4903 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4904 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4906 Add check for reverse reading.
4908 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4910 Patch by: Alexis Ballier <aballier at gentoo org>
4912 * tests/check/gst/gstabi.c:
4913 * tests/check/gst/struct_ppc64.h:
4914 * tests/check/libs/libsabi.c:
4915 * tests/check/libs/struct_ppc64.h:
4916 Decide which header to include based on the userland ABI target
4917 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4918 for 64-bit userland (#503590). Might need something similar for
4921 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4923 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4924 Log the reason why fopen fails in addition to the fact that it failed.
4926 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4928 * gst/parse/parse.l:
4929 Use "%option never-interactive" to prevent useless calls to isatty()
4930 on every input when parsing. Also use "%option noinput" to not define
4931 the static input/yyinput functions which we don't use anyway. This
4932 removes a compiler warning with gcc 4.3 and saves some bytes in the
4935 * gst/parse/lex._gst_parse_yy.pre.c:
4936 Regenerated for the above change.
4938 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4940 * gst/gstpad.c: (fixate_value):
4941 Don't crash when trying to fixate and empty list.
4944 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4946 * docs/faq/gst-uninstalled:
4947 Clarify the comments to make the usage of this script and what it
4948 does easier to understand.
4950 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4952 * tools/gst-plot-timeline.py:
4953 Add more options to gst-plot-timeline
4955 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4957 * docs/design/part-synchronisation.txt:
4958 Some more info on how the stream_time in GstBaseSink is done.
4960 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4962 * tests/check/generic/sinks.c: (gst_sinks_suite):
4963 Put back the tcase_set_timeout(), apparently it's needed after
4964 all; fix it up in a way that makes things work with valgrind too.
4966 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4968 * gst/gstdebugutils.c:
4969 Add warning when failed to open file for writing.
4971 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4973 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4975 * gst/gstvalue.c: (gst_value_is_fixed):
4976 Optimisation: bail out of the loop as early as possible (#500143).
4978 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4980 * gst/gstcaps.c: (gst_caps_to_string):
4981 * gst/gstinfo.c: (gst_debug_construct_term_color):
4982 * gst/gstparse.c: (gst_parse_launchv):
4983 * gst/gstutils.c: (gst_util_dump_mem):
4984 * gst/gstvalue.c: (gst_value_serialize_any_list),
4985 (gst_value_transform_any_list_string):
4986 Bunch of gratuitous nano-optimisations.
4988 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4990 * tests/check/generic/sinks.c: (async_done_func),
4991 (async_done_eos_func):
4992 Fix leak in unit test (bus sync handler must unref the message
4993 if it returns GST_BUS_DROP). Don't fiddle with the default test
4994 timeout, this is smaller than the current preconfigured value
4995 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4996 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4998 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5000 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5003 Check for stdio_ext.h for the filesink changes.
5005 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5006 (gst_file_sink_class_init), (gst_file_sink_init),
5007 (gst_file_sink_dispose), (gst_file_sink_set_property),
5008 (gst_file_sink_get_property), (gst_file_sink_open_file),
5009 (gst_file_sink_close_file):
5010 * plugins/elements/gstfilesink.h:
5011 Add two properties to control the buffering mode and size.
5012 API: GstFileSink::buffer-mode
5013 API: GstFileSink::buffer-size
5016 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5018 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5019 Add some more docs to explain why a FIXME was wrongly added.
5021 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5024 Fix typo in the gst_object_{ref,unref} documentation.
5026 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5028 * tests/check/libs/controller.c:
5029 * tests/check/libs/typefindhelper.c:
5030 * tests/check/pipelines/parse-launch.c:
5031 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5032 going to be deprecated (see #498924).
5034 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5036 * gst/gsttypefind.c: (gst_type_find_register):
5037 Make gst_type_find_register work for static typefind functions,
5038 ie. allow passing plugin == NULL (prerequisite for #498924).
5040 * gst/gstelementfactory.c: (gst_element_register):
5041 Small docs addition.
5043 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5045 * gst/gstpad.c: (gst_pad_dispose):
5046 Really unlink the peer pad instead of setting the peer pointer to NULL
5047 when we dispose the pad.
5048 This correctly calls the unlink functions and makes sure that the peer
5049 does not have a handle to invalid memory. See #504671.
5051 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5052 Add testsuite for above case.
5054 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5056 Patch by: Peter Kjellerstedt <pkj axis com>
5058 * libs/gst/check/gstcheck.h:
5059 Fix detection of the check version we're compiling against (would
5060 otherwise break if check goes v0.10.0); correctly report the
5061 name of the failed test again in case of failure, instead of
5062 just 'tf' (fixes #504499).
5064 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5066 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5067 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5068 (gst_base_src_loop), (gst_base_src_set_flushing),
5069 (gst_base_src_change_state):
5070 Allow sending EOS to the source to make it send out an EOS event from
5071 the streaming thread.
5072 Update docs and deprecate the old NULL/READY shutdown method.
5074 * tests/check/libs/basesrc.c: (GST_START_TEST),
5075 (gst_basesrc_suite):
5076 Add unit test for controlled shutdown.
5078 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5080 * docs/design/part-synchronisation.txt:
5083 * gst/gstsegment.c: (gst_segment_set_seek),
5084 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5085 (gst_segment_to_running_time):
5086 The seek format can be different from the segment format when the start
5087 and stop values are not to be updated, when we only do a rate change for
5090 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5091 (gst_segment_suite):
5092 Add a testcase for the rate-only seeks, checking that the format is
5093 correctly ignored when start and stop are not updated.
5095 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5097 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5099 * win32/vs8/grammar.vcproj:
5100 * win32/vs8/libgstcontroller.vcproj:
5101 * win32/vs8/libgstreamer.vcproj:
5102 Fix compilation with VS8 and include some missing files.
5104 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5107 Small docs addition: mention that the strings returned by
5108 gst_tag_list_get_string*() are in UTF-8 encoding.
5110 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5113 The check-exports stuff moved to common/win32.mak, so include that.
5115 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5117 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5118 (gst_base_src_perform_seek), (gst_base_src_get_range),
5119 (gst_base_src_set_playing), (gst_base_src_change_state):
5120 Make _wait_playing() not check any variables so that we can call this
5121 function from subclasses. Move the checks elsewhere similar to
5122 _wait_preroll() in basesink.
5124 Only signal the LIVE cond when we are going back to PLAYING.
5126 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5128 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5129 Use g_remove() and g_rename(). Check result of g_rename(), and
5130 don't leak the open file descriptor if we error out when writing.
5132 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5133 Must check the return value of close() after writing out the new
5134 registry file. Sometimes write problems such as out-of-diskspace
5135 are only reported when the file is closed and not already during
5136 the write. This may have caused partial/broken registry files in
5137 some rare circumstances. Should fix #503675.
5139 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5141 * docs/gst/.cvsignore:
5142 * docs/libs/.cvsignore:
5143 * docs/plugins/.cvsignore:
5144 Ignore files generated by new common/* modifications
5146 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5148 * win32/common/libgstbase.def:
5149 Yes, you can also have a <TAB> if you want.
5151 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5153 * win32/common/libgstbase.def:
5154 Add new basetransform API to win export file.
5156 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5158 * tests/check/gst/gstbin.c:
5159 Adjust the test to the refcount change two days ago.
5161 2007-12-14 David Schleef <ds@schleef.org>
5163 * docs/faq/getting.xml: Fix typo.
5165 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5167 * docs/libs/gstreamer-libs-sections.txt:
5168 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5169 (gst_base_transform_prepare_output_buffer),
5170 (gst_base_transform_set_gap_aware):
5171 * libs/gst/base/gstbasetransform.h:
5172 API: Add gst_base_transform_set_gap_aware() to control whether
5173 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5174 get buffers with this flag at all. Fixes #503231.
5176 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5178 * libs/gst/base/gstbasesink.c:
5179 * libs/gst/base/gstbasesrc.c:
5180 * libs/gst/base/gstbasetransform.c:
5181 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5182 thread. Correct log message in gstbasesrc.c.
5184 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5186 * gst/gstutils.c: (element_find_unconnected_pad):
5187 Fix possible compiler warning (#503417).
5189 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5191 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5192 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5194 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5196 * tools/gst-inspect.c: (print_element_properties_info):
5197 Add support for GstFraction properties.
5199 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5202 Add check-exports target and run it as part of 'make check'
5203 (see #499140 and #493983).
5205 * gst/gst_private.h:
5206 * gst/gstelementfactory.h:
5207 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5208 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5209 (_priv_gst_in_valgrind):
5210 * gst/gstinfo.h: (GstLogFunction):
5211 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5212 (gst_type_find_register):
5213 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5214 (gst_type_find_factory_get_type):
5215 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5216 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5217 (gst_controller_new_valist), (gst_controller_new_list),
5218 (_gst_controller_dispose), (_gst_controller_class_init):
5219 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5220 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5221 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5222 (gst_object_get_controller), (gst_object_set_controller),
5223 (gst_object_suggest_next_sync), (gst_object_sync_values),
5224 (gst_object_set_control_source), (gst_object_get_control_source),
5225 (gst_object_get_value_arrays), (gst_object_get_value_array),
5226 (gst_object_get_control_rate), (gst_object_set_control_rate):
5227 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5228 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5229 Make some functions that should be static static; rename some
5230 private symbols so that they don't get exported; add some FIXME
5231 comments so we can move accidentally exported functions into
5232 our private section in 0.11.
5234 * win32/common/libgstreamer.def:
5235 Add gst_utils_get_timestamp().
5237 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5241 Add more missing "Since:" tags to docs.
5243 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5246 Add mising "Since:" to docs.
5248 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5251 Include "glib-compat-private.h" to fix the build on system with
5252 glib < 2.10. Fixes #503131.
5254 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5258 Actually its not PURE as it gets the time from elsewhere.
5260 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5262 * docs/gst/gstreamer-sections.txt:
5264 * gst/gstdebugutils.c:
5268 * libs/gst/base/gstbasesink.c:
5269 * tools/gst-launch.c:
5270 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5271 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5272 Thanks Tim for spotting.
5273 API: gst_util_get_timestamp
5275 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5278 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5280 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5282 * gst/gststructure.c: (gst_structure_validate_name),
5283 (gst_structure_new_valist), (gst_structure_parse_value),
5284 (gst_structure_from_string):
5285 Don't crash in _from_string() if the structure name is not valid
5286 (fixes #501560). Allow structure names to start with a number
5287 again (this apparently broke the ubuntu codec installer).
5289 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5291 Add unit test for the crash; update unit tests for new behaviour.
5293 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5296 Clarify gst_element_get_compatible_pad() documentation.
5299 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5301 * tests/check/Makefile.am:
5302 Don't forget to dist {gst,libs}/struct_hppa.h.
5304 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5306 * libs/gst/base/gstbasesink.c:
5307 Use new API to get elapsed time.
5309 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5311 * gst/gstdebugutils.c:
5313 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5315 * tools/gst-launch.c:
5316 Use new API to get elapsed time.
5318 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5320 * docs/gst/gstreamer-sections.txt:
5322 * gst/gstdebugutils.c:
5324 Rename new API + ChangeLog surgery to remove old name from last entry..
5326 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5328 * docs/gst/gstreamer-sections.txt:
5330 * gst/gstdebugutils.c:
5332 Now hide the different clock stuff behind a macro.
5334 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5337 * gst/gstdebugutils.c:
5339 Apply the posix-timer check from #361155. Conditionally use the posix
5340 timer for logging. This gives better timestamp precission, less
5341 overhead and no ntp jitter.
5343 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5345 * gst/gstminiobject.c: (gst_mini_object_get_type),
5346 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5347 (gst_mini_object_finalize), (gst_mini_object_copy),
5348 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5349 (gst_mini_object_replace), (param_mini_object_validate),
5350 (gst_param_spec_mini_object_get_type):
5351 Some cleanup and checking against invalid function parameters.
5353 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5355 * docs/gst/gstreamer-sections.txt:
5357 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5358 (gst_systemclock_suite):
5359 Start merging in the easy bits of #361155, the monotonic clock patch.
5360 This one adds a few handy macros with docs and a testsuite.
5362 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5364 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5365 Be a bit smarter when seeking, like, don't try to do a seek when it's
5366 not needed. This avoids errors when the file is not seekable.
5369 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5371 * docs/gst/gstreamer-docs.sgml:
5372 * docs/gst/gstreamer-sections.txt:
5373 * docs/gst/gstreamer.types.in:
5378 * plugins/elements/gstqueue.c:
5379 Due to popular request remove preset interface again. :-(.
5381 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5383 * tools/gst-inspect.c:
5384 Print 'default value' for enums and flags too.
5386 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5388 * docs/random/ensonic/profiling.txt:
5392 Fix typo and give better log output.
5394 * gst/gstdebugutils.c:
5395 * gst/gstdebugutils.h:
5396 More ideas, make graphs a bit smaller and fix param name in macro.
5398 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5401 Try harder to use the return value from fgets().
5403 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5406 For theses two fgets we handle the error below.
5408 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5410 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5411 Only send upstream events upstream. Fixes #498746.
5413 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5415 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5417 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5418 (gst_identity_init), (gst_identity_transform_ip),
5419 (gst_identity_set_property), (gst_identity_get_property):
5420 * plugins/elements/gstidentity.h:
5421 Add property to disable handoff signal emission. Fixes #498694.
5422 API: GstIdentity::signal-handoffs
5424 2007-11-21 Julien Moutte <julien@fluendo.com>
5426 * docs/faq/gst-uninstalled: Yet another missing library for the
5427 uninstalled script (fft)
5429 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5431 * docs/faq/developing.xml:
5432 Add a question about how to submit new translations.
5434 * docs/random/release:
5435 Update the contact email address for the Translation Project
5437 * plugins/elements/gstfdsrc.c:
5438 The parent_class for fdsrc is pushsrc, not GstElement.
5440 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5443 Plug a leak and fix saving.
5445 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5447 * docs/gst/gstreamer-sections.txt:
5448 Add new gst_preset__get_property_names() function to the docs
5451 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5455 Change _get_preset_names API to return a strv with copies. Add
5456 _get_property_names to allow implementations to filter and provide
5457 good default implementation.
5459 2007-11-20 Julien MOUTTE <julien@moutte.net>
5461 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5464 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5467 More cleanups, docs, and TODOs from comments that now slowly come in.
5469 2007-11-19 Julien MOUTTE <julien@moutte.net>
5471 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5474 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5477 Fix bogus warning and make the property type specific code more
5480 2007-11-19 Julien MOUTTE <julien@moutte.net>
5482 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5485 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5487 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5488 (gst_bin_add_func), (gst_bin_remove_func),
5489 (gst_bin_change_state_func), (gst_bin_continue_func):
5490 Change email, cleanups add some more debug and comments.
5491 Also set bus and clock on new elements when the pipeline was in error.
5493 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5496 * gst/gstdebugutils.c:
5497 Fix build with --disable-gst-debug. Fixes #497859.
5498 Spotted by Sameer Naik.
5500 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5503 Little documentation improvment.
5506 More TODO cleanups. Remove c++ comments.
5508 * libs/gst/controller/gstcontroller.c:
5509 Add TODO and use quark from static string.
5511 * tests/check/gst/gstmessage.c:
5512 * tests/check/gst/gststructure.c:
5513 Use quark from static string.
5515 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5518 Add some comments and TODOs.
5521 Add padding for future changes.
5523 * plugins/elements/gstqueue.c:
5524 Implement the iface.
5526 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5528 * docs/gst/gstreamer-docs.sgml:
5529 * docs/gst/gstreamer-sections.txt:
5530 * docs/gst/gstreamer.types.in:
5535 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5537 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5543 === release 0.10.15 ===
5545 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5548 releasing 0.10.15, "October"
5550 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5552 * win32/vs6/libgstreamer.dsp:
5553 Convert line endings back to DOS.
5555 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5557 * docs/design/draft-tagreading.txt:
5558 * docs/random/ensonic/profiling.txt:
5559 Update fast tagreading draft and performance profiling ideas.
5561 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5563 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5564 Don't hold the object lock when unreffing a buffer because it could
5565 cause a deadlock when the finalize function wants to grab the object
5566 lock too. Fixes #495133.
5568 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5570 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5571 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5572 Also accumulate time correctly when doing reverse playback. Fixes
5574 When converting to running and stream time, use default values for
5575 start/stop/time/accum when comparing different formats. Fixes #494245.
5577 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5578 Do running/stream time in TIME format.
5580 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5581 (gst_segment_suite):
5582 2 new unit tests for segment accumulation.
5584 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5586 * gst/gst.c: (init_pre):
5587 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5588 (_gst_debug_bin_to_dot_file):
5589 Move getenv() back into gst_init, so everyone can live happily
5590 ever after. Make sure the symbol isn't exported though.
5592 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5594 Patch by: Sebastien Moutte <sebastien moutte net>
5596 * win32/common/gstenumtypes.c:
5597 * win32/common/gstenumtypes.h:
5600 * win32/vs6/libgstreamer.dsp:
5601 Update vs6 project files (#494343).
5603 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5605 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5606 (gst_base_src_perform_seek), (gst_base_src_default_event),
5607 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5608 (gst_base_src_activate_pull):
5609 Unify flushing code, remove some old unlock code that is no longer used.
5610 Take the streaming lock when seeking to avoid races. Fixes #492729.
5611 Added some more comments.
5613 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5615 * gst/gst.c: (_gst_disable_segtrap):
5616 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5617 we can use gst_segtrap_is_enabled() there now that we have that API.
5618 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5619 to do the getenv here (and export the variable).
5621 * gst/gstdebugutils.c: (debug_dump_element),
5622 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5623 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5625 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5626 (gst_debug_log_default):
5627 Rename _gst_info_start_time to priv_gst_info_start_time so it
5628 doesn't get exported (was never in any header).
5630 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5631 (gst_plugin_loading_mutex):
5632 Make static mutex gst_plugin_loading_mutex really static (was never
5633 in any header), and use gst_segtrap_is_enabled() instead of
5634 _gst_disable_segtrap.
5636 * gst/gsttrace.c: (_gst_trace_default):
5637 Make local _gst_trace_default static (was never in any header).
5639 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5641 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5643 * win32/common/libgstbase.def:
5644 * win32/common/libgstcontroller.def:
5645 * win32/common/libgstdataprotocol.def:
5646 * win32/common/libgstnet.def:
5647 * win32/common/libgstreamer.def:
5648 Add more missing symbols, remove some duplicates, and sort
5649 as the 'sort' command sorts it (partially fixes #493983).
5651 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5653 * gst/gstelement.c: (gst_element_set_state_func):
5654 Only change the state cookie if a different state was set on the
5655 element. See #492729.
5657 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5660 Remove unused and uninitialised type variables that were still
5661 exported for some reason (they were never in any header files
5664 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5666 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5667 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5668 (gst_base_sink_event), (gst_base_sink_get_position_last),
5669 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5670 (gst_base_sink_change_state):
5671 Don't try to report a 0 position when we don't know, return -1 and FALSE
5672 instead. This mostly happens when we are prerolling.
5673 Make sure we can report the right position before we post the ASYNC_DONE
5674 message so that a message handler can query position without races.
5676 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5677 (async_done_handoff), (async_done_func), (send_buffer),
5678 (async_done_eos_func), (gst_sinks_suite):
5679 Add two tests for the above.
5681 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5684 Update with new email address.
5686 * docs/design/part-TODO.txt:
5687 Add some more info about future pad-block and negotiation changes.
5689 * docs/design/part-buffering.txt:
5690 Add some ideas about buffering reporting.
5692 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5694 * tests/check/gst/gstobject.c:
5695 Disable silly racy test that always fails on this combination of CPU
5698 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5700 Patch by: Murray Cumming <murrayc@murrayc.com>
5703 Corrected the registration of the parent-set and parent-unset
5704 signals: The parameter is a GstObject, not a GObject (#493134).
5706 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5708 * gst/gst_private.h:
5717 Move declaration of private _gst_foo_initialize() functions into
5718 our private header file where they should have been all along.
5720 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5722 * docs/plugins/gstreamer-plugins-sections.txt:
5723 * gst/gstdebugutils.h:
5725 * plugins/elements/gstqueue.c:
5726 gtk-doc fixes; trailing-comma-in-enum fix.
5728 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5730 * gst/gst.c: (gst_deinit):
5731 Clean up on deinit (not the external ones though, doesn't seem to be
5732 needed for some reason).
5734 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5736 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5737 Remove __declspec(dllimport) for MSVC that was copied over into core
5738 from a plugin, obviously without ever having been tested (note the
5739 single underscore in _declspec in the initial commit), and that doesn't
5740 really make sense. See #492077.
5742 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5744 * gst/gst.c: (init_post):
5745 * gst/gstevent.c: (_gst_event_initialize):
5746 * gst/gstquery.c: (_gst_query_initialize):
5747 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5748 g_type_class_ref() other types as well, see #349410 and #64764.
5750 * gst/gstbuffer.c: (_gst_buffer_initialize):
5751 * gst/gstmessage.c: (_gst_message_initialize):
5752 Simplify existing g_type_class_ref().
5754 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5756 * gst/gstformat.c: (_gst_format_initialize):
5757 g_type_class_ref() our GstFormat type to make sure we avoid the
5758 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5759 bug #64764. Should fix intermittent tee unit test failures (#474823).
5761 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5763 * tests/check/elements/tee.c: (test_num_buffers):
5764 Simplify, simplify, simplify - or not. Rewrite unit test
5765 not to use gst_parse_launch(); allow N sub-streams. Increasing
5766 the number of sub-streams seems to reproduce #474823 more easily.
5768 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5770 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5773 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5774 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5775 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5776 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5777 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5778 so use _pipe() directly (#492077).
5780 * win32/common/dirent.c: (_treaddir):
5781 Add a couple of casts to make it build without warnings with MSVC.
5783 * win32/common/libgstreamer.def:
5784 Add some more symbols that need to be exported.
5786 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5788 * tests/examples/metadata/read-metadata.c: (message_loop):
5789 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5790 arriving in a second or third tag message are added to
5791 the tag list as well.
5793 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5795 * libs/gst/base/gstbasesrc.c:
5796 Its "Since:" and not "@Since:". And remove an superflous cast.
5798 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5800 * docs/libs/gstreamer-libs-sections.txt:
5801 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5802 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5803 (gst_base_sink_get_property), (gst_base_sink_render_object),
5804 (gst_base_sink_preroll_object),
5805 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5806 (gst_base_sink_change_state):
5807 * libs/gst/base/gstbasesink.h:
5808 Add a new last-buffer property that contains the last buffer used in
5809 basesink for preroll or rendering. useful for making snapshots.
5810 API: gst_base_sink_get_last_buffer()
5811 API: GstBaseSink::last-buffer
5813 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5815 * docs/gst/running.xml:
5817 * gst/gstdebugutils.c:
5818 * gst/gstdebugutils.h:
5819 * tools/gst-launch.c:
5820 Improve bin graph dumping, by using the envvar to specify a path.
5821 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5823 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5825 * plugins/elements/gsttypefindelement.c:
5826 (gst_type_find_element_handle_event),
5827 (gst_type_find_element_activate):
5828 Post special error message if we can't determine the type of a stream
5831 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5833 * docs/gst/running.xml:
5834 * gst/gstdebugutils.c:
5835 Document new env-var. Add one log-line after dumpng a graph.
5837 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5840 Ugly hack to put the (recently removed and non-portable, apparently)
5841 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5842 GNU ld, because without that 'make check' fails miserably on my debian
5843 stable box. Someone with more knowledge of linker intricacies and
5844 portability issues than me fix this properly please.
5846 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5848 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5849 Reset last seen position after flushing so that we don't report the old
5852 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5854 * gst/gstelementfactory.c: (gst_element_register):
5856 Patch from Alessandro Decina adding get_type_full and
5857 get_protocols_full private vfuncs to the URIHandler interface
5858 to allow bindings to support creating URI handlers.
5859 Partially fixes: #339279
5860 API: GstURIHandlerInterface::get_type_full
5861 API: GstURIHandlerInterface::get_protocols_full
5863 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5865 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5866 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5867 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5868 Make it so that pads are considered linked until a buffer is pushed
5869 and discovered otherwise. This avoids problems with decodebin2 hanging
5870 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5873 Make sure we lock the multiqueue when updating the max-size properties.
5875 Fix a crash on Solaris in a debug statement in get_request_pad that
5876 passes a NULL string to GST_DEBUG.
5878 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5879 (run_output_order_test):
5880 Fix the test to allow the first buffer on not-linked pads to come out
5881 of sequence while multiqueue discovers that they are not-linked.
5883 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5886 * libs/gst/check/Makefile.am:
5887 Use a custom export symbol regex for libgstcheck, as it needs
5888 to export symbols that don't match the standard GStreamer gst_*
5889 pattern, and --export-dynamic is not portable (only works on
5892 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5893 (gst_check_setup_sink_pad):
5894 Make sure to pass a message parameter to the fail_* macros.
5896 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5897 Fix some compiler warnings.
5899 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5901 * tests/check/gst/gststructure.c: (test_to_string):
5902 Disable test that checks that white spaces are not allowed
5903 in structure names or field names, since we need to
5904 support that for now for backwards compatibility reasons.
5906 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5908 * docs/gst/gstreamer-sections.txt:
5911 API: add GST_TAG_ARTIST_SORTNAME
5912 API: add GST_TAG_ALBUM_SORTNAME
5913 API: add GST_TAG_TITLE_SORTNAME
5914 Add tag variants for sorting (#414539).
5916 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5918 * gst/gststructure.c:
5919 Also allow white space for names so we don't break
5920 backwards compatibility.
5922 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5924 * docs/design/part-TODO.txt:
5925 * docs/design/part-segments.txt:
5926 * docs/design/part-streams.txt:
5929 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5931 * docs/gst/gstreamer-sections.txt:
5932 Fixed documentation from my previous commit (added new API add
5933 gst_value_set_structure(), add gst_value_get_structure() and
5934 GST_VALUE_HOLDS_STRUCTURE).
5936 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5938 * gst/gstdebugutils.c:
5939 Reflow code to fix uninitialized variable warning.
5941 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5943 * gst/gstcaps.c: (gst_caps_to_string),
5944 (gst_caps_from_string_inplace):
5945 * gst/gststructure.c: (gst_structure_get_abbrs),
5946 (gst_structure_to_string), (gst_structure_from_string):
5947 * gst/gstvalue.c: (gst_value_set_structure),
5948 (gst_value_get_structure), (gst_value_serialize_structure),
5949 (gst_value_deserialize_structure), (_gst_value_initialize):
5951 * tests/check/gst/gststructure.c: (GST_START_TEST),
5952 (gst_structure_suite):
5953 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5954 Added GstStructure to gst_value_table and its related functions.
5955 Changed gst_structure_to_string to print ';' in the end.
5956 Changed gst_caps_to_string to not print ';' beteween its
5957 fields (structures) anymore and remove the lastes ';' from latest
5958 structure. Now it is possible to have nested structures.
5959 In addition, backward compatibilty is assured by accepting '\0' as
5960 end delimiter. Fixes: #487969.
5961 API: add gst_value_set_structure()
5962 API: add gst_value_get_structure()
5963 API: add GST_VALUE_HOLDS_STRUCTURE
5965 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5968 When no GSource callback has been set up, tell developer
5969 to use a function that actually exists.
5971 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5973 * docs/gst/gstreamer-sections.txt:
5977 * gst/gstdebugutils.c:
5978 * gst/gstdebugutils.h:
5981 * tools/gst-launch.c:
5982 Allow dumping pipelines as dot graphs. Fixes #456573.
5984 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5986 * gst/gststructure.c:
5987 Allow '+' as well, it can be part of media or mime types
5988 such as image/svg+xml.
5990 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5992 * docs/gst/gstreamer-sections.txt:
5995 API: add gst_bus_pop_filtered
5996 API: add gst_bus_timed_pop_filtered
5997 Two new functions for waiting for specific message types on the
5998 bus for a specified amount of time without iterating any main
5999 loops or main contexts.
6001 * tests/check/gst/gstbus.c:
6002 Some tests for the new functions.
6004 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6006 * docs/libs/gstreamer-libs-sections.txt:
6007 Make gtk-doc ignore stuff it should ignore.
6009 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6011 * libs/gst/check/gstcheck.c:
6012 * libs/gst/check/gstcheck.h:
6013 Allow runtime selection of unit tests to run via the GST_CHECKS
6014 environment variable (test case function names, comma-separated).
6016 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6018 * gst/gststructure.c:
6019 * tests/check/gst/gststructure.c:
6020 Revert serialisation change and constrain structure-names after
6021 consensus on irc. Update api documentation to reflect the change.
6023 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6025 * gst/gststructure.c:
6026 Improve serialization and fix tests.
6028 * tests/check/gst/gststructure.c:
6029 Add another test that covers why I actually did the previous structure
6032 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6034 * tools/gst-inspect.c: (print_element_info):
6035 Don't crash when inspecting an element.
6037 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6039 * tests/check/gst/gststructure.c:
6040 Add unit test for escaping of structure name when serialising
6041 and deserialising to/from strings.
6043 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6045 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6046 (gst_single_queue_new):
6047 * plugins/elements/gstqueue.c: (gst_queue_init),
6048 (gst_queue_push_one):
6049 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6050 upstream is tricked into thinking it can suggest a format downstream
6051 while downstream does not support that format. The real problem is that
6052 core calls acceptcaps when pushing a buffer with new caps, for which we
6053 do a little workaround by setting the caps on the srcpad ourselves
6054 before pushing the buffer (until this is figured out). Fixes #486758.
6056 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6058 * gst/gststructure.c:
6060 Add some more comments and debug output. Quote structure name to fix
6061 deserialisation of some strings.
6063 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6066 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6067 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6069 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6071 * tools/gst-inspect.c:
6072 Save approx. 400 1 byte allocs when printing. Use API to acces element
6078 * tools/gst-xmlinspect.c:
6079 Use API to acces element details.
6081 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6084 Fix some spelling errors.
6086 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6088 * gst/gstbin.c: (bin_handle_async_done):
6089 Correctly set the next state if all of our async children commited their
6090 state. This makes sure we can actually cancel the state change in
6091 progress. Fixes a regression in Rhythmbox when seeking.
6093 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6096 Don't shadow local variable.
6099 Don't shadow global function name.
6101 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6103 * gst/gstelementfactory.c:
6104 * gst/gstpluginfeature.c:
6105 * gst/gstpluginfeature.h:
6106 * gst/gstregistrybinary.c:
6107 * gst/gstregistryxml.c:
6108 * gst/gsttypefind.c:
6109 Use already-interned string for the private GstPluginFeature
6112 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6114 * docs/libs/gstreamer-libs-sections.txt:
6115 Add new API to docs; fixes the build.
6117 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6119 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6121 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6122 (gst_base_sink_event):
6123 * libs/gst/base/gstbasesink.h:
6124 Add function to wait for EOS, subclasses can use this to correctly wait
6125 for devices to drain before performing the EOS logic. Fixes #485343.
6126 API: gst_base_sink_wait_eos()
6128 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6131 Cast description string constants in GST_PLUGIN_DEFINE macros
6132 to a (gchar*) to make C++ code using these macros compile
6133 without warning with g++-4.2 (see #462737). Even if slightly
6134 ugly, this seems preferable to putting the description strings
6135 into the GLib quark table or making the structure member a
6136 const gchar * and doing casts in core code that allocs and
6137 frees these strings, or requiring a cast in the C++ code.
6139 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6142 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6143 to print the entire class/function signature into the log
6144 file for C++ code. This only affects C++ code, for C code
6145 everything remains the same.
6147 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6149 * gst/gstbin.c: (remove_from_queue):
6150 Work around a problem with pipelines containing (semi)loops until a
6151 proper, more complicated solution is ready. See #475455.
6153 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6157 * gst/gstregistrybinary.c:
6158 * gst/gstregistryxml.c:
6159 Put more strings into the GLib quark table. No need to keep
6160 a hundred-something copies of identical version strings,
6161 license strings, package name strings and package origin
6164 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6166 * docs/manual/advanced-dataaccess.xml:
6167 Don't imply that it's okay to unconditionally change
6168 buffer data or buffer metadata in a pad probe callback,
6169 and a bunch of other comments. Fixes #430031.
6171 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6173 * win32/common/gstenumtypes.c:
6174 * win32/common/gstenumtypes.h:
6175 * win32/common/gstversion.h:
6176 Update generated files.
6178 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6180 * docs/manual/advanced-autoplugging.xml:
6181 Prefix section with broken code with a warning (see #342432).
6183 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6185 * docs/manual/appendix-integration.xml:
6186 * docs/manual/basics-init.xml:
6187 Call g_thread_init() before g_option_context_new() to
6188 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6190 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6192 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6193 (gst_base_sink_queue_object_unlocked),
6194 (gst_base_sink_queue_object), (gst_base_sink_event),
6195 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6196 When we received EOS and are waiting for when to post the EOS message,
6197 our state is prerolled and we should not return ASYNC.
6198 Reorganize some code paths to implement this behavior.
6200 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6202 Add unit test to verify above EOS fix.
6204 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6206 * plugins/elements/gsttypefindelement.c:
6207 (gst_type_find_element_have_type), (gst_type_find_element_init),
6208 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6209 Move detecting the input caps of the sinkpad to the setcaps function.
6210 This allows us to update the output caps when we receive new input caps
6211 instead of always using the first detected caps.
6213 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6215 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6216 (gst_base_sink_get_position):
6217 Don't try to preroll non-async elements after a flush.
6218 Subtract latency form clock times when reporting position.
6220 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6222 * gst/gstpad.c: (gst_pad_pause_task):
6224 Small comment and documentation update.
6226 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6228 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6229 (gst_base_src_set_live), (gst_base_src_is_live),
6230 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6231 (gst_base_src_default_event), (gst_base_src_wait),
6232 (gst_base_src_do_sync), (gst_base_src_get_range),
6233 (gst_base_src_pad_get_range), (gst_base_src_loop),
6234 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6235 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6236 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6237 (gst_base_src_change_state):
6238 Rework the locking of basesrc in a similar fashion to basesink. We
6239 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6240 us to handle live sources and semi live ones much better.
6242 Fix unlocking when seeking, shutting down and pausing in live sources.
6244 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6246 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6247 Fix compilation again.
6249 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6252 Use meaningful categories for the logs to clean the default one.
6254 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6256 * tests/check/pipelines/cleanup.c:
6257 Print message name and not just number.
6259 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6261 * docs/design/draft-tagreading.txt:
6262 Add some more thoughts.
6264 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6266 * tests/check/pipelines/simple-launch-lines.c:
6267 Print message name and not just number.
6269 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6271 * libs/gst/base/gsttypefindhelper.c:
6272 Speedup typefinding. This is work in progress (see #459862).
6274 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6277 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6278 Spotted by Josep Torra Valles <josep@fluendo.com>.
6280 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6283 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6284 field has moved to GstObject.
6286 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6288 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6289 (gst_base_src_get_range), (gst_base_src_change_state):
6290 Call unlock for live sources so that they can't get stuck in _create and
6291 produce a buffer before they are set back to PLAYING.
6293 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6295 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6296 (gst_queue_locked_dequeue):
6297 Comment the segment-related code... in the PROPER function.
6298 See #482147 and my commit from yesterday.
6300 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6302 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6303 Also initialize the counter that calculates the first timestamp on a
6304 buffer correctly for non-live sources.
6306 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6308 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6309 Disable code that's breaking the current-time-level reporting.
6312 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6314 * docs/gst/gstreamer-sections.txt:
6315 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6316 as they shouldn't show up. Fixes the docs build.
6318 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6321 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6322 Define M_PI which is used in files which are including gstinfo.h.
6323 VS6 includes doesn't define it.
6324 * win32/common/libgstbase.def:
6325 * win32/common/libgstcontroller.def:
6326 * win32/common/libgstreamer.def:
6327 Add new exported functions and variables.
6328 * win32/vs6/libgstcontroller.dsp:
6329 * win32/vs6/libgstreamer.dsp:
6330 Update the list of files to build.
6332 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6334 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6336 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6337 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6338 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6339 Improve debugging. Fixes #480858.
6341 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6343 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6345 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6346 First patch of code cleanups, use the macros and right arguments in the
6347 macros to signal and lock the queue. See #480858.
6349 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6351 * gst/gstbus.c: (poll_func):
6352 Improve debugging when dealing with _poll().
6354 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6356 * gst/gstregistryxml.c:
6357 Fix memory leak I introduced a few days ago.
6359 2007-09-26 Michael Smith <msmith@fluendo.com>
6361 * gst/gstbuffer.c: (gst_buffer_finalize):
6362 Make it once again possible to free GstBuffers in the default
6364 The poisoning scribbles on parts of the miniobject we need in
6368 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6370 * docs/gst/gstreamer-sections.txt:
6373 API: add GST_TAG_COMPOSER, fixes #459809.
6375 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6379 Add the 3-clause BSD license and the MIT/X11 license to the license
6380 list. Fixes #479784.
6382 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6384 * docs/faq/getting.xml:
6385 Add Q+A about different GStreamer versions (#364056).
6387 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6389 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6390 (gst_base_sink_event), (gst_base_sink_change_state):
6391 Return correct gboolean from query function.
6393 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6395 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6396 (gst_base_sink_event), (gst_base_sink_query),
6397 (gst_base_sink_change_state):
6398 Simplify latency query.
6399 When not synchronizing, we can report latency without querying the peer
6402 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6406 Fix small typos in the docs.
6408 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6410 * docs/design/draft-latency.txt:
6411 * docs/design/draft-push-pull.txt:
6412 * docs/design/draft-tagreading.txt:
6413 * docs/design/part-MT-refcounting.txt:
6414 * docs/design/part-activation.txt:
6415 * docs/design/part-block.txt:
6416 * docs/design/part-element-source.txt:
6417 * docs/design/part-events.txt:
6418 * docs/design/part-gstbin.txt:
6419 * docs/design/part-gstelement.txt:
6420 * docs/design/part-gstobject.txt:
6421 * docs/design/part-gstpipeline.txt:
6422 * docs/design/part-messages.txt:
6423 * docs/design/part-preroll.txt:
6424 * docs/design/part-push-pull.txt:
6425 * docs/design/part-qos.txt:
6426 * docs/design/part-query.txt:
6427 * docs/design/part-scheduling.txt:
6428 * docs/design/part-seeking.txt:
6429 * docs/design/part-segments.txt:
6430 * docs/design/part-states.txt:
6431 Documentation updates and typo fixes.
6433 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6435 * plugins/elements/gstfakesink.c:
6436 Add some debug text to error message to indicate that
6437 we errored out on request.
6439 * tools/gst-launch.c:
6440 When the state change to PLAYING fails, check for an
6441 error message on the bus and print it.
6443 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6445 translated by: Jorge González González <aloriel@gmail.com>
6449 Added Spanish translation.
6451 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6453 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6454 Fix printf arguments.
6456 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6458 * tests/check/generic/states.c:
6459 Improved state change unit test.
6461 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6464 Move priv to the right place.
6466 * gst/gstsystemclock.c:
6467 Add FIXME: and improve log.
6469 * tests/check/Makefile.am:
6470 * tests/examples/manual/Makefile.am:
6471 Work with all types of registries.
6473 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6475 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6476 Don't unref the event after pushing it. Fixes #478401.
6478 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6481 * tests/examples/manual/.cvsignore:
6482 Ignore registries in any format.
6484 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6486 * gst/glib-compat-private.h:
6487 Add compatibility macro for g_intern_string() for
6488 GLib-2.8 (any reason we can't just bump the
6489 requirement to at least 2.10?)
6491 * gst/gstpadtemplate.h:
6492 * gst/gstelementfactory.c:
6493 * gst/gstregistryxml.c:
6494 * gst/gstregistrybinary.c:
6495 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6496 up the internal code accordingly. This shouldn't be a problem, since
6497 there is no reason external code could ever assume the string in such
6498 a structure is dynamically allocated unless it did that itself; the
6499 use of g_strdup() is private to element factories. The new code also
6500 saves some memory by putting pad template name strings into the GLib
6501 quark table instead of allocating them dynamically.
6502 Declaring this field constant fixes warnings with g++-4.2 when using
6503 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6505 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6507 * gst/gstelementfactory.c:
6508 Release static caps. Fixes #475723.
6510 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6514 Make some internal API take const gchar * instead of just
6515 gchar * to avoid compiler warnings with g++-4.2.2 when
6516 passing string constants (partially fixes #478092).
6518 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6520 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6521 A latency query fails when one of the sinks fail.
6523 * gst/gstelement.c: (gst_element_set_base_time):
6526 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6528 * gst/gstbin.c: (gst_bin_continue_func):
6529 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6531 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6533 Fix minor compilation warnings shown with Forte.
6535 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6537 * plugins/elements/gstqueue.c: (apply_buffer),
6538 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6539 Measure queue level based on the diff between head and tail timestamps
6540 even when pushing the first buffer.
6542 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6544 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6545 (gst_base_sink_event), (gst_base_sink_change_state):
6546 Sinks that don't preroll can always be queried for the latency.
6547 Don't post ASYNC start when we are not async.
6549 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6551 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6552 (gst_queue_handle_sink_event), (gst_queue_chain),
6553 (gst_queue_push_one), (gst_queue_handle_src_query),
6554 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6555 * plugins/elements/gstqueue.h:
6556 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6557 push more buffers but allow pushing of EOS and NEWSEGMENT.
6558 Add some more debug info here and there. Fixes #476514.
6560 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6562 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6563 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6564 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6565 (gst_base_sink_set_flushing), (gst_base_sink_query),
6566 (gst_base_sink_change_state):
6567 Latency query is allowed after we are prerolled. Introduce a new flag
6568 for this and stop abusing other variables.
6570 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6572 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6573 Push OOB events downstream when we get them in send_event. This allows
6574 the application to insert events in the pipeline.
6575 Add some more comments.
6577 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6579 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6580 (do_bin_latency), (gst_bin_change_state_func):
6581 * gst/gstpipeline.c: (gst_pipeline_change_state):
6582 Move latency query from GstPipeline to GstBin so that we can also
6583 use it when async-handling is enabled on bins.
6585 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6587 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6588 (gst_base_src_do_sync), (gst_base_src_change_state):
6590 Clean up the timestamping and syncing code for pseudo live sources.
6592 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6594 Patch by: Steve Fink <sphink gmail com>
6596 * docs/manual/appendix-checklist.xml:
6597 Mention less -R switch in the section about debug output (#474055).
6599 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6601 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6602 Queue can latency to the pipeline up to the configured max size in time.
6603 Report this fact in the latency query.
6605 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6607 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6609 * libs/gst/controller/gstinterpolation.c:
6610 * libs/gst/controller/gstlfocontrolsource.c:
6611 Use gst_guint64_to_gdouble() when converting from a uint64 or
6612 GstClockTime to double to fix the build on win32. Fixes #474371.
6614 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6616 * gst/gstbuffer.c: (gst_buffer_finalize):
6617 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6618 When finalizing a buffer the complete struct is filled with 0xff,
6619 thus making a use of the buffer after the final unref impossible.
6621 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6623 * tests/check/libs/controller.c: (GST_START_TEST):
6624 Use fail_unless_equals_int(a, b) instead of
6625 fail_unless_equals (a == b) to get better output on failures.
6627 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6629 * tests/check/gst/gsturi.c:
6630 Also check for the other file URI variant on win32.
6632 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6634 * gst/gsturi.c: (gst_uri_get_location):
6635 If there's no hostname, we want to return 'c:/foo/bar.txt'
6636 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6638 * tests/check/gst/gsturi.c:
6639 Unit test for the above and a few more things.
6641 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6643 * docs/design/part-live-source.txt:
6644 Add docs on how live sources should timestamp.
6646 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6647 Add some more debug info.
6648 For subclasses that are live and like to sync, add aditional startup
6649 latency to sync time and timestamps so that we timstamp according to the
6652 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6655 Also do a g_type_class_ref() for the subbuffer type in
6658 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6660 * docs/gst/gstreamer-sections.txt:
6661 * gst/gstpad.c: (gst_pad_peer_query):
6663 Add function to perform a query on the peer of a pad.
6664 API: gst_pad_peer_query()
6666 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6668 * tests/check/gst/gstsystemclock.c:
6669 Cleanup the test a little (use gst-logging and not g_message). Improve
6670 test to check if a wait reached the target.
6672 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6674 * docs/libs/gstreamer-libs-sections.txt:
6675 Add new API to docs and fix the build.
6677 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6679 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6680 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6681 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6682 (gst_base_src_get_property), (gst_base_src_do_sync):
6683 * libs/gst/base/gstbasesrc.h:
6684 Add property to make the basesrc timestamp buffers based on the current
6686 API: GstBaseSrc::do-timestamp
6687 API: gst_base_src_set_do_timestamp()
6688 API: gst_base_src_get_do_timestamp()
6690 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6692 * docs/random/release:
6693 Really make sure translations are up-to-date before
6694 a release (#465010).
6696 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6698 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6699 Always destroy the timer, also in error cases.
6701 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6703 * docs/manual/highlevel-xml.xml:
6704 Fix XML example code. Fixes #472714.
6706 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6708 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6709 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6710 (gst_base_sink_query):
6711 Protect eos and have_preroll with the OBJECT lock so we don't need to
6712 take the PREROLL lock when querying the latency. Fixes #473846.
6714 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6717 Give some log-messages a category.
6719 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6721 * gst/gststructure.c:
6722 (gst_structure_fixate_field_nearest_fraction):
6723 Fix fraction list fixation code. Take the fraction with the smallest
6724 difference with the target instead of the first one in the list.
6726 * tests/check/gst/gststructure.c: (GST_START_TEST),
6727 (gst_structure_suite):
6728 Added test to verify correct fraction list fixation behaviour.
6730 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6732 * win32/common/libgstreamer.def:
6733 Export gst_bus_add_signal_watch too.
6735 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6737 * docs/libs/gstreamer-libs-sections.txt:
6738 Add new methods to docs.
6740 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6741 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6742 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6743 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6744 * libs/gst/base/gstbasesink.h:
6745 Add ts-offset property to fine-tune the synchronisation.
6746 API: GstBaseSink::ts-offset property
6747 API: gst_base_sink_set_ts_offset()
6748 API: gst_base_sink_get_ts_offset()
6750 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6752 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6753 (gst_base_sink_init), (gst_base_sink_set_sync),
6754 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6755 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6756 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6757 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6758 (gst_base_sink_get_property), (gst_base_sink_change_state):
6759 * libs/gst/base/gstbasesink.h:
6760 Add async property to instruct the sink never to inform the parent about
6761 ASYNC state changes, update docs.
6762 Check argument with g_return_* for the public functions.
6763 API: GstBaseSink::async property
6764 API: gst_base_sink_set_async_enabled()
6765 API: gst_base_sink_is_async_enabled()
6767 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6769 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6772 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6773 (gst_base_src_default_query), (gst_base_src_wait),
6774 (gst_base_src_do_sync), (gst_base_src_change_state):
6775 Rearrange some code so that we can add support for measuring the
6778 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6780 * docs/random/ensonic/dynlink.txt:
6781 More thoughs on this.
6783 * plugins/elements/gstcapsfilter.c:
6784 Add bugzilla ticket number to FIXME comment.
6786 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6788 * docs/design/part-TODO.txt:
6789 * docs/design/part-block.txt:
6792 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6795 Revert patch which uses $(gst_headers) instead of $^ because it
6798 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6800 * tests/check/gst/gstbin.c: (GST_START_TEST):
6801 Fix leaks in the new unit test.
6803 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6806 Don't use GST_INFO before the debug system is actually initialised
6807 (shouldn't do any harm, but won't print anything either, so we can
6808 just as well remove it).
6811 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6812 compilers that don't support variadic macros (such as MSVC), should
6813 check for debug_level <= __gst_debug_min as well, since that's the
6814 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6815 inline helper functions. Should improve performance a bit, but also
6816 makes sure uses of GST_INFO et.al are ignored if the debugging
6817 system isn't initialised yet (instead of printing an assertion
6820 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6822 patch by: David Nečas <yeti@physics.muni.cz>
6825 Replace some non portable makefile constructs.
6827 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6829 * common/gtk-doc-plugins.mak:
6830 Grrrrr. Don't remove the types file on make clean.
6832 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6834 * tools/gst-launch.1.in:
6835 Add colorspace to example pipeline. Fixes #458274.
6837 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6839 * docs/random/release:
6840 The release manager should run 'make download-po' before making a
6841 release to make sure translations are up-to-date.
6847 Add some new translations.
6849 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6851 * tools/gst-launch.c: (event_loop), (main):
6852 Don´t try to do any state management when a live pipeline posts
6854 Also make the buffering string translatable.
6856 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6858 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6859 (bin_handle_async_start), (gst_bin_handle_message_func):
6861 When adding elements, insert messages into the bus of the newly added
6862 element and make sure the element is the source of the message. This
6863 allows the parent bin to intercept the message and do the
6864 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6865 messages to the app (which is not allowed).
6868 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6869 Fix testsuite so that is does not work around messages that should not
6870 have been posted in the first place.
6872 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6874 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6875 (update_degree), (gst_bin_sort_iterator_next):
6876 Fix annoying bug in the sorted iterator where a sink that is not really
6877 a sink (when it has downstream links) screwed up the iterator.
6879 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6880 Unit test to verify the fix.
6882 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6885 Add some more docs for the messages.
6887 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6888 (gst_base_sink_query):
6889 Add some more debugging.
6891 * tools/gst-launch.c: (event_loop):
6892 When interrupting, don't try to set pipeline to PAUSED twice.
6894 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6897 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6898 (bin_handle_async_start), (gst_bin_handle_message_func):
6899 Move ASYNC_START message posting to where it belongs, similar to
6901 Don't post ASYNC_START when we are in error.
6902 Post ASYNC_START when we added an async element to a bin.
6904 2007-08-14 Julien MOUTTE <julien@moutte.net>
6906 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6907 generation from vargs. Fixes #466595.
6909 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6911 * gst/gstbin.c: (gst_bin_element_set_state):
6912 Always change the state of a NO_PREROLL element even if it has ASYNC
6913 elements inside (in case of a bin).
6915 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6916 Unit test for this case.
6918 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6920 * libs/gst/check/gstbufferstraw.c:
6921 * libs/gst/check/gstcheck.h:
6922 * libs/gst/controller/gstcontroller.c:
6923 * libs/gst/controller/gstcontrolsource.h:
6924 * libs/gst/controller/gstlfocontrolsource.h:
6925 * plugins/elements/gstcapsfilter.h:
6926 * plugins/elements/gstfdsink.h:
6927 * plugins/elements/gstfdsrc.h:
6928 Add more missing docs.
6930 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6932 * gst/gststructure.c:
6933 Add Since tag to docs.
6935 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6937 * docs/gst/gstreamer-sections.txt:
6938 * gst/gststructure.c: (gst_structure_get_uint):
6939 * gst/gststructure.h:
6940 Add function to get uint from a structure.
6941 API: gst_structure_get_uint()
6943 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6945 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6946 (gst_caps_intersect):
6947 Fix proper check for simple caps.
6949 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6951 * docs/gst/Makefile.am:
6952 * docs/libs/Makefile.am:
6953 Remove cruft and do some cleanups.
6955 * docs/gst/gstreamer-docs.sgml:
6956 * docs/libs/gstreamer-libs-docs.sgml:
6957 Prepare for comming gtkdoc features (rebase against online docs).
6959 2007-08-10 Michael Smith <msmith@fluendo.com>
6961 * docs/gst/gstreamer-sections.txt:
6962 Add gst_registry_add_path to docs.
6964 2007-08-10 Michael Smith <msmith@fluendo.com>
6966 * gst/gstregistry.h:
6967 Add gst_registry_add_path, which was missing from this header.
6969 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6971 * libs/gst/controller/gstlfocontrolsource.c:
6974 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6976 * libs/gst/base/gstbasesink.c:
6977 Don't send an async_start message during downwards state change if
6978 target state is less than READY
6980 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6982 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6986 Added Hungarian translation.
6988 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6995 Updated translations.
6997 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6999 * libs/gst/controller/Makefile.am:
7000 Dist gstlfocontrolsourceprivate.h
7002 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7004 * docs/libs/gstreamer-libs.types:
7005 Don't register the enum type gst_lfo_waveform_get_type() in the
7006 .types file - only GObject derived types belong.
7008 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7010 Patch by: <arenevier at fdn dot fr>
7013 Remove comma from last element in enum to avoid compile errors when
7014 using -pendantic. Fixes #464366.
7016 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7018 * docs/design/part-TODO.txt:
7019 Add some more TODO items
7021 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7024 * gst/gstcaps.c: (gst_caps_intersect):
7025 Optimize trivial intersection case between identical caps pointers.
7027 * gst/gstelement.c: (gst_element_continue_state),
7028 (gst_element_set_state_func):
7030 Fix spelling and grammar mistakes.
7032 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7036 Update POTFILES. Fixes #461599.
7038 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7041 Fix confusing typo in debug output.
7043 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7045 reviewed by: Stefan Kost <ensonic@users.sf.net>
7047 * libs/gst/controller/Makefile.am:
7048 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7049 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7050 (gst_lfo_control_source_new),
7051 (gst_lfo_control_source_set_waveform),
7052 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7053 (gst_lfo_control_source_finalize),
7054 (gst_lfo_control_source_dispose),
7055 (gst_lfo_control_source_set_property),
7056 (gst_lfo_control_source_get_property),
7057 (gst_lfo_control_source_class_init):
7058 * libs/gst/controller/gstlfocontrolsource.h:
7059 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7060 API: Add GstLFOControlSource, a control source that gives values
7061 for specific timestamps based on several periodic waveforms.
7064 * tests/check/libs/controller.c: (GST_START_TEST),
7065 (gst_controller_suite):
7066 * docs/libs/gstreamer-libs-docs.sgml:
7067 * docs/libs/gstreamer-libs-sections.txt:
7068 * docs/libs/gstreamer-libs.types:
7069 Add documentation and unit tests for GstLFOControlSource.
7071 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7076 === release 0.10.14 ===
7078 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7081 releasing 0.10.14, "Breathing Vacuum"
7083 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7085 * gst/gstelement.c: (gst_element_class_set_details_simple):
7087 Make strings passed to gst_element_class_set_details_simple()
7088 constant, as they should be (#462752).
7090 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7092 * gst/gstbin.c: (gst_bin_change_state_func),
7093 (bin_handle_async_done), (gst_bin_handle_message_func):
7094 Don't forget about the fact that some element went ASYNC even after a
7095 resync. This makes us post the ASYNC_DONE message correctly.
7098 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7100 * gst/gstregistry.c: (gst_registry_add_feature):
7101 When replacing an existing feature in the registry, make sure to
7102 continue holding a reference until we've replaced the name string
7103 within our feature hash table. Make sure to use g_hash_table_replace
7104 instead of g_hash_table_insert to ensure the new name string is used
7105 as a key instead of the old one that we're about to free.
7108 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7110 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7111 (gst_plugin_feature_set_name):
7112 Revert patch from #459466 until after the release and we can work
7113 out exactly what the problem is (if any).
7115 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7117 * docs/gst/gstreamer-sections.txt:
7120 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7122 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7124 * docs/libs/Makefile.am:
7125 Include our build-prefix libs and includes before the generic ones to
7126 avoid linking against the installed libs when we want the build-tree
7129 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7131 Patch by: Steve Fink <sphink gmail com>
7133 * docs/pwg/building-testapp.xml:
7134 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7135 if people try to build or install the example from the plugin
7136 template against a GStreamer from package using the configure
7139 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7141 Patch by: Steve Fink <sphink gmail com>
7143 * tools/gst-inspect.1.in:
7144 Document --print-all and --print-plugin-auto-install-info command
7145 line options in man page.
7147 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7149 * docs/gst/gstreamer-sections.txt:
7150 Add docs for new api function.
7152 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7154 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7155 * gst/gstelementfactory.h:
7156 API: gst_element_factory_has_interface()
7157 Added method to check if an element factory implements a named
7160 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7163 * docs/gst/gstreamer.types.in:
7164 Another conditional doc check.
7167 * gst/gstparamspecs.h:
7168 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7173 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7175 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7176 (gst_registry_binary_load_feature),
7177 (gst_registry_binary_load_plugin),
7178 (gst_registry_binary_read_cache):
7179 Print error just once and with additional info.
7181 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7183 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7184 (helper_find_suggest), (helper_find_get_length),
7185 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7186 (gst_type_find_helper_for_buffer):
7187 Cleanup the typefindhelper code and add private doc comments.
7189 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7191 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7192 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7193 Fix capsfilter for cases where the caps set on capsfilter will provide
7194 additional information.
7197 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7199 * gst/gsttypefindfactory.c:
7200 Fix docs that recommened wrong function to use.
7202 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7204 * tools/gst-inspect.c: (print_plugin_features):
7205 Also give media-type for typefinders in element output.
7207 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7209 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7210 (gst_registry_remove_features_for_plugin_unlocked),
7211 (gst_registry_add_feature), (gst_registry_remove_feature),
7212 (gst_registry_lookup_feature_locked):
7213 * gst/gstregistry.h:
7214 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7217 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7219 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7220 (gst_plugin_feature_set_name):
7221 Avoid double memory usage for pluginfeature names. Fixes #459466.
7223 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7226 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7227 driving the pipeline may need to explicitly check for NOT_LINKED as
7228 well, since IS_FATAL doesn't cover that.
7230 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7232 * docs/pwg/advanced-types.xml:
7233 Fix typo and duplicate entry in video formats list.
7235 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7237 * libs/gst/controller/gstinterpolation.c:
7238 Also round to the nearest int when using cubic interpolation.
7240 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7242 * libs/gst/controller/gstinterpolation.c:
7243 When linearly interpolating integer types, round to the nearest int
7244 by adding 0.5. Don't do it for float/double types.
7245 Fixes the failing controller test on my machine, which is somehow
7246 rounding differently than on the buildbots.
7248 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7250 * tools/gst-plot-timeline.py:
7251 Better log parsing (categories can have -). Adjust text vs. lines, so
7252 that they span the same y-range.
7254 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7256 * docs/random/ensonic/audiobaseclasses.txt:
7257 * docs/random/ensonic/dynlink.txt:
7258 * docs/random/ensonic/profiling.txt:
7261 * docs/random/moving-plugins:
7262 Add note to use g_assert type macros.
7264 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7267 * libs/gst/check/Makefile.am:
7268 Add libm check as we use in for plugins.
7270 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7272 * gst/gstbin.c: (gst_bin_continue_func):
7273 Check that the state_cookie hasn't changed since the continue_func
7274 was scheduled. Avoids problems where the state changes back to
7275 something it shouldn't be because it was changed in the meantime.
7277 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7279 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7280 (gst_registry_binary_save_string),
7281 (gst_registry_binary_save_pad_template),
7282 (gst_registry_binary_save_feature),
7283 (gst_registry_binary_save_plugin),
7284 (gst_registry_binary_load_feature),
7285 (gst_registry_binary_load_plugin),
7286 (gst_registry_binary_read_cache):
7287 Fix memory leak. Be less verbose in the log.
7289 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7291 * tests/check/elements/.cvsignore:
7292 Add file to cvsignore as commanded.
7294 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7296 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7297 (mq_dummypad_event), (run_output_order_test):
7298 Use a GStaticMutex to protect all cases where libcheck
7299 fail_if/fail_unless macros might be called from multiple threads
7300 simultaneously to avoid errors like:
7301 "check_pack.c:107: :-1081725400:Bad message type arg"
7303 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7305 * tests/check/pipelines/stress.c: (GST_START_TEST):
7306 Make sure we set the pipeline back to the NULL state before
7307 dropping our final reference.
7309 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7311 * tests/check/elements/tee.c: (GST_START_TEST):
7312 Make the tee stress-test a little less stressful so it doesn't just
7313 time out on slow-machines, and remove a small race when it's starting
7314 up by adding a get_state() call.
7316 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7319 Avoid reading registry twice on startup. Fixes #457322.
7321 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7323 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7324 * pkgconfig/gstreamer-check.pc.in:
7325 Substitute the CFLAGS for libcheck into our .pc file too so that
7326 dependent modules will pick it up properly if libcheck is installed
7327 into some other prefix.
7329 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7332 Revert the pkg-config check for libcheck, since it pulls in the
7333 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7334 a proper solution, either from the check project, or something else.
7336 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7339 Use pkg-config to locate check.
7341 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7348 Add deprecation guards.
7350 * libs/gst/base/gstcollectpads.h:
7351 Don't document object (this is implicitly private).
7353 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7355 * gst/gststructure.c: (gst_structure_parse_value):
7356 When deserialising foo=bar without a type cast, check if it's a
7357 boolean before falling back to a string type, otherwise things like
7358 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7359 because the filtercaps end up having a signed=(string)true field,
7360 which causes problems later when intersection caps.
7362 * tests/check/gst/gststructure.c: (GST_START_TEST):
7363 Add a unit test for this.
7365 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7367 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7369 * libs/gst/controller/Makefile.am:
7370 * libs/gst/controller/gstcontroller.c:
7371 (gst_controlled_property_add_interpolation_control_source),
7372 (gst_controlled_property_new), (gst_controlled_property_free),
7373 (gst_controller_find_controlled_property),
7374 (gst_controller_new_valist), (gst_controller_new_list),
7375 (gst_controller_new), (gst_controller_remove_properties_valist),
7376 (gst_controller_remove_properties_list),
7377 (gst_controller_remove_properties),
7378 (gst_controller_set_property_disabled),
7379 (gst_controller_set_disabled), (gst_controller_set_control_source),
7380 (gst_controller_get_control_source), (gst_controller_get),
7381 (gst_controller_sync_values), (gst_controller_get_value_array),
7382 (_gst_controller_dispose), (gst_controller_get_type),
7383 (gst_controlled_property_set_interpolation_mode),
7384 (gst_controller_set), (gst_controller_set_from_list),
7385 (gst_controller_unset), (gst_controller_unset_all),
7386 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7387 * libs/gst/controller/gstcontroller.h:
7388 * libs/gst/controller/gstcontrollerprivate.h:
7389 * libs/gst/controller/gstcontrolsource.c:
7390 (gst_control_source_class_init), (gst_control_source_init),
7391 (gst_control_source_get_value),
7392 (gst_control_source_get_value_array), (gst_control_source_bind):
7393 * libs/gst/controller/gstcontrolsource.h:
7394 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7395 (gst_object_get_control_source):
7396 * libs/gst/controller/gstinterpolation.c:
7397 (gst_interpolation_control_source_find_control_point_node),
7398 (gst_interpolation_control_source_get_first_value),
7399 (_interpolate_none_get), (interpolate_none_get),
7400 (interpolate_none_get_boolean_value_array),
7401 (interpolate_none_get_enum_value_array),
7402 (interpolate_none_get_string_value_array),
7403 (_interpolate_trigger_get), (interpolate_trigger_get),
7404 (interpolate_trigger_get_boolean_value_array),
7405 (interpolate_trigger_get_enum_value_array),
7406 (interpolate_trigger_get_string_value_array):
7407 * libs/gst/controller/gstinterpolationcontrolsource.c:
7408 (gst_control_point_free), (gst_interpolation_control_source_reset),
7409 (gst_interpolation_control_source_new),
7410 (gst_interpolation_control_source_set_interpolation_mode),
7411 (gst_interpolation_control_source_bind),
7412 (gst_control_point_compare), (gst_control_point_find),
7413 (gst_interpolation_control_source_set_internal),
7414 (gst_interpolation_control_source_set),
7415 (gst_interpolation_control_source_set_from_list),
7416 (gst_interpolation_control_source_unset),
7417 (gst_interpolation_control_source_unset_all),
7418 (gst_interpolation_control_source_get_all),
7419 (gst_interpolation_control_source_get_count),
7420 (gst_interpolation_control_source_init),
7421 (gst_interpolation_control_source_finalize),
7422 (gst_interpolation_control_source_dispose),
7423 (gst_interpolation_control_source_class_init):
7424 * libs/gst/controller/gstinterpolationcontrolsource.h:
7425 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7426 API: Refactor GstController into the core controller which can take
7427 a GstControlSource for providing actual values for timestamps.
7428 Implement a interpolation control source and use this for backward
7429 compatibility, deprecate a bunch of functions that are now handled
7430 by GstControlSource or GstInterpolationControlSource.
7431 Make it possible to disable the controller completely or only for
7432 specific properties. Fixes #450711.
7433 * docs/libs/gstreamer-libs-docs.sgml:
7434 * docs/libs/gstreamer-libs-sections.txt:
7435 * docs/libs/gstreamer-libs.types:
7436 Add new functions and classes to the docs.
7437 * tests/check/libs/controller.c: (GST_START_TEST),
7438 (gst_controller_suite):
7439 * tests/examples/controller/audio-example.c: (main):
7440 Port unit test and example to the new API and add some new
7443 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7445 Patch by: Mark Nauwelaerts <manauw at skynet be>
7447 * plugins/elements/gstmultiqueue.c:
7448 (gst_multi_queue_get_internal_links), (apply_buffer),
7449 (single_queue_overrun_cb), (gst_single_queue_new):
7450 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7451 the pipeline layout can be tracked correctly. Fixes #453732.
7453 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7455 * docs/gst/Makefile.am:
7456 * docs/libs/Makefile.am:
7457 * docs/plugins/Makefile.am:
7458 Simplify --extra-dir as gtkdoc scans recursively.
7460 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7462 * tools/gst-launch.c: (main):
7463 When we got an error, there is no point in waiting for preroll when
7466 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7468 * plugins/elements/gsttee.c: (gst_tee_base_init),
7469 (gst_tee_request_new_pad), (gst_tee_release_pad),
7470 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7471 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7473 Be a lot smarter when deciding what srcpad to use for proxying
7474 the buffer_alloc. Also handle pad added/removed when doing so.
7476 Keep track of what pads we already pushed on in case we have pads
7477 added/removed while pushing. Fixes #374639
7479 * tests/check/Makefile.am:
7480 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7482 Added unit test for pad resync.
7484 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7488 Updated translations.
7490 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7492 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7496 Added new Finnish translation.
7498 2007-06-28 Wim Taymans <wim@fluendo.com>
7500 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7501 (single_queue_overrun_cb):
7502 When figuring out when a queue is filled, use our internal time estimate
7503 based on segments, just like check_full does.
7505 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7507 * gst/gstminiobject.c: (gst_mini_object_get_type):
7508 Remove 3 do-nothing methods.
7510 2007-06-27 Wim Taymans <wim@fluendo.com>
7512 Patch by: Tim Angus <tim at ngus dot net>
7514 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7515 (gst_capsfilter_set_property):
7516 Take a reference instead of a copy when setting "caps".
7517 Fix documentation to clarify this behaviour. Fixes #449414.
7519 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7521 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7522 * gst/gstplugin.c: (gst_plugin_init):
7523 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7524 * gst/gstquery.c: (gst_query_get_type):
7525 * gst/gstregistry.c: (gst_registry_init):
7526 * gst/gsturi.c: (gst_uri_handler_base_init):
7527 Remove empty instance_init() functions to save relocs and lessen the
7528 noise. Remove some of the function prototypes that are doubled by
7531 2007-06-27 Wim Taymans <wim@fluendo.com>
7533 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7535 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7536 Add peer and direction in the XML serialisation of ghostpads.
7539 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7542 Preserve useful information, thanks Tim.
7544 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7546 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7547 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7548 (gst_single_queue_push_one), (gst_multi_queue_loop),
7549 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7550 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7551 (compute_high_id), (gst_single_queue_new):
7552 * plugins/elements/gstmultiqueue.h:
7553 Take the multiqueue lock when updating the fill level so we don't get
7556 After applying a buffer or event on the src pad segment, make sure to
7557 call gst_data_queue_limits_changed() to get the data queue to unblock
7558 and check the filled state again.
7560 Rework the not-linked pad handling so the logic is that not-linked
7561 pads can push as fast as they like, but only so they never get
7562 ahead of any linked pads.
7564 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7565 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7566 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7568 Add a test to check that not-linked pads always stay behind
7573 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7575 * docs/random/release:
7576 Some updates to the release procedure.
7578 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7580 * gst/gstelementfactory.c: (__gst_element_details_clear):
7581 Microoptimization that saves stunning 80 bytes.
7583 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7585 * docs/plugins/gstreamer-plugins.args:
7586 * docs/plugins/inspect/plugin-coreelements.xml:
7587 * docs/plugins/inspect/plugin-coreindexers.xml:
7588 Update docs with caps info.
7590 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7593 Updated Italian translation.
7595 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7599 Update Vietnamese translations.
7601 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7603 * libs/gst/base/gstbasesink.c:
7604 Remove unused signal enum.
7606 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7608 * docs/gst/gstreamer-sections.txt:
7610 * gst/gstutils.c: (gst_type_register_static_full):
7611 Beef up and include the docs for gst_type_register_static_full and
7612 gst_element_class_set_details_simple and add the API keyword
7615 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7617 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7618 (update_time_level), (gst_single_queue_push_one),
7619 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7620 (single_queue_overrun_cb), (single_queue_underrun_cb),
7621 (single_queue_check_full):
7622 Fix setting max-* properties after adding queues.
7623 Use IS_FILLED for checking visible items.
7624 Signal overrun if multiple queues overrun.
7625 Add extra debug output.
7626 Patch by: Wim Taymans <wim@fluendo.com>
7628 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7630 * gst/gstelement.c: (gst_element_class_set_details_simple):
7632 * gst/gstutils.c: (gst_type_register_static_full):
7634 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7635 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7636 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7637 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7638 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7639 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7640 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7641 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7642 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7643 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7644 (apply_buffer), (gst_queue_chain):
7645 * plugins/elements/gsttee.c: (gst_tee_base_init):
7646 * plugins/elements/gsttypefindelement.c:
7647 (gst_type_find_element_base_init),
7648 (gst_type_find_element_class_init):
7649 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7650 API: add gst_type_register_static_full
7651 API: add gst_element_class_set_details_simple
7653 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7655 * docs/pwg/advanced-types.xml:
7656 Fix typo in iana.org URI.
7658 2007-06-19 Andy Wingo <wingo@pobox.com>
7660 * tests/check/pipelines/simple-launch-lines.c
7661 (test_state_change_returns): Enable pull-mode tests now that
7662 basesink has been fixed.
7664 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7665 Changed from gst_base_sink_is_prerolled, reversing the sense of
7666 the return value. Returns FALSE also if the sink is in pull mode,
7667 in which case it needs no preroll.
7668 (gst_base_sink_query, gst_base_sink_change_state): Update for
7669 needs_preroll change.
7670 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7671 chaining up, in which we return SUCCESS directly if we activated
7672 in pull mode instead of ASYNC. Involves countering an async_start
7673 message sent before chaining up; not sure if this is correct, in
7674 an ideal world we only send async-start when activating in push
7677 * tests/check/pipelines/simple-launch-lines.c
7678 (test_state_change_returns): New test, partially disabled until
7681 2007-06-19 Wim Taymans <wim@fluendo.com>
7683 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7684 (gst_multi_queue_sink_event):
7687 2007-06-19 Wim Taymans <wim@fluendo.com>
7689 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7690 (gst_bin_change_state_func), (bin_push_state_continue),
7691 (bin_handle_async_start), (bin_handle_async_done),
7692 (gst_bin_handle_message_func):
7693 Move the common code for posting state-change messages into
7695 Broadcast the state signal after we posted the messages.
7696 Mark the bin as busy when it's doing a state-change.
7697 Make sure async-start/done messages don't interfere with the bin's
7698 state when it's busy.
7699 After the state change, let the bin check which elements completed the
7700 state change while it was busy so that it can update its state.
7702 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7704 * docs/random/release:
7705 Add a note about updating the doap file to the release checklist
7707 2007-06-18 Wim Taymans <wim@fluendo.com>
7709 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7710 (gst_single_queue_push_one), (gst_multi_queue_chain),
7711 (gst_multi_queue_sink_event):
7712 Make sure we don't reference the buffer/event after we have given away
7713 ownership in the queue.
7715 2007-06-18 Wim Taymans <wim@fluendo.com>
7717 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7718 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7719 Update queue state _after_ adding the item in the queue because else we
7720 could end up being full without the element added yet.
7722 2007-06-18 Wim Taymans <wim@fluendo.com>
7724 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7725 (gst_bin_remove_func), (gst_bin_get_state_func),
7726 (gst_bin_element_set_state), (gst_bin_continue_func),
7727 (bin_push_state_continue), (bin_handle_async_start),
7728 (bin_handle_async_done), (gst_bin_handle_message_func):
7730 Immediatly commit the toplevel bin state when receiving an async-done
7731 message. This enables us to avoid spawning a thread to commit the state
7732 in some common cases and it also avoids some races.
7733 Avoid spawning a state thread when adding/removing async elements to a
7734 toplevel bin. Instead we immediatly update the bin state.
7735 Get rid of iterating all the children when getting the state in the bin
7736 because it is now always up-to-date.
7737 Fix bug where locked elements would always return _SUCCESS even it they
7738 returned NO_PREROLL before being locked.
7739 Fix the order of the state_change, async-start/done messages that was
7740 sometimes incorrect.
7741 Mark the state_dirty field as deprecated, we don't need it anymore as we
7742 are always up-to-date.
7744 * gst/gstelement.c: (gst_element_get_state_func),
7745 (gst_element_continue_state):
7746 Small debug inprovements.
7747 Return the previous element state return when nothing is pending instead
7748 of blindly returning SUCCESS.
7750 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7752 Add a whole bunch of new testcases.
7754 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7758 Update translations.
7760 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7763 Fix typo in the docs.
7765 2007-06-15 Wim Taymans <wim@fluendo.com>
7767 * docs/libs/gstreamer-libs-sections.txt:
7768 Add docs for new methods.
7770 2007-06-15 Wim Taymans <wim@fluendo.com>
7772 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7773 (gst_multi_queue_item_new):
7774 Don't use GSlice because we don't depend on >= 2.10 yet.
7776 2007-06-15 Wim Taymans <wim@fluendo.com>
7778 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7779 (update_time_level), (apply_segment), (apply_buffer),
7780 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7781 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7782 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7783 (single_queue_underrun_cb), (single_queue_check_full):
7784 Remove debug printf.
7786 2007-06-15 Wim Taymans <wim@fluendo.com>
7788 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7789 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7790 (gst_data_queue_set_flushing), (gst_data_queue_push),
7791 (gst_data_queue_pop), (gst_data_queue_drop_head),
7792 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7793 * libs/gst/base/gstdataqueue.h:
7795 Added methods to get the current levels and to inform the queue that the
7796 'full' limits changed.
7798 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7799 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7800 (gst_single_queue_flush), (update_time_level), (apply_segment),
7801 (apply_buffer), (gst_single_queue_push_one),
7802 (gst_multi_queue_item_steal_object),
7803 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7804 (gst_multi_queue_loop), (gst_multi_queue_chain),
7805 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7806 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7807 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7808 (single_queue_underrun_cb), (single_queue_check_full),
7809 (gst_single_queue_new):
7810 Keep track of time in the queue by measuring the difference between
7811 running_time on input and output. This gives more accurate results and
7812 can compensate for segments correctly.
7813 Make a queue by default only 5 buffers deep. We will now increase the
7814 buffer size depending on the filledness of the other queues.
7815 Factor out commong flush code.
7816 Make sure we don't add additional refcounts to buffers when we can avoid
7818 Propagate GstFlowReturn differently.
7819 Use GSlice for intermediate GstMultiQueueItems.
7821 Resize queues on over and underruns based on filled level of other
7823 When checking if the queue is filled, prefer to measure in time if we
7824 can and fall back to bytes when no time is known.
7826 * plugins/elements/gstqueue.c:
7829 2007-06-15 Wim Taymans <wim@fluendo.com>
7831 * libs/gst/base/gstbasetransform.c:
7832 (gst_base_transform_sink_event):
7833 Work around the brokenness of the event vmethod in basetransform. Prefer
7834 to return TRUE when the subclass returned FALSE (meaning don't forward
7837 * libs/gst/base/gstbasetransform.h:
7840 2007-06-15 Wim Taymans <wim@fluendo.com>
7842 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7843 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7844 (gst_base_src_default_query), (gst_base_src_get_range),
7845 (gst_base_src_start):
7846 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7849 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7851 * docs/pwg/advanced-types.xml:
7852 Added more formats to caps table.
7854 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7856 * tools/gst-launch.c: (main):
7857 Remove crufy code. GOption does not need this workaround.
7859 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7861 * libs/gst/controller/gstcontroller.c:
7862 (gst_controlled_property_set_interpolation_mode):
7863 Fix wrong getter for enums in controller.
7865 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7867 * libs/gst/check/gstcheck.c: (gst_check_init):
7868 Intercept criticals and warnings in the Gst-Phonon log domain, so
7869 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7872 2007-06-14 Edward Hervey <edward@fluendo.com>
7874 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7875 Since this file doesn't include "gst.h" it will not go through the
7876 macros that disable GST_LOG if debugging was disabled.
7878 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7880 * libs/gst/check/Makefile.am:
7881 * libs/gst/check/gstcheck.h:
7882 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7883 * pkgconfig/gstreamer-check.pc.in:
7884 Ugly 'fix' for the controller unit test on the p5 bot: in
7885 fail_unless_equals_float() check whether the values are 'almost
7886 equal' by allowing a small absolute error, which should be good
7887 enough for our use cases (normal numbers and values close to 0).
7888 Proper fixage left to floating point arithmetic aficionados.
7890 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7892 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7893 (gst_base_sink_render_object), (gst_base_sink_get_position):
7894 Add two breaks thats where missing.
7896 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7898 * docs/libs/gstreamer-libs-sections.txt:
7899 * libs/gst/check/gstcheck.h:
7900 API: add fail_unless_equals_float() and assert_equals_float().
7901 Add documentation for some of the macros.
7903 * tests/check/libs/controller.c: (GST_START_TEST):
7904 Use newly-added asserts.
7906 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7908 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7909 Show the caps change in the log to help spotting the case of not
7910 exactly matching caps.
7912 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7914 * docs/pwg/building-boiler.xml:
7915 Fix typos, spotted by Thijs Vermeir (#447190).
7917 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7919 * docs/plugins/tmpl/.cvsignore:
7920 Ignore file to keep the buildbots happy
7922 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7924 * docs/plugins/Makefile.am:
7925 * docs/plugins/gstreamer-plugins-docs.sgml:
7926 * docs/plugins/gstreamer-plugins-sections.txt:
7927 Pull fdsink into the docs too.
7929 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7931 * libs/gst/controller/gstinterpolation.c:
7932 Actually use the new functions with min/max checks for the trigger and
7933 none interpolation modes for get() and get_value_array() instead of
7936 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7938 * libs/gst/controller/gstcontroller.c:
7939 (gst_controlled_property_free):
7940 Unset the minimum and maximum GValues when freeing the corresponding
7941 GstControllerProperty struct.
7943 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7945 * libs/gst/controller/gstcontroller.c:
7946 (gst_controlled_property_new):
7947 * libs/gst/controller/gstcontrollerprivate.h:
7948 * libs/gst/controller/gstinterpolation.c:
7949 (gst_controlled_property_find_control_point_node),
7950 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7951 (interpolate_none_get_string_value_array),
7952 (interpolate_trigger_get),
7953 (interpolate_trigger_get_enum_value_array),
7954 (interpolate_trigger_get_string_value_array):
7955 Protect against values larger or smaller than the minimum or maximum
7956 allowed value for the property when using values that can be compared.
7958 Optimize trigger interpolator a bit by taking the last requested value
7959 into account instead of always looping through the complete list.
7961 Fix coding style a bit, everywhere else we use "return foo" instead
7964 * tests/check/libs/controller.c: (GST_START_TEST),
7965 (gst_controller_suite):
7966 Add unit test for the protection against too large or too small
7969 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7971 * docs/random/slomo/controller.txt:
7972 Add some thoughts about the future of the controller.
7974 2007-06-08 Wim Taymans <wim@fluendo.com>
7976 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7977 Don't overflow in retimestamping code.
7979 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7981 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7982 Use gst_util_guint64_to_gdouble for conversions.
7983 * win32/common/libgstreamer.def:
7984 Add new exported functions.
7986 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7989 Small docs addition.
7991 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7994 Remove that test line again.
7996 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7999 Test commit mail sending.
8001 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8004 Fix typo and test commit mail sending.
8006 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8008 * tests/examples/controller/audio-example.c:
8009 Improve comment and test commit mail sending.
8011 2007-06-07 Wim Taymans <wim@fluendo.com>
8013 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8014 (gst_bin_remove_func), (gst_bin_element_set_state),
8015 (bin_handle_async_start), (bin_handle_async_done),
8016 (gst_bin_handle_message_func):
8017 Add helper function to find messages.
8018 Generate the async-done messages together with the state change
8020 Small cleanups in handling toplevel bins.
8022 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8024 * libs/gst/base/gstdataqueue.c:
8025 * libs/gst/base/gstdataqueue.h:
8026 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8027 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8028 (gst_multi_queue_sink_event):
8029 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8030 Fix multiqueue leaking buffers and events when downstream or the
8031 queue are flushing. Make refcounting assumptions explicit and
8032 document them (shouldn't break existing code that uses it other than
8033 maybe leak miniobjects, but that already happens anyway). Add unit
8034 test for the most common flushing case. Fixes #423700.
8036 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8038 * libs/gst/controller/gstcontroller.c:
8039 Clarify docs: The get_all, get_value_array(s) functions
8040 don't modify the GObject properties.
8042 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8044 * libs/gst/controller/gstcontroller.c:
8045 (gst_controlled_property_set_interpolation_mode),
8046 (gst_controlled_property_prepend_default),
8047 (gst_controlled_property_new), (gst_controller_set_unlocked),
8048 (gst_controller_set), (gst_controller_set_from_list),
8049 (gst_controller_unset), (gst_controller_unset_all):
8050 * libs/gst/controller/gstcontrollerprivate.h:
8051 * libs/gst/controller/gstinterpolation.c:
8052 Factor out the 'set' logic into gst_controller_set_unlocked for the
8053 gst_controller_set and gst_controller_set_from_list functions.
8055 To make life of the interpolators easier always add a control point
8056 at timestamp zero with the default value.
8058 In the linear interpolator make things more obvious by better variable
8061 Implement cubic interpolation mode (by using a natural cubic spline)
8062 and map the quadratic interpolation mode to this too (as quadratic
8063 doesn't make much sense, see discussion on the list).
8065 * tests/check/libs/controller.c: (GST_START_TEST),
8066 (gst_controller_suite):
8067 Add unit test for the cubic interpolation mode and check everywhere
8068 if the interpolation mode could be set as expected.
8070 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8072 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8073 Don't use GLib-2.10 functions, we still depend on
8074 GLib-how-old-is-it-again-2.8.
8076 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8078 * docs/gst/gstreamer-sections.txt:
8082 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8083 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8084 (_gst_param_fraction_values_cmp),
8085 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8086 * gst/gstparamspecs.h:
8088 * tests/check/Makefile.am:
8089 * tests/check/gst/.cvsignore:
8090 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8091 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8092 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8093 (GST_START_TEST), (gst_param_spec_suite):
8094 API: add GstParamSpecFraction, so elements can have fraction
8095 properties without lots of painful string parsing (#444648).
8097 2007-06-05 Wim Taymans <wim@fluendo.com>
8099 * gst/gstobject.c: (gst_object_class_init):
8100 Fix signal signature.
8103 Add small clarification in the api docs.
8105 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8106 States are protected with object lock.
8108 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8111 I should probably be listed as an author by now.
8113 * docs/random/release:
8114 Update the release doc
8116 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8119 Make docs for gst_value_compare() mention return enums that
8122 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8127 === release 0.10.13 ===
8129 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8132 releasing 0.10.13, "With or without you"
8134 2007-05-25 Wim Taymans <wim@fluendo.com>
8136 * gst/gstbin.c: (bin_handle_async_done):
8137 Make sure that the child bin stops after completing the async state
8138 change so that the parent can continue the state change to PLAYING.
8141 2007-05-25 Wim Taymans <wim@fluendo.com>
8143 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8144 (unref_data), (gst_collect_pads_remove_pad),
8145 (gst_collect_pads_check_pads):
8146 Use additional refcounting to avoid crashes when dynamically adding and
8147 removing pads. Fixes #420206.
8149 2007-05-24 Wim Taymans <wim@fluendo.com>
8151 * tools/gst-launch.c: (event_loop):
8152 When buffering goes from a two digit to a single digit number, make sure
8153 to remove the old second digit by writing a blank over it.
8155 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8157 * libs/gst/base/gstdataqueue.c:
8158 Eliminate tabs and trailing comma in enum list; fix some typos.
8160 2007-05-24 Wim Taymans <wim@fluendo.com>
8162 * tests/check/gst/gstbin.c: (GST_START_TEST):
8163 Allow refcount of 3 and 4 because some state thread might still be busy
8166 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8168 * plugins/elements/Makefile.am:
8169 * plugins/elements/gstmultiqueue.h:
8170 * plugins/elements/gstqueue.h:
8171 These are not installed headers, no need for padding.
8173 2007-05-24 Wim Taymans <wim@fluendo.com>
8175 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8176 (gst_bin_continue_func):
8177 Enable latency for next release.
8178 Restore STATE_LOCK around recalc_state that was left out during the
8179 rewrite and could result in racy behaviour when _get_state and
8180 recalc_state are run concurrently. See #440463.
8182 2007-05-23 Wim Taymans <wim@fluendo.com>
8184 * tests/check/gst/gstsystemclock.c: (store_callback),
8186 Improve test_async_order to also work when both timers are already
8187 expired when we get scheduled to check it.
8189 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8191 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8192 (gst_bin_set_property), (gst_bin_get_property),
8193 (gst_bin_remove_func), (gst_bin_handle_message_func):
8195 'private' is a c++ keyword, let's not use that in header files,
8196 otherwise c++ compilers will throw a tantrum.
8198 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8200 * plugins/elements/gstelements.c:
8201 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8202 (gst_file_sink_get_current_offset):
8203 * plugins/indexers/gstindexers.c: (plugin_init):
8204 Use #ifdef for HAVE_XYZ for consistency.
8206 * tests/check/Makefile.am:
8207 * tests/check/elements/.cvsignore:
8208 * tests/check/elements/filesink.c: (setup_filesink),
8209 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8210 Add some unit tests for filesink.
8212 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8214 Patch by: Mark Nauwelaerts <manauw at skynet be>
8216 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8217 (gst_file_sink_query), (gst_file_sink_do_seek),
8218 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8219 * plugins/elements/gstfilesink.h:
8220 Fix position reporting; rename data_written member to current_pos to
8221 reflect its real meaning (fixes #412648).
8223 2007-05-22 Edward Hervey <edward@fluendo.com>
8225 * docs/gst/gstreamer-sections.txt:
8226 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8227 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8228 (gst_bin_remove_func), (gst_bin_handle_message_func):
8230 Add a property for bins that handle the state change of their childs.
8233 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8235 * libs/gst/controller/gstinterpolation.c:
8236 Use an array of the correct type when using _get_value_array with
8237 linear interpolation.
8239 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8241 * gst/gstelement.c (gst_element_requires_clock,
8242 gst_element_provides_clock, gst_element_request_pad,
8243 gst_element_class_set_details, gst_element_class_set_details_simple,
8244 gst_element_default_send_event, gst_element_abort_state,
8245 gst_element_continue_state, gst_element_set_state,
8246 gst_element_set_state_func, iterator_activate_fold_with_resync):
8247 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8248 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8249 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8250 gst_pad_get_range, gst_pad_pull_range):
8251 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8252 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8253 GstPadActivateModeFunction, GstPadChainFunction,
8254 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8255 GstPadFixateCapsFunction, GstPadTemplate):
8256 * gst/gstpipeline.c (gst_pipeline_change_state,
8257 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8258 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8259 gst_pipeline_get_delay):
8260 Whitespace and docs fixes.
8262 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8264 * libs/gst/controller/gstinterpolation.c:
8265 (interpolate_trigger_get_enum_value_array),
8266 (interpolate_trigger_get_string_value_array):
8267 Add support for retrieving value arrays when using the trigger
8270 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8272 * libs/gst/controller/gstcontroller.c:
8273 (gst_controller_get_value_array):
8274 * libs/gst/controller/gstcontroller.h:
8275 Clarify the docs of gst_controller_get_value_array(): The array where
8276 the values should be written to must be allocated as there seems to be
8277 no way to get the size of a random GType. This doesn't change any
8278 behaviour. Also fix some typos all over the place and remove an unused,
8279 commented function that is not necessary as g_object_set() could be
8281 * tests/check/libs/controller.c: (GST_START_TEST),
8282 (gst_controller_suite):
8283 Add unit test for gst_controller_get_value_array().
8285 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8287 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8289 Disable part of the gst_buffer_try_new_and_alloc test, because
8290 it can happily succeed on 64-bit systems where there's more address
8293 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8295 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8296 Add unit test for the improved caps checking from bug #421543.
8298 2007-05-21 Wim Taymans <wim@fluendo.com>
8300 * docs/design/part-synchronisation.txt:
8303 * gst/gstbin.c: (gst_bin_query):
8304 * plugins/elements/gstqueue.c: (apply_segment):
8310 2007-05-21 Wim Taymans <wim@fluendo.com>
8312 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8313 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8314 (gst_pad_configure_src):
8315 Added simple version of improved caps checking. It was previously
8316 assumed that a setcaps function would check the validity of the caps but
8317 people prefer us to check caps against the template automatically.
8320 2007-05-21 Wim Taymans <wim@fluendo.com>
8322 * libs/gst/base/gstbasetransform.h:
8323 Fix macro for locking/unlocking the transform lock.
8325 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8327 * docs/plugins/tmpl/.cvsignore:
8330 2007-05-18 Edward Hervey <edward@fluendo.com>
8332 * plugins/elements/gstqueue.c: (gst_queue_loop):
8333 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8334 for the subtle art of warning a potentially blocking thread that it
8335 should check the source pad return value, and relay the information
8338 2007-05-18 Edward Hervey <edward@fluendo.com>
8340 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8341 Release the queue lock !
8343 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8345 * docs/libs/gstreamer-libs-sections.txt:
8346 Add the two new controller functions to the appropiate places.
8348 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8350 reviewed by: Stefan Kost <ensonic@users.sf.net>
8352 * libs/gst/controller/gstcontroller.c:
8353 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8354 (_gst_controller_get_property), (_gst_controller_set_property),
8355 (_gst_controller_init), (_gst_controller_class_init):
8356 * libs/gst/controller/gstcontroller.h:
8357 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8358 (gst_object_get_control_rate), (gst_object_set_control_rate):
8359 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8360 Add API that provides sync suggestion timestamps for elements that
8361 call gst_object_sync_values() from which those elements can subdivide
8362 their processing loop to get the best results for the controlled
8363 properties. For now it just suggests last_sync + control_rate as
8364 new timestamp but this will be improved in the future.
8366 While doing that change the control-rate property to a GstClockTime
8367 from guint and change it's meaning from samples to nanoseconds as
8368 the GstController doesn't know anything about sampling rate. Strictly
8369 speaking this breaks ABI but as the control-rate property didn't do
8370 anything in the past and as such couldn't be used this should be no
8373 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8375 reviewed by: Stefan Kost <ensonic@users.sf.net>
8377 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8378 (gst_controller_unset_all):
8379 * libs/gst/controller/gstcontrollerprivate.h:
8380 * libs/gst/controller/gstinterpolation.c:
8381 (gst_controlled_property_find_control_point_node):
8382 Save last synced value from the list to continue searching from there
8383 in future syncs. This speeds everything up a bit.
8385 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8387 reviewed by: Stefan Kost <ensonic@users.sf.net>
8389 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8390 (gst_control_point_find), (gst_controlled_property_new),
8391 (gst_control_point_free), (gst_controlled_property_free),
8392 (gst_controller_set), (gst_controller_set_from_list),
8393 (gst_controller_unset), (gst_controller_unset_all),
8394 (gst_controller_sync_values):
8395 * libs/gst/controller/gstcontroller.h:
8396 * libs/gst/controller/gstcontrollerprivate.h:
8397 * libs/gst/controller/gstinterpolation.c:
8398 (gst_controlled_property_find_control_point_node),
8399 (interpolate_none_get), (interpolate_trigger_get):
8400 Add a new private GstControlPoint struct which "inherits" from
8401 GstTimedValue to allow different interpolators to store internal
8402 values next to each control point. From the outside everything is
8403 still a GstControlPoint so we don't loose binary compatibility.
8404 Also fixup all the GValue handling to not leak GValues or list nodes.
8405 * tests/check/libs/controller.c: (GST_START_TEST):
8406 Free the list nodes and GValues in the controller_misc test.
8408 2007-05-17 Edward Hervey <edward@fluendo.com>
8413 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8415 * gst/gstplugin.c: (gst_plugin_load_file):
8416 If we fail to load a plugin because of unresolved symbols or missing
8417 libraries and spew a warning to stderr, we may just as well mention
8418 which plugin it was that failed to load.
8420 2007-05-13 David Schleef <ds@schleef.org>
8422 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8423 handles the case when ENABLE_GTK_DOC is false, and installs
8424 the prebuilt documentation. So gtk-doc subdirs are
8425 unconditionally enabled. Fixes: #349099.
8427 2007-05-13 David Schleef <ds@schleef.org>
8429 * gst/gstutils.h: Reword some documentation.
8431 2007-05-12 David Schleef <ds@schleef.org>
8433 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8434 do anything with the passed "module" parameter, so remove it.
8435 Allows removal of additional vestigal code.
8437 2007-05-12 David Schleef <ds@schleef.org>
8440 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8441 Switch to using g_stat() because it's more portable.
8443 2007-05-12 David Schleef <ds@schleef.org>
8446 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8447 parsing for embedded systems.
8448 * gst/gstelementfactory.c:
8449 Allow gst_element_register() to be called with plugin==NULL.
8450 Did nobody notice that static elements were broken?
8452 2007-05-12 Wim Taymans <wim@fluendo.com>
8454 * tools/gst-launch.c: (event_loop):
8455 Give more interesting info when buffering starts and stops.
8456 Fix case where buffering starts but we fail to update the buffering flag
8457 because the target state is not PLAYING.
8459 2007-05-12 Wim Taymans <wim@fluendo.com>
8461 * plugins/elements/gstqueue.c: (gst_queue_init),
8462 (gst_queue_finalize), (update_time_level), (apply_segment),
8463 (apply_buffer), (gst_queue_locked_flush),
8464 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8465 (gst_queue_handle_sink_event), (gst_queue_chain),
8466 (gst_queue_push_one), (gst_queue_loop):
8467 * plugins/elements/gstqueue.h:
8468 Refactor an cleanup queue a bit.
8469 Do better time level calculations that also work when the srcpad is not
8471 Remove some unneeded debug lines.
8473 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8474 Added testcase for time level measurement.
8475 Try to make some stuff more racefree.
8477 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8479 * gst/gsturi.c: (gst_element_make_from_uri):
8480 Don't leak plugin feature.
8482 * tests/check/Makefile.am:
8483 * tests/check/gst/.cvsignore:
8484 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8485 Add brain-dead unit test.
8487 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8489 Patch by: Jeroen Wouters <woutersj at gmail com>
8491 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8492 Treat protocol strings in a case-insensitive way (#437563).
8494 2007-05-11 Michael Smith <msmith@fluendo.com>
8496 * gst/gstplugin.c: (gst_plugin_load_file):
8497 * gst/gstregistry.c: (gst_registry_scan_path_level):
8498 Don't print a g_warning for any failure to load a shared object.
8499 Instead, push this down into gstplugin.c, and warn _only_ if we
8500 failed to open the module (i.e. failure to link).
8501 Avoids warnings on normal, working, non-plugin .so files.
8503 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8505 * gst/gstplugin.c (gst_plugin_load_file):
8506 * gst/gstregistry.c (GST_CAT_DEFAULT,
8507 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8508 Print a g_warning if there was an error when loading a plugins during
8509 registry scan. The shuld help beginners starting with gst-plugin
8512 2007-05-10 Wim Taymans <wim@fluendo.com>
8514 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8515 (update_time_level), (gst_queue_locked_flush),
8516 (gst_queue_handle_sink_event), (gst_queue_chain),
8517 (gst_queue_push_one), (gst_queue_loop):
8518 * plugins/elements/gstqueue.h:
8519 Be smarter when calculating the current amount of data in the queue by
8520 measuring the difference between start and end timestamps (in running
8521 time) inside the queue. Fixes #432876.
8522 API: GstQueue::pushing to notify elements that we are pushing data again
8523 since the running signal is rather broken for this purpose.
8525 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8527 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8528 gst_queue_base_init, gst_queue_init):
8531 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8533 * win32/common/libgstreamer.def:
8534 Add new exported functions.
8535 * win32/vs6/grammar.dsp:
8536 Use grammar pre-generated files.
8538 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8540 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8543 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8545 * gst/gstutils.c: (gst_parse_bin_from_description):
8547 Maintain API and ABI when --disable-parse is used. Now that
8548 we have an appropriate error code, we can just return NULL and the
8549 appropriate error when gst_parse_launch() is used despite it having
8550 been disabled (#342564).
8552 * tests/check/Makefile.am:
8553 * tests/check/pipelines/.cvsignore:
8554 * tests/check/pipelines/parse-disabled.c:
8555 Make sure these functions exist and return NULL plus a GError when
8556 --disable-parse is used.
8558 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8560 * tests/benchmarks/complexity.c: (main):
8561 * tests/benchmarks/mass-elements.c: (main):
8562 Set a good example and don't leak messages.
8564 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8566 * docs/gst/Makefile.am:
8567 * docs/libs/Makefile.am:
8568 Correct fixxrefs options.
8570 * docs/plugins/Makefile.am:
8571 * docs/plugins/gstreamer-plugins-docs.sgml:
8572 * docs/plugins/gstreamer-plugins-sections.txt:
8573 * plugins/elements/Makefile.am:
8574 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8575 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8576 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8577 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8578 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8579 _GstCapsFilterClass, trans_class):
8580 * plugins/elements/gstelements.c (name, rank, type, _elements):
8581 * plugins/elements/gstidentity.c
8582 (gst_identity_check_imperfect_timestamp,
8583 gst_identity_check_imperfect_offset):
8584 Document capsfilter and add doc-blurb to identity.
8586 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8588 * libs/gst/controller/gstcontroller.c:
8589 (gst_controlled_property_set_interpolation_mode):
8590 * libs/gst/controller/gstinterpolation.c:
8591 Don't crash if someone tries to set an interpolation mode that
8592 is invalid or that isn't supported yet. Fixes #422295.
8594 * tests/check/libs/controller.c: (GST_START_TEST),
8595 (gst_controller_suite):
8596 Add a test case for the above.
8598 2007-05-03 Edward Hervey <edward@fluendo.com>
8600 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8601 Properly set the last_stop position on GstSegment. This will only happen
8602 if there is a buffer to push out.
8604 2007-05-03 Wim Taymans <wim@fluendo.com>
8606 * libs/gst/base/gstbasetransform.c:
8607 (gst_base_transform_buffer_alloc):
8608 always_in_place does not mean that the sink and source caps are the
8609 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8611 2007-05-03 Wim Taymans <wim@fluendo.com>
8613 * docs/libs/gstreamer-libs-sections.txt:
8614 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8615 (gst_base_src_default_query), (gst_base_src_get_range):
8616 * libs/gst/base/gstbasesrc.h:
8617 API: gst_base_src_query_latency(). Added method so that subclasses can
8618 easily get the latency values of the base source class.
8620 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8622 * tools/gst-inspect.c (print_implementation_info):
8625 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8627 * tools/Makefile.am:
8628 * tools/gst-launch.1.in:
8629 Don't create a customised man page based on the host architecture,
8630 describe the default registry path generically. That way the man
8631 page is the same for all architectures and packagers have one
8632 multilib issue less to deal with. Fixes #434926.
8634 2007-05-02 Wim Taymans <wim@fluendo.com>
8637 Fix documentation as spotted by rg on IRC.
8639 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8642 Improve docs for gst_element_{link,unlink}.
8644 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8646 * docs/design/part-events.txt:
8647 * docs/design/part-overview.txt:
8651 * libs/gst/base/gstbasesink.c:
8652 Typo fixes; minor docs addition.
8654 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8656 * docs/gst/gstreamer-sections.txt:
8657 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8658 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8660 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8661 or src that supports a given URI protocol exists.
8663 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8665 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8666 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8667 Set the location to NULL if "file://" is set as URI. Otherwise
8668 some random previous URI would still be set if "file://" is
8669 set on an already used filesink/filesrc.
8671 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8673 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8674 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8675 Special case the "file://" URI as as this is used by some
8676 applications to test with gst_element_make_from_uri if there's
8677 an element that supports the URI protocol.
8678 Also move the g_path_is_absolute() check for the location part
8679 of the URI to also check this for "file://localhost/bla" URIs.
8681 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8683 * docs/gst/gstreamer-sections.txt:
8684 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8686 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8688 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8690 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8692 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8693 (gst_registry_binary_load_pad_template),
8694 (gst_registry_binary_load_plugin),
8695 (gst_registry_binary_read_cache):
8696 * gst/gstregistrybinary.h:
8697 Implement no-mmap alternative for registry reading. Do code cleanups.
8698 Add more comments about avoiding strdups for all text data. Comments
8701 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8703 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8704 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8705 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8706 Comment structs and reformat to fix the build (that stuff should go
8707 into a priv. header).
8709 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8711 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8712 (gst_registry_binary_load_feature):
8713 * gst/gstregistrybinary.h:
8714 Refactor so that we can implement multiple features. Add support for
8715 TypeFindFactory features.
8717 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8719 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8722 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8724 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8726 * gst/gstbin.c: (gst_bin_element_set_state),
8727 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8728 (bin_handle_async_done), (gst_bin_handle_message_func):
8729 Fix build with --gst-disable-gst-debug
8731 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8733 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8734 Make sure streaming has finished before calling the ::stop() vfunc,
8735 since that vfunc might clear state which is being used in the
8736 streaming thread. This fixes a race that caused crashes in
8737 audioresample when shutting down a pipeline (#420106).
8739 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8741 * docs/gst/gstreamer-sections.txt:
8742 That was one byte missing.
8744 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8747 * docs/gst/gstreamer-sections.txt:
8749 * gst/gstconfig.h.in:
8750 * gst/gstobject.c: (gst_object_class_init),
8751 (gst_signal_object_class_init):
8753 2nd attempt to have a xml-less build as a joined effort of #413123
8756 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8758 * docs/design/draft-tagreading.txt:
8759 Added open issues/thoughts to draft.
8761 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8763 * gst/parse/grammar.tab.pre.c:
8764 * gst/parse/grammar.tab.pre.h:
8765 * gst/parse/lex._gst_parse_yy.pre.c:
8766 Update the prebuild parser sources.
8768 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8770 * gst/parse/Makefile.am:
8771 And now fix the building of the flex sources. Now everything should
8774 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8776 * gst/parse/Makefile.am:
8777 Now hopefully fix the build failures by setting proper rule
8778 dependencies and moving instead of copying.
8780 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8782 * tests/benchmarks/complexity.gnuplot:
8783 * tests/benchmarks/complexity.scm:
8784 * tests/benchmarks/mass-elements.gnuplot:
8785 * tests/benchmarks/mass-elements.scm:
8786 Total licensification.
8788 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8790 * gst/parse/Makefile.am:
8791 Fix the build by correcting the rule that gave wrong files to flex.
8793 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8795 * tests/benchmarks/complexity.c:
8796 * tests/benchmarks/mass-elements.c:
8797 Change licence to LGPL as granted by Benjamin and Andy.
8799 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8801 * gst/parse/Makefile.am:
8802 Add correct grammar.tab.h dependency if compiling without new enough
8803 flex. Fixes #431150.
8805 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8807 * gst/parse/Makefile.am:
8808 Fix typo and use outdated sources if the flex/bison sources are newer
8809 than the pregenerated ones but flex is too old. Print a warning in
8810 that case. This should fix the build on the build bot.
8812 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8814 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8815 * gst/parse/Makefile.am:
8816 * gst/parse/grammar.y:
8817 * gst/parse/parse.l:
8818 Make the parser reentrant and recursively callable. This requires flex
8819 >= 2.5.31, for older versions pregenerated sources are used as we
8820 can't bump the build dependency. Finally fixes #349180.
8822 * gst/gstparse.c: (gst_parse_launch):
8823 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8826 * docs/gst/Makefile.am:
8827 * docs/gst/Makefile.am:
8828 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8829 (__gst_parse_strfree), (__gst_parse_link_new),
8830 (__gst_parse_link_free), (__gst_parse_chain_new),
8831 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8832 (gst_parse_element_set), (gst_parse_free_link),
8833 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8834 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8835 (_gst_parse_launch):
8836 * gst/parse/grammar.tab.pre.h:
8837 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8838 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8839 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8840 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8841 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8842 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8843 (_gst_parse_yypop_buffer_state),
8844 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8845 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8846 (yy_fatal_error), (_gst_parse_yyget_extra),
8847 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8848 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8849 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8850 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8851 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8852 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8853 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8854 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8855 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8856 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8857 (_gst_parse_yyfree):
8858 If the installed flex version is too old use pre-generated parser
8859 sources. These pre-generated parser sources are always updated when
8860 the actual flex/bison sources change but require everybody who wants
8861 to change something in the parser to have flex >= 2.5.31 installed.
8863 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8865 * common/m4/gst-gettext.m4:
8866 * gst/gst-i18n-lib.h:
8867 Make --disable-nls to work
8869 2007-04-17 Wim Taymans <wim@fluendo.com>
8871 * gst/gstconfig.h.in:
8872 Revert previous change that broke the build.
8874 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8878 * gst/gstconfig.h.in:
8879 Drop libxml2 dependency when building with
8880 --enable-binary-registry --disable-loadsave
8882 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8884 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8885 (gst_registry_binary_read_cache):
8886 * gst/gstregistrybinary.h:
8887 Remove unnecessary <sys/mman.h> include which broke the win32 build
8888 with MingW; move includes from header file to .c file, even if the
8889 header file isn't installed; use g_strerror() where UTF-8 strings
8890 are expected, such as in GST_DEBUG messages.
8892 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8894 * docs/libs/gstreamer-libs-sections.txt:
8895 Remove bogus addition for API I didn't end up keeping.
8897 * libs/gst/base/gstbasesrc.h:
8898 Mention Since: 0.10.13 in the documentation.
8900 Add the API keyword to the previous ChangeLog entry.
8902 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8904 * docs/libs/gstreamer-libs-sections.txt:
8905 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8906 (gst_base_src_default_prepare_seek_segment),
8907 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8908 * libs/gst/base/gstbasesrc.h:
8909 Allow basesrc derived classes to execute seeks in other formats
8910 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8911 to prepare the GstSegment in any format that their perform_seek method
8912 will be able to understand. The default implementation provides the
8913 old behaviour of attempting to convert the seek offsets to the
8914 configured native format.
8916 API: basesrc::prepare_seek_segment vmethod.
8918 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8920 * gst/gstelement.c: (gst_element_get_state_func):
8921 Don't output the same debug statement twice.
8923 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8924 (gst_adapter_peek), (gst_adapter_take_buffer):
8925 Optimise the case where we have buffers at the head of the queue that
8926 can be joined quickly (because they're contiguous sub-buffers) by
8927 merging them together rather than copying data out into new memory.
8929 * gst/parse/grammar.y:
8930 * tests/check/pipelines/parse-launch.c:
8931 Fix a leak in an error path for parse_launch, and add a check
8932 for it to the testsuite.
8934 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8936 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8937 Don't deadlock when releasing a pad - gst_pad_set_active may try
8938 and take the multiqueue lock too.
8940 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8942 * gst/gsterror.c: (_gst_core_errors_init):
8944 API: add GST_CORE_ERROR_DISABLED (#392804).
8946 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8948 * docs/faq/gst-uninstalled:
8949 don't get empty paths on the PATH variables
8950 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8951 Don't format for the uncommon terminal width of 84 characters.
8953 2007-04-06 Wim Taymans <wim@fluendo.com>
8955 * gst/gstpipeline.c: (reset_stream_time),
8956 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8957 Only try to select a different pipeline clock when we went back to
8958 PAUSED and not when we merely got flushed.
8960 2007-04-05 Michael Smith <msmith@fluendo.com>
8962 * tools/gst-launch.1.in:
8963 fractions are better supported in gstreamer than ractions, so
8964 suggest using those.
8966 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8968 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8972 Added Danish translation.
8974 2007-04-05 Wim Taymans <wim@fluendo.com>
8976 * libs/gst/base/gstbasesink.c:
8977 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8978 Fix leak caused when refusing newsegment after EOS.
8980 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8981 (gst_fake_sink_init), (gst_fake_sink_set_property),
8982 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8983 (gst_fake_sink_render), (gst_fake_sink_change_state):
8984 * plugins/elements/gstfakesink.h:
8985 Add num-buffers property to make the element generate EOS after a
8986 configurable amount of buffers.
8987 API: fakesink::num-buffers property.
8989 * tests/check/elements/fakesink.c: (GST_START_TEST),
8991 Fix GstBus leak in test.
8992 Test for fakesink num-buffers.
8994 2007-04-05 Wim Taymans <wim@fluendo.com>
8996 * libs/gst/base/gstbasesink.c:
8997 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8998 (gst_base_sink_change_state):
8999 Don't accept anything after an EOS, return UNEXPECTED instead.
9001 * tests/check/elements/fakesink.c: (GST_START_TEST),
9003 Unit test for new EOS behaviour.
9005 2007-04-05 Wim Taymans <wim@fluendo.com>
9007 * gst/gstelement.c: (gst_element_get_request_pad):
9008 Make padtemplates also work when they don't contain %s or %d.
9010 2007-04-05 Wim Taymans <wim@fluendo.com>
9012 * docs/gst/gstreamer-sections.txt:
9013 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9014 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9016 Improve _adjust_unlocked() so that it overflows less.
9017 Add gst_clock_unadjust_unlocked to convert from external time to
9018 internal time based on calibration.
9019 Add some more debug.
9020 API: GstClock::gst_clock_unadjust_unlocked()
9022 2007-04-03 Wim Taymans <wim@fluendo.com>
9024 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9026 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9027 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9028 when releasing sink pad. Fixes #425400.
9030 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9032 * docs/random/ensonic/dynlink.txt:
9033 More work on proposal for new core api.
9035 * docs/libs/gstreamer-libs-sections.txt:
9036 * libs/gst/base/gstbasetransform.h:
9037 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9039 * libs/gst/controller/gstcontroller.c:
9040 (on_object_controlled_property_changed),
9041 (gst_controller_sync_values),
9042 (gst_controller_set_interpolation_mode):
9043 * libs/gst/controller/gstcontroller.h:
9044 Less verbose logging add docs for unimplemented parts and correctly
9045 return when using unavailable parts.
9047 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9049 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9050 Move all the debug to the CLOCK category, and associate it with
9053 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9055 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9056 Make take_buffer a bit quicker by removing redundant checks
9057 caused by calling gst_adapter_take.
9059 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9061 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9064 * tests/check/Makefile.am:
9065 * tests/check/elements/.cvsignore:
9066 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9067 (GST_START_TEST), (multiqueue_suite):
9068 Add some dead simple unit tests for the 'multiqueue' element
9069 (some bits don't work yet and are disabled for now).
9071 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9073 * gst/gstelement.c: (gst_element_get_request_pad),
9074 (gst_element_class_get_request_pad_template):
9075 Make gst_element_get_request_pad() create request pads only for
9076 request pad templates and not for, say, sometimes pad templates.
9078 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9080 * docs/design/draft-klass.txt:
9081 Add example that needs more thinking.
9083 * docs/design/draft-missing-plugins.txt:
9084 More thoughts about wrapper plugins.
9086 * docs/random/ensonic/embedded.txt:
9087 * docs/random/ensonic/profiling.txt:
9090 2007-03-25 Wim Taymans <wim@fluendo.com>
9092 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9093 (gst_base_src_loop):
9094 Only push the segment events in the PLAYING state for live sources.
9096 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9098 * gst/gstpipeline.c: (gst_pipeline_change_state):
9099 Modify the clock distribution path in PAUSED->PLAYING so that we
9100 never attempt to choose a new clock unless we're actually leaving
9101 the PAUSED state for the first time. This prevents choosing a
9102 different clock when the state_change gets called for a 2nd time due
9103 to some element doing an async state change.
9105 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9107 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9108 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9109 (gst_pad_chain_unchecked), (gst_pad_push):
9110 Revert last commit. This needs some more thoughts.
9112 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9114 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9115 (gst_pad_chain_unchecked), (gst_pad_push):
9116 Check in set_caps if the caps are compatible with the pad and remove
9117 two functions that are redundant now. Fixes #421543.
9119 2007-03-22 Wim Taymans <wim@fluendo.com>
9121 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9122 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9123 Unref some more to make valgrind happy.
9125 2007-03-22 Wim Taymans <wim@fluendo.com>
9127 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9128 (gst_system_clock_id_wait_jitter),
9129 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9130 Fix anoying regression that survived a few releases. When adding an
9131 async entry while blocking on a sync entry, the sync entry will unblock
9132 but still be busy, so it should continue to wait instead of returning
9134 Add some comments here and there.
9136 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9137 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9138 Add testcase for this.
9140 2007-03-22 Wim Taymans <wim@fluendo.com>
9142 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9143 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9144 WRONG_STATE and can silently pause the task. All other cases should
9147 2007-03-22 Wim Taymans <wim@fluendo.com>
9149 Patch by: Ville Syrjala <syrjala at sci dot fi>
9151 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9152 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9155 2007-03-21 Michael Smith <msmith@fluendo.com>
9157 * docs/pwg/advanced-types.xml:
9158 Fix some errors in the typefinding docs pointed out on irc.
9160 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9162 * libs/gst/base/gstbasesrc.c:
9163 Clarify FIXME comment in the face of having added unlock_stop()
9165 2007-03-21 Wim Taymans <wim@fluendo.com>
9167 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9168 Prepare for release where we warn against possible app breakage in the
9169 case of live pipelines along with an env var to enable/disable live
9170 preroll mode (GST_COMPAT=[no-]live-preroll).
9172 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9174 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9175 So we should use correct constants for checking for None offset.
9177 2007-03-20 Wim Taymans <wim@fluendo.com>
9179 * docs/design/part-block.txt:
9180 Mention the fact that the newly switched element should be set to at
9183 2007-03-20 Wim Taymans <wim@fluendo.com>
9186 Fix compilation with registry disabled as spotted by Saur.
9188 2007-03-20 Wim Taymans <wim@fluendo.com>
9190 Patch by: Olivier Crete <tester at tester dot ca>
9192 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9193 Look at the pending state too when syncing the element state to the
9194 parent. Fixes #420133.
9196 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9198 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9199 (gst_base_sink_change_state):
9200 * libs/gst/base/gstbasesink.h:
9201 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9202 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9203 (gst_base_src_deactivate):
9204 * libs/gst/base/gstbasesrc.h:
9205 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9206 for sub-classes to correctly clear any state they set trying to
9207 unlock, such as clearing out unlock commands from a command fd.
9208 API: basesrc::unlock_stop
9209 API: basesink::unlock_stop
9211 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9212 (gst_fd_sink_render), (gst_fd_sink_unlock),
9213 (gst_fd_sink_unlock_stop):
9214 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9215 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9216 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9218 Implement unlock_stop in fdsrc and fdsink.
9219 Implement seeking in fdsrc when a seekable fd is passed, as in
9220 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9222 2007-03-19 Wim Taymans <wim@fluendo.com>
9224 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9226 * gst/gstelement.c: (gst_element_class_init):
9227 Fix pad-added and pad-removed signal signatures so that the pad type is
9228 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9230 2007-03-19 Wim Taymans <wim@fluendo.com>
9232 * docs/gst/gstreamer-sections.txt:
9233 Add new element field and method.
9235 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9236 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9237 (gst_bin_recalc_state), (gst_bin_get_state_func),
9238 (gst_bin_element_set_state), (gst_bin_change_state_func),
9239 (gst_bin_continue_func), (bin_bus_handler),
9240 (bin_push_state_continue), (bin_handle_async_start),
9241 (bin_handle_async_done), (gst_bin_handle_message_func):
9242 Make async state changes a bit smarter by using new ASYNC_START and
9243 ASYNC_DONE messages. This reduces the number of times we run the state
9244 recalculation thread.
9245 Don't change state of element with a pending ASYNC_START message.
9246 Deprecate STATE_DIRTY messages.
9248 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9249 (gst_element_get_state_func), (gst_element_continue_state),
9250 (gst_element_lost_state), (gst_element_set_state_func),
9251 (gst_element_change_state):
9253 Keep the state that was last set by the app in a new element field.
9254 Don't allow state changes when handling an element event.
9255 Post ASYNC_START and ASYNC_DONE messages.
9256 Change lost_state so that we go to PAUSED and wait for the parent to set
9257 us to PLAYING again (so latency calculation can be performed)
9258 Export gst_element_change_state() method so that subclasses can use it.
9259 API: gst_element_change_state()
9260 API: GST_STATE_TARGET
9262 * gst/gstpipeline.c: (gst_pipeline_class_init),
9263 (reset_stream_time), (gst_pipeline_change_state),
9264 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9265 Using the new ASYNC_START message we can reset the base_time when
9266 needed. This can then be used to implement base_time redistribution in
9267 flushing seeks so that we can remove the explicit seek handling.
9268 Perform latency query and configuration when going to PLAYING.
9270 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9271 (gst_base_sink_query), (gst_base_sink_change_state):
9272 Post new ASYNC_START/ASYNC_DONE messages.
9274 * tests/check/generic/sinks.c: (GST_START_TEST):
9275 Fix test because the bin will not set the async element to PLAYING right
9278 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9279 Make the message check a little stronger.
9280 Handle ASYNC messages.
9282 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9283 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9284 Expect ASYNC_DONE messages.
9286 2007-03-19 Wim Taymans <wim@fluendo.com>
9288 * docs/gst/gstreamer-sections.txt:
9289 * gst/gstmessage.c: (gst_message_new_async_start),
9290 (gst_message_new_async_done), (gst_message_parse_info),
9291 (gst_message_parse_async_start):
9293 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9296 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9298 * tools/gst-inspect.c:
9299 (print_plugin_automatic_install_info_codecs):
9300 Now that we don't check for the 'Codec' keyword any longer in the
9301 klass, we shouldn't spew a warning if the klass isn't a decoder or
9302 encoder (since it might be a Source/Network, for example).
9304 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9306 * tools/gst-inspect.c:
9307 (print_plugin_automatic_install_info_codecs):
9308 Don't require decoder/demuxer/depayloader elements or
9309 encoder/muxer/paylader elements to have 'Codec' as part of their
9310 factory class string when introspecting a plugin's capabilities.
9311 draft-klass.txt mentions that it might be removed in future, and
9312 flump3dec doesn't have it as part of its class string, so chances
9313 are others might also not have it.
9315 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9337 Update translations from translation project
9339 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9341 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9342 (gst_child_proxy_set_property):
9343 Invert precondition check to be alike the ones in the mimiced gobject
9346 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9348 * docs/design/draft-tagreading.txt:
9349 * docs/random/ensonic/audiobaseclasses.txt:
9350 Do some Architect work.
9352 * gst/gstobject.c: (gst_object_set_name):
9356 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9358 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9360 * gst/gstsystemclock.c: (gst_system_clock_init),
9361 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9362 Defer starting the async system clock thread until the first async
9363 wait is scheduled. Fixes #414986.
9365 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9367 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9368 (gst_single_queue_free):
9369 Fix small leak (free GstSingleQueue structure too, not only contents).
9371 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9373 * gst/gstbin.c:(gst_bin_add):
9374 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9375 * win32/common/libgstbase.def:
9376 * win32/common/libgstreamer.def:
9377 Add new exported functions.
9379 2007-03-09 Wim Taymans <wim@fluendo.com>
9381 * docs/plugins/gstreamer-plugins-sections.txt:
9384 2007-03-09 Wim Taymans <wim@fluendo.com>
9386 * docs/gst/gstreamer-sections.txt:
9387 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9389 Add metadata copy functions. Fixes #393099.
9390 API: gst_buffer_copy_metadata()
9392 * gst/gstutils.c: (gst_buffer_stamp):
9393 * libs/gst/base/gstbasetransform.c:
9394 (gst_base_transform_prepare_output_buffer):
9395 Use new metadata copy functions.
9397 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9399 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9400 (gst_identity_init), (gst_identity_check_perfect),
9401 (gst_identity_check_imperfect_timestamp),
9402 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9403 (gst_identity_set_property), (gst_identity_get_property):
9404 * plugins/elements/gstidentity.h:
9405 Separate out check-imperfect-timestamp and check-imperfect-offset.
9406 Put back check-perfect as it was to keep compatibility.
9408 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9410 * gst/gstelement.c: (gst_element_dispose):
9411 There's no need to warn if VOID_PENDING is not NONE here, as
9412 long as the state is NULL it's ok, and that's checked immediately
9415 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9417 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9418 Fix check for perfect stream to ignore buffers with -1
9419 offsets/offset ends when checking data contiguity.
9421 2007-03-08 Wim Taymans <wim@fluendo.com>
9423 * tools/gst-launch.c: (event_loop):
9424 Print INFO messages.
9426 2007-03-08 Wim Taymans <wim@fluendo.com>
9428 * libs/gst/base/gstbasetransform.c:
9429 (gst_base_transform_sink_eventfunc),
9430 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9431 (gst_base_transform_activate):
9432 * libs/gst/base/gstbasetransform.h:
9433 Add support for dropping buffers with custom GstFlowReturn.
9434 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9435 buffers or dropped buffers.
9437 * docs/libs/gstreamer-libs-sections.txt:
9438 docs for new custom return code.
9440 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9441 Use drop support in base class to implement drop-probability.
9443 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9445 * gst/gst.c: (load_plugin_func):
9446 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9447 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9448 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9449 Remove newlines at end of debug log strings.
9451 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9453 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9454 Only post bus message at max, once per buffer received.
9456 2007-03-07 Wim Taymans <wim@fluendo.com>
9458 * docs/design/Makefile.am:
9459 * docs/design/part-synchronisation.txt:
9460 Add doc about synchronisation
9462 * docs/design/draft-latency.txt:
9463 * docs/design/part-TODO.txt:
9464 * docs/design/part-clocks.txt:
9465 * docs/design/part-events.txt:
9466 * docs/design/part-gstbus.txt:
9467 * docs/design/part-gstpipeline.txt:
9468 * docs/design/part-live-source.txt:
9469 * docs/design/part-messages.txt:
9470 * docs/design/part-overview.txt:
9471 * docs/design/part-streams.txt:
9472 * docs/design/part-trickmodes.txt:
9473 Documentation updates.
9475 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9478 Update the doap file.
9480 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9482 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9483 Rename non-perfect to imperfect for Mike and for the sanctity of the
9485 Also make sure bus message gets emitted for data-incontiguities.
9487 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9489 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9490 (gst_identity_start):
9491 * plugins/elements/gstidentity.h:
9492 Emit bus message if check-perfect is true and we encounter a
9493 non-perfect stream between 2 consecutive buffers.
9496 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9501 === release 0.10.12 ===
9503 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9506 releasing 0.10.12, "Inevitable Demise"
9508 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9511 Version 0.10.11.2 (0.10.12 pre-release)
9512 Bump libtool versioning.
9514 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9516 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9517 Log flow-names and not numbers.
9519 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9522 Convert to new AG_GST style.
9524 2007-02-28 Wim Taymans <wim@fluendo.com>
9526 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9527 Don't unref query twice.
9529 2007-02-28 Wim Taymans <wim@fluendo.com>
9531 * gst/gstvalue.c: (gst_value_transform_object_string),
9532 (_gst_value_initialize):
9533 Implement GstObject -> string transform so we print object names
9534 when serializing GValues containing GstObjects.
9536 2007-02-28 Wim Taymans <wim@fluendo.com>
9538 * docs/gst/gstreamer-sections.txt:
9539 Add new stuff to docs.
9541 2007-02-28 Wim Taymans <wim@fluendo.com>
9543 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9544 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9545 (gst_base_sink_change_state):
9546 Improve latency query code.
9547 Don't leak latency events.
9549 * tests/check/gst/gstbin.c: (GST_START_TEST):
9552 2007-02-28 Wim Taymans <wim@fluendo.com>
9554 * gst/gstelement.c: (gst_element_message_full),
9555 (gst_element_get_state_func):
9557 Improve docs a little. Added Since: for new macro.
9559 * gst/gstobject.c: (gst_object_sink):
9560 * gst/gstpipeline.c: (gst_pipeline_change_state),
9561 (gst_pipeline_set_new_stream_time):
9562 * gst/gstpipeline.h:
9563 Improve debugging and docs.
9565 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9568 2007-02-28 Wim Taymans <wim@fluendo.com>
9570 * gst/gstelement.c: (gst_element_message_full),
9571 (gst_element_set_locked_state), (gst_element_get_state_func),
9572 (gst_element_change_state):
9573 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9574 Documentation updates.
9575 Small code cleanups.
9577 * gst/gstmessage.c: (gst_message_new_info),
9578 (gst_message_parse_info):
9580 API: gst_message_new_info()
9581 API: gst_message_parse_info()
9582 Add INFO message create and parse code.
9584 2007-02-28 Wim Taymans <wim@fluendo.com>
9586 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9587 (bin_query_latency_done):
9588 Also report the live parameter of a latency query.
9590 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9592 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9593 Copy the current generic/states example from -base and adapt so
9594 we can use the exact same code everywhere.
9595 Check a STATES_IGNORE_ELEMENTS env var which can be used
9596 to ignore certain element factories for this test, which is
9597 what is being done in -base
9598 * tests/check/Makefile.am:
9599 Mention this environment variable.
9601 2007-02-27 Wim Taymans <wim@fluendo.com>
9603 * docs/gst/gstreamer-sections.txt:
9604 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9605 (gst_bus_timed_pop), (gst_bus_pop):
9607 API: gst_bus_timed_pop()
9608 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9609 message to arrive on the bus.
9611 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9613 Two unit tests for new _timed_pop() function.
9615 2007-02-23 Wim Taymans <wim@fluendo.com>
9617 * gst/gstpipeline.c: (gst_pipeline_change_state),
9618 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9619 Don't ref a NULL clock in _provide_clock_func().
9620 Don't allow an INVALID delay.
9621 Don't try to calculate base_time with an invalid start_time.
9622 Also distribute and notify a NULL clock when it was selected.
9624 * tools/gst-launch.c: (event_loop):
9625 Don't crash when a NULL clock was selected in the pipeline.
9627 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9629 * docs/design/Makefile.am:
9630 * docs/design/draft-missing-plugins.txt:
9631 * docs/random/draft-missing-plugins.txt:
9632 Some small updates: update plugin system identifier prefix
9633 ('gstreamer.net' to 'gstreamer'), mention our new install
9634 API in libgstbaseutils rather than libgimme-codec, add
9635 reference to the online docs.
9637 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9639 * win32/common/config.h:
9640 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9641 use moap cl ci to only check in what is mentioned in the ChangeLog.
9643 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9645 * docs/gst/gstreamer-sections.txt:
9647 Fix up documentation to link to the correct GstGError section.
9648 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9650 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9652 * tools/gst-launch.c: (event_loop):
9653 Make sure that we actually show the important message part of a
9655 No need to check if the gerror is not NULL to free; first of all
9656 g_free accepts NULL; and second the default error handler would
9657 segfault if gerror was NULL.
9659 2007-02-21 Wim Taymans <wim@fluendo.com>
9661 * docs/gst/gstreamer-sections.txt:
9662 Removed docs as well.
9664 2007-02-21 Wim Taymans <wim@fluendo.com>
9666 * gst/gstmessage.c: (gst_message_parse_duration):
9668 Remove new messages for release.
9670 2007-02-20 Wim Taymans <wim@fluendo.com>
9672 * docs/design/part-gstghostpad.txt:
9673 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9674 (gst_ghost_pad_new_full):
9675 Make the ghostpad a parent of the internal pad again for better backward
9676 compatibility. Don't write code that relies on this however.
9678 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9679 (gst_pad_link_check_hierarchy):
9680 Require that parents should be GstElements in the hierarchy check.
9682 2007-02-20 Wim Taymans <wim@fluendo.com>
9684 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9685 (gst_bin_change_state_func), (bin_query_min_max_init),
9686 (bin_query_latency_fold), (bin_query_latency_done),
9689 Implement latency query.
9691 2007-02-20 Wim Taymans <wim@fluendo.com>
9693 * docs/design/part-gstghostpad.txt:
9694 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9695 (gst_ghost_pad_internal_do_activate_push),
9696 (gst_ghost_pad_internal_do_activate_pull),
9697 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9698 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9699 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9700 Do not set the internal pad as a parent anymore so we can avoid
9701 hierarchy linking errors when the ghostpad has no parent yet. This also
9702 fixes failed activation because of unlinked internal pads, which in
9703 turn fixes the impossible case where you have to activate a pad before
9704 you can add it to a running element.
9707 * gst/gstpad.c: (pre_activate), (post_activate),
9708 (gst_pad_set_active), (gst_pad_activate_pull),
9709 (gst_pad_activate_push), (gst_pad_check_pull_range):
9710 Add some more debug info.
9711 Mark activation mode in pre_activate so that we don't try to activate in
9712 endless loops. Fixes #385084.
9714 2007-02-19 Wim Taymans <wim@fluendo.com>
9716 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9717 (gst_base_transform_check_get_range):
9718 Implement a checkgetrange function instead of relying on the default
9719 core behaviour that assumes we can operate in pull mode if we have a
9720 getrange function. First step at fixing #385084.
9722 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9724 * gst/gstchildproxy.h:
9725 * libs/gst/base/gstbasesink.h:
9726 * libs/gst/base/gstbasesrc.h:
9727 * libs/gst/base/gstbasetransform.h:
9728 More docs coverage and some ChangeLog surgery (add missing names)
9730 2007-02-15 Wim Taymans <wim@fluendo.com>
9732 * docs/design/part-TODO.txt:
9733 * docs/design/part-activation.txt:
9734 * docs/design/part-block.txt:
9735 * docs/design/part-buffering.txt:
9736 * docs/design/part-clocks.txt:
9737 * docs/design/part-element-source.txt:
9738 * docs/design/part-events.txt:
9739 * docs/design/part-gstbin.txt:
9740 * docs/design/part-gstbus.txt:
9741 * docs/design/part-gstpipeline.txt:
9742 * docs/design/part-live-source.txt:
9743 * docs/design/part-messages.txt:
9744 * docs/design/part-overview.txt:
9745 * docs/design/part-qos.txt:
9746 * docs/design/part-query.txt:
9747 * docs/design/part-states.txt:
9748 * docs/design/part-trickmodes.txt:
9749 Some doc updates. Start renaming from stream_time to running_time where
9750 it was used wrongly.
9752 2007-02-15 Wim Taymans <wim@fluendo.com>
9754 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9755 Answer LATENCY query.
9757 2007-02-15 Wim Taymans <wim@fluendo.com>
9759 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9763 2007-02-15 Wim Taymans <wim@fluendo.com>
9765 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9766 (gst_pad_dispatcher):
9767 Improve debugging of default pad dispatcher and query functions.
9769 2007-02-15 Wim Taymans <wim@fluendo.com>
9771 * docs/gst/gstreamer-sections.txt:
9772 Remove old unused method.
9774 2007-02-13 Wim Taymans <wim@fluendo.com>
9776 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9779 2007-02-13 Wim Taymans <wim@fluendo.com>
9781 * docs/design/part-seeking.txt:
9784 * gst/gstsegment.c: (gst_segment_set_seek):
9785 Revert old bogus change that should make seeking work again.
9787 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9789 * docs/random/ensonic/dynlink.txt:
9790 * docs/random/ensonic/interfaces.txt:
9791 * docs/random/ensonic/receipies.txt:
9792 Possible dynamic reconnection api, plus some type fixes the other two
9795 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9797 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9798 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9799 Also check for an absolute path following file:// in the filesrc
9800 element. Remove redundant check and call g_path_is_absolute() on the
9803 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9805 * docs/design/draft-klass.txt:
9806 Add existing category analysis.
9809 Fix doc example, framerate is a fraction.
9811 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9814 * docs/gst/Makefile.am:
9815 * docs/gst/gstreamer-sections.txt:
9816 * docs/libs/Makefile.am:
9817 Erm, forgot a bunch of --extra-dir.
9819 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9822 * docs/gst/Makefile.am:
9823 * docs/libs/Makefile.am:
9824 * docs/plugins/Makefile.am:
9825 Add crossreferences to glib/gobject docs.
9827 2007-02-12 Wim Taymans <wim@fluendo.com>
9829 * docs/design/draft-latency.txt:
9832 * docs/libs/gstreamer-libs-sections.txt:
9833 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9834 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9835 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9836 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9837 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9838 (gst_base_sink_get_position), (gst_base_sink_query),
9839 (gst_base_sink_change_state):
9840 * libs/gst/base/gstbasesink.h:
9841 API: gst_base_sink_query_latency() to let subclasses query the upstream
9843 API: gst_base_sink_get_latency() to let subclasses query the configured
9844 latency in the sink.
9845 Implement query and set latency.
9847 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9848 don't continue preroll when we are flushing. Fixes #405284.
9850 * tests/check/pipelines/stress.c: (change_state_timeout),
9851 (quit_timeout), (GST_START_TEST), (stress_suite):
9854 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9856 Patch by: René Stadler <mail at renestadler de>
9858 * docs/gst/gstreamer-sections.txt:
9859 * gst/gsttaglist.c: (_gst_tag_initialize):
9861 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9863 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9865 * docs/libs/Makefile.am:
9866 Fix path to core docs.
9868 * gst/gstbin.c: (gst_bin_get_by_interface),
9869 (gst_bin_iterate_all_by_interface):
9870 Refix docs by also renaming 'interface' to 'iface' in implementation.
9872 * docs/gst/gstreamer-sections.txt:
9874 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9875 * gst/gstchildproxy.h:
9876 * gst/gstelementfactory.c:
9877 * gst/gstpadtemplate.h:
9878 * libs/gst/controller/gstcontroller.c:
9879 (gst_controlled_property_new):
9882 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9884 * gst/gstbin.h:(gst_bin_get_by_interface),
9885 (gst_bin_iterate_all_by_interface):
9886 Replace interface parameter name by iface as interface is
9887 a reserved keyword in Visual Studio for C++ projects so it removes
9888 a build error for application developpers using VS.
9889 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9890 Fix a bug on Windows in uri format check. Now the prefix checked
9891 is file:// and next we check if the path after file:// is absolute.
9892 * win32/common/libgstbase.def:
9893 * win32/common/libgstdataprotocol.def:
9894 * win32/common/libgstgstreamer.def:
9895 Add new exported functions.
9897 2007-02-09 Andy Wingo <wingo@pobox.com>
9899 * tests/check/pipelines/simple-launch-lines.c
9900 (simple_launch_lines_suite, test_tee): Disable tee test until I
9901 have time to fix it :-(
9903 * tests/check/Makefile.am (noinst_HEADERS):
9904 * tests/check/libs/libsabi.c:
9905 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9906 * tests/check/gst/gstabi.c:
9907 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9909 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9910 tests for push and pull tee behavior.
9912 * plugins/elements/gsttee.h:
9913 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9914 mark as deprecated as well as unimplemented. It was a crack idea.
9915 Add support for tee operating in pull mode, off by default.
9917 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9918 normal-case logs down to LOG, raise errors to WARNING.
9919 (gst_registry_xml_read_cache): Don't log before calling a function
9922 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9923 exit (registry finalize).
9924 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9925 DEBUG log when we emit signals that people don't even have the
9926 chance to connect to.
9927 (gst_registry_scan_path_level): Less logging in the normal case.
9929 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9931 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9933 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9934 Correctly generate EOS for non-seekable files. We don't have a total
9935 length for them and would get an unexpected end of file if we only
9936 special-cased for regular files. (Fixes: #404569)
9938 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9940 * tests/check/elements/filesrc.c: (GST_START_TEST),
9942 Add unit test for the GstURIHandler interface in filesrc. This also
9943 tests the newly added file://localhost/foo/bar support.
9945 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9947 * gst/gstelementfactory.h:
9948 The klass string is not a hierarchy. Add reference to the design doc
9949 for more information and common types.
9951 2007-02-02 Wim Taymans <wim@fluendo.com>
9953 * gst/gstquery.c: (gst_query_new_latency):
9954 Remove old structure field.
9956 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9958 * tools/gst-launch.1.in:
9959 Give example for network streaming (#351998)
9961 2007-02-02 Wim Taymans <wim@fluendo.com>
9963 * docs/gst/gstreamer-sections.txt:
9964 Add docs for new methods.
9966 * gst/gstevent.c: (gst_event_new_latency),
9967 (gst_event_parse_latency):
9969 Add new LATENCY event to configure latency in a pipeline.
9970 API: gst_event_new_latency
9971 API: gst_event_parse_latency
9973 * gst/gstmessage.c: (gst_message_new_buffering),
9974 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9975 (gst_message_new_latency), (gst_message_parse_buffering),
9976 (gst_message_parse_lost_preroll):
9978 Added messages used in draft-latency.
9979 API: gst_message_new_lost_preroll
9980 API: gst_message_parse_lost_preroll
9981 API: gst_message_new_prerolled
9982 API: gst_message_new_latency
9984 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9985 (gst_query_parse_latency):
9987 Implemented new latency query as in design doc.
9988 API: gst_query_new_latency
9989 API: gst_query_set_latency
9990 API: gst_query_parse_latency
9992 2007-02-02 Wim Taymans <wim@fluendo.com>
9994 * docs/design/draft-latency.txt:
9995 Slight redesign to allow for dynamic latency adjustments.
9997 * docs/design/part-negotiation.txt:
10000 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10002 reviewed by: Wim Taymans <wim@fluendo.com>
10004 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10005 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10006 Allow file://localhost/foo/bar URLs and correctly fail for every other
10007 hostname that one sets. This was gnomevfssrc is linked for those if
10008 installed as it can handle it (#403172)
10010 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10012 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10014 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10015 (unref_data), (gst_collect_pads_add_pad_full):
10016 * libs/gst/base/gstcollectpads.h:
10017 Don't put the previously added destroy notify in the GstCollectData
10018 struct as all it's padding is already used and we don't want to break
10019 ABI. Instead put in the pad's GObject data for now. This should be
10020 cleaned up for 0.11 (#402393).
10022 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10024 reviewed by: Wim Taymans <wim@fluendo.com>
10026 * docs/libs/gstreamer-libs-sections.txt:
10027 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10028 (unref_data), (gst_collect_pads_add_pad),
10029 (gst_collect_pads_add_pad_full):
10030 * libs/gst/base/gstcollectpads.h:
10031 API: Add function to specify a destroy notification for custom
10032 GstCollectData when adding new pads in GstCollectPads (#402393).
10034 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10037 Update Swedish translation (#378255).
10039 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10041 * docs/design/draft-klass.txt:
10042 Fix the previous change, this is a list of categories and not a hierarchy.
10044 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10046 * docs/design/draft-klass.txt:
10047 Add info about how to get a list of used classes.
10049 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10051 * plugins/elements/gsttypefindelement.c:
10052 (gst_type_find_element_chain_do_typefinding),
10053 (gst_type_find_element_change_state):
10054 Don't leak found caps in chain function (no idea why that never
10055 showed up as a leak anywhere).
10057 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10060 Fix and expand GstPluginDesc API docs.
10062 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10065 * gst/gstelementfactory.c:
10066 * gst/gstpadtemplate.h:
10069 * libs/gst/controller/gstcontroller.c:
10070 (gst_controlled_property_new):
10071 * tests/examples/controller/audio-example.c:
10074 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10077 comment about refining the xml deps
10079 * docs/manuals.mak:
10080 comments about moving away from jade for docs
10083 recommit the ifdefs to use the binary registry
10085 * gst/gstbin.c: (gst_bin_change_state_func):
10086 this break is obsolete
10088 * gst/gstelementfactory.h:
10089 better GST_ELEMENT_DETAILS docs, add comment about translation
10094 * gst/gstobject.c: (gst_signal_object_get_type):
10095 add G_UNLIKELY as usual
10097 * gst/gstpad.c: (gst_pad_event_default):
10098 add fall trhu comment
10100 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10101 (gst_registry_binary_initialize_magic),
10102 (gst_registry_binary_save_string),
10103 (gst_registry_binary_save_pad_template),
10104 (gst_registry_binary_save_feature),
10105 (gst_registry_binary_save_plugin),
10106 (gst_registry_binary_write_cache),
10107 (gst_registry_binary_check_magic),
10108 (gst_registry_binary_load_pad_template),
10109 (gst_registry_binary_load_feature),
10110 (gst_registry_binary_load_plugin),
10111 (gst_registry_binary_read_cache):
10112 comment typo and formatting
10114 * gst/gstutils.c: (gst_element_state_get_name),
10115 (gst_element_state_change_return_get_name):
10116 remove obsolete breaks
10118 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10119 add FIXME 0.11 and remove cpp comment
10121 2007-01-29 Edward Hervey <edward@fluendo.com>
10123 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10124 Fix print statement in an even more portable way.
10126 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10128 * docs/gst/gstreamer-sections.txt:
10130 API: add GST_ROUND_DOWN_* macros (#401781).
10132 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10134 * docs/gst/gstreamer.types.in:
10135 * gst/gstregistry.c: (gst_registry_class_init):
10136 Document registry signals and make gtk-doc pick them up (#401381).
10138 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10140 * docs/pwg/building-testapp.xml:
10141 Add some audioconverts and audioresample to the pipeline, and some
10142 more comments and error handling.
10144 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10146 * docs/manual/manual.xml:
10147 * docs/pwg/pwg.xml:
10148 Fix typo (#400987).
10150 2007-01-26 Wim Taymans <wim@fluendo.com>
10152 * gst/gstcaps.c: (gst_static_caps_get):
10153 Init caps flags too.
10155 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10157 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10159 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10160 If not using mmap'ed files try to seek to the end instead of the
10161 start to determine whether we can seek at all. This fixes the case
10162 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10163 seeks for everything afterwards fail. Fixes #400656
10165 2007-01-25 Wim Taymans <wim@fluendo.com>
10167 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10168 Add some refcount debugging.
10169 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10170 in multiple streaming threads.
10172 2007-01-25 Wim Taymans <wim@fluendo.com>
10174 Patch by: David Schleef <ds at schleef dot org>
10176 * docs/libs/gstreamer-libs-sections.txt:
10177 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10178 * libs/gst/base/gstadapter.h:
10179 API: gst_adapter_copy() that can reduce the amount of memcpy when
10180 getting data from the adapter. Fixes #388201.
10182 2007-01-25 Edward Hervey <edward@fluendo.com>
10184 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10185 In print statements, "%x" is for guint. Fixes build on macosx.
10187 2007-01-24 Edward Hervey <edward@fluendo.com>
10189 * plugins/elements/gstmultiqueue.c:
10190 (gst_multi_queue_loop):
10192 (single_queue_overrun_cb), (single_queue_underrun_cb),
10193 (single_queue_check_full), (gst_single_queue_new):
10194 Implement single queue growth system.
10195 This uses the extra-size properties, and will grow single queues by
10196 that much if one goes full whereas there are others empty. This is
10197 called extra-mode in the code.
10198 When a single queue's levels go back below the initial max-size
10199 limits, it is no longer in extra-mode. This is to ensure we don't
10200 consume too much memory.
10203 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10205 * gst/gst.c: (gst_init_get_option_group):
10206 Make warning about late g_thread_init() calls a bit more explicit,
10207 so that it's more obvious to application developers what they need
10208 to do if a user files a bug against their application.
10210 2007-01-22 Edward Hervey <edward@fluendo.com>
10212 * plugins/elements/gstmultiqueue.c:
10213 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10214 Remove previous hack of unsetting the flushing flag for the source pad
10215 instead of activating it. Instead, fix the source pad activate function
10216 so that it no longer depends on having a parent set or not.
10218 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10220 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10222 * docs/manual/basics-bus.xml:
10223 Fix example code, gst_element_unref() doesn't exist any longer.
10225 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10227 Patch by: Mark Nauwelaerts <manauw at skynet be>
10230 Fix two docs typoes (#399094).
10232 2007-01-19 Edward Hervey <edward@fluendo.com>
10234 * docs/faq/gst-uninstalled:
10235 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10236 depending on libgstbaseutils can work in uninstalled environment.
10238 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10240 * gst/gsttaglist.h:
10241 * gst/gsttagsetter.c:
10242 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10243 statement for new tag.
10245 2007-01-17 Edward Hervey <edward@fluendo.com>
10247 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10248 When dynamically creating single queues, activate sinkpad before adding
10250 We should be doing the same thing for the source pad, but we can't
10251 since it would call a method which needs the parent to be set in order
10252 to work propertly. Instead of activating the source pad, we just unset
10253 the flushing flag, which is the minimal requirement for adding a pad
10254 to an element in a state greater than READY.
10256 2007-01-17 Edward Hervey <edward@fluendo.com>
10258 * docs/faq/gst-uninstalled:
10259 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10262 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10264 * tests/check/gst/gstabi.c:
10265 * tests/check/gst/struct_hppa.h:
10266 * tests/check/libs/libsabi.c:
10267 * tests/check/libs/struct_hppa.h:
10268 Add ABI structs for HPPA (see #393796).
10270 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10272 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10273 Actually write ABI structs to the file specified in the GST_ABI
10274 environment variable, as the message we print claims we would.
10276 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10278 * tests/check/gst/gsttask.c:
10279 Fix header comment.
10281 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10283 * gst/gsttaglist.c: (_gst_tag_initialize):
10284 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10285 previous two entries.
10287 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10289 * docs/gst/gstreamer-sections.txt:
10290 * gst/gsttaglist.c: (_gst_tag_initialize):
10291 * gst/gsttaglist.h:
10292 Add tag support for beat-per-minute.
10294 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10296 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10297 (gst_registry_binary_initialize_magic),
10298 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10299 (gst_registry_binary_save_pad_template),
10300 (gst_registry_binary_save_feature),
10301 (gst_registry_binary_save_plugin),
10302 (gst_registry_binary_write_cache),
10303 (gst_registry_binary_check_magic),
10304 (gst_registry_binary_load_pad_template),
10305 (gst_registry_binary_load_feature),
10306 (gst_registry_binary_load_plugin),
10307 (gst_registry_binary_read_cache):
10308 * gst/gstregistrybinary.h:
10309 Use glib types, cleanup comments, impement interfaces and uri-types.
10311 2007-01-13 Andy Wingo <wingo@pobox.com>
10313 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10314 getrange() to return buffers with other caps, while we fix
10315 demuxers and typefind, or otherwise change part-negotiation.txt.
10317 2007-01-12 Andy Wingo <wingo@pobox.com>
10319 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10320 Factor start/stop into this private function instead of partially
10321 in activate functions and partially in the change_state function.
10322 Fixes setup before the element has changed from READY->PAUSED, as
10323 is the case in pull-mode pipelines.
10324 (gst_base_transform_sink_activate_push)
10325 (gst_base_transform_src_activate_pull): Refactor to use
10326 gst_base_transform_activate().
10327 (gst_base_transform_change_state): Removed, not needed any more.
10329 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10330 Truncate before fixating.
10332 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10333 Don't set_caps() if the result of fixating is ANY, as it's not
10334 supported, and not necessary in the case of a link with no
10335 template caps on either side. Fixes tests/check/libs/basesrc in
10336 some pull-mode tests.
10338 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10339 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10340 (gst_base_transform_src_activate_pull):
10341 Track the activation mode.
10342 (gst_base_transform_setcaps): In pull mode, when activating the
10343 src pad, after activating the sink pad, activate the sink pad's
10344 peer, as discussed in part-negotiation.txt.
10346 * libs/gst/base/gstbasesrc.h:
10347 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10348 vmethod, as in basesink.
10350 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10352 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10353 mode, first proxy the setcaps to the peer pad.
10354 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10355 new fixate vmethod.
10356 (gst_base_sink_default_activate_pull): Rename from
10357 gst_base_sink_activate_pull.
10358 (gst_base_sink_negotiate_pull): New function, performs negotiation
10359 in pull mode before calling ::activate_pull().
10360 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10361 vmethod instead of the default implementation. I have no idea how
10362 this worked before. Negotiate before calling activate_pull.
10364 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10365 sink pads in pull mode. In addition to being correct, fixes
10366 filesrc ! decodebin ! identity ! fakesink.
10367 (gst_pad_get_range, gst_pad_pull_range): Don't call
10368 gst_pad_set_caps() if the caps changes; instead error out with
10369 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10371 2007-01-12 Andy Wingo <wingo@pobox.com>
10373 * docs/design/part-negotiation.txt: Update with more policy.
10375 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10377 * libs/gst/check/gstbufferstraw.h:
10378 * libs/gst/check/gstcheck.h:
10379 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10382 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10384 * tests/check/Makefile.am:
10385 * tests/check/gst/.cvsignore:
10386 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10387 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10388 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10389 (GST_START_TEST), (gst_tag_setter_suite):
10390 Add minimal unit test for beforementioned GstTagSetter bug.
10392 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10394 Patch by: René Stadler <mail at renestadler dot de>
10396 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10397 gst_tag_list_merge() returns a new list, so it's not the best idea
10398 to ingore its return value. Effectively meant that tags could only
10399 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10400 Also add function guard to require a non-NULL taglist as input (has
10401 always been so due to gst_tag_list_copy(), just making it explicit).
10403 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10405 * docs/random/draft-missing-plugins.txt:
10406 Some additions: mention new API that is supposed to be used at the
10407 various stages; short blob about new gst-inspect introspection
10408 option; mention potential future problem with plugins that have
10409 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10411 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10413 * tools/gst-inspect.c:
10414 (print_plugin_automatic_install_info_codecs),
10415 (print_plugin_automatic_install_info_protocols),
10416 (print_plugin_automatic_install_info), (main):
10417 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10418 introspect plugin files and get machine-parsable output that corresponds
10419 to the last bit of the missing-plugin installer string (small gotcha:
10420 doesn't take into account ranks).
10422 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10425 * docs/gst/gstreamer-sections.txt:
10427 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10428 (gst_registry_lookup_locked):
10429 * gst/gstregistry.h:
10430 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10431 (gst_registry_binary_initialize_magic),
10432 (gst_registry_binary_save_string),
10433 (gst_registry_binary_save_pad_template),
10434 (gst_registry_binary_save_feature),
10435 (gst_registry_binary_save_plugin),
10436 (gst_registry_binary_write_cache),
10437 (gst_registry_binary_check_magic),
10438 (gst_registry_binary_load_pad_template),
10439 (gst_registry_binary_load_feature),
10440 (gst_registry_binary_load_plugin),
10441 (gst_registry_binary_read_cache):
10442 * gst/gstregistrybinary.h:
10443 * gst/gstregistryxml.c: (load_feature),
10444 (gst_registry_xml_read_cache):
10445 commit binary registry (disabled by default, see #359653)
10447 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10449 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10450 Fix 'make check' too.
10452 2007-01-10 Andy Wingo <wingo@pobox.com>
10454 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10457 * docs/design/part-negotiation.txt: Update with, um, one way that
10458 pull-mode negotiation might work?
10461 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10462 that the pad must be a src pad; makes sense to call it the other
10463 way in pull mode, and the logic is symmetric anyway.
10465 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10467 * plugins/elements/gstfilesink.c:
10468 Include <stdio.h> for fseeko().
10470 2007-01-10 Wim Taymans <wim@fluendo.com>
10474 Reserve LATENCY event.
10476 2007-01-09 Wim Taymans <wim@fluendo.com>
10478 * docs/design/draft-latency.txt:
10481 2007-01-09 Wim Taymans <wim@fluendo.com>
10483 * docs/design/draft-latency.txt:
10486 * gst/gstelement.h:
10487 * gst/gststructure.c:
10491 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10493 * tests/check/.cvsignore:
10494 Ignore test-registry.xml as well.
10496 2007-01-09 Wim Taymans <wim@fluendo.com>
10498 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10499 unref data at the end when we are done with the pad.
10501 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10503 * docs/gst/gstreamer-sections.txt:
10504 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10505 (init_post), (gst_deinit), (gst_update_registry):
10507 API: add gst_update_registry() (#391296).
10509 * tests/check/Makefile.am:
10510 * tests/check/gst/gstregistry.c:
10511 * tests/check/gst/.cvsignore:
10512 Simple unit test for the above.
10514 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10516 * gst/gstregistry.c: (gst_registry_scan_path_level):
10517 Plugin extension on HP-UX is .sl, add that to the list of approved
10518 plugin extensions (see #393796).
10520 * tests/check/gst/gstpad.c: (GST_START_TEST):
10521 ulong => gulong. Fixes compilation with HP-UX compiler.
10523 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10524 Fix compilation if valgrind headers are not available.
10526 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10528 * win32/common/libgstreamer.def:
10529 Add new exported function.
10530 * win32/vs6/libgstbase.dsp:
10531 Add gstdataqueue.c to the build.
10532 * win32/vs6/libgstcoreelements.dsp:
10533 Add gstmultiqueue.c to the build.
10535 2007-01-06 Andy Wingo <wingo@pobox.com>
10537 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10538 activate_pull(), providing for a way to specialize the process of
10539 spawning a thread to pull on the sink pad. There is a default
10542 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10543 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10544 (gst_base_sink_init): Renamed pad activation functions (inserting
10545 "_pad" in their names). Refactor to use the new activate_pull
10546 vmethod, as appropriate.
10547 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10548 default activate_pull function to start a task pulling from the
10549 sink pad, as before.
10551 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10552 on the pads if necessary, as in push()/chain(). Update docs.
10553 Shouldn't affect existing pull() usage as it is currently only
10554 being used on buffers without caps.
10556 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10558 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10560 Call g_thread_init() first thing in gst_init() / gst_check_init().
10561 When initialisation is done via gst_init_get_option_group() and
10562 GOption parsing, issue a warning if the GLib thread system has not
10563 been initialised yet by the time gst_init_get_option_group() is
10564 called, as it's quite likely other GLib functions such as
10565 g_option_context_new() have been called already then, and
10566 g_thread_init() must be called before any other GLib function. The
10567 application in question must be fixed in that case, since memory
10568 corruption might happen otherwise.
10569 We issue the warning because even if the GLib folks decide to work
10570 around the problem on their end in future, this is still an issue
10571 with all GLib versions >= 2.10.0, so we should warn until we depend
10572 on a GLib version we know to be safe.
10573 Update documentation as well.
10574 Closes bug #391278.
10576 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10578 * tools/gst-inspect.c: (main):
10579 * tools/gst-launch.c: (main):
10580 * tools/gst-typefind.c: (main):
10581 * tools/gst-xmlinspect.c: (main):
10582 Call g_thread_init() really really early, before any other GLib
10583 function (see #342564 and recent discussion on gtk-devel-list).
10585 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10587 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10589 * gst/gst_private.h:
10590 * gst/gstconfig.h.in:
10592 On win32, all the __declspec stuff for symbol exporting is
10593 apparently only needed with MSVC, but doesn't work with MingW.
10594 Fixes compilation with MingW and #391909.
10596 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10598 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10599 Change some GST_ERROR_OBJECT that aren't really errors to
10600 GST_WARNING_OBJECT in order to reduce terminal spam.
10602 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10604 * tests/check/Makefile.am:
10605 disable test again, as there seem to be still race problems
10607 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10609 * tests/check/Makefile.am:
10610 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10611 (GST_START_TEST), (queue_suite):
10612 enable queue test again, add tests for the leaky behaviour
10614 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10617 * tests/examples/Makefile.am:
10618 Compile adapter test/example only if the required headers are
10619 available (fixes #391915).
10621 2007-01-01 David Schleef <ds@schleef.org>
10624 Restore the previous signal handler for SIGSEGV instead of
10625 setting to default, since we may have stolen it away from
10626 someone. (i.e., Mono)
10628 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10630 * docs/random/draft-missing-plugins.txt:
10631 Some small additions and clarifications.
10633 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10635 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10636 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10637 since that can lead to random memory corruptions and crashes
10638 (may or may not be related to #383244, #386711, and #386711).
10640 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10642 * tests/check/.cvsignore:
10643 * tests/check/Makefile.am:
10644 sync .cvsignome and CLEANFILES
10646 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10648 * tests/check/Makefile.am:
10651 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10653 * docs/design/part-states.txt:
10654 two tiny additional comments
10656 * gst/gststructure.c:
10659 * tests/check/Makefile.am:
10660 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10662 disable test for now, unless it gets fixed
10664 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10666 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10668 fix race in underrun test
10670 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10672 * tests/check/elements/.cvsignore:
10675 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10677 try to narrow test failure
10679 2006-12-21 David Schleef <ds@schleef.org>
10681 * plugins/elements/gstfakesrc.c:
10682 Use g_random_int_range(), since it produces better random
10683 numbers in a range than almost-correct floating point code.
10685 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10687 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10688 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10689 (gst_check_teardown_sink_pad):
10690 do not automatically (de)activate pads
10692 * tests/check/Makefile.am:
10693 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10694 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10695 add new, yet simple tests for queue
10697 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10698 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10699 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10701 * tests/check/elements/identity.c: (cleanup_identity):
10702 consistent pad (de)activation
10704 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10706 Patch by: Sebastian Dröge <slomo ubuntu com>
10708 * libs/gst/base/gstcollectpads.c:
10709 Fix two doc typos (#387866).
10711 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10713 * docs/manual/advanced-dparams.xml:
10714 Fix typo (g_object_control_properties() doesn't exist).
10716 2006-12-19 Edward Hervey <edward@fluendo.com>
10718 * gst/gstsegment.c: (gst_segment_set_seek):
10719 Fine tune the cases where the segment start/stop values are really
10721 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10722 Add tests for the return values of gst_segment_set_seek().
10724 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10729 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10731 Fix incorrect documentation and flesh it out a bit more.
10732 Set default values for the max properties on the GParamSpec as well,
10733 so it shows up correctly in gst-inspect.
10735 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10737 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10738 Correct docs of queue, add more detail and crosslink it more.
10740 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10742 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10743 Print additional debug info when the stream isn't perfectly
10744 timestamped; don't try to use invalid durations.
10746 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10748 * docs/design/Makefile.am:
10749 Dist new design docs.
10751 2006-12-16 Wim Taymans <wim@fluendo.com>
10753 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10755 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10756 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10757 (gst_collect_pads_stop), (gst_collect_pads_event),
10758 (gst_collect_pads_chain):
10759 * libs/gst/base/gstcollectpads.h:
10760 Add refcounting to the collectpads data so we can track when it's safe
10761 to free the data. Fixes #383382.
10763 2006-12-15 Wim Taymans <wim@fluendo.com>
10765 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10766 (gst_collect_pads_remove_pad):
10767 Automatically activate/deactivate pads when they are added to a
10768 started/stoped collectpads.
10770 2006-12-15 Wim Taymans <wim@fluendo.com>
10772 * gst/gstelement.c: (gst_element_add_pad):
10773 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10774 * gst/gstpad.c: (gst_pad_init):
10775 Set pads to FLUSHING when they are created. Check, warn and fix when a
10776 demuxer adds an inactive pad to itself when running. Fixes #339326.
10778 2006-12-15 Wim Taymans <wim@fluendo.com>
10780 * gst/gstelement.c: (gst_element_class_init),
10781 (gst_element_default_send_event), (gst_element_send_event),
10782 (gst_element_default_query), (gst_element_query):
10783 Expose default element send_event and query handling as vmethods that
10784 subclasses can chain up to.
10786 2006-12-15 Wim Taymans <wim@fluendo.com>
10788 * gst/gstelement.c: (gst_element_set_state_func):
10789 Small documentation fixes.
10791 2006-12-15 Wim Taymans <wim@fluendo.com>
10793 * docs/design/draft-latency.txt:
10794 Checked in draft for handling latency in pipelines.
10796 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10800 * gstreamer.spec.in:
10803 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10805 * gst/gst.c: (init_pre), (init_post):
10806 init_pre() and init_post() might be called via our GOptionGroup or
10807 from gst_init(), and we should skip both of them if we've already
10808 been initialised, otherwise we will init some things twice or add
10809 two default log functions.
10811 2006-12-13 Edward Hervey <edward@fluendo.com>
10813 * docs/manual/basics-bus.xml:
10814 No, gst_main_loop does not exist. Its g_main_loop.
10815 Discovered by somebody who abused the copy-paste technique of coding :)
10817 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10819 * gst/gstghostpad.c:
10820 Log ghostpad debug stuff to the GST_PADS category as well rather
10821 than just to the default category.
10823 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10826 * gst/gst.c: (init_pre):
10827 Add some basic system details such as OS and architecture
10828 to the debug output if possible, courtesy of uname().
10830 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10832 * docs/gst/running.xml:
10833 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10834 environment variables.
10836 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10838 * tests/check/gst/gstbin.c: (GST_START_TEST):
10839 It is acceptable to have a refcount of 2 or 3 at this point in the
10840 test, because the pipeline might be just posting its state_change
10841 message. The next line then waits for that message to appear using
10842 bus_poll, so that should be fine too.
10844 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10846 * gst/gst.c: (ensure_current_registry_forking):
10847 Ignore EINTR when reading from the child registry pipe.
10848 Explicitly ignore the return value from close, since it makes no
10851 * gst/gstminiobject.c: (gst_mini_object_ref),
10852 (gst_mini_object_unref):
10853 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10855 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10856 When removing cached plugins, remove their features too, so they're
10857 not visible after they've disappeared.
10859 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10860 In the unlikely case that we are linking pads with no parents, don't
10861 crash trying to get the non-existent parent bin.
10863 * gst/parse/grammar.y:
10864 Output debug in the PIPELINE category
10866 2005-03-08 Wim Taymans <wim@fluendo.com>
10868 Patch by: René Stadler <mail at renestadler dot de>
10870 * gst/gstclock.c: (gst_clock_new_periodic_id):
10871 Reject invalid clock times for interval of periodic ids.
10874 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10876 * gst/gstelementfactory.c: (gst_element_factory_create):
10877 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10878 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10879 * tools/gst-inspect.c: (print_element_info):
10880 Fix refcounting of gst_plugin_feature_load to match the docs.
10883 2006-12-07 Wim Taymans <wim@fluendo.com>
10885 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10886 (gst_base_sink_get_position):
10887 Improve debugging of events.
10889 2006-12-07 Wim Taymans <wim@fluendo.com>
10891 Patch by: René Stadler <mail at renestadler dot de>
10893 * gst/gstclock.c: (gst_clock_id_wait):
10894 Make period ids add the interval to the origial requested time instead
10895 of the possibly updated time which can be wrong when there are multiple
10896 waiters for the same id. Fixes #382592.
10898 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10899 (gst_system_clock_id_wait_jitter_unlocked),
10900 (gst_system_clock_id_wait_jitter):
10901 Fix restart in the async notify thread when an async entry is added to
10902 the front of the list. Fixes #381492.
10904 * tests/check/gst/gstsystemclock.c: (store_callback),
10905 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10906 Added test for multiple async waits.
10907 Added test for async wait order.
10909 2006-12-07 Wim Taymans <wim@fluendo.com>
10911 * gst/gstbin.c: (gst_bin_query):
10912 Add some more docs about the POSITION query.
10914 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10917 Bump version nano - back to CVS.
10919 === release 0.10.11 ===
10921 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10924 releasing 0.10.11, "Love never runs on time"
10926 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10928 * win32/common/libgstbase.def:
10929 * win32/common/libgstreamer.def:
10930 * win32/vs8/libgstbase.vcproj:
10931 * win32/vs8/libgstcoreelements.vcproj:
10932 * win32/vs8/libgstreamer.vcproj:
10933 Fix compilation on win32 under VS8
10934 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10935 Partially fixes #381175
10937 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10939 * gst/gstvalue.c: (gst_value_compare_fraction):
10940 If someone is foolish enough to compare 2 fractions with denominator =
10941 0, return UNORDERED rather than aborting.
10943 2006-11-28 Edward Hervey <edward@fluendo.com>
10945 * libs/gst/base/Makefile.am:
10946 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10947 (gst_data_queue_base_init), (gst_data_queue_class_init),
10948 (gst_data_queue_init), (gst_data_queue_new),
10949 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10950 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10951 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10952 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10953 (gst_data_queue_set_flushing), (gst_data_queue_push),
10954 (gst_data_queue_pop), (gst_data_queue_drop_head),
10955 (gst_data_queue_set_property), (gst_data_queue_get_property):
10956 * libs/gst/base/gstdataqueue.h:
10957 New GstDataQueue object for threadsafe queueing. Most useful for
10958 elements that need some queueing functionnality.
10959 * docs/libs/gstreamer-libs-docs.sgml:
10960 * docs/libs/gstreamer-libs-sections.txt:
10961 Insert documentation for GstDataQueue
10962 * plugins/elements/Makefile.am:
10963 * plugins/elements/gstelements.c:
10964 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10965 (gst_multi_queue_class_init), (gst_multi_queue_init),
10966 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10967 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10968 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10969 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10970 (gst_multi_queue_loop), (gst_multi_queue_chain),
10971 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10972 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10973 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10974 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10975 (wake_up_next_non_linked), (compute_next_non_linked),
10976 (single_queue_overrun_cb), (single_queue_underrun_cb),
10977 (single_queue_check_full), (gst_single_queue_new):
10978 * plugins/elements/gstmultiqueue.h:
10979 New multiqueue element, using GstDataQueue. Used for queuing multiple
10981 Closes #344639 and #347785
10983 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10985 * docs/pwg/advanced-types.xml:
10986 add more missing type details
10988 * tools/gst-run.c: (main):
10989 remove unused variable
10991 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10993 * docs/libs/Makefile.am:
10994 * docs/libs/gstreamer-libs.types:
10995 add types of base classes to enable gobject specific stuff in the docs
10997 * docs/random/ensonic/embedded.txt:
10998 more ideas about isolating platform specific things
11000 2006-11-20 Wim Taymans <wim@fluendo.com>
11002 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11004 * libs/gst/check/gstcheck.h:
11005 Fix compilation and running against 0.9.4. Fixes #377332.
11007 2006-11-20 Wim Taymans <wim@fluendo.com>
11009 * gst/gstsegment.c: (gst_segment_set_seek),
11010 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11011 (gst_segment_to_running_time):
11012 Fix boundary checking in to_running_time() and to_stream_time().
11015 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11016 stream and running time can now be calculated for the complete
11019 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11021 * gst/gstpad.c: (gst_pad_push_event):
11022 Can't access event structure after giving away ownership of
11025 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11027 * docs/random/ensonic/embedded.txt:
11028 * docs/random/ensonic/profiling.txt:
11029 * docs/random/ensonic/receipies.txt:
11032 2006-11-13 Wim Taymans <wim@fluendo.com>
11034 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11037 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11039 2006-11-13 Wim Taymans <wim@fluendo.com>
11041 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11043 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11044 Store new length in segment duration so we don't keep on calling the
11045 potentially expensize get_size() call. Fixes #370865.
11047 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11049 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11051 * win32/common/libgstreamer.def:
11052 Add two missing symbols (#366492).
11054 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11056 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11057 (gst_adapter_take_buffer):
11058 Fix format string to use all its arguments.
11059 Remove useless >= check on a guint
11061 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11063 * tests/examples/adapter/.cvsignore:
11064 Ignore build file as commanded by the build-bot
11066 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11068 * tests/examples/adapter/Makefile.am:
11069 * tests/examples/adapter/adapter_test.c: (run_test_take),
11070 (run_test_take_buffer), (run_tests), (main):
11072 Add new files from the previous commit
11074 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11078 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11079 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11080 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11081 * libs/gst/base/gstadapter.h:
11082 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11083 (GST_START_TEST), (gst_adapter_suite):
11084 * tests/examples/Makefile.am:
11085 Do some optimisation work in GstAdapter to avoid copies in more cases.
11086 It could still do slightly better by merging buffers when
11087 gst_buffer_is_span_fast is true, but is already faster.
11089 Also, avoid traversing a single-linked list to append each incoming
11090 buffer inside the adapter.
11092 Add simple test app that times the adapter behaviour in different
11093 situations, and extend the unit test to check that bytes enter and
11094 exit the adapter in their original order.
11096 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11098 * docs/random/draft-missing-plugins.txt:
11099 Update: use element message instead of adding a new message
11100 type to the core; don't provide GStreamer API to initiate the
11101 plugin download, just provide API to compose the strings needed
11102 and let an external libgimmestuff handle the rest.
11104 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11106 * tools/gst-inspect.c: (print_element_properties_info):
11107 Print a string instead of 'unknown type' for GValueArray properties
11109 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11111 * docs/random/draft-missing-plugins.txt:
11114 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11116 * tests/examples/typefind/typefind.c: (type_found), (main):
11117 Make typefind element example work again (#371894); add a
11120 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11122 * docs/random/draft-missing-plugins.txt:
11123 Commit initial draft about how to deal with missing plugins,
11124 needs work (API too).
11126 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11128 * docs/pwg/advanced-types.xml:
11129 documents the new caps elements (see #363118)
11131 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11133 * gst/gstplugin.c: (gst_plugin_load_file):
11134 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11135 (gst_file_src_map_region), (gst_file_src_start):
11136 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11137 (gst_file_index_commit):
11138 Use g_strerror() instead of strerror() - we want UTF-8.
11140 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11142 Patch by: Peter Kjellerstedt <pkj at axis com>
11144 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11145 Another printf fix (#371493).
11147 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11149 * tests/check/gst/gsttag.c:
11150 relicence (okay with author=company)
11152 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11154 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11155 (gst_pad_push_event):
11156 Enhance debug and improve docs
11161 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11163 * docs/random/ensonic/distributed.txt:
11164 * docs/random/ensonic/profiling.txt:
11167 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11169 * docs/gst/gstreamer-sections.txt:
11170 add new API and fix the build
11172 * gst/gstbin.c: (gst_bin_recalc_state):
11173 * gst/gstelement.c: (gst_element_message_full),
11174 (gst_element_get_state_func), (gst_element_set_state_func):
11175 use new API and improve logging
11177 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11179 API: add function to get StateChangereturn names to improve logs
11181 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11183 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11184 I'm considering shooting the next person to put strerror stuff
11185 in the translateable part of the message.
11187 2006-11-03 Wim Taymans <wim@fluendo.com>
11189 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11190 Get the type and printf conversion specifiers right.
11192 2006-11-03 Wim Taymans <wim@fluendo.com>
11194 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11196 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11197 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11198 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11199 Some small cleanups. Improve debugging.
11201 Signal all waiting threads with a broadcast instead of just one.
11204 2006-11-03 Wim Taymans <wim@fluendo.com>
11206 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11207 (gst_fd_src_create):
11208 Add some debugging.
11209 Only update fd when it's different from the old.
11211 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11213 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11214 Printf fixes for PPC/OSX, take two (#369366).
11216 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11218 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11220 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11221 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11222 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11223 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11224 don't cast to long long for portability reasons, but use
11225 GLib's types instead.
11227 2006-10-30 Michael Smith <msmith@fluendo.com>
11229 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11230 Get the arguments to lseek() the right way around.
11233 2006-10-30 Wim Taymans <wim@fluendo.com>
11235 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11238 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11240 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11242 Patch by: Kjartan Maraas <kmaraas at gnome org>
11244 * docs/design/part-MT-refcounting.txt:
11245 * docs/random/wtay/capsnego2-docs:
11248 Typo fixes (#366212).
11250 2006-10-28 Wim Taymans <wim@fluendo.com>
11252 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11255 * win32/common/libgstbase.def:
11256 * win32/common/libgstreamer.def:
11257 * win32/vs8/libgstbase.vcproj:
11258 * win32/vs8/libgstcontroller.vcproj:
11259 Add needed entries in .def files.
11261 Rearrange def files in vs8 solutions. Fixes #366286.
11263 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11265 * win32/common/gstconfig.h:
11266 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11267 hand-made win32 gstconfig.h. Fixes #366321.
11269 2006-10-27 Wim Taymans <wim@fluendo.com>
11271 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11272 (gst_ghost_pad_new_full):
11273 Make acceptcaps return TRUE when we don't have a target, just like
11276 2006-10-27 Wim Taymans <wim@fluendo.com>
11278 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11279 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11281 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11283 * gst/gststructure.c: (gst_structure_id_set_value):
11284 If someone tries to set a non-UTF8 string field on a structure,
11285 don't just print a warning, but also ignore the request and do
11286 not change/add that field to the structure.
11288 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11289 Test for the above.
11291 2006-10-25 David Schleef <ds@schleef.org>
11294 g_hash_table_insert() needs a cast to a non-const pointer duh.
11296 2006-10-25 David Schleef <ds@schleef.org>
11300 Change name parameter of _gst_debug_register_funcptr to const
11301 to reflect the constness of its use in the function as well
11302 as to quiet a gcc warning.
11304 2006-10-25 Edward Hervey <edward@fluendo.com>
11306 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11307 Don't push the buffer if it's empty.
11310 2006-10-24 Wim Taymans <wim@fluendo.com>
11315 * libs/gst/base/gstbasetransform.c:
11316 (gst_base_transform_sink_eventfunc):
11317 Debug segment values *after* updating them as this is more
11320 2006-10-23 Wim Taymans <wim@fluendo.com>
11322 * docs/design/part-events.txt:
11325 * docs/design/part-block.txt:
11326 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11327 (gst_pad_push_event):
11328 Revert BLOCKING patch, it tries to be smart without really having a
11329 clear idea what or how. So, now we discard all FLUSHING events again on
11330 a blocking pad. Should fix gnonlin again.
11332 2006-10-23 Wim Taymans <wim@fluendo.com>
11334 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11336 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11337 (gst_base_src_start), (gst_base_src_activate_push):
11338 Make sure size is always initialized. Fixes #364388.
11340 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11342 * docs/random/ensonic/distributed.txt:
11343 add some ideas about doing distributed processing
11345 * docs/random/ensonic/profiling.txt:
11346 get_rusage look promising
11348 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11350 * docs/manual/basics-helloworld.xml:
11351 Add a cast in example to fix compile warning
11353 2006-10-18 Wim Taymans <wim@fluendo.com>
11355 * gst/gstsegment.c: (gst_segment_set_last_stop),
11356 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11357 Relax arg checking again, -1 is allowed.
11359 2006-10-18 Wim Taymans <wim@fluendo.com>
11361 * gst/gstsegment.c: (gst_segment_set_last_stop),
11362 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11363 _set_last_stop() must be with a value != -1
11364 A _TYPE_SET to -1 means seek to 0.
11365 Calc last_stop correctly for negative rates.
11366 Make sure we work with positive durations when updating a segment.
11368 2006-10-18 Wim Taymans <wim@fluendo.com>
11370 * docs/design/part-live-source.txt:
11374 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11377 Add an explicit cast to GstBuffer** to keep old code that added an
11378 explicit cast to GstMiniObject** for gst_mini_object_replace()
11379 compiling without warning.
11381 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11383 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11384 check for validity of dates
11386 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11388 * docs/gst/gstreamer-sections.txt:
11389 Forgot this one, makes gtk-doc shut up.
11391 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11393 Patch by: Peter Kjellerstedt <pkj at axis com>
11396 Don't define xmlNodePtr to gpointer if the core was built with
11397 --disable-loadsave and --disable-registry, this will break
11398 applications that want to use libxml2 but are buildling against a
11399 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11400 instead so we don't have to mess with the libxml2 namespace
11403 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11406 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11407 type-punned pointer warnings.
11409 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11411 * gst/gstelement.h:
11412 Add casts to the correct return type to state <=> state transition
11415 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11417 * docs/design/part-live-source.txt:
11418 describe howto handle latency
11420 * docs/random/ensonic/profiling.txt:
11423 * tools/gst-plot-timeline.py:
11424 fix log parsing for solaris, remove unused function
11426 2006-10-16 Wim Taymans <wim@fluendo.com>
11428 * docs/design/part-trickmodes.txt:
11430 Update some docs regarding reverse playback.
11432 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11434 Patch by: Marcus Granado <mrc dot gran at gmail com>
11436 * win32/vs8/grammar.vcproj:
11437 Error out with a warning if glib-genmarshal.exe is not in path,
11438 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11440 2006-10-13 Wim Taymans <wim@fluendo.com>
11442 * gst/gstsegment.c: (gst_segment_set_seek):
11443 When seeking to stop -1, set last_stop (current position) to the
11444 duration of the segment.
11446 2006-10-13 Wim Taymans <wim@fluendo.com>
11448 * gst/gstelement.h:
11449 Clarify _NO_PREROLL a bit more.
11454 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11455 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11456 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11457 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11458 due to wrong locking order. Fixes #361769.
11459 Remove some redundant/misplaced checks in pad_block.
11461 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11462 For negative rates, count backwards from the duration.
11464 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11466 * gst/gsterror.c: (_gst_library_errors_init):
11467 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11468 up with something better).
11470 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11472 * win32/vs6/libgstreamer.dsp:
11473 * win32/vs7/libgstreamer.vcproj:
11474 * win32/vs8/libgstreamer.vcproj:
11475 Don't reference glib-compat.c which is currently not used and not
11476 disted; add gstquark.c which was recently added. Fixes #361730.
11478 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11480 * win32/common/libgstbase.def:
11481 * win32/common/libgstcontroller.def:
11482 * win32/common/libgstreamer.def:
11483 Add gst_caps_merge() and a bunch of other recently-added functions.
11486 2006-10-11 Wim Taymans <wim@fluendo.com>
11488 * docs/plugins/gstreamer-plugins.args:
11489 * docs/plugins/inspect/plugin-coreelements.xml:
11490 * docs/plugins/inspect/plugin-coreindexers.xml:
11491 Update element args.
11493 * gst/gstsystemclock.c:
11494 Small comment update.
11496 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11497 (gst_tee_request_new_pad), (gst_tee_release_pad),
11498 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11499 (gst_tee_sink_activate_pull):
11500 * plugins/elements/gsttee.h:
11502 Add default property defines.
11503 Implement release pad function.
11504 Give properties better blubs etc.
11505 Activate pads before adding them to a running tee.
11506 Do simple buffer_alloc on the first requested pad.
11507 Post error when activation fails.
11509 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11511 * gst/gst.c: (ensure_current_registry_forking):
11512 Check return value of write() to make compiler happy.
11514 2006-10-11 Wim Taymans <wim@fluendo.com>
11516 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11518 * plugins/elements/gstqueue.c: (gst_queue_chain):
11519 Recheck queue filledness after signalling the overrun when we're about
11520 to leak downstream because we released the lock when emitting the signal
11521 and the queue could be empty again. Fixes #352345.
11523 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11525 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11526 Fix refcounting here too, just like we did for _new_valist() a few
11527 days ago (#357180) (thanks to René Stadler). Also remove all those
11528 'Since: 0.9' from the gtk-doc blobs.
11530 * tests/check/libs/controller.c: (controller_refcount_new_list),
11531 (gst_controller_suite):
11532 Unit test for the above.
11534 2006-10-10 Wim Taymans <wim@fluendo.com>
11536 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11538 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11539 (gst_pad_save_thyself):
11541 Write pad direction in XML output. Fixes #345496.
11543 2006-10-10 Wim Taymans <wim@fluendo.com>
11545 Patch by: René Stadler <mail at renestadler dot de>
11547 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11548 (gst_controller_new_list), (_gst_controller_dispose),
11549 (_gst_controller_finalize), (_gst_controller_class_init):
11550 Take ref to controlled object so that it cannot disappear.
11553 2006-10-10 Wim Taymans <wim@fluendo.com>
11555 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11556 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11557 (gst_check_teardown_sink_pad):
11558 Activate/deactivate pads in setup/teardown respectively.
11560 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11562 Patch by: Josep Torra Valles <josep@fluendo.com>
11565 Cast values when making gstenumtypes.h. This pacifies Forte
11566 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11567 in the enumeration.
11569 2006-10-09 Wim Taymans <wim@fluendo.com>
11571 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11572 Rename some more @cur to @start to fix docs.
11574 * gst/gstsegment.c: (gst_segment_set_seek):
11576 time and start must always stay in sync as defined in design doc.
11578 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11579 Rename param to fix docs.
11581 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11582 Check that start and time are in sync.
11584 * tests/check/pipelines/parse-launch.c:
11585 (gst_parse_test_element_change_state):
11586 Activate pad before adding to the element.
11588 2006-10-09 Wim Taymans <wim@fluendo.com>
11590 * docs/design/part-qos.txt:
11595 Update seek event docs regarding negative rates.
11596 Rename @cur to @start.
11598 * gst/gstsegment.c: (gst_segment_set_seek):
11599 * gst/gstsegment.h:
11600 Update set_seek docs regarding negative rates.
11601 Correctly update last_stop to @stop when dealing with negative
11603 Rename @cur to @start.
11605 * tests/check/gst/gstpad.c: (GST_START_TEST):
11606 Activate pads before trying to use them.
11608 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11609 (gst_segment_suite):
11610 Add simple check for segments and negative rates.
11612 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11614 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11615 * gst/gsttaglist.h:
11616 * docs/gst/gstreamer-sections.txt:
11617 API: add gst_tag_list_is_empty() (#360467).
11619 * tests/check/gst/gsttag.c: (GST_START_TEST):
11622 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11624 * gst/gstmessage.h:
11625 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11626 a value that doesn't fit on enumeration.
11628 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11630 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11631 Remove local debugging system and use Gstreamer's instead.
11633 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11635 Patch by: Josep Torra Valles <josep@fluendo.com>
11637 * common/m4/gst-error.m4:
11638 Disable warning of statement not reached on Forte.
11639 * gst/gstmessage.h:
11640 Fix warning on Forte (value doesn't fit on enumeration).
11641 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11642 Fix warning on Forte (value doesn't fit on enumeration).
11643 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11644 DEBUG macro says it takes minimum of 2 args and so Forte
11645 complains about the use with just 1 arg.
11646 * plugins/elements/gstfdsink.c:
11647 * plugins/elements/gstfdsrc.c:
11648 * plugins/elements/gstfilesink.c:
11649 * plugins/elements/gstfilesrc.c:
11650 Use correct return type for the uri handler implementations.
11652 All these fix warnings in Forte. Fixes bug #360860.
11654 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11656 * gst/gstelement.h:
11657 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11658 format string, so don't use G_GNUC_PRINTF for those versions.
11660 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11662 * gst/gsttaglist.c: (gst_is_tag_list):
11663 * gst/gsttaglist.h:
11664 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11666 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11667 Small test for the above.
11669 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11671 * gst/gsttaglist.h:
11672 Less tabs, more spaces.
11674 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11677 Those two function declarations do actually belong there, revert
11678 commit from yesterday that turned them intro macros.
11680 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11682 Patch by: Josep Torra Valles <josep@fluendo.com>
11684 * gst/gst.c: (gst_init_get_option_group):
11685 Fix empty declaration and type mismatch.
11686 * gst/gstbin.c: (gst_bin_change_state_func):
11688 * gst/gstelement.c: (gst_element_continue_state),
11689 (gst_element_set_state_func), (gst_element_change_state),
11690 (gst_element_change_state_func):
11691 Fix type mismatches.
11692 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11693 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11694 Cast as appropriate.
11695 * gst/gstobject.c: (gst_class_signal_connect):
11696 Cast as appropriate. The function pointer parameter really
11697 has the wrong type but would break API if we change it.
11699 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11700 order of including string.h.
11701 * gst/gstutils.c: (gst_element_state_get_name):
11702 Remove unreachable line.
11703 * gst/gstxml.c: (gst_xml_parse_doc):
11705 All these caught by Forte.
11707 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11709 Patch by: Josep Torra Valles <josep@fluendo.com>
11711 * common/m4/gst-error.m4:
11713 We need to disable warnings on Forte for empty declarations
11714 due to gst-indent adding ;s to lines that just use macros
11715 where the macro actually doesn't need a ; at end to end
11718 2006-10-06 Wim Taymans <wim@fluendo.com>
11720 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11721 (gst_file_sink_close_file), (gst_file_sink_event),
11722 (gst_file_sink_render):
11723 Add some FIXME for the NEWSEGMENT handling.
11725 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11727 * gst/parse/grammar.y:
11728 Remove static function gst_parse_element_lock as all it does
11729 is return. Looks like cruft from 0.8.
11731 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11733 Patch by: Josep Torra Valles <josep@fluendo.com>
11735 * common/m4/gst-error.m4:
11737 * libs/gst/net/Makefile.am:
11738 Fix a compilation issue with Forte on Solaris. inet_aton is in
11741 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11743 * gst/gstpad.c: (pre_activate):
11744 * gst/gstregistry.c: (gst_registry_scan_path_level):
11745 * gst/gstregistryxml.c: (load_plugin):
11746 * libs/gst/controller/gstcontroller.c:
11747 (gst_controlled_property_set_interpolation_mode):
11748 * libs/gst/dataprotocol/dataprotocol.c:
11749 (gst_dp_packet_from_event_1_0):
11750 * libs/gst/net/gstnetclientclock.c:
11751 (gst_net_client_clock_observe_times):
11752 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11755 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11758 * docs/gst/gstreamer-sections.txt:
11759 * gst/gstconfig.h.in:
11760 * gst/gstelement.h:
11762 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11763 whether we can use G_GNUC_PRINTF in other header files and at
11764 least check the printf format/arguments of debug messages and
11765 GST_ELEMENT_ERROR messages when the printf extension is not
11767 Replace more tabs with spaces in gstinfo.h and remove two spurious
11768 function declarations in GST_DISABLE_DEBUG part with macros.
11770 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11772 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11773 More docs for the sync-message signal (mention that it is not
11774 emitted by default); log message structures of messages posted on
11777 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11779 * gst/gst.c: (ensure_current_registry_forking):
11780 Use a pipe pair to receive status results from the forked child, and
11781 ignore the result from waitpid. Fixes #355499
11783 2006-10-02 Wim Taymans <wim@fluendo.com>
11785 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11786 (gst_ghost_pad_suite):
11789 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11792 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11794 2006-10-02 Edward Hervey <edward@fluendo.com>
11796 * docs/design/part-block.txt:
11797 Further explain the use of flushing on blocked pads.
11798 * docs/gst/gstreamer-sections.txt:
11799 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11800 (gst_pad_push_event):
11802 Added new GstPadFlag : GST_PAD_BLOCKING.
11803 Adds the notion of pads really blocking, which enables to properly
11804 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11806 API: gst_pad_is_blocking()
11807 API: GST_PAD_IS_BLOCKING() macro
11808 API: GST_PAD_BLOCKING GstPadFlag
11810 2006-10-02 Wim Taymans <wim@fluendo.com>
11812 Patch by: mrcgran <mrc.gran at gmail dot com>
11814 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11815 Filter the proxied caps against the padtemplate if we have one.
11817 * gst/gstquery.c: (gst_query_new_segment):
11818 Add include for gstinfo.h so that compilation with
11819 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11821 2006-10-02 Wim Taymans <wim@fluendo.com>
11823 Patch by: Alessandro Decina <alessandro at nnva org>
11825 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11826 (gst_file_sink_set_location), (gst_file_sink_open_file),
11827 (gst_file_sink_close_file), (gst_file_sink_event),
11828 (gst_file_sink_render):
11829 Set file to NULL when closing filesink so that we can set a new filename
11830 in READY. Fixes #358613.
11832 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11834 Patch by: Alessandro Decina <alessandro at nnva org>
11836 * gst/gstevent.c: (_gst_event_copy):
11837 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11838 with event structures by setting the parent refcount address of the
11839 copied structure to the address of the refcount member of the newly
11840 copied event rather than the address of the refcount member of the
11841 original event. Fixes #358737.
11843 * tests/check/gst/gstevent.c: (GST_START_TEST):
11844 Unit test for the above.
11846 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11848 * docs/design/Makefile.am:
11849 Dist some more files.
11851 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11853 * tests/check/libs/controller.c: (GST_START_TEST),
11854 (gst_controller_suite):
11855 Add test for the previous fix; add some more tests
11856 for correct refcounting behaviour; fix a few leaks
11857 in test cases; call gst_controller_init() at start
11860 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11862 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11863 (gst_controller_set_from_list):
11864 Don't g_return_val_if_fail() on timed values with invalid timestamps
11865 inside a critical section without unlocking the mutex. Spotted by
11866 René Stadler. (#357617)
11867 Also, fix up refcounting properly: when returning an existing
11868 controller, we should increase the reference only once and not
11869 once per property and when trying to control a property again
11870 we should also increase the refcount.
11872 2006-09-29 Wim Taymans <wim@fluendo.com>
11874 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11875 * libs/gst/net/gstnettimeprovider.c:
11876 (gst_net_time_provider_thread):
11877 Stop reading commands when EOF as well.
11879 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11880 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11881 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11882 Unify description of the dump property.
11884 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11886 * tests/examples/manual/.cvsignore:
11887 OK, so it's actually cvsignore that needs changing. Stop laughing.
11889 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11891 * tests/examples/manual/Makefile.am:
11892 Gah, declare vars *before* using them
11894 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11896 * gst/gst.c: (init_pre), (scan_and_update_registry),
11897 (ensure_current_registry_nonforking),
11898 (ensure_current_registry_forking), (ensure_current_registry),
11899 (init_post), (gst_debug_help), (gst_deinit):
11900 * gst/gst_private.h:
11901 * gst/gstregistry.c: (gst_registry_finalize),
11902 (gst_registry_remove_features_for_plugin_unlocked),
11903 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11904 (gst_registry_scan_path),
11905 (_priv_gst_registry_remove_cache_plugins),
11906 (_priv_gst_registry_cleanup):
11907 * gst/gstregistry.h:
11908 Re-commit the registry changes, along with an extra fix:
11909 When a cached plugin is encountered at a different file path,
11910 update the stored path in the registry cache so that the parent
11911 process knows where it actually is now when it re-reads the registry
11912 cache. Fixes the thing that broke distcheck with the previous commit.
11914 * tests/check/Makefile.am:
11915 Clean up files named 'core' too when running make clean.
11917 * tests/examples/manual/Makefile.am:
11918 Set up a registry path for running these tests, and clean it properly
11921 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11924 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11925 want gmodule-no-export-2.0.pc instead so that we don't drag in
11926 --export-dynamic on every project that links to GStreamer.
11928 Also, make our export regex only match the start of symbols, rather
11929 than any symbol that contains '_gst' somewhere.
11931 * libs/gst/check/Makefile.am:
11932 The libgstcheck we build does however need export-dynamic, as it
11933 produces some symbols that don't match our _gst... style regex.
11936 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11938 * gst/gst.c: (init_pre), (scan_and_update_registry),
11939 (ensure_current_registry_nonforking),
11940 (ensure_current_registry_forking), (ensure_current_registry),
11941 (init_post), (gst_debug_help), (gst_deinit):
11942 * gst/gst_private.h:
11943 * gst/gstregistry.c: (gst_registry_finalize),
11944 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11945 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11946 (_gst_registry_cleanup):
11947 * gst/gstregistry.h:
11948 Revert previous change until I figure out why it breaks distcheck.
11950 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11952 * gst/gst.c: (init_pre), (scan_and_update_registry),
11953 (ensure_current_registry_nonforking),
11954 (ensure_current_registry_forking), (ensure_current_registry),
11955 (init_post), (gst_debug_help), (gst_deinit):
11957 Make init_pre and init_post take the full complement of GOptionFunc
11958 args so they can return useful GErrors. Make the registry updating
11961 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11962 ensure that the registry we're about to write out doesn't contain
11963 stale information about old-deleted plugin files.
11965 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11966 that deletion of plugin files is considered a registry change.
11968 * gst/gst_private.h:
11969 * gst/gstregistry.c: (gst_registry_finalize),
11970 (gst_registry_remove_features_for_plugin_unlocked),
11971 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11972 (gst_registry_scan_path),
11973 (_priv_gst_registry_remove_cache_plugins),
11974 (_priv_gst_registry_cleanup):
11975 * gst/gstregistry.h:
11976 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11977 by adding _priv prefix, so that they won't appear in the global
11978 symbol table. They still do atm though because of #318031. Move the
11979 prototypes to gst_private.h
11981 When removing a plugin, remove all features for that plugin too.
11984 2006-09-27 Wim Taymans <wim@fluendo.com>
11986 * docs/random/moving-plugins:
11987 Make it clear that the "compiled-in descriptions" really mean
11988 the element details.
11990 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11991 (gst_base_sink_wait_preroll):
11994 * docs/libs/gstreamer-libs-sections.txt:
11995 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11996 (gst_base_src_get_range), (gst_base_src_activate_push):
11997 * libs/gst/base/gstbasesrc.h:
11998 Added function to block while waiting for PLAYING, this function
11999 is used by live sources that block on the clock.
12000 API: gst_base_src_wait_playing()
12002 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12004 Patch by: Peter Kjellerstedt <pkj at axis com>
12007 gst-element-check.m4 is generated and should therefore be
12008 copied from the build dir rather than the source dir (#357593).
12009 'make distcheck' hasn't noticed this because we were disting
12010 the file as well, so stop doing that.
12012 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12014 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12015 Add some tests for gst_caps_intersect().
12017 * tools/gst-launch.c: (event_loop):
12018 Print all buffering percentages we get, even the 100% one.
12020 2006-09-26 Wim Taymans <wim@fluendo.com>
12022 * tools/gst-inspect.c: (print_element_properties_info),
12023 (print_signal_info):
12024 Fix printing of flags to match the look of enums.
12026 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12028 * gst/gstelementfactory.c:
12029 Fix typo in docs blurb.
12031 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12033 * gst/gsturi.c: (search_by_entry):
12034 Don't assert/crash here if a uri handler doesn't return any
12035 supported protocols. The list of protocols could be generated
12036 dynamically at runtime or at plugin registration, and an error
12037 in the underlying library shouldn't be fatal (#353301).
12039 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12042 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12043 (spotted by Peter Kjellerstedt).
12045 2006-09-23 Wim Taymans <wim@fluendo.com>
12047 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12049 * libs/gst/base/gstbasesrc.c:
12050 (gst_base_src_default_check_get_range), (gst_base_src_start),
12051 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12052 (gst_base_src_change_state):
12053 Match _start/_stop calls in the activate functions. Remove redundant
12054 _stop call from the state change function. Fixes #356910.
12055 Turn failure DEBUG into ERROR.
12057 2006-09-22 Wim Taymans <wim@fluendo.com>
12059 * docs/design/part-buffering.txt:
12060 * gst/gstmessage.c: (gst_message_new_buffering),
12061 (gst_message_parse_buffering):
12062 Update docs about buffering.
12064 * docs/design/part-trickmodes.txt:
12067 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12069 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12070 (gst_controller_new_list):
12071 Ref instances when returning them again (fixes #357180)
12073 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12075 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12076 Don't forget to release proxy lock when there's an error.
12078 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12081 Add extra initialisers for Caps things, to fix some plugin warnings
12084 2006-09-18 Wim Taymans <wim@fluendo.com>
12086 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12087 Also set template on the internal pad so that a getcaps from the
12088 target pad returns the template caps.
12090 2006-09-18 Wim Taymans <wim@fluendo.com>
12092 * gst/gstelement.c: (gst_element_post_message),
12093 (gst_element_dispose):
12094 Use _DEBUG_OBJECT some more.
12096 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12099 * tools/gst-launch.c: (main):
12100 If the toplevel element is not a GstPipeline, it must be put in a
12101 pipeline so that a bus and clock is selected.
12103 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12105 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12106 JITTER, RATE, and LATENCY query should be handled by the
12107 default case and not by the CONVERT query code.
12109 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12111 * gst/gstformat.c: (gst_format_register):
12112 Fix locking order (must take lock before using n_values).
12114 * gst/gstvalue.c: (gst_value_serialize_enum),
12115 (gst_value_deserialize_enum_iter_cmp),
12116 (gst_value_deserialize_enum):
12117 Fix serialisation/deserialisation of custom registered GstFormats.
12119 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12120 Unit test for custom format serialisation/deserialisation.
12122 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12124 * docs/pwg/building-boiler.xml:
12125 * plugins/elements/gstcapsfilter.c:
12126 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12129 2006-09-16 Edward Hervey <edward@fluendo.com>
12131 * libs/gst/base/gstbasetransform.c:
12132 (gst_base_transform_buffer_alloc):
12133 Check if requested caps are the same as the sinks caps IF
12134 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12136 This fixes the renegotiation issues stated in #352827.
12138 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12141 * docs/manual/advanced-autoplugging.xml:
12142 * tests/examples/Makefile.am:
12143 * tests/examples/manual/.cvsignore:
12144 * tests/examples/manual/Makefile.am:
12145 * tests/examples/manual/extract.pl:
12146 Extract the manual examples again like we used to do.
12149 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12151 * win32/common/config.h:
12154 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12157 Documents how to receive errors.
12159 2006-09-15 Wim Taymans <wim@fluendo.com>
12161 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12162 (event_loop), (main):
12163 Added some comments here and there.
12164 Post an application message when an interrupt is caught instead of doing
12165 an uncontrolled state change.
12166 Clean up the event loop.
12167 Handle buffering messages, pause/resume the pipeline.
12168 Make shutdown because of an interrupt more reliable.
12170 2006-09-15 Wim Taymans <wim@fluendo.com>
12172 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12173 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12174 (gst_base_sink_preroll_object):
12175 Make sure that our internal state is correct when we commit our state
12176 asynchronously. This solves a race where a state change to PLAYING
12177 could cause the sink to remain blocked in preroll in some situations.
12179 2006-09-15 Wim Taymans <wim@fluendo.com>
12181 * tools/gst-inspect.c: (print_element_properties_info),
12182 (print_signal_info):
12183 List flags as hex so it's easier to deal with.
12185 2006-09-15 Wim Taymans <wim@fluendo.com>
12187 * docs/libs/gstreamer-libs-sections.txt:
12188 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12189 (gst_base_sink_do_sync):
12190 * libs/gst/base/gstbasesink.h:
12191 Expose logic to wait for preroll so that subclasses such as audiosink
12192 can also use this method.
12193 API: gst_base_sink_wait_preroll()
12195 2006-09-15 Wim Taymans <wim@fluendo.com>
12197 * gst/gstobject.c: (gst_object_set_parent):
12198 * gst/gstpipeline.c: (do_pipeline_seek):
12199 Small cleanups in docs and code.
12201 * gst/gstsegment.c: (gst_segment_clip):
12202 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12203 if stop == start and start is in the segment, no clipping should be
12204 done. Also add a test for this.
12206 2006-09-15 Wim Taymans <wim@fluendo.com>
12208 * docs/design/part-buffering.txt:
12209 * docs/gst/gstreamer-sections.txt:
12210 * gst/gstmessage.c: (gst_message_new_buffering),
12211 (gst_message_parse_buffering):
12212 * gst/gstmessage.h:
12213 Added methods to create and parse BUFFERING messages.
12214 Added preliminary docs about buffering.
12215 API: gst_message_new_buffering
12216 API: gst_message_parse_buffering
12218 2006-09-06 Wim Taymans <wim@fluendo.com>
12221 Update documentation.
12223 * gst/gstelement.c: (gst_element_class_init),
12224 (gst_element_release_request_pad), (gst_element_set_clock),
12225 (gst_element_get_index), (gst_element_add_pad),
12226 (gst_element_remove_pad), (gst_element_get_random_pad),
12227 (gst_element_send_event), (gst_element_get_query_types),
12228 (gst_element_query), (gst_element_post_message),
12229 (gst_element_message_full), (gst_element_continue_state),
12230 (gst_element_lost_state), (gst_element_save_thyself),
12231 (gst_element_restore_thyself):
12232 Documentation updates.
12233 Rename last bit of the new-pad -> pad-added signal rename.
12234 Fix the case where an element query would only work if the source
12236 Avoid some useless type checking in message handling.
12241 Documentation updates.
12243 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12245 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12246 add an INFO line for when we actually update the fd
12248 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12253 === release 0.10.10 ===
12255 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12258 releasing 0.10.10, "Pais"
12260 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12262 * docs/manual/advanced-position.xml:
12263 Fix typo in sample code.
12265 2006-09-05 Wim Taymans <wim@fluendo.com>
12267 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12268 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12269 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12270 * libs/gst/net/gstnetclientclock.h:
12271 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12272 * libs/gst/net/gstnettimepacket.h:
12273 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12274 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12275 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12276 * libs/gst/net/gstnettimeprovider.h:
12277 Make stuff compile on windows. Fixes #345295.
12279 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12281 * gst/gst.c: (ensure_current_registry_forking):
12282 Print better details when child was terminated by signal.
12284 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12286 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12287 Print a warning rather than g_assert() if a plugin feature
12288 is a URI handler but returns no protocols (#353976).
12290 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12292 * docs/random/moving-plugins:
12295 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12297 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12298 Fix locking order, handle NULL function values properly.
12303 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12304 Initialise variable before using it and fix debug statement to
12305 print the address of the function rather than the address of the
12306 variable on the stack holding the address of the function.
12308 2006-09-01 Wim Taymans <wim@fluendo.com>
12310 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12311 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12312 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12313 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12314 (gst_ghost_pad_parent_unset),
12315 (gst_ghost_pad_internal_do_activate_push),
12316 (gst_ghost_pad_internal_do_activate_pull),
12317 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12318 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12319 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12320 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12321 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12322 (gst_ghost_pad_new_no_target_from_template),
12323 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12325 Avoid needless typechecking in macros.
12326 Since the internal pad is always present and never changes, there is
12327 no need to locking or ref when retrieving it.
12328 Improve debugging a bit.
12329 Handle link errors when setting the target. Fixes #341029.
12331 2006-09-01 Wim Taymans <wim@fluendo.com>
12333 * docs/libs/gstreamer-libs-sections.txt:
12334 * docs/plugins/gstreamer-plugins-sections.txt:
12335 Fix docs some more.
12337 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12338 (gst_collect_pads_event):
12339 * libs/gst/base/gstcollectpads.h:
12340 Documentation updates.
12341 Free queued buffer when removing a pad.
12343 2006-08-31 Michael Smith <msmith@fluendo.com>
12345 * gst/gstutils.c: (gst_element_link_pads),
12346 (gst_element_link_pads_filtered):
12347 Ensure that we set a capsfilter to NULL if we failed to link it
12348 when doing filtered linking, to avoid criticals.
12350 No need to check for unreffing srcpad, which is explicly NULLed
12351 above (a trivial code cleanup).
12353 2006-08-31 Wim Taymans <wim@fluendo.com>
12355 * docs/design/part-gstghostpad.txt:
12356 Update ascii art in documentation.
12358 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12359 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12360 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12361 (gst_ghost_pad_internal_do_activate_push),
12362 (gst_ghost_pad_internal_do_activate_pull),
12363 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12364 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12365 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12366 (gst_ghost_pad_set_target):
12367 Small cleanups and leak fixes.
12368 Remove some checks now that the internal pad is never NULL.
12369 Fix the case where linking pads without a target would create nasty
12370 criticals. Fixes #341029.
12371 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12372 value of _set_target().
12374 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12375 (gst_ghost_pad_suite):
12376 Some more tests for creating and linking untargeted ghostpads.
12378 2006-08-31 Edward Hervey <edward@fluendo.com>
12380 * docs/gst/gstreamer-sections.txt:
12381 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12382 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12383 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12384 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12385 (gst_ghost_pad_new_from_template),
12386 (gst_ghost_pad_new_no_target_from_template):
12387 * gst/gstghostpad.h:
12388 Refactored *_new() functions.
12389 Templates are now used as a g_object_new() parameter.
12390 Use template in _do_getcaps() if we don't have a target.
12391 Small documentation cleanups.
12392 Added two new constructors:
12393 gst_ghost_pad_new_from_template()
12394 gst_ghost_pad_new_no_target_from_template()
12395 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12396 (gst_ghost_pad_suite):
12397 Added tests for new ghostpad instanciation functions.
12399 API additions: gst_ghost_pad_new_from_template,
12400 gst_ghost_pad_new_no_target_from_template
12402 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12404 * docs/random/ensonic/profiling.txt:
12405 Ideas about qos profiling.
12407 2006-08-29 Wim Taymans <wim@fluendo.com>
12409 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12413 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12416 Improve and detypofy docs.
12418 * tests/check/Makefile.am:
12419 * tests/check/gst/.cvsignore:
12420 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12421 Add a basic test suite for GstXML.
12423 2006-08-29 Wim Taymans <wim@fluendo.com>
12425 * gst/gstelement.c: (activate_pads), (clear_caps),
12426 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12427 Clear the pad caps when the element shut down all of the pads and
12428 is not streaming data that could modify the caps.
12431 2006-08-28 Michael Smith <msmith@fluendo.com>
12433 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12434 Revert previous change; I misunderstood single-segment mode.
12436 2006-08-28 Michael Smith <msmith@fluendo.com>
12438 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12439 Unset DISCONT on buffers when using single-segment mode.
12441 2006-08-28 Wim Taymans <wim@fluendo.com>
12443 * gst/gstcaps.c: (gst_caps_merge_structure):
12445 Fix docs and indentation again.
12447 * tests/check/gst/gstquery.c: (GST_START_TEST):
12448 Fix leak in tests and add some more tests.
12450 2006-08-28 Edward Hervey <edward@fluendo.com>
12452 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12453 Inform GstSegment of the last stop position in order for the current
12454 segment to have a proper duration if it doesn't have a specific stop
12455 position from which a duration could be calculated.
12456 This bug was noticeable when a non-flushing, non-update new segment was
12457 followed by another segment (all buffers from the new segment were being
12460 2006-08-28 Wim Taymans <wim@fluendo.com>
12462 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12463 Small comment update.
12465 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12466 (gst_identity_transform_ip):
12467 Drop-probability is broken, mention this in the code with a
12468 FIXME and also in the property description.
12469 Make silent also be silent about the drop messages.
12471 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12473 * docs/manual/appendix-win32.xml:
12474 Remove mention of popt, we don't depend on that any
12475 longer (#353136). Add some comments pointing out that
12476 this section is slightly outdated.
12478 2006-08-28 Wim Taymans <wim@fluendo.com>
12480 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12482 * gst/gstquery.c: (gst_query_new_segment):
12483 * tests/check/gst/gstquery.c: (GST_START_TEST):
12484 Initialize variables when creating a new segment query.
12487 2006-08-28 Wim Taymans <wim@fluendo.com>
12489 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12491 * gst/gstelement.c: (gst_element_get_bus):
12492 * tests/check/gst/gstelement.c: (GST_START_TEST):
12493 Check for NULL before _reffing the bus. Fixes #353122.
12495 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12497 * docs/manual/basics-bus.xml:
12498 Docs update: fix wrong callback return value explanation; add
12499 some lines about the implicit relationship between main loop
12500 and main context; remove duplicate main loop variable declaration.
12502 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12504 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12505 Don't leak caps in unit test; add a few more simple
12508 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12510 * docs/gst/gstreamer-sections.txt:
12511 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12512 (gst_caps_structure_is_subset), (gst_caps_merge),
12513 (gst_caps_merge_structure):
12515 * libs/gst/base/gstbasetransform.c:
12516 (gst_base_transform_transform_caps):
12517 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12518 implement caps merging (fixes #352580)
12520 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12522 * tools/Makefile.am:
12523 * tools/gst-plot-timeline.py:
12524 add debug-log plotting developer tool (#340674)
12526 2006-08-23 Wim Taymans <wim@fluendo.com>
12528 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12529 (gst_pad_stop_task):
12530 Improve debugging for task functions.
12532 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12533 (gst_task_start), (gst_task_pause), (gst_task_join):
12534 Make sure that the task function started and finished after a
12536 Don't try to push the task function on the threadpool multiple
12538 Improve the g_warning message with some useful suggestions
12539 about how to fix the problem.
12541 2006-08-23 Wim Taymans <wim@fluendo.com>
12543 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12544 Handle RESYNC correctly in _proxy_getcaps.
12546 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12548 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12549 (gst_xml_parse_memory), (gst_xml_get_element):
12550 Chain up to parent class in dispose function and also
12551 unref the elements in the toplevel_elements GList.
12552 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12553 Always return a reference in gst_xml_get_element() rather
12554 than only sometimes.
12556 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12557 Don't leak GstXml object.
12559 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12561 * docs/gst/gstreamer-sections.txt:
12562 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12565 * libs/gst/base/gstbasetransform.c:
12566 (gst_base_transform_transform_caps):
12567 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12570 2006-08-21 Edward Hervey <edward@fluendo.com>
12572 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12573 Implement GObject::dispose virtual method in GstXML so we can free the
12574 top_elements GList.
12576 2006-08-21 Wim Taymans <wim@fluendo.com>
12578 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12579 (gst_buffer_create_sub):
12580 Copy duration/offset_end/caps when creating a subbuffer of the
12582 Make the subbuffer read-only when we make the metadata writable for
12583 now. Fixes #351768.
12585 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12586 Added check for metadata copy when creating subbuffers.
12588 2006-08-21 Edward Hervey <edward@fluendo.com>
12590 * libs/gst/base/gstbasetransform.c:
12591 (gst_base_transform_buffer_alloc):
12592 Only call downstream buffer_alloc if transform element is passthrough
12593 or always_in_place. Closes #350449.
12595 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12598 ChangeLog surgery to add comments to previous changes
12600 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12605 * gst/gstpad.c: (gst_pad_set_active):
12606 Be more verbose in the log
12608 * libs/gst/base/gstbasetransform.c:
12609 (gst_base_transform_transform_caps):
12610 Simplify caps to get rid of duplicates, fixes #345444
12612 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12616 Use these optimizations only internally.
12618 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12620 * gst/gstvalue.c: (gst_value_compare_list),
12621 (gst_value_compare_fraction_range),
12622 (gst_value_intersect_fraction_fraction_range),
12623 (gst_value_intersect_fraction_range_fraction_range),
12624 (gst_value_subtract_fraction_fraction_range),
12625 (gst_value_subtract_fraction_range_fraction_range),
12626 (gst_value_get_compare_func), (gst_value_compare),
12627 (gst_value_compare_with_func):
12629 Saves the expensive lookup of the compare function in many cases
12632 2006-08-18 Edward Hervey <edward@fluendo.com>
12634 * tests/check/gst/gstinfo.c: (gst_info_suite):
12635 Disable test that require gstdebug if it wasn't built in core.
12637 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12639 * docs/random/ensonic/logging.txt:
12642 * gst/gstinfo.c: (gst_debug_log_default):
12643 reorder fields, save some columns, add optional color codes for log
12646 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12648 * docs/random/ensonic/logging.txt:
12649 add ideas about making the logs a bit more useful
12651 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12653 * docs/pwg/advanced-events.xml:
12654 * docs/pwg/titlepage.xml:
12655 Update for 0.10 API (#340627). Add myself
12658 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12660 * docs/libs/gstreamer-libs-docs.sgml:
12661 * docs/libs/gstreamer-libs-sections.txt:
12662 * libs/gst/check/gstbufferstraw.c:
12663 Make gstcheck stuff show up in docs (still needs to
12664 be documented properly though).
12666 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12668 * docs/gst/gstreamer-sections.txt:
12670 * gst/gst.c: (init_post):
12671 * gst/gst_private.h:
12672 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12674 * gst/gstquery.c: (gst_query_new_position),
12675 (gst_query_set_position), (gst_query_parse_position),
12676 (gst_query_new_duration), (gst_query_set_duration),
12677 (gst_query_parse_duration), (gst_query_new_convert),
12678 (gst_query_set_convert), (gst_query_parse_convert),
12679 (gst_query_new_segment), (gst_query_set_segment),
12680 (gst_query_parse_segment), (gst_query_new_seeking),
12681 (gst_query_set_seeking), (gst_query_parse_seeking):
12682 Add internal helpers for pre-registering quarks from static strings
12683 and using the quark values directly instead of looking them up when
12684 creating and parsing queries. Can be used for event construction too.
12687 2006-08-16 Wim Taymans <wim@fluendo.com>
12692 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12694 * gst/gstutils.c: (gst_util_set_value_from_string):
12695 Fix memleak (#351502).
12697 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12698 Add unit test for most of gst_util_set_value_from_string()
12699 (not that one would want to encourage use of this function).
12701 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12703 * libs/gst/check/gstcheck.h:
12704 Use const gchar * variables in fail_unless_equals_string
12705 macro to avoid compiler warnings (and don't use tabs for
12708 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12710 * tools/gst-launch.c: (print_tag):
12711 More space on the left for the tag names, to cater
12712 for the 'extended comment' tag (not touching the
12713 string for the first line since it's translated).
12715 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12717 * libs/gst/check/gstcheck.h:
12718 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12719 print something when they fail.
12721 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12723 * docs/gst/gstreamer-sections.txt:
12724 * gst/gsttaglist.c: (_gst_tag_initialize):
12725 * gst/gsttaglist.h:
12726 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12727 Also change merge function for GST_TAG_COMMENT to
12730 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12732 * gst/gstinfo.c: (gst_debug_print_object):
12733 Make GST_PTR_FORMAT print messages as well.
12735 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12736 (GST_START_TEST), (gst_info_suite):
12739 2006-08-14 Edward Hervey <edward@fluendo.com>
12741 * gst/gstelementfactory.c: (gst_element_register):
12742 If the GstElementClass doesn't have a GstElementDetails with all fields
12743 filled up correctly (longname, description AND author), then error out
12744 nicely instead of crashing.
12746 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12748 * gst/gststructure.c:
12749 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12752 Expand on the difference between arrays and lists as we use them.
12754 2006-08-14 Wim Taymans <wim@fluendo.com>
12756 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12757 If the parent state change function failed, don't assume we can safely
12758 stop the source, this will be done when the pads are deactivated.
12760 2006-08-14 Wim Taymans <wim@fluendo.com>
12763 * gst/gsttask.c: (gst_task_join):
12766 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12767 (gst_pad_stop_task):
12768 When pad (de)activation failed for some reason, restore the old
12769 activation mode and set the pad to flushing instead of assuming the
12770 pad is deactivated.
12771 If the _task_join() failed, reinstall the task on the pad so that it can
12772 be stopped later and return an error.
12774 2006-08-11 Andy Wingo <wingo@pobox.com>
12777 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12778 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12779 is only for users of API that don't want to see deprecated
12780 functions in the headers; people that want to compile out
12781 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12782 CFLAGS. Fixes the build of multifdsink, or will soon..
12784 2006-08-11 Wim Taymans <wim@fluendo.com>
12786 * docs/gst/gstreamer-sections.txt:
12787 Add GstClockClass vmethod docs.
12790 Mark #endif with comment for associated #if
12792 * gst/gstclock.c: (gst_clock_id_wait):
12794 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12795 most clock implementations.
12797 Flesh out docs about resolution methods.
12798 API: GstClockClass::wait_jitter
12800 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12801 (gst_system_clock_async_thread),
12802 (gst_system_clock_id_wait_jitter_unlocked),
12803 (gst_system_clock_id_wait_jitter):
12804 Use base class wait_jitter variant for improved performance
12805 due to less clock polling.
12807 2006-08-11 Edward Hervey <edward@fluendo.com>
12809 * gst/gst.c: (gst_init_check), (init_post):
12810 Set gst as being initialized before scanning/updating the registry,
12811 since there might be my python plugin loader that calls gst_init() and
12812 we don't want to loop back in.
12815 2006-08-11 Wim Taymans <wim@fluendo.com>
12817 * docs/design/part-qos.txt:
12818 Bring docs in line with the code. Mostly the sign of the jitter was
12819 wrong in the docs. Fixes #349943.
12822 Fix the docs for the jitter.
12824 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12825 (gst_event_parse_tag), (gst_event_new_buffer_size),
12826 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12827 (gst_event_new_seek), (gst_event_parse_seek),
12828 (gst_event_new_navigation):
12829 Make sure the GstStructure has no parent when creating custom
12831 Add some more argument checking so that we avoid 0.0 rates.
12832 Flesh out the docs for the QoS event some more.
12834 2006-08-11 Wim Taymans <wim@fluendo.com>
12836 * docs/gst/gstreamer-sections.txt:
12837 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12838 (ensure_current_registry_forking), (ensure_current_registry),
12839 (parse_one_option), (parse_goption_arg), (gst_deinit),
12840 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12843 Added API and command line option to disable registry forking in
12844 addition to the environment variable.
12845 Constify some static arrays.
12846 Added some more debug.
12847 Don't deinit twice.
12848 API: gst_registry_fork_is_enabled()
12849 API: gst_registry_fork_set_enabled()
12850 API: --gst-disable-registry-fork command line option
12853 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12855 * gst/gst.c: (gst_init):
12856 Fix typo in error message.
12858 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12860 * libs/gst/controller/gstcontroller.h:
12861 fix ABI size-correction
12863 * tests/check/libs/gdp.c: (gst_dp_suite):
12864 make tests that use deprecated API conditional
12866 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12868 * docs/libs/gstreamer-libs-sections.txt:
12869 * libs/gst/controller/gstcontroller.c:
12870 (_gst_controller_get_property), (_gst_controller_set_property),
12871 (_gst_controller_init), (_gst_controller_class_init):
12872 * libs/gst/controller/gstcontroller.h:
12873 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12874 (gst_object_set_control_rate):
12875 API: add gst_object_{s,g}et_control_rate(), add private data section,
12878 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12879 * libs/gst/dataprotocol/dataprotocol.h:
12880 add deprecation guards to make gtk-doc happy and allow disabling cruft
12882 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12884 * tests/check/Makefile.am:
12885 * tests/check/gst/.cvsignore:
12886 Let's enable the new unit test as well.
12888 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12891 * docs/gst/gstreamer-sections.txt:
12892 * gst/gstconfig.h.in:
12893 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12894 (_gst_info_printf_extension_ptr),
12895 (_gst_info_printf_extension_segment):
12896 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12897 register that lets us easily dump GstSegments into debug
12900 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12901 (info_segment_format_printf_extension), (gst_info_suite):
12902 Add simple unit test that logs a bunch of different segments (not
12903 valgrinded at the moment because of leaks in
12904 gst_debug_add_log_function).
12906 2006-08-09 Edward Hervey <edward@fluendo.com>
12908 * libs/gst/base/gstbasetransform.c:
12909 (gst_base_transform_buffer_alloc):
12910 Even if we can't figure out the proper format to request downstream,
12911 call buffer_alloc() downstream with the input parameters without setting
12912 the caps on the srcpad. This will force negotiation in the chain
12916 2006-08-08 Edward Hervey <edward@fluendo.com>
12918 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12919 Unlinking from a pad without a target is now a perfectly valid case
12920 which should NOT raise an assertion.
12921 This case would happen if a linked ghostpad its target set to NULL after
12922 it was previously linked.
12924 2006-08-08 Edward Hervey <edward@fluendo.com>
12926 * tests/check/libs/gdp.c:
12927 Also comment out the test (see below).
12929 2006-08-08 Edward Hervey <edward@fluendo.com>
12931 * tests/check/libs/gdp.c: (gst_dp_suite):
12932 Use the architecture information from config.h and not gcc macros
12933 in order to properly disable a test that fails on PPC64.
12935 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12937 * gst/gstelement.c: (gst_element_remove_pad):
12938 Don't crash printing the warning if the pad has no parent.
12940 2006-08-02 Wim Taymans <wim@fluendo.com>
12942 * libs/gst/dataprotocol/dataprotocol.c:
12943 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12944 (gst_dp_crc), (gst_dp_header_payload_length),
12945 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12946 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12947 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12948 (gst_dp_event_from_packet), (gst_dp_validate_header),
12949 (gst_dp_validate_payload):
12950 Make debug category static
12951 Constify the crc table.
12952 Do some more arg checking in public functions.
12953 Fix some docs and do some small cleanups.
12955 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12956 Add some more checks to see if GDP deals with bogus input.
12958 2006-07-31 Wim Taymans <wim@fluendo.com>
12960 * gst/gstvalue.c: (gst_value_compare_list):
12961 Fix GstValueList comparison code. Fixes #347293.
12963 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12964 Check to test GstValueList comparison.
12966 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12968 * gst/gstelementfactory.c: (gst_element_factory_create):
12969 Remove unnecessary ref/unref pair
12971 * gst/parse/grammar.y:
12972 Make sure to free the parse buffer on all code paths.
12973 Move a g_free up to the error handler where it's easier to see.
12975 * tests/check/gst/gstevent.c: (test_event):
12976 Extending timeout for downstream travelling events to 10 seconds to
12977 hopefully avoid intermittent failure on the buildbots.
12979 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12980 Don't manually set the state of the src element - it will happen as a
12981 natural consequence of the pipeline changing state, and that way it
12982 will do it in the right order too.
12984 2006-07-31 Wim Taymans <wim@fluendo.com>
12986 * libs/gst/base/gstbasetransform.c:
12987 (gst_base_transform_buffer_alloc):
12988 Use OBJECT_LOCK and refcounting to get the pad caps in the
12989 buffer_alloc function because the caps could change while we are
12990 busy with them. Fixes #349105
12992 2006-07-31 Wim Taymans <wim@fluendo.com>
12994 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12995 Protect _PAD_CAPS with OBJECT_LOCK.
12997 2006-07-31 Wim Taymans <wim@fluendo.com>
12999 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13000 (gst_pad_get_property), (gst_pad_activate_pull),
13001 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13002 (gst_pad_set_activate_function),
13003 (gst_pad_set_activatepull_function),
13004 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13005 (gst_pad_set_getrange_function),
13006 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13007 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13008 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13009 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13010 (gst_pad_set_acceptcaps_function),
13011 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13012 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13013 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13014 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13015 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13016 (gst_pad_configure_sink), (gst_pad_configure_src),
13017 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13018 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13019 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13020 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13021 (gst_pad_send_event):
13022 Use _DEBUG_OBJECT when it makes sense.
13023 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13024 Small cleanups and code reflows.
13025 Avoid caps refcounting in _accept_caps.
13026 Refactor alloc_buffer so that the code performed on the peer is in a
13027 separate function. Also if the pad does not implement a buffer alloc
13028 function, we should still check if the pad is flushing before falling
13029 back to the default allocator.
13031 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13033 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13034 Make all uses of identity and fakesink have silent=true to avoid
13035 serialising every passing data structure, which is breaking tests
13036 on FC4 for some unknown reason.
13038 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13040 * gst/parse/Makefile.am:
13041 * gst/parse/grammar.y:
13042 * gst/parse/parse.l:
13043 Reverted previous patch as it required to bump the flex dependency to
13044 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13046 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13048 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13050 * gst/parse/Makefile.am:
13051 * gst/parse/grammar.y:
13052 * gst/parse/parse.l:
13053 push & pop the state of the lexer for reentrant use case
13056 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13058 * libs/gst/base/gstbasesrc.h:
13059 Note in the docs that the ::newsegment vfunc is not actually used by
13062 2006-07-28 Wim Taymans <wim@fluendo.com>
13064 * libs/gst/base/gstcollectpads.c:
13065 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13066 (gst_collect_pads_clear), (gst_collect_pads_flush),
13067 (gst_collect_pads_event), (gst_collect_pads_chain):
13068 When flushing a pad, also clear the queued buffer so that we don't
13069 accidentally use it when we shouldn't.
13070 Fix leaks by inreffing incomming buffer.
13071 Flush out queued buffers in case of errors.
13074 2006-07-28 Wim Taymans <wim@fluendo.com>
13076 * docs/random/phonon-gst:
13077 Random notes about a Phonon backend.
13079 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13081 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13083 * tests/check/libs/gdp.c: (gst_dp_suite):
13084 Take a whack at fixing the ppc compile using a different define to
13085 disable the broken test.
13087 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13088 Remove excess g_print()
13090 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13092 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13093 Oops, meant to uncomment this line too to dampen the noise a bit.
13095 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13097 * gst/parse/grammar.y:
13098 * gst/parse/parse.l:
13099 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13100 (GST_START_TEST), (parse_suite):
13101 Fix some of the leaks exposed by extending the parse-launch testsuite,
13102 and move the 3 I can't figure out into a separate test that won't run
13103 the pipelines unless the appropriate line is uncommented.
13105 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13107 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13108 Requesting 0 bytes before the end of the file should result in
13109 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13112 2006-07-27 Wim Taymans <wim@fluendo.com>
13114 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13115 Fix useless assert, a uint is always positive.
13117 * gst/gststructure.c: (gst_structure_nth_field_name),
13118 (gst_structure_foreach), (gst_structure_map_in_place):
13119 Check input arguments for public functions to avoid obvious crashes.
13121 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13122 * plugins/elements/gstfakesink.h:
13123 Do less useless typechecking.
13125 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13127 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13128 Do not use mmap() by default since there are a number of error
13129 conditions that we would like to handle in a non-fatal way that
13130 will result in a SIGBUS if we use mmap(). Examples: external
13131 devices (USB harddrive, portable music player) being unplugged
13132 while in use; file on mounted CD/DVD that can't be read because
13133 the medium is partly damaged. Fixes #348455 and #348475.
13135 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13138 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13139 rates are a gdouble
13141 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13143 * gst/gstregistry.c:
13144 Move big documentation comment into class section header, so that it
13145 appears in the API docs.
13147 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13149 * docs/gst/gstreamer-sections.txt:
13150 Oops. Commit the docs additions too for new API.
13151 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13153 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13155 * gst/gststructure.c: (gst_structure_id_set),
13156 (gst_structure_id_set_valist):
13157 * gst/gststructure.h:
13158 Add API for setting values into structures without performing
13159 a quark lookup, if the appropriate quark is already known.
13161 API: gst_structure_id_set
13162 API: gst_structure_id_set_valist
13164 * gst/parse/grammar.y:
13165 * gst/parse/parse.l:
13166 Remove some dead code shown by the coverage information.
13167 Don't throw a critical g_warning when encountering a syntax error,
13168 just warn and let the normal error path handle it.
13170 * plugins/elements/gstelements.c:
13171 Bump the rank of filesink up to PRIMARY so that it is preferred over
13172 gnomevfssink for file:// sink uri's
13174 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13175 (GST_START_TEST), (run_delayed_test),
13176 (gst_parse_test_element_base_init),
13177 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13178 (gst_parse_test_element_change_state),
13179 (gst_register_parse_element), (parse_suite):
13180 Beef up the tests for parse syntax to check that more error cases
13181 fail as they are supposed to. Increases the test coverage a bit.
13183 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13185 * docs/manual/basics-elements.xml:
13186 Fix gst_element_link() example.
13189 Mention in API docs that one should usually gst_bin_add()
13190 elements to a bin or pipeline before doing the linking.
13192 2006-07-26 Wim Taymans <wim@fluendo.com>
13194 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13195 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13196 Avoid function call for known types by keeping the buffer and
13197 subbuffer GType global.
13199 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13200 Random silly optimisations in read() path.
13202 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13204 * tools/gst-launch.c: (main):
13205 If the top-level of the parse is a normal bin, it doesn't do the
13206 right logic to run as a top-level element, so place it inside a
13209 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13211 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13212 Remove superfluous g_object_notify() calls, GObject does
13213 that for us automatically.
13215 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13218 on Win32, use dllspec to export the debug category symbols
13220 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13222 * gst/gsttaglist.c: (_gst_tag_initialize):
13223 Allow more than one GST_TAG_IMAGE per taglist.
13225 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13227 * gst/gstminiobject.c:
13229 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13230 (gst_fd_src_create):
13231 log recurring events at LOG level
13232 add more debug for when the fd gets set
13234 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13236 * gst/gstparse.c: (gst_parse_launch):
13237 Also remove reentrance checks if flex is MT safe (#348179)
13238 Fix my empty ChangeLog entry below
13240 2006-07-21 Andy Wingo <wingo@pobox.com>
13242 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13244 * libs/gst/check/Makefile.am
13245 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13246 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13247 * libs/gst/check/gstbufferstraw.h:
13248 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13249 functions, thus proving I am still a GStreamer haxor. OK I wrote
13250 them a long time ago, but anyways.
13252 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13255 * gst/gstparse.c: (gst_parse_launch):
13256 Check for flex version and omit mutex if we have a MT save flex
13259 2006-07-21 Wim Taymans <wim@fluendo.com>
13261 * gst/gstparse.c: (gst_parse_launch):
13262 Protect recursive calls to _parse with a recursive mutex
13265 2006-07-21 Wim Taymans <wim@fluendo.com>
13267 * tests/check/gst/gstpad.c: (GST_START_TEST):
13270 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13272 * gst/gstparse.c: (gst_parse_launch):
13273 Do not hang on recursive usage of gst_parse_launch()
13275 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13277 * gst/gsttaglist.c:
13278 Add some more docs, comments and FIXME 0.11s here and there
13279 and also fix some typos.
13281 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13283 * gst/gstsegment.h:
13284 Convert tabs to spaces for better readability.
13286 2006-07-20 Edward Hervey <edward@fluendo.com>
13288 * tests/check/libs/gdp.c: (gst_dp_suite):
13289 the test_buffer test fails at line 140 on ppc64 at the following
13291 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13292 GST_BUFFER_FLAG_IN_CAPS),
13293 "GST_BUFFER_IN_CAPS flag should have been copied !");
13294 See bug #348114 for more details.
13296 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13298 * docs/pwg/advanced-scheduling.xml:
13300 Fix typos (#348000).
13302 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13304 * docs/pwg/intro-basics.xml:
13305 Fix wrong links (#347927).
13307 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13309 * gst/gstregistry.h:
13310 * gst/gstregistryxml.c: (load_feature),
13311 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13312 * win32/common/config.h:
13313 make --disable-index work (#342564)
13315 2006-07-18 Wim Taymans <wim@fluendo.com>
13317 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13321 The attached patch adds two missing defines to gsttrace.h when tracing
13322 is disabled. It also corrects one existing define.
13325 2006-07-17 Wim Taymans <wim@fluendo.com>
13327 * docs/gst/gstreamer-sections.txt:
13328 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13330 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13331 Add two functions to check and change the SIGSEGV behaviour
13332 when loading plugins.
13333 Don't mess with the SIGSEGV handler when we were told not to.
13335 API: gst_segtrap_is_enabled
13336 API: gst_segtrap_set_enabled
13338 2006-07-14 Wim Taymans <wim@fluendo.com>
13340 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13341 * tests/check/elements/filesrc.c: (GST_START_TEST):
13342 Revert fix for regression in #347408 after release.
13344 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13346 Patch by: Antoine Tremblay <hexa00 at gmail com>
13348 * gst/gstutils.c: (gst_element_unlink):
13349 Free iterator when done (#347311).
13351 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13352 And add a test case for this.
13354 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13357 Bump nano back to CVS
13359 === release 0.10.9 ===
13361 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13364 releasing 0.10.9, "On the road again"
13366 2006-07-13 Wim Taymans <wim@fluendo.com>
13368 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13369 * tests/check/elements/filesrc.c: (GST_START_TEST):
13370 Revert pull-0 fix for release. Disable check. Fixes #347408.
13372 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13374 * libs/gst/dataprotocol/dataprotocol.c:
13375 (gst_dp_event_from_packet_1_0):
13376 Fixes #347337: failure to deserialize event packets with
13377 empty payload (only event type)
13379 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13382 do not install a .c file in the header directory
13384 2006-07-13 Edward Hervey <edward@fluendo.com>
13386 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13387 GhostPad no longer implicitely use the padtemplates of the targets.
13390 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13392 * gst/gstvalue.c: (gst_value_compare_list),
13393 (gst_value_compare_array), (_gst_value_initialize):
13394 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13395 Make GstValueArray comparison be order dependent as designed.
13396 Add checks for value lists and value array comparisons.
13399 2006-07-11 Edward Hervey <edward@fluendo.com>
13401 * gst/gstbin.c: (activate_pads),
13402 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13403 (gst_bin_change_state_func):
13404 (de)activate src pads before calling state_change on the childs.
13405 This is to avoid the case where a src ghostpad is blocked (holding the
13406 stream lock), which would block the deactivation of the ghostpad's
13408 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13409 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13410 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13411 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13412 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13413 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13414 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13415 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13416 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13417 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13418 (gst_ghost_pad_class_init),
13419 (gst_ghost_pad_internal_do_activate_push),
13420 (gst_ghost_pad_internal_do_activate_pull),
13421 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13422 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13423 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13424 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13425 GhostPads now create their internal GstProxyPad at creation (and not
13426 when they're linked, as it was being done previously).
13427 The internal and target pads are linked straight away.
13428 The data will also travel through the other pad in order to make
13429 pad blocking and probes non-hackish (the probe/block now really happens
13430 on the GhostPad and not on the target).
13431 * gst/gstpad.c: (gst_pad_set_blocked_async),
13432 (gst_pad_link_prepare), (gst_pad_push_event):
13433 Remove previous ghostpad cruft.
13434 * gst/gstutils.c: (gst_pad_add_data_probe),
13435 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13436 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13437 (gst_pad_remove_buffer_probe):
13438 Remove previous ghost pad cruft.
13439 Added more detailed debug statements.
13440 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13441 Fix the testsuite for refcounting changes.
13442 The comments about who has references were correct, but the refcount
13443 being checked wasn't the same (!?!).
13447 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13449 * docs/gst/gstreamer-sections.txt:
13450 * gst/gstconfig.h.in:
13451 More docs for configuration options, add docs to gtk-doc.
13453 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13456 * gst/gstconfig.h.in:
13457 * win32/common/config.h:
13458 Fix build when disabling tracing (fixes #344016). Also start to document
13459 the defines that disable the sub-systems.
13461 2006-07-10 Edward Hervey <edward@fluendo.com>
13463 * gst/gst.c: (ensure_current_registry_forking):
13464 let's make valgrind happy...
13466 2006-07-09 Wim Taymans <wim@fluendo.com>
13468 * gst/gstelement.c: (activate_pads),
13469 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13470 Better pad activation code: Reset the collect value too on resync.
13473 2006-07-09 Wim Taymans <wim@fluendo.com>
13475 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13476 (gst_pad_activate_push):
13477 Use some more macros where it makes sense.
13478 Allow pad mode switching instead of asserting. When a pad
13479 is activated in one mode and we activate it in another,
13480 deactivate it first before activating it in a different mode.
13483 2006-07-08 Andy Wingo <wingo@pobox.com>
13485 * tools/gst-launch.c (main): Handle err == NULL.
13487 * gst/gst.c (init_post, ensure_current_registry)
13488 (ensure_current_registry_forking)
13489 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13490 factoring out the registry scanning into separate functions. Don't
13491 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13492 Better environment var name/interface suggestions accepted.
13494 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13496 * gst/gstobject.c: (gst_object_set_name_default),
13497 (gst_object_set_name):
13498 Random micro-optimisation: don't use a hash table
13499 with strings as keys and the usual strdup/strcmp
13500 involved, but rather just use the GQuark of the
13501 type name as key, since it needs to be looked up
13502 anyway to get the type name string.
13504 * tests/check/gst/gstobject.c: (GST_START_TEST):
13507 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13509 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13510 (gst_bin_iterate_all_by_interface):
13511 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13512 GTypes are gulongs and thus the top 4 bytes might be cut
13513 off on some platforms when doing GPOINTER_TO_INT, leading
13514 to invalid GTypes and bad things happening (see RH bug #179654).
13515 Also add a check to make sure the type passed in is really
13518 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13523 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13527 * gst-element-check.m4:
13528 * gst-element-check.m4.in:
13529 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13530 instead of the unversioned gst-inspect (#324176, #168659).
13532 2006-07-06 Wim Taymans <wim@fluendo.com>
13534 * gst/gstmessage.h:
13535 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13538 2006-07-06 Wim Taymans <wim@fluendo.com>
13540 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13541 (gst_base_src_wait), (gst_base_src_update_length),
13542 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13543 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13544 (gst_base_src_loop), (gst_base_src_start),
13545 (gst_base_src_activate_pull):
13547 blocksize == 0 now means the default blocksize when working in push
13549 Remove some pointless asserts in _wait function.
13550 Fix offset/length calculations and EOS handling. We can now pull 0
13551 bytes as well, which is allowed.
13552 use _check_get_range() to decide if we can operate in _pull based
13554 Fix refcounting leak when check_get_range function was not
13556 API GstBaseSrc::blocksize range can be 0 too now (default)
13558 * tests/check/elements/filesrc.c: (GST_START_TEST),
13560 Added check to test _get_range() behaviour.
13562 2006-07-06 Wim Taymans <wim@fluendo.com>
13564 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13565 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13566 (gst_pad_pull_range):
13568 Lots of comments and docs added to the pad functions.
13569 Flesh out the expected behaviour of the get_range() functions.
13571 2006-07-06 Wim Taymans <wim@fluendo.com>
13576 * gst/gstiterator.h:
13580 Remove comma at end of enumerator list.
13582 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13584 * win32/common/libgstbase.def:
13585 * win32/common/libgstdataprotocol.def:
13586 * win32/common/libsgtreamer.def:
13587 Add new exported functions.
13589 2006-07-05 Wim Taymans <wim@fluendo.com>
13591 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13592 Add some more docs here and there.
13594 2006-07-05 Wim Taymans <wim@fluendo.com>
13596 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13597 (gst_base_sink_loop), (gst_base_sink_get_position):
13598 When operating in pull mode update the offset so that we
13601 2006-07-05 Wim Taymans <wim@fluendo.com>
13603 * gst/gstregistryxml.c: (read_string):
13604 Avoid strdup. (will happen in libxml, but hey!)
13607 Add some more docs.
13609 2006-07-05 Wim Taymans <wim@fluendo.com>
13611 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13612 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13613 (gst_buffer_suite):
13614 No point in checking if the size of the subbuffer > 0, the
13615 code handles it correclty as demonstrated by unit test.
13616 Also add a unit test for the zero sized _new_and_alloc and
13617 _copy. Fixes #346663.
13619 2006-07-05 Wim Taymans <wim@fluendo.com>
13621 * libs/gst/base/gstbasetransform.c:
13622 (gst_base_transform_prepare_output_buffer),
13623 (gst_base_transform_buffer_alloc),
13624 (gst_base_transform_handle_buffer):
13625 Make sure the buffer we pass to transform_ip has a refcount of
13626 1 and thus is writable. Fixes #343196
13628 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13630 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13631 (gst_file_src_init), (gst_file_src_set_property),
13632 (gst_file_src_get_property), (gst_file_src_map_region):
13633 * plugins/elements/gstfilesrc.h:
13634 Add "sequential" property, off by default, to use madvise and hint
13635 to the kernel that sequential access is desired.
13636 Touch all retrieved pages by default to ensure they are pulled
13637 into memory. (Closes #345720)
13639 2006-07-03 Wim Taymans <wim@fluendo.com>
13641 * docs/design/part-block.txt:
13642 * docs/design/part-dynamic.txt:
13643 Small docs updates.
13645 2006-07-03 Wim Taymans <wim@fluendo.com>
13647 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13648 (gst_caps_unref), (gst_static_caps_get),
13649 (gst_caps_append_structure):
13650 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13651 Use GSlice when the glib we build against is >= 2.10
13653 2006-07-03 Wim Taymans <wim@fluendo.com>
13655 * gst/gstelement.c: (gst_element_pads_activate):
13656 Small cleanup in pad activation code.
13658 2006-07-03 Wim Taymans <wim@fluendo.com>
13660 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13662 * gst/gst-i18n-app.h:
13663 * gst/gst-i18n-lib.h:
13664 * tools/gst-inspect.c: (print_signal_info):
13665 The attached patch will make the inclusion of gettext.h unconditional in
13666 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13667 libintl.h in tools/gst-inspect.c.
13668 This allows use of --disable-nls again and fixes #344642.
13670 2006-07-03 Edward Hervey <edward@fluendo.com>
13672 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13673 Implement pad blocking on events according to part-block.txt.
13674 More comments on behaviour.
13675 * tests/check/gst/gstevent.c: (test_event):
13676 Send event to peer pad of blocked pad (else it will block).
13678 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13680 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13681 (gst_check_run_suite):
13682 if we get the wrong message, give us the types as string
13683 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13685 * tests/check/elements/filesrc.c: (GST_START_TEST):
13686 add a test for trying to open a non-existing file
13688 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13690 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13691 add a test for adding self
13693 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13695 * libs/gst/check/gstcheck.h:
13696 add some assert_ as alias for fail_unless_*
13697 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13698 increase test coverage
13700 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13703 include lcov.mak for lcov coverage generation
13704 * tools/Makefile.am:
13707 2006-07-02 Edward Hervey <edward@fluendo.com>
13709 * tests/check/elements/.cvsignore:
13712 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13715 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13716 * tests/check/Makefile.am:
13717 clean up gcov files
13719 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13721 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13722 remove gst_caps_simplify; it was not declared and not used
13723 and deprecated in 0.8
13725 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13727 * docs/faq/gst-uninstalled:
13728 don't put empty paths on PYTHONPATH
13729 * docs/gst/gstreamer-sections.txt:
13730 remove some symbols that are not there
13732 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13734 * gst/gstcaps.c: (gst_caps_compare_structures):
13736 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13737 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13740 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13742 * libs/gst/dataprotocol/Makefile.am:
13743 build dataprotocol test by linking to the lib, instead of
13744 compiling the source, so we get coverage
13745 * tests/check/Makefile.am:
13746 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13747 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13748 add a test for filesrc
13750 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13752 * tests/check/gst/gststructure.c: (GST_START_TEST),
13753 (gst_structure_suite):
13754 Push coverage from 59.04% to 70.00%
13756 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13758 * tests/check/Makefile.am:
13759 gst-inspect every element; this makes sure that we also get
13760 coverage on element's get/set functions
13762 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13765 set CFLAGS and friends to -O0 if gcov is being used
13768 * libs/gst/base/Makefile.am:
13769 * libs/gst/check/Makefile.am:
13770 * libs/gst/controller/Makefile.am:
13771 * libs/gst/dataprotocol/Makefile.am:
13772 * libs/gst/net/Makefile.am:
13773 * plugins/elements/Makefile.am:
13774 * plugins/indexers/Makefile.am:
13775 add makefile rules to generate gcov data and clean up
13776 * tests/check/Makefile.am:
13777 add a coverage target that generates an html overview
13780 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13782 * tests/check/elements/fakesink.c:
13783 * tests/check/elements/fakesrc.c:
13784 * tests/check/elements/fdsrc.c:
13785 * tests/check/elements/identity.c:
13786 * tests/check/generic/sinks.c: (gst_sinks_suite):
13787 * tests/check/generic/states.c:
13788 * tests/check/gst/gst.c:
13789 * tests/check/gst/gstabi.c:
13790 * tests/check/gst/gstbin.c:
13791 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13792 * tests/check/gst/gstbus.c: (gst_bus_suite):
13793 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13794 * tests/check/gst/gstelement.c:
13795 * tests/check/gst/gstevent.c: (gst_event_suite):
13796 * tests/check/gst/gstghostpad.c:
13797 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13798 * tests/check/gst/gstmessage.c: (gst_message_suite):
13799 * tests/check/gst/gstminiobject.c:
13800 * tests/check/gst/gstobject.c:
13801 * tests/check/gst/gstpad.c:
13802 * tests/check/gst/gstpipeline.c:
13803 * tests/check/gst/gstplugin.c:
13804 * tests/check/gst/gstquery.c: (gst_query_suite):
13805 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13806 * tests/check/gst/gststructure.c:
13807 * tests/check/gst/gstsystemclock.c:
13808 * tests/check/gst/gsttag.c:
13809 * tests/check/gst/gsttask.c: (gst_task_suite):
13810 * tests/check/gst/gstutils.c:
13811 * tests/check/gst/gstvalue.c:
13812 * tests/check/libs/adapter.c:
13813 * tests/check/libs/basesrc.c:
13814 * tests/check/libs/collectpads.c:
13815 * tests/check/libs/controller.c:
13816 * tests/check/libs/gdp.c: (gst_dp_suite):
13817 * tests/check/libs/gstnetclientclock.c:
13818 * tests/check/libs/gstnettimeprovider.c:
13819 * tests/check/libs/libsabi.c: (libsabi_suite):
13820 * tests/check/libs/typefindhelper.c:
13821 * tests/check/pipelines/cleanup.c:
13822 * tests/check/pipelines/parse-launch.c:
13823 * tests/check/pipelines/simple-launch-lines.c:
13824 * tests/check/pipelines/stress.c: (stress_suite):
13827 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13829 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13830 * libs/gst/check/gstcheck.h:
13831 create a macro and function so that the simple unit test
13832 case can be just one macro to create main()
13834 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13836 * gst/gstbin.c: (gst_bin_restore_thyself):
13837 * gst/gstxml.c: (gst_xml_make_element):
13838 Fix deserialisation from XML. Set parent manually
13839 instead of using gst_bin_add(), since gst_bin_add()
13840 will unlink all pads of the element being added.
13843 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13845 Patch by: Peter Kjellerstedt <pkj at axis com>
13847 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13848 Fix missing g_strdup() and double free when using the
13849 --gst-plugin-load command line option (#346097).
13851 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13854 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13856 * libs/gst/net/gstnetclientclock.c:
13857 * libs/gst/net/gstnettimeprovider.c:
13858 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13860 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13862 * docs/manual/advanced-dataaccess.xml:
13863 Fix buffer probe example compilation in
13866 2006-06-22 Edward Hervey <edward@fluendo.com>
13868 * gst/gstelement.c: (gst_element_pads_activate):
13869 We need to deactivate src pads first and then sink pads.
13870 The reason is the src pads might be blocking while holding the streaming
13871 lock, so we need to deactivate them first so that deactivating the sink
13872 pads doesn't block (since it will require the streaming lock).
13874 2006-06-22 Wim Taymans <wim@fluendo.com>
13876 * libs/gst/base/gstbasetransform.c:
13877 (gst_base_transform_buffer_alloc):
13878 Forgot to remove two unneeded unrefs.
13879 Simplify a check _is_equal allready checks the obvious case.
13881 2006-06-22 Wim Taymans <wim@fluendo.com>
13883 * docs/design/part-block.txt:
13884 Some docs about what pad_block should do.
13886 2006-06-22 Wim Taymans <wim@fluendo.com>
13888 * gst/gstcaps.c: (gst_caps_replace):
13889 Fix crasher when passed NULL. Doc clarification.
13890 Optimize for the trivial case.
13892 * gst/gstpipeline.c: (gst_pipeline_change_state):
13895 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13896 Small documentation cleanup.
13898 * libs/gst/base/gstbasetransform.c:
13899 (gst_base_transform_buffer_alloc):
13900 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13901 is what we need and it avoids a whole lot of redundant
13902 refcount operations.
13904 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13906 Patch by: Philip Jägenstedt <philip at lysator liu se>
13908 * docs/manual/advanced-dataaccess.xml:
13909 Fix 'Embedding static elements' section to use
13910 GST_PLUGIN_DEFINE_STATIC (#345607).
13912 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13914 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13915 Attempt to 'fix' spuriously failing test case: it seems like the
13916 timeout of half a second is simply too small when the system is under
13917 load otherwise, and the timeout doesn't really seem to serve any
13918 particular purpose here. Give the pipeline a few seconds to preroll
13919 first, and then give it another half a second to go from PAUSED to
13920 PLAYING and marshal the message into the main thread.
13922 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13924 * tools/gst-feedback-m.m:
13925 Don't only use unversioned tools, try versioned tools as well
13928 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13930 * gst/gstbus.c: (gst_bus_class_init):
13931 Fix some typos, make docs more explicit.
13933 2006-06-20 Wim Taymans <wim@fluendo.com>
13935 * tests/check/gst/gstghostpad.c: (block_callback),
13936 (GST_START_TEST), (gst_ghost_pad_suite):
13937 Added some more ghostpad tests, mainly blocking
13940 2006-06-16 Wim Taymans <wim@fluendo.com>
13942 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13943 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13944 (gst_file_sink_event), (gst_file_sink_render):
13945 * plugins/elements/gstfilesink.h:
13946 Check if we can seek in the file instead of assuming
13947 we always can. Post an error when we are asked to seek in a
13948 non-seekable file (like a fifo). Fixes #343312.
13951 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13953 * tools/gst-launch.1.in:
13954 Un-garble (fourcc) bit in filtered caps section.
13956 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13958 * docs/manual/advanced-autoplugging.xml:
13959 * docs/manual/basics-helloworld.xml:
13960 * docs/manual/highlevel-components.xml:
13961 Don't leak bus reference in sample code.
13963 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13966 Add default for new --enable-plugin-docs switch.
13969 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13972 * docs/Makefile.am:
13973 Use new ENABLE_PLUGIN_DOCS conditional.
13975 2006-06-14 Wim Taymans <wim@fluendo.com>
13977 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13978 Make it clear with a FIXME and a real define what the #if 0
13979 previously disabled.
13981 2006-06-14 Wim Taymans <wim@fluendo.com>
13983 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13984 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13985 * libs/gst/base/gstbasetransform.c:
13986 (gst_base_transform_sink_eventfunc):
13987 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13988 Don't randomly and silently reset a segment when the format
13989 changes as this is a bug somewhere upstream. Fixes #330379.
13991 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13993 Patch by: Wouter Paesen <wouter at kangaroot net>
13995 * libs/gst/controller/gstcontroller.c:
13996 (gst_controlled_property_new):
13997 Fix controlling of float properties (#344849).
13999 * tests/check/libs/controller.c:
14000 (gst_test_mono_source_get_property),
14001 (gst_test_mono_source_set_property),
14002 (gst_test_mono_source_class_init), (GST_START_TEST):
14003 While we're at it, add some float stuff to unit test.
14005 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14008 * docs/images/gdp-header.svg:
14010 * docs/libs/Makefile.am:
14011 * docs/libs/gdp-header.png:
14012 * libs/gst/dataprotocol/dataprotocol.c:
14013 add it to the API docs
14014 * docs/manual/intro-motivation.xml:
14017 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14019 * gst/gst.c: (scan_and_update_registry), (init_post):
14020 If the fork()'ed child process can't write the updated registry cache
14021 file to disk for some reason, make it exit with a failure exit code,
14022 so that the parent can then re-scan the plugins itself and update the
14023 registry structures in memory and work with that (rather than failing
14024 when creating elements because seemingly no plugins are available).
14025 Refactor registry scanning code into separate function for this and
14026 also separate fork() and non-fork() code paths. Fixes #344748.
14028 2006-06-13 Wim Taymans <wim@fluendo.com>
14030 * docs/manual/advanced-dataaccess.xml:
14031 Fix wrong PluginDesc. Fixes #344755.
14033 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14035 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14036 Fix silly bug that prevented us from creating
14037 ~/.gstreamer-0.10 and writing the registry in one
14038 go (the first call to g_mkstemp() would overwrite the
14039 placeholder in the template string, so the second call
14040 to g_mkstemp() after creating the missing directory
14041 would then error out with 'invalid argument').
14043 2006-06-13 Edward Hervey <edward@fluendo.com>
14045 * gst/gst.c: (init_post):
14048 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14050 * gst/glib-compat-private.h:
14051 * gst/glib-compat.c:
14052 * gst/glib-compat.h:
14053 * gst/gstvalue.c: (gst_value_serialize_flags):
14054 remove GLib 2.6 compatibility code
14056 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14058 * gst/parse/Makefile.am:
14059 Fix build with 'make -j N' even more (#340016).
14061 2006-06-12 Wim Taymans <wim@fluendo.com>
14063 * docs/gst/gstreamer-sections.txt:
14066 2006-06-12 Wim Taymans <wim@fluendo.com>
14068 * gst/gstsegment.c: (gst_segment_set_duration),
14069 (gst_segment_set_last_stop), (gst_segment_set_seek),
14070 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14071 (gst_segment_to_running_time), (gst_segment_clip):
14072 Use G_UNLIKELY to help the compiler a bit.
14074 2006-06-12 Wim Taymans <wim@fluendo.com>
14076 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14078 * gst/gstevent.c: (gst_event_get_type):
14079 * gst/gstmessage.c:
14080 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14082 constify quark registration strings. Fixes #344115
14083 Avoid unneeded type checking is _pad_push() by internally
14084 calling gst_pad_chain_unchecked().
14086 2006-06-12 Wim Taymans <wim@fluendo.com>
14088 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14089 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14090 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14091 (gst_buffer_is_span_fast), (gst_buffer_span):
14092 Init _type for consistency.
14093 Use _FLAGS macro to avoid type check.
14094 Avoid unneeded type checks in subbufer code.
14096 2006-06-12 Wim Taymans <wim@fluendo.com>
14098 * gst/gst.c: (gst_debug_help):
14099 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14100 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14101 (gst_plugin_feature_list_free):
14102 * gst/gstregistry.c: (gst_registry_add_plugin),
14103 (gst_registry_add_feature), (gst_registry_plugin_filter),
14104 (gst_registry_feature_filter), (gst_registry_find_plugin),
14105 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14106 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14107 * gst/gstregistryxml.c: (load_feature),
14108 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14109 * gst/gstminiobject.c: (gst_mini_object_unref),
14110 (gst_mini_object_replace), (gst_value_mini_object_free),
14111 (gst_value_mini_object_copy):
14112 Use _CAST macros to avoid unneeded type checking.
14113 Added some more G_UNLIKELY.
14115 2006-06-12 Wim Taymans <wim@fluendo.com>
14118 Avoid unneeded type checking.
14119 API: GST_BUFFER_IS_DISCONT
14121 * gst/gstminiobject.h:
14122 Avoid type check in flag accessor.
14124 * gst/gstelementfactory.h:
14126 * gst/gstpluginfeature.h:
14128 API: GST_ELEMENT_FACTORY_CAST
14129 API: GST_PLUGIN_CAST
14130 API: GST_PLUGIN_FEATURE_CAST
14132 2006-06-12 Wim Taymans <wim@fluendo.com>
14134 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14135 (gst_object_unref):
14136 Add G_UNLIKELY in type registration.
14137 Avoid type check in _ref/_unref since that is also
14140 2006-06-12 Wim Taymans <wim@fluendo.com>
14142 * gst/gsterror.c: (gst_g_error_get_type):
14143 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14144 (gst_static_pad_template_get_type):
14145 * gst/gsttaglist.c: (gst_tag_list_get_type):
14146 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14147 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14148 * gst/gsturi.c: (gst_uri_handler_get_type):
14149 * gst/gstvalue.c: (gst_date_get_type):
14150 * gst/gstxml.c: (gst_xml_get_type):
14151 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14152 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14153 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14154 Add G_UNLIKELY in type registration.
14156 2006-06-12 Wim Taymans <wim@fluendo.com>
14158 * tools/gst-inspect.c: (print_signal_info):
14159 Properly print enum values.
14161 2006-06-12 Wim Taymans <wim@fluendo.com>
14163 * gst/gstinfo.c: (gst_debug_set_active),
14164 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14166 Add some G_[UN]LIKELY.
14167 Maintain __gst_debug_min to avoid formatting the arguments of
14168 debug messages that will be dropped anyway to avoid a lot of
14169 overhead from the debugging system.
14171 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14174 * po/POTFILES.skip:
14175 add missing files containing translatable strings, tell intltool about
14178 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14180 * tests/check/libs/.cvsignore:
14181 add test-binary to ignore list
14183 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14185 * docs/libs/gstreamer-libs-docs.sgml:
14186 reorder (put dp into a chapter) and indent
14188 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14193 === release 0.10.8 ===
14195 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14198 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14200 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14202 * gst/gst.c: (init_post):
14203 move pid declaration to declaration block
14205 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14207 * gst/gst.c: (init_post):
14208 use _exit() instead of exit() in our forked child; this ensures
14209 that none of the registered exit handlers from whatever is using
14210 GStreamer get executed. This fixes gnome-mixer-applet failing
14211 to load, because ORBit would shut down.
14212 Spotted by: Edward Hervey <edward@fluendo.com>
14213 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14216 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14221 === release 0.10.7 ===
14223 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14226 releasing 0.10.7, "Soepeke, ik zie ou"
14228 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14251 * win32/common/config.h:
14252 0.10.6.2 prerelease
14254 2006-06-07 Wim Taymans <wim@fluendo.com>
14256 * gst/gstindex.c: (gst_index_gtype_resolver):
14257 * tools/gst-xmlinspect.c: (print_plugin_info):
14258 Fix leak spotted by coverity checker. Fixes #343827
14259 Fix another other leak found by paolo borelli.
14261 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14263 * libs/gst/dataprotocol/dataprotocol.c:
14264 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14265 (gst_dp_version_get_type), (gst_dp_init),
14266 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14267 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14268 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14269 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14270 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14271 (gst_dp_packetizer_free):
14272 * libs/gst/dataprotocol/dataprotocol.h:
14273 API: add a GstDPPacketizer object, and create/free functions
14274 API: add GstDPVersion enum
14275 Add 1.0 event function that uses the string serialization
14276 Serialize more useful buffer flags
14279 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14281 * tests/check/Makefile.am:
14282 * tests/check/gst/gstabi.c:
14283 * tests/check/gst/struct_ppc64.h:
14284 * tests/check/libs/libsabi.c:
14285 * tests/check/libs/struct_ppc64.h:
14286 add ppc64 structure sizes
14288 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14290 * tests/check/Makefile.am:
14291 * tests/check/gst/gstabi.c:
14292 * tests/check/gst/struct_x86_64.h:
14293 * tests/check/libs/libsabi.c:
14294 * tests/check/libs/struct_x86_64.h:
14295 generate and add structure size lists for x86_64
14297 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14299 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14300 * libs/gst/check/gstcheck.h:
14301 factor out the method from tests that checks size of structures,
14302 and add code to generate the header containing these sizes
14303 * tests/check/gst/gstabi.c: (GST_START_TEST):
14304 * tests/check/gst/struct_i386.h:
14305 * tests/check/libs/libsabi.c: (GST_START_TEST):
14306 * tests/check/libs/struct_i386.h:
14309 2006-06-06 Michael Smith <msmith@fluendo.com>
14311 * gst/gstsegment.h:
14312 Don't use c++-style comments, fixes #343929
14314 2006-06-05 Edward Hervey <edward@fluendo.com>
14317 plugin_paths is not used if we build without registry support.
14319 * gst/gstsegment.c: (gst_segment_copy):
14320 _copy() was always returning NULL...
14322 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14324 * libs/gst/dataprotocol/dataprotocol.c:
14325 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14326 (gst_dp_packet_from_event):
14327 factor out CRC code
14329 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14331 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14332 make sure we unset caps
14334 2006-06-02 Michael Smith <msmith@fluendo.com>
14336 * libs/gst/check/gstcheck.c: (gst_check_init),
14337 (gst_check_chain_func):
14338 * libs/gst/check/gstcheck.h:
14339 Add a cond/mutex to the check support lib, signal this whenever we
14340 add to the buffers list. This will allow tests to not busy-wait on
14343 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14345 * libs/gst/dataprotocol/dataprotocol.c:
14346 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14347 (gst_dp_packet_from_event):
14348 factor out some common header init code
14350 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14352 * docs/libs/gstreamer-libs-sections.txt:
14353 * docs/libs/tmpl/gstdataprotocol.sgml:
14354 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14355 * libs/gst/dataprotocol/dataprotocol.h:
14356 API: make gst_dp_crc() public
14358 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14360 * plugins/indexers/gstindexers.c: (plugin_init):
14361 conditionally register fileindexer (fixes #343598)
14363 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14365 * gst/gsttagsetter.h:
14366 Can't cast ifaces to a class
14368 * libs/gst/net/gstnetclientclock.h:
14369 * libs/gst/net/gstnettimeprovider.h:
14370 * plugins/elements/gstfakesink.h:
14371 * plugins/elements/gstfakesrc.h:
14372 * plugins/elements/gstfdsink.h:
14373 * plugins/elements/gstfdsrc.h:
14374 * plugins/elements/gstfilesink.h:
14375 * plugins/elements/gstfilesrc.h:
14376 * plugins/elements/gstidentity.h:
14377 * plugins/elements/gstqueue.h:
14378 * plugins/elements/gsttee.h:
14379 * plugins/indexers/gstfileindex.c:
14380 * plugins/indexers/gstmemindex.c:
14381 * tests/old/examples/plugins/example.h:
14382 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14384 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14386 * libs/gst/dataprotocol/dataprotocol.c:
14387 (gst_dp_header_from_buffer):
14388 make sure we zero the whole ABI-compatible area
14390 2006-06-01 Wim Taymans <wim@fluendo.com>
14392 Patch by: Alessandro Decina <alessandro at nnva dot org>
14394 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14395 Make sure the EOS flag is cleared from pads after a flush
14396 or stop. Fixes #343538.
14398 * tests/check/libs/collectpads.c: (GST_START_TEST),
14399 (gst_collect_pads_suite):
14400 Added test for collectpads reusage after EOS.
14402 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14405 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14406 * win32/common/libgstbase.def:
14407 export gst_collect_pads_set_flushing
14408 * win32/common/libgstreamer.def:
14409 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14410 gst_value_fraction_multiply
14411 * win32/vs6/gst_inspect.dsp:
14412 add a link to intl.lib
14414 2006-05-30 Wim Taymans <wim@fluendo.com>
14416 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14417 (gst_collect_pads_chain):
14418 Handle the case where a pad is removed from the collection
14419 that could cause the other pads to become collectable.
14421 2006-05-30 Wim Taymans <wim@fluendo.com>
14423 * gst/gstelement.c:
14424 Clarify the use of _release_request_pad() and
14425 _get_request_pad() a bit better.
14427 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14428 (gst_adapter_take_buffer):
14429 Fix some doc and comment typos.
14431 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14433 * docs/gst/gstreamer-sections.txt:
14434 * docs/libs/gstreamer-libs-sections.txt:
14435 add declared symbols
14437 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14439 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14440 Add debug that can be enabled using a #define at the top of the file,
14441 for dumping stats about how late/early we were when waking up from
14442 waiting on the clock.
14444 2006-05-30 Wim Taymans <wim@fluendo.com>
14446 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14447 When rebuilding the pad list, don't leak the previous list.
14449 2006-05-30 Wim Taymans <wim@fluendo.com>
14451 Patch by: Lutz Mueller <lutz at topfrose dot de>
14453 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14454 (gst_base_src_get_query_types), (gst_base_src_update_length):
14455 Publish supported query types.
14456 Update last_stop field in get_range mode so the position
14457 query works. Fixes #342321.
14459 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14461 * docs/gst/gstreamer-sections.txt:
14462 * gst/gsttaglist.c: (_gst_tag_initialize):
14463 * gst/gsttaglist.h:
14464 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14466 2006-05-30 Wim Taymans <wim@fluendo.com>
14468 Patch by: Alessandro Decina <alessandro at nnva dot org>
14470 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14471 Unlock mutex when removing an unknown pad.
14474 * tests/check/Makefile.am:
14475 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14476 (push_event), (setup), (teardown), (GST_START_TEST),
14477 (gst_collect_pads_suite), (main):
14478 Added collecpads check, disabled for now as check crashes for
14481 2006-05-29 Wim Taymans <wim@fluendo.com>
14483 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14484 Don't leak pads lists.
14486 2006-05-29 Wim Taymans <wim@fluendo.com>
14488 * docs/libs/gstreamer-libs-sections.txt:
14489 * libs/gst/base/gstcollectpads.c:
14490 (gst_collect_pads_set_flushing_unlocked),
14491 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14492 (gst_collect_pads_stop):
14493 * libs/gst/base/gstcollectpads.h:
14494 API: gst_collect_pads_set_flushing()
14495 Added api to set the pads to flushing, useful for seeking
14496 code in elements using collectpads.
14497 Clear segment when receiving a flush.
14499 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14501 * gst/gst.c: (add_path_func), (init_post):
14502 Don't scan registry paths passed via --gst-plugin-path immediately
14503 (will crash, because absolutely nothing is set up and no types are
14504 registered etc.); do this later in init_post(). Fixes #343057.
14506 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14508 * gst/gst.c: (init_post):
14509 if we have fork, fork while reading/rebuilding the registry
14510 so the parent doesn't take the hit of having all plugins loaded
14511 in memory. Fixes #342777.
14513 Check if we have fork()
14514 * win32/common/config.h.in:
14517 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14519 * plugins/elements/gstelements.c:
14520 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14521 (gst_file_src_init), (gst_file_src_set_property),
14522 (gst_file_src_get_property), (gst_file_src_start):
14523 * plugins/elements/gstfilesrc.h:
14524 API: GstFileSrc::use-mmap
14526 Add a use-mmap property to enable easier testing of all code paths.
14527 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14528 in the absence of gnomevfssrc. (Closes #340501)
14530 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14532 * tools/gst-inspect.c:
14533 Add missing include, removes warning of ngettext not being defined on
14536 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14538 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14539 Handle NULL input and output pointers silently as a failed conversion,
14540 rather than g_warnings.
14542 2006-05-25 Wim Taymans <wim@fluendo.com>
14544 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14545 Initialize variable before using. Fixes #342820.
14547 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14549 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14550 Fix off-by-one bug that would only allow peeks of N-1 bytes
14551 from the start even if the buffer to typefind on contains
14552 in fact N bytes of data (makes vorbis typefinding from a
14553 vorbis identification header buffer work).
14555 * tests/check/Makefile.am:
14556 * tests/check/libs/.cvsignore:
14557 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14558 (gst_typefindhelper_suite), (main), (foobar_typefind),
14560 Add very basic unit test for gst_type_find_helper_for_buffer()
14561 that checks for the problem fixed above.
14563 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14565 * tools/gst-inspect.c: (print_interfaces),
14566 (print_element_properties_info), (print_element_list), (main):
14567 add more translatable strings
14569 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14571 Patch by: Julien Moutte <julien at moutte net>
14573 * docs/gst/gstreamer-sections.txt:
14574 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14576 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14577 (gst_fake_sink_preroll):
14578 * plugins/elements/gstfakesink.h:
14579 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14581 2006-05-23 Wim Taymans <wim@fluendo.com>
14583 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14585 Added _CUSTOM error and success GstFlowReturn that can be
14586 used be elements internally.
14587 Added macro to check for SUCCESS flowreturns.
14588 API: GST_FLOW_CUSTOM_SUCCESS
14589 API: GST_FLOW_CUSTOM_ERROR
14590 API: GST_FLOW_IS_SUCCESS
14592 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14593 Added check for GstFlowReturn sanity.
14595 2006-05-23 Wim Taymans <wim@fluendo.com>
14597 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14599 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14600 (gst_collect_pads_event):
14601 clear/reset segment info in FLUSH_STOP.
14604 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14606 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14607 (gst_collect_pads_check_collected):
14608 Flush queued buffer on _stop(), fixes playing again (#342454)
14610 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14612 * tests/check/gst/gststructure.c: (GST_START_TEST),
14613 (gst_structure_suite):
14614 add a test for a complete structure
14616 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14618 * docs/faq/developing.xml:
14619 * docs/faq/faq.xml:
14620 * docs/faq/troubleshooting.xml:
14621 * docs/faq/using.xml:
14622 Some minor FAQ updates that won't change the fact that
14623 our FAQ is badly structured, full of information hardly
14624 anyone new to GStreamer needs to know and lacking lots
14625 of information people constantly ask for.
14627 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14629 * gst/gstpad.c: (gst_pad_set_caps):
14630 Short-circuit gst_pad_set_caps if setting the existing
14631 caps pointer again, and avoid printing debug and
14632 reffing/unreffing the caps.
14634 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14635 There's actually no need to set the caps before pushing -
14636 the acceptcaps method will handle it anyway.
14638 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14640 * docs/gst/gstreamer-sections.txt:
14641 * win32/common/libgstreamer.def:
14642 * gst/gstutils.c: (gst_element_seek_simple):
14644 API: add gst_element_seek_simple() (#342238).
14646 2006-05-18 Edward Hervey <edward@fluendo.com>
14648 * gst/gsttypefind.c: (gst_type_find_get_type):
14649 * gst/gsttypefind.h:
14650 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14651 registered for GstTypeFind pointers. This allows wrapping the structure
14652 in bindings (i.e. gst-python).
14654 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14656 * gst/gsttagsetter.c:
14657 Docs additions and fixes (see #339918).
14659 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14661 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14662 The caps intersection algorithm can produce multiple copies of the
14663 caps. Until that is fixed, we need to simplify the result to be
14664 sure whether the allowed caps are fixed or not.
14666 * plugins/elements/gstqueue.c: (gst_queue_init),
14667 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14668 (gst_queue_push_one):
14669 Proxied buffer alloc should not set the caps on the source pad.
14670 When pushing buffers, we always accept the caps change that triggers.
14671 This prevents negotiation errors caused by caps changing mid-stream
14672 and then being refused on our source pad (because upstream is now
14673 refusing those caps).
14675 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14677 * tests/examples/helloworld/helloworld.c: (main):
14678 Must plug audioconvert and audioresample between decoder
14681 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14683 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14684 (load_feature), (load_plugin):
14685 Allow empty strings for some of the plugin fields so we don't
14686 drop valid plugin entries that were written out correctly
14689 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14691 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14692 Use g_remove and g_rename instead of remove and rename that don't
14693 handle utf8 characters. rename was failing for users who had specific
14694 characters in their name then the registry was built at each
14696 * win32/vs6/gst_inspect.dsp:
14697 * win32/vs6/gst_launch.dsp:
14698 * win32/vs6/libgstbase.dsp:
14699 * win32/vs6/libgstcoreelements.dsp:
14700 * win32/vs6/libgstreamer.dsp:
14701 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14702 build of libgstreamer and clean unused libraries in projects link
14705 2006-05-17 Edward Hervey <edward@fluendo.com>
14707 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14708 The queue is not responsible for pushing an EOS when receiving a fatal
14709 flow error. It's up to the real element driving the pipeline to do that.
14711 2006-05-16 Edward Hervey <edward@fluendo.com>
14713 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14714 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14715 buffer returned a fatal error. It should just send an EOS and stop
14717 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14718 when pushing buffers on the queue and will be able to handle the event.
14720 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14722 * docs/manual/basics-bins.xml:
14723 * docs/manual/basics-init.xml:
14724 Fix typos and minor errors in sample code (#341856).
14726 2006-05-16 Wim Taymans <wim@fluendo.com>
14728 * docs/design/part-qos.txt:
14729 Fix indexes in formulas to make more sense.
14731 2006-05-15 Wim Taymans <wim@fluendo.com>
14733 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14734 Don't report POSITION based on clock time if sync is
14735 disabled in a sink.
14737 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14740 Add cast to make compiler happy - refcount variable was a gint
14741 in GstObject but is a guint in GObject and g_atomic_int_get()
14744 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14746 * gst/parse/Makefile.am:
14747 chain commands using &&, which also makes parallel make work
14749 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14751 * docs/gst/gstreamer-sections.txt:
14754 * gst/gstmessage.h:
14757 === release 0.10.6 ===
14759 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14762 releasing 0.10.6, "Take the cannoli"
14764 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14766 * tools/gst-launch.c: (print_tag):
14767 Fix use of uninitialized variable in the hypothetical
14768 case that some broken plugin creates a GST_TAG_IMAGE
14769 tag containing a NULL buffer (#341667).
14771 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14773 * tools/gst-launch.c: (print_tag):
14774 Print something more intelligible for image tags when
14775 using the -t switch (#341556).
14777 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14782 define GST_MAJORMINOR so we have it available in win32/common/config.h
14783 Possibly remove it from our Makefile.am files later
14784 * win32/common/config.h:
14785 * win32/common/config.h.in:
14786 added GST_MAJORMINOR
14787 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14788 * win32/common/gstversion.h:
14791 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14794 Update win32 files listing.
14795 * win32/common/gstversion.h:
14796 Add GST_MAJORMINOR definition.
14797 * win32/common/libgstreamer.def:
14798 Add new exported functions.
14800 2006-05-12 Michael Smith <msmith@fluendo.com>
14802 * gst/gstplugin.c: (gst_plugin_load_file):
14803 If an so file has no plugin entry point, unload the module.
14805 2006-05-11 Wim Taymans <wim@fluendo.com>
14807 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14808 (gst_queue_set_property):
14809 Don't forget to signal the _chain or _loop function
14810 when the queue size or thresholds change since that might
14811 cause them to make progres again.
14813 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14815 * gst/gstclock.c: (gst_clock_class_init):
14816 * gst/gstindex.c: (gst_index_class_init):
14817 * gst/gstobject.c: (gst_object_class_init):
14818 * gst/gstpad.c: (gst_pad_class_init):
14819 * gst/gstpipeline.c: (gst_pipeline_class_init):
14820 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14821 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14822 * libs/gst/base/gstbasetransform.c:
14823 (gst_base_transform_class_init):
14824 * libs/gst/net/gstnetclientclock.c:
14825 (gst_net_client_clock_class_init):
14826 * libs/gst/net/gstnettimeprovider.c:
14827 (gst_net_time_provider_class_init):
14828 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14829 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14830 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14831 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14832 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14833 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14834 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14835 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14836 * plugins/elements/gsttee.c: (gst_tee_class_init):
14837 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14838 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14839 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14841 2006-05-11 Wim Taymans <wim@fluendo.com>
14843 * gst/gstbuffer.c: (_gst_buffer_initialize):
14844 Register subbufer along with the buffer type so that
14845 it does not accidentally gets registered from N
14846 different streaming threads in a non threadsafe way.
14848 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14852 * gst/gstmessage.h:
14853 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14854 gst_event_ref() and gst_message_ref() functions again
14855 (ugly hack, please do fix if there's a better way besides
14856 overrides.txt, which doesn't seem to work).
14858 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14860 * libs/gst/check/gstcheck.h:
14861 add an assert for setting state to avoid lots of repetitive code
14864 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14866 * gst/gstvalue.c: (gst_value_serialize_flags):
14867 fix a leak if no flags are set
14868 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14871 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14873 * docs/manual/basics-pads.xml:
14874 Expand a bit on caps and filtered links and update
14875 examples that were still using the no longer existing
14876 gst_pad_link_filtered() (#338206).
14878 2006-05-10 Wim Taymans <wim@fluendo.com>
14880 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14881 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14882 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14883 (gst_collect_pads_stop):
14884 * libs/gst/base/gstcollectpads.h:
14885 No need to call _stop in _finalize.
14886 Iterate the main pad list in _finalize.
14887 Added some more debug.
14888 Free lists and data in the right order.
14889 Also free data whem doing _remove_pad when stopped for
14890 backward compatibility protect ::started with PAD_LOCK as
14893 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14895 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14896 (gst_structure_parse_value):
14898 rename a method so that it actually says what it does better
14900 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14902 * gst/gstevent.c: (_gst_event_initialize):
14903 * gst/gstformat.c: (_gst_format_initialize):
14904 make sure some essential types used by events are registered
14905 as part of gst_init()
14906 * gst/gstvalue.c: (gst_value_serialize_flags):
14907 if no flags are set, serialize them to a value that represents NONE
14908 so that deserializing them works
14909 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14910 add tests for serialization and deserialization of flags
14912 2006-05-10 Wim Taymans <wim@fluendo.com>
14914 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14915 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14916 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14917 (gst_collect_pads_event), (gst_collect_pads_chain):
14920 Catch and return errors from the collect function
14921 Refuse data on eos pads.
14923 2006-05-10 Edward Hervey <edward@fluendo.com>
14925 * gst/gstinterface.h:
14926 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14927 GInterface type checking.
14928 They were previously using non-defined macros.
14930 2006-05-09 Wim Taymans <wim@fluendo.com>
14932 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14933 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14934 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14935 (gst_collect_pads_start), (gst_collect_pads_stop),
14936 (gst_collect_pads_peek), (gst_collect_pads_pop),
14937 (gst_collect_pads_available), (gst_collect_pads_read),
14938 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14939 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14940 (gst_collect_pads_chain):
14941 * libs/gst/base/gstcollectpads.h:
14942 Clean up the mess that is collectpads, add comments and
14943 FIXMEs where needed.
14944 Maintain a separate pad list so we can add pads while
14945 collecting the other ones. For this we need a new separate
14947 Fix memory leak in finalize.
14948 Refactor some weird code to set/unset pad flushing flags, mark
14950 Don't crash in _available, _read, _flush when we're EOS.
14952 * tests/check/libs/.cvsignore:
14953 Ignore adapter check binary.
14955 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14957 * gst/gstindex.c: (gst_index_resolver_get_type):
14958 * plugins/elements/gstfakesink.c:
14959 (gst_fake_sink_state_error_get_type):
14960 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14961 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14962 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14963 Const-ify GEnumValue arrays.
14965 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14967 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14968 Add test case for flags + gst_buffer_make_metadata_writable().
14970 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14972 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14973 gst_buffer_make_metadata_writable() should maintain the
14974 buffer flags (those that make sense at least) (see #340859).
14976 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14978 * tools/gst-inspect.c:
14979 * tools/gst-launch.c:
14980 * tools/gst-typefind.c:
14981 * tools/gst-xmlinspect.c:
14983 Fix up includes: need to include stdlib.h in tools.h for exit().
14985 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14987 * gst/gsttaglist.c: (_gst_tag_initialize):
14988 * gst/gsttaglist.h:
14989 API: add GST_TAG_IMAGE tag (#340721).
14991 2006-05-08 Wim Taymans <wim@fluendo.com>
14994 Added some docs for the segment query.
14996 2006-05-08 Wim Taymans <wim@fluendo.com>
14998 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14999 (gst_base_src_loop), (gst_base_src_change_state):
15000 Always push non-flushing serialized events in the streaming
15003 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15005 * gst/gsterror.c: (_gst_stream_errors_init):
15006 Add a missing error string.
15008 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15010 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15011 Add applied_rate to the debug
15013 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15014 Copy applied_rate into the outgoing NEWSEGMENT event
15016 2006-05-08 Wim Taymans <wim@fluendo.com>
15018 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15020 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15021 (gst_base_sink_change_state):
15022 call ::unlock before taking the PREROLL_LOCK so we can safely
15023 handle elements that lock in ::render.
15026 2006-05-08 Edward Hervey <edward@fluendo.com>
15028 * autogen.sh: (CONFIGURE_DEF_OPT):
15029 Darwin's libtoolize is in fact called glibtoolize.
15030 Adding glibtoolize to the list of accepted names for libtoolize.
15032 2006-05-08 Wim Taymans <wim@fluendo.com>
15034 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15035 Unify error handling, don't post an error message
15036 when a push() returns EOS but perform our normal EOS
15037 handling code. Fixes #340772.
15039 2006-05-08 Wim Taymans <wim@fluendo.com>
15041 * docs/design/part-overview.txt:
15042 Make upsteam/downstream concepts more clear.
15043 Give an example of serialized/non-serialized events.
15045 * docs/design/part-events.txt:
15046 * docs/design/part-streams.txt:
15047 Mention applied_rate.
15049 * docs/design/part-trickmodes.txt:
15050 Mention applied rate, flesh out some more use cases.
15052 * gst/gstevent.c: (gst_event_new_new_segment),
15053 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15054 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15055 (gst_event_parse_tag), (gst_event_new_buffer_size),
15056 (gst_event_parse_buffer_size), (gst_event_new_qos),
15057 (gst_event_parse_qos), (gst_event_parse_seek),
15058 (gst_event_new_navigation):
15060 Add applied_rate field to NEWSEGMENT event.
15061 API: gst_event_new_new_segment_full()
15062 API: gst_event_parse_new_segment_full()
15064 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15065 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15066 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15067 * gst/gstsegment.h:
15068 Add applied_rate to GstSegment structure.
15069 Make calculation of stream_time and running_time more correct
15070 wrt rate/applied_rate.
15071 Add some more docs.
15072 API: GstSegment::applied_rate field
15073 API: gst_segment_set_newsegment_full();
15075 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15076 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15077 * libs/gst/base/gstbasetransform.c:
15078 (gst_base_transform_sink_eventfunc),
15079 (gst_base_transform_handle_buffer):
15080 Parse and use applied_rate in the GstSegment field.
15082 * tests/check/gst/gstevent.c: (GST_START_TEST):
15083 Add check for applied_rate field.
15085 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15086 (gstsegments_suite):
15087 Add more checks for various GstSegment operations.
15089 2006-05-08 Wim Taymans <wim@fluendo.com>
15091 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15092 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15093 (gst_base_sink_get_position), (gst_base_sink_change_state):
15094 Store the sync time of the buffer end position separatly in a
15095 new variable eos_rtime so we can properly sync the EOS event.
15097 Fix the docs for gst_base_sink_set_qos_enabled().
15098 Don't set segment start to invalid value when we receive a
15099 non TIME newsegment.
15100 get closer to handling position reporting for negative rates
15103 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15106 Docs about how to print caps for debug purposes.
15108 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15109 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15111 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15113 * gst/gstelement.c:
15114 use full enum names and preprend a '%' in docs strings to make recent
15115 gtk-doc turn that into a link
15117 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15119 * docs/manual/basics-bins.xml:
15120 * docs/manual/basics-bus.xml:
15121 * docs/manual/basics-pads.xml:
15122 Some typo fixes, some additions, some clarifications.
15124 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15126 * tools/gst-inspect.c: (main):
15127 * tools/gst-launch.c: (main):
15128 * tools/gst-run.c: (main):
15129 * tools/gst-typefind.c: (main):
15130 * tools/gst-xmlinspect.c: (main):
15131 Use the string passed to g_option_context_new() for
15132 what it's intended for - the program name is already
15135 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15137 * tools/Makefile.am:
15138 * tools/gst-inspect.c: (main):
15139 * tools/gst-launch.c: (main):
15140 * tools/gst-xmlinspect.c: (main):
15142 Add back --version command line option (#340460).
15144 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15145 Add --version option and use GOption for argument parsing; refactor a
15146 bit; accept directories as arguments and recurse into them; lastly,
15147 print a decent error message when things go wrong.
15149 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15151 * docs/manual/basics-bins.xml:
15152 Don't mention GstThread (#340611)
15153 * docs/manual/basics-elements.xml:
15154 Update link to GObject tutorial (#340607)
15156 2006-05-05 Wim Taymans <wim@fluendo.com>
15159 * gst/gstminiobject.c:
15160 Add note about refcounting and miniobject/buffer writeability
15161 to docs. Fixes #340604
15163 * gst/gstelementfactory.h:
15164 Added some explanation about @klass.
15166 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15168 * docs/manual/intro-motivation.xml:
15169 * docs/manual/manual.xml:
15170 Avoid CORBA & Bonobo references (#340598)
15172 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15174 * docs/manual/basics-bus.xml:
15175 * docs/manual/basics-pads.xml:
15176 Fix up some inaccuracies and omissions (#340609)
15178 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15180 * gst/gstghostpad.c:
15181 Small typo in docs (#340625)
15183 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15185 * gst/parse/Makefile.am:
15186 Make 'make -j' proof (see #340698).
15188 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15191 Require GLib-2.8 here as well.
15193 2006-05-05 Wim Taymans <wim@fluendo.com>
15195 * gst/glib-compat.c:
15196 * gst/gst.c: (init_pre):
15197 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15198 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15199 (gst_object_dispatch_properties_changed):
15201 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15202 * gst/gststructure.c: (gst_structure_set_valist):
15203 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15204 Remove pre glib2.8 compatibility, fixes #340508
15206 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15208 * gst/gsttaglist.h:
15209 Mention type of tags in doc blurbs.
15211 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15213 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15214 (gst_pad_configure_src), (gst_pad_push):
15215 Restore acceptcaps checking behaviour now that good plugins have
15218 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15220 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15227 * gst/gstmessage.c:
15231 * gst/parse/Makefile.am:
15232 * libs/gst/base/gstadapter.c:
15233 * libs/gst/base/gstbasesrc.c:
15234 * libs/gst/base/gstpushsrc.c:
15235 * libs/gst/base/gsttypefindhelper.c:
15236 * plugins/elements/gstfakesrc.c:
15237 * plugins/elements/gstidentity.c:
15238 Make sure gstprivate.h and/or config.h are
15239 always included first, otherwise some of our
15240 defines (like _FILE_OFFSET_BITS) might be
15241 redefined in the system headers. Fixes build
15242 on opensolaris (#340016).
15244 2006-05-04 Wim Taymans <wim@fluendo.com>
15246 * docs/libs/gstreamer-libs-sections.txt:
15247 API: addition: gst_adapter_take_buffer()
15249 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15250 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15251 (gst_adapter_available_fast):
15252 * libs/gst/base/gstadapter.h:
15253 Prepare for optimizing the hell out of this hugely inefficient
15255 Added gst_adapter_take_buffer() so we can at least start thinking
15256 about subbuffering and merging.
15257 Added some comments.
15259 * tests/check/Makefile.am:
15260 * tests/check/libs/adapter.c: (GST_START_TEST),
15261 (gst_adapter_suite), (main):
15262 Added GstAdapter check.
15264 2006-05-04 Wim Taymans <wim@fluendo.com>
15266 * docs/design/part-overview.txt:
15267 Fix some typos, add blurb about buffer flags.
15269 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15271 * docs/libs/gstreamer-libs-sections.txt:
15272 make sure GstBaseTransformClass shows up in the docs
15273 * libs/gst/base/gstbasetransform.c:
15274 * libs/gst/base/gstbasetransform.h:
15275 move docs so gtk-doc picks it up now
15277 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15279 * docs/libs/gstreamer-libs-sections.txt:
15280 add missing symbols to docs
15282 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15284 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15285 back out the newsegment handling change, see #340060 for ongoing
15288 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15290 * tools/gst-run.c: (get_candidates), (main):
15291 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15292 work); fix typo in error message. Fixes #340079.
15294 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15296 * common/Makefile.am:
15297 * docs/Makefile.am:
15298 * docs/faq/Makefile.am:
15299 * docs/gst/Makefile.am:
15300 * docs/libs/Makefile.am:
15301 * docs/manual/Makefile.am:
15302 * docs/plugins/Makefile.am:
15303 * docs/pwg/Makefile.am:
15304 * docs/slides/Makefile.am:
15306 * common/upload.mak:
15307 move upload.mak to common
15309 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15311 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15312 add more asserts on refcounts
15313 do more cleanup at end of tests
15314 fix test leaks showing in FC5
15316 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15318 * plugins/elements/gsttypefindelement.c:
15319 (gst_type_find_element_handle_event):
15320 reverted wrong change and reflowed code to avoid others falling into
15323 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15325 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15326 fix changelog entry about last collectpads change,
15327 add notes about proper fix
15329 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15332 * gst/gstregistry.c: (gst_registry_scan_path_level),
15333 (gst_registry_scan_path):
15334 * gst/gstregistry.h:
15335 only write out registry if it has changed, fixes #338339
15337 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15340 * gst/gstpipeline.c:
15341 * plugins/elements/gstcapsfilter.c:
15342 * plugins/elements/gstfakesink.c:
15343 * plugins/elements/gstfakesrc.c:
15344 * plugins/elements/gstfdsink.c:
15345 * plugins/elements/gstfdsrc.c:
15346 * plugins/elements/gstfilesink.c:
15347 * plugins/elements/gstfilesrc.c:
15348 * plugins/elements/gstidentity.c:
15349 * plugins/elements/gstqueue.c:
15350 * plugins/elements/gsttee.c:
15351 * plugins/elements/gsttypefindelement.c:
15352 (gst_type_find_element_handle_event):
15353 make GstElementDetails const
15355 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15357 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15358 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15359 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15360 more detailed debug and formatting cleanup,
15361 forward newsegments to src-pad (so that e.g. adder not eats them)
15363 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15365 * gst/gstutils.c: (gst_element_link_pads):
15366 cleanup double code
15368 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15370 * libs/gst/controller/gstcontroller.c:
15371 (gst_controller_sync_values):
15373 * tests/check/libs/controller.c: (GST_START_TEST),
15374 (gst_controller_suite):
15375 a new test for live value handling
15377 2006-04-28 Wim Taymans <wim@fluendo.com>
15379 * gst/gstutils.c: (push_and_ref):
15380 Added some more docs.
15381 Fix refcount issue whith gst_element_found_tags() helper
15382 function. Fixes #338335
15384 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15385 Added testsuite for gst_element_found_tags().
15387 2006-04-28 Michael Smith <msmith@fluendo.com>
15389 * gst/gstvalue.c: (gst_value_serialize_flags):
15390 Avoid NULL dereference when trying to serialize flags containing
15393 2006-04-28 Michael Smith <msmith@fluendo.com>
15395 * plugins/elements/gsttypefindelement.c:
15396 (gst_type_find_element_handle_event):
15397 If we get EOS before any data is accumulated, don't use
15398 uninitialised local variables.
15400 2006-04-28 Michael Smith <msmith@fluendo.com>
15402 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15403 (gst_dp_event_from_packet):
15404 Fixes in reading/writing events over GDP (not currently used?) -
15405 dereferencing NULL events for unknown/invalid event types, memory
15406 leak, and change g_warning to GST_WARNING.
15408 2006-04-28 Wim Taymans <wim@fluendo.com>
15410 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15411 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15412 (gst_base_sink_get_position), (gst_base_sink_change_state):
15413 When frame dropping is enabled, we should not ignore frames
15414 without a duration.
15415 Update some documentation.
15417 2006-04-28 Wim Taymans <wim@fluendo.com>
15419 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15420 (gst_base_src_send_event), (gst_base_src_change_state):
15421 Documentation updates.
15423 2006-04-28 Wim Taymans <wim@fluendo.com>
15425 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15426 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15427 handle EAGAIN, EINTR and short writes correctly. Also clean
15428 up some error cases, avoid a deadlock on bad file descriptors and
15429 use GST_DEBUG_OBJECT.
15432 2006-04-28 Wim Taymans <wim@fluendo.com>
15434 * gst/gstvalue.c: (gst_value_serialize_buffer),
15435 (gst_value_deserialize_buffer):
15436 Don't try to serialize a GValue with a NULL buffer.
15439 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15440 Added check for serialisation of NULL buffers.
15442 2006-04-28 Wim Taymans <wim@fluendo.com>
15444 * gst/gstminiobject.c: (gst_value_take_mini_object):
15445 Taking a NULL miniobject is valid, fix the case where
15446 we try to unref the NULL miniobject.
15448 2006-04-28 Wim Taymans <wim@fluendo.com>
15450 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15452 * gst/gstbin.c: (gst_bin_handle_message_func):
15454 Don't leak bin refcount when a state recalc is
15455 in progress and we delay another one #339808.
15457 2006-04-28 Wim Taymans <wim@fluendo.com>
15459 * docs/design/part-TODO.txt:
15460 Mention QoS as an ongoing work item.
15462 * docs/design/part-buffering.txt:
15463 New doc about buffering that needs to be fleshed out
15466 * docs/design/part-qos.txt:
15467 More QoS policy for decoders/demuxers/transforms
15469 * docs/design/part-trickmodes.txt:
15472 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15477 === release 0.10.5 ===
15479 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15482 releasing 0.10.5, "Fogo"
15484 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15486 patch by: Wim Taymans
15488 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15489 (gst_pad_configure_src), (gst_pad_push):
15490 * gst/gstpipeline.c: (gst_pipeline_init):
15491 Fix internal data flow errors. Fixes #338711.
15493 2006-04-12 Wim Taymans <wim@fluendo.com>
15495 * tests/check/gst/gstelement.c: (GST_START_TEST):
15496 Don't leak the factory.
15498 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15501 * win32/common/config.h:
15504 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15506 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15507 (gst_controller_unset_all):
15508 Free allocated GstTimedValues when freeing list nodes.
15509 Should fix leaks 'make check-valgrind' complains about.
15511 * win32/common/libgstcontroller.def:
15512 Add gst_controller_unset_all.
15514 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15516 * docs/libs/gstreamer-libs-sections.txt:
15517 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15518 (gst_controller_unset_all):
15519 * libs/gst/controller/gstcontroller.h:
15520 API: Added new method gst_controller_unset_all()
15521 fixed gst_controller_unset()
15522 * tests/check/libs/controller.c: (GST_START_TEST),
15523 (gst_controller_suite):
15524 Added two testcases for new and fixed method
15526 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15528 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15529 MSG_DONTWAIT is not defined on Cygwin, so work
15530 around that (fixes #317048).
15532 2006-04-11 Wim Taymans <wim@fluendo.com>
15534 * gst/gstelementfactory.c: (gst_element_register),
15535 (gst_element_factory_create), (gst_element_factory_make):
15538 Updated docs (Fixes #131079)
15540 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15543 * tests/check/gst/gstelement.c: (GST_START_TEST),
15544 (gst_element_suite):
15545 Added testcase for elementfactory class field.
15547 2006-04-10 Wim Taymans <wim@fluendo.com>
15549 * gst/gstsegment.c:
15550 Added some more docs.
15552 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15553 (gst_base_sink_reset_qos):
15554 Calculate more accurate rate values.
15556 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15558 * gst/gst_private.h:
15559 add a new #ifdef to use __declspec(dllimport) only for
15560 other modules and not for gstreamer core
15561 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15562 use gst_guint64_to_gdouble for conversion
15563 * win32/common/libgstreamer.def:
15564 add new exported functions
15565 * win32/vs6/gst_inspect.dsp:
15566 * win32/vs6/gst_launch.dsp:
15567 * win32/vs6/libgstbase.dsp:
15568 * win32/vs6/libgstcontroller.dsp:
15569 * win32/vs6/libgstcoreelements.dsp:
15570 * win32/vs6/libgstdataprotocol.dsp:
15571 * win32/vs6/libgstnet.dsp:
15572 update project files
15574 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15576 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15577 * gst/gstclock.c: (gst_clock_class_init):
15578 * gst/gstelement.c: (gst_element_class_init):
15579 * gst/gstindex.c: (gst_index_class_init):
15580 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15581 * gst/gstobject.c: (gst_object_class_init),
15582 (gst_signal_object_class_init):
15583 * gst/gstpad.c: (gst_pad_class_init):
15584 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15585 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15586 * gst/gstregistry.c: (gst_registry_class_init):
15587 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15588 * gst/gsttask.c: (gst_task_class_init):
15589 * gst/gstxml.c: (gst_xml_class_init):
15590 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15591 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15592 (gst_base_src_loop):
15593 * libs/gst/controller/gstcontroller.c:/
15594 (_gst_controller_class_init):
15595 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15596 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15597 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15598 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15599 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15600 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15602 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15604 * gst/gstpad.c: (gst_pad_link):
15605 Must set peer pads before calling the link function, otherwise
15606 a task started from a link function might get a flow-not-linked
15607 result when trying to push because the other thread where the
15608 linking happens hasn't had a chance to set the peers yet. This
15609 might happen for example when a queue gets linked to a downstream
15610 element, as queue starts a streaming task when its source pad
15611 gets linked. Happens in real life when playing back flac/musepack
15612 files in playbin (#332390).
15614 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15618 * libs/gst/base/gstadapter.h:
15619 * libs/gst/base/gstbasesink.h:
15620 * libs/gst/base/gstbasesrc.h:
15621 * libs/gst/base/gstbasetransform.h:
15622 * libs/gst/base/gstcollectpads.h:
15623 * libs/gst/base/gstpushsrc.h:
15624 Fix broken GObject macros
15626 2006-04-07 Wim Taymans <wim@fluendo.com>
15628 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15629 Initialize start and stop times, thanks valgrind.
15631 2006-04-07 Wim Taymans <wim@fluendo.com>
15633 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15634 Be a bit nicer to badly behaving upstream elements that expect
15635 us to deal with non TIME segments and timestamps (such as fakesrc
15638 2006-04-07 Wim Taymans <wim@fluendo.com>
15641 Small documentation clarification about the signal watch.
15643 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15644 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15645 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15646 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15647 (gst_base_sink_get_position_last),
15648 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15649 Convert and store timestamps in stream time and running time, the
15650 raw timestamps are not useful, also document this better.
15651 Use different window sizes for good and bad QoS observations so
15652 we react to badness a little quicker.
15653 Keep track of the amount of rendered and dropped buffers.
15654 Send QoS timestamps in running time.
15656 * libs/gst/base/gstbasetransform.c:
15657 (gst_base_transform_sink_eventfunc),
15658 (gst_base_transform_handle_buffer):
15659 Compare QoS timestamps against running time.
15661 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15664 Typo fixes in docs.
15666 2006-04-06 Michael Smith <msmith@fluendo.com>
15668 * gst/gstpad.c: (gst_pad_set_property):
15669 Use g_value_get_object() instead of g_value_dup_gst_object(),
15670 to avoid double-reffing the pad template (which we then sink,
15671 so this worked previously if (and only if) the pad template
15674 * gst/gstpadtemplate.c: (gst_pad_template_init),
15675 (gst_pad_template_pad_created):
15676 Never return floating references to pad templates, create
15677 them as initially-sunken.
15679 Document an extra function (and make this stop sinking our
15680 pad template, since that is now guaranteed to do nothing,
15681 since we created it sunken).
15683 * gst/gstghostpad.c:
15686 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15688 * gst/gstinfo.c: (__gst_in_valgrind):
15691 * plugins/elements/gsttypefindelement.c:
15692 (gst_type_find_element_chain):
15693 Don't leak buffer caps.
15695 2006-04-06 Michael Smith <msmith@fluendo.com>
15697 * gst/parse/grammar.y:
15698 Fix a leak in parse-launch for any source-or-sink named element
15701 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15702 Unref the pipeline if it exists after we've failed parsing.
15704 2006-04-05 Michael Smith <msmith@fluendo.com>
15706 * gst/gstpipeline.c: (gst_pipeline_init):
15707 When we create a pipeline bus, initially create it in flushing mode.
15708 Fixes leaks in at least one test, and makes a new pipeline work the
15709 same as one that has gone to READY and then back to NULL.
15711 * gst/gstelement.c:
15714 2006-04-05 Michael Smith <msmith@fluendo.com>
15716 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15717 Unref a pad we reffed.
15718 * tests/check/gst/gstutils.c: (GST_START_TEST):
15721 2006-04-05 Michael Smith <msmith@fluendo.com>
15723 * gst/gstquery.c: (gst_query_set_formats),
15724 (gst_query_set_formatsv):
15725 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15727 2006-04-05 Michael Smith <msmith@fluendo.com>
15729 * tests/check/generic/sinks.c: (GST_START_TEST):
15730 Fix a variety of memleaks in sinks check, which are only sometimes
15731 shown by running the tests under valgrind (weird?).
15733 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15735 * docs/version.entities.in:
15736 Fix the substituted entity name after thomas' changes on the
15739 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15741 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15744 2006-04-05 Andy Wingo <wingo@pobox.com>
15746 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15748 * libs/gst/base/gstbasetransform.c
15749 (gst_base_transform_sink_eventfunc): When resetting our segment on
15750 FLUSH_STOP, also update the flag saying we haven't seen a
15753 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15755 Patch by: Paolo Borelli <pborelli at katamail dot com>
15757 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15758 (gst_plugin_check_license):
15759 minor clean-ups: G_DEFINE_TYPE already takes care of the
15760 parent_class stuff, no need to do it twice. Mark array of
15761 license strings as constant. (#337103)
15763 2006-04-04 Michael Smith <msmith@fluendo.com>
15765 * tools/gst-inspect.c: (print_element_list):
15766 Free the right plugin list; fixes a memory leak.
15768 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15770 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15772 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15773 Don't error out on empty buffers (#336945).
15775 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15777 * docs/libs/gstreamer-libs-sections.txt:
15778 * gst/gsttaglist.c:
15779 * libs/gst/base/gstbasesink.c:
15780 * libs/gst/base/gstbasesink.h:
15781 * libs/gst/base/gstbasesrc.c:
15782 * libs/gst/base/gstbasesrc.h:
15783 Documentation updates. Make BaseSink and BaseSrc docs contain the
15784 class structure so that people can actually see the prototypes for
15785 virtual functions they're supposed to be overriding.
15787 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15789 * plugins/elements/gsttypefindelement.c:
15790 (gst_type_find_element_chain):
15791 More debug info; when skipping typefinding, send cached
15792 events in all cases.
15794 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15797 use new AS_VERSION and AS_NANO macros
15798 * gst/gst-i18n-lib.h:
15801 * gst/gstversion.h.in:
15802 * win32/common/config.h:
15803 * win32/common/config.h.in:
15806 2006-03-31 Michael Smith <msmith@fluendo.com>
15808 * plugins/elements/gsttypefindelement.c:
15809 (gst_type_find_element_chain):
15810 Do not typefind content if the buffers already have caps.
15811 Neccesary for icydemux (#333657), and the right thing to do anyway.
15813 2006-03-30 Wim Taymans <wim@fluendo.com>
15815 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15816 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15817 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15818 (gst_base_sink_record_qos_observation),
15819 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15820 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15821 (gst_base_sink_change_state):
15822 More QoS measurements as described in the design doc.
15823 Get rid of ringbuffer with observations, running average is
15824 more simple and equally good.
15825 Calculates valid proportion now.
15826 Added beginning of flood measurement.
15828 2006-03-29 Wim Taymans <wim@fluendo.com>
15830 * docs/design/part-qos.txt:
15832 Small documentation updates and additions.
15834 2006-03-29 Wim Taymans <wim@fluendo.com>
15836 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15837 (gst_base_src_send_event), (gst_base_src_loop),
15838 (gst_base_src_change_state):
15839 Perform the EOS logic when we reach the segment stop position.
15840 Fix compilation on gcc4.1
15842 2006-03-29 Wim Taymans <wim@fluendo.com>
15844 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15846 * plugins/elements/gstqueue.c: (gst_queue_init),
15847 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15848 (gst_queue_set_property):
15849 * plugins/elements/gstqueue.h:
15850 In queue, when EOS is received, if minimum threshold > max_size -
15851 current_level, there is chance that queue blocks forever in conditional
15852 item del wait. This is because the queue is not emptied completely due
15853 to minimum threshold. Here is another approach. Instead of setting
15854 cur_levels to max in EOS, just zero all minimum threshold levels. This
15855 should make sure that queue gives out all data. When going to READY
15856 (stop) state, just reset the original minimum threshold levels.
15859 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15861 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15862 (gst_type_find_element_handle_event),
15863 (gst_type_find_element_send_cached_events),
15864 (gst_type_find_element_change_state):
15865 * plugins/elements/gsttypefindelement.h:
15866 When typefinding is done in push mode, we should cache
15867 events we receive during typefinding instead of just
15868 dropping them (e.g. newsegment, custom events from
15869 dvdreadsrc etc.) and then send them out once we've
15870 determined the type of the stream (and decodebin
15871 has had a chance to plug in a decoder/demuxer).
15873 2006-03-27 Wim Taymans <wim@fluendo.com>
15875 * docs/design/part-qos.txt:
15878 2006-03-27 Wim Taymans <wim@fluendo.com>
15880 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15882 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15883 (gst_base_src_send_event), (gst_base_src_change_state):
15884 Handle element seek correctly when we are streaming.
15887 2006-03-24 Michael Smith <msmith@fluendo.com>
15889 * docs/faq/gst-uninstalled:
15890 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15891 allow you to correctly run intalled applications built against old
15892 core, using plugins that require updated core (e.g. running
15893 installed totem against a full uninstalled gstreamer stack)
15895 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15897 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15900 2006-03-24 Wim Taymans <wim@fluendo.com>
15902 * docs/gst/gstreamer-sections.txt:
15903 Rearrange the order of the methods so that related methods
15904 are grouped together in sections.
15906 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15908 * gst/gstelement.c:
15909 Little clarification in the docs
15911 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15915 * plugins/elements/gstidentity.c:
15916 * plugins/elements/gstqueue.c:
15917 * plugins/elements/gsttee.c:
15918 * plugins/elements/gsttypefindelement.c:
15919 GST_ELEMENT_DETAILS formatting
15921 2006-03-24 Wim Taymans <wim@fluendo.com>
15923 * libs/gst/base/gstbasesink.h:
15924 Only add fields, not insert or we break ABI.
15926 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15928 * win32/common/libgstbase.def:
15929 * win32/common/libgstreamer.def:
15930 Update, add recently added functions.
15932 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15934 * docs/gst/gstreamer-sections.txt:
15935 * gst/gstutils.c: (gst_pad_query_peer_position),
15936 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15938 API: add some new utility functions:
15939 - gst_pad_query_peer_position()
15940 - gst_pad_query_peer_duration()
15941 - gst_pad_query_peer_convert()
15943 2006-03-23 Wim Taymans <wim@fluendo.com>
15945 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15946 (gst_base_sink_init), (gst_base_sink_finalize),
15947 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15948 (gst_base_sink_set_property), (gst_base_sink_get_property),
15949 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15950 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15951 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15952 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15953 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15954 (gst_base_sink_preroll_object), (gst_base_sink_event),
15955 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15956 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15957 (gst_base_sink_query), (gst_base_sink_change_state):
15958 Decouple max-lateness and the fact that QoS messages are generated
15959 with a new property (qos).
15960 added API: GstBaseSink::async_play()
15961 Add vmethod so subclasses can be notified of ASYNC playing
15963 Collect timestamp start and stop to report better current
15964 position in EOS/PLAYING/PAUSED/READY/NULL.
15965 Refactor QoS/frame dropping and other measurements.
15966 API: GstBaseSrc::qos
15969 * libs/gst/base/gstbasesink.h:
15970 Added Private struct.
15971 API: gst_base_sink_set_qos_enabled()
15972 API: gst_base_sink_is_qos_enabled()
15974 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15976 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15977 If compiling against GLib-2.8 or newer, try to read the
15978 registry file using GMappedFile first before falling back
15979 to fopen() + fread() (#332151).
15981 2006-03-22 Wim Taymans <wim@fluendo.com>
15983 * gst/gstinfo.c: (gst_debug_set_active),
15984 (gst_debug_category_set_threshold):
15985 Disable debugging unless explicitly activated.
15988 2006-03-22 Wim Taymans <wim@fluendo.com>
15990 * gst/gstelement.c: (gst_element_set_locked_state),
15991 (gst_element_dispose):
15992 Cleanup the error case.
15994 * gst/gstobject.c: (gst_object_dispose):
15995 print a critical when some object was disposed with
15996 a parent, also revive the object since it might
15999 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16001 * tools/gst-launch.1.in:
16004 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16007 * tests/check/Makefile.am:
16008 disable some tests when we don't have a registry
16009 * tests/check/gst/gstutils.c: (gst_utils_suite):
16010 don't build the part that needs parsing
16012 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16015 * tests/examples/Makefile.am:
16016 fix --disable-parse build
16018 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16020 * tools/gst-feedback.1.in:
16021 Fix typo: s/feeback/feedback/ (#133494).
16023 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16025 * tools/Makefile.am:
16026 * tools/gst-launch.1.in:
16027 Add FILES section and correct entry about GST_REGISTRY_PATH
16028 environment variable (#133495; #133494).
16030 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16032 * tools/Makefile.am:
16033 * tools/gst-md5sum.1.in:
16034 * tools/gst-md5sum.c:
16035 Remove gst-md5sum and man page (the md5sink element
16036 required was removed ages ago)
16038 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16040 * gst/gststructure.c: (gst_structure_id_set_value):
16041 Make sure that string fields in structures/taglists
16042 contain valid UTF-8 - we don't want to pass rubbish to
16043 applications because of a buggy plugin (cp. #334167).
16045 2006-03-21 Edward Hervey <edward@fluendo.com>
16047 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16048 (gst_bin_handle_message_func):
16049 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16050 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16051 (gst_element_set_bus_func):
16052 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16053 * gst/gstminiobject.c: (gst_value_set_mini_object),
16054 (gst_value_take_mini_object):
16055 * gst/gstpad.c: (gst_pad_set_pad_template):
16056 * gst/gstpipeline.c: (gst_pipeline_dispose),
16057 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16059 (gst_collect_pads_chain):
16060 * libs/gst/net/gstnettimeprovider.c:
16061 (gst_net_time_provider_set_property):
16062 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16063 It's in fact all issues with gst_*object_replace().
16065 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16067 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16069 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16070 * pkgconfig/gstreamer-check.pc.in:
16071 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16073 2006-03-21 Edward Hervey <edward@fluendo.com>
16077 * gst/gstmessage.h:
16078 gst_[buffer|event|message]_ref() macros are replaced by a static
16079 inline functions because gcc-4.1 will about if the return value
16081 * tests/check/gst/gstevent.c: (event_probe):
16082 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16084 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16087 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16088 the type' case. (Closes: #335195 for now). In the future, when we
16089 depend on GLib 2.10, we could also intern the type name using
16090 g_intern_static_string()
16092 2006-03-20 Wim Taymans <wim@fluendo.com>
16094 * gst/gstbin.c: (gst_bin_handle_message_func),
16095 (bin_query_max_init), (bin_query_position_fold),
16096 (bin_query_position_done), (gst_bin_query):
16097 Position query should also take max of all streams.
16099 2006-03-20 Wim Taymans <wim@fluendo.com>
16101 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16102 (gst_fake_src_finalize):
16103 Fix leaks in fakesrc.
16105 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16106 Fix leaks in the testcase.
16108 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16110 * gst/gst_private.h:
16111 add win32 specific import decoration(__declspec(dllimport))
16112 for all extern GstDebugCategory * variables
16113 * win32/common/libgstbase.def:
16114 * win32/common/libgstcontroller.def:
16115 * win32/common/libgstreamer.def:
16116 Add some exports, remove empty lines
16117 * win32/common/libgstdataprotocol.def:
16118 * win32/common/libgstdataprotocol.dsp:
16119 * win32/common/libgstnet.def:
16120 * win32/common/libgstnet.dsp:
16121 new project files and exportation files added
16123 2006-03-19 Wim Taymans <wim@fluendo.com>
16125 * tests/check/libs/basesrc.c: (eos_event_counter):
16126 Use proper return value for probe.
16128 2006-03-17 Wim Taymans <wim@fluendo.com>
16130 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16132 Don't leak buffers, caps and pads on negotiation errors.
16134 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16136 * docs/faq/cvs.xml:
16137 * docs/faq/dependencies.xml:
16138 * docs/faq/developing.xml:
16139 * docs/faq/faq.xml:
16140 * docs/faq/general.xml:
16141 * docs/faq/getting.xml:
16142 * docs/faq/legal.xml:
16143 * docs/faq/troubleshooting.xml:
16144 * docs/faq/using.xml:
16145 Faq review and update.
16147 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16149 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16151 Don't pound the cpu to pieces by checking get_caps when accept_caps
16152 is called with the same caps as the pad already has.
16153 Use GST_DEBUG_OBJECT when outputting caps change information.
16155 2006-03-15 Wim Taymans <wim@fluendo.com>
16157 * gst/gstclock.c: (gst_clock_class_init):
16160 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16165 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16166 (gst_pad_accept_caps), (gst_pad_configure_sink),
16167 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16168 Make the default acceptcaps behaviour be to check the requested
16169 caps against the gst_pad_get_caps output.
16171 Ensure that gst_pad_accept_caps is used to check caps when a pad
16172 doesn't have a setcaps function, so that pads automatically refuse
16173 caps that they don't allow in their pad template. (Fixes #332986)
16175 When a buffer with attached caps is pushed, ensure that the source
16176 pad receives those caps even if the element didn't call
16177 gst_pad_set_caps first.
16179 2006-03-15 Wim Taymans <wim@fluendo.com>
16181 * libs/gst/base/gstadapter.c:
16184 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16186 * win32/common/libgstbase.def:
16187 * win32/common/libgstcontroller.def:
16188 * win32/common/libgstreamer.def:
16189 Add a whole bunch of missing functions (#334434).
16191 2006-03-14 Wim Taymans <wim@fluendo.com>
16193 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16194 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16195 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16196 Better debug info when we receive a segment event.
16197 Reorganize a bit so we can pass the get_times() results around.
16198 Use the segment format when calculating the running time.
16199 Don't do QoS is sync is disabled or we have no clock or the
16200 element does not want us to sync to the clock.
16201 Don't drop buffers if QoS is disabled for now.
16203 2006-03-14 Wim Taymans <wim@fluendo.com>
16205 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16206 Marked the stats property as unimplemented so people don't get
16208 Add debug message when regression goes wrong.
16209 Added some more docs.
16211 2006-03-14 Wim Taymans <wim@fluendo.com>
16213 * gst/gstsegment.c: (gst_segment_to_stream_time):
16214 Return correct return type in case of errors.
16216 2006-03-14 Wim Taymans <wim@fluendo.com>
16218 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16219 Don't segfault on invalid formats.
16221 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16223 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16224 Can't use gst_segment_to_running_time() when the segment
16225 is not in GST_TIME_FORMAT (like with filesink, for example).
16226 Stops flac encoding pipelines from spewing critical warnings
16229 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16231 * gst/gstpipeline.c: (gst_pipeline_class_init):
16232 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16234 * plugins/elements/gsttypefindelement.c:
16235 (gst_type_find_element_handle_event):
16236 Don't try to typefind empty streams.
16238 2006-03-14 Wim Taymans <wim@fluendo.com>
16240 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16241 (gst_base_sink_do_qos):
16242 Separate QoS calculation.
16243 Only drop buffers when lateness is bigger than the
16244 duration of the buffer.
16246 2006-03-13 Wim Taymans <wim@fluendo.com>
16248 * gst/gstpipeline.c: (gst_pipeline_set_property),
16249 (gst_pipeline_get_property), (do_pipeline_seek),
16250 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16251 (gst_pipeline_get_delay):
16252 Don't deadlock when reading properties.
16254 2006-03-13 Wim Taymans <wim@fluendo.com>
16256 * libs/gst/base/gstbasetransform.c:
16257 (gst_base_transform_class_init), (gst_base_transform_init),
16258 (gst_base_transform_sink_event),
16259 (gst_base_transform_sink_eventfunc),
16260 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16261 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16262 (gst_base_transform_set_property),
16263 (gst_base_transform_get_property),
16264 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16265 (gst_base_transform_set_qos_enabled),
16266 (gst_base_transform_is_qos_enabled):
16267 * libs/gst/base/gstbasetransform.h:
16268 Make basetransform virtual method for src events too.
16269 Handle QOS in basetransform.
16270 API: gst_base_transform_update_qos()
16271 API: gst_base_transform_set_qos_enabled()
16272 API: gst_base_transform_is_qos_enabled()
16274 2006-03-13 Wim Taymans <wim@fluendo.com>
16276 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16277 (gst_base_sink_do_sync):
16279 Use QOS debug category.
16281 2006-03-13 Wim Taymans <wim@fluendo.com>
16283 * plugins/elements/gstqueue.c:
16284 Very small doc update.
16286 2006-03-13 Wim Taymans <wim@fluendo.com>
16288 * gst/gst_private.h:
16289 * gst/gstinfo.c: (_gst_debug_init):
16290 Added QOS debug category
16292 2006-03-13 Wim Taymans <wim@fluendo.com>
16294 * docs/gst/gstreamer-sections.txt:
16295 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16297 * gst/gstbus.c: (gst_bus_class_init):
16300 * gst/gstelement.c: (gst_element_set_locked_state):
16301 * gst/gstsegment.c:
16302 Documentation updates.
16304 * gst/gstpipeline.c: (gst_pipeline_get_type),
16305 (gst_pipeline_class_init), (gst_pipeline_init),
16306 (gst_pipeline_dispose), (gst_pipeline_set_property),
16307 (gst_pipeline_get_property), (do_pipeline_seek),
16308 (gst_pipeline_send_event), (gst_pipeline_change_state),
16309 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16310 (gst_pipeline_get_delay):
16311 * gst/gstpipeline.h:
16312 Added methods for setting the delay.
16313 API: gst_pipeline_set_delay()
16314 API: gst_pipeline_get_delay()
16315 Add pipeline debug category
16318 Don't reset stream time when seek failed.
16320 2006-03-13 Wim Taymans <wim@fluendo.com>
16322 * docs/design/draft-klass.txt:
16323 * docs/design/part-clocks.txt:
16324 * docs/design/part-events.txt:
16325 * docs/design/part-gstbin.txt:
16326 * docs/design/part-gstpipeline.txt:
16327 * docs/design/part-messages.txt:
16328 * docs/design/part-negotiation.txt:
16329 * docs/design/part-overview.txt:
16330 * docs/design/part-preroll.txt:
16331 * docs/design/part-seeking.txt:
16332 * docs/design/part-states.txt:
16333 * docs/design/part-streams.txt:
16334 Documentation updates.
16336 2006-03-12 Julien MOUTTE <julien@moutte.net>
16338 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16339 us to leak strings...
16341 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16343 * libs/gst/net/gstnettimeprovider.c:
16345 * win32/common/config.h:
16348 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16350 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16353 Don't check for libgnomeui (leftover from old examples
16354 that aren't built or disted any longer) (#334303).
16356 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16358 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16359 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16360 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16361 there's no space left on the device.
16363 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16366 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16367 to cast the input to GstClockTime before comparing with
16368 another GstClockTime value.
16370 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16375 === release 0.10.4 ===
16377 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16380 releasing 0.10.4, "Light"
16382 2006-03-10 Michael Smith <msmith@fluendo.com>
16384 * libs/gst/dataprotocol/dataprotocol.c:
16385 Fix docs for dataprocotol to not get the return types completely
16386 wrong for a few functions.
16388 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16390 * docs/gst/gstreamer-sections.txt:
16391 * gst/gstpipeline.c: (gst_pipeline_class_init),
16392 (gst_pipeline_init), (gst_pipeline_set_property),
16393 (gst_pipeline_get_property), (gst_pipeline_change_state),
16394 (gst_pipeline_set_auto_flush_bus),
16395 (gst_pipeline_get_auto_flush_bus):
16396 * gst/gstpipeline.h:
16397 Add new API: gst_pipeline_set_auto_flush_bus() and
16398 gst_pipeline_get_auto_flush_bus() to disable automatic
16399 flushing of the pipeline's GstBus when going from READY
16400 to NULL state (#332045).
16402 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16404 * docs/gst/gstreamer-sections.txt:
16405 * gst/gsturi.c: (gst_uri_has_protocol):
16407 Add new API: gst_uri_has_protocol() (#333779).
16409 2006-03-09 Wim Taymans <wim@fluendo.com>
16411 * gst/gstclock.c: (gst_clock_entry_new),
16412 (gst_clock_id_compare_func), (gst_clock_id_wait),
16413 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16414 (gst_clock_init), (gst_clock_get_internal_time),
16415 (gst_clock_set_master), (do_linear_regression),
16416 (gst_clock_add_observation), (gst_clock_set_property):
16420 Fix a possible segfault when the window-size is made smaller.
16421 Calculate jitter before performing the clock wait. Ideally
16422 the clock implementation should calculate jitter but we need
16423 API breakage for that.
16425 * gst/gstsystemclock.c: (gst_system_clock_init):
16428 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16429 Remove leftover else
16431 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16432 (gst_systemclock_suite):
16433 Added check to test GST_CLOCK_DIFF.
16435 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16437 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16438 (gst_type_find_helper_get_range):
16439 If we are provided with the size, we should implement
16440 GstTypeFind::get_length, so that typefind functions who
16441 want to can actually peek at the middle of a file.
16443 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16445 * docs/manual/advanced-dataaccess.xml:
16446 Add some very very basic error checking.
16448 * docs/pwg/appendix-checklist.xml:
16449 Some updates to the list of things to check when writing an element.
16451 2006-03-08 Wim Taymans <wim@fluendo.com>
16453 * docs/design/part-element-transform.txt:
16454 Added some docs about the design of tranform elements.
16456 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16457 (gst_base_src_loop), (gst_base_src_change_state):
16458 Mark buffers with the DISCONT flag.
16460 2006-03-08 Michael Smith <msmith@fluendo.com>
16462 * gst/gstregistry.h:
16463 * gst/gstregistryxml.c: (gst_registry_save),
16464 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16465 (gst_registry_xml_save_pad_template),
16466 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16467 (gst_registry_xml_write_cache):
16468 Rewrite registry-saving to avoid race conditions and check for
16471 2006-03-08 Wim Taymans <wim@fluendo.com>
16473 * libs/gst/base/gstbasetransform.c:
16474 (gst_base_transform_transform_caps),
16475 (gst_base_transform_transform_size),
16476 (gst_base_transform_prepare_output_buffer),
16477 (gst_base_transform_get_unit_size),
16478 (gst_base_transform_buffer_alloc),
16479 (gst_base_transform_handle_buffer),
16480 (gst_base_transform_change_state):
16481 Cleanups, separate normal flow from errors, add sensible
16483 Don't try to renegotiate when allocating an output buffer.
16484 Also copy DISCONT buffer flag when copying a buffer.
16485 Reset the transform after we finish streaming, not during.
16487 2006-03-08 Wim Taymans <wim@fluendo.com>
16489 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16490 Use last buffer timestamp in qos message.
16492 2006-03-07 Wim Taymans <wim@fluendo.com>
16494 Patch by: Christophe Fergeau
16496 * docs/pwg/advanced-tagging.xml:
16497 * docs/pwg/building-pads.xml:
16500 2006-03-07 Wim Taymans <wim@fluendo.com>
16502 * docs/libs/gstreamer-libs-sections.txt:
16503 Added basesink new methods.
16507 Docs updates. Flesh out the QoS docs.
16509 * libs/gst/base/gstadapter.c:
16510 Small doc clarification about ownership and flushing.
16512 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16513 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16514 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16515 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16516 * libs/gst/base/gstbasesink.h:
16518 Added new methods to allow subclass to control max-lateness
16520 Generate very basic QoS events based on last sync observation.
16521 Updated docs, fix typo, added some QoS blurb.
16523 * libs/gst/base/gstbasesrc.c:
16524 Remove obsolete _get_state() calls from docs.
16526 2006-03-07 Wim Taymans <wim@fluendo.com>
16528 * docs/libs/gstreamer-libs-sections.txt:
16529 * libs/gst/base/gstbasetransform.h:
16530 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16531 Fix docs for GstBaseSrc.
16533 2006-03-07 Wim Taymans <wim@fluendo.com>
16535 * docs/gst/gstreamer-sections.txt:
16538 * libs/gst/base/gstbasetransform.h:
16539 Small documentation fixes.
16541 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16544 Document thread-unsafety of gst_value_register_foo_func()
16545 when used at the same time as gst_value_foo() (#322628).
16547 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16549 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16550 (gst_push_src_check_get_range):
16551 Push sources don't support pull mode by default.
16553 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16555 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16556 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16557 (gst_base_src_default_check_get_range):
16558 * libs/gst/base/gstbasesrc.h:
16559 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16560 provide default implementation, and rename
16561 gst_base_src_check_get_range() to
16562 gst_base_src_pad_check_get_range() for clarity.
16564 2006-03-06 Wim Taymans <wim@fluendo.com>
16566 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16567 Make property overridable.
16569 2006-03-06 Wim Taymans <wim@fluendo.com>
16571 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16572 (gst_base_sink_init), (gst_base_sink_set_property),
16573 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16574 * libs/gst/base/gstbasesink.h:
16575 API addition: Make max-lateness a property.
16577 2006-03-06 Wim Taymans <wim@fluendo.com>
16579 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16580 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16581 Don't ever draw a frame that is >10ms late.
16583 2006-03-06 Michael Smith <msmith@fluendo.com>
16585 * gst/gstmessage.c: (_gst_message_copy):
16586 When copying a message, set the parent_refcount of the enclosed
16587 structure to point at the copy, not the original message.
16589 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16591 Patch by: Christophe Fergeau
16594 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16595 usable in c++ code (#333417)
16597 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16600 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16602 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16604 * libs/gst/base/gstbasetransform.c:
16605 (gst_base_transform_transform_caps):
16606 Make sure caps are writable before passing them to
16609 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16612 Fix some minor docs errors.
16614 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16616 Patch by: Ross Burton <ross at burtonini dot com>
16618 * gst/gsterror.c: (_gst_resource_errors_init):
16620 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16622 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16625 Add a check and output a g_warning when GStreamer is built
16626 against GLib 2.6 but running against 2.8 or higher, and vice
16627 versa. (Closes: #323542)
16629 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16631 * gst/parse/parse.l:
16632 Commit patch for parse_launch syntax from #331255. Removes
16633 support for quoted strings and mimetypes when writing filtered
16634 caps. See the bug report for more details - I'm pretty sure this
16635 obscure feature is not in use by _anyone_ anywhere.
16637 With this simple change, the size of the gstreamer.so here
16638 drops from 2193KB to 1565KB.
16640 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16642 * plugins/elements/gsttypefindelement.h:
16643 * plugins/elements/gsttypefindelement.c:
16644 (gst_type_find_element_src_event), (start_typefinding),
16645 (stop_typefinding), (gst_type_find_element_handle_event),
16646 (gst_type_find_element_chain),
16647 (gst_type_find_element_chain_do_typefinding):
16648 Use gst_type_find_helper_for_buffer() for chain-based
16651 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16653 * plugins/elements/gsttypefindelement.c:
16654 (gst_type_find_element_class_init),
16655 (gst_type_find_element_set_property),
16656 (gst_type_find_element_get_property):
16657 Deprecate "maximum" property (not only was it only taken into
16658 account for typefinding in push-mode anyway, it also was never
16659 actually possible to set it in the first place because the
16660 property was registered with the numeric property ID for the
16661 "minimum" property). Register "maximum" property correctly,
16662 for the sake of future copy'n'pasters. Remove some cruft
16663 from property get/set functions.
16665 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16667 * plugins/elements/gsttypefindelement.c:
16668 (gst_type_find_element_activate):
16669 Use gst_type_find_helper_get_range() here, so we
16670 can honour the "minimum" property and also emit
16671 the signal with the correct probability of the found caps.
16673 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16675 * docs/libs/gstreamer-libs-sections.txt:
16676 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16677 (helper_find_suggest), (gst_type_find_helper_get_range),
16678 (gst_type_find_helper):
16679 * libs/gst/base/gsttypefindhelper.h:
16680 New API: gst_type_find_helper_get_range() (#333042).
16682 2006-03-02 Michael Smith <msmith@fluendo.com>
16684 * gst/gstregistryxml.c: (load_feature):
16685 Asserting on a failure to read part of the registry is Not Cool.
16686 Just log a warning and return NULL (which is already handled)
16688 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16690 * win32/common/libgstbase.def:
16691 added export of gst_type_find_helper_for_buffer
16692 * win32/common/libgstbase.def:
16693 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16694 gst_ghost_pad_get_target
16696 2006-02-28 Wim Taymans <wim@fluendo.com>
16698 * docs/design/draft-klass.txt:
16700 Added Connector to mark elements that are only used to
16701 allow pipeline connections.
16702 Moved Debug to extra feature since most of them are
16703 functionally something else.
16705 2006-02-28 Wim Taymans <wim@fluendo.com>
16707 * docs/design/draft-klass.txt:
16708 Some updates and clarifications.
16710 2006-02-28 Wim Taymans <wim@fluendo.com>
16712 * docs/design/draft-klass.txt:
16713 Proposal for klass field values.
16715 * docs/design/part-streams.txt:
16716 Start of a doc describing stream anatomy.
16718 2006-02-28 Wim Taymans <wim@fluendo.com>
16720 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16721 Help the compiler a bit with type registration.
16722 Use existing forward cod path instead of duplicating it when
16723 handling a message.
16725 * gst/gstbus.c: (gst_bus_get_type):
16726 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16727 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16728 * gst/gstclock.c: (gst_clock_get_type):
16729 * gst/gstelement.c: (gst_element_get_type),
16730 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16731 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16732 * gst/gstminiobject.c: (gst_mini_object_get_type):
16733 * gst/gstpad.c: (gst_pad_get_type):
16734 * gst/gstsegment.c: (gst_segment_get_type):
16735 * gst/gststructure.c: (gst_structure_get_type):
16736 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16737 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16739 Help compiler with type registration.
16741 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16744 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16746 * plugins/elements/gsttypefindelement.c:
16747 (gst_type_find_element_handle_event):
16748 When we get an EOS event and have not found a type yet
16749 (most likely because we had not yet accumulated
16750 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16751 type given the data we have so far. Fixes typefinding
16752 for very short streams again, most notably quicktime
16753 redirections as used on Apple's trailer site (#331701).
16755 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16757 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16758 (gst_type_find_helper):
16759 Try typefinding factories with the highest rank first.
16761 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16763 * docs/libs/gstreamer-libs-docs.sgml:
16764 * docs/libs/gstreamer-libs-sections.txt:
16765 * libs/gst/base/gsttypefindhelper.c:
16766 Add section for typefind helper and add documentation
16767 for the old and the new function.
16769 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16771 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16772 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16773 (gst_type_find_helper_for_buffer):
16774 * libs/gst/base/gsttypefindhelper.h:
16775 New API: gst_type_find_helper_for_buffer() (#332723).
16777 2006-02-27 Michael Smith <msmith@fluendo.com>
16779 Patch by: Loïc Minier
16782 * docs/Makefile.am:
16783 * docs/slides/Makefile.am:
16784 prevent CVS directories getting disted.
16786 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16788 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16789 Use the REFCOUNTING category for caps refcounting.
16791 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16793 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16794 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16796 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16798 * plugins/elements/gsttypefindelement.c:
16799 (gst_type_find_element_activate):
16800 Use gst_pad_check_pull_range() before _activate_pull()
16801 to avoid unnecessary open/close (see #331690).
16803 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16806 Docs enhancement: make it crystal clear what the
16807 gst_pad_add_*_probe() callbacks should look like.
16809 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16811 * libs/gst/base/gstbasesrc.c:
16812 Document how applications can stop recording from
16813 live sources (see #330996).
16815 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16817 * tests/check/Makefile.am:
16818 * tests/check/libs/basesrc.c: (eos_event_counter),
16819 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16820 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16821 (gst_basesrc_suite), (main):
16822 ... and add some tests for the base source EOS stuff.
16824 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16826 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16827 Test case originally showed the problem fixed below,
16828 but was then amended. Add checks back at the place
16829 where they used to be.
16831 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16833 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16834 (gst_base_src_init), (gst_base_src_loop),
16835 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16836 (gst_base_src_change_state):
16837 * libs/gst/base/gstbasesrc.h:
16838 Don't unconditionally send EOS when going from PAUSED to
16839 READY state, esp. make sure we don't send two EOS events
16840 in some cases (e.g. one when reaching EOS and one when
16841 going from PAUSED to READY). Also, we don't want to send
16842 EOS events when operating in pull mode. However, we do
16843 want to send an EOS event when shutting down a live
16844 source explicitly, for example (fixes #330996).
16846 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16848 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16849 Update src->read_position after a seek when not using mmap.
16850 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16852 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16858 Make things work with --disable-parse as they do with
16859 --disable-load-save - the symbols involved disappear, but the
16860 header is still installed and GST_DISABLE_PARSE is included via
16863 2006-02-20 Julien MOUTTE <julien@moutte.net>
16865 * libs/gst/base/gstbasetransform.c:
16866 (gst_base_transform_change_state): Fix a stupid bug. I was
16867 sure I compiled that.
16869 2006-02-20 Julien MOUTTE <julien@moutte.net>
16871 * gst/gstpad.c: (gst_pad_set_blocked_async):
16872 * gst/gstutils.c: (gst_pad_add_data_probe),
16873 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16874 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16875 (gst_pad_remove_buffer_probe): Make those function act on the
16876 ghostpad target when it's a ghostpad. (Closes #331727)
16878 2006-02-20 Julien MOUTTE <julien@moutte.net>
16880 * libs/gst/base/gstbasetransform.c:
16881 (gst_base_transform_change_state): Make basetransform reusable.
16884 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16886 * docs/random/release:
16887 Move the current documentation of how to do a release to the top
16890 * gst/gstbin.c: (gst_bin_class_init),
16891 (gst_bin_handle_message_func):
16892 Allow multiple state-recalculation threads. (Closes #328873)
16894 2006-02-19 Julien MOUTTE <julien@moutte.net>
16896 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16897 * gst/gstpad.c: (gst_pad_set_event_function),
16898 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16899 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16900 2 strings. You can't use the STR_NULL macro on that.
16902 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16904 * gst/gstpad.c: (gst_pad_set_event_function),
16905 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16906 (gst_pad_set_getcaps_function)
16907 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16908 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16909 So now, we can use --gst-debug-level=5 on Windows
16910 * win32/common/libgstcontroller.def:
16911 Added export of gst_controller_init
16912 * win32/vs6/libgstcontroller.dsp:
16913 Fixed Release post build configuration
16915 2006-02-17 Wim Taymans <wim@fluendo.com>
16917 * tests/check/gst/gstquery.c: (GST_START_TEST):
16918 Added another check.
16920 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16922 * plugins/elements/gsttypefindelement.c: (find_peek):
16923 We can do peeks at non-zero offsets, as long as they
16924 fall within the buffer we have.
16926 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16928 * tests/check/Makefile.am:
16929 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16930 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16931 (parse_suite), (main):
16932 Add testsuite for parse launch syntax
16934 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16936 * plugins/elements/gsttypefindelement.c:
16937 (gst_type_find_element_chain):
16938 When typefinding is unsuccessful in the chain function, don't
16939 error out immediately. Only error out with NO_CAPS_FOUND if
16940 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16941 otherwise simply wait for more data so we can try typefinding
16942 again with more data later. Also, don't attempt to typefind
16943 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16944 this should improve typefinding from network sources where the
16945 size of the first buffer can be somewhat random.
16947 2006-02-14 Wim Taymans <wim@fluendo.com>
16949 * docs/gst/gstreamer-sections.txt:
16950 * gst/gstpadtemplate.c:
16951 * gst/gstpadtemplate.h:
16952 Fix padtemplate docs, fixes #328805.
16954 2006-02-14 Wim Taymans <wim@fluendo.com>
16956 * tools/gst-launch.c: (main):
16957 NO_PREROLL is not an ERROR so don't send confusing messages
16960 2006-02-14 Wim Taymans <wim@fluendo.com>
16962 Patch by: Torsten Schoenfeld
16964 * gst/gstregistry.c: (gst_registry_get_default),
16965 (_gst_registry_cleanup):
16966 Protect default registry with lock and ref/sink it.
16969 2006-02-14 Wim Taymans <wim@fluendo.com>
16972 * gst/gstquery.c: (gst_query_list_add_format),
16973 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16974 (gst_query_parse_formats_nth):
16975 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16978 2006-02-14 Wim Taymans <wim@fluendo.com>
16980 * docs/gst/gstreamer-sections.txt:
16981 Reworked query docs.
16983 * gst/gstquery.c: (gst_query_new_formats),
16984 (gst_query_list_add_format), (gst_query_set_formats),
16985 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16986 (gst_query_parse_formats_nth):
16988 Flesh out formats query, added some new methods.
16989 Fix part of #324398.
16991 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16992 Added query creation tests.
16994 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16996 * gst/gstpad.c: (fixate_value):
16997 Add a default fixation for fraction lists.
16999 2006-02-13 Wim Taymans <wim@fluendo.com>
17001 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17002 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17005 Detect and warn for obvious deadlocks. fixes #320340
17006 Fix error case where lock was not released.
17008 * tests/check/Makefile.am:
17009 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17010 (task_func), (gst_element_suite), (main):
17013 2006-02-13 Wim Taymans <wim@fluendo.com>
17015 * docs/gst/gstreamer-sections.txt:
17017 Add new functions to docs.
17019 2006-02-13 Wim Taymans <wim@fluendo.com>
17021 * docs/design/part-TODO.txt:
17022 Updated TODO list, basesrc supports seeking to non-bytes
17025 * docs/design/part-element-sink.txt:
17028 * gst/gstbin.c: (bin_replace_message),
17029 (gst_bin_handle_message_func):
17030 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17031 * gst/gstevent.c: (gst_event_finalize):
17032 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17033 (gst_pad_send_event):
17034 Use shiny new _TYPE_NAME macros.
17036 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17037 Move debug statement up.
17039 * gst/gstelement.c: (gst_element_set_locked_state):
17040 Add some debugging.
17042 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17044 * docs/gst/gstreamer-sections.txt:
17045 * gst/gstmessage.h:
17047 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17048 macros (#330906). Also, document the already existing
17049 GST_QUERY_TYPE macro.
17051 2006-02-13 Wim Taymans <wim@fluendo.com>
17053 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17054 (event_probe), (GST_START_TEST):
17055 Only events up to the pipeline EOS are counted, there are
17056 some more when going to NULL currently which we don't care
17059 2006-02-13 Wim Taymans <wim@fluendo.com>
17061 * gst/gstpad.c: (gst_pad_send_event):
17062 Correctly check flushing and emit probes. fixes #330125
17064 2006-02-10 Andy Wingo <wingo@pobox.com>
17066 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17068 (gst_bus_init): Cache the location of the private data in the
17069 instance structure.
17070 (gst_bus_enable_sync_message_emission)
17071 (gst_bus_disable_sync_message_emission): Implement new public
17073 (gst_bus_post): Emit the sync-message signal if the user asked for
17076 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17077 location of the bus-private structure.
17078 (gst_bus_enable_sync_message_emission)
17079 (gst_bus_disable_sync_message_emission): API addition
17081 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17083 Patch by: Vincent Torri
17085 * docs/pwg/building-boiler.xml:
17086 PWG patch from #326800
17088 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17091 * docs/Makefile.am:
17092 * docs/design/Makefile.am:
17095 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17100 === release 0.10.3 ===
17102 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17105 releasing 0.10.3, "Like a virgin"
17107 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17110 2nd prerelease of 0.10.3
17111 Bump libtool versioning.
17113 2006-02-07 Andy Wingo <wingo@pobox.com>
17115 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17116 update last_stop if we're in TIME format and the timestamp is
17119 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17120 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17121 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17122 If we get a new newsegment with a different format, adapt
17125 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17126 of 0. Not a problem, really.
17128 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17131 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17136 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17139 project files updated to the default vs7 configuration
17140 * win32/common/libgstbase.def:
17141 * win32/common/libgstreamer.def:
17143 removed empty lines,
17144 sorted all exported symbols alphabetically
17145 * win32/common/dirent.c:
17146 * win32/common/dirent.h:
17147 * win32/common/gchar.h:
17148 use windows line end.
17150 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17152 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17153 Send EOS event when stopping.
17155 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17158 Tell folks what to do if the plugin-foobar.xml file
17159 hasn't been generated for a newly-added plugin.
17161 2006-02-05 Julien MOUTTE <julien@moutte.net>
17163 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17164 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17165 (gst_collect_pads_start), (gst_collect_pads_stop),
17166 (gst_collect_pads_event): Collectpads now holds a reference
17167 to the GstPad that was added. Indeed we don't want to look
17168 at pads that might just go away with no warning...
17170 2006-02-05 Julien MOUTTE <julien@moutte.net>
17172 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17173 (gst_collect_pads_start), (gst_collect_pads_stop),
17174 (gst_collect_pads_event), (gst_collect_pads_chain):
17175 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17176 Mark Nauwelaerts's patch on bug #328491.
17178 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17180 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17182 Add some simple tests for gst_parse_bin_from_description() and
17183 gst_bin_find_unconnected_pad() (#329069).
17185 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17187 * tools/gst-launch.c: (event_loop), (main):
17188 Catch errors during preroll (#320084).
17190 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17192 * plugins/elements/gsttypefindelement.c:
17193 (gst_type_find_element_activate):
17194 Post TYPE_NOT_FOUND error message when typefinding
17195 is unsuccessful in the activate function as well.
17197 2006-02-02 Wim Taymans <wim@fluendo.com>
17199 * docs/design/part-element-sink.txt:
17202 2006-02-02 Wim Taymans <wim@fluendo.com>
17204 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17205 (gst_base_sink_render_object),
17206 (gst_base_sink_queue_object_unlocked):
17207 Only keep track of prerollable items when we are
17209 Before rendering after preroll, always check if we
17211 Added some more debugging.
17213 2006-02-02 Wim Taymans <wim@fluendo.com>
17215 * gst/gstelement.c: (gst_element_continue_state),
17216 (gst_element_set_state_func), (gst_element_change_state):
17217 Fixed #326576, been running this for quite some time with
17218 no regressions at all.
17220 2006-02-02 Wim Taymans <wim@fluendo.com>
17223 Added more suppressions
17225 2006-02-02 Wim Taymans <wim@fluendo.com>
17227 * docs/design/part-element-sink.txt:
17230 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17231 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17232 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17233 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17234 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17235 (gst_base_sink_preroll_object),
17236 (gst_base_sink_queue_object_unlocked),
17237 (gst_base_sink_queue_object), (gst_base_sink_event),
17238 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17239 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17240 (gst_base_sink_get_position), (gst_base_sink_change_state):
17241 * libs/gst/base/gstbasesink.h:
17242 Totally refactored matching the design doc.
17243 Use two segments, one to clip incomming buffers and another to
17245 Handle queueing correctly, bypass the queue when playing.
17246 Make EOS cancelable.
17247 Handle errors correctly when operating in pull based mode.
17249 * tests/check/elements/fakesink.c: (GST_START_TEST),
17251 Added new check for sinks.
17253 2006-02-02 Wim Taymans <wim@fluendo.com>
17255 * gst/gstsegment.c: (gst_segment_clip):
17256 No reason to refuse to clip when start == -1
17258 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17261 * docs/manual/intro-basics.xml:
17262 * docs/manual/intro-preface.xml:
17263 * docs/manual/manual.xml:
17264 * docs/pwg/advanced-dparams.xml:
17265 * docs/pwg/intro-basics.xml:
17266 * docs/pwg/intro-preface.xml:
17267 * docs/pwg/pwg.xml:
17268 describe dparams (controller) for plugins
17269 unify docs a little more
17271 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17273 * docs/gst/gstreamer-sections.txt:
17274 * gst/gstutils.c: (element_find_unconnected_pad),
17275 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17277 Add new API: gst_parse_bin_from_description() and
17278 gst_bin_find_unconnected_pad() (#329069).
17280 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17282 * docs/manual/README:
17283 uncover a nasty detail of the docs build
17285 2006-01-31 Wim Taymans <wim@fluendo.com>
17287 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17288 Don't cache duration messages if we're not going to use or
17291 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17293 * docs/manual/advanced-dparams.xml:
17294 * docs/pwg/advanced-dparams.xml:
17298 * libs/gst/controller/lib.c: (gst_controller_init):
17301 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17303 * gst/gstelement.c: (gst_element_message_full):
17304 also show file/line/func if no additional debug was given
17306 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17308 * win32/vs7/grammar.vcproj:
17309 activate copy of autogenerated files for Release mode
17311 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17313 * win32/common/libgstreamer.def:
17314 export gst_value_compare
17316 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17318 * plugins/elements/Makefile.am:
17319 * plugins/elements/gstelements.c:
17320 * plugins/elements/gstfdsink.c: (_do_init),
17321 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17322 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17323 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17324 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17325 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17326 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17327 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17328 * plugins/elements/gstfdsink.h:
17329 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17331 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17333 * docs/manual/advanced-dparams.xml:
17334 describe controller
17335 * docs/manual/advanced-position.xml:
17336 * docs/manual/basics-init.xml:
17337 * docs/manual/manual.xml:
17338 * docs/manual/titlepage.xml:
17339 * docs/pwg/pwg.xml:
17340 * docs/pwg/titlepage.xml:
17341 cleanup xml (more to come)
17342 * libs/gst/controller/gstcontroller.c:
17345 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17347 * win32/vs6/grammar.dsp:
17348 add autogen of gstmarshal.c,h for Release mode
17350 2006-01-30 Wim Taymans <wim@fluendo.com>
17352 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17353 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17354 (gst_base_sink_handle_object), (gst_base_sink_event),
17355 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17356 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17357 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17358 (gst_base_sink_deactivate), (gst_base_sink_activate),
17359 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17360 (gst_base_sink_query), (gst_base_sink_change_state):
17361 Basesink cleanups, remove some old code.
17362 Handle the case where a subclass can preroll in the render
17363 method (mostly audiosinks).
17364 Handle more events.
17365 Remove some locks around variables that are now protected
17366 with the PREROLL_LOCK (clock_id, flushing, ..).
17367 Optimize position query some more, do correct locking.
17368 Remove old code to push queue in state change, this is not
17369 needed anymore since preroll blocks on all prerollable items
17371 Almost implemented as described in design doc.
17373 2006-01-30 Wim Taymans <wim@fluendo.com>
17375 * tests/check/gst/gstbin.c: (GST_START_TEST):
17376 Wait for refcount to settle down before checking.
17378 2006-01-30 Wim Taymans <wim@fluendo.com>
17380 * docs/design/part-element-sink.txt:
17381 Pseudo code overview of desired sink behaviour regarding
17384 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17385 * win32/vs6/grammar.dsp:
17386 fix some bugs in Release mode for autogenerated files
17388 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17389 * win32/common/libgstbase.def:
17390 * win32/common/libgstreamer.def:
17391 export some new symbols: gst_base_src_set_format,
17392 gst_iterator_next, gst_structure_set_valist
17394 2006-01-29 Julien MOUTTE <julien@moutte.net>
17396 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17397 Set pad functions unconditionally. Fixes #329105.
17399 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17401 add vs8 project files created by Sergey Scobich
17403 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17405 * gst/gstutils.c: (gst_element_unlink_pads):
17406 Don't leak pad references.
17408 * tests/check/elements/fakesink.c: (GST_START_TEST):
17409 * tests/check/generic/sinks.c: (GST_START_TEST):
17410 * tests/check/generic/states.c: (GST_START_TEST):
17411 * tests/check/gst/gstbin.c: (GST_START_TEST):
17412 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17413 * tests/check/gst/gstelement.c: (GST_START_TEST):
17414 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17415 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17416 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17417 Fix a bunch of leaks. Make generic/sinks.c
17418 use a bit less cpu by slowing the buffer rate
17419 between fakesrc and fakesink.
17421 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17423 * gst/gstelement.c: (gst_element_send_event):
17426 * gst/gstiterator.c:
17427 * gst/gstiterator.h:
17428 * gst/gstpad.c: (gst_pad_send_event):
17429 * gst/gststructure.c:
17433 * libs/gst/base/gstadapter.c:
17434 doc fixes, to link to function, just write gst_cool_function(), don't
17437 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17439 * plugins/elements/gsttee.c: (gst_tee_do_push),
17440 (gst_tee_handle_buffer):
17441 Always prefer an actual return value from a src
17442 pad in place of NOT_LINKED. This means we return
17443 WRONG_STATE when all src pads are WRONG_STATE
17444 instead of NOT_LINKED.
17446 Lock when replacing the last message to prevent
17447 racing with the get_property method.
17451 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17453 * tests/check/Makefile.am:
17454 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17456 Add a very simple check that should have caught the memleak I fixed
17457 last night (if not for the slice allocator hiding it)
17459 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17461 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17462 (gst_bin_remove_func), (gst_bin_handle_message_func),
17463 (bin_query_duration_fold), (bin_query_generic_fold):
17464 Clean up references to the clock provider when disposed or when
17465 handling a clock-lost message from it.
17467 Unref sinks when performing a query via gst_iterator_fold, as the
17468 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17470 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17471 (gst_clock_set_master):
17472 Drop our reference to the master clock, if any, when we are disposed.
17474 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17475 Chain up in dispose.
17477 2006-01-26 Wim Taymans <wim@fluendo.com>
17479 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17480 Add some debugging.
17482 2006-01-26 Julien MOUTTE <julien@moutte.net>
17484 * plugins/elements/gsttee.c: (gst_tee_do_push),
17485 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17486 handles pad being NOT_LINKED or in WRONG_STATE.
17488 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17493 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17496 remove obsolete entry
17498 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17500 * docs/gst/gstreamer-sections.txt:
17501 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17502 (gst_bin_iterate_sources), (gst_bin_send_event):
17504 * gst/gstelement.c: (gst_element_send_event):
17506 * gst/gstpad.c: (gst_pad_send_event):
17507 added code for downstream events, reviewed docs in gstevent.c
17509 2006-01-25 Julien MOUTTE <julien@moutte.net>
17511 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17512 We only query position using the clock in the playing state.
17513 Query peer in the other cases.
17514 * win32/common/config.h: Updates.
17516 2006-01-24 Wim Taymans <wim@fluendo.com>
17518 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17519 A clock entry that is scheduled for the exact time of the
17520 clock is still in time.
17522 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17523 (gst_base_sink_do_sync):
17524 Add some more debug info.
17526 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17529 Add new vs7 project files and solution.
17531 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17534 all files removed as they were out-dated.
17536 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17538 * docs/random/release:
17540 * gst/gstbin.c: (gst_bin_init):
17541 * gst/gstbus.c: (gst_bus_new):
17543 * gst/gstpipeline.c: (gst_pipeline_init):
17544 use gst_bus_new(), improve logging, fix docs
17545 * win32/common/config.h:
17546 update for cvs build
17548 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17551 up required version of automake to 1.7
17553 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17555 * win32/common/libgstreamer.def:
17556 export gst_buffer_is_metadata_writable
17558 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17560 * docs/gst/gstreamer-sections.txt:
17562 Add gst_event_replace() (#327001)
17564 2006-01-20 Wim Taymans <wim@fluendo.com>
17566 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17567 Make it actually compile too..
17569 2006-01-20 Wim Taymans <wim@fluendo.com>
17572 Clarify behaviour of _is_equal() when passing NULL parameters.
17574 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17575 (gst_pad_set_caps):
17576 Cleanups. Don't unref NULL caps.
17577 When setting the same caps, protect caps of the pad with
17579 Use full functionality of _is_equal() when comparing caps.
17581 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17583 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17584 Don't loop infinitely if there are no buffers to present. Partially
17585 fixes #327197, but collectpads is just broken for reusing elements
17586 to do multiple encodes atm.
17588 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17590 * tools/gst-inspect.c: (print_element_features):
17591 * tools/gst-xmlinspect.c: (main):
17592 URL_HANDLER is not a plugin feature we can search for in
17595 2006-01-19 Edward Hervey <edward@fluendo.com>
17597 * gst/gstelement.c: (gst_element_pads_activate):
17598 When activating, do src pads first, then sink pads.
17599 When de-activating, do sink pads first, then src pads.
17601 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17603 * docs/gst/gstreamer-sections.txt:
17604 Add gst_index_add_associationv to the docs
17606 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17611 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17612 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17613 Do some refactoring. Doesn't actually change functionality,
17614 but makes landing the DRAIN event easier later.
17616 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17618 * docs/pwg/advanced-scheduling.xml:
17619 Update from 0.9.x to 0.10 API and make example a bit
17622 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17624 * docs/gst/gstreamer-sections.txt:
17625 Add gst_buffer_(is|make)_metadata_writable methods.
17627 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17629 * docs/design/part-sparsestreams.txt:
17630 Update sparse streams doc, hopefully for greater clarity
17632 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17634 * docs/design/part-events.txt:
17635 Remove mention of FILLER events.
17638 * docs/design/part-sparsestreams.txt:
17639 Write some things about using NEWSEGMENT to keep sparse streams
17642 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17644 * gst/gstbin.c: (gst_bin_dispose):
17645 Guard gst_object_unref call against a NULL object (dispose
17646 can theoretically be called multiple times).
17648 2006-01-18 Wim Taymans <wim@fluendo.com>
17650 * gst/gstbin.c: (gst_bin_element_set_state):
17651 * gst/gstclock.c: (gst_clock_id_wait):
17652 Added some more debug info.
17654 * libs/gst/base/gstadapter.c:
17657 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17658 (gst_base_sink_do_sync), (gst_base_sink_chain):
17659 Added some comments.
17661 2006-01-18 Wim Taymans <wim@fluendo.com>
17663 * tests/check/Makefile.am:
17664 * tests/check/elements/fakesink.c: (chain_async_buffer),
17665 (chain_async), (chain_async_return), (GST_START_TEST),
17666 (fakesink_suite), (main):
17667 Added fakesink test that checks prerolling and clipping
17670 * tests/check/gst/gstutils.c: (GST_START_TEST):
17671 Make check run faster so that buildbots don't timeout.
17673 2006-01-18 Wim Taymans <wim@fluendo.com>
17675 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17676 (gst_base_sink_do_sync):
17678 When the sink finishes blocking on the preroll buffer, it can
17679 immediatly render it instead of rendering when the next buffer
17682 2006-01-18 Wim Taymans <wim@fluendo.com>
17684 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17685 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17686 (gst_base_sink_chain):
17688 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17689 Don't store _last_stop if the buffer is dropped.
17691 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17693 * plugins/elements/gsttypefindelement.c:
17694 (gst_type_find_element_class_init):
17695 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17696 object method handler that sets the caps on the pad and we want
17697 that to happen before we emit the signal (fixes e.g. feeding a
17698 plain text file to decodebin).
17700 2006-01-18 Christian Schaller <Christian@fluendo.com>
17702 * gst/gstplugin.c: Add MPL and Proprietary as license options
17704 2006-01-18 Andy Wingo <wingo@pobox.com>
17706 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17707 symbol was exported before, it appears this was just an oversight.
17709 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17711 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17712 prototype to gint. OK since this prototype was not in the header.
17714 2006-01-17 Andy Wingo <wingo@pobox.com>
17716 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17717 registry while we remove plugins.
17719 * tools/gst-inspect.c (print_element_info): Don't unref the
17720 factory arg, that should be the responsibility of whatever code
17721 received the ref. Fixes a double-free when called from
17722 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17723 (main): Unref the factory if we have one.
17724 (print_element_list): No change -- relies on the
17725 plugin_feature_list_free to free the list of features.
17727 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17729 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17730 (gst_buffer_make_metadata_writable):
17732 * libs/gst/base/gstbasetransform.c:
17733 (gst_base_transform_prepare_output_buf):
17734 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17735 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17736 Replace gst_buffer_(make|is)_metadata_writable patch now
17737 that the release is out.
17739 2006-01-17 Andy Wingo <wingo@pobox.com>
17741 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17742 in the present tense without reference to versions.
17744 * gst/gstregistry.c (gst_registry_add_plugin)
17745 (gst_registry_remove_plugin, gst_registry_remove_feature)
17746 (gst_registry_find_feature, gst_registry_get_feature_list)
17747 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17748 (gst_registry_lookup, gst_registry_scan_path)
17749 (_gst_registry_remove_cache_plugins)
17750 (gst_registry_get_feature_list_by_plugin): Add argument
17753 === release 0.10.2 ===
17755 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17758 releasing 0.10.2, "If man is five"
17760 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17764 * libs/gst/base/gstbasetransform.c:
17765 (gst_base_transform_prepare_output_buf):
17766 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17767 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17768 Back out patch until after the release.
17770 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17772 * gst/gstminiobject.c:
17773 Spelling fix in docs.
17774 * ChangeLog - remove conflict indicator
17776 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17778 Reviewed By: Andy Wingo
17780 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17781 (gst_buffer_make_metadata_writable):
17783 Add gst_buffer_(is|make)_metadata_writable as analogues of
17784 gst_buffer_(is|make)_writable.
17786 * libs/gst/base/gstbasetransform.c:
17787 (gst_base_transform_prepare_output_buf):
17788 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17789 Use name gst_buffer_(is|make)_metadata_writable functions.
17791 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17792 Test gst_buffer_(is|make)_metadata_writable
17796 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17798 * docs/manual/Makefile.am:
17799 don't do parallel make
17802 * win32/common/config.h.in:
17803 add generations for HOST_CPU and GST_MAJORMINOR
17804 * win32/common/config.h:
17805 commit generated result
17807 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17809 * docs/manual/appendix-integration.xml:
17810 Update GNOME integration section to use gst_init_get_option_group()
17811 instead of the old popt stuff (#322911). Also, GNOME applications
17812 should now use gconf*sink and gconf*src instead of the old gconf
17815 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17818 * docs/gst/gstreamer-docs.sgml:
17819 * docs/gst/gstreamer-sections.txt:
17820 * docs/libs/gstreamer-libs-sections.txt:
17821 add new API entries to the docs
17822 * libs/gst/controller/Makefile.am:
17823 * libs/gst/controller/gstcontroller.c:
17824 * libs/gst/controller/gstcontroller.h:
17825 * libs/gst/controller/gstcontrollerprivate.h:
17826 * libs/gst/controller/gsthelper.c:
17827 * libs/gst/controller/gstinterpolation.c:
17828 move private structs to private header
17830 gstreamer-0.7 -> gstreamer-0.10
17831 * tests/check/libs/struct_i386.h:
17832 remove private structs
17834 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17836 * plugins/indexers/Makefile.am:
17837 Fixes as part of #317048
17839 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17841 * plugins/indexers/Makefile.am:
17842 fix #316086 - compilation when mmap is missing
17844 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17846 * libs/gst/base/gstbasesink.c:
17847 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17848 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17849 * win32/common/config.h:
17850 added some defines GST_MAJORMINOR and HOST_CPU
17851 * win32/common/libgstbase.def:
17852 * win32/common/libgstreamer.def:
17853 added some exported functions.
17855 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17857 * libs/gst/controller/gstcontroller.c:
17858 (gst_controlled_property_set_interpolation_mode),
17859 (gst_controlled_property_new):
17860 * libs/gst/controller/gstcontroller.h:
17861 * libs/gst/controller/gstinterpolation.c:
17862 (interpolate_none_get_string_value_array):
17863 make G_TYPE_STRING controlable
17865 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17868 * tools/gst-feedback.1.in:
17869 * tools/gst-inspect.1.in:
17870 * tools/gst-launch.1.in:
17871 * tools/gst-md5sum.1.in:
17872 * tools/gst-typefind.1.in:
17873 * tools/gst-xmlinspect.1.in:
17874 * tools/gst-xmllaunch.1.in:
17875 cleanup man-pages, remove reference to gst-register, document env-vars
17877 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17879 * gst/gstbuffer.c: (gst_buffer_span):
17880 gst_buffer_span should copy the timestamp of the first buffer
17881 if they were both originally overlapping subbuffers of the
17882 same parent, using the same logic as the 'slow copy' case.
17884 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17886 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17887 Need to awaken ALL the pads when we pop a buffer, otherwise
17888 collectpads only works when there is 2 input streams.
17890 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17892 * docs/random/ensonic/media-device-daemon.txt:
17895 fix doc example, add clarification
17896 * tools/gst-launch.1.in:
17897 add initial info about GST_PLUGIN_PATH, needs more work
17899 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17901 * docs/manual/basics-bins.xml:
17902 * docs/manual/basics-elements.xml:
17903 * docs/manual/intro-basics.xml:
17904 Some more minor docs additions and updates.
17906 2006-01-11 Wim Taymans <wim@fluendo.com>
17908 * docs/manual/basics-bins.xml:
17909 * docs/manual/basics-elements.xml:
17910 Some small fixes as pointed out by Ser-ver on IRC.
17912 2006-01-10 Edward Hervey <edward@fluendo.com>
17914 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17915 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17916 the single-segment mode.
17918 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17920 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17922 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17923 (gst_base_src_perform_seek), (gst_base_src_send_event),
17924 (gst_base_src_set_property), (gst_base_src_get_property),
17925 (gst_base_src_loop), (gst_base_src_start),
17926 (gst_base_src_activate_push):
17927 * libs/gst/base/gstbasesrc.h:
17928 Name (private) union; makes Sun's Forte compiler happy (#324900).
17930 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17933 gst-register is gone.
17935 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17937 * gst/gstvalue.c: (_gst_value_initialize):
17938 make the G_TYPE_DATE instantiation work if debug is disabled
17940 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17942 * gst/gstmessage.c: (gst_message_parse_tag),
17943 (gst_message_parse_error), (gst_message_parse_warning):
17944 Don't crash when return location for error/warning debug
17945 string is NULL; add fact that return locations can be
17946 NULL to docs where appropriate.
17948 2006-01-05 Wim Taymans <wim@fluendo.com>
17950 * gst/gstplugin.c: (gst_plugin_load_file):
17951 Replace strdup by g_strdup.
17953 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17955 * docs/pwg/advanced-types.xml:
17958 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17960 submitted by: Abel Cheung
17964 Added Chinese (traditional) translation
17966 2006-01-04 Wim Taymans <wim@fluendo.com>
17968 * docs/manual/basics-pads.xml:
17969 * docs/plugins/Makefile.am:
17970 * docs/plugins/gstreamer-plugins-docs.sgml:
17971 * docs/plugins/gstreamer-plugins-sections.txt:
17972 * docs/pwg/advanced-clock.xml:
17973 * docs/pwg/advanced-scheduling.xml:
17974 * docs/pwg/advanced-types.xml:
17975 * plugins/elements/gstfdsink.c:
17976 * plugins/elements/gstfdsrc.c:
17977 * plugins/elements/gstfdsrc.h:
17978 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17979 * plugins/elements/gstidentity.h:
17980 * plugins/elements/gstqueue.h:
17981 * plugins/elements/gsttee.c:
17982 * plugins/elements/gsttee.h:
17983 * plugins/elements/gsttypefindelement.c:
17984 (gst_type_find_element_class_init):
17985 * plugins/elements/gsttypefindelement.h:
17986 Small updates to various docs.
17987 Added core plugins to docs.
17989 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17992 add a suppression for liboil's uninitialized variable
17994 2006-01-02 James Livingston <jrl at ids dot org dot au>
17996 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17999 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18000 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18001 compiler switch is being used (#325429).
18003 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18005 * gst/gstbin.c: (gst_bin_query):
18006 Disable duration query caching in bins until it gets
18007 fixed (see #324807).
18009 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18011 * tools/gst-inspect.c: (print_element_properties_info):
18012 Handle properties of POINTER and BOXED type.
18014 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18016 * gst/gst.c: (init_post):
18017 Init tags stuff and some other things before loading
18018 any static plugins (there may be other static plugins
18019 than just the GStreamer ones, and they may want to
18020 register their own tags or formats or whatever, and
18021 preferably without segfaulting).
18023 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18024 Print at least a warning in the debug logs if we drop a
18025 query just because we don't know how to adjust the value
18026 in the particular format.
18028 2005-12-24 David Schleef <ds@schleef.org>
18030 * tools/gstreamer-completion:
18031 Replacement for gst-complete written in sh and sed. Only
18032 completes names of features, but that's 90% of what I want
18033 it for. Properties are not available in registry.xml. (Maybe
18036 === release 0.10.1 ===
18038 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18041 releasing 0.10.1, "Nollaig chridheil"
18043 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18045 * docs/faq/cvs.xml:
18046 Add missing quote, should be make ERROR_CFLAGS="".
18048 2005-12-20 Wim Taymans <wim@fluendo.com>
18050 * docs/design/part-trickmodes.txt:
18051 More documentation on trickmodes.
18053 2005-12-20 Edward Hervey <edward@fluendo.com>
18055 * gst/gstcaps.c: (gst_static_caps_get_type):
18057 API addition: GST_TYPE_STATIC_CAPS
18058 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18059 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18060 * gst/gstpadtemplate.h:
18061 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18062 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18065 2005-12-18 Wim Taymans <wim@fluendo.com>
18067 * libs/gst/base/gstadapter.c:
18068 * libs/gst/base/gstadapter.h:
18069 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18070 (gst_base_sink_get_position):
18071 * libs/gst/base/gstbasesink.h:
18072 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18073 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18074 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18075 (gst_base_src_send_event), (gst_base_src_update_length),
18076 (gst_base_src_get_range), (gst_base_src_loop),
18077 (gst_base_src_start):
18078 * libs/gst/base/gstbasesrc.h:
18079 * libs/gst/base/gstbasetransform.h:
18080 * libs/gst/base/gstcollectpads.h:
18081 * libs/gst/base/gstpushsrc.c:
18082 * libs/gst/base/gstpushsrc.h:
18083 * libs/gst/dataprotocol/dataprotocol.c:
18084 * libs/gst/dataprotocol/dataprotocol.h:
18085 * libs/gst/net/gstnetclientclock.h:
18086 * libs/gst/net/gstnettimeprovider.h:
18087 Documentation updates.
18089 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18091 * docs/manual/basics-helloworld.xml:
18092 Remove superfluous closing bracket in helloworld example.
18094 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18096 * tools/gst-launch.1.in:
18097 Update gst-launch man page; add a section with useful
18098 environment variables. Fixes #323882.
18100 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18103 * gst/gst_private.h:
18104 change some char* into char[]
18106 2005-12-16 Wim Taymans <wim@fluendo.com>
18108 * gst/gstregistryxml.c: (load_feature):
18110 Don't use g_object_unref on GstObjects so that we avoid
18111 leaks on unsafe glibs.
18113 2005-12-16 Wim Taymans <wim@fluendo.com>
18115 * gst/gstbin.c: (gst_bin_recalc_state):
18118 2005-12-16 Wim Taymans <wim@fluendo.com>
18120 * common/check.mak:
18121 Added make forever target for check.
18123 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18125 * gst/gst.c: (init_post):
18126 make the registry cache file HOST_CPU-dependent
18128 2005-12-16 Andy Wingo <wingo@pobox.com>
18130 * plugins/elements/gstbufferstore.c
18131 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18134 * tests/check/gst/gstobject.c
18135 (test_fake_object_name_threaded_unique): Pay attention to
18136 g_list_sort return value.
18138 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18140 * tools/gst-feedback-m.m:
18141 Update for 0.9/0.10 (fixes #323870).
18143 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18145 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18146 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18148 * tests/check/gst/gstminiobject.c: (my_foo_init),
18149 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18150 (test_value_collection), (gst_mini_object_suite):
18151 Add test to ensure refcounts end up as expected when passing
18152 GstMiniObjects through g_object_get() and g_object_set().
18154 2005-12-14 Julien MOUTTE <julien@moutte.net>
18156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18157 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18158 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18159 of collectpads. This version removes a lot of races without
18160 touching API/ABI. Yay !
18162 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18164 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18165 Don't allow activation of a srcpad in pull_range if it has no
18167 Change some debug statements to be a little clearer
18169 * plugins/elements/gsttypefindelement.c:
18170 (gst_type_find_handle_src_query):
18171 Check that we have a peer before executing queries thereupon.
18173 * tests/examples/metadata/read-metadata.c: (message_loop):
18174 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18175 immediately return us any available message with 0 timeout.
18177 2005-12-12 Michael Smith <msmith@fluendo.com>
18179 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18180 Don't unref factories after calling them.
18181 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18182 * plugins/elements/gsttypefindelement.c:
18183 (gst_type_find_element_chain):
18184 Free lists of factories after using them. Fixing typefinding memory
18187 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18189 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18190 (gst_plugin_feature_load):
18191 more meaningful debug output
18193 * tests/Makefile.am:
18194 * tests/old/examples/Makefile.am:
18195 make make distcheck happy again
18197 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18199 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18200 Catch the special case where we are operating chain-based,
18201 but the downstream peer pad has no chain function. Emit a
18202 custom error message in this case instead of letting the
18203 core generate one implying that this is some sort of core
18204 bug. It's not, it just means that whatever got plugged
18205 into the pipeline downstream when we announced the type
18206 can only operate pull-based, while our source can only
18207 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18208 Error string has not been marked for translation yet, as
18209 it probably needs some more work first.
18211 (gst_type_find_element_get_best_possibility):
18212 Add helper function to find the best of all available
18213 found possibilities that qualify given the min. threshold.
18215 (gst_type_find_element_handle_event):
18216 Fix the case where we get an EOS while still in TYPEFIND
18217 mode (we want to chose the best of all possible types,
18218 not just the first type that happens to be in our unsorted
18219 list of possible types).
18221 (gst_type_find_element_chain):
18222 Make sure we return GST_FLOW_ERROR when we errored out
18223 in stop_typefinding(); also, don't just find the best of
18224 all found type entries and then use the last examined
18225 type entry, but actually use the best entry.
18227 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18229 * tests/examples/typefind/typefind.c: (type_found):
18230 * tests/examples/xml/runxml.c: (xml_loaded):
18231 More gcc4 fixes and a mem leak fix.
18233 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18235 * tests/examples/xml/createxml.c: (object_saved):
18238 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18240 * tests/Makefile.am:
18241 enable the examples even more
18243 2005-12-12 Andy Wingo <wingo@pobox.com>
18245 * libs/gst/net/gstnettimeprovider.c
18246 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18247 (gst_net_time_provider_set_property)
18248 (gst_net_time_provider_get_property):
18249 API addition: Export "active" as a GObject property.
18250 (gst_net_time_provider_thread): Only respond to time queries if
18251 the time provider is active.
18253 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18254 NetTimeProvider, preserving binary compat.
18256 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18258 * tests/examples/controller/audio-example.c: (main):
18259 * tests/examples/launch/Makefile.am:
18260 convert comments again
18262 2005-12-12 Wim Taymans <wim@fluendo.com>
18264 * libs/gst/base/gstpushsrc.c:
18267 2005-12-12 Wim Taymans <wim@fluendo.com>
18269 * docs/libs/gstreamer-libs-sections.txt:
18270 Added new symbol to docs.
18272 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18273 (gst_base_src_init), (gst_base_src_set_format),
18274 (gst_base_src_default_query), (gst_base_src_query),
18275 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18276 (gst_base_src_perform_seek), (gst_base_src_send_event),
18277 (gst_base_src_default_event), (gst_base_src_event_handler),
18278 (gst_base_src_set_property), (gst_base_src_get_property),
18279 (gst_base_src_wait), (gst_base_src_do_sync),
18280 (gst_base_src_update_length), (gst_base_src_get_range),
18281 (gst_base_src_check_get_range), (gst_base_src_loop),
18282 (gst_base_src_default_negotiate), (gst_base_src_start),
18283 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18284 (gst_base_src_change_state):
18285 * libs/gst/base/gstbasesrc.h:
18286 Implement seeking to other formats than _BYTES.
18287 Implement more seeking methods correctly.
18289 Added query vmethod.
18290 Added do_seek vmethod to make life easier for subclasses
18292 API addition: gst_base_src_set_format()
18294 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18296 * tests/examples/Makefile.am:
18299 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18302 * docs/random/ensonic/media-device-daemon.txt:
18303 * tests/examples/controller/.cvsignore:
18304 * tests/examples/controller/Makefile.am:
18305 * tests/examples/controller/audio-example.c: (main):
18306 * tests/examples/helloworld/.cvsignore:
18307 * tests/examples/helloworld/Makefile.am:
18308 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18309 * tests/examples/launch/.cvsignore:
18310 * tests/examples/launch/Makefile.am:
18311 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18312 * tests/examples/metadata/.cvsignore:
18313 * tests/examples/metadata/Makefile.am:
18314 * tests/examples/metadata/read-metadata.c: (message_loop),
18315 (make_pipeline), (print_tag), (main):
18316 * tests/examples/queue/.cvsignore:
18317 * tests/examples/queue/Makefile.am:
18318 * tests/examples/queue/queue.c: (event_loop), (main):
18319 * tests/examples/typefind/.cvsignore:
18320 * tests/examples/typefind/Makefile.am:
18321 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18323 * tests/examples/xml/.cvsignore:
18324 * tests/examples/xml/Makefile.am:
18325 * tests/examples/xml/createxml.c: (object_saved), (main):
18326 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18327 * tests/old/examples/Makefile.am:
18328 * tests/old/examples/TODO:
18329 * tests/old/examples/controller/.cvsignore:
18330 * tests/old/examples/controller/Makefile.am:
18331 * tests/old/examples/controller/audio-example.c:
18332 * tests/old/examples/helloworld/.cvsignore:
18333 * tests/old/examples/helloworld/Makefile.am:
18334 * tests/old/examples/helloworld/helloworld.c:
18335 * tests/old/examples/launch/.cvsignore:
18336 * tests/old/examples/launch/Makefile.am:
18337 * tests/old/examples/launch/mp3parselaunch.c:
18338 * tests/old/examples/launch/mp3play:
18339 * tests/old/examples/manual/Makefile.am:
18340 * tests/old/examples/metadata/Makefile.am:
18341 * tests/old/examples/metadata/read-metadata.c:
18342 * tests/old/examples/queue/.cvsignore:
18343 * tests/old/examples/queue/Makefile.am:
18344 * tests/old/examples/queue/queue.c:
18345 * tests/old/examples/typefind/.cvsignore:
18346 * tests/old/examples/typefind/Makefile.am:
18347 * tests/old/examples/typefind/typefind.c:
18348 * tests/old/examples/xml/.cvsignore:
18349 * tests/old/examples/xml/Makefile.am:
18350 * tests/old/examples/xml/createxml.c:
18351 * tests/old/examples/xml/runxml.c:
18352 applied some simple fixing to some examples
18353 re-enabled the working examples
18355 2005-12-12 Wim Taymans <wim@fluendo.com>
18357 * gst/gstsegment.c: (gst_segment_init),
18358 (gst_segment_set_last_stop), (gst_segment_set_seek),
18359 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18360 (gst_segment_to_running_time):
18361 Added more documentation.
18362 Make sure the last_pos value is updated properly.
18363 Make sure to_stream_time and to_running_time don't
18364 operate on wrong values.
18366 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18369 2005-12-12 Michael Smith <msmith@fluendo.com>
18371 * plugins/elements/gsttypefindelement.c: (free_entry),
18372 (gst_type_find_element_chain):
18373 Now that we're not leaking factories, make sure we keep references
18374 to them while we need them.
18376 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18378 * tests/check/gst/struct_i386.h:
18379 ifdef out the XML structs
18381 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18383 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18384 floor is not needed, F is always positive; this obviates the
18385 need for adding -lm when building without libxml
18387 2005-12-12 Wim Taymans <wim@fluendo.com>
18389 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18390 Take current playback rate into account when reporting
18393 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18395 * docs/manual/mime-world.fig:
18396 Let's try this again, this time with a file that is
18397 actually in XFig format.
18399 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18401 * docs/manual/mime-world.fig:
18402 Add audioconvert element to diagram so that it
18403 matches the text and the code (fixes #319526).
18405 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18407 * docs/pwg/building-chainfn.xml:
18408 * docs/pwg/building-pads.xml:
18409 * docs/pwg/building-state.xml:
18410 * docs/pwg/other-source.xml:
18411 Update state change stuff for 0.10 (fixes #322969).
18413 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18415 * docs/manual/advanced-dataaccess.xml:
18416 * docs/manual/appendix-checklist.xml:
18417 * docs/manual/appendix-programs.xml:
18418 * docs/manual/basics-pads.xml:
18419 * docs/manual/highlevel-components.xml:
18420 * docs/manual/manual.xml:
18421 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18422 add converters in front of pipelines; remove curly
18423 brackets for threads stuff, they no longer exist; use
18424 GST_TYPE_FRACTION for framerates; update some pieces of
18425 code to 0.10, but there's plenty more to do.
18427 * docs/manual/appendix-porting.xml:
18428 Expand on asynchroneous state changes; s/0.9/0.10/;
18429 mention disappearance of gst_init_get_popt_table()
18432 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18434 * docs/faq/using.xml:
18435 Spider no longer exists, and neither does gst-launch-ext.
18436 Update examples to use decodebin and playbin and put
18437 converters in front of sinks (fixes #323726).
18439 2005-12-09 Michael Smith <msmith@fluendo.com>
18441 * plugins/elements/gsttypefindelement.c: (find_peek),
18442 (gst_type_find_element_chain):
18443 Fix leaking element factories in typefinding.
18444 Fix problem where we forgot about a probable type on non-seekable
18445 files, and thus later mis-typefound it.
18447 2005-12-09 Michael Smith <msmith@fluendo.com>
18449 * common/m4/gst-makecontext.m4:
18450 * common/m4/gst-mcsc.m4:
18452 * win32/common/config.h:
18453 * win32/common/config.h.in:
18454 Remove makecontext stuff; not used in 0.10 and causes problems on
18455 HPUX according to bug #322441
18457 2005-12-07 Wim Taymans <wim@fluendo.com>
18459 * tests/check/Makefile.am:
18460 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18462 * tests/check/libs/struct_i386.h:
18463 Added ABI check for libs
18465 2005-12-07 Wim Taymans <wim@fluendo.com>
18467 * tests/check/Makefile.am:
18468 And add the struct_i386.h to dist.
18470 2005-12-07 Wim Taymans <wim@fluendo.com>
18472 * tests/check/Makefile.am:
18473 * tests/check/gst/.cvsignore:
18474 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18476 * tests/check/gst/struct_i386.h:
18477 Added check for ABI compatibility.
18479 2005-12-07 Wim Taymans <wim@fluendo.com>
18481 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18482 (gst_fake_src_get_times), (gst_fake_src_create):
18483 Fix broken sync option, fixes #323259
18485 2005-12-07 Wim Taymans <wim@fluendo.com>
18490 * gst/gstcaps.c: (gst_caps_is_equal):
18491 Don't assert on NULL <--> X. Fixes #323260
18493 * gst/gstminiobject.c: (gst_mini_object_replace):
18494 If we're doing atomic operations, we might just as well use
18495 the proper way to get an atomic pointer.
18497 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18498 Clean up debugging.
18500 2005-12-07 Michael Smith <msmith@fluendo.com>
18502 * gst/parse/grammar.y:
18503 Remove handling of { } for threads.
18505 2005-12-06 David Schleef <ds@schleef.org>
18507 * libs/gst/base/gstbasetransform.c: speling fix.
18509 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18511 * docs/libs/tmpl/gstdataprotocol.sgml:
18512 * docs/random/omega/testing/gstobject.c:
18515 * gst/gstelement.c:
18516 * gst/gstelementfactory.c:
18519 * gst/gstghostpad.c:
18521 * gst/gstpadtemplate.c:
18522 * gst/gstregistryxml.c:
18523 * gst/gsttaglist.c:
18524 * gst/gsttagsetter.c:
18525 * gst/gsttypefind.c:
18527 * libs/gst/base/gstbasesrc.c:
18528 * libs/gst/net/gstnetclientclock.c:
18529 * libs/gst/net/gstnettimeprovider.c:
18530 * plugins/elements/gstfakesrc.c:
18531 * plugins/elements/gstfdsrc.c:
18532 * plugins/elements/gstfilesrc.c:
18533 * plugins/elements/gstidentity.c:
18534 * plugins/elements/gstqueue.c:
18535 * plugins/elements/gsttypefindelement.c:
18536 * plugins/indexers/gstfileindex.c:
18537 * plugins/indexers/gstmemindex.c:
18538 * tests/check/gst/gsttag.c:
18539 * tests/old/examples/cutter/cutter.c:
18540 * tests/old/examples/mixer/mixer.c:
18541 * tests/old/examples/xml/runxml.c: (main):
18542 * tests/old/testsuite/caps/normalisation.c:
18543 * tests/old/testsuite/debug/global.c:
18544 * tests/old/testsuite/parse/parse1.c:
18545 * tools/gst-xmlinspect.c:
18546 * win32/common/dirent.c:
18549 === release 0.10.0 ===
18551 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18554 releasing 0.10.0, "Maroilles"
18556 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18558 submitted by: Funda Wang <fundawang@linux.net.cn>
18562 added Chinese (Traditional) translation
18564 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18566 * docs/gst/gstreamer-sections.txt:
18567 * docs/libs/tmpl/gstdataprotocol.sgml:
18568 * docs/random/thomasvs/TODO:
18573 2005-12-05 Andy Wingo <wingo@pobox.com>
18575 patch by: Wim Taymans <wim@fluendo.com>
18577 * libs/gst/base/gstbasetransform.c
18578 (gst_base_transform_prepare_output_buf)
18579 (gst_base_transform_buffer_alloc):
18580 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18581 alloc_buffer_and_set_caps.
18583 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18584 set_caps on the source pad.
18585 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18586 alloc_buffer used to do. Fixes #322874.
18588 * docs/gst/gstreamer-sections.txt:
18589 * docs/design/part-negotiation.txt:
18590 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18593 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18595 patch by: Sebastien Moutte
18598 * win32/common/config.h.in:
18599 * win32/vs6/libgstcontroller.dsp:
18602 2005-12-05 Wim Taymans <wim@fluendo.com>
18604 * gst/gstcaps.c: (gst_caps_is_equal):
18605 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18606 (gst_fake_src_create):
18607 Back out previous code changes, leave doc updates, file bugs
18610 2005-12-05 Wim Taymans <wim@fluendo.com>
18612 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18613 (gst_fake_src_get_times), (gst_fake_src_create):
18614 * plugins/elements/gstfakesrc.h:
18615 Fix broken sync code.
18617 2005-12-05 Wim Taymans <wim@fluendo.com>
18619 * gst/gstcaps.c: (gst_caps_is_equal):
18620 Comparing NULL against !NULL yields different caps, not a
18623 2005-12-05 Wim Taymans <wim@fluendo.com>
18625 * gst/gstpipeline.c:
18626 Fix small typo in docs.
18628 2005-12-05 Andy Wingo <wingo@pobox.com>
18630 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18632 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18633 registries/plugins with a MAJORMINOR one.
18634 (plugin_desc): Rename library from gstcoreleements to
18635 staticelements. Fixes #323222.
18637 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18639 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18640 Change debug category to 'collectpads' from 'collect_pads'
18643 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18645 patch by: Sebastien Moutte
18647 * libs/gst/controller/gstinterpolation.c:
18648 use convert function for uint64/double
18649 * win32/vs6/libgstcontroller.dsp:
18652 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18654 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18655 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18657 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18658 add tests that seem to show that the guint64/gdouble conversions
18661 2005-12-02 Wim Taymans <wim@fluendo.com>
18663 * gst/gstregistry.c: (gst_registry_add_path):
18664 * gst/gstregistry.h:
18665 * gst/gstregistryxml.c:
18668 2005-12-02 Wim Taymans <wim@fluendo.com>
18670 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18671 (gst_util_uint64_scale_int):
18674 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18675 Add debug log line.
18677 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18680 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18683 * win32/common/config.h:
18684 * win32/vs6/gstreamer.dsw:
18685 * win32/vs6/libgstcoreelements.dsp:
18686 * win32/vs6/libgstelements.dsp:
18687 renamed core elements plugin
18689 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18691 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18693 do piece-wise major/minor comparison so 0.9 < 0.10
18694 also allow .exe extensions for tools
18696 2005-12-02 Michael Smith <msmith@fluendo.com>
18699 Escape a % to make gtkdoc happier; bug 322958.
18701 === release 0.9.7 ===
18703 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18706 releasing 0.9.7, "My Dog Has No Nose"
18708 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18710 * common/gst-xmlinspect.py:
18712 * docs/libs/tmpl/gstdataprotocol.sgml:
18713 * docs/random/release:
18732 * win32/common/config.h:
18733 * win32/common/config.h.in:
18734 * win32/vs6/gst_inspect.dsp:
18735 * win32/vs6/gst_launch.dsp:
18736 * win32/vs6/libgstbase.dsp:
18737 * win32/vs6/libgstelements.dsp:
18738 * win32/vs6/libgstreamer.dsp:
18739 * win32/vs7/GStreamer.vcproj:
18740 * win32/vs7/gst-inspect.vcproj:
18741 * win32/vs7/gst-launch.vcproj:
18742 * win32/vs7/libgstbase.vcproj:
18743 bump GST_MAJORMINOR to 0.10
18744 reset libtool version
18746 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18750 Added Bulgarian translation by (Alexander Shopov)
18752 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18754 * tests/check/gst/gstplugin.c:
18757 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18759 * common/gst-xmlinspect.py:
18760 * common/gtk-doc-plugins.mak:
18762 * docs/Makefile.am:
18763 * docs/gst/Makefile.am:
18764 * docs/gst/gstreamer-docs.sgml:
18765 * docs/gst/gstreamer-sections.txt:
18766 * docs/gst/gstreamer.types:
18767 * docs/gst/gstreamer.types.in:
18768 * docs/plugins/Makefile.am:
18769 * docs/plugins/gstreamer-plugins-docs.sgml:
18770 * docs/plugins/gstreamer-plugins-sections.txt:
18771 * docs/plugins/gstreamer-plugins.types:
18772 * docs/plugins/inspect.stamp:
18773 * docs/plugins/inspect/plugin-coreelements.xml:
18774 * docs/plugins/inspect/plugin-coreindexers.xml:
18775 * docs/plugins/scanobj-build.stamp:
18776 * gstreamer.spec.in:
18777 * plugins/elements/Makefile.am:
18778 * plugins/elements/gstelements.c:
18779 * plugins/elements/gstfakesink.c:
18780 * plugins/elements/gstfakesrc.c:
18781 * plugins/elements/gstfilesink.c:
18782 * plugins/elements/gstfilesrc.c:
18783 * plugins/elements/gstqueue.c:
18784 * plugins/indexers/Makefile.am:
18785 * plugins/indexers/gstindexers.c:
18786 document core plugins in a separate document just like all the
18788 rename these plugins to something starting with core
18790 2005-12-01 Andy Wingo <wingo@pobox.com>
18792 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18793 padding here before, but it missed the commit.
18795 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18797 * libs/gst/controller/gstinterpolation.c:
18798 whitespace prices have crashed, we should feel free to use some now
18799 use gst_guint64_to_gdouble
18801 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18803 * libs/gst/controller/gstcontroller.c:
18804 * libs/gst/controller/gsthelper.c:
18805 * libs/gst/controller/gstinterpolation.c:
18806 * libs/gst/controller/lib.c:
18807 wrap config.h include
18809 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18811 * docs/gst/gstreamer-sections.txt:
18814 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18816 * plugins/elements/gstelements.c:
18817 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18818 (gst_fd_sink__class_init), (gst_fd_sink__init),
18819 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18820 (gst_fd_sink__get_property):
18821 * plugins/elements/gstfdsink.h:
18822 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18823 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18824 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18825 (gst_fd_src_unlock), (gst_fd_src_set_property),
18826 (gst_fd_src_get_property), (gst_fd_src_create),
18827 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18828 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18829 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18830 (gst_fd_src_uri_handler_init):
18831 * plugins/elements/gstfdsrc.h:
18832 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18835 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18837 * docs/gst/Makefile.am:
18838 * docs/gst/gstreamer.types.in:
18842 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18848 * gst/gstregistry.h:
18849 * tests/benchmarks/complexity.c:
18850 * tests/benchmarks/mass-elements.c:
18851 * tests/check/Makefile.am:
18852 * tools/Makefile.am:
18853 * tools/gst-inspect.c:
18854 * tools/gst-xmlinspect.c:
18855 various fixes to make
18856 --disable-nls --disable-registry --disable-loadsave
18857 --disable-parse --disable-gst-debug
18858 work and get the core .so down to 360444 bytes after stripping
18860 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18865 * docs/random/thomasvs/TODO:
18866 * tests/Makefile.am:
18870 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18872 * win32/GStreamer.vcproj:
18875 * win32/Makefile.inspect:
18876 * win32/Makefile.launch:
18877 * win32/Makefile.register:
18878 * win32/README.txt:
18879 * win32/gst-inspect.vcproj:
18880 * win32/gst-launch.vcproj:
18881 * win32/gst-register.vcproj:
18882 * win32/gstelements.vcproj:
18883 * win32/gstgetbits.def:
18884 * win32/gstgetbits.vcproj:
18885 * win32/gstreamer-dbg.def:
18886 * win32/gstreamer.def:
18887 * win32/libgstbase.def:
18888 * win32/libgstbase.vcproj:
18889 * win32/link_oldruntime.c:
18893 * win32/msvc71.sln:
18894 move even more stuff, win32/ is nice and clean now
18896 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18898 * libs/gst/control/.cvsignore:
18903 * win32/gstbytestream.def:
18904 * win32/gstbytestream.vcproj:
18905 * win32/gstconfig.h:
18906 * win32/gstenumtypes.c:
18907 * win32/gstenumtypes.h:
18908 * win32/gstoptimalscheduler.vcproj:
18909 * win32/gstversion.h:
18911 * win32/testsuite/bins.vcproj:
18912 * win32/testsuite/bytestream.vcproj:
18913 * win32/testsuite/caps.vcproj:
18914 * win32/testsuite/cleanup.vcproj:
18915 * win32/testsuite/clock.vcproj:
18916 * win32/testsuite/debug.vcproj:
18917 * win32/testsuite/dlopen.vcproj:
18918 * win32/testsuite/dynparams.vcproj:
18919 * win32/testsuite/elements.vcproj:
18920 * win32/testsuite/ghostpads.vcproj:
18921 * win32/testsuite/indexers.vcproj:
18922 * win32/testsuite/negotiation.vcproj:
18923 * win32/testsuite/parse.vcproj:
18924 * win32/testsuite/plugin.vcproj:
18925 * win32/testsuite/refcounting.vcproj:
18926 * win32/testsuite/schedulers.vcproj:
18927 * win32/testsuite/states.vcproj:
18928 * win32/testsuite/tags.vcproj:
18929 * win32/testsuite/threads.vcproj:
18930 remove old win32 stuff that isn't maintained and should be
18933 2005-11-30 Andy Wingo <wingo@pobox.com>
18935 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18936 loading the gst.interfaces python module bork.
18938 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18939 available since GLib 2.2. Fixes #318031.
18941 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18944 * check/.cvsignore:
18945 * check/Makefile.am:
18946 * check/elements/.cvsignore:
18947 * check/elements/fakesrc.c:
18948 * check/elements/fdsrc.c:
18949 * check/elements/identity.c:
18950 * check/generic/.cvsignore:
18951 * check/generic/states.c:
18952 * check/gst-libs/.cvsignore:
18953 * check/gst-libs/controller.c:
18954 * check/gst-libs/gdp.c:
18955 * check/gst/.cvsignore:
18956 * check/gst/capslist.h:
18958 * check/gst/gstbin.c:
18959 * check/gst/gstbuffer.c:
18960 * check/gst/gstbus.c:
18961 * check/gst/gstcaps.c:
18962 * check/gst/gstelement.c:
18963 * check/gst/gstevent.c:
18964 * check/gst/gstghostpad.c:
18965 * check/gst/gstiterator.c:
18966 * check/gst/gstmessage.c:
18967 * check/gst/gstminiobject.c:
18968 * check/gst/gstobject.c:
18969 * check/gst/gstpad.c:
18970 * check/gst/gstpipeline.c:
18971 * check/gst/gstplugin.c:
18972 * check/gst/gstsegment.c:
18973 * check/gst/gststructure.c:
18974 * check/gst/gstsystemclock.c:
18975 * check/gst/gsttag.c:
18976 * check/gst/gstutils.c:
18977 * check/gst/gstvalue.c:
18978 * check/net/.cvsignore:
18979 * check/net/gstnetclientclock.c:
18980 * check/net/gstnettimeprovider.c:
18981 * check/pipelines/.cvsignore:
18982 * check/pipelines/cleanup.c:
18983 * check/pipelines/simple_launch_lines.c:
18984 * check/pipelines/stress.c:
18985 * check/states/.cvsignore:
18986 * check/states/sinks.c:
18988 * examples/Makefile.am:
18989 * examples/appreader/.cvsignore:
18990 * examples/appreader/Makefile.am:
18991 * examples/appreader/appreader.c:
18992 * examples/controller/.cvsignore:
18993 * examples/controller/Makefile.am:
18994 * examples/controller/audio-example.c:
18995 * examples/cutter/.cvsignore:
18996 * examples/cutter/Makefile.am:
18997 * examples/cutter/cutter.c:
18998 * examples/cutter/cutter.h:
18999 * examples/events/Makefile.am:
19000 * examples/events/seek.c:
19001 * examples/helloworld/.cvsignore:
19002 * examples/helloworld/Makefile.am:
19003 * examples/helloworld/helloworld.c:
19004 * examples/helloworld2/.cvsignore:
19005 * examples/helloworld2/Makefile.am:
19006 * examples/helloworld2/helloworld2.c:
19007 * examples/launch/.cvsignore:
19008 * examples/launch/Makefile.am:
19009 * examples/launch/mp3parselaunch.c:
19010 * examples/launch/mp3play:
19011 * examples/manual/.cvsignore:
19012 * examples/manual/Makefile.am:
19013 * examples/manual/extract.pl:
19014 * examples/metadata/Makefile.am:
19015 * examples/metadata/read-metadata.c:
19016 * examples/mixer/.cvsignore:
19017 * examples/mixer/Makefile.am:
19018 * examples/mixer/mixer.c:
19019 * examples/mixer/mixer.h:
19020 * examples/pingpong/.cvsignore:
19021 * examples/pingpong/Makefile.am:
19022 * examples/pingpong/pingpong.c:
19023 * examples/plugins/.cvsignore:
19024 * examples/plugins/Makefile.am:
19025 * examples/plugins/example.c:
19026 * examples/plugins/example.h:
19027 * examples/pwg/.cvsignore:
19028 * examples/pwg/Makefile.am:
19029 * examples/pwg/extract.pl:
19030 * examples/queue/.cvsignore:
19031 * examples/queue/Makefile.am:
19032 * examples/queue/queue.c:
19033 * examples/queue2/.cvsignore:
19034 * examples/queue2/Makefile.am:
19035 * examples/queue2/queue2.c:
19036 * examples/queue3/.cvsignore:
19037 * examples/queue3/Makefile.am:
19038 * examples/queue3/queue3.c:
19039 * examples/queue4/.cvsignore:
19040 * examples/queue4/Makefile.am:
19041 * examples/queue4/queue4.c:
19042 * examples/retag/.cvsignore:
19043 * examples/retag/Makefile.am:
19044 * examples/retag/retag.c:
19045 * examples/retag/transcode.c:
19046 * examples/thread/.cvsignore:
19047 * examples/thread/Makefile.am:
19048 * examples/thread/thread.c:
19049 * examples/typefind/.cvsignore:
19050 * examples/typefind/Makefile.am:
19051 * examples/typefind/typefind.c:
19052 * examples/xml/.cvsignore:
19053 * examples/xml/Makefile.am:
19054 * examples/xml/createxml.c:
19055 * examples/xml/runxml.c:
19056 * tests/Makefile.am:
19057 * tests/check/Makefile.am:
19058 * testsuite/.cvsignore:
19059 * testsuite/Makefile.am:
19061 * testsuite/caps/.cvsignore:
19062 * testsuite/caps/Makefile.am:
19063 * testsuite/caps/app_fixate.c:
19064 * testsuite/caps/audioscale.c:
19065 * testsuite/caps/caps.c:
19066 * testsuite/caps/caps.h:
19067 * testsuite/caps/caps_strings:
19068 * testsuite/caps/compatibility.c:
19069 * testsuite/caps/deserialize.c:
19070 * testsuite/caps/enumcaps.c:
19071 * testsuite/caps/eratosthenes.c:
19072 * testsuite/caps/filtercaps.c:
19073 * testsuite/caps/fixed.c:
19074 * testsuite/caps/fraction-convert.c:
19075 * testsuite/caps/fraction-multiply-and-zero.c:
19076 * testsuite/caps/intersect2.c:
19077 * testsuite/caps/intersection.c:
19078 * testsuite/caps/normalisation.c:
19079 * testsuite/caps/random.c:
19080 * testsuite/caps/renegotiate.c:
19081 * testsuite/caps/sets.c:
19082 * testsuite/caps/simplify.c:
19083 * testsuite/caps/string-conversions.c:
19084 * testsuite/caps/structure.c:
19085 * testsuite/caps/subtract.c:
19086 * testsuite/caps/union.c:
19087 * testsuite/debug/.cvsignore:
19088 * testsuite/debug/Makefile.am:
19089 * testsuite/debug/category.c:
19090 * testsuite/debug/commandline.c:
19091 * testsuite/debug/global.c:
19092 * testsuite/debug/output.c:
19093 * testsuite/debug/printf_extension.c:
19094 * testsuite/dlopen/.cvsignore:
19095 * testsuite/dlopen/Makefile.am:
19096 * testsuite/dlopen/dlopen_gst.c:
19097 * testsuite/dlopen/loadgst.c:
19098 * testsuite/elements/.cvsignore:
19099 * testsuite/elements/Makefile.am:
19100 * testsuite/elements/gst-inspect-check.in:
19101 * testsuite/elements/struct_i386.h:
19102 * testsuite/elements/struct_size.c:
19103 * testsuite/indexers/.cvsignore:
19104 * testsuite/indexers/Makefile.am:
19105 * testsuite/indexers/cache1.c:
19106 * testsuite/indexers/indexdump.c:
19107 * testsuite/parse/.cvsignore:
19108 * testsuite/parse/Makefile.am:
19109 * testsuite/parse/parse1.c:
19110 * testsuite/parse/parse2.c:
19111 * testsuite/plugin/.cvsignore:
19112 * testsuite/plugin/Makefile.am:
19113 * testsuite/plugin/README:
19114 * testsuite/plugin/dynamic.c:
19115 * testsuite/plugin/linked.c:
19116 * testsuite/plugin/loading.c:
19117 * testsuite/plugin/registry.c:
19118 * testsuite/plugin/static.c:
19119 * testsuite/plugin/static2.c:
19120 * testsuite/plugin/testplugin.c:
19121 * testsuite/plugin/testplugin2.c:
19122 * testsuite/plugin/testplugin2_s.c:
19123 * testsuite/plugin/testplugin_s.c:
19124 * testsuite/refcounting/.cvsignore:
19125 * testsuite/refcounting/Makefile.am:
19126 * testsuite/refcounting/bin.c:
19127 * testsuite/refcounting/element.c:
19128 * testsuite/refcounting/element_pad.c:
19129 * testsuite/refcounting/mainloop.c:
19130 * testsuite/refcounting/mem.c:
19131 * testsuite/refcounting/mem.h:
19132 * testsuite/refcounting/object.c:
19133 * testsuite/refcounting/pad.c:
19134 * testsuite/refcounting/sched.c:
19135 * testsuite/refcounting/thread.c:
19136 * testsuite/states/.cvsignore:
19137 * testsuite/states/Makefile.am:
19138 * testsuite/states/bin.c:
19139 * testsuite/states/locked.c:
19140 * testsuite/states/parent.c:
19141 * testsuite/threads/.cvsignore:
19142 * testsuite/threads/159566.c:
19143 * testsuite/threads/159852.c:
19144 * testsuite/threads/Makefile.am:
19145 * testsuite/threads/queue.c:
19146 * testsuite/threads/signals.c:
19147 * testsuite/threads/staticrec.c:
19148 * testsuite/threads/thread.c:
19149 * testsuite/threads/threadb.c:
19150 * testsuite/threads/threadc.c:
19151 * testsuite/threads/threadd.c:
19152 * testsuite/threads/threade.c:
19153 * testsuite/threads/threadf.c:
19154 * testsuite/threads/threadg.c:
19155 * testsuite/threads/threadh.c:
19156 * testsuite/threads/threadi.c:
19157 move all of these under tests
19159 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19162 * tests/Makefile.am:
19165 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19167 * docs/gst/gstreamer-sections.txt:
19168 * tests/sched/.cvsignore:
19169 * tests/sched/Makefile.am:
19170 * tests/sched/cases/(fs-fs).xml:
19171 * tests/sched/cases/(fs-i-fs).xml:
19172 * tests/sched/cases/(fs-i-i-fs).xml:
19173 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19174 * tests/sched/dynamic-pipeline.c:
19175 * tests/sched/interrupt1.c:
19176 * tests/sched/interrupt2.c:
19177 * tests/sched/interrupt3.c:
19178 * tests/sched/runtestcases:
19179 * tests/sched/runxml.c:
19180 * tests/sched/sched-stress.c:
19181 * tests/sched/sort.c:
19182 * tests/sched/testcases:
19183 * tests/sched/testcases1.tc:
19184 * tests/seeking/.cvsignore:
19185 * tests/seeking/Makefile.am:
19186 * tests/seeking/seeking1.c:
19187 * tests/threadstate/.cvsignore:
19188 * tests/threadstate/Makefile.am:
19189 * tests/threadstate/test1.c:
19190 * tests/threadstate/test2.c:
19191 * tests/threadstate/threadstate1.c:
19192 * tests/threadstate/threadstate2.c:
19193 * tests/threadstate/threadstate3.c:
19194 * tests/threadstate/threadstate4.c:
19195 * tests/threadstate/threadstate5.c:
19196 remove obsolete tests
19198 * tests/bench-complexity.scm:
19199 * tests/bench-mass_elements.scm:
19200 * tests/complexity.c:
19201 * tests/complexity.gnuplot:
19202 * tests/instantiate/.cvsignore:
19203 * tests/instantiate/Makefile.am:
19204 * tests/instantiate/caps.c:
19205 * tests/mass_elements.c:
19206 * tests/network-clock-utils.scm:
19207 * tests/network-clock.scm:
19209 First pass at cleaning up tests/ dir before moving the rest
19210 Combined with CVS surgery
19212 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19215 queue has moved, update
19217 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19219 * docs/gst/gstreamer-sections.txt:
19220 remove double entries from the docs
19221 * gst/gst_private.h:
19222 * gst/gstinfo.c: (_gst_debug_init):
19223 remove the THREAD debug category
19227 * docs/gst/gstreamer.types:
19228 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19229 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19230 completely move queue and fix up debugging categories
19232 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19234 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19235 make initialization portable, using LL is not
19237 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19239 * win32/common/gstconfig.h:
19242 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19244 * win32/common/libgstreamer.def:
19245 rename symbols; sort base section
19247 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19249 * gst/gstclock.c: (do_linear_regression):
19250 remove crack non-portable handrolled DEBUG macro
19252 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19254 * docs/random/release:
19256 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19257 (gst_object_flags_get_type), (register_gst_bin_flags),
19258 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19259 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19260 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19261 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19262 (gst_caps_flags_get_type), (register_gst_clock_return),
19263 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19264 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19265 (gst_clock_flags_get_type), (register_gst_state),
19266 (gst_state_get_type), (register_gst_state_change_return),
19267 (gst_state_change_return_get_type), (register_gst_state_change),
19268 (gst_state_change_get_type), (register_gst_element_flags),
19269 (gst_element_flags_get_type), (register_gst_core_error),
19270 (gst_core_error_get_type), (register_gst_library_error),
19271 (gst_library_error_get_type), (register_gst_resource_error),
19272 (gst_resource_error_get_type), (register_gst_stream_error),
19273 (gst_stream_error_get_type), (register_gst_event_type_flags),
19274 (gst_event_type_flags_get_type), (register_gst_event_type),
19275 (gst_event_type_get_type), (register_gst_seek_type),
19276 (gst_seek_type_get_type), (register_gst_seek_flags),
19277 (gst_seek_flags_get_type), (register_gst_format),
19278 (gst_format_get_type), (register_gst_index_certainty),
19279 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19280 (gst_index_entry_type_get_type),
19281 (register_gst_index_lookup_method),
19282 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19283 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19284 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19285 (gst_index_flags_get_type), (register_gst_debug_level),
19286 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19287 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19288 (gst_iterator_result_get_type), (register_gst_iterator_item),
19289 (gst_iterator_item_get_type), (register_gst_message_type),
19290 (gst_message_type_get_type), (register_gst_mini_object_flags),
19291 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19292 (gst_pad_link_return_get_type), (register_gst_flow_return),
19293 (gst_flow_return_get_type), (register_gst_activate_mode),
19294 (gst_activate_mode_get_type), (register_gst_pad_direction),
19295 (gst_pad_direction_get_type), (register_gst_pad_flags),
19296 (gst_pad_flags_get_type), (register_gst_pad_presence),
19297 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19298 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19299 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19300 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19301 (gst_plugin_flags_get_type), (register_gst_rank),
19302 (gst_rank_get_type), (register_gst_query_type),
19303 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19304 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19305 (gst_tag_flag_get_type), (register_gst_task_state),
19306 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19307 (gst_alloc_trace_flags_get_type),
19308 (register_gst_type_find_probability),
19309 (gst_type_find_probability_get_type), (register_gst_uri_type),
19310 (gst_uri_type_get_type), (register_gst_parse_error),
19311 (gst_parse_error_get_type):
19312 * win32/common/gstenumtypes.h:
19313 * win32/common/gstversion.h:
19314 update visual studio generated files
19316 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19318 * win32/vs6/libgstbase.dsp:
19319 * win32/vs6/libgstelements.dsp:
19320 update project files for new locations
19322 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19327 reinstate and update
19332 * docs/random/LICENSE:
19335 2005-11-30 Edward Hervey <edward@fluendo.com>
19337 * gst/gsttypefind.c: (gst_type_find_register):
19338 * gst/gsttypefind.h:
19339 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19340 (gst_type_find_factory_dispose):
19341 * gst/gsttypefindfactory.h:
19342 Fix memory leak in GstTypeFindFactory.
19344 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19347 * plugins/elements/Makefile.am:
19348 * plugins/elements/gstelements.c:
19349 * plugins/elements/gstqueue.c:
19350 move queue from core to the elements plugin
19352 2005-11-29 Andy Wingo <wingo@pobox.com>
19354 * libs/gst/base/gstbasetransform.h:
19355 * libs/gst/base/gstbasesrc.h:
19356 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19358 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19359 of pointers by which to pad very extensible base classes (like the
19360 ones in libs/gst/base).
19362 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19364 * docs/gst/gstreamer-docs.sgml:
19365 * docs/gst/gstreamer-sections.txt:
19366 * docs/libs/gstreamer-libs-docs.sgml:
19367 * docs/libs/gstreamer-libs-sections.txt:
19368 moving documentation from core to lib
19370 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19372 * check/Makefile.am:
19374 * docs/gst/Makefile.am:
19376 * gst/base/.cvsignore:
19377 * gst/base/Makefile.am:
19379 * gst/base/gstadapter.c:
19380 * gst/base/gstadapter.h:
19381 * gst/base/gstbasesink.c:
19382 * gst/base/gstbasesink.h:
19383 * gst/base/gstbasesrc.c:
19384 * gst/base/gstbasesrc.h:
19385 * gst/base/gstbasetransform.c:
19386 * gst/base/gstbasetransform.h:
19387 * gst/base/gstcollectpads.c:
19388 * gst/base/gstcollectpads.h:
19389 * gst/base/gstpushsrc.c:
19390 * gst/base/gstpushsrc.h:
19391 * gst/base/gsttypefindhelper.c:
19392 * gst/base/gsttypefindhelper.h:
19393 * gst/check/Makefile.am:
19394 * gst/check/gstcheck.c:
19395 * gst/check/gstcheck.h:
19396 * gst/net/Makefile.am:
19397 * gst/net/gstnet.h:
19398 * gst/net/gstnetclientclock.c:
19399 * gst/net/gstnetclientclock.h:
19400 * gst/net/gstnettimepacket.c:
19401 * gst/net/gstnettimepacket.h:
19402 * gst/net/gstnettimeprovider.c:
19403 * gst/net/gstnettimeprovider.h:
19404 * libs/gst/Makefile.am:
19405 * libs/gst/base/Makefile.am:
19406 * libs/gst/base/gstbasetransform.c:
19407 * libs/gst/check/Makefile.am:
19408 * plugins/elements/Makefile.am:
19410 CVS surgery + support to move base, check, and net out of gst
19413 2005-11-29 Andy Wingo <wingo@pobox.com>
19415 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19417 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19420 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19422 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19424 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19426 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19427 padding; reduces object size by about 30%. We don't expect
19428 anything else to go into gstobject.
19430 * gst/gstminiobject.h (struct _GstMiniObject)
19431 (struct _GstMiniObjectClass): Only one pointer of padding; the
19432 payload is only a pointer and two ints anyway. For the class there
19433 are only two methods as well.
19435 * gst/gstelement.h (struct _GstElementClass): Removed
19436 the state_changed signal callback, it is not used.
19438 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19440 * docs/gst/gstreamer.types:
19441 fix includes, though they are a little dinky
19443 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19445 * check/Makefile.am:
19446 look in the right place for elements, a lot more chance of
19449 remove indexers and elements subdirs
19450 * plugins/Makefile.am:
19451 make indexers conditional
19453 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19457 * plugins/elements/Makefile.am:
19458 * plugins/elements/gstcapsfilter.c:
19459 * plugins/elements/gstfilesink.c:
19460 * plugins/elements/gstfilesrc.c:
19461 * plugins/elements/gstidentity.c:
19462 * plugins/indexers/Makefile.am:
19463 do CVS surgery and related build fixery to move elements
19464 and indexers in a new gstreamer/plugins directory, out of the
19467 2005-11-29 Andy Wingo <wingo@pobox.com>
19469 * check/Makefile.am:
19470 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19471 * pkgconfig/gstreamer-net.pc.in:
19472 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19475 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19477 * tools/Makefile.am:
19478 * tools/gst-complete.1.in:
19479 * tools/gst-complete.c:
19480 * tools/gst-compprep.1.in:
19481 * tools/gst-compprep.c:
19482 removing -compprep and -complete
19484 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19486 * gst/gstevent.c: (gst_event_new_new_segment),
19487 (gst_event_parse_new_segment):
19489 fix #320529 - clean up new_segment API and structure.
19490 Let's hope everyone was using the methods, and not the structure.
19492 2005-11-29 Edward Hervey <edward@fluendo.com>
19494 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19495 (gst_base_sink_event), (gst_base_sink_do_sync),
19496 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19497 Properly handle non GST_FORMAT_TIME segment
19498 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19499 Properly handle non GST_FORMAT_TIME segment
19500 * gst/gstsegment.c:
19501 This function is valid if the accumulator is 0 and the format
19502 is different from the requested format.
19504 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19506 * docs/gst/gstreamer-sections.txt:
19507 Add gst_query_new_seeking and gst_query_parse_seeking to the
19510 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19512 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19513 Treat a pad alloc with new caps the same as if we were not
19514 negotiated, in order to allow a changing upstream output
19515 to produce a new format of data.
19517 2005-11-29 Edward Hervey <edward@fluendo.com>
19519 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19520 (gst_base_transform_event), (gst_base_transform_eventfunc):
19521 The event virtual method is now properly implemented, with a default
19523 Sub classes should call the parent_class event method. They should
19524 return FALSE if they had a problem handling the given event, or don't
19525 want GstBaseTransform to send that even downstream
19526 * gst/elements/gstidentity.c: (gst_identity_class_init),
19527 (gst_identity_init), (gst_identity_event),
19528 (gst_identity_transform_ip), (gst_identity_set_property),
19529 (gst_identity_get_property):
19530 * gst/elements/gstidentity.h:
19531 Added the single-segment boolean property.
19532 If set to TRUE, it will output a single segment of data, starting from
19533 0, will eat up all incoming newsegment, and modify the timestamp of the
19534 buffers accordingly
19536 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19538 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19539 Don't ref NULL target pad (#322751). Improve docs.
19541 2005-11-29 Michael Smith <msmith@fluendo.com>
19543 * gst/gstregistryxml.c: (load_plugin):
19544 Don't crash if we failed to load a feature from a plugin.
19546 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19548 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19550 use more check API and less GLib API
19552 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19555 don't run checks if we don't have check
19556 * common/check.mak:
19557 remove the registry when running make torture
19558 * docs/gst/gstreamer-sections.txt:
19559 remove second multiply
19560 * gst/gstqueue.c: (gst_queue_loop):
19561 fix a compile warning when disabling debug
19563 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19566 Hey! Let's print the pad name if the pointer != NULL instead
19567 of when it == NULL :-)
19569 2005-11-28 Wim Taymans <wim@fluendo.com>
19571 * check/gst/gstutils.c: (GST_START_TEST):
19572 Updated check, add some scaling accuracy checking code.
19574 * gst/gstutils.c: (gst_util_div128_64),
19575 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19576 (gst_util_uint64_scale_int):
19577 Fix 6 times faster division code. Optimize for common
19578 1/1 and less common X/1 cases.
19580 2005-11-28 Wim Taymans <wim@fluendo.com>
19582 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19585 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19586 (do_linear_regression), (gst_clock_add_observation):
19588 Release lock when the clock cannot be slaved.
19589 Catch the case where the regression returned an invalid denominator.
19591 * gst/gstutils.c: (gst_util_div128_64_iterate),
19592 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19593 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19594 Add protentially more performant non-iterative 128/64 divide function
19595 that unfortunatly does not work yet.
19596 Shortcut the trivial 0/X = 0 case.
19597 Remove the warnings on overflow.
19599 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19601 * gst/gstplugin.c: (gst_plugin_register_func):
19602 everything causing a plugin not to load should be at least a WARNING
19604 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19606 * docs/random/ensonic/dparams.txt:
19607 some TODOs for the next dev cycle
19608 * libs/gst/controller/gstcontroller.c:
19609 (gst_controlled_property_set_interpolation_mode),
19610 (gst_controlled_property_new):
19611 * libs/gst/controller/gstcontroller.h:
19612 use base type to assign acccessor functions
19614 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19616 * check/Makefile.am:
19617 Oops, that should have been top_srcdir
19619 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19621 * check/Makefile.am:
19622 * check/elements/fdsrc.c: (GST_START_TEST):
19623 Use a cmdline define to specify the location of a file to use for
19624 testing, to avoid breaking distcheck.
19626 2005-11-28 Andy Wingo <wingo@pobox.com>
19628 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19630 2005-11-28 Edward Hervey <edward@fluendo.com>
19632 * tools/gst-launch.c: (main):
19633 Clarify the output strings, makes it easier to translate.
19636 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19639 don't try and build net if we don't even have <sys/socket.h>
19641 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19643 * check/Makefile.am:
19644 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19645 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19646 Add tests for fdsrc seekability
19648 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19649 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19650 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19651 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19652 * gst/elements/gstfdsrc.h:
19653 fdsrc should not be a 'live' source.
19654 Implement seeking on seekable fd's.
19656 * gst/gstquery.c: (gst_query_new_seeking),
19657 (gst_query_parse_seeking):
19659 Implement SEEKING query functions:
19660 *_new_seeking and *_parse_seeking
19662 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19664 * gst/gstelement.c: (gst_element_dispose):
19667 * gst/gstiterator.c:
19668 * gst/gststructure.c:
19671 * libs/gst/controller/gstcontroller.c:
19672 (gst_controlled_property_set_interpolation_mode):
19673 * libs/gst/controller/gstcontroller.h:
19674 * libs/gst/controller/gstinterpolation.c:
19675 (interpolate_none_get_enum_value_array):
19676 support controlling enums
19678 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19681 Improve documentation for gst_value_union().
19684 Change return value for union, intersect and subtract functions
19685 from gint to gboolean.
19687 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19689 * gst/gstvalue.c: (gst_value_serialize_any_list),
19690 (gst_value_transform_any_list_string),
19691 (gst_value_deserialize_list), (gst_value_deserialize_array),
19692 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19693 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19694 (gst_value_set_fraction_range_full),
19695 (gst_value_deserialize_fraction_range),
19696 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19697 (gst_value_deserialize_boolean),
19698 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19699 (gst_value_serialize_float), (gst_value_deserialize_float),
19700 (gst_string_wrap), (gst_value_deserialize_string),
19701 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19702 (gst_value_union_int_range_int_range),
19703 (gst_value_intersect_int_range_int_range),
19704 (gst_value_intersect_double_range_double_range),
19705 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19706 (gst_value_subtract_int_range_int_range),
19707 (gst_value_subtract_double_double_range),
19708 (gst_value_subtract_double_range_double_range),
19709 (gst_value_deserialize_fraction):
19711 Use gint, gdouble and gchar in our API instead of int, double and
19712 char (and make usage in gstvalue.c more consistent).
19714 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19716 * check/Makefile.am:
19717 * libs/gst/controller/Makefile.am:
19718 * libs/gst/dataprotocol/Makefile.am:
19719 fix up Makefile.am and remove GST_ENABLE_NEW
19721 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19725 * gst/base/Makefile.am:
19726 * gst/check/Makefile.am:
19727 * gst/elements/Makefile.am:
19728 * gst/net/Makefile.am:
19729 update LDFLAGS use some more
19731 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19733 * common/m4/gst-doc.m4:
19736 2005-11-26 Edward Hervey <edward@fluendo.com>
19738 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19739 This shouldn't issue a g_warning since it returns NULL if it
19740 couldn't find the plugin, and all functions using this behave
19741 properly on a NULL return. Switching to a GST_WARNING.
19743 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19745 * gst/gstbin.c: (gst_bin_handle_message_func):
19746 Don't leak clock messages.
19748 2005-11-25 Wim Taymans <wim@fluendo.com>
19750 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19751 (gst_util_uint64_scale_int):
19752 Optimisations, remove unneeded vars.
19754 2005-11-25 Wim Taymans <wim@fluendo.com>
19756 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19757 Added more checks for the high precision uint64 cases.
19759 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19760 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19761 Implement high precision (guint64 * guint64) / guint64.
19763 2005-11-24 Wim Taymans <wim@fluendo.com>
19765 * gst/base/gstbasesrc.c: (gst_base_src_query):
19766 Fix wrong percentage query.
19768 * gst/gstutils.c: (gst_util_uint64_scale),
19769 (gst_util_uint64_scale_int):
19770 Add some more common cases that can be handled
19771 efficiently to _scale.
19773 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19775 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19776 (gst_mini_object_suite):
19777 don't use check calls from threads; check probably isn't
19778 threadsafe and using a lock to make it threadsafe would
19779 defeat the purpose of this check
19780 * gst/check/gstcheck.c:
19781 * gst/check/gstcheck.h:
19782 use GST_DEBUG some more
19784 2005-11-24 Wim Taymans <wim@fluendo.com>
19786 * gst/gstutils.c: (gst_util_uint64_scale),
19787 (gst_util_uint64_scale_int):
19788 Chain trivial case to _scale_int.
19790 2005-11-24 Wim Taymans <wim@fluendo.com>
19792 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19793 Added test for scaling.
19798 * gst/gstutils.c: (gst_util_uint64_scale_int):
19799 Implemented high precision scaling code.
19801 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19804 do not crash on pad==NULL
19806 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19808 Patch by: Stefan Kost
19810 * common/gtk-doc.mak:
19811 * docs/gst/Makefile.am:
19812 * docs/libs/Makefile.am:
19813 Fix distcheck issues for the libraries docs build
19816 2005-11-24 Michael Smith <msmith@fluendo.com>
19818 * docs/manual/basics-helloworld.xml:
19819 Fix bug #315027: memory leak in example code in docs.
19821 2005-11-24 Michael Smith <msmith@fluendo.com>
19823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19824 Unlock the PREROLL_LOCK in a failure case.
19826 2005-11-24 Wim Taymans <wim@fluendo.com>
19828 * docs/gst/gstreamer-sections.txt:
19829 * gst/base/gstadapter.h:
19830 * gst/base/gstbasesink.h:
19831 * gst/base/gstbasesrc.h:
19832 * gst/base/gstbasetransform.h:
19833 * gst/base/gstpushsrc.h:
19834 * gst/elements/gstfakesink.h:
19835 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19836 * gst/elements/gstfakesrc.h:
19837 * gst/elements/gstfilesink.h:
19838 * gst/elements/gstfilesrc.h:
19841 * gst/gstbuffer.c: (_gst_buffer_copy):
19844 * gst/gstchildproxy.c:
19846 * gst/gstelement.c:
19847 * gst/gstelementfactory.c:
19848 * gst/gstelementfactory.h:
19850 * gst/gstghostpad.h:
19852 * gst/gstinterface.h:
19853 * gst/gstminiobject.c:
19854 * gst/gstminiobject.h:
19857 * gst/gstpadtemplate.h:
19858 * gst/gstpipeline.h:
19859 * gst/gstpluginfeature.h:
19862 * gst/gsttaglist.c:
19863 * gst/gsttaglist.h:
19864 * gst/gsttagsetter.c:
19865 * gst/gsttagsetter.h:
19868 * gst/gsttypefind.h:
19871 * gst/net/gstnetclientclock.c:
19872 * gst/net/gstnetclientclock.h:
19873 * gst/net/gstnettimepacket.c:
19874 * gst/net/gstnettimeprovider.c:
19875 * gst/net/gstnettimeprovider.h:
19878 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19880 * configure.ac: back to HEAD
19882 === release 0.9.6 ===
19884 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19887 releasing 0.9.6, "Always On Time"
19889 2005-11-23 Wim Taymans <wim@fluendo.com>
19891 * docs/gst/gstreamer-sections.txt:
19892 * gst/glib-compat.c:
19893 * gst/gsttagsetter.c:
19895 * gst/net/gstnetclientclock.c:
19896 * gst/net/gstnettimepacket.h:
19899 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19901 * docs/faq/using.xml:
19902 * docs/libs/tmpl/gstcontrol.sgml:
19903 * docs/manual/advanced-dparams.xml:
19904 * docs/manual/appendix-checklist.xml:
19905 * docs/manual/basics-elements.xml:
19906 * docs/pwg/other-source.xml:
19907 * docs/random/moving-plugins:
19909 * tools/gst-launch.1.in:
19910 remove mentions of sinesrc
19912 2005-11-23 Michael Smith <msmith@fluendo.com>
19914 * docs/gst/gstreamer-sections.txt:
19915 Update for new API and API changes.
19917 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19919 Documentation typo fix.
19920 * gst/net/gstnettimepacket.c:
19921 Documentation fixes for arguments.
19923 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19925 * gst/gststructure.c: (gst_structure_get_fraction),
19926 (gst_structure_parse_value),
19927 (gst_structure_fixate_field_nearest_fraction):
19928 * gst/gststructure.h:
19929 * gst/gstutils.c: (gst_util_uint64_scale_int):
19931 * scripts/update-funcnames:
19933 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19934 Make gst_structure_fixate_field_nearest_fraction take a numerator
19935 and denominator argument instead of a GValue
19936 add gst_structure_get_fraction helper function.
19938 2005-11-23 Wim Taymans <wim@fluendo.com>
19940 * docs/design/part-TODO.txt:
19943 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19944 * gst/net/gstnetclientclock.h:
19945 Use parent fields for timeout and window_size.
19947 2005-11-23 Andy Wingo <wingo@pobox.com>
19949 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19950 rate_num/rate_denom change.
19952 * gst/net/gstnetclientclock.c
19953 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19954 OBJECT_LOCK. Don't call add_observation with the lock.
19956 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19958 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19960 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19961 deal with rate as a fraction whose numerator and denominator are
19962 GstClockTime values.
19963 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19964 master; the other fields are protected by the SLAVE_LOCK.
19965 (do_linear_regression): Note that this must be called with the
19967 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19968 OBJECT_LOCK. Call set_calibration instead of touching the
19969 variables directly.
19970 (gst_clock_set_property, gst_clock_get_property): Protect
19971 master/slave parameters with the SLAVE_LOCK.
19973 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19974 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19975 note that all of the instance variables that add_observation and
19976 the set_master functions use are protected by that lock and not
19978 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19980 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19981 the caller to take the object lock.
19983 2005-11-23 Wim Taymans <wim@fluendo.com>
19985 * gst/gsterror.c: (_gst_core_errors_init):
19987 Add error for clock stuff.
19989 * gst/gstpipeline.c: (gst_pipeline_change_state),
19990 (gst_pipeline_set_clock):
19991 Post clock error when clock cannot be used in a pipeline.
19993 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19995 * docs/gst/gstreamer-sections.txt:
19996 make two symbols from gstinfo private for the docs
19997 * gst/base/gstcollectpads.h:
19999 fix doc typos, update docs
20001 2005-11-22 Wim Taymans <wim@fluendo.com>
20003 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20004 (gst_base_sink_wait), (gst_base_sink_do_sync),
20005 (gst_base_sink_handle_event):
20006 * gst/base/gstbasesink.h:
20007 No need to store the clock, the parent element class already
20010 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20011 Updates for clock_set returning a gboolean
20013 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20014 (gst_clock_id_wait_async), (gst_clock_class_init),
20015 (gst_clock_init), (gst_clock_finalize),
20016 (gst_clock_get_internal_time), (gst_clock_get_time),
20017 (gst_clock_slave_callback), (gst_clock_set_master),
20018 (gst_clock_get_master), (do_linear_regression),
20019 (gst_clock_add_observation), (gst_clock_set_property),
20020 (gst_clock_get_property):
20022 Implement master/slave. When setting a clock as a slave, a
20023 periodic timeout is scheduled to sample master and slave times.
20024 Then the slave clock is recalibrated to match offset and rate
20025 of the master clock.
20026 Update logging a bit.
20027 Add flag so that a clock can state that is cannot be slaved to
20030 * gst/gstelement.c: (gst_element_set_clock):
20031 * gst/gstelement.h:
20032 The set clock returns a gboolean for when an element cannot
20033 deal with the selected clock in the pipeline.
20035 * gst/gstpipeline.c: (gst_pipeline_change_state),
20036 (gst_pipeline_set_clock):
20037 * gst/gstpipeline.h:
20038 Handle the case where the selected clock cannot be set on
20041 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20042 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20043 (gst_net_client_clock_set_property),
20044 (gst_net_client_clock_get_property),
20045 (gst_net_client_clock_observe_times):
20046 * gst/net/gstnetclientclock.h:
20047 Use regression code in GstClock parent, remove duplicated
20050 2005-11-22 Michael Smith <msmith@fluendo.com>
20052 * gst/gstutils.c: (gst_util_clock_time_scale):
20054 * docs/gst/gstreamer-sections.txt:
20055 Rename method to have extra underscore.
20057 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20059 * gst/elements/Makefile.am:
20060 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20061 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20062 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20063 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20064 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20065 * gst/elements/gstfakesrc.h:
20066 * gst/gstqueue.c: (queue_leaky_get_type):
20067 correctly fix GEnumValues so that nick is the short lowercase
20069 * tools/gst-inspect.c: (print_element_properties_info):
20070 also show the nick, since it's useful to use from parse_launch
20074 2005-11-22 Michael Smith <msmith@fluendo.com>
20076 * gst/gstutils.c: (gst_util_clocktime_scale):
20078 * docs/gst/gstreamer-sections.txt:
20079 Add util method for scaling a clocktime by a fraction. Useful
20080 implementation is left as an exercise for the reader.
20082 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20084 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20085 If needed, allocate storage in the destination value during
20088 2005-11-22 Edward Hervey <edward@fluendo.com>
20090 * docs/gst/gstreamer-sections.txt:
20093 * gst/gsturitype.c:
20094 * gst/gsturitype.h:
20095 * gst/gstutils.c: (gst_util_set_object_arg):
20096 * tools/gst-compprep.c: (main):
20097 * tools/gst-inspect.c: (print_element_properties_info):
20098 Removed GstURI, closes bug #321061
20100 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20102 * check/gst/gststructure.c: (GST_START_TEST):
20103 * gst/gststructure.c: (gst_structure_parse_value):
20104 Oops, broke automatic string type parsing.
20105 Add a test to catch it in future.
20107 2005-11-22 Andy Wingo <wingo@pobox.com>
20109 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20110 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20111 Actually rename the function implementations. Grr.
20113 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20115 * check/gst/capslist.h:
20117 * check/gst/gststructure.c: (GST_START_TEST),
20118 (gst_structure_suite):
20119 Test automatic value type detection in gst_structure_from_string.
20120 * gst/gststructure.c: (gst_structure_parse_value):
20121 Add fraction as a type we try and guess automatically in
20122 caps/structure strings.
20124 2005-11-22 Andy Wingo <wingo@pobox.com>
20126 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20128 * gst/gsttagsetter.h:
20129 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20130 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20131 (gst_tag_setter_add_tag_valist)
20132 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20133 _add_values, _add_valist, and _add_valist_values. Since this is an
20134 interface the function suffixes should be more explicit so
20135 language binding don't end up with element.add_valist ->
20136 gst_tag_setter_add_valist, for example. Fixes #322069.
20138 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20140 * check/gst/gstcaps.c: (GST_START_TEST):
20141 Extend caps string tests to check that a caps to string
20142 conversion is reversible and produces the same caps.
20144 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20145 Output "fraction" as the generic type fraction range, so caps
20146 serialisation and deserialisation works.
20147 * check/gst/capslist.h:
20148 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20149 Support 'MIN' and 'MAX' for deserialising fractions.
20151 2005-11-22 Andy Wingo <wingo@pobox.com>
20153 * gst/gstevent.h (gst_event_new_new_segment)
20154 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20155 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20156 Renamed from *_newsegment, *_buffersize, *_notarget.
20158 * scripts/update-funcnames: New script, performs the changes
20161 2005-11-22 Wim Taymans <wim@fluendo.com>
20163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20164 Make sure the GstFlowReturn is returned.
20166 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20167 (gst_bus_add_signal_watch):
20169 add gst_bus_add_signal_watch_full.
20171 * gst/gstplugin.c: (gst_plugin_load_file):
20172 Small style cleanup.
20174 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20176 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20177 Block the fakesrc srcpad when we send an event, to avoid
20178 contention on the stream_lock causing random test failures.
20180 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20182 * check/gst/gstvalue.c: (GST_START_TEST):
20183 * gst/gstvalue.c: (gst_value_fraction_subtract):
20186 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20189 include "gstchildproxy.h"
20190 * gst/gstchildproxy.h:
20191 * libs/gst/controller/gstcontroller.h:
20192 use G_GNUC_NULL_TERMINATED
20194 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20196 * check/gst/capslist.h:
20197 * check/gst/gstcaps.c: (GST_START_TEST):
20198 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20199 * gst/gststructure.c: (gst_structure_parse_range),
20200 (gst_structure_fixate_field_nearest_fraction):
20201 * gst/gststructure.h:
20202 * gst/gstvalue.c: (gst_value_init_fraction_range),
20203 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20204 (gst_value_collect_fraction_range),
20205 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20206 (gst_value_set_fraction_range_full),
20207 (gst_value_get_fraction_range_min),
20208 (gst_value_get_fraction_range_max),
20209 (gst_value_serialize_fraction_range),
20210 (gst_value_transform_fraction_range_string),
20211 (gst_value_compare_fraction_range),
20212 (gst_value_deserialize_fraction_range),
20213 (gst_value_intersect_fraction_fraction_range),
20214 (gst_value_intersect_fraction_range_fraction_range),
20215 (gst_value_subtract_fraction_fraction_range),
20216 (gst_value_subtract_fraction_range_fraction),
20217 (gst_value_subtract_fraction_range_fraction_range),
20218 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20219 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20220 (gst_value_transform_string_fraction), (_gst_value_initialize):
20222 Implement fraction ranges and extend GstFraction to support
20223 arithmetic subtraction, as well as deserialization from integer
20224 strings such as "100"
20225 Add a testsuite as for int and double range set operations
20227 2005-11-21 Andy Wingo <wingo@pobox.com>
20229 * gst/gsttaglist.h:
20231 * gst/gststructure.h: Add glib-compat.h.
20233 2005-11-21 Wim Taymans <wim@fluendo.com>
20235 * gst/gstbin.c: (gst_bin_change_state_func):
20238 2005-11-21 Wim Taymans <wim@fluendo.com>
20240 * gst/gstsegment.h:
20241 And add a nice define too.
20243 2005-11-21 Wim Taymans <wim@fluendo.com>
20245 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20246 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20247 (gst_segment_set_duration), (gst_segment_set_last_stop),
20248 (gst_segment_set_seek), (gst_segment_set_newsegment),
20249 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20250 (gst_segment_clip):
20251 * gst/gstsegment.h:
20252 Make binding friendly.
20254 2005-11-21 Andy Wingo <wingo@pobox.com>
20256 * gst/gsttagsetter.h:
20257 * gst/gsttaglist.h:
20258 * gst/gststructure.h:
20260 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20263 * gst/gsterror.c (_gst_core_errors_init):
20264 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20267 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20268 (noinst_HEADERS): noinst the -private.
20270 2005-11-21 Michael Smith <msmith@fluendo.com>
20273 * gst/gstregistry.h:
20274 Remove unimplemented declarations for which we can see no sensible
20277 2005-11-21 Andy Wingo <wingo@pobox.com>
20279 * gst/gst.h: Include glib-compat.h.
20281 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20283 * gst/glib-compat.c: Include the public and the private header.
20285 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20289 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20291 * check/gst/gstevent.c (create_custom_events): Check that
20292 FLUSH_STOP is serialized.
20294 * check/elements/identity.c (event_func):
20295 * check/elements/fakesrc.c (event_func): No stream lock, the core
20298 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20299 stream lock taking, yay.
20301 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20302 ensure that core takes the stream lock.
20304 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20307 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20308 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20309 it already. For the flush start we do take it though so we get the
20310 right preroll state change messages.
20312 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20313 the stream lock here, the core does it for us.
20315 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20316 GST_STREAM_GET_LOCK.
20317 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20318 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20319 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20320 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20321 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20322 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20324 * gst/gstpad.c: Update for stream lock name change.
20326 * gst/base/gstbasesink.c: Update for preroll lock name change.
20328 2005-11-21 Wim Taymans <wim@fluendo.com>
20330 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20331 (gst_clock_get_master):
20333 * gst/gstsystemclock.c: (gst_system_clock_init):
20334 Convert Clock flags to object flags.
20335 Added methods to manage master/slave clocks.
20337 2005-11-21 Wim Taymans <wim@fluendo.com>
20339 * check/gst/gstsegment.c: (GST_START_TEST):
20340 * docs/design/part-TODO.txt:
20341 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20342 (gst_base_sink_event), (gst_base_sink_do_sync),
20343 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20344 (gst_base_sink_query), (gst_base_sink_change_state):
20345 * gst/base/gstbasesink.h:
20346 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20347 (gst_base_src_default_newsegment),
20348 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20349 (gst_base_src_get_range), (gst_base_src_loop),
20350 (gst_base_src_change_state):
20351 * gst/base/gstbasesrc.h:
20352 * gst/base/gstbasetransform.c:
20353 (gst_base_transform_prepare_output_buf),
20354 (gst_base_transform_event), (gst_base_transform_change_state):
20355 * gst/base/gstbasetransform.h:
20356 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20357 (gst_collect_pads_event):
20358 * gst/base/gstcollectpads.h:
20359 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20360 (gst_fake_src_create):
20361 * gst/elements/gstfakesrc.h:
20362 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20363 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20364 (gst_segment_set_last_stop), (gst_segment_set_seek),
20365 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20366 (gst_segment_to_running_time), (gst_segment_clip):
20367 * gst/gstsegment.h:
20368 More segment updates, replace code in plugins with segment
20371 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20373 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20374 Don't ignore sscanf results
20376 2005-11-21 Andy Wingo <wingo@pobox.com>
20378 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20381 * *.c: Ran scripts/update-macros. Oh yes.
20383 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20384 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20387 * scripts/update-macros: New script. Run it on your files to
20388 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20391 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20393 * docs/gst/Makefile.am:
20394 * docs/gst/gstreamer-docs.sgml:
20395 * docs/gst/gstreamer-sections.txt:
20396 * docs/gst/gstreamer.types:
20398 more docs fixes, add new api to the docs
20400 2005-11-21 Andy Wingo <wingo@pobox.com>
20402 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20403 state_broadcast call.
20405 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20407 2005-11-21 Julien MOUTTE <julien@moutte.net>
20409 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20410 function calls for arrays.
20412 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20414 * docs/random/ensonic/media-device-daemon.txt:
20415 wild idea, can this be done?
20416 * docs/gst/gstreamer-sections.txt:
20421 * gst/gstpluginfeature.c:
20425 doc fixes and additions
20427 2005-11-21 Andy Wingo <wingo@pobox.com>
20429 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20430 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20431 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20432 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20433 private to the basesrc implementation.
20435 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20436 behalf of event function if necessary. It should no longer be
20437 necessary to take the stream lock in pad's event functions. Fixes
20440 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20441 * docs/gst/gstreamer-sections.txt:
20442 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20443 (gst_structure_fixate_field_nearest_double),
20444 (gst_structure_fixate_field_boolean):
20445 * gst/gststructure.h:
20446 * win32/common/libgstreamer.def:
20447 * win32/gstreamer.def:
20449 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20452 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20454 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20455 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20456 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20457 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20458 (gst_fdsrc_uri_handler_init):
20459 * gst/elements/gstfdsrc.h:
20460 Port fd:// URI handler from 0.8 to fdsrc
20462 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20464 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20465 (gst_value_serialize_fourcc):
20467 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20468 consistent with our other format defines (#320324).
20470 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20472 * gst/gstvalue.c: (gst_value_is_fixed):
20473 Revert previous commit. Value lists are by definition
20474 not fixed, as they are a list of possible values.
20476 2005-11-21 Andy Wingo <wingo@pobox.com>
20478 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20479 during the stable series if we need it. Fixes #319178.
20481 * gst/gstevent.c (gst_event_new_filler): Removed.
20483 * check/gst/gstevent.c: Update comment about filler events.
20485 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20487 * gst/gstvalue.c: (gst_value_is_fixed):
20488 Should handle both value arrays and value lists.
20490 2005-11-21 Andy Wingo <wingo@pobox.com>
20492 patch by: Alessandro Dessina <alessandro nnva org>
20494 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20495 functions to access arrays. Fixes #321962.
20497 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20499 * docs/gst/gstreamer.types:
20500 gst_collectpads_get_type => gst_collect_pads_get_type.
20502 * gst/base/gstbasetransform.c:
20503 Remove unused SIGNAL_HANDOFF enum.
20505 2005-11-21 Andy Wingo <wingo@pobox.com>
20507 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20508 the event type (upstream, downstream, serialized). Renamed
20509 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20510 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20511 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20513 * gst/gstevent.c: Update for new CUSTOM event names.
20515 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20518 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20521 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20523 * docs/gst/gstreamer-sections.txt:
20524 * win32/common/libgstbase.def:
20525 * win32/libgstbase.def:
20526 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20527 (gst_collect_pads_class_init), (gst_collect_pads_init),
20528 (gst_collect_pads_finalize), (gst_collect_pads_new),
20529 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20530 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20531 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20532 (gst_collect_pads_start), (gst_collect_pads_stop),
20533 (gst_collect_pads_peek), (gst_collect_pads_pop),
20534 (gst_collect_pads_available), (gst_collect_pads_read),
20535 (gst_collect_pads_flush), (gst_collect_pads_event),
20536 (gst_collect_pads_chain):
20537 * gst/base/gstcollectpads.h:
20538 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20539 unimplemented functions as unimplemented. Add padding to
20540 GstCollectData. (#320766, #320423)
20542 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20544 * gst/gstmessage.c:
20545 Improve docs for DURATION message (usage of duration parameter)
20548 2005-11-20 Wim Taymans <wim@fluendo.com>
20550 * check/Makefile.am:
20551 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20555 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20556 (gst_segment_set_seek), (gst_segment_set_newsegment),
20557 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20558 (gst_segment_clip):
20559 * gst/gstsegment.h:
20560 Added segment helper structure and methods. Not fully implemented
20562 Added segment check.
20564 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20566 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20567 Add a deserialisation test for fractions
20568 * examples/metadata/read-metadata.c: (message_loop),
20569 (make_pipeline), (main):
20570 Fix up metadata reading sample.
20571 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20573 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20574 Don't try and fixate empty caps
20575 * gst/gst_private.h:
20576 Wrap in G_BEGIN_DECLS/G_END_DECLS
20577 * gst/gstvalue.c: (gst_value_collect_fraction),
20578 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20579 (gst_value_transform_string_fraction),
20580 (gst_value_compare_fraction):
20581 Add some extra guards to ensure that we don't end up
20582 with an invalid denominator of 0 in a gstfraction and
20583 that fractions always get reduced.
20585 2005-11-20 Wim Taymans <wim@fluendo.com>
20587 * docs/gst/gstreamer-sections.txt:
20589 * gst/gstelement.c:
20598 2005-11-20 Wim Taymans <wim@fluendo.com>
20600 * docs/design/part-TODO.txt:
20602 Make a proper enum of the flag.
20604 2005-11-19 Wim Taymans <wim@fluendo.com>
20606 * docs/design/part-TODO.txt:
20607 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20608 (gst_format_to_quark), (gst_format_register):
20610 * gst/gstquery.c: (_gst_query_initialize),
20611 (gst_query_type_get_name), (gst_query_type_to_quark),
20612 (gst_query_type_register):
20614 Add type to quark and type to string conversions.
20616 2005-11-19 Andy Wingo <wingo@pobox.com>
20618 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20621 2005-11-19 Wim Taymans <wim@fluendo.com>
20623 * docs/design/part-TODO.txt:
20624 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20625 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20626 (gst_bin_handle_message_func):
20628 Make message handling overridable.
20630 2005-11-19 Andy Wingo <wingo@pobox.com>
20632 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20635 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20637 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20638 is a GstClockTime. Fixes #321710.
20640 * gst/gstclock.h (GstClock): Remove offset property. Add
20641 internal_calibration and external_calibration. Fix padding. Pad
20642 also by GstClockTime so we don't run into problems.
20644 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20645 (gst_clock_get_rate_offset): Remove.
20646 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20649 * gst/gstutils.c (g_static_rec_cond_wait)
20650 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20652 * gst/gstbin.c: Remove terrible continue_state prototype.
20654 * gst/gstelement.h (gst_element_continue_state): Make public.
20656 * gst/gstelement.h:
20657 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20658 by continue_state. Fixes #319389.
20660 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20661 Really fixes #168438. However I don't see anywhere where the
20662 filter function is called... stupid GStreamer...
20664 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20665 don't have a dispose function, so it won't get called when the
20666 object is unreffed, but oh well!
20668 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20669 allows a destroy function to be set so user_data can be freed.
20671 (gst_index_set_filter): Call gst_index_set_filter_full.
20673 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20675 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20676 string should produce an error, given the lack of a way to
20677 represent NULL strings. Fixes #165650.
20680 * gst/gstvalue.c (gst_value_array_append_value)
20681 (gst_value_array_prepend_value, gst_value_array_get_size)
20682 (gst_value_array_get_value): New API, copied from
20683 gst_value_list_*, only operates on arrays.
20684 (gst_value_list_append_value, gst_value_list_prepend_value)
20685 (gst_value_list_concat, gst_value_list_get_size)
20686 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20688 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20689 init_list, because it works on both.
20690 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20691 (gst_value_copy_list_or_array): Renamed from copy_list.
20692 (gst_value_free_list_or_array): Renamed from free_list.
20693 (gst_value_collect_list_or_array): Renamed from collect_list.
20694 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20695 (gst_value_list_or_array_peek_pointer): Renamed from
20697 (_gst_value_array_value_table, _gst_value_list_value_table):
20698 Update value table functions.
20699 (gst_value_compare_list_or_array): Renamed from compare_list.
20701 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20704 * gst/gsttaglist.c:
20705 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20706 GstTagList*. Fixes #143472.
20708 * gst/gststructure.h: Clarify what the foreach/map functions can
20709 or can't do to their arguments.
20711 2005-11-18 Wim Taymans <wim@fluendo.com>
20713 * gst/gstclock.c: (gst_clock_set_calibration),
20714 (gst_clock_get_calibration):
20716 Calibration can be set with internal time equal to current
20719 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20725 2005-11-18 Andy Wingo <wingo@pobox.com>
20728 * pkgconfig/gstreamer-net.pc.in:
20729 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20730 * pkgconfig/Makefile.am: Add net pkgconfig files.
20732 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20735 * gst/gstghostpad.c:
20741 2005-11-18 Andy Wingo <wingo@pobox.com>
20743 * gst/net/gstnetclientclock.c: Turn off debugging.
20745 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20746 times connverge somewhat. Can't make a real test.
20748 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20749 integer arithmetic. Return the minimum of the domain, which can be
20750 set as "internal" for gst_clock_set_calibration.
20751 (gst_net_client_clock_observe_times): Call _set_calibration.
20752 (gst_net_client_clock_new): Call _set_calibration instead of
20755 * check/net/gstnetclientclock.c (test_functioning): Use the right
20759 * gst/gstclock.c (gst_clock_get_calibration)
20760 (gst_clock_set_calibration): New functions, obsolete the ones I
20761 added yesterday. Doh. Precision issues mean we have to extrapolate
20762 from a point in the more recent past than 1970.
20763 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20765 (gst_clock_adjust_unlocked): Use the right calibration data.
20767 2005-11-18 Edward Hervey <edward@fluendo.com>
20769 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20770 Also reset the ->current_* values in READY->PAUSED
20772 2005-11-18 Andy Wingo <wingo@pobox.com>
20774 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20775 Whoops, check the right fd. Also add some debugging.
20776 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20777 (do_linear_regression): Add a crapload of debugging. Subtract off
20778 the minimum values from the input series to discard unneeded bits.
20779 Use only int arithmetic. There is still double arithmetic when
20780 calculating the intercept that needs fixing. Return boolean to
20781 indicate success; FALSE would mean the domain or range is too
20782 great. Still needs fixes.
20784 2005-11-18 Wim Taymans <wim@fluendo.com>
20786 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20787 For the current position in stream time, we need to subtract
20790 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20791 Release lock before calling the callback function of async
20794 2005-11-18 Andy Wingo <wingo@pobox.com>
20796 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20797 Port goes all the way to MAXUINT16.
20799 * gst/net/gstnettimeprovider.c: Make the port range the same as
20800 for the kernel: 0 assigns, otherwise ports are less than
20803 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20806 * check/net/gstnetclientclock.c (test_functioning): Add the start
20809 2005-11-18 Wim Taymans <wim@fluendo.com>
20811 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20812 (gst_bin_remove_func), (bin_bus_handler):
20814 Removing a clock provider from a bin, triggers a clock lost message
20815 so that a new clock will be selected.
20816 Adding a clock to a bin triggers a clock provider message.
20817 Make sure we reselect a clock when we received a clock lost message.
20818 Keep a reference to the element that provided the clock.
20820 2005-11-18 Andy Wingo <wingo@pobox.com>
20822 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20823 the clock initially so it produces values around the base time.
20824 (gst_net_client_clock_class_init): Typo fix.
20825 (gst_net_client_clock_thread): Add note on when the socket gets
20828 2005-11-17 Wim Taymans <wim@fluendo.com>
20830 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20831 Free remote and local time arrays.
20833 2005-11-17 Wim Taymans <wim@fluendo.com>
20835 * gst/net/gstnetclientclock.c: (do_linear_regression),
20836 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20837 Fix compilation, uninitialized vars and a forgotten continue.
20839 2005-11-17 Andy Wingo <wingo@pobox.com>
20841 * check/Makefile.am (check_PROGRAMS):
20842 * check/net/gstnetclientclock.c: Add a most minimal test for the
20843 net client clock. More to come later.
20845 * gst/net/gstnet.h:
20846 * gst/net/Makefile.am: Add netclientclock.
20848 * gst/net/gstnetclientclock.h:
20849 * gst/net/gstnetclientclock.c: New files, implement an untested
20850 GstClock that takes its time from a network time provider.
20851 Implements the algorithm in network-clock.scm.
20853 * tests/network-clock.scm (*window-size*): Rename from
20855 * tests/network-clock.scm (network-time):
20856 * tests/network-clock-utils.scm (q-push): Update callers.
20858 2005-11-17 Wim Taymans <wim@fluendo.com>
20860 * gst/gstbin.c: (gst_bin_provide_clock_func),
20861 (gst_bin_sort_iterator_new):
20862 And unref the child too..
20864 2005-11-17 Wim Taymans <wim@fluendo.com>
20866 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20867 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20868 Refactor the sort iterator so it can be used while holding the
20870 Make clock selection select a clock closest to the source.
20872 2005-11-17 Michael Smith <msmith@fluendo.com>
20874 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20875 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20877 Anonymous structs are a gcc (and some other compilers) extension, so
20878 don't use them. Since this is only for ABI-compatibility, and our
20879 API/ABI freeze is over in a few days, this whole thing will only
20880 last a few days, so don't bother trying to think up a meaningful
20881 name for the struct.
20883 2005-11-17 Andy Wingo <wingo@pobox.com>
20885 * gst/gstclock.h (GstClock): Add rate and offset properties,
20886 preserving ABI stability. Add rate/offset accessors. Will file bug
20887 for the freeze break.
20889 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20890 and offset, trying to keep precision and avoiding
20891 underflow/overflow.
20892 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20893 functions. Make gst_clock_set_time_adjust obsolete.
20894 (gst_clock_set_time_adjust): Note that this function is obsolete.
20895 Will file bug soon.
20897 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20898 greppable by using GST_PADDING-1+1.
20900 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20902 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20904 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20905 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20907 * gst/gstpadtemplate.h:
20908 * gst/gstpluginfeature.h:
20909 Don't use c++ style comments in headers (#321638).
20911 2005-11-16 Andy Wingo <wingo@pobox.com>
20913 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20916 * check/net/gstnettimeprovider.c: Check to see that the time
20917 provider actually provides times. Works, yo!
20919 2005-11-16 Wim Taymans <wim@fluendo.com>
20921 * check/Makefile.am:
20924 * check/elements/fakesrc.c: (GST_START_TEST):
20925 Set element to NULL before disposing it.
20927 2005-11-16 Andy Wingo <wingo@pobox.com>
20929 * gst/net/Makefile.am:
20930 * gst/net/gstnet.h:
20931 * gst/net/gstnettimeprovider.c:
20932 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20933 provider, include it from gstnet.h, and add it to the build.
20935 * gst/net/gstnettimepacket.h:
20936 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20937 sending and receiving.
20939 2005-11-16 Wim Taymans <wim@fluendo.com>
20941 * check/Makefile.am:
20942 Enable valgrind check.
20944 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20945 (gst_fake_src_alloc_buffer):
20948 2005-11-16 Wim Taymans <wim@fluendo.com>
20950 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20951 Call parent finalize too.
20953 2005-11-16 Wim Taymans <wim@fluendo.com>
20955 * check/Makefile.am:
20956 Enable valgrind check that should work fine now.
20958 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20959 * gst/gstqueue.c: (gst_queue_init):
20960 Fix memleaks in pad allocation.
20962 2005-11-16 Andy Wingo <wingo@pobox.com>
20964 * gst/net/Makefile.am:
20965 * gst/net/gstnet.h: New part of core to hold network elements and
20966 objects. Put in core because it exposes API that applications want
20967 to use. The library is named libgstnet-tempname right now because
20968 of the existing libgstnet in gst-plugins-base. Solution is
20969 probably to rename the one in plugins-base; will file a bug for
20972 * gst/net/gstnettimeprovider.c:
20973 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20974 get_time call over the network.
20977 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20979 * check/Makefile.am:
20980 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20981 get additions shortly.
20983 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20985 * gst/gstpad.c: (gst_pad_new_from_static_template):
20987 add gst_pad_new_from_static_template functions
20988 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20989 (gst_check_setup_sink_pad):
20990 * gst/elements/gsttee.c: (gst_tee_init):
20993 2005-11-16 Wim Taymans <wim@fluendo.com>
20995 * gst/gstpad.c: (gst_pad_pause_task):
20996 Removed warning, it's not really an error either.
20998 2005-11-16 Wim Taymans <wim@fluendo.com>
21000 * gst/base/gstbasetransform.c:
21001 (gst_base_transform_prepare_output_buf),
21002 (gst_base_transform_event):
21003 Check if the caps are NULL, this can happen if the element
21004 is shutting down and the pad caps are set to NULL.
21006 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21008 * gst/elements/gsttee.c: (gst_tee_init):
21009 fix pad template leak in tee
21011 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21013 * gst/glib-compat.c: (g_value_dup_gst_object):
21014 * gst/glib-compat.h:
21015 * gst/gstpad.c: (gst_pad_set_property):
21016 use gst_object_ref when setting the pad template; this will
21017 trigger the pad template leaks on GLib 2.6 and the slaves
21019 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21021 * gst/glib-compat.c: (gst_flags_get_first_value):
21022 * gst/glib-compat.h:
21023 * gst/gstregistryxml.c:
21024 remove functions copied from GLib 2.6
21026 2005-11-16 Michael Smith <msmith@fluendo.com>
21029 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21030 do, but only breaks with newer valgrind versions. We're not a
21031 valgrind tool, we have no link-time dependencies on libcoregrind.
21033 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21035 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21037 * gst/gstmessage.h:
21040 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21042 * gst/base/gstbasesrc.c: (gst_base_src_init):
21043 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21044 * gst/gstqueue.c: (gst_queue_init):
21045 * gst/gstregistryxml.c: (load_feature):
21046 Revert all these unrefs, they don't even pass make check !
21048 2005-11-15 Johan Dahlin <johan@gnome.org>
21050 * gst/base/gstbasesrc.c: (gst_base_src_init):
21051 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21052 * gst/gstqueue.c: (gst_queue_init):
21053 Free pad templates, fixes a couple of leaks.
21055 2005-11-15 Daniel Fischer <dan at f3c dot com>
21057 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21059 * gst/gstpad.c: (gst_pad_get_property):
21060 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21061 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21064 2005-11-15 Wim Taymans <wim@fluendo.com>
21069 2005-11-15 Andy Wingo <wingo@pobox.com>
21071 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21073 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21074 using GST_CLOCK_TIME_NONE to disable base time management.
21075 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21076 time if it was NONE before.
21077 (gst_pipeline_change_state): Only munge the base time if
21078 stream_time != GST_CLOCK_TIME_NONE.
21080 * check/gst/gstpipeline.c (test_base_time): Punt around the
21081 problem of the probe not being called, because that's not the
21082 issue I'm looking at. Add a check that setting stream_time to NONE
21083 disables base time management.
21085 2005-11-15 Wim Taymans <wim@fluendo.com>
21087 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21088 segment_stop == -1 at startup.
21090 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21091 (gst_base_transform_change_state):
21092 Init segment values at start.
21094 2005-11-15 Wim Taymans <wim@fluendo.com>
21096 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21097 0 segment values are 0 in any format.
21099 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21100 * gst/base/gstbasetransform.h:
21101 Parse newsegment correctly in basetransform
21103 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21104 Sync to clock using updated segment values.
21106 2005-11-15 Andy Wingo <wingo@pobox.com>
21108 * check/gst/gstpipeline.c (test_base_time): Add check that the
21109 base time and stream time are reset correctly.
21111 2005-11-15 Wim Taymans <wim@fluendo.com>
21113 * docs/design/part-TODO.txt:
21114 Some more TODO items.
21116 2005-11-15 Andy Wingo <wingo@pobox.com>
21118 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21119 error if the user selected "no clock" as the clocking method.
21121 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21122 timestamps with live capture.
21124 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21125 is 0 but we are a live source, timestamp the buffers using the
21128 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21130 * docs/gst/gstreamer-sections.txt:
21132 * gst/gstghostpad.c:
21137 2005-11-14 Wim Taymans <wim@fluendo.com>
21140 add suppressions from Wim's Debian machine
21142 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21145 add suppressions from Andy's AMD64 Ubuntu machine
21147 2005-11-14 Andy Wingo <wingo@pobox.com>
21149 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21150 STATE_LOCK not necessary. Fixes #311489.
21152 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21155 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21156 this function is not implemented.
21158 2005-11-14 Julien MOUTTE <julien@moutte.net>
21160 * gst/base/gstbasetransform.c:
21161 (gst_base_transform_prepare_output_buf):
21162 Ref the source pad caps while we need them.
21165 2005-11-11 Wim Taymans <wim@fluendo.com>
21167 * docs/gst/gstreamer-sections.txt:
21168 Added some docs for GstCollectData.
21170 * gst/base/gstadapter.c:
21171 Some small code example fix.
21173 * gst/base/gstcollectpads.c:
21174 * gst/base/gstcollectpads.h:
21175 Document some more.
21177 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21179 * configure.ac: back to HEAD
21181 === release 0.9.5 ===
21183 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21186 releasing 0.9.5, "Bike Lunch Day"
21188 2005-11-11 Wim Taymans <wim@fluendo.com>
21190 * gst/gstbuffer.c: (_gst_buffer_copy):
21193 * gst/gstcaps.c: (gst_caps_is_equal):
21195 Make _is_equal fast in the trivial cases.
21197 * gst/gstminiobject.c:
21198 * gst/gstminiobject.h:
21199 More docs. Spifify .h file.
21204 2005-11-11 Wim Taymans <wim@fluendo.com>
21206 * gst/base/gstbasetransform.c:
21207 (gst_base_transform_prepare_output_buf),
21208 (gst_base_transform_handle_buffer):
21210 If we're processing a buffer and need to allocate an output
21211 buffer, we cannot accept a format change. If we did get a
21212 format change, we have to alloc a buffer ourselves of the
21215 2005-11-11 Wim Taymans <wim@fluendo.com>
21217 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21218 While checking the flag for reentrancy in the gstcaps function
21219 is nice to detect recursive invocations, it also makes it
21220 impossible to call getcaps from multiple threads, which must be
21221 possible. So, checking for recursive calls has to go.
21223 2005-11-11 Michael Smith <msmith@fluendo.com>
21225 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21226 Don't sync on buffers that fall partially outside our current
21227 segment. Prevents an assertion failure/abort playing some files.
21229 2005-11-10 Andy Wingo <wingo@pobox.com>
21231 * check/gst/gstbin.c (test_message_state_changed_children): Style
21234 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21235 gst_bus_poll with the signal watch. Ensures that poll and a signal
21236 watch see the same messages.
21238 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21239 a poll and a watch at the same time get the same messages.
21241 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21243 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21244 * gst/gstcaps.c: (gst_caps_intersect):
21245 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21246 and it's not needed.
21248 2005-11-10 Wim Taymans <wim@fluendo.com>
21250 * docs/design/part-TODO.txt:
21253 2005-11-10 Wim Taymans <wim@fluendo.com>
21255 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21256 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21257 (gst_base_src_do_sync), (gst_base_src_get_range):
21258 Implement clock sync in base class.
21260 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21262 patch by: Tim-Philipp Müller <tim at centricular dot net>
21264 * gst/gststructure.c: (gst_structure_parse_field),
21265 (gst_structure_from_string):
21266 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21267 so that gst_parse_launch() can deal with spaces in filtered link
21268 caps (fixes #164479)
21269 * check/gst/capslist.h:
21270 * check/gst/gststructure.c: (GST_START_TEST):
21271 add unit tests for this change
21273 2005-11-10 Wim Taymans <wim@fluendo.com>
21275 * docs/gst/gstreamer-sections.txt:
21276 * gst/gstelement.c:
21277 * gst/gstelement.h:
21278 Fix docs, move some STATE macros to private.
21280 2005-11-10 Wim Taymans <wim@fluendo.com>
21282 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21283 Added check for bug #317341
21287 Some more spiffifying.
21289 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21290 Call peer linkfunction if we are a source pad. Totally fixes
21294 Update docs, source pads should call the peer linkfunction
21295 so they can atomically perform the pad link.
21297 2005-11-09 Wim Taymans <wim@fluendo.com>
21301 Uber-spiffy-spiffify some more.
21303 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21305 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21306 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21307 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21308 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21309 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21310 * gst/gstpad.c: (gst_pad_init):
21311 Use GST_DEBUG_FUNCPTR() more extensively.
21313 2005-11-09 Wim Taymans <wim@fluendo.com>
21315 * gst/gstobject.c: (gst_object_class_init):
21317 Documentation fixes.
21319 2005-11-09 Edward Hervey <edward@fluendo.com>
21321 * gst/gsttypefindfactory.c:
21324 2005-11-09 Edward Hervey <edward@fluendo.com>
21326 * gst/base/gsttypefindhelper.c:
21327 * gst/gsttypefind.c:
21328 * gst/gsttypefind.h:
21331 2005-11-09 Wim Taymans <wim@fluendo.com>
21333 * gst/gstiterator.c:
21340 2005-11-09 Wim Taymans <wim@fluendo.com>
21346 2005-11-09 Wim Taymans <wim@fluendo.com>
21348 * docs/gst/gstreamer-sections.txt:
21349 Moved the message async delivery private lock and cond
21350 to the private section.
21352 * gst/gstmessage.c:
21353 * gst/gstmessage.h:
21356 2005-11-09 Edward Hervey <edward@fluendo.com>
21358 * docs/gst/gstreamer-sections.txt:
21361 Document GstURIHandler
21363 2005-11-09 Wim Taymans <wim@fluendo.com>
21365 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21366 (gst_iterator_find_custom):
21367 * gst/gstiterator.h:
21370 2005-11-09 Wim Taymans <wim@fluendo.com>
21373 Document another field.
21375 * gst/gststructure.c:
21376 * gst/gststructure.h:
21379 2005-11-09 Wim Taymans <wim@fluendo.com>
21382 Documented structs.
21384 2005-11-09 Wim Taymans <wim@fluendo.com>
21386 * docs/gst/gstreamer-sections.txt:
21387 Added some new macros.
21394 2005-11-09 Wim Taymans <wim@fluendo.com>
21396 * docs/design/part-TODO.txt:
21397 Some more items for the TODO
21403 2005-11-09 Andy Wingo <wingo@pobox.com>
21405 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21406 to work on something else now tho...
21408 * gst/base/gstadapter.c: More adapter docs.
21410 * gst/elements/gstfilesink.c (gst_file_sink_start)
21411 (gst_file_sink_stop): New functions, replace the state change
21413 (gst_file_sink_class_init): Hook up the start and stop functions.
21414 (gst_file_sink_base_init): Don't set the state change handler any
21415 more. It was a bit ugly too, being set from here...
21416 (gst_file_sink_get_property, gst_file_sink_set_property):
21418 (gst_file_sink_set_location): More robust check that doesn't call
21419 GST_STATE. Ugggggg.
21421 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21423 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21424 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21426 2005-11-08 Wim Taymans <wim@fluendo.com>
21428 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21429 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21430 (gst_base_sink_chain), (gst_base_sink_change_state):
21431 * gst/base/gstbasesink.h:
21432 * gst/base/gstbasesrc.h:
21433 * gst/gstelement.h:
21435 Avoid excessive typechecking in macros.
21437 * gst/gstminiobject.c: (gst_mini_object_get_type),
21438 (gst_mini_object_init), (gst_mini_object_new),
21439 (gst_mini_object_free):
21440 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21441 (gst_object_finalize):
21442 Remove cruft code, optimize alloc_trace.
21444 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21446 * docs/faq/gst-uninstalled:
21447 fix up PS1 for systems that try to reset it
21449 2005-11-07 Wim Taymans <wim@fluendo.com>
21451 * gst/base/gstbasesrc.c: (gst_base_src_init),
21452 (gst_base_src_get_range):
21453 Set the segment_end to -1 initially. Fixed typefind.
21455 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21457 * gst/base/gstadapter.c:
21458 Debug category should be 'adapter', not 'GstAdapter'.
21460 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21461 (gst_collectpads_class_init), (gst_collectpads_init),
21462 (gst_collectpads_peek), (gst_collectpads_pop),
21463 (gst_collectpads_event), (gst_collectpads_chain):
21464 Add debug category and some debugging output. Use boilerplate
21465 macros. Remove some extraneous words from docs.
21467 2005-11-05 Andy Wingo <wingo@pobox.com>
21469 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21472 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21474 * docs/gst/gstreamer-sections.txt:
21477 * gst/gstminiobject.h:
21482 2005-11-04 Wim Taymans <wim@fluendo.com>
21484 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21485 Small update to stop at the configured segment_end
21488 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21490 * gst/gstregistry.c:
21491 * gst/gstregistry.h:
21494 2005-11-04 Edward Hervey <edward@fluendo.com>
21496 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21497 Check if we are doing a segment seek and have arrived at the
21498 end of that segment.
21500 2005-11-04 Wim Taymans <wim@fluendo.com>
21502 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21503 Don't leak a mutex unlock in case of an error.
21508 2005-11-04 Wim Taymans <wim@fluendo.com>
21510 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21512 Get the context to wake up only once.
21514 2005-11-03 Wim Taymans <wim@fluendo.com>
21516 * check/states/sinks.c: (GST_START_TEST):
21517 Uncomment fixed check.
21519 * docs/design/part-TODO.txt:
21522 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21523 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21524 (gst_base_sink_get_position):
21525 If we are going to PLAYING, post the right pending state
21526 when we post the intermediate paused message.
21528 * gst/gstelement.c: (gst_element_continue_state),
21529 (gst_element_set_state_func), (gst_element_change_state):
21530 Don't post state changes that were between the same state
21531 and were not ASYNC.
21533 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21535 * docs/gst/gstreamer-sections.txt:
21538 * gst/gstminiobject.h:
21541 more docs and doc style fixes
21543 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21545 * docs/gst/gstreamer-sections.txt:
21546 * gst/gstelement.c:
21547 * gst/gstminiobject.c:
21550 2005-11-03 Andy Wingo <wingo@pobox.com>
21552 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21553 state-changed messages actually have the right order and the right
21556 2005-11-03 Wim Taymans <wim@fluendo.com>
21558 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21559 Added some more checks. Specifically the case where NO_PREROLL
21560 elements are in the pipeline.
21562 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21563 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21564 (gst_base_sink_get_position):
21565 Post READY->PAUSED state change messages too.
21566 Fix bug where VOID was posted as pending state...
21568 * gst/gstbin.c: (gst_bin_recalc_state):
21569 use _element_continue_state() to continue the state change.
21571 * gst/gstelement.c: (gst_element_continue_state),
21572 (gst_element_commit_state), (gst_element_set_state_func),
21573 (gst_element_change_state), (gst_element_change_state_func):
21574 Lots of state change cleanups, assign the STATE_RETURN in
21575 a new continue_state() function that also propagates the
21576 last return value from a state change to the app.
21577 Update some debug statements with proper category.
21579 2005-11-03 Wim Taymans <wim@fluendo.com>
21581 * docs/design/part-events.txt:
21582 * docs/design/part-gstpipeline.txt:
21583 * docs/design/part-messages.txt:
21584 * docs/design/part-overview.txt:
21585 * docs/design/part-seeking.txt:
21586 * docs/design/part-states.txt:
21587 * docs/design/part-trickmodes.txt:
21588 * docs/manual/advanced-position.xml:
21589 Small docs updates.
21592 People think !! is ugly, this looks better.
21594 * gst/gstpad.c: (gst_pad_set_blocked_async):
21595 Remove !! since it's fixed elsewhere now.
21597 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21599 * gst/gstminiobject.h:
21601 Add !! to _FLAG_IS_SET macros to make the result boolean.
21603 2005-11-03 Edward Hervey <edward@fluendo.com>
21605 * gst/gstpad.c: (gst_pad_set_blocked_async):
21606 comparing a flag and a gboolean rarely returns coherent results...
21607 Added two characters (!!) to make that work correctly.
21609 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21611 * gst/gstbus.c: (gst_bus_class_init):
21614 * gst/gstqueue.c: (gst_queue_loop):
21615 Don't assume a miniobject that isn't a buffer is an
21616 event (it could be that there is a refcounting
21617 problem somewhere and the pointer is stale and
21618 refers to an already destroyed miniobject).
21620 2005-11-03 Julien MOUTTE <julien@moutte.net>
21622 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21624 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21626 * docs/manual/advanced-position.xml:
21627 Update seek example and explanations to current 0.9 API.
21629 * gst/elements/gsttypefindelement.c:
21630 (gst_type_find_element_activate):
21631 Remove FIXME comment now that the found caps
21634 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21636 * gst/gstregistryxml.c: (load_feature):
21637 Add another GST_STR_NULL instance
21639 2005-11-02 Edward Hervey <edward@fluendo.com>
21641 * gst/gstpad.c: (handle_pad_block):
21642 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21644 2005-11-02 Wim Taymans <wim@fluendo.com>
21649 * gst/gstelement.c: (gst_element_commit_state):
21650 Remove unused value.
21652 * gst/gstiterator.c:
21653 Mention that the returned element is reffed in the docs.
21655 2005-11-02 Wim Taymans <wim@fluendo.com>
21657 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21658 (gst_pad_push), (gst_pad_push_event):
21659 Unlock blocked pads when they are flushed.
21661 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21664 * docs/gst/gstreamer-sections.txt:
21667 * gst/gstregistry.c: (gst_registry_scan_path_level):
21668 fix for a nasty little missed situation where an installed plug-in
21669 which was in the cache did not get overridden by an uninstalled one
21670 which was earlier in the plugin path because the newly created plugin
21671 for the uninstalled one (not in the registry) didn't get its
21672 ->registered set to TRUE
21674 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21676 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21677 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21678 (gst_collectpads_is_active), (gst_collectpads_collect),
21679 (gst_collectpads_collect_range), (gst_collectpads_start),
21680 (gst_collectpads_stop), (gst_collectpads_peek),
21681 (gst_collectpads_pop), (gst_collectpads_available),
21682 (gst_collectpads_read), (gst_collectpads_flush):
21683 Guard public API with assertions.
21686 Fix docs for gst_pad_set_link_function().
21688 2005-11-02 Johan Dahlin <johan@gnome.org>
21690 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21691 Unref found_caps after we used it.
21693 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21695 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21696 Don't try to ref NULL.
21698 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21700 * win32/common/config.h.in:
21701 provide a GST_FUNCTION that just gives a string for now
21703 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21705 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21706 (gst_object_flags_get_type), (register_gst_bin_flags),
21707 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21708 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21709 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21710 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21711 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21712 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21713 (gst_clock_flags_get_type), (register_gst_state),
21714 (gst_state_get_type), (register_gst_state_change_return),
21715 (gst_state_change_return_get_type), (register_gst_state_change),
21716 (gst_state_change_get_type), (register_gst_element_flags),
21717 (gst_element_flags_get_type), (register_gst_core_error),
21718 (gst_core_error_get_type), (register_gst_library_error),
21719 (gst_library_error_get_type), (register_gst_resource_error),
21720 (gst_resource_error_get_type), (register_gst_stream_error),
21721 (gst_stream_error_get_type), (register_gst_event_type),
21722 (gst_event_type_get_type), (register_gst_seek_type),
21723 (gst_seek_type_get_type), (register_gst_seek_flags),
21724 (gst_seek_flags_get_type), (register_gst_format),
21725 (gst_format_get_type), (register_gst_index_certainty),
21726 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21727 (gst_index_entry_type_get_type),
21728 (register_gst_index_lookup_method),
21729 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21730 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21731 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21732 (gst_index_flags_get_type), (register_gst_debug_level),
21733 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21734 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21735 (gst_iterator_result_get_type), (register_gst_iterator_item),
21736 (gst_iterator_item_get_type), (register_gst_message_type),
21737 (gst_message_type_get_type), (register_gst_mini_object_flags),
21738 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21739 (gst_pad_link_return_get_type), (register_gst_flow_return),
21740 (gst_flow_return_get_type), (register_gst_activate_mode),
21741 (gst_activate_mode_get_type), (register_gst_pad_direction),
21742 (gst_pad_direction_get_type), (register_gst_pad_flags),
21743 (gst_pad_flags_get_type), (register_gst_pad_presence),
21744 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21745 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21746 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21747 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21748 (gst_plugin_flags_get_type), (register_gst_rank),
21749 (gst_rank_get_type), (register_gst_query_type),
21750 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21751 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21752 (gst_tag_flag_get_type), (register_gst_task_state),
21753 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21754 (gst_alloc_trace_flags_get_type),
21755 (register_gst_type_find_probability),
21756 (gst_type_find_probability_get_type), (register_gst_uri_type),
21757 (gst_uri_type_get_type), (register_gst_parse_error),
21758 (gst_parse_error_get_type):
21759 * win32/common/gstversion.h:
21760 update win32 copies
21762 2005-11-01 Luca Ognibene <luogni@tin.it>
21765 fix docs. popt is dead, long live GOption.
21767 2005-10-31 Wim Taymans <wim@fluendo.com>
21772 2005-10-31 Andy Wingo <wingo@pobox.com>
21776 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21778 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21779 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21780 the possibility of deadlocks here if code calling notify() or
21781 set() has a lock that can be taken in another notify handler (ABBA
21782 with class lock and e.g. python GIL state lock).
21784 2005-10-28 Julien MOUTTE <julien@moutte.net>
21786 * gst/gstbus.c: Doc updates.
21788 2005-10-28 Wim Taymans <wim@fluendo.com>
21790 * docs/design/part-TODO.txt:
21791 * gst/gstiterator.c:
21792 * gst/gstsystemclock.c:
21793 * gst/gstsystemclock.h:
21796 2005-10-28 Edward Hervey <edward@fluendo.com>
21798 * docs/gst/gstreamer-docs.sgml:
21799 * docs/gst/gstreamer-sections.txt:
21800 the GstURIType documentation page is private, it only defines GstURIType
21801 which should be defined in the GstURIHandler page
21803 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21805 * gst/gstbin.c: (gst_bin_class_init):
21808 Documentation updates.
21810 2005-10-28 Wim Taymans <wim@fluendo.com>
21812 * docs/gst/gstreamer-sections.txt:
21815 Documented the clocks.
21817 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21819 * docs/gst/gstreamer-sections.txt:
21820 move some macros to private sections
21821 * gst/gstminiobject.c:
21822 * gst/gstminiobject.h:
21823 add descriptions provided by ds and some more
21825 mark macro as to be removed
21827 2005-10-28 Wim Taymans <wim@fluendo.com>
21829 * docs/design/part-TODO.txt:
21830 Add an item to TODO.
21832 * gst/gstiterator.c: (gst_iterator_fold),
21833 (gst_iterator_find_custom):
21834 * gst/gstiterator.h:
21837 2005-10-28 Wim Taymans <wim@fluendo.com>
21839 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21840 (gst_base_transform_init):
21843 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21844 An EOS event marks the queue as completely filled.
21846 2005-10-27 Wim Taymans <wim@fluendo.com>
21848 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21849 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21850 Some more debugging.
21852 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21853 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21854 (gst_base_transform_event), (gst_base_transform_getrange),
21855 (gst_base_transform_chain):
21856 * gst/base/gstbasetransform.h:
21858 Protect transform and concurrent buffer alloc with a new lock.
21859 Try not to break ABI/API.
21861 2005-10-27 Wim Taymans <wim@fluendo.com>
21863 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21864 (gst_base_src_init), (gst_base_src_query),
21865 (gst_base_src_default_newsegment),
21866 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21867 (gst_base_src_send_event), (gst_base_src_event_handler),
21868 (gst_base_src_pad_get_range), (gst_base_src_loop),
21869 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21870 (gst_base_src_start), (gst_base_src_deactivate),
21871 (gst_base_src_activate_push), (gst_base_src_change_state):
21872 Move some stuff around and cleanup things.
21874 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21876 * gst/base/gstbasesrc.c: (gst_base_src_query):
21877 Add missing break statements.
21879 2005-10-27 Wim Taymans <wim@fluendo.com>
21881 * check/gst/gstbin.c: (GST_START_TEST):
21882 An extra refcount is taken in basesrc.
21884 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21885 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21886 (gst_base_src_loop):
21887 Small cleanups, check for flushing after being unlocked from the
21888 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21889 Don't send out EOS when going to READY.
21891 2005-10-27 Wim Taymans <wim@fluendo.com>
21893 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21894 (gst_base_sink_get_position):
21897 * gst/gstbin.c: (message_check), (bin_replace_message),
21898 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21899 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21900 (bin_query_duration_init), (bin_query_duration_fold),
21901 (bin_query_duration_done), (bin_query_generic_fold),
21903 * tools/gst-launch.c: (main):
21906 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21908 * examples/controller/audio-example.c: (main):
21909 * examples/queue/queue.c: (event_loop):
21910 * gst/base/gstbasetransform.h:
21911 * gst/gstelement.c: (gst_element_send_event):
21913 * gst/gstpad.c: (gst_pad_send_event):
21916 changing log priority in error situations
21918 2005-10-25 Wim Taymans <wim@fluendo.com>
21920 * gst/gstbin.c: (message_check), (bin_replace_message),
21921 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21922 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21923 (bin_query_duration_init), (bin_query_duration_fold),
21924 (bin_query_duration_done), (bin_query_generic_fold),
21926 Some doc and debug updates.
21927 Cache previously requested query DURATION for speed. invalidate
21928 cached duration if element posts a DURATION message.
21930 2005-10-25 Wim Taymans <wim@fluendo.com>
21932 * docs/design/part-TODO.txt:
21935 * gst/gstbin.c: (message_check), (bin_replace_message),
21936 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21937 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21938 (bin_query_duration_init), (bin_query_duration_fold),
21939 (bin_query_duration_done), (bin_query_generic_fold),
21941 Handle SEGMENT_START/DONE messages correctly.
21942 More evolved query algorithm that handles duration queries
21945 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21946 (gst_element_get_state_func), (gst_element_abort_state),
21947 (gst_element_commit_state), (gst_element_lost_state):
21948 Some more debugging.
21950 * gst/gstmessage.h:
21953 2005-10-25 Wim Taymans <wim@fluendo.com>
21955 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21956 Don't use invalid stream_time.
21958 * gst/gstevent.c: (gst_event_new_newsegment):
21959 stream_time in newsegment cannot be undefined.
21961 2005-10-24 Wim Taymans <wim@fluendo.com>
21966 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21968 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21970 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21972 * docs/libs/tmpl/gstdparam.sgml:
21973 * docs/libs/tmpl/gstdplinint.sgml:
21974 * docs/libs/tmpl/gstdpman.sgml:
21975 * docs/libs/tmpl/gstdpsmooth.sgml:
21976 * docs/libs/tmpl/gstunitconvert.sgml:
21979 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21984 === release 0.9.4 ===
21986 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21989 releasing 0.9.4, "Tyrannosaurus Rex"
21991 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21993 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21994 (gst_file_sink_get_current_offset):
21995 Use fseeko() and ftello() if available. When falling back on
21996 lseek() to get the current offset, fflush() first to make sure
21997 everything is up-to-date and we get the right offset.
21999 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22002 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22003 * gst/gsterror.c: (_gst_stream_errors_init):
22005 * gst/gstqueue.c: (gst_queue_loop):
22007 remove prematurely added error category and clean up the instances
22009 2005-10-21 Wim Taymans <wim@fluendo.com>
22011 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22012 (gst_base_sink_get_position), (gst_base_sink_query),
22013 (gst_base_sink_change_state):
22014 Simply set the right flag when going to playing, that's all
22015 we need to do instead of calling a function inside the object
22016 lock (that could take the lock as well and deadlock)
22018 2005-10-21 Wim Taymans <wim@fluendo.com>
22020 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22021 (gst_base_src_loop):
22022 Don't warn, the peer element knows what to do best when
22023 the seek failed, it might try something else.
22025 2005-10-21 Wim Taymans <wim@fluendo.com>
22027 * gst/base/gstbasesrc.c: (gst_base_src_init),
22028 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22031 2005-10-21 Wim Taymans <wim@fluendo.com>
22033 * docs/design/part-segments.txt:
22036 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22037 Correctly set caps, even on the subbufer.
22039 2005-10-21 Wim Taymans <wim@fluendo.com>
22041 * docs/gst/gstreamer-docs.sgml:
22042 * docs/gst/gstreamer-sections.txt:
22043 * gst/gstelement.h:
22046 * gst/gstmessage.h:
22049 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22053 And 2% more doc coverage.
22055 2005-10-21 Andy Wingo <wingo@pobox.com>
22057 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22058 position reporting.
22060 2005-10-20 Wim Taymans <wim@fluendo.com>
22062 * gst/gsterror.c: (gst_error_get_message):
22065 * gst/gststructure.c:
22070 2005-10-20 Wim Taymans <wim@fluendo.com>
22075 Another 1% more coverage.
22077 2005-10-20 Wim Taymans <wim@fluendo.com>
22079 * docs/gst/gstreamer-sections.txt:
22080 * gst/gstelement.c: (gst_element_get_state_func),
22081 (gst_element_abort_state), (gst_element_commit_state),
22082 (gst_element_lost_state):
22084 * gst/gstquery.c: (gst_query_set_position),
22085 (gst_query_parse_position), (gst_query_set_duration),
22086 (gst_query_parse_duration), (gst_query_new_convert):
22088 Yay! 1% more docs coverage.
22090 2005-10-20 Wim Taymans <wim@fluendo.com>
22093 * gst/gstquery.c: (gst_query_set_position),
22094 (gst_query_parse_position), (gst_query_set_duration),
22095 (gst_query_parse_duration), (gst_query_new_convert):
22097 * gst/gstutils.c: (gst_element_query_convert):
22099 Docs and consistency fixes.
22101 2005-10-20 Wim Taymans <wim@fluendo.com>
22107 2005-10-20 Wim Taymans <wim@fluendo.com>
22109 * gst/gstbin.c: (message_check), (bin_replace_message),
22110 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22111 (update_degree), (gst_bin_sort_iterator_next),
22112 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22113 Reworked the message handling a bit, cache the messages instead of
22114 only the senders. alows us to do more in the future.
22116 2005-10-20 Wim Taymans <wim@fluendo.com>
22118 * docs/design/part-TODO.txt:
22121 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22122 (gst_base_sink_query):
22123 Don't use clock time to report position when in EOS.
22125 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22127 * tools/gst-inspect.c: (print_interfaces),
22128 (print_element_properties_info), (print_element_info):
22129 Fix interface output with gst-inspect -a; don't print
22130 newlines after double/float properties.
22132 2005-10-20 Wim Taymans <wim@fluendo.com>
22134 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22135 (gst_base_sink_query):
22136 Speed up current position calculation.
22138 * gst/base/gstbasesrc.c: (gst_base_src_query),
22139 (gst_base_src_default_newsegment):
22140 Correctly set stream position in newsegment.
22142 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22143 (update_degree), (gst_bin_sort_iterator_next),
22144 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22145 * gst/gstmessage.c: (gst_message_new_custom):
22146 Clean up debugging info
22148 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22149 (gst_queue_loop), (gst_queue_handle_src_query):
22152 2005-10-19 Wim Taymans <wim@fluendo.com>
22154 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22155 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22156 Fix query handling again.
22158 2005-10-19 Wim Taymans <wim@fluendo.com>
22160 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22161 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22162 * gst/base/gstbasesrc.c: (gst_base_src_query):
22163 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22164 * gst/elements/gsttypefindelement.c:
22165 (gst_type_find_handle_src_query), (find_element_get_length),
22166 (gst_type_find_element_activate):
22169 * gst/gstquery.c: (gst_query_new_position),
22170 (gst_query_set_position), (gst_query_parse_position),
22171 (gst_query_new_duration), (gst_query_set_duration),
22172 (gst_query_parse_duration), (gst_query_set_segment),
22173 (gst_query_parse_segment):
22175 Bundling query position/duration is not a good idea since duration
22176 does not change much and we don't want to recalculate it for every
22177 position query, so they are separated again..
22178 Base value in segment query is not needed.
22180 * gst/gstqueue.c: (gst_queue_handle_src_query):
22181 * gst/gstutils.c: (gst_element_query_position),
22182 (gst_element_query_duration), (gst_pad_query_position),
22183 (gst_pad_query_duration):
22185 Updates for query API change.
22186 Added some docs here and there.
22188 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22190 * check/gst/gstbin.c: (GST_START_TEST):
22191 * check/gst/gstghostpad.c: (GST_START_TEST):
22192 * check/pipelines/cleanup.c: (GST_START_TEST):
22193 wait on thread to die so we can check refcount correctly
22195 2005-10-18 Wim Taymans <wim@fluendo.com>
22197 * check/pipelines/stress.c: (GST_START_TEST):
22198 Make check a little more time consuming.
22200 2005-10-18 Wim Taymans <wim@fluendo.com>
22202 * check/Makefile.am:
22203 * check/pipelines/stress.c: (GST_START_TEST),
22204 (simple_launch_lines_suite), (main):
22205 Small state change torture test.
22207 * docs/design/part-states.txt:
22208 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22209 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22210 (gst_base_sink_change_state):
22211 Never take state lock from streaming thread, clean up ugly
22212 hacks. Unfortunatly core does not yet support nice ways to
22213 async commit state.
22215 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22217 Start state recalc if a STATE_DIRTY message is posted, but only
22218 on the toplevel bin.
22220 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22221 (gst_element_get_state_func), (gst_element_abort_state),
22222 (gst_element_commit_state), (gst_element_lost_state),
22223 (gst_element_set_state_func), (gst_element_change_state):
22224 * gst/gstelement.h:
22225 State variables are now protected with the LOCK, the state
22226 lock is only used to serialize _set_state().
22228 2005-10-18 Wim Taymans <wim@fluendo.com>
22230 * check/gst/gstbin.c: (GST_START_TEST):
22231 * check/gst/gstmessage.c: (GST_START_TEST):
22232 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22233 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22235 * gst/gstelement.c: (gst_element_abort_state),
22236 (gst_element_commit_state), (gst_element_lost_state):
22237 * gst/gstmessage.c: (gst_message_new_state_changed),
22238 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22239 (gst_message_new_segment_done), (gst_message_new_duration),
22240 (gst_message_parse_state_changed),
22241 (gst_message_parse_segment_start),
22242 (gst_message_parse_segment_done), (gst_message_parse_duration):
22243 * gst/gstmessage.h:
22244 * tools/gst-launch.c: (event_loop):
22245 Seriously, this is better than a previous commit as we only need
22246 to notify the fact that an element changed state in a streaming
22247 thread, marking the state of the parents dirty, hence the
22248 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22251 2005-10-18 Wim Taymans <wim@fluendo.com>
22253 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22254 (gst_bin_recalc_func):
22255 * gst/gstelement.c: (gst_element_set_clock),
22256 (gst_element_abort_state), (gst_element_lost_state):
22257 Cleanups, prepare for state change fixes.
22259 2005-10-18 Wim Taymans <wim@fluendo.com>
22262 * gst/gstelement.c: (gst_element_class_init),
22263 (gst_element_set_state), (gst_element_set_state_func):
22264 * gst/gstelement.h:
22265 Pending ABI changes.
22266 GThreadPool in GstBinClass to monitor async state changes.
22267 state_cookie in GstElement to detect concurrent gst/set state.
22268 set_state is now virtual too in case a very complicated element
22269 has to be constructed.
22271 2005-10-18 Wim Taymans <wim@fluendo.com>
22273 * check/gst/gstbin.c: (GST_START_TEST):
22274 * check/gst/gstmessage.c: (GST_START_TEST):
22275 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22276 * gst/gstbin.c: (bin_bus_handler):
22277 * gst/gstelement.c: (gst_element_commit_state),
22278 (gst_element_lost_state):
22279 * gst/gstmessage.c: (gst_message_new_state_changed),
22280 (gst_message_new_segment_start), (gst_message_new_segment_done),
22281 (gst_message_new_duration), (gst_message_parse_state_changed),
22282 (gst_message_parse_segment_start),
22283 (gst_message_parse_segment_done), (gst_message_parse_duration):
22284 * gst/gstmessage.h:
22285 * tools/gst-launch.c: (event_loop):
22286 Make messages future proof.
22287 state-change gets a flag if it was a message comming from the
22289 segment-start/stop can also be specified in other formats.
22290 A message to notify an app that a pipeline changed playback
22292 Also fix a GstMessage leak in -launch
22294 2005-10-18 Andy Wingo <wingo@pobox.com>
22296 * gst/gstelement.c (gst_element_dispose): More helpful message.
22298 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22300 reviewed by: <delete if not using a buddy>
22302 * common/gtk-doc.mak:
22304 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22306 * gst/gstregistry.c: (gst_registry_scan_path_level):
22307 unref a plug-in we get that was already initialized
22309 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22311 * docs/gst/gstreamer-sections.txt:
22312 * docs/libs/gstreamer-libs-sections.txt:
22313 * gst/gstelement.h:
22314 add new api entries
22315 hide internal macro
22317 2005-10-17 Andy Wingo <wingo@pobox.com>
22319 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22322 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22324 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22326 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22327 (gst_element_get_state_func): Better debug message.
22328 (gst_element_commit_state): s/INFO/DEBUG/.
22329 (gst_element_lost_state, gst_element_change_state):
22331 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22332 (gst_message_new_custom): s/INFO/LOG/.
22334 2005-10-17 Michael Smith <msmith@fluendo.com>
22336 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22337 Check if end time is valid using end time, not start time.
22339 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22341 * check/gst-libs/controller.c: (GST_START_TEST),
22342 (gst_controller_suite):
22343 * libs/gst/controller/gstcontroller.c:
22344 (gst_controlled_property_set_interpolation_mode):
22345 * libs/gst/controller/gstcontroller.h:
22346 * libs/gst/controller/gstinterpolation.c:
22347 * testsuite/controller/.cvsignore:
22348 * testsuite/controller/Makefile.am:
22349 * testsuite/controller/interpolator.c:
22350 merge controller testsuites
22352 remove mem-chunk from docs
22354 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22356 * gst/gstmemchunk.c:
22357 * gst/gstmemchunk.h:
22358 * gst/gsttrashstack.c:
22359 * gst/gsttrashstack.h:
22360 out. get out. you're fired. to the Attic !
22362 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22364 * gst/gstcaps.c: (gst_caps_intersect):
22365 fix signedness issues in a (hopefully) correct way
22366 * gst/gstelement.c: (gst_element_pads_activate):
22368 * gst/gstobject.c: (gst_object_set_parent):
22371 2005-10-17 Julien MOUTTE <julien@moutte.net>
22373 * gst/gstvalue.h: Fix prototypes.
22375 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22377 * docs/gst/gstreamer-sections.txt:
22378 * gst/gst.c: (gst_version_string):
22380 * gst/gstversion.h.in:
22381 * win32/common/libgstreamer.def:
22382 add gst_version_string ()
22384 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22388 * gst/gst.c: (init_post):
22389 * win32/common/config.h.in:
22391 * gst/gstcaps.c: (gst_caps_intersect):
22392 use gint64, the range could be bigger than a guint
22394 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22397 document potential problem in 2038
22399 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22401 * gst/gstcaps.c: (gst_caps_intersect):
22402 Fix guint j diving under 0
22404 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22407 * win32/common/config.h:
22408 * win32/common/config.h.in:
22409 check for process.h, declares getpid() on Windows
22411 include process.h if we have it
22412 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22413 * gst/gstmemchunk.h:
22414 fix signedness issues
22415 * win32/common/libgstreamer.def:
22418 2005-10-16 Julien MOUTTE <julien@moutte.net>
22420 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22421 fix. Because of unsigned ints, caps intersection was going nuts and
22422 trying to access structures with G_MAXUINT index. That fixes
22423 videotestsrc ! ffmpegcolorspace ! fakesink
22424 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22427 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22430 use the gettext macro
22431 * gst/elements/gstelements.c:
22433 * gst/indexers/gstindexers.c:
22434 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22435 * win32/common/config.h:
22437 * win32/common/config.h.in:
22438 add the template to generate config.h
22439 * win32/common/gstenumtypes.c:
22440 * win32/common/gstversion.h:
22443 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22445 * gst/gst.c: (gst_version):
22446 * gst/gstversion.h.in:
22449 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22452 Oops, add missing closing bracket.
22454 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22457 use common m4's for argument checking
22459 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22461 * docs/gst/gstreamer-sections.txt:
22463 Add GST_EVENT_TYPE_NAME() macro.
22465 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22468 * gst/gstpluginfeature.c:
22470 privatize more symbols
22472 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22475 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22476 everything that uses GStreamer API should have the includes
22478 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22480 * docs/gst/gstreamer-sections.txt:
22481 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22483 give each value a _get_type, removes the DATA exports
22485 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22489 remove _gst_registry_auto_load, not used anymore
22490 * gst/gstbin.c: (gst_bin_get_type):
22492 * gst/gstelement.c: (gst_element_get_type):
22493 * gst/gstelement.h:
22494 * gst/gstobject.c: (gst_object_get_type):
22496 * gst/gstpad.c: (gst_pad_get_type):
22498 make _get_type functions similar, fixes data export from library
22500 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22503 correctly make conditionals
22504 * gst/elements/Makefile.am:
22505 * gst/elements/gstelements.c:
22506 fix typo causing fdsrc not to build
22508 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22510 * testsuite/Makefile.am:
22511 * testsuite/bytestream/.cvsignore:
22512 * testsuite/bytestream/Makefile.am:
22513 * testsuite/bytestream/filepadsink.c:
22514 * testsuite/bytestream/gstbstest.c:
22515 * testsuite/bytestream/test1.c:
22516 * testsuite/bytestream/testfile1:
22517 * testsuite/caps/normalisation.c:
22518 * testsuite/caps/random.c: (main):
22519 * testsuite/cleanup/.cvsignore:
22520 * testsuite/cleanup/Makefile.am:
22521 * testsuite/cleanup/cleanup1.c:
22522 * testsuite/cleanup/cleanup2.c:
22523 * testsuite/cleanup/cleanup3.c:
22524 * testsuite/cleanup/cleanup4.c:
22525 * testsuite/cleanup/cleanup5.c:
22526 * testsuite/controller/interpolator.c:
22527 * testsuite/debug/printf_extension.c: (main):
22528 * testsuite/elements/tee.c:
22529 * testsuite/negotiation/.cvsignore:
22530 * testsuite/negotiation/Makefile.am:
22531 * testsuite/negotiation/pad_link.c:
22532 * testsuite/pad/Makefile.am:
22533 * testsuite/pad/chainnopull.c:
22534 * testsuite/pad/getnopush.c:
22535 * testsuite/pad/link.c:
22536 * testsuite/refcounting/sched.c: (create_pipeline):
22537 * testsuite/registry/Makefile.am:
22538 * testsuite/registry/gst-print-formats.c:
22539 * testsuite/schedulers/.cvsignore:
22540 * testsuite/schedulers/142183-2.c:
22541 * testsuite/schedulers/142183.c:
22542 * testsuite/schedulers/143777-2.c:
22543 * testsuite/schedulers/143777.c:
22544 * testsuite/schedulers/147713.c:
22545 * testsuite/schedulers/147819.c:
22546 * testsuite/schedulers/147894-2.c:
22547 * testsuite/schedulers/147894.c:
22548 * testsuite/schedulers/Makefile.am:
22549 * testsuite/schedulers/group_link.c:
22550 * testsuite/schedulers/queue_link.c:
22551 * testsuite/schedulers/relink.c:
22552 * testsuite/schedulers/unlink.c:
22553 * testsuite/schedulers/unref.c:
22554 * testsuite/schedulers/useless_iteration.c:
22555 * testsuite/states/bin.c:
22556 clean out/remove some stuff from the testsuite directories
22558 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22561 check for some headers
22562 * gst/elements/Makefile.am:
22563 * gst/elements/gstelements.c:
22564 don't compile fdsrc without sys/socket.h
22565 * gst/indexers/Makefile.am:
22566 * gst/indexers/gstindexers.c: (plugin_init):
22567 don't compile fileindex without mmap
22569 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22576 * check/Makefile.am:
22577 * docs/gst/Makefile.am:
22578 * examples/helloworld/Makefile.am:
22580 * gst/base/Makefile.am:
22581 * gst/check/Makefile.am:
22582 * gst/elements/Makefile.am:
22583 * gst/indexers/Makefile.am:
22584 * gst/parse/Makefile.am:
22585 * libs/gst/controller/Makefile.am:
22586 * libs/gst/dataprotocol/Makefile.am:
22587 * examples/helloworld/helloworld.c: (event_loop):
22588 compile fixes, though it's not being compiled currently
22590 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22592 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22593 Add some simple tests for the new taglist date API.
22595 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22597 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22598 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22599 Beautify 'last-message' output: print 'none' for buffer timestamps
22600 and durations if none is set; improve alignment with next messages.
22602 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22604 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22605 * gst/gstpluginfeature.h:
22606 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22607 * gst/gstregistry.h:
22608 * docs/gst/gstreamer-sections.txt:
22609 Add new API to check plugin feature version requirements.
22611 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22612 Some basic tests for the above.
22614 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22616 * gst/gststructure.c: (gst_structure_to_string):
22617 guard against NULL printf - happens when for example
22618 a message structure with GstClock gets serialized
22620 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22622 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22623 Fix presumable copy'n'pasto.
22625 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22627 * gst/elements/gstfakesrc.h:
22628 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22629 * gst/elements/gsttypefindelement.c:
22630 fix some signedness
22631 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22632 I wonder if this could actually write +2GB files before
22634 2005-10-13 Andy Wingo <wingo@pobox.com>
22636 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22637 Fix Timmeke Waymans bug.
22638 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22639 string of the proper length to gst_caps_from_string. There's a
22640 potential for, before this fix, that this could cause someone
22641 connecting over the network to cause a segfault if the payload is
22642 not NUL-terminated.
22644 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22646 * docs/design/draft-push-pull.txt:
22647 * docs/design/part-overview.txt:
22648 * docs/random/TODO-pre-0.9:
22649 * docs/random/old/ChangeLog.gstreamer:
22650 * gst/base/gstpushsrc.c:
22654 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22656 * gst/glib-compat.c: (gst_flags_get_first_value):
22657 * gst/glib-compat.h:
22658 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22659 (gst_value_compare_double), (gst_value_serialize_flags):
22660 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22663 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22666 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22668 * tools/gst-launch.c: (event_loop):
22669 print out clock nicely
22671 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22673 * docs/gst/gstreamer-sections.txt:
22674 * gst/gsttaglist.h:
22675 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22676 (gst_tag_list_get_date_index):
22677 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22678 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22680 2005-10-13 Julien MOUTTE <julien@moutte.net>
22682 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22683 (gst_collectpads_chain):
22684 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22687 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22689 * docs/gst/gstreamer-sections.txt:
22692 * tools/gst-inspect.c: (main):
22693 * tools/gst-launch.c: (main):
22694 * tools/gst-run.c: (main):
22695 * tools/gst-xmlinspect.c: (main):
22696 fix GOption context leaks
22699 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22703 * win32/common/config.h:
22705 * win32/vs6/grammar.dsp:
22706 * win32/vs6/libgstelements.dsp:
22707 * win32/vs6/libgstreamer.dsp:
22710 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22712 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22713 * gst/base/gstbasesrc.c: (gst_base_src_query):
22714 fix more guint64<->gdouble conversions
22716 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22719 add win32-update target
22720 * win32/common/gstconfig.h:
22721 * win32/common/gstenumtypes.c:
22722 * win32/common/gstenumtypes.h:
22723 * win32/common/gstversion.h:
22724 add files that visual studio can't generate
22726 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22729 add a win32-update target
22732 2005-10-12 Wim Taymans <wim@fluendo.com>
22734 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22735 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22736 * gst/gstelement.c: (gst_element_commit_state),
22737 (gst_element_set_state):
22738 Protect flags with proper lock.
22739 unref provided cached clock in dispose.
22741 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22744 * gst/gstminiobject.h:
22746 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22747 removed unused flags from miniobject
22750 2005-10-12 Wim Taymans <wim@fluendo.com>
22752 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22753 (gst_file_sink_event), (gst_file_sink_render):
22754 Flush before seeking.
22756 2005-10-12 Andy Wingo <wingo@pobox.com>
22758 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22759 always been the case.
22761 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22763 * check/gst/gstbin.c: (GST_START_TEST):
22764 * docs/gst/gstreamer-sections.txt:
22765 * gst/base/gstbasesink.c: (gst_base_sink_init):
22766 * gst/base/gstbasesrc.c: (gst_base_src_init),
22767 (gst_base_src_get_range), (gst_base_src_check_get_range),
22768 (gst_base_src_start), (gst_base_src_stop):
22769 * gst/base/gstbasesrc.h:
22770 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22771 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22772 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22776 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22778 * gst/gstelement.c: (gst_element_is_locked_state),
22779 (gst_element_set_locked_state), (gst_element_commit_state),
22780 (gst_element_set_state):
22781 * gst/gstelement.h:
22782 * gst/gstindex.c: (gst_index_init):
22784 * gst/gstminiobject.h:
22785 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22786 (gst_object_set_parent):
22788 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22789 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22791 * gst/gstpadtemplate.h:
22792 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22793 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22794 * gst/gstpipeline.h:
22795 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22796 (gst_file_index_commit):
22797 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22798 * testsuite/pad/link.c: (gst_test_src_init),
22799 (gst_test_filter_init), (gst_test_sink_init):
22800 * testsuite/states/locked.c: (main):
22801 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22802 moved bitshift from macro to enum definition
22804 2005-10-12 Wim Taymans <wim@fluendo.com>
22806 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22807 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22808 (gst_file_sink_render):
22809 Some more debugging info.
22811 2005-10-12 Wim Taymans <wim@fluendo.com>
22813 * docs/design/part-states.txt:
22814 * tools/gst-launch.c: (main):
22816 Revert non-intentional change.
22818 2005-10-12 Wim Taymans <wim@fluendo.com>
22820 * check/gst/gstbin.c: (GST_START_TEST):
22821 * check/gst/gstelement.c: (GST_START_TEST):
22822 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22823 * check/gst/gstghostpad.c: (GST_START_TEST):
22824 * check/gst/gstpipeline.c: (GST_START_TEST):
22825 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22826 * check/states/sinks.c: (GST_START_TEST):
22827 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22828 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22829 (gst_bin_remove_func), (gst_bin_get_state_func),
22830 (gst_bin_recalc_state), (gst_bin_change_state_func),
22832 * gst/gstelement.c: (gst_element_get_state_func),
22833 (gst_element_get_state), (gst_element_abort_state),
22834 (gst_element_commit_state), (gst_element_set_state),
22835 (gst_element_change_state), (gst_element_change_state_func):
22836 * gst/gstelement.h:
22837 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22838 (gst_pipeline_provide_clock_func):
22839 * gst/gstutils.c: (gst_element_link_pads_filtered):
22840 * tools/gst-launch.c: (main):
22841 * tools/gst-typefind.c: (main):
22842 Use GstClockTime in _get_state() instead of GTimeVal.
22843 Remove old code in gstutils.c
22845 2005-10-12 Andy Wingo <wingo@pobox.com>
22847 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22850 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22851 there is no task. Shouldn't affect any code, as nothing in our
22852 plugins checks this return value.
22853 (gst_pad_stop_task): Also take the stream lock if the pad has no
22854 task. Docs updated.
22856 2005-10-12 Wim Taymans <wim@fluendo.com>
22858 * gst/gstpad.c: (pre_activate), (post_activate),
22859 (gst_pad_activate_pull), (gst_pad_activate_push):
22860 Cleanup activation code. Reset old state if
22863 2005-10-12 Wim Taymans <wim@fluendo.com>
22865 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22866 (gst_base_sink_change_state):
22867 No need to prerol after receiving EOS.
22869 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22870 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22871 * gst/elements/gstidentity.c: (gst_identity_event):
22872 Print events more verbosely.
22874 2005-10-12 Wim Taymans <wim@fluendo.com>
22876 * check/Makefile.am:
22877 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22878 * check/states/sinks2.c:
22879 Moved sinks2 testcode in sinks check.
22881 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22882 (gst_bin_remove_func), (gst_bin_recalc_state),
22883 (gst_bin_change_state_func), (bin_bus_handler):
22884 Fix potential race condition when _get_state() iterated over an
22885 ASYNC element right before it posted a state completion.
22888 Do proper cast here.
22890 * gst/gstevent.c: (gst_event_new_newsegment),
22891 (gst_event_parse_newsegment):
22892 A playback rate of 0.0 is not allowed.
22894 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22896 * win32/common/config.h:
22897 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22898 (_trewinddir), (_ttelldir), (_tseekdir):
22899 * win32/common/dirent.h:
22900 * win32/common/gtchar.h:
22901 * win32/common/libgstbase.def:
22902 * win32/common/libgstreamer.def:
22903 * win32/vs6/grammar.dsp:
22904 * win32/vs6/gst_inspect.dsp:
22905 * win32/vs6/gst_launch.dsp:
22906 * win32/vs6/gstreamer.dsw:
22907 * win32/vs6/libgstbase.dsp:
22908 * win32/vs6/libgstelements.dsp:
22909 * win32/vs6/libgstreamer.dsp:
22910 Visual Studio 6 project files, and a new common directory.
22913 2005-10-11 Wim Taymans <wim@fluendo.com>
22915 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22916 (gst_base_sink_do_sync), (gst_base_sink_query),
22917 (gst_base_sink_change_state):
22918 * gst/base/gstbasesink.h:
22919 Correctly parse newsegment info.
22921 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22923 * gst/gst.c: (init_post):
22924 split plugin paths correctly
22926 2005-10-11 Wim Taymans <wim@fluendo.com>
22928 * check/gst/gstevent.c: (GST_START_TEST):
22929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22930 (gst_base_sink_change_state):
22931 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22932 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22933 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22934 * gst/gstevent.c: (gst_event_new_newsegment),
22935 (gst_event_parse_newsegment):
22937 Added extra flag to newsegment for future API freeze.
22938 Updated check and base elements.
22940 2005-10-11 Julien MOUTTE <julien@moutte.net>
22942 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22943 (gst_collectpads_add_pad), (gst_collectpads_pop),
22944 (gst_collectpads_event), (gst_collectpads_chain):
22945 * gst/base/gstcollectpads.h: Handle EOS correctly.
22947 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22949 * tools/gst-launch.c: (main):
22950 more null protecting
22952 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22954 * gst/gst-i18n-lib.h:
22955 check for ENABLE_NLS, not GETTEXT_PACKAGE
22956 * gst/gstregistry.c: (gst_registry_add_plugin),
22957 (gst_registry_scan_path_level),
22958 (_gst_registry_remove_cache_plugins):
22959 protect possibly NULL strings
22960 * gst/parse/types.h:
22961 config.h already included before
22962 * tools/gst-inspect.c: (main):
22963 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22964 check for ENABLE_NLS, not GETTEXT_PACKAGE
22965 * tools/gst-launch.c: (main):
22966 check for ENABLE_NLS, not GETTEXT_PACKAGE
22968 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22971 if we don't have glib, fail before testing 2.8
22972 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22973 fix a leak, should fix plugins-base testsuite
22975 2005-10-11 Andy Wingo <wingo@pobox.com>
22977 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22978 take the mode we're going to as an arg. Go head and set the mode
22979 and flushing flags now, so that if the activate function starts a
22980 thread all the flags will be in the right state.
22981 (post_activate): Renamed also. Just handle making sure streaming
22982 finishes for the deactivation case, and setting the deactivated
22984 (gst_pad_set_active): Complain loudly if deactivation fails.
22985 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22986 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22987 remove the terrible hack.
22989 2005-10-11 Wim Taymans <wim@fluendo.com>
22991 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22992 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22993 (gst_bin_recalc_state), (gst_bin_change_state_func),
22994 (gst_bin_dispose), (bin_bus_handler):
22996 Prepare to make current EOS message queue more generic.
22999 * gst/gstevent.c: (gst_event_new_newsegment),
23000 (gst_event_parse_newsegment):
23002 Rename base to stream_time.
23004 * gst/gstmessage.h:
23007 2005-10-11 Wim Taymans <wim@fluendo.com>
23009 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23010 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23011 (gst_bin_change_state_func), (bin_bus_handler):
23013 Work on proper clock selection.
23015 2005-10-11 Edward Hervey <edward@fluendo.com>
23017 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23018 * libs/gst/controller/gstcontroller.h:
23019 Added GList* version of _remove_properties() in order to be able to wrap
23022 2005-10-11 Wim Taymans <wim@fluendo.com>
23024 * docs/design/part-states.txt:
23027 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23028 (gst_bin_change_state_func), (bin_bus_handler):
23029 Doc updates. Don't distribute the same clock over and over again.
23035 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23036 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23037 (gst_pad_send_event):
23039 Make probe emission threadsafe again.
23040 Register quarks and move _get_name() from utils.
23043 * gst/gstpipeline.c: (gst_pipeline_class_init),
23044 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23045 Only redistribute the clock of it changed.
23047 * gst/gstsystemclock.h:
23052 Moved the _flow_get_name() to GstPad.
23054 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23056 * check/gst-libs/gdp.c: (GST_START_TEST):
23057 * check/gst/gstcaps.c: (GST_START_TEST):
23058 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23059 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23060 (gst_dp_packet_from_caps):
23061 fix more valgrind warnings before turning up the heat
23063 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23065 * gst/parse/grammar.y:
23066 some cleanup before the hacking
23068 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23070 * gst/base/gstbasesrc.c: (gst_base_src_query):
23072 * gst/gstutils.c: (gst_guint64_to_gdouble),
23073 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23075 externalize, basesrc uses it
23076 obviously the implementation needs testing
23078 2005-10-10 Wim Taymans <wim@fluendo.com>
23080 * tests/sched/Makefile.am:
23081 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23082 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23084 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23086 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23087 apparently converting from guint64 to double is not implemented
23090 2005-10-10 Wim Taymans <wim@fluendo.com>
23092 * check/Makefile.am:
23093 * check/generic/states.c: (GST_START_TEST):
23094 * check/gst/gstbin.c: (GST_START_TEST):
23095 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23096 * check/states/sinks.c: (GST_START_TEST):
23097 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23099 Check fixes, use API as stated in design docs, remove hacks.
23101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23102 (gst_base_sink_change_state):
23103 Catch stopping our task while we're shutting down.
23105 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23106 (gst_bin_remove_func), (gst_bin_get_state_func),
23107 (gst_bin_recalc_state), (gst_bin_change_state_func),
23110 * gst/gstelement.c: (gst_element_init),
23111 (gst_element_get_state_func), (gst_element_abort_state),
23112 (gst_element_commit_state), (gst_element_lost_state),
23113 (gst_element_set_state), (gst_element_change_state),
23114 (gst_element_change_state_func):
23115 * gst/gstelement.h:
23116 New state change algorithm (see #318116)
23118 * gst/gstpipeline.c: (gst_pipeline_class_init),
23119 (gst_pipeline_init), (gst_pipeline_set_property),
23120 (gst_pipeline_get_property), (do_pipeline_seek),
23121 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23122 * gst/gstpipeline.h:
23123 Remove crude state change hacks.
23126 Remove crude hacks.
23128 * tools/gst-launch.c: (main):
23129 Fixes for state change. Needs some more work to fully use the
23132 2005-10-10 Andy Wingo <wingo@pobox.com>
23134 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23136 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23137 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23140 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23142 * gst/gstiterator.c: (gst_iterator_new):
23143 Fix my previous commit: GTypes passed to gst_iterator_new()
23144 can be fundamental types.
23146 2005-10-10 Wim Taymans <wim@fluendo.com>
23148 * gst/gstelement.c: (gst_element_iterate_pad_list),
23149 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23150 (gst_element_iterate_sink_pads):
23151 Use src/sink pads lists for the respective iterators instead
23154 2005-10-10 Andy Wingo <wingo@pobox.com>
23156 Merged in popt removal + GOption addition patch from Ronald, bug
23159 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23160 GstElement macros around, remove popt-related symbols, add goption
23163 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23165 * docs/gst/Makefile.am:
23166 * docs/libs/Makefile.am: No POPT_CFLAGS.
23168 * examples/manual/Makefile.am:
23169 * docs/manual/basics-init.xml: Doc updates with an example.
23171 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23172 (gst_init), (parse_one_option), (parse_goption_arg):
23173 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23174 bit of hand merging and debugging to get the GOption stuff working
23177 * tests/Makefile.am:
23178 * tools/Makefile.am:
23179 * tools/gst-inspect.c: (main):
23180 * tools/gst-launch.c: (main):
23181 * tools/gst-run.c: (main):
23182 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23184 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23186 * gst/gstiterator.c: (gst_iterator_new):
23187 Add assertions to make sure passed GType is likely to really
23188 be a GType (as the compiler won't catch it if the size and
23189 GType arguments get mixed up, see #318447).
23191 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23193 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23195 * gst/gstbin.c: (gst_bin_iterate_sorted):
23196 Pass GType and size arguments to gst_iterator_new() in the right
23197 order (maybe we should make _new() take the GType as first argument
23198 just like _new_list()?) (#318447).
23201 2005-10-10 Wim Taymans <wim@fluendo.com>
23203 * gst/gstelement.c: (gst_element_finalize):
23204 And free the GStaticRecMutex too
23206 2005-10-10 Andy Wingo <wingo@pobox.com>
23208 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23209 Allocate and free the mutex properly.
23211 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23213 (GstElement): The state_lock is now recursive. Rebuild your
23214 plugins, suckers. Old macros adapted.
23216 * docs/gst/gstreamer-sections.txt: Doc updates.
23219 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23220 (g_static_rec_cond_wait): Ported from state changes patch, while
23221 we wait on bug #317802 to be solved in a well-distributed GLib.
23223 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23224 gst_element_change_state, variable name changes.
23225 (gst_element_change_state): Split out of gst_element_set_state in
23226 preparation for the state change merge. Doesn't pay attention to
23227 the 'transition' argument.
23228 (gst_element_set_state): Updates, hopefully purely cosmetic.
23229 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23230 state change patch.
23231 (gst_element_get_state_func): Renamed from get_state, cosmetic
23234 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23236 * gst/elements/gstelements.c:
23237 * win32/GStreamer.vcproj:
23239 * win32/dirent.c: (_tseekdir):
23240 * win32/gst-inspect.vcproj:
23241 * win32/gst-launch.vcproj:
23242 * win32/gstconfig.h:
23243 * win32/gstelements.vcproj:
23244 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23245 * win32/gstreamer.def:
23246 * win32/msvc71.sln:
23247 updates for the win32 build (patch from Sebastien Moutte)
23249 2005-10-10 Andy Wingo <wingo@pobox.com>
23251 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23252 gst_bin_get_state, cleaned up (but no logic changes).
23253 (bin_element_is_sink): Comment updates.
23254 (sink_iterator_filter): Remove needless cast.
23255 (gst_bin_iterate_sinks): Doc update.
23256 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23257 cleaned up (but no logic changes).
23259 * check/states/sinks.c (test_src_sink): Cleanups from the state
23261 (test_livesrc_sink): Sync on the state.
23263 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23264 the state change patch.
23266 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23269 * check/gst/gstbin.c: Merge in some style fixes and additional
23270 checks from Wim's state change patch.
23272 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23274 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23275 (gst_type_find_helper):
23276 Check whether we have the requested data already in our list of
23277 cached buffers before pulling a new buffer; also make the buffer
23278 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23280 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23285 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23286 don't use long long, it's not portable. Replacing with
23287 gint64 seems to work; let's hope no skeletons fall out of the closet.
23289 2005-10-10 Andy Wingo <wingo@pobox.com>
23291 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23293 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23295 * docs/gst/gstreamer-sections.txt:
23300 * gst/gstmessage.c: (gst_message_parse_state_changed):
23303 more docs, fix compilation
23305 2005-10-09 Philippe Khalaf <burger@speedy.org>
23306 * gst/gstmessage.c:
23307 Fixed a few forgotten variables on previous commit
23309 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23311 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23312 Fix evil typefind crasher: getrange() might return a short
23313 buffer at the end of a file, but gst_type_find_peek() must
23314 either return the full data as requested or NULL, but
23315 never a short buffer.
23317 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23319 * gst/gstmessage.c: (gst_message_new_state_changed),
23320 (gst_message_parse_state_changed):
23321 * gst/gstmessage.h:
23322 don't use "new", it's a C++ keyword
23324 2005-10-08 Wim Taymans <wim@fluendo.com>
23326 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23327 * gst/gstelement.c: (gst_element_post_message):
23328 * gst/gstpipeline.c: (gst_pipeline_change_state):
23329 Small docs and debug updates.
23331 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23333 * docs/gst/gstreamer-sections.txt:
23334 * gst/gstelementfactory.c:
23336 * gst/gsttaglist.c:
23339 2005-10-08 Wim Taymans <wim@fluendo.com>
23341 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23342 (gst_bin_dispose), (bin_bus_handler):
23343 Fix typos, add comments.
23344 Clear EOS list when going to PAUSED from any direction and do it
23345 in a threadsafe way.
23346 Get base time in a threadsafe way too.
23347 Fix confusing debug in the change_state function.
23348 Various other small cleanups.
23350 * gst/gstelement.c: (gst_element_post_message):
23351 Fix very verbose bus posting code.
23353 * gst/gstpipeline.c: (gst_pipeline_class_init),
23354 (gst_pipeline_set_property), (gst_pipeline_get_property),
23355 (gst_pipeline_change_state):
23356 Small ARG_ -> PROP_ cleanup
23358 2005-10-08 Wim Taymans <wim@fluendo.com>
23360 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23361 Do a less CPU demanding EOS check because we can.
23363 2005-10-08 Wim Taymans <wim@fluendo.com>
23365 * libs/gst/dataprotocol/dataprotocol.c:
23366 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23367 (gst_dp_packet_from_event):
23368 * libs/gst/dataprotocol/dataprotocol.h:
23369 * libs/gst/dataprotocol/dp-private.h:
23370 It's about time we bump the version number.
23371 Since event types don't fit in the guint8 anymore describing
23372 the payload type, make payload type 16 bits wide.
23374 2005-10-08 Wim Taymans <wim@fluendo.com>
23376 * docs/design/part-TODO.txt:
23377 * docs/design/part-clocks.txt:
23378 * docs/design/part-events.txt:
23379 * docs/design/part-gstbin.txt:
23380 * docs/design/part-gstelement.txt:
23381 * docs/design/part-gstpipeline.txt:
23382 * docs/design/part-live-source.txt:
23383 * docs/design/part-messages.txt:
23384 * docs/design/part-overview.txt:
23385 * docs/design/part-states.txt:
23388 2005-10-08 Wim Taymans <wim@fluendo.com>
23392 Fix event quark registration.
23393 Add some space between events so we can insert them in the
23396 2005-10-08 Wim Taymans <wim@fluendo.com>
23398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23399 (gst_base_sink_handle_buffer):
23400 Better log message.
23403 * gst/gstelement.h:
23406 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23407 (gst_queue_set_property), (gst_queue_get_property):
23409 Remove old unused properties.
23411 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23412 * docs/gst/gstreamer-sections.txt:
23413 * gst/gstmessage.c:
23414 * gst/gstmessage.h:
23415 * gst/gstminiobject.c:
23416 * gst/gstminiobject.h:
23420 lots of new docs and doc fixes
23422 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23424 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23426 * gst/gstregistry.c: (gst_registry_lookup_locked),
23427 (gst_registry_scan_path_level):
23428 * gst/gstregistryxml.c: (load_plugin):
23429 Only ever load one plugin for a given plugin basename.
23430 This ensures correct overriding of GST_PLUGIN_PATH over
23431 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23432 system installed plugins.
23434 2005-10-08 Wim Taymans <wim@fluendo.com>
23436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23437 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23438 Prepare for doing QOS.
23440 2005-10-08 Wim Taymans <wim@fluendo.com>
23442 * check/gst/gstbin.c: (GST_START_TEST):
23443 * check/pipelines/cleanup.c: (GST_START_TEST):
23444 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23445 Allow new clock message too.
23447 2005-10-08 Wim Taymans <wim@fluendo.com>
23449 * gst/gstmessage.c: (gst_message_new_error),
23450 (gst_message_new_warning), (gst_message_new_tag),
23451 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23452 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23453 (gst_message_new_segment_start), (gst_message_new_segment_done),
23454 (gst_message_parse_state_changed),
23455 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23456 (gst_message_parse_new_clock):
23457 * gst/gstmessage.h:
23458 Also carry the clock in question.
23460 2005-10-08 Wim Taymans <wim@fluendo.com>
23462 * gst/gstmessage.c: (gst_message_new_custom),
23463 (gst_message_new_eos), (gst_message_new_error),
23464 (gst_message_new_warning), (gst_message_new_tag),
23465 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23466 (gst_message_new_new_clock), (gst_message_new_segment_start),
23467 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23468 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23469 * gst/gstmessage.h:
23471 Added clock related messages.
23473 * gst/gstpipeline.c: (gst_pipeline_change_state):
23474 Post message when the clock changed.
23476 * tools/gst-launch.c: (event_loop):
23479 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23481 * tools/gst-inspect.c: (print_element_properties_info):
23482 Can't pass NULL strings to g_print() on windows.
23484 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23486 * docs/Makefile.am:
23487 * docs/gst/Makefile.am:
23488 * docs/gst/gstreamer-docs.sgml:
23489 * docs/gst/running.xml:
23490 * docs/version.entities.in:
23491 add a chapter on running GStreamer.
23492 document GST_DEBUG and GST_PLUGIN* env vars
23494 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23499 remove PLUGINS_BUILDDIR stuff
23500 * gst/gst.c: (init_post):
23501 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23503 remove, it was condescending and not needed
23505 2005-10-08 Wim Taymans <wim@fluendo.com>
23507 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23508 (gst_base_sink_handle_object), (gst_base_sink_event),
23509 (gst_base_sink_wait), (gst_base_sink_handle_event),
23510 (gst_base_sink_change_state):
23511 * gst/base/gstbasesink.h:
23512 Repost EOS message while going to PLAYING if still EOS.
23513 Make sure that when receiving a FLUSH_START we don't attempt
23514 to sync on the clock anymore.
23516 2005-10-08 Wim Taymans <wim@fluendo.com>
23518 * tools/gst-launch.c: (event_loop):
23519 Better message printout.
23521 2005-10-08 Wim Taymans <wim@fluendo.com>
23523 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23524 (gst_bin_child_proxy_get_children_count):
23525 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23526 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23527 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23528 (gst_child_proxy_set_valist):
23529 * gst/parse/grammar.y:
23530 Make ChildProxy threadsafe and fix mem leaks.
23532 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23534 * gst/gst.c: (init_post):
23535 debug the GST_PLUGIN_ env vars
23537 2005-10-08 Wim Taymans <wim@fluendo.com>
23539 * check/gst/gstbin.c: (GST_START_TEST):
23540 * check/gst/gstmessage.c: (GST_START_TEST):
23541 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23542 * gst/gstelement.c: (gst_element_commit_state),
23543 (gst_element_lost_state):
23544 * gst/gstmessage.c: (gst_message_new_state_changed),
23545 (gst_message_parse_state_changed):
23546 * gst/gstmessage.h:
23547 * tools/gst-launch.c: (event_loop):
23548 Added extra field to STATE_CHANGE message with the pending
23549 state, which will be different from the new state soon.
23551 2005-10-08 Wim Taymans <wim@fluendo.com>
23553 * gst/gstbus.c: (gst_bus_pop):
23555 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23556 Small cleanups and doc updates.
23558 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23560 * gst/gst.c: (init_pre):
23561 * gst/gstbin.c: (gst_bin_add_func):
23562 log distributing clocks and base time
23563 * gst/gstregistry.c: (gst_registry_add_plugin),
23564 (gst_registry_scan_path_level), (gst_registry_scan_path):
23565 clean up the debugging output a little
23566 * gst/gstutils.c: (gst_element_state_get_name):
23567 warn about a memleak (I've actually seen this be used, though
23568 it was probably a bug)
23570 2005-10-07 Wim Taymans <wim@fluendo.com>
23572 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23573 (gst_base_src_init), (gst_base_src_default_newsegment),
23574 (gst_base_src_newsegment), (gst_base_src_do_seek),
23575 (gst_base_src_loop), (gst_base_src_start):
23576 * gst/base/gstbasesrc.h:
23577 Make the newsegment event customizable by subclasses.
23579 2005-10-07 Wim Taymans <wim@fluendo.com>
23581 * gst/gstevent.c: (gst_event_new_buffersize),
23582 (gst_event_parse_buffersize):
23584 New event for future idea.
23586 2005-10-07 Andy Wingo <wingo@pobox.com>
23588 * gst/gstelement.c (gst_element_post_message): Doc update.
23590 * docs/gst/gstreamer-sections.txt: Update.
23592 * gst/gstmessage.c (gst_message_new_application): Made into a
23593 function like honest API calls.
23594 (gst_message_new_element): New message type.
23596 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23598 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23599 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23602 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23603 NO_PREROLL from gst_element_change_state to fall through.
23605 2005-10-07 Wim Taymans <wim@fluendo.com>
23607 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23608 (gst_ghost_pad_do_activate_push):
23609 Activating a ghostpad with no internal pad in push mode
23612 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23615 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23616 Fixes compilation on Windows.
23618 2005-10-07 Michael Smith <msmith@fluendo.com>
23620 * tools/gst-inspect.c:
23621 Print out feature and plugin count at the end when printing out
23624 2005-10-04 Michael Smith <msmith@fluendo.com>
23626 * gst/gsterror.c: (_gst_stream_errors_init):
23627 Add another error string used in a few existing plugins.
23630 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23631 * tools/gst-inspect.c: (print_element_info):
23632 When a feature disappears from a plugin (and the feature exists in
23633 the cached registry file), things went horribly wrong. This isn't a
23634 complete fix, we should actually be removing the 'missing' features
23635 from the features list when we load the actual plugin. That's not
23638 2005-10-04 Johan Dahlin <johan@gnome.org>
23640 * check/gst/gstiterator.c: (GST_START_TEST):
23641 * gst/gstbin.c: (gst_bin_iterate_elements),
23642 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23643 * gst/gstelement.c: (gst_element_iterate_pads):
23644 * gst/gstformat.c: (gst_format_iterate_definitions):
23645 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23646 (gst_iterator_new_list), (gst_iterator_filter):
23647 * gst/gstiterator.h:
23648 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23649 Add a GType to GstIterator, update callsites and tests.
23651 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23653 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23654 give events a chance to be handled by event probes when the pad
23657 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23659 * gst/gstevent.c: (gst_event_type_get_name),
23660 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23662 add string representations for event types
23664 2005-10-06 Wim Taymans <wim@fluendo.com>
23666 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23667 Don't use NULL pointers.
23669 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23671 * gst/gst_private.h:
23673 * gst/gstelement.c:
23675 * gst/gstpluginfeature.c:
23676 widen the debug category in output to fit the biggest one we have
23677 add a bus category and use it
23678 play with the colors
23679 fix up some categories
23681 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23683 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23684 add push activation of sink ghost pads.
23685 Andye, please verify
23687 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23689 * gst/gstutils.c: (gst_element_link_pads):
23690 fix a bug in the case where neither element has a pad
23691 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23692 add a test for that case
23694 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23696 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23697 emit have-data before checking for peers. This allows
23698 for probe handlers to connect elements. This helps autopluggers.
23699 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23701 add six checks, linked/unlinked with no/true/false probe
23703 2005-10-04 Wim Taymans <wim@fluendo.com>
23705 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23706 (gst_fake_sink_event), (gst_fake_sink_preroll),
23707 (gst_fake_sink_render), (gst_fake_sink_change_state):
23708 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23709 (gst_fake_src_get_property), (gst_fake_src_create),
23710 (gst_fake_src_stop):
23711 * gst/elements/gstidentity.c: (gst_identity_stop):
23712 Protect last_message with lock.
23714 2005-10-04 Edward Hervey <edward@fluendo.com>
23717 Added precision in the comments for GST_FORMAT_DEFAULT
23719 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23721 * tools/gst-launch.c: (main):
23722 Don't try to run erroneous pipelines.
23724 2005-10-04 Julien MOUTTE <julien@moutte.net>
23726 * gst/gstbus.c: We don't need this header.
23728 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23731 back to development
23733 === release 0.9.3 ===
23735 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23739 Releasing 0.9.3, "Unregistered"
23741 2005-10-03 Andy Wingo <wingo@pobox.com>
23743 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23744 whereby calling a pad's activatepush() function can start a thread
23745 that starts to push or pull before the pad gets the FLUSHING flag
23746 unset. Hack around it by holding the stream lock until the flag is
23747 set. Need to replace this with a proper solution. Together with
23748 the ghost pad fixes, this fixes mp3 playing/tagreading.
23750 * docs/design/part-gstghostpad.txt: Add a note about activation of
23751 proxy pads outside of ghost pads.
23753 * gst/gstghostpad.c: Implement the ghost pad activation design.
23755 2005-10-02 Andy Wingo <wingo@pobox.com>
23757 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23758 It is volatile, after all.
23760 * docs/design/part-gstghostpad.txt: Flesh out activation with
23763 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23766 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23769 Fix (unused) AM_CONDITIONAL tests.
23771 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23773 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23775 * gst/gstutils.c: (gst_pad_query_convert):
23776 Add assertion that makes sure src_val is >=0, just like
23777 gst_query_new_convert() has. (#315895)
23779 2005-09-30 Edward Hervey <edward@fluendo.com>
23781 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23782 Let's not iterate pads we're not interested in, it avoids getting
23783 sky-high refcounts on sinkpad.
23785 2005-09-30 Wim Taymans <wim@fluendo.com>
23787 * gst/gstelement.c: (gst_element_set_state),
23788 (gst_element_change_state):
23789 Small tweak, element in ASYNC remains ASYNC.
23791 2005-09-30 Wim Taymans <wim@fluendo.com>
23793 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23794 Only error is an error.
23796 * gst/gstbin.c: (gst_bin_change_state):
23799 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23800 Also call pad_block in pad alloc.
23802 * gst/gstutils.c: (gst_flow_get_name):
23805 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23807 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23808 (gst_base_src_get_range):
23809 Fix documentation typos. Add some more debug info.
23811 2005-09-29 David Schleef <ds@schleef.org>
23813 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23814 more end-user friendly.
23815 * tools/gst-inspect.c: (main): Check if command-line argument is
23816 a file and attempt to load that file as a plugin.
23818 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23820 * check/gst/gstbin.c:
23821 * check/states/sinks.c:
23822 fix tests for the new warning
23823 * check/gst/gstpipeline.c:
23824 add a test for pipeline and bus interaction
23825 * gst/gstelement.c:
23826 elements should be NULL if they get disposed; add a warning if not
23828 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23831 for 2.6 refcounting, make debug log more correct by printing
23832 the actual refcounts at the time of swap (Wim)
23834 2005-09-29 Andy Wingo <wingo@pobox.com>
23836 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23837 removes signal watches previously added via
23838 gst_bus_add_signal_watch.
23839 (gst_bus_add_signal_watch): Don't return the source id, just store
23840 it on the bus if there wasn't an id already.
23842 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23843 add_signal_watch and remove_signal_watch.
23845 2005-09-29 Edward Hervey <edward@fluendo.com>
23847 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23848 Better if we actually iterate the list :)
23850 2005-09-29 Wim Taymans <wim@fluendo.com>
23852 * check/gst/gstbin.c: (GST_START_TEST):
23853 Change for new bus API.
23855 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23856 (send_messages), (GST_START_TEST), (gstbus_suite):
23857 Change for new bus signal API.
23859 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23860 (gst_bus_source_prepare), (gst_bus_source_check),
23861 (gst_bus_create_watch), (gst_bus_add_watch_full),
23862 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23863 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23865 Remove support for multiple GSources operating on different
23866 message types as it is too complex and unneeded when using
23868 Added support for receiving signals from the bus.
23870 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23872 * docs/libs/tmpl/gstdataprotocol.sgml:
23873 * docs/manual/advanced-dataaccess.xml:
23874 * gst/elements/gstcapsfilter.c:
23876 rename filter-caps to caps property
23878 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23880 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23881 More robust fraction string parsing.
23883 * docs/pwg/appendix-porting.xml:
23884 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23886 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23888 * gst/gstcaps.c: (gst_caps_do_simplify):
23889 Thou shalt not free a structure and then continue using it
23890 in the next loop iteration.
23892 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23894 Add test case for caps simplification.
23896 2005-09-29 Wim Taymans <wim@fluendo.com>
23898 * check/gst/gstbin.c: (GST_START_TEST):
23901 2005-09-29 Wim Taymans <wim@fluendo.com>
23903 * check/gst/gstbin.c: (GST_START_TEST):
23906 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23907 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23908 (find_element), (gst_bin_sort_iterator_next),
23909 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23910 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23911 (gst_bin_change_state), (gst_bin_dispose):
23912 A bin does not have a bus, it gets the bus from the parent.
23914 * gst/gstelement.c: (gst_element_requires_clock),
23915 (gst_element_provides_clock), (gst_element_is_indexable),
23916 (gst_element_is_locked_state), (gst_element_change_state),
23917 (gst_element_set_bus_func):
23920 * gst/gstpipeline.c: (gst_pipeline_class_init),
23921 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23922 The pipeline provides a bus.
23924 2005-09-28 Johan Dahlin <johan@gnome.org>
23926 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23927 gst_structure_get_enum instead of gst_structure_get_int
23929 * gst/gststructure.c (gst_structure_get_enum): Impl.
23931 * gst/gststructure.h (gst_structure_get_enum): Add
23933 * docs/gst/gstreamer-sections.txt: Ditto
23935 * gst/gstmessage.c (gst_message_new_state_changed): Use
23936 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23937 which does introspection.
23938 Reviewed by Christian Schaller
23940 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23942 * gst/gstinfo.c: (gst_debug_log_default):
23943 don't do dummy g_strdup()s
23944 * libs/gst/controller/gstcontroller.c:
23945 (on_object_controlled_property_changed),
23946 (gst_controlled_property_new), (gst_controller_new_valist),
23947 (gst_controller_new_list),
23948 (gst_controller_remove_properties_valist), (gst_controller_set),
23949 (gst_controller_get), (gst_controller_sync_values),
23950 (gst_controller_get_value_array), (_gst_controller_class_init),
23951 (gst_controller_get_type):
23952 * libs/gst/controller/gstcontroller.h:
23953 * libs/gst/controller/gstinterpolation.c:
23954 (gst_controlled_property_find_timed_value_node):
23955 convert // to /**/ comments
23957 2005-09-28 Wim Taymans <wim@fluendo.com>
23959 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23960 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23961 (gst_bus_sync_signal_handler):
23963 Added async-message and sync-message signals to the bus.
23964 Added helper BusFunc to emit signals for all posted messages.
23966 * gst/gstmessage.c: (gst_message_type_get_name),
23967 (gst_message_type_to_quark), (gst_message_get_type):
23968 * gst/gstmessage.h:
23969 Register quarks for message names.
23971 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23973 * docs/libs/gstreamer-libs-sections.txt:
23974 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23975 (gst_controller_new_list):
23976 * libs/gst/controller/gstcontroller.h:
23977 added another constructor for language bindings
23979 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23981 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23985 * gst/gstinfo.c: (_gst_debug_init):
23986 slightly more readable color for refcount debugging
23988 2005-09-28 Wim Taymans <wim@fluendo.com>
23990 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23991 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23992 (find_element), (gst_bin_sort_iterator_next),
23993 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23994 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23995 (gst_bin_change_state), (gst_bin_dispose):
23996 Small doc fixes. get_clock -> provide_clock.
23998 * gst/gstelement.c: (gst_element_class_init),
23999 (gst_element_provides_clock), (gst_element_provide_clock),
24000 (gst_element_get_clock), (gst_element_commit_state),
24001 (gst_element_lost_state):
24002 * gst/gstelement.h:
24003 Make get/set_clock() symetric. Add provide_clock vmethod since
24004 that is actually what this function does.
24006 * gst/gstpipeline.c: (gst_pipeline_class_init),
24007 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24008 (gst_pipeline_get_clock):
24009 get_clock -> provide_clock.
24011 2005-09-28 Andy Wingo <wingo@pobox.com>
24013 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24014 lieu of real docs...
24016 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24018 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24020 * gst/elements/gstcapsfilter.c:
24021 * gst/elements/gstfakesink.c:
24022 * gst/elements/gstfakesrc.c:
24023 * gst/elements/gstfdsink.c:
24024 * gst/elements/gstfdsrc.c:
24025 * gst/elements/gstfilesink.c:
24026 * gst/elements/gstfilesrc.c:
24027 * gst/elements/gstidentity.c:
24028 * gst/elements/gsttee.c:
24029 * gst/elements/gsttypefindelement.c:
24030 Make element details static.
24032 2005-09-28 Wim Taymans <wim@fluendo.com>
24034 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24035 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24036 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24037 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24038 (gst_bin_change_state), (gst_bin_dispose):
24039 Some documentation updates.
24040 Clean up dispose handlers.
24042 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24043 * gst/gstpad.c: (gst_pad_dispose):
24044 Clean up dispose handler.
24046 * gst/gstpipeline.c: (gst_pipeline_change_state):
24047 Removed spurious UNLOCK.
24049 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24051 * docs/gst/gstreamer-sections.txt:
24052 * gst/base/gstbasesrc.h:
24053 * gst/gstelement.h:
24057 * gst/gstpipeline.c:
24058 * gst/gstpipeline.h:
24061 added two new functions to the docs
24062 documents all undocumented GstXXXFlags
24063 completed some incomplete docs
24065 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24067 * gst/gstbin.c: (gst_bin_dispose):
24068 * gst/gstelement.c: (gst_element_dispose):
24069 remove now useless and leaky resurrection code in dispose
24070 * gst/base/gstbasesrc.c: (gst_base_src_init):
24071 * gst/gstelementfactory.c: (gst_element_factory_create):
24072 * gst/gstobject.c: (gst_object_set_parent):
24075 2005-09-27 Wim Taymans <wim@fluendo.com>
24077 * docs/design/part-TODO.txt:
24080 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24081 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24082 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24083 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24084 (gst_bin_change_state):
24085 * gst/gstelement.h:
24086 Remove element variable, we keep element info in the iterator now.
24088 2005-09-27 Andy Wingo <wingo@pobox.com>
24090 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24093 2005-09-27 Wim Taymans <wim@fluendo.com>
24095 * check/gst/gstbin.c: (GST_START_TEST):
24096 Enable check that works now.
24098 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24099 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24100 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24101 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24102 (gst_bin_change_state):
24104 Redid the state change algorithm using a topological sort algo.
24105 Handles all cases correctly.
24106 Exposed iterator for state change order.
24108 * gst/gstelement.h:
24109 Temp storage for state changes. Need to get rid of this soon.
24111 2005-09-27 Wim Taymans <wim@fluendo.com>
24113 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24114 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24115 (link_fold_func), (gst_pad_proxy_setcaps):
24116 Leak fixes, the fold functions need to unref the passed object and
24117 _get_parent_*() returns ref to parent.
24119 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24121 * check/gst/gstbuffer.c: (test_make_writable):
24122 Plug leak in test case and fix 'make check-valgrind'
24124 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24126 * gst/gstbuffer.c: (gst_subbuffer_init):
24127 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24128 works correctly in all circumstances (we could have just copied
24129 the parent buffer's readonly flag, but conceptually it seems
24130 cleaner to mark all subbuffers as read-only). (based on patch
24131 by Alessandro Decina, #314710).
24133 * check/gst/gstbuffer.c: (create_read_only_buffer),
24134 (test_make_writable), (test_subbuffer_make_writable),
24136 Add some tests for gst_buffer_make_writable().
24138 2005-09-27 Wim Taymans <wim@fluendo.com>
24140 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24141 use gst_object_has_ancestor().
24143 * gst/gstobject.c: (gst_object_has_ancestor):
24145 gst_object_has_ancestor() copied from gstbin.c as it is a
24148 * tests/instantiate/create.c: (create_all_elements):
24149 * tests/lat.c: (handoff_src), (handoff_sink):
24150 * tests/sched/runxml.c: (main):
24151 * tests/seeking/seeking1.c: (main):
24152 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24154 Fix compilation of some tests.
24156 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24159 Remove comment. GST_TYPE_G_ERROR is here to stay,
24160 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24161 (#316961, #300610).
24163 2005-09-26 Wim Taymans <wim@fluendo.com>
24165 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24166 Added check that shows error in state change order.
24168 2005-09-26 Wim Taymans <wim@fluendo.com>
24170 * gst/gstbin.c: (gst_bin_change_state):
24171 Make state change function use 3 queues again, we were
24172 adding elements in the wrong order.
24174 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24177 * gst/gstpad.c: (gst_pad_dispose):
24178 Added some debug info first.
24180 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24182 * docs/design/draft-push-pull.txt:
24183 * docs/design/part-events.txt:
24184 * docs/design/part-overview.txt:
24185 * docs/design/part-scheduling.txt:
24186 Replace all _pull_region() with _pull_range()
24188 2005-09-26 Andy Wingo <wingo@pobox.com>
24190 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24192 * check/gst-libs/controller.c: Update for controller api change.
24195 * tests/Makefile.am:
24196 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24197 over by GLib bug 118439.
24199 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24200 routines to a function.
24202 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24204 * libs/gst/controller/gsthelper.c:
24205 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24206 (gst_object_sync_values): Renamed from sink_values. Ugh.
24208 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24210 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24211 Renamed from controller_key, as it is exported.
24213 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24215 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24220 * gst/gstpadtemplate.h:
24223 * gst/gstqueryutils.c:
24224 * gst/gstqueryutils.h:
24225 remove queryutils headers after moving the two used functions
24226 to gstquery. also fixes build problem for gstsiddec
24228 2005-09-26 Michael Smith <msmith@fluendo.com>
24230 * tools/gst-launch.1.in:
24231 Correct documentation in manpage of debug syntax
24233 2005-09-26 Wim Taymans <wim@fluendo.com>
24235 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24236 (gst_base_src_is_seekable), (gst_base_src_change_state):
24237 Some more debugging info.
24239 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24241 * docs/gst/gstreamer-sections.txt:
24242 * gst/base/gstbasetransform.h:
24246 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24248 * docs/gst/.cvsignore:
24249 * docs/gst/tmpl/.cvsignore:
24250 * docs/gst/tmpl/gstpipeline.sgml:
24251 * docs/gst/tmpl/gstplugin.sgml:
24252 * gst/gstpipeline.c:
24255 inlined the last two docs files
24256 removed the tmpl directory from cvs (no more conflicts here!)
24258 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24260 * docs/gst/gstreamer-sections.txt:
24261 * docs/gst/tmpl/.cvsignore:
24262 * docs/gst/tmpl/gstpad.sgml:
24263 * docs/gst/tmpl/gstpadtemplate.sgml:
24265 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24266 (gst_pad_finalize), (gst_pad_set_pad_template):
24268 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24269 (gst_pad_template_class_init), (gst_pad_template_init),
24270 (gst_pad_template_dispose), (name_is_valid),
24271 (gst_static_pad_template_get), (gst_pad_template_new),
24272 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24273 (gst_pad_template_pad_created):
24274 * gst/gstpadtemplate.h:
24275 inlined two more docs
24276 factored gstpadtemplate out of gstpad
24278 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24280 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24281 (test_children_state_change_order_semi_sink):
24282 Fix test case: we can't rely on a fixed state change order when
24283 going from READY => PAUSED because the sink might commit its
24284 new state first when the first buffer created by the source
24285 reaches the sink before the source has finished its change state.
24286 (Test case still fails at times, see #316856, comment 5 onwards)
24288 2005-09-24 Wim Taymans <wim@fluendo.com>
24290 * docs/design/part-events.txt:
24291 * docs/design/part-gstbus.txt:
24292 * docs/design/part-gstpipeline.txt:
24293 * docs/design/part-messages.txt:
24294 * docs/design/part-overview.txt:
24295 * docs/design/part-segments.txt:
24299 * gst/gstelement.c:
24302 * gst/gstiterator.c:
24303 Various documentation updates.
24305 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24308 Well, that's embarassing. Luckily we weren't using
24309 GST_CLOCK_DIFF anywhere.
24311 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24313 * common/gtk-doc.mak:
24314 don't fail on building XML, FC4 slave shows a bunch of doc
24315 missing bits that I don't get
24317 * gst/gstpipeline.c:
24318 * gst/gststructure.c:
24321 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24323 * docs/design/part-gstbin.txt:
24324 * docs/design/part-gstbus.txt:
24326 Add blurb about how the bus goes into flushing mode and
24327 drops all messages when its bin goes from READY into NULL
24330 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24332 * docs/gst/gstreamer-sections.txt:
24333 * gst/gststructure.c: (gst_structure_get_clock_time):
24334 * gst/gststructure.h:
24335 add a method to get a GstClockTime out of a structure
24337 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24339 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24340 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24341 Added test to check state change order in bins (can still be made
24342 to fail here under heavy disk load; bails out with 'Push on pad
24343 fakesink:sink0, but it was not activated in push mode').
24345 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24346 Fix state change order when there is only a semi sink (#316856)
24348 * gst/gstbus.c: (gst_bus_class_init):
24349 Use _class_peek_parent(), not _class_ref(); fix docs to say
24350 'default main context' instead of 'mainloop' where that is
24353 * gst/gstelement.c: (gst_element_commit_state),
24354 (gst_element_set_state):
24355 Fix typos in debug messages
24357 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24360 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24361 * gst/gstpluginfeature.c:
24363 various doc updates
24364 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24365 change an assert into an error until it gets fixed properly
24367 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24369 * docs/gst/gstreamer-sections.txt:
24370 * docs/gst/tmpl/.cvsignore:
24371 * docs/gst/tmpl/gstelement.sgml:
24372 * docs/gst/tmpl/gstinfo.sgml:
24373 * docs/gst/tmpl/gstobject.sgml:
24374 * gst/gstelement.c:
24375 * gst/gstelement.h:
24378 * gst/gstobject.c: (gst_object_class_init):
24380 inlined 3 more biiiig doc files and added some missing docs on the fly
24382 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24384 * check/gst/.cvsignore:
24385 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24386 * gst/gstregistryxml.c: (load_plugin),
24387 (gst_registry_xml_save_plugin):
24388 put back source in registry. add checks for find_plugin.
24389 * testsuite/states/bin.c: (assert_state), (empty_bin),
24390 (test_adding_one_element), (main):
24391 * testsuite/states/locked.c: (main):
24392 some compile/run fixes
24394 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24396 * check/gst/gstvalue.c: (GST_START_TEST):
24397 fix leaks in the test itself
24399 2005-09-22 Wim Taymans <wim@fluendo.com>
24401 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24402 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24403 (gst_base_sink_query):
24404 Prepare for more accurate position reporting and query
24407 * gst/gstelement.c: (gst_element_send_event),
24408 (gst_element_set_state):
24411 2005-09-22 Wim Taymans <wim@fluendo.com>
24413 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24414 (gst_query_parse_segment):
24416 More documentation.
24417 Add segment query for future use.
24419 2005-09-22 Wim Taymans <wim@fluendo.com>
24421 * gst/gstbin.c: (gst_bin_add_func):
24422 Some more debug info.
24424 * gst/gstelement.c: (gst_element_send_event):
24425 Simplify send_event
24427 * gst/gstelement.h:
24428 Don't know how flags got broken.
24433 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24435 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24436 Add simplistic test suite for GST_TYPE_DATE serialisation and
24439 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24441 * docs/gst/gstreamer-sections.txt:
24442 * gst/gststructure.c: (gst_structure_set_valist),
24443 (gst_structure_get_date):
24444 * gst/gststructure.h:
24445 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24446 (gst_date_copy), (gst_value_compare_date),
24447 (gst_value_serialize_date), (gst_value_deserialize_date),
24448 (gst_value_transform_date_string),
24449 (gst_value_transform_string_date), (_gst_value_initialize):
24451 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24452 bunch of utility functions along with a hack that checks that
24453 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24454 is required. Part of the grand scheme in #170777.
24456 2005-09-22 Andy Wingo <wingo@pobox.com>
24458 * gst/gstconfig.h.in: Psych out gtk-doc.
24460 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24462 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24464 * tools/gst-inspect.c (print_element_list): Plug some
24465 inconsequential leaks.
24467 * gst/gstregistry.c (gst_registry_get_default): Doc.
24469 * check/gst/gstplugin.c:
24470 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24471 * gst/gstelementfactory.c (gst_element_factory_create):
24472 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24475 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24476 (gst_plugin_feature_load): Doc, don't eat refs.
24478 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24479 (gst_plugin_list_free): Doc.
24480 (gst_plugin_load_file): Doc updates.
24482 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24483 accessors returning refcounted objects, return a ref.
24485 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24486 accessor for caps. IDEMPOTENCE. Oh yes.
24488 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24490 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24492 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24493 (_gst_debug_register_funcptr):
24494 Add mutex to serialise access to the hash table with
24495 the function pointer => function name string mapping;
24496 make that hash table static scope (#316809).
24498 * gst/registries/.cvsignore:
24499 Remove left-over file.
24501 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24503 * docs/pwg/appendix-porting.xml:
24504 And something about newsegment events and caps-on-buffers to
24505 the porting guide (feel free to improve).
24507 2005-09-21 Andy Wingo <wingo@pobox.com>
24509 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24510 data and event probes on the same pad.
24511 (test_buffer_probe_once): Test that removing probes from within
24512 the probe functions works.
24514 2005-09-21 Andy Wingo <wingo@pobox.com>
24516 * check/gst/gstutils.c: New file.
24517 (test_buffer_probe_n_times): A simple buffer probe test. More to
24520 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24521 have-data::buffer, not have-data.
24522 (gst_pad_add_event_probe): Likewise for have-data::event.
24523 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24524 peer' isn't quite right yet though.
24525 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24526 (gst_pad_remove_data_probe): Change to take the guint handler_id
24527 as their arg, not the function+data, which is more glib-like.
24529 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24530 the signal emission to indicate if the data is a buffer or an
24532 (gst_pad_get_type): Initialize buffer and event quarks.
24533 (gst_pad_class_init): have-data is now a detailed signal, yes it
24536 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24538 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24539 * gst/gstutils.c: (gst_util_set_value_from_string),
24540 (gst_util_set_object_arg):
24541 Don't put functional code in g_return_if_fail() or
24542 g_return_val_if_fail() statements, otherwise things will
24543 break when G_DISABLE_CHECKS is defined during compilation.
24545 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24547 * docs/gst/tmpl/.cvsignore:
24548 * docs/gst/tmpl/gstvalue.sgml:
24551 inlied another one and added some obvious docs
24553 2005-09-21 Wim Taymans <wim@fluendo.com>
24555 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24556 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24557 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24558 (gst_fdsrc_get_property), (gst_fdsrc_create):
24559 * gst/elements/gstfdsrc.h:
24560 Properly implement fdsrc. Removed signal and timeout,
24561 better implemented somewhere else.
24563 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24565 * docs/gst/tmpl/.cvsignore:
24566 * docs/gst/tmpl/gstimplementsinterface.sgml:
24567 * gst/gstinterface.c:
24570 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24572 * docs/gst/gstreamer-sections.txt:
24573 * docs/gst/tmpl/.cvsignore:
24574 * docs/gst/tmpl/gstenumtypes.sgml:
24575 remove obsolete doc file
24577 2005-09-21 David Schleef <ds@schleef.org>
24579 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24580 little beer, fix a little leak.
24582 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24584 * docs/gst/gstreamer-docs.sgml:
24585 * docs/gst/gstreamer-sections.txt:
24586 * docs/gst/tmpl/.cvsignore:
24590 * gst/gstelement.h:
24591 * gst/gstindex.c: (gst_index_class_init):
24593 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24594 (gst_index_factory_class_init), (gst_index_factory_init),
24595 (gst_index_factory_finalize), (gst_index_factory_new),
24596 (gst_index_factory_destroy), (gst_index_factory_find),
24597 (gst_index_factory_create), (gst_index_factory_make):
24598 * gst/gstindexfactory.h:
24599 * gst/gstpluginfeature.c:
24600 * gst/gstpluginfeature.h:
24601 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24602 more docs inlined, splitted gstindex.{c,h}
24604 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24606 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24609 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24611 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24612 Set sync to FALSE by default.
24614 2005-09-20 Wim Taymans <wim@fluendo.com>
24616 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24617 (gst_base_sink_init):
24618 Make sync property settable from subclass.
24620 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24621 (gst_fake_sink_change_state):
24622 Set sync to FALSE by default.
24624 2005-09-20 Wim Taymans <wim@fluendo.com>
24626 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24627 * tools/gst-launch.c: (main):
24628 The timeout handler should have lower priority than the source
24629 so we don't timeout before popping a message with 0 timeout.
24630 Dump error messages after failed state change.
24632 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24634 * tools/gst-inspect.c: (print_element_properties_info):
24637 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24639 * check/gst/gstevent.c:
24640 * gst/elements/gstfakesink.c:
24641 * gst/elements/gstfakesink.h:
24642 remove the sync property from fakesink.
24643 has the side effect of setting sync TRUE
24644 for fakesink, which is a change. Anyone who knows how
24645 to fix this nicely in a GObject-y way, feel free.
24647 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24649 * docs/gst/gstreamer-docs.sgml:
24650 remove probe refsection
24652 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24654 * check/Makefile.am:
24655 disable valgrinding the controller test again
24656 * docs/gst/gstreamer-sections.txt:
24657 update for api-changes
24659 2005-09-20 Wim Taymans <wim@fluendo.com>
24661 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24662 (gst_base_sink_set_property), (gst_base_sink_get_property),
24663 (gst_base_sink_do_sync):
24664 * gst/base/gstbasesink.h:
24665 Added sync property to basesink to disable clock sync.
24667 2005-09-20 Andy Wingo <wingo@pobox.com>
24669 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24670 eating the caller's refcount.
24672 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24673 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24676 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24677 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24678 of GLib 2.8 public, so we can know which refcount to check in
24681 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24682 (gst_object_init): Only set the gst refcount if we're going ahead
24683 with the refcount hack.
24685 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24687 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24688 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24689 more leaks plumbed, added more debug-logging
24693 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24695 * gst/gstmessage.c:
24696 remove include of gstmemchunk.h
24698 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24700 * gst/gstclock.c: (_gst_clock_id_free):
24701 Commit from the Political Party For More Atomic CVS Commits,
24702 so that people don't waste too much of their day fishing
24703 out obvious leaks out of massive commits.
24704 Oh, and fix a pretty damn obvious leak in the memchunk
24707 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24709 * check/Makefile.am:
24710 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24711 plug mem-leak, re-add to valgrindable tests
24713 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24716 unbreak the build for those who have chronic arthritis
24717 and typing "make check" is just too taxing on the hands
24719 2005-09-20 Andy Wingo <wingo@pobox.com>
24721 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24722 really want it out, you should fix plugins at the same time.
24724 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24727 * docs/gst/gstreamer-sections.txt:
24729 added missing symbols to api docs
24730 disable ref-count hack if we have glib >= 2.8
24732 2005-09-19 David Schleef <ds@schleef.org>
24734 * docs/gst/Makefile.am: Ignore a few more internal headers
24735 * docs/gst/gstreamer-docs.sgml: Remove old sections
24736 * docs/gst/gstreamer-sections.txt: Remove old sections
24737 * docs/gst/tmpl/gstobject.sgml: update
24738 * docs/gst/tmpl/gstplugin.sgml: update
24739 * docs/gst/tmpl/gstpluginfeature.sgml: update
24740 * docs/random/ds/0.9-suggested-changes: update.
24741 * gst/Makefile.am: remove memchunk and trashstack, since they're
24743 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24744 * gst/gst.h: don't include some headers
24745 * gst/gstchildproxy.c: add gstmarshal.h
24746 * gst/gstclock.c: Don't use memchunks
24747 * gst/gstminiobject.c: Add some docs
24748 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24749 * gst/gstobject.h: same
24750 * gst/gstplugin.c: include gstmacros.h
24751 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24752 * gst/gstquery.c: don't use memchunks
24753 * gst/gstregistry.c: rename gst_registry_deinit()
24754 * gst/gstregistry.h: same
24756 2005-09-19 David Schleef <ds@schleef.org>
24758 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24759 * docs/libs/gstreamer-libs-sections.txt:
24760 * docs/libs/tmpl/gstgetbits.sgml:
24761 * docs/libs/tmpl/gstputbits.sgml:
24763 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24765 * win32/gstenumtypes.c:
24766 * win32/gstenumtypes.h:
24769 2005-09-19 Wim Taymans <wim@fluendo.com>
24771 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24772 Automatically PAUSE and RESUME a pipeline when a flushing seek
24775 2005-09-19 Andy Wingo <wingo@pobox.com>
24777 * gst/gstregistry.h: Spacing fixen.
24779 2005-09-19 Wim Taymans <wim@fluendo.com>
24781 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24782 Handle state change failure more correctly.
24784 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24786 * check/Makefile.am:
24787 * check/pipelines/cleanup.c: (run_pipeline):
24788 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24790 enable cleanup again after fixing the leak
24792 some more info on docs
24794 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24796 * check/Makefile.am:
24797 re-enable tests now that leaks are plugged
24799 * check/gst/gstbin.c:
24800 * check/gst/gstpipeline.c:
24801 add some more tests while fixing leaks
24802 * common/check.mak:
24803 make sure binaries are uptodate when valgrinding/gdbing
24805 * gst/gstelementfactory.c:
24806 remove a ref too many, and add a FIXME for when we get
24807 round to disposing of classes
24809 fix the refcounting when loading a plugin from a file and
24810 the code pretends that the pointer is the same even though
24811 of course it can change
24812 * gst/gstpluginfeature.c:
24813 unref plugins marked cached (a bit confusing as a name)
24814 as the docs state should be done
24815 various doc additions to explain refcounting
24816 * gst/gstregistry.c:
24817 * gst/gstregistryxml.c:
24820 2005-09-19 Wim Taymans <wim@fluendo.com>
24822 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24823 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24824 (send_messages), (GST_START_TEST), (gstbus_suite):
24825 * check/gst/gstpipeline.c: (GST_START_TEST):
24826 * check/pipelines/cleanup.c: (run_pipeline):
24827 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24829 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24830 (gst_bus_source_check), (gst_bus_source_dispatch),
24831 (gst_bus_create_watch), (gst_bus_add_watch_full),
24832 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24834 * tools/gst-launch.c: (event_loop):
24835 * tools/gst-md5sum.c: (event_loop):
24836 GstBusHandler -> GstBusFunc, return value has the same meaning as
24837 any other GSource (FALSE == remove source).
24838 _add_watch() and _add_watch_full() now take a MessageType mask to
24839 only handle specific types of messages.
24840 _poll() returns the GstMessage instead of the message type to avoid
24842 _have_pending() takes a MessageType mask now too.
24843 Added testsuite for multiple bus watches.
24844 Fix testsuites and applications for new bus API.
24846 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24848 * check/Makefile.am:
24849 mark a bunch of the tests as to fix until we fix them
24851 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24853 * common/check.mak:
24854 use GST_PLUGIN settings for valgrind tests as well, so we're
24855 valgrinding the correct thing
24856 * gst/gst.c: (init_post):
24859 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24861 * gst/gst.c: (init_post), (gst_deinit):
24862 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24863 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24864 * gst/gstindex.c: (gst_index_factory_class_init),
24865 (gst_index_factory_finalize):
24866 * gst/gstobject.c: (gst_object_dispose):
24867 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24868 (gst_plugin_load_file), (gst_plugin_desc_free):
24869 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24870 (gst_plugin_feature_finalize):
24871 * gst/gstregistry.c: (gst_registry_class_init),
24872 (gst_registry_init), (gst_registry_finalize),
24873 (gst_registry_get_default), (gst_registry_deinit):
24874 * gst/gstregistry.h:
24875 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24876 various cleanups and memleak plugging. make valgrind is happy now.
24878 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24880 * common/check.mak:
24881 add a check-valgrind target
24883 2005-09-18 David Schleef <ds@schleef.org>
24885 * tools/gst-inspect.c: Revert the GOption code.
24887 2005-09-17 David Schleef <ds@schleef.org>
24889 * check/Makefile.am: Fix environment variables.
24890 * check/gst/gstplugin.c: Fix for API changes.
24891 * tools/gst-inspect.c: Fix for API changes.
24892 * tools/gst-xmlinspect.c: Fix for API changes.
24893 * gst/gstelementfactory.c:
24896 * gst/gstpluginfeature.c:
24897 * gst/gstpluginfeature.h:
24898 * gst/gstregistry.c:
24899 * gst/gstregistry.h:
24900 * gst/gstregistryxml.c:
24901 * gst/gsttypefind.c:
24902 * gst/gsttypefindfactory.c:
24903 * gst/indexers/gstfileindex.c:
24904 * gst/indexers/gstmemindex.c:
24905 * gst/schedulers/Makefile.am:
24906 Change registry to keep track of both plugins and features,
24907 removing the feature tracking from plugins themselves.
24909 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24911 * check/Makefile.am:
24912 * tools/gst-register.1.in:
24913 remove gst-register
24915 2005-09-15 David Schleef <ds@schleef.org>
24917 * check/gst/gstplugin.c:
24918 * gst/gstelementfactory.c:
24920 * gst/gstpluginfeature.c:
24921 * gst/gstregistry.c:
24922 Getting tired of debugging. Disabled all the unreffing of
24923 plugins and features, which fixes the segfaults, but of
24924 course leaks like crazy. At least playbin works.
24926 2005-09-15 David Schleef <ds@schleef.org>
24928 * check/gst/gstplugin.c: (register_check_elements),
24929 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24931 * gst/elements/gsttypefindelement.c: Fix refcounting.
24932 * gst/gsttypefind.c:
24933 * gst/gsttypefindfactory.c:
24934 * gst/gsttypefindfactory.h:
24936 2005-09-15 David Schleef <ds@schleef.org>
24938 * gst/gstindex.c: get refcounting correct.
24939 * gst/gstregistry.c: Handle the case where a feature/plugin is
24942 2005-09-15 David Schleef <ds@schleef.org>
24944 * check/Makefile.am:
24945 * check/gst/gstplugin.c: Add test
24946 * gst/gstplugin.c: Fix problems noticed by testsuite
24948 * gst/gstregistry.c:
24949 * gst/gstregistry.h:
24951 2005-09-15 David Schleef <ds@schleef.org>
24953 * gst/gstplugin.c: Implement semi-decent recounting and locking
24954 in plugins and plugin features.
24956 * gst/gstpluginfeature.c:
24957 * gst/gstpluginfeature.h:
24958 * gst/gstregistry.c:
24960 2005-09-15 Michael Smith <msmith@fluendo.com>
24962 * gst/gstregistry.c: (gst_registry_get_feature_list):
24963 Implement this. Makes oggdemux work; decodebin still broken.
24965 2005-09-14 David Schleef <ds@schleef.org>
24967 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24969 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24970 * gst/check/Makefile.am:
24971 * libs/gst/controller/Makefile.am:
24972 * libs/gst/dataprotocol/Makefile.am:
24974 2005-09-14 David Schleef <ds@schleef.org>
24976 * configure.ac: Remove getbits library. Nothing uses it, and
24977 it should be in something like liboil if someone did want
24979 * libs/gst/Makefile.am:
24980 * libs/gst/getbits/Makefile.am:
24981 * libs/gst/getbits/gbtest.c:
24982 * libs/gst/getbits/getbits.c:
24983 * libs/gst/getbits/getbits.h:
24984 * libs/gst/getbits/gstgetbits_generic.c:
24985 * libs/gst/getbits/gstgetbits_i386.s:
24986 * libs/gst/getbits/gstgetbits_inl.h:
24988 2005-09-14 David Schleef <ds@schleef.org>
24990 * gst/Makefile.am: Dist glib-compat.h
24992 2005-09-14 David Schleef <ds@schleef.org>
24994 * configure.ac: Remove gst/registries, since it's no longer used.
24995 * gst/registries/Makefile.am:
24996 * gst/registries/gstlibxmlregistry.c:
24997 * gst/registries/gstlibxmlregistry.h:
24998 * gst/registries/gstxmlregistry.c:
24999 * gst/registries/gstxmlregistry.h:
25000 * gst/registries/registrytest.c:
25002 2005-09-14 David Schleef <ds@schleef.org>
25004 * gst/glib-compat.h:
25005 * gst/gstregistryxml.c:
25006 Convergence is near. Seriously.
25008 2005-09-14 David Schleef <ds@schleef.org>
25010 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25011 * gst/glib-compat.h:
25012 Attempt #4 to appease the buildbots.
25014 2005-09-14 David Schleef <ds@schleef.org>
25016 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25019 2005-09-14 David Schleef <ds@schleef.org>
25021 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25024 2005-09-14 David Schleef <ds@schleef.org>
25026 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25029 2005-09-14 David Schleef <ds@schleef.org>
25031 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25032 * gst/glib-compat.h: Add some functions that are in newer versions
25033 of glib than we care to require.
25034 * gst/gstregistryxml.c: Use them.
25036 2005-09-14 David Schleef <ds@schleef.org>
25038 * po/POTFILES.in: remove gst-register.c
25040 2005-09-14 David Schleef <ds@schleef.org>
25042 * docs/gst/gstreamer-docs.sgml:
25043 * docs/gst/gstreamer-sections.txt:
25044 * docs/gst/gstreamer.types:
25045 * docs/gst/tmpl/gstelement.sgml:
25046 * docs/gst/tmpl/gstplugin.sgml:
25047 * docs/gst/tmpl/gstpluginfeature.sgml:
25048 Documentation updates for registry changes.
25050 2005-09-14 David Schleef <ds@schleef.org>
25052 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25053 because we don't require glib-2.8.
25055 2005-09-14 David Schleef <ds@schleef.org>
25057 * gst/gstregistryxml.c: Added. Essentially moved out of the
25058 registries directory.
25060 2005-09-14 David Schleef <ds@schleef.org>
25062 * check/Makefile.am:
25063 * check/generic/states.c:
25067 * gst/gst_private.h:
25068 * gst/gstelementfactory.c:
25073 * gst/gstpluginfeature.c:
25074 * gst/gstpluginfeature.h:
25075 * gst/gstregistry.c:
25076 * gst/gstregistry.h:
25077 * gst/gstregistrypool.c: remove
25078 * gst/gstregistrypool.h: remove
25079 * gst/gsttypefind.c:
25080 * gst/gsttypefindfactory.c:
25082 * tools/Makefile.am:
25083 * tools/gst-compprep.c:
25084 * tools/gst-inspect.c:
25085 * tools/gst-register.c: remove
25086 * tools/gst-xmlinspect.c:
25087 Registry rewrite. Changes registry from being a file created
25088 by a tool into a simple cache file created automatically by
25089 libgstreamer. Removed gst-register (because it's no longer
25090 needed). Remove registry pools, because we only have one
25091 registry implementation (XML). Fix up other subsystems as
25094 2005-09-13 Michael Smith <msmith@fluendo.com>
25096 * gst/gstconfig.h.in:
25097 Don't Use windows linking attributes for MinGW. Fixes #316157
25099 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25101 * gst/gstutils.c: (set_state_async_thread_func),
25102 (gst_element_set_state_async):
25103 Apparently people think it's better if this function doesn't
25104 try to set the state to whatever state was asked for on the first
25105 call to this function for any object. Seriously.
25107 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25109 * check/gst/gstpipeline.c: (GST_START_TEST):
25110 * docs/gst/gstreamer-sections.txt:
25111 * gst/gstutils.c: (set_state_async_thread_func),
25112 (gst_element_set_state_async):
25114 add a "gst_element_set_state_async" method that
25115 sets the state and starts a thread to make sure the state
25116 change completes as best as it can
25118 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25120 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25121 codify design+behaviour in testsuite after discussion
25123 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25125 * docs/gst/tmpl/gstelement.sgml:
25126 * docs/manual/appendix-quotes.xml:
25128 * gst/gstelement.c: (gst_element_set_state):
25131 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25133 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25134 (gst_base_transform_prepare_output_buf),
25135 (gst_base_transform_handle_buffer):
25136 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25137 (gst_capsfilter_prepare_buf):
25138 Remove the requirement for sub-classes to call the parent
25139 implementation of prepare_output_buffer with a wrapper function.
25141 * gst/gsttaglist.h:
25142 * gst/gsttagsetter.h:
25143 Fix #define wrapper
25145 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25147 * docs/gst/gstreamer-sections.txt:
25150 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25152 * docs/gst/gstreamer-sections.txt:
25153 * docs/gst/tmpl/gstelement.sgml:
25154 * docs/gst/tmpl/gstplugin.sgml:
25155 * gst/gstminiobject.c:
25157 docs now stop throwing warnings
25159 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25161 * docs/gst/gstreamer-sections.txt:
25162 * docs/gst/gstreamer.types:
25163 * docs/gst/tmpl/gstpad.sgml:
25164 * docs/gst/tmpl/gsttypes.sgml:
25165 * gst/base/gstadapter.h:
25166 * gst/base/gstbasesink.h:
25167 * gst/base/gstbasesrc.h:
25173 * gst/gstelement.h:
25175 * gst/gstmessage.h:
25177 * gst/gststructure.c:
25178 * gst/registries/gstlibxmlregistry.h:
25179 various documentation fixes
25181 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25183 * docs/gst/gstreamer-sections.txt:
25184 * docs/gst/tmpl/gstvalue.sgml:
25185 rearrange gstvalue section
25186 * gst/gstutils.c: (gst_element_state_get_name):
25188 * gst/gstvalue.c: (_gst_value_initialize):
25192 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25194 * check/gst-libs/controller.c:
25195 Header include fix.
25196 * gst/base/gstbasetransform.c:
25197 (gst_base_transform_default_prepare_buf),
25198 (gst_base_transform_handle_buffer):
25199 * gst/base/gstbasetransform.h:
25200 Some more basetransform changes and fixes to enable sub-classes
25201 that modify buffer metadata only.
25202 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25203 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25204 (gst_capsfilter_prepare_buf):
25205 If the output pad has fixed allowed caps and input buffers
25206 don't have any, set the fixed caps on outgoing buffers.
25208 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25209 * check/elements/identity.c: (GST_START_TEST):
25210 Make the error a little clearer when the test fails because
25211 identity made a copy of the buffer.
25212 * docs/gst/gstreamer-sections.txt:
25213 New symbols in gstbasetransform.h
25214 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25215 (gst_base_transform_init), (gst_base_transform_transform_size),
25216 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25217 (gst_base_transform_default_prepare_buf),
25218 (gst_base_transform_get_unit_size),
25219 (gst_base_transform_buffer_alloc),
25220 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25221 (gst_base_transform_change_state),
25222 (gst_base_transform_set_passthrough),
25223 (gst_base_transform_set_in_place),
25224 (gst_base_transform_is_in_place):
25225 * gst/base/gstbasetransform.h:
25226 Change BaseTransform to separate in_place operate from same_caps
25227 output. in_place implies that the element can perform the transform
25228 on incoming buffers in-place, even if the caps on the output are
25230 Sub-class elements can now implement special buffer allocation
25231 methods for outgoing buffers if they wish to.
25232 Big documentation addition.
25233 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25234 * gst/elements/gstelements.c:
25235 Changes for basetransform modifications.
25236 * gst/elements/Makefile.am:
25237 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25238 Compile fix. Extra debug output.
25240 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25242 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25244 add tests for valid pad naming
25245 * gst/check/gstcheck.c: (gst_check_log_message_func),
25246 (gst_check_log_critical_func):
25248 remove printing of code, it is fragile when the code contains
25249 % and the line number is enough info
25250 * gst/check/gstcheck.h:
25251 * gst/gstpad.c: (gst_pad_template_new):
25254 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25257 say what CHECK flags we use
25258 * docs/libs/gstreamer-libs.types:
25259 * libs/gst/controller/Makefile.am:
25260 * libs/gst/controller/gst-controller.c:
25261 * libs/gst/controller/gst-controller.h:
25262 * libs/gst/controller/gst-helper.c:
25263 * libs/gst/controller/gst-interpolation.c:
25264 * libs/gst/controller/gstcontroller.c:
25265 * libs/gst/controller/gsthelper.c:
25266 * libs/gst/controller/gstinterpolation.c:
25267 * tools/gst-inspect.c: (print_plugin_info):
25268 we don't use dashes in header names
25270 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25272 * check/Makefile.am:
25273 * check/gst/.cvsignore:
25274 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25275 (gst_pipeline_suite), (main):
25276 adding a test for pipelines and state changes
25277 * gst/gstutils.c: (get_state_func):
25279 * gstreamer.spec.in:
25282 2005-09-08 Michael Smith <msmith@fluendo.com>
25284 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25285 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25286 (gst_file_src_is_seekable), (gst_file_src_get_size),
25287 (gst_file_src_start):
25288 * gst/elements/gstfilesrc.h:
25289 Various fixes for unseekable, unmmapable, and non-normal files, so
25290 that fallback to read() rather than mmap() works.
25291 * gst/gstevent.c: (gst_event_new_newsegment):
25292 Allow newsegment events with segment_start == segment_end, as will
25293 correctly happen if you use filesrc on a zero-size file, for
25296 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25298 * gst/gstplugin.c: (gst_plugin_load_file):
25299 Call g_module_close when we don't load the module
25301 * gst/registries/gstlibxmlregistry.c:
25302 (gst_xml_registry_get_property):
25303 Port leak fix from 0.8
25305 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25307 * docs/gst/gstreamer-docs.sgml:
25308 * docs/gst/tmpl/.cvsignore:
25309 * docs/gst/tmpl/gsttrace.sgml:
25310 * docs/gst/tmpl/gsttrashstack.sgml:
25313 * gst/gstelement.h:
25315 * gst/gstmessage.c:
25316 * gst/gstmessage.h:
25319 * gst/gsttaginterface.c:
25320 * gst/gsttaginterface.h:
25321 * gst/gsttaglist.c:
25322 * gst/gsttaglist.h:
25323 * gst/gsttagsetter.c:
25324 * gst/gsttagsetter.h:
25327 * gst/gsttrashstack.c:
25328 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25329 inlined docs for gsttrace, gsttrashstack
25331 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25334 * gst/elements/gstbufferstore.h:
25335 * gst/elements/gsttypefindelement.c:
25336 * gst/elements/gsttypefindelement.h:
25338 * gst/gsttypefind.c:
25339 * gst/gsttypefind.h:
25340 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25341 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25342 (gst_type_find_factory_dispose),
25343 (gst_type_find_factory_unload_thyself),
25344 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25345 (gst_type_find_factory_get_caps),
25346 (gst_type_find_factory_get_extensions),
25347 (gst_type_find_factory_call_function):
25348 * gst/gsttypefindfactory.h:
25349 * gst/registries/gstlibxmlregistry.c:
25350 * gst/registries/gstxmlregistry.c:
25351 splitted gsttypefind into gsttypefind, gsttypefindfactory
25353 2005-09-07 Andy Wingo <wingo@pobox.com>
25355 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25356 condition whereby the pad's task function is entered before the
25357 pad_mode variable was set.
25359 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25361 * gst/gstpad.c: (gst_pad_alloc_buffer):
25362 Catch misbehaving pad_alloc functions that don't
25363 set up caps and do it for them.
25365 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25367 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25368 test for pipe!=NULL
25369 * docs/gst/tmpl/.cvsignore:
25370 * docs/gst/tmpl/gstmemchunk.sgml:
25371 * docs/gst/tmpl/gstparse.sgml:
25372 * docs/gst/tmpl/gsttaglist.sgml:
25373 * docs/gst/tmpl/gsttagsetter.sgml:
25374 * docs/gst/tmpl/gsttypefind.sgml:
25375 * docs/gst/tmpl/gsttypefindfactory.sgml:
25376 * gst/gstmemchunk.c:
25379 * gst/gsttaginterface.c:
25380 * gst/gsttypefind.c:
25381 * gst/gsttypefind.h:
25384 === release 0.9.2 ===
25386 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25391 releasing 0.9.2, "South"
25393 2005-09-05 Andy Wingo <wingo@pobox.com>
25395 * gst/registries/gstxmlregistry.h:
25396 * gst/registries/gstxmlregistry.c: Um... resurrect...
25398 * gst/registries/gstxmlregistry.h:
25399 * gst/registries/gstxmlregistry.c: and update to newer API.
25400 Incidentally they should be a bit faster now that they don't have
25403 2005-09-05 Andy Wingo <wingo@pobox.com>
25405 * gst/registries/gstxmlregistry.h:
25406 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25407 replaced by the libxml registry a while back
25409 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25411 * docs/gst/tmpl/gstplugin.sgml:
25412 * gst/elements/gstelements.c:
25414 * gst/gstplugin.c: (gst_plugin_register_func),
25415 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25416 (gst_plugin_get_source):
25418 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25419 (gst_xml_registry_save_plugin):
25420 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25421 (gst_xml_registry_save_plugin):
25422 * tools/gst-inspect.c: (print_plugin_info):
25423 add a "source" plugin description field, to represent the source
25424 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25425 will set it to PACKAGE, which is automake's idea of the name of
25426 the source project.
25428 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25433 * docs/Makefile.am:
25434 * docs/faq/Makefile.am:
25435 * docs/gst/tmpl/gstelement.sgml:
25436 * docs/gst/tmpl/gsttypes.sgml:
25437 * docs/htmlinstall.mak:
25438 * docs/manual/Makefile.am:
25439 * docs/pwg/Makefile.am:
25440 reorganize doc build a little
25441 split out docbook and gtk-doc stuff
25442 have two separate --enable's and enable them through autogen
25443 but disable by default in configure (to be similar to other
25445 * gstreamer.spec.in:
25446 clean up docs install
25464 translation updates
25466 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25468 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25471 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25472 (gst_fake_sink_change_state):
25473 Make state change function thread-safe.
25475 * gst/gstpad.c: (gst_pad_alloc_buffer):
25476 Set offset on generic buffer allocated by fallback.
25478 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25480 * docs/gst/gstreamer-sections.txt:
25481 * docs/gst/tmpl/gstelement.sgml:
25483 * libs/gst/controller/gst-controller.c:
25484 (gst_controlled_property_set_interpolation_mode),
25485 (gst_controlled_property_new),
25486 (gst_controller_find_controlled_property):
25487 run the wingo-magic script against the docs
25489 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25491 * docs/gst/gstreamer-docs.sgml:
25492 * docs/gst/gstreamer-sections.txt:
25493 * docs/gst/tmpl/.cvsignore:
25494 * docs/gst/tmpl/gstelementdetails.sgml:
25495 * docs/gst/tmpl/gstelementfactory.sgml:
25498 * gst/gstelementfactory.c:
25499 * gst/gstelementfactory.h:
25500 merged elementdetails docs into elementfactory docs
25503 2005-09-02 Andy Wingo <wingo@pobox.com>
25505 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25506 consider this enum an enum and not a flags.
25508 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25510 * docs/gst/gstreamer-docs.sgml:
25511 * docs/gst/tmpl/.cvsignore:
25512 * docs/gst/tmpl/gstghostpad.sgml:
25513 * docs/gst/tmpl/gstiterator.sgml:
25514 * docs/gst/tmpl/gstmacros.sgml:
25515 * docs/gst/tmpl/gstrealpad.sgml:
25516 * docs/gst/tmpl/gstregistry.sgml:
25517 * docs/gst/tmpl/gstregistrypool.sgml:
25518 * docs/gst/tmpl/gststructure.sgml:
25519 * docs/gst/tmpl/gstsystemclock.sgml:
25520 * docs/gst/tmpl/gsttrace.sgml:
25521 * gst/gstghostpad.c:
25523 * gst/gstmemchunk.c:
25524 * gst/gstmemchunk.h:
25526 * gst/gstregistry.c:
25527 * gst/gstregistrypool.c:
25528 * gst/gststructure.c:
25529 * gst/gstsystemclock.c:
25532 2005-09-02 Andy Wingo <wingo@pobox.com>
25534 * gst/gstelement.h (GstState): Renamed from GstElementState,
25535 changed to be a normal enum instead of flags.
25536 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25537 munged to be GST_STATE_CHANGE_*.
25538 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25539 work with the new state representation.
25540 (GstStateChange): New enumeration of possible state transitions.
25541 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25542 (GstElementClass::change_state): Pass the GstStateChange along as
25543 an argument. Helps language bindings, so they don't have to use
25544 tricky lock-needing macros like GST_STATE_CHANGE ().
25546 * scripts/update-states (file): New script. Run it on a file to
25547 update it for state naming and API changes. Updates files in
25550 * All files updated for the new API.
25552 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25554 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25555 * gst/gstutils.c: (gst_util_set_value_from_string),
25556 (gst_util_set_object_arg):
25557 fix a bunch of unchecked return values
25558 * tools/gst-complete.c: (main):
25559 * gstreamer.spec.in:
25562 2005-09-01 Wim Taymans <wim@fluendo.com>
25564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25565 (gst_base_sink_event), (gst_base_sink_do_sync),
25566 (gst_base_sink_handle_event):
25567 * gst/base/gstbasesink.h:
25568 Handle newsegments more correctly.
25573 * gst/gstevent.c: (gst_event_new_newsegment):
25574 A newsegment cannot have a start_time of -1
25576 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25578 * win32/gstenumtypes.c:
25579 * win32/gstenumtypes.h:
25582 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25584 * libs/gst/controller/gst-controller.c:
25585 (gst_controlled_property_set_interpolation_mode),
25586 (gst_controlled_property_new):
25587 fixed boolean again
25589 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25591 * docs/faq/gst-uninstalled:
25596 * gst/gstutils.c: (gst_element_link_filtered):
25598 add gst_element_link_filtered
25600 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25602 * docs/gst/gstreamer-docs.sgml:
25603 * docs/gst/gstreamer-sections.txt:
25604 * docs/gst/tmpl/.cvsignore:
25605 * docs/gst/tmpl/gsterror.sgml:
25606 * docs/gst/tmpl/gstfilter.sgml:
25607 * docs/gst/tmpl/gsturihandler.sgml:
25608 * docs/gst/tmpl/gsturitype.sgml:
25609 * docs/gst/tmpl/gstutils.sgml:
25610 * docs/gst/tmpl/gstxml.sgml:
25615 * gst/gsturitype.c:
25618 inlined more docs, fixed double id-ref
25620 2005-08-31 Wim Taymans <wim@fluendo.com>
25622 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25623 (gst_base_transform_handle_buffer):
25624 Passthrough elements don't need the caps as they don't care.
25626 2005-08-31 Wim Taymans <wim@fluendo.com>
25628 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25629 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25630 Don't leak refcounts on buffers.
25632 2005-08-31 Wim Taymans <wim@fluendo.com>
25634 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25635 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25636 (gst_base_transform_chain), (gst_base_transform_change_state):
25637 * gst/base/gstbasetransform.h:
25638 Handle the case where we are not negotiated more gracefully.
25640 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25642 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25643 (gst_file_src_map_region):
25644 Set READONLY flag on mmap'ed buffers, otherwise
25645 gst_buffer_make_writable() won't work properly (#314708).
25647 2005-08-31 Wim Taymans <wim@fluendo.com>
25649 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25650 passthrough elements can even do inplace on non writable
25651 buffers (as they don't touch them).
25653 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25655 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25656 (gst_test_mono_source_set_property),
25657 (gst_test_mono_source_class_init), (GST_START_TEST),
25658 (gst_controller_suite):
25659 more tests (hehe I have the most)
25661 describe popping messages whenusing mulltiple sources
25662 * libs/gst/controller/gst-controller.c:
25663 (gst_controlled_property_set_interpolation_mode),
25664 (gst_controlled_property_new):
25665 * libs/gst/controller/gst-controller.h:
25666 * libs/gst/controller/gst-interpolation.c:
25667 implement boolean properties
25669 2005-08-31 Wim Taymans <wim@fluendo.com>
25671 * gst/gstminiobject.c: (gst_mini_object_ref):
25672 Cannot assert that the refcount has to be positive
25673 since a disposed object can be resurrected.
25675 2005-08-31 Wim Taymans <wim@fluendo.com>
25677 * gst/gstpad.c: (gst_pad_init):
25678 Revert change, need to first fix badly behaving
25681 2005-08-30 Wim Taymans <wim@fluendo.com>
25683 * check/elements/fakesrc.c: (setup_fakesrc):
25684 * check/elements/identity.c: (setup_identity):
25685 Activate pads before using them.
25687 2005-08-30 Wim Taymans <wim@fluendo.com>
25689 * gst/base/gstadapter.c: (gst_adapter_flush):
25690 Flushing out 0 bytes is ok for this function.
25692 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25693 no newsegment gives a warning and sets the start/stop to
25696 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25697 (gst_base_transform_set_passthrough):
25700 * gst/gstminiobject.c: (gst_mini_object_ref):
25701 Check refcount here too.
25703 * gst/gstpad.c: (gst_pad_init):
25704 Pads are initially flushing and refusing data.
25706 * gst/gstutils.c: (gst_element_link_pads_filtered):
25707 When adding a capsfilter element make sure it has the
25708 same state as the parent bin.
25710 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25712 * docs/gst/tmpl/.cvsignore:
25713 * docs/gst/tmpl/gstformat.sgml:
25714 * docs/gst/tmpl/gstversion.sgml:
25718 * gst/gstversion.h.in:
25719 more docs and two more inlined
25721 2005-08-30 Wim Taymans <wim@fluendo.com>
25723 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25724 Don't sync to clock.
25726 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25728 * docs/gst/gstreamer-sections.txt:
25729 ultral33t func10ns deserve to appear in the docs actually
25730 * docs/gst/tmpl/.cvsignore:
25731 * docs/gst/tmpl/gstcompat.sgml:
25732 * docs/gst/tmpl/gstconfig.sgml:
25733 * gst/check/gstcheck.c:
25735 * gst/gstconfig.h.in:
25738 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25740 * docs/gst/tmpl/.cvsignore:
25741 * docs/gst/tmpl/gstquery.sgml:
25742 * docs/gst/tmpl/gstutils.sgml:
25745 inlined and extended docs
25747 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25749 * check/gst-libs/controller.c: (GST_START_TEST),
25750 (gst_controller_suite):
25752 * docs/gst/tmpl/gstutils.sgml:
25753 * docs/libs/gstreamer-libs-sections.txt:
25754 * docs/libs/tmpl/gstdataprotocol.sgml:
25756 * examples/controller/audio-example.c: (main):
25757 controller example works now
25760 * tools/gst-inspect.c: (print_element_properties_info):
25761 show param spec flags
25763 2005-08-29 Andy Wingo <wingo@pobox.com>
25765 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25767 2005-08-28 Andy Wingo <wingo@pobox.com>
25769 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25770 as having two arguments instead of just one. Allows superclasses
25771 to access information on subclasses -- see the terrible for() loop
25772 in gtype.c:g_type_create_instance for the reason why. All callers
25775 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25777 * docs/design/part-messages.txt:
25779 * docs/gst/tmpl/.cvsignore:
25780 * docs/gst/tmpl/gstcaps.sgml:
25781 * docs/gst/tmpl/gstclock.sgml:
25787 * gst/gstmessage.c:
25788 added descriptions for bus and message
25789 inline caps and clock docs
25791 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25793 * gst/gstmessage.c:
25794 * gst/gstmessage.h:
25797 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25799 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25802 2005-08-26 Andy Wingo <wingo@pobox.com>
25804 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25805 element_set_state's return val.
25806 (test_2_elements): Add test that's been disabled for months.
25808 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25809 can-activate-pull properties.
25811 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25812 can-activate-pull properties. Implement is_seekable so fakesrc can
25813 operate in pull mode.
25815 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25817 (gst_base_sink_activate, gst_base_sink_activate_pull)
25818 (gst_base_sink_activate_push): Make activation mode choosing work.
25820 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25821 is right. Make pull mode work. Post an eos before pausing in pull
25823 (gst_base_sink_change_state): Pay attention to the core's
25824 change_state() return val.
25826 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25827 has-getrange properties. Cleanups.
25829 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25830 has_getrange and replace with can_activate_pull and
25833 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25834 locking comments. Remove has_loop, has_chain and replace with
25835 can_activate_pull and can_activate_push.
25837 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25840 * examples/Makefile.am:
25841 * examples/metadata/Makefile.am:
25842 * examples/metadata/read-metadata.c: (message_loop),
25843 (have_pad_handler), (make_pipeline), (print_tag), (main):
25844 Add metadata reading example that loops over a list of filenames,
25845 dumping any tags found.
25847 * gst/gstbus.c: (gst_bus_dispose):
25848 * gst/gstelement.c: (gst_element_dispose):
25849 Release a few potentially-held references in dispose.
25851 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25853 * docs/gst/tmpl/gstminiobject.sgml:
25854 do *not* add tmpl/*.sgml files to CVS!
25856 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25858 * libs/gst/bytestream/.cvsignore:
25859 * libs/gst/bytestream/Makefile.am:
25860 * libs/gst/bytestream/adapter.c:
25861 * libs/gst/bytestream/adapter.h:
25862 * libs/gst/bytestream/bytestream.c:
25863 * libs/gst/bytestream/bytestream.h:
25864 * libs/gst/bytestream/filepad.c:
25865 * libs/gst/bytestream/filepad.h:
25866 removing obsolete files
25868 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25870 * docs/gst/gstreamer-docs.sgml:
25871 * docs/libs/gstreamer-libs-docs.sgml:
25872 disabed additional index entries again, as this makes docs-gen just
25873 slow and they aren't useful yet
25874 * docs/libs/gstreamer-libs-sections.txt:
25875 little -section.txt cleanup for libs
25877 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25879 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25880 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25881 fix up some debugging
25882 (gst_base_transform_get_unit_size),
25883 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25884 (gst_base_transform_handle_buffer):
25885 * gst/base/gstbasetransform.h:
25886 handle and store timed NEWSEGMENT events so that subclasses that
25887 calculate time by counting samples have a segment_start time they
25888 need to add to their timestamps - see audioresample
25890 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25893 removed ';' from the end of macro defs
25894 * docs/gst/gstreamer-docs.sgml:
25895 * docs/gst/gstreamer-sections.txt:
25896 * docs/gst/tmpl/.cvsignore:
25898 * gst/gstelement.c: (gst_element_class_init),
25899 (gst_element_set_state), (activate_pads),
25900 (gst_element_save_thyself):
25901 * gst/gstevent.c: (gst_event_new_newsegment):
25903 * gst/gstiterator.c:
25904 * gst/gstiterator.h:
25907 * gst/gstutils.c: (gst_pad_query_convert):
25909 fixed parameter name mismatches between source, header and docs
25910 added some more docs, resolved the last batch of unused elements in
25911 docs (now someone needs to doc them)
25913 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25915 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25916 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25917 don't walk through the plugins backwards. Where is all this
25918 reversed logic coming from ?
25920 2005-08-25 Wim Taymans <wim@fluendo.com>
25922 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25923 (gst_base_transform_transform_size),
25924 (gst_base_transform_configure_caps),
25925 (gst_base_transform_get_unit_size),
25926 (gst_base_transform_buffer_alloc),
25927 (gst_base_transform_change_state):
25928 * gst/base/gstbasetransform.h:
25929 Cache caps unit_size.
25930 Make sure we cannot negotiate up and downstream at the
25933 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25935 * gst/gst.c: (init_pre), (init_post):
25936 register the installed plugin path after the env var
25937 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25938 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25939 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25940 directories, so the tests can prefer uninstalled over installed
25942 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25944 * gst/base/gstbasetransform.h:
25949 2005-08-25 Wim Taymans <wim@fluendo.com>
25951 * gst/gstbin.c: (bin_bus_handler):
25952 Be a bit more conservative about the posted message.
25954 * gst/gstbus.c: (gst_bus_post):
25955 Some cleanups, warn wrong return values.
25957 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25959 * check/gst/gstbin.c: (GST_START_TEST):
25960 * gst/gstbin.c: (bin_bus_handler):
25961 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25962 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25963 (gst_message_new_warning), (gst_message_new_tag),
25964 (gst_message_new_state_changed), (gst_message_new_segment_start),
25965 (gst_message_new_segment_done), (gst_message_new_custom):
25966 * gst/gstmessage.h:
25967 * tools/gst-launch.c: (event_loop):
25968 * tools/gst-md5sum.c: (event_loop):
25969 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25971 2005-08-25 Wim Taymans <wim@fluendo.com>
25973 * check/generic/states.c: (GST_START_TEST):
25974 Cleanup can be done at the end.
25976 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25977 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25978 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25979 Oh boy.. Thanks for finding this, Thomas.
25981 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25983 * docs/gst/gstreamer.types:
25984 added missing types
25986 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25988 * docs/gst/gstreamer-docs.sgml:
25989 * docs/gst/gstreamer-sections.txt:
25990 * docs/gst/tmpl/.cvsignore:
25992 * gst/gstiterator.c:
25994 * gst/registries/gstxmlregistry.h:
25995 added missing classes and symbols (123 more to go)
25996 removed removed symbols from section file
25997 fixed many doc-comments
25999 2005-08-24 Wim Taymans <wim@fluendo.com>
26001 * check/generic/states.c: (GST_START_TEST):
26002 Make sure all tasks are stopped.
26004 * check/gst/gstbin.c: (GST_START_TEST):
26005 Unref after usage for proper valgrinding.
26007 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26008 Really wait for the task to stop before destroying the
26011 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26012 (gst_queue_src_activate_push):
26013 Small cleanups. Don't stop the task when we did not start
26016 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26017 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26018 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26021 Protect the stream lock with the object lock.
26022 Disallow setting the stream lock when running.
26023 Add cleanup_all to wait for the threadpool to finish.
26024 Remove code to autoallocate a mutex if none was provided.
26025 Add _join() to wait for a task to stop.
26026 Protect the thread pool with a global lock.
26028 2005-08-24 Wim Taymans <wim@fluendo.com>
26030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26031 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26032 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26033 * gst/base/gstbasesink.h:
26034 Handle newsegment events correctly.
26035 Drop buffers out of the segment range.
26037 2005-08-22 Andy Wingo <wingo@pobox.com>
26039 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26040 macro, implements an interface and gstimplementsinterface for a
26043 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26045 * check/Makefile.am:
26046 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26047 add a test that does a bunch of state changes on elements
26048 needs some fixing for valgrind
26049 * check/states/sinks.c: (gst_object_suite):
26052 add prototype for gst_caps_is_equal_fixed
26054 * gst/gstregistrypool.c:
26057 2005-08-24 Andy Wingo <wingo@pobox.com>
26059 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26060 convert a negative value. Doesn't make much sense. Mostly this is
26061 here to force callers to ensure -1 maps to -1.
26063 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26065 * docs/pwg/advanced-types.xml:
26066 Well done to Michael for catching my deliberate introduction
26067 of this spelling mistake.
26068 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26069 * gst/gstelement.h:
26070 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26071 unlink pads before removing the element from the bin.
26073 2005-08-24 Andy Wingo <wingo@pobox.com>
26075 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26076 the same thing as GST_DEBUG=*:4.
26077 (parse_debug_level, parse_debug_category): New helper parsers.
26079 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26081 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26082 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26083 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26084 (gst_base_transform_buffer_alloc),
26085 (gst_base_transform_handle_buffer):
26086 use gboolean return values and pointers to size so we can use the
26087 full GST_BUFFER_SIZE range (guint) for buffer sizes
26088 use GstPadDirection for transform_caps
26089 * gst/base/gstbasetransform.h:
26090 rename get_size to get_unit_size since that's what it is
26091 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26092 use GstPadDirection for transform_caps
26093 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26095 cleanup and debugging
26097 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26099 * gst/gstelement.c: (gst_element_class_init),
26100 (gst_element_set_state), (activate_pads),
26101 (gst_element_save_thyself):
26102 * tools/gst-compprep.c: (main):
26103 * tools/gst-inspect.c: (print_element_properties_info):
26104 * tools/gst-xmlinspect.c: (print_element_properties):
26105 Fixed long standing mem-leak
26107 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26109 * check/gst/gstbin.c: (GST_START_TEST):
26110 * gst/gstbin.c: (bin_bus_handler):
26111 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26112 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26113 (gst_message_new_warning), (gst_message_new_tag),
26114 (gst_message_new_state_changed), (gst_message_new_segment_start),
26115 (gst_message_new_segment_done), (gst_message_new_custom):
26116 * gst/gstmessage.h:
26117 * tools/gst-launch.c: (event_loop):
26118 * tools/gst-md5sum.c: (event_loop):
26119 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26120 that applications can sensibly post custom messages with references
26121 to their own objects.
26123 2005-08-24 Andy Wingo <wingo@pobox.com>
26125 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26128 2005-08-24 Wim Taymans <wim@fluendo.com>
26130 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26131 (gst_base_transform_transform_caps),
26132 (gst_base_transform_transform_size),
26133 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26134 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26135 (gst_base_transform_handle_buffer):
26136 * gst/base/gstbasetransform.h:
26137 Many fixes and new features added by Thomas. Can now also do
26138 transforms with variable sizes and a custom fixate_caps function.
26140 2005-08-24 Wim Taymans <wim@fluendo.com>
26142 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26146 Cast to ClockTime before formatting to time.
26151 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26153 * check/gst-libs/controller.c: (GST_START_TEST),
26154 (gst_controller_suite):
26155 * docs/gst/tmpl/gstcaps.sgml:
26156 * docs/gst/tmpl/gstghostpad.sgml:
26157 * docs/gst/tmpl/gstquery.sgml:
26158 * docs/gst/tmpl/gstutils.sgml:
26159 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26160 (gst_object_sink_values), (gst_object_get_value_arrays),
26161 (gst_object_get_value_array):
26162 gracefully handle helper method calls to objects that are not beeing
26163 controlled, added test case for that
26165 2005-08-23 Wim Taymans <wim@fluendo.com>
26167 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26168 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26169 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26170 (gst_event_parse_qos), (gst_event_new_seek),
26171 (gst_event_parse_seek):
26173 Some more debugging output and doc cleanups.
26175 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26176 Fix possible deadlock.
26178 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26180 * docs/gst/gstreamer-docs.sgml:
26181 * docs/gst/gstreamer-sections.txt:
26182 * docs/gst/gstreamer.types:
26183 * docs/gst/tmpl/.cvsignore:
26186 * gst/gstelement.c:
26188 added 100 symbols from gstreamer-unused.txt to the right sections
26189 fixed more broken comments
26190 added GstBus to docs
26192 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26194 * docs/gst/gstreamer-sections.txt:
26195 * docs/gst/tmpl/.cvsignore:
26196 * docs/gst/tmpl/gstbin.sgml:
26197 * docs/gst/tmpl/gstbuffer.sgml:
26198 * gst/base/gstbasesrc.c:
26199 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26202 * tools/gst-launch.1.in:
26203 inlined more doc comments, added missing comments and fixed comments
26206 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26208 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26212 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26214 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26215 * gst/gststructure.h:
26216 add a fixate function for booleans; add a FIXME that these func
26217 names should probably be gst_structure_fixate_*
26219 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26221 * docs/gst/gstreamer-docs.sgml:
26222 * docs/gst/gstreamer-sections.txt:
26224 * gst/gstbin.c: (gst_bin_get_type),
26225 (gst_bin_child_proxy_get_child_by_index),
26226 (gst_bin_child_proxy_get_children_count),
26227 (gst_bin_child_proxy_init):
26228 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26229 (gst_child_proxy_get_child_by_index),
26230 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26231 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26232 (gst_child_proxy_get), (gst_child_proxy_set_property),
26233 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26234 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26235 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26236 * gst/gstchildproxy.h:
26237 * gst/parse/grammar.y:
26238 * tools/gst-inspect.c: (print_interfaces),
26239 (print_element_properties_info), (print_element_info):
26240 ported gstchildproxy over from 0.8
26241 ported gst-inspect fixes and enhancements over from 0.8
26243 2005-08-22 Wim Taymans <wim@fluendo.com>
26245 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26246 (gst_base_transform_handle_buffer):
26247 Also call the transform function if we have ANY caps.
26249 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26252 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26254 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26255 Don't pretend to handle seek events if the source is not seekable
26257 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26259 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26260 Remove extra parameter to debug output
26262 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26263 (gst_base_src_do_seek), (gst_base_src_activate_push):
26264 Fix seek event handling.
26266 * gst/gstpipeline.c: (gst_pipeline_change_state):
26267 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26268 (gst_queue_src_activate_push):
26269 Don't start the src pad task on FLUSH_STOP if the pad
26273 2005-08-22 Wim Taymans <wim@fluendo.com>
26275 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26276 Added check for gst_static_caps_get() refcounting.
26278 2005-08-22 Wim Taymans <wim@fluendo.com>
26280 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26281 Make _static_caps_get() refcounting sane.
26283 * gst/gstelement.c: (gst_element_set_state):
26284 Add g_return_val_if_fail() to protect against segfaults.
26286 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26288 * docs/gst/tmpl/gstevent.sgml:
26291 inlined remaining docs, added missing doc comments
26293 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26295 * check/gst/gstbin.c: (GST_START_TEST):
26296 since we don't know when preroll is done, use refcount range
26298 * gst/check/gstcheck.h:
26299 add macro for checking refcount range
26301 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26303 * check/Makefile.am:
26304 clean up environment for when registry gets built versus
26305 when actual tests are run; valgrind seems to not report
26306 leaks if GST_PLUGIN_PATH is set to some specific values
26307 * check/gst/gstbin.c: (GST_START_TEST):
26308 add more refcounting checks; maybe this exposes a
26310 * common/check.mak:
26311 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26312 * gst/check/gstcheck.h:
26313 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26314 (gst_bin_change_state):
26315 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26316 add/fix debugging/whitespace
26318 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26320 * check/gst/gstevent.c: (event_probe), (test_event),
26322 Er, don't call gst_bin_watch_for_state_change you idiot.
26324 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26326 * check/Makefile.am:
26327 Use CHECK_CFLAGS and CHECK_LIBS
26328 * check/gst/gstevent.c: (event_probe), (test_event),
26331 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26332 (gst_base_src_start), (gst_base_src_stop),
26333 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26334 (gst_base_src_change_state):
26335 Sprinkle gst_base_src_stop liberally around error paths to fix
26336 problems reusing a source after failed state changes.
26337 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26338 (helper_find_suggest), (gst_type_find_helper):
26339 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26341 * docs/gst/tmpl/gstevent.sgml:
26342 Migrate part of the docs from the SGML file. Wait for ensonic to
26343 tell me how I did it wrong ;)
26344 * tools/gst-typefind.c: (main):
26345 Extra robustness to state changes between files.
26347 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26349 * check/Makefile.am:
26350 don't valgrind the controller test - it's leaking - Stefan, HELP
26351 * gst/check/gstcheck.c: (gst_check_message_error),
26352 (gst_check_chain_func), (gst_check_setup_element),
26353 (gst_check_teardown_element), (gst_check_setup_src_pad),
26354 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26355 (gst_check_teardown_sink_pad):
26356 * gst/check/gstcheck.h:
26357 add a bunch of methods to set up elements, and src and sink pads
26358 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26359 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26362 * gst/gstmessage.c:
26364 whitespace/doc fixes
26366 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26368 * gst/gstelement.h:
26369 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26370 be handled by the application and not always printed as well
26372 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26374 * check/Makefile.am:
26376 * gst/check/gstcheck.c: (gst_check_message_error):
26377 * gst/check/gstcheck.h:
26378 add a fail_unless_equals_int
26379 add fail_unless for error messages
26381 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26383 * check/Makefile.am:
26385 * common/Makefile.am:
26386 * common/check.mak:
26388 factor out some of the common stuff so we can use it
26390 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26392 * check/Makefile.am:
26393 * check/gst/gstiterator.c: (GST_START_TEST):
26394 * check/gst/gstsystemclock.c: (GST_START_TEST),
26395 (gst_systemclock_suite):
26396 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26398 valgrind more tests
26400 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26402 * check/elements/.cvsignore:
26403 * check/elements/gstfakesrc.c:
26404 rename to name of element
26405 * check/elements/identity.c: (chain_func), (event_func),
26406 (setup_identity), (cleanup_identity), (GST_START_TEST),
26407 (identity_suite), (main):
26408 add a test for identity
26409 * check/Makefile.am:
26410 * pkgconfig/Makefile.am:
26411 * pkgconfig/gstreamer-check.pc.in:
26412 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26416 move the check stuff to a library that gets installed
26417 * check/gst-libs/controller.c: (GST_START_TEST):
26418 * check/gst-libs/gdp.c:
26419 * check/gst/gst.c: (GST_START_TEST):
26420 * check/gst/gstbin.c:
26421 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26422 * check/gst/gstbus.c:
26423 * check/gst/gstcaps.c: (GST_START_TEST):
26424 * check/gst/gstelement.c:
26425 * check/gst/gstghostpad.c:
26426 * check/gst/gstiterator.c:
26427 * check/gst/gstmessage.c:
26428 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26429 * check/gst/gstobject.c:
26430 * check/gst/gstpad.c: (GST_START_TEST):
26431 * check/gst/gststructure.c: (GST_START_TEST):
26432 * check/gst/gstsystemclock.c: (GST_START_TEST),
26433 (gst_systemclock_suite):
26434 * check/gst/gsttag.c: (gst_tag_suite):
26435 * check/gst/gstvalue.c:
26436 * check/pipelines/cleanup.c:
26437 * check/pipelines/simple_launch_lines.c:
26438 * check/states/sinks.c:
26439 change include statement
26441 * docs/gst/gstreamer-sections.txt:
26442 * docs/gst/tmpl/gstpad.sgml:
26443 document more pad stuff
26444 * gst/gstminiobject.c: (gst_mini_object_ref),
26445 (gst_mini_object_unref):
26448 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26450 * docs/gst/tmpl/gst.sgml:
26452 eliminate another tmpl file, fix spelling in the long-description
26454 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26456 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26457 (test_event), (timediff), (gstevents_suite):
26458 Should fix build on 64-bit arch's
26460 2005-08-18 Andy Wingo <wingo@pobox.com>
26462 Make sure that when a pipeline goes to PLAYING, that data has
26463 actually hit the sink.
26465 * check/states/sinks.c (test_sink): A sink that doesn't get any
26466 data shouldn't return SUCCESS for going to either PLAYING or
26467 PAUSED. Test also the return values on the way back down.
26469 * gst/gstelement.c (gst_element_set_state): When changing the
26470 state of an element currently changing state asynchronously, go to
26471 lost-state after commiting the pending state. Makes future calls
26472 to get_state continue to return ASYNC.
26474 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26475 ASYNC when going to PLAYING if we still don't have preroll, as can
26476 happen with live sources.
26478 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26480 * docs/pwg/advanced-types.xml:
26481 Hack long paragraph into 2 chunks as a workaround for buggy
26482 jadetex version in sid and breezy that loops infinitely and
26485 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26487 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26488 (test_event), (timediff), (gstevents_suite):
26489 Provide more error margin in clock measurements to allow for
26490 g_get_current_time inaccuracies.
26492 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26494 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26495 (test_event), (timediff), (gstevents_suite):
26496 Fix error message output so I might be able to tell why the
26497 test works here but fails on the build farm.
26499 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26501 * check/Makefile.am:
26502 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26503 (test_event), (timediff), (gstevents_suite), (main):
26506 * docs/design/part-seeking.txt:
26507 Spelling correction
26509 * docs/gst/tmpl/gstevent.sgml:
26510 * docs/gst/tmpl/gstfakesrc.sgml:
26513 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26514 Treat a buffer-without-newsegment the same as a receiving
26515 a newsegment not in time format, and disable syncing to the clock
26518 * gst/gstbus.c: (gst_bus_set_sync_handler):
26519 Assert if anyone tries to replace the existing sync_handler for bus,
26520 as only the owner should be setting it.
26523 Have a fixed set of custom event enums with events identified by
26524 their structure name (as in 0.8), rather than a free-for-all
26525 allowing collisions between enum values from different plugins.
26527 * gst/gstpad.c: (gst_pad_class_init):
26530 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26531 Handle out-of-band downstream events from the sending thread.
26533 2005-08-17 Andy Wingo <wingo@pobox.com>
26535 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26536 play-timeout==0 to mean no timeout at all. In that case, don't
26537 bother with a get_state or a warning, just return directly, even
26540 * gst/base/gstbasetransform.c: Debug changes.
26543 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26544 ensure bins post state change messages. A bit of a hack but I can't
26545 think of a way to avoid it.
26547 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26549 2005-08-16 Andy Wingo <wingo@pobox.com>
26551 * gst/base/gstadapter.h:
26552 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26553 peek() but you own the data. Not terribly efficient atm.
26555 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26557 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26558 (gst_element_found_tags):
26560 Add two utility functions for tag handling.
26562 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26564 * docs/manual/advanced-dataaccess.xml:
26565 * docs/manual/basics-helloworld.xml:
26566 Fix docs to use _bin_add() before _link(), which fixes the examples
26567 with recent core versions (reported by Madhan Raj M
26568 <raj_madan@rediffmail.com>, #313199).
26570 2005-08-16 Wim Taymans <wim@fluendo.com>
26572 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26573 Added subtract checks.
26575 * docs/design/part-events.txt:
26576 Some more docs about newsegment
26578 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26581 * gst/gstcaps.c: (gst_caps_to_string):
26582 Add comments, cleanups.
26584 * gst/gstelement.c: (gst_element_save_thyself):
26587 * gst/gstvalue.c: (gst_value_collect_int_range),
26588 (gst_string_unwrap), (gst_value_union_int_int_range),
26589 (gst_value_union_int_range_int_range),
26590 (gst_value_intersect_int_int_range),
26591 (gst_value_intersect_int_range_int_range),
26592 (gst_value_intersect_double_double_range),
26593 (gst_value_intersect_double_range_double_range),
26594 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26595 (gst_value_subtract_int_range_int),
26596 (gst_value_subtract_double_range_double),
26597 (gst_value_subtract_double_range_double_range),
26598 (gst_value_subtract_from_list), (gst_value_subtract_list),
26599 (gst_value_can_compare), (gst_value_compare_fraction):
26600 Cleanups, add comments, remove unneeded asserts.
26602 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26604 * tools/gst-launch.c: (event_loop):
26605 don't convert NULL structures to strings
26607 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26609 * docs/gst/gstreamer-sections.txt:
26610 made some defines private
26611 * docs/gst/tmpl/gstconfig.sgml:
26612 * docs/gst/tmpl/gstqueue.sgml:
26613 * docs/gst/tmpl/gsttaglist.sgml:
26614 * docs/gst/tmpl/gsttypes.sgml:
26615 * docs/gst/tmpl/gstutils.sgml:
26616 * docs/pwg/appendix-porting.xml:
26617 * gst/base/gstbasesink.h:
26618 * gst/base/gstbasesrc.c:
26619 * gst/base/gstbasesrc.h:
26620 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26621 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26622 * gst/gstelement.c: (gst_element_class_init):
26623 * gst/gstpad.c: (gst_pad_class_init):
26624 * gst/gstqueue.c: (gst_queue_class_init):
26625 * gst/gstxml.c: (gst_xml_class_init):
26626 documented all undocumented signal inline
26627 * libs/gst/controller/gst-controller.h:
26630 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26632 * docs/pwg/appendix-porting.xml:
26633 Document _set_link_function -> _set_setcaps_function.
26635 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26637 * check/Makefile.am:
26638 add a .check target for running the check
26639 * check/gst-libs/controller.c: (GST_START_TEST):
26641 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26642 complete checks for gstbuffer; would be nice if I could get the
26643 gcov stuff to work so I can see if I actually completed gstbuffer.c
26644 * check/gstcheck.h:
26645 add ASSERT_BUFFER_REFCOUNT
26647 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26649 * docs/gst/gstreamer-sections.txt:
26650 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26652 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26653 spew out a warning if a tag that is already registered
26654 is re-registered, unless it is re-registered with a
26655 different type (#308438).
26657 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26659 * docs/pwg/appendix-porting.xml:
26660 * docs/pwg/building-state.xml:
26661 Add some paragraphs about state changes in 0.9 to the PWG
26662 and the porting guide, in particular about the new meaning
26663 of GST_STATE_PAUSED and how to write state change functions
26664 with concurrent access by multiple threads in mind.
26666 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26668 * docs/gst/gstreamer-docs.sgml:
26669 * docs/libs/gstreamer-libs-docs.sgml:
26670 added deprecation and since indexes
26671 * libs/gst/controller/gst-controller.c:
26672 * libs/gst/controller/gst-helper.c:
26676 2005-08-11 Wim Taymans <wim@fluendo.com>
26678 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26679 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26680 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26681 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26682 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26683 (gst_ghost_pad_set_target):
26684 Actually implement (re)setting the target on a ghostpad
26685 as described in the docs.
26687 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26689 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26690 Check whether GST_DEBUG_NO_COLOR environment variable is
26691 set and disable coloured debug output if that is the case.
26693 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26695 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26696 (gst_type_find_helper):
26697 The memory returned by gst_type_find_peek() needs to
26698 stay valid until the end of a typefind function, and
26699 typefind functions may keep results from different
26700 offsets around, so we can't just unref the buffer from
26701 the previous _peek(), but have to save all buffers
26702 returned by _peek() until typefinding is done and only
26705 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26707 * docs/gst/gstreamer-sections.txt:
26709 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26711 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26713 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26714 Fix a pretty good memleak.
26716 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26718 * gst/gstiterator.h:
26719 Fix wrong include and 'make distcheck'.
26721 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26723 * gst/gstbin.c: (bin_bus_handler):
26724 Use gst_element_post_message() instead.
26726 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26728 * gst/base/gstadapter.h:
26729 * gst/base/gstbasesink.h:
26730 * gst/base/gstbasesrc.h:
26731 * gst/base/gstbasetransform.h:
26732 * gst/base/gstcollectpads.h:
26733 * gst/base/gstpushsrc.h:
26734 * gst/gstiterator.h:
26735 Add padding to our base elements' class and instance structs and
26736 to GstIterator (you will need to rebuild all plugins and apps!)
26738 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26740 * gst/gstbin.c: (bin_bus_handler):
26741 Make default message forwarding from child->bus to bin->bus
26742 threadsafe and make it not emit warnings if the parent has no bus.
26744 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26746 * gst/gstelement.c: (activate_pads):
26747 On paused->ready, set pad->caps to NULL, as is the documented
26748 behaviour in this state change. Fixes playback of series of
26749 media files when visualization is enabled in Totem.
26751 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26753 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26754 Allow NULL as filter-caps (which means "any").
26756 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26758 * docs/libs/gstreamer-libs-sections.txt:
26759 * libs/gst/controller/gst-controller.c:
26760 * libs/gst/controller/gst-controller.h:
26761 * libs/gst/controller/gst-helper.c:
26762 adding more entries to the docs and fix small doc-bugs
26764 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26766 * docs/gst/gstreamer-docs.sgml:
26767 * docs/gst/gstreamer-sections.txt:
26768 * docs/gst/gstreamer.types:
26769 * docs/gst/tmpl/gstbasesink.sgml:
26770 * docs/gst/tmpl/gstbasesrc.sgml:
26771 * docs/gst/tmpl/gstbasetransform.sgml:
26772 * docs/gst/tmpl/gstfakesrc.sgml:
26773 * gst/base/gstcollectpads.c:
26774 * gst/base/gstcollectpads.h:
26775 * libs/gst/controller/gst-controller.c:
26776 * libs/gst/controller/gst-controller.h:
26777 * libs/gst/controller/gst-helper.c:
26778 * libs/gst/controller/gst-interpolation.c:
26779 * libs/gst/controller/lib.c:
26780 added long/short desc for controller docs
26781 added collectpads base class docs
26782 added correct includes to base-class docs
26784 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26786 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26787 (gst_test_mono_source_set_property),
26788 (gst_test_mono_source_class_init), (GST_START_TEST),
26789 (gst_controller_suite):
26790 * docs/gst/gstreamer-docs.sgml:
26791 * docs/gst/gstreamer-sections.txt:
26792 * docs/gst/gstreamer.types:
26793 * docs/libs/gstreamer-libs-docs.sgml:
26794 * docs/libs/gstreamer-libs-sections.txt:
26795 * gst/base/gstadapter.c:
26796 * libs/gst/controller/gst-controller.c:
26797 (gst_controlled_property_new), (gst_controlled_property_free),
26798 (gst_controller_new_valist),
26799 (gst_controller_remove_properties_valist),
26800 (gst_controller_sink_values), (_gst_controller_finalize):
26801 * libs/gst/controller/gst-controller.h:
26802 * libs/gst/controller/gst-helper.c:
26803 (gst_object_control_properties), (gst_object_uncontrol_properties),
26804 (gst_object_get_controller), (gst_object_set_controller),
26805 (gst_object_sink_values), (gst_object_get_value_arrays),
26806 (gst_object_get_value_array):
26807 more tests (and fixes) for the controller
26808 more docs for the controller
26809 integrated companies docs for the adapter
26811 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26813 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26814 (GST_START_TEST), (fakesrc_suite):
26815 add tests for sizetype
26817 2005-08-04 Andy Wingo <wingo@pobox.com>
26819 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26820 fixes buffer_alloc proxying among other things.
26822 * gst/base/gstbasetransform.c:
26823 * gst/base/gstbasetransform.h:
26824 Revert patch to gstbasetransform from 7-28 removing
26827 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26828 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26829 Semantics changed, should return not the size of the output buffer
26830 but the byte size of a buffer with a given caps.
26832 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26834 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26835 out) are not the pad caps until setcaps finishes.
26836 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26837 not-in-place case as well. Deal with changing from in-place to
26838 not-in-place within calling pad_alloc_buffer. Still a bit
26839 concerned about the overhead here...
26841 2005-08-03 Andy Wingo <wingo@pobox.com>
26843 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26844 fixating is an error.
26846 2005-08-04 Edward Hervey <edward@fluendo.com>
26848 * gst/base/gstadapter.h:
26849 Added gst_adapter_get_type() to the header
26851 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26853 * check/Makefile.am:
26854 * check/gst-libs/controller.c:
26855 * libs/gst/controller/gst-controller.c:
26856 (gst_controller_new_valist):
26857 added check test suite for the controller
26858 * gst/base/gstpushsrc.c:
26861 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26863 * docs/gst/Makefile.am:
26864 * docs/gst/gstreamer-docs.sgml:
26865 * docs/gst/gstreamer-sections.txt:
26866 * docs/gst/gstreamer.types:
26867 * docs/gst/tmpl/gstfakesrc.sgml:
26869 * gst/base/gstbasesink.c:
26870 * gst/base/gstbasesink.h:
26871 * gst/base/gstbasesrc.c:
26872 * gst/base/gstbasesrc.h:
26873 * gst/base/gstbasetransform.c:
26874 * gst/base/gstpushsrc.c:
26875 * gst/base/gstpushsrc.h:
26876 add short/long description docs to base classes
26877 add pushsrc to the docs
26878 remove consolidated doc fragments
26880 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26883 * docs/libs/Makefile.am:
26884 * docs/libs/gstreamer-libs-docs.sgml:
26885 * docs/libs/gstreamer-libs-sections.txt:
26886 * docs/libs/gstreamer-libs.types:
26887 * examples/Makefile.am:
26888 * examples/controller/.cvsignore:
26889 * examples/controller/Makefile.am:
26890 * examples/controller/audio-example.c: (main):
26891 * libs/gst/Makefile.am:
26892 * libs/gst/controller/.cvsignore:
26893 * libs/gst/controller/Makefile.am:
26894 * libs/gst/controller/gst-controller.c:
26895 (on_object_controlled_property_changed), (gst_timed_value_compare),
26896 (gst_timed_value_find),
26897 (gst_controlled_property_set_interpolation_mode),
26898 (gst_controlled_property_new), (gst_controlled_property_free),
26899 (gst_controller_find_controlled_property),
26900 (gst_controller_new_valist), (gst_controller_new),
26901 (gst_controller_remove_properties_valist),
26902 (gst_controller_remove_properties), (gst_controller_set),
26903 (gst_controller_set_from_list), (gst_controller_unset),
26904 (gst_controller_get), (gst_controller_get_all),
26905 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26906 (gst_controller_get_value_array),
26907 (gst_controller_set_interpolation_mode),
26908 (_gst_controller_finalize), (_gst_controller_init),
26909 (_gst_controller_class_init), (gst_controller_get_type):
26910 * libs/gst/controller/gst-controller.h:
26911 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26912 (g_object_uncontrol_properties), (g_object_get_controller),
26913 (g_object_set_controller), (g_object_sink_values),
26914 (g_object_get_value_arrays), (g_object_get_value_array):
26915 * libs/gst/controller/gst-interpolation.c:
26916 (gst_controlled_property_find_timed_value_node),
26917 (interpolate_none_get), (interpolate_trigger_get),
26918 (interpolate_trigger_get_value_array):
26919 * libs/gst/controller/lib.c: (gst_controller_init):
26920 * pkgconfig/Makefile.am:
26921 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26922 * pkgconfig/gstreamer-control.pc.in:
26923 * testsuite/Makefile.am:
26924 * testsuite/controller/.cvsignore:
26925 * testsuite/controller/Makefile.am:
26926 * testsuite/controller/interpolator.c: (main):
26927 added controller code
26928 removed dparam pc files
26930 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26931 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26932 (gst_collectpads_stop):
26933 Broadcast the condition when shutting down, to make sure we wake all
26934 threads up. Shut down pads on finalize, for safety.
26936 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26937 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26938 (gst_base_transform_handle_buffer),
26939 (gst_base_transform_change_state):
26940 Handle PAUSED->READY->PAUSED transition after negotiation
26942 * gst/gstmessage.c: (gst_message_init):
26943 Extra piece of debug for new messages.
26945 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26948 * docs/gst/tmpl/gstbasesrc.sgml:
26949 * docs/gst/tmpl/gstelement.sgml:
26950 * docs/gst/tmpl/gstevent.sgml:
26951 * docs/gst/tmpl/gstfakesrc.sgml:
26952 * docs/gst/tmpl/gstformat.sgml:
26953 * docs/gst/tmpl/gstghostpad.sgml:
26954 * docs/gst/tmpl/gstpad.sgml:
26955 * docs/gst/tmpl/gstquery.sgml:
26956 * docs/gst/tmpl/gststructure.sgml:
26957 * docs/gst/tmpl/gsttaglist.sgml:
26958 * docs/gst/tmpl/gstvalue.sgml:
26959 * docs/libs/gstreamer-libs-docs.sgml:
26960 * docs/libs/gstreamer-libs-sections.txt:
26961 * docs/libs/gstreamer-libs.types:
26962 * libs/gst/Makefile.am:
26963 * libs/gst/control/.cvsignore:
26964 * libs/gst/control/Makefile.am:
26965 * libs/gst/control/control.c:
26966 * libs/gst/control/control.h:
26967 * libs/gst/control/dparam.c:
26968 * libs/gst/control/dparam.h:
26969 * libs/gst/control/dparam_smooth.c:
26970 * libs/gst/control/dparam_smooth.h:
26971 * libs/gst/control/dparamcommon.h:
26972 * libs/gst/control/dparammanager.c:
26973 * libs/gst/control/dparammanager.h:
26974 * libs/gst/control/dplinearinterp.c:
26975 * libs/gst/control/dplinearinterp.h:
26976 * libs/gst/control/unitconvert.c:
26977 * libs/gst/control/unitconvert.h:
26978 * testsuite/Makefile.am:
26979 * testsuite/dynparams/.cvsignore:
26980 * testsuite/dynparams/Makefile.am:
26981 * testsuite/dynparams/dparamstest.c:
26982 * tools/Makefile.am:
26983 * tools/gst-inspect.c: (print_element_info), (main):
26984 * tools/gst-xmlinspect.c: (print_element_info), (main):
26985 deactivate and remove dparams (libgstcontrol)
26987 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26989 * gst/elements/gsttypefindelement.c:
26990 (gst_type_find_element_have_type), (gst_type_find_element_init),
26991 (stop_typefinding), (gst_type_find_element_handle_event),
26992 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26993 * gst/elements/gsttypefindelement.h:
26994 Set caps on all outgoing buffers, not just the first one.
26996 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26998 * gst/elements/gsttypefindelement.c:
26999 (gst_type_find_element_have_type),
27000 (gst_type_find_element_check_set_buffer_caps),
27001 (gst_type_find_element_init), (stop_typefinding),
27002 (gst_type_find_element_handle_event),
27003 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27004 * gst/elements/gsttypefindelement.h:
27005 Set caps on first outgoing buffer when we've found the type.
27007 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27009 * docs/gst/gstreamer-docs.sgml:
27010 * docs/gst/gstreamer-sections.txt:
27011 * docs/gst/tmpl/gstscheduler.sgml:
27012 * docs/gst/tmpl/gstschedulerfactory.sgml:
27013 Remove some old cruft from docs.
27015 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27018 Fix inline docs for GstPadLinkReturn.
27020 * gst/gststructure.c: (gst_structure_has_name):
27021 * gst/gststructure.h:
27022 * docs/gst/gstreamer-sections.txt:
27023 New API: gst_structure_has_name().
27025 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27028 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27029 and _LARGEFILE_SOURCE in config.h as required. Do not
27030 export those flags in our .pc files any longer (#142209).
27032 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27034 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27035 (gst_file_sink_do_seek), (gst_file_sink_event),
27036 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27037 Redo seek/tell calls with large file support in mind; add some
27038 debugging messages; add log message that tells us when large
27039 file support is unavailable or not enabled for some reason.
27041 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27042 Add log message that tells us when large file support
27043 is unavailable or not enabled for some reason.
27045 2005-07-29 Wim Taymans <wim@fluendo.com>
27047 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27048 Added test for removing an element with ghostpad from a bin.
27049 Fixed test as current implementation does the right thing.
27051 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27052 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27053 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27054 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27055 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27056 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27057 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27058 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27059 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27060 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27061 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27062 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27063 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27064 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27065 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27066 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27067 * gst/gstghostpad.h:
27068 Clean up ghostpads, remove properties for internal stuff.
27071 Prepare for switching targets, not all use cases work yet.
27073 2005-07-29 Wim Taymans <wim@fluendo.com>
27075 * docs/design/part-gstghostpad.txt:
27078 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27079 (gst_bin_remove_func):
27080 Unlinking pads while holding the bin LOCK is not a good
27083 * gst/gstpad.c: (gst_pad_class_init),
27084 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27085 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27086 No prob setting template after creating the pad.
27088 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27090 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27091 (gst_bus_peek), (gst_bus_source_dispatch),
27092 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27093 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27094 gst_bus_poll may be called from other threads. Handle
27095 this nicely by not making poll_data disappear off the
27096 stack once gst_bus_poll returns.
27097 gst_bus_peek now increments the refcount on the returned
27100 2005-07-29 Wim Taymans <wim@fluendo.com>
27102 * docs/design/part-gstghostpad.txt:
27103 Overview of current GhostPad datastructures and use
27104 cases for changing the target.
27106 2005-07-28 Wim Taymans <wim@fluendo.com>
27108 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27109 Added checks for hierarchy consistency whan adding linked
27112 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27113 Added check to test element scheduling without bin/pipeline.
27115 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27116 First add elements to bin, then link.
27118 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27119 (gst_bin_remove_func):
27120 Unlink pads from elements added/removed from bin to maintain
27121 hierarchy consistency.
27123 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27125 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27126 (gst_base_transform_handle_buffer):
27127 * gst/base/gstbasetransform.h:
27128 Remove broken delay_configure (fixes renegotiation of software
27129 scaling pipelines); remove some leftover printf()s.
27131 2005-07-28 Wim Taymans <wim@fluendo.com>
27133 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27134 Added some more tests for wrong hierarchy
27136 * docs/design/part-overview.txt:
27139 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27142 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27143 (gst_element_dispose):
27144 Some more cleanups.
27146 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27147 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27148 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27149 (gst_pad_set_caps), (gst_pad_send_event):
27150 Check for correct hierarchy when linking pads. Moving to
27151 strict requirement for ghostpads when linking elements in
27155 Clean ups. Added WRONG_HIERARCHY return value.
27157 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27159 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27160 Better debug if no transform is possible.
27162 2005-07-27 Wim Taymans <wim@fluendo.com>
27164 * docs/random/wtay/network-transp:
27165 Some old doc I had.
27167 2005-07-27 Wim Taymans <wim@fluendo.com>
27169 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27170 (gst_dp_event_from_packet):
27171 Fix serialization of seek events.
27173 2005-07-27 Wim Taymans <wim@fluendo.com>
27175 * check/gst-libs/gdp.c: (GST_START_TEST):
27176 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27177 Fix compilation and fix event serialization.
27179 2005-07-27 Wim Taymans <wim@fluendo.com>
27182 * docs/design/part-TODO.txt:
27183 * docs/design/part-events.txt:
27186 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27187 (gst_base_sink_event), (gst_base_sink_do_sync),
27188 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27189 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27190 (gst_base_src_do_seek), (gst_base_src_event_handler),
27191 (gst_base_src_loop):
27192 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27193 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27194 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27195 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27196 (gst_base_transform_set_passthrough),
27197 (gst_base_transform_is_passthrough):
27198 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27199 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27205 * gst/gstelement.c: (gst_element_seek):
27206 * gst/gstelement.h:
27207 Update gst_element_seek.
27209 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27210 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27211 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27212 (gst_event_new_eos), (gst_event_new_newsegment),
27213 (gst_event_parse_newsegment), (gst_event_new_tag),
27214 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27215 (gst_event_parse_qos), (gst_event_new_seek),
27216 (gst_event_parse_seek), (gst_event_new_navigation):
27218 Make GstEvent use GstStructure. Add parsing code, make sure the
27219 API is sufficiently generic.
27220 Mark possible directions of events and serialization.
27222 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27223 (_gst_message_copy), (gst_message_new_segment_start),
27224 (gst_message_new_segment_done), (gst_message_new_custom),
27225 (gst_message_parse_segment_start),
27226 (gst_message_parse_segment_done):
27229 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27230 (gst_pad_set_caps), (gst_pad_send_event):
27231 Update for new events.
27232 Catch events sent in wrong directions.
27234 * gst/gstqueue.c: (gst_queue_link_src),
27235 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27236 (gst_queue_handle_src_query):
27241 Remove event code from this file.
27243 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27244 (gst_dp_event_from_packet):
27247 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27249 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27250 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27251 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27252 Make debugging actually useful.
27254 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27256 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27257 (gst_pad_fixate_caps):
27258 Implement default fixation once again, so that gst_pad_fixate()
27259 actually does anything at all. This probably needs to be some
27260 sort of a last resort, and use profile-based fixation first, but
27261 since that doesn't exist yet, this is the best we have. Fixes
27262 visualization in Totem.
27264 2005-07-22 Wim Taymans <wim@fluendo.com>
27266 * docs/design/part-events.txt:
27269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27270 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27271 (gst_base_sink_activate_pull):
27272 Some more comments.
27274 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27275 (gst_fake_src_create):
27276 Fix handoff marshall.
27278 * gst/elements/gstidentity.c: (gst_identity_class_init),
27279 (gst_identity_transform_ip):
27280 We're a real inplace element.
27282 * gst/gstbus.c: (gst_bus_post):
27283 Added some comments.
27285 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27286 * tests/muxing/case1.c: (main):
27287 * tests/sched/dynamic-pipeline.c: (main):
27288 * tests/sched/interrupt1.c: (main):
27289 * tests/sched/interrupt2.c: (main):
27290 * tests/sched/interrupt3.c: (main):
27291 * tests/sched/runxml.c: (main):
27292 * tests/sched/sched-stress.c: (main):
27293 * tests/seeking/seeking1.c: (event_received), (main):
27294 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27296 * tests/threadstate/threadstate3.c: (main):
27297 * tests/threadstate/threadstate4.c: (main):
27298 * tests/threadstate/threadstate5.c: (main):
27301 2005-07-21 Wim Taymans <wim@fluendo.com>
27303 * docs/design/part-seeking.txt:
27304 Some small additions.
27306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27307 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27308 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27309 * gst/base/gstbasesink.h:
27310 discont values are gint64, handle the math correctly.
27312 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27313 Make the basesrc report error if the source pad is not linked.
27315 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27316 (gst_queue_loop), (gst_queue_handle_src_query),
27317 (gst_queue_src_activate_push):
27318 Make queue collect data even if the srcpad is not linked.
27319 Start pushing out data as soon as it is linked.
27321 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27323 Added gst_flow_get_name() to ease error reporting.
27325 2005-07-20 Wim Taymans <wim@fluendo.com>
27327 * gst/gstmessage.c: (gst_message_new_segment_start),
27328 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27329 (gst_message_parse_segment_done):
27330 * gst/gstmessage.h:
27331 Added a bunch of messages for advanced seeking.
27333 * gst/parse/grammar.y:
27334 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27335 (gst_dpman_state_changed):
27336 Fix some new-pad -> pad-added signals
27338 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27340 * docs/manual/appendix-porting.xml:
27341 * docs/pwg/appendix-porting.xml:
27342 Document new-pad/state-change signal renames and the FixedList
27345 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27347 * docs/manual/advanced-autoplugging.xml:
27348 * docs/manual/basics-helloworld.xml:
27349 * docs/manual/basics-pads.xml:
27350 * docs/random/ds/0.9-suggested-changes:
27351 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27352 * gst/gstelement.h:
27356 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27357 (gst_structure_parse_array), (gst_structure_parse_value):
27358 * gst/gstvalue.c: (gst_type_is_fixed),
27359 (gst_value_list_prepend_value), (gst_value_list_append_value),
27360 (gst_value_list_get_size), (gst_value_list_get_value),
27361 (gst_value_transform_array_string), (gst_value_serialize_array),
27362 (gst_value_deserialize_array), (gst_value_intersect_array),
27363 (gst_value_is_fixed), (_gst_value_initialize):
27365 GstElement::new-pad -> pad-added, GstElement::state-change ->
27366 state-changed, GstValueFixedList -> GstValueArray, add format and
27367 flags as their own arguments in gst_element_seek() (should improve
27368 "bindeability"), remove function generators since they don't work
27369 under a whole bunch of compilers (they were deprecated already
27372 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27374 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27375 (_gst_debug_register_funcptr):
27377 Fix illegal cast on some platforms (#309253).
27379 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27381 * gst/gstmessage.c: (gst_message_new_custom):
27382 * gst/gstmessage.h:
27383 Add _new_custom, make _new_application a macro to _new_custom.
27385 2005-07-20 Wim Taymans <wim@fluendo.com>
27387 * gst/base/gstbasesrc.c: (gst_base_src_init),
27388 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27389 * gst/base/gstbasesrc.h:
27390 Add a gboolean to decide when to push out a discont.
27392 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27393 (gst_queue_loop), (gst_queue_handle_src_query),
27394 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27395 (gst_queue_set_property), (gst_queue_get_property):
27398 * tests/threadstate/threadstate1.c: (main):
27399 Make a thread test compile and run... very silly..
27402 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27404 * docs/manual/appendix-porting.xml:
27405 Mention removal of libgstgconf-0.9.la and existence of gconf
27408 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27410 * docs/pwg/advanced-clock.xml:
27411 * docs/pwg/appendix-porting.xml:
27412 * docs/pwg/intro-preface.xml:
27413 * docs/pwg/other-base.xml:
27414 * docs/pwg/other-manager.xml:
27415 * docs/pwg/other-nton.xml:
27416 * docs/pwg/other-ntoone.xml:
27417 * docs/pwg/other-oneton.xml:
27418 * docs/pwg/pwg.xml:
27419 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27420 demuxer), remove n-to-n (was never written), fix some code examples
27421 and links and update the porting section to include all this.
27423 2005-07-19 Wim Taymans <wim@fluendo.com>
27425 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27426 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27427 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27428 (gst_queue_src_activate_push), (gst_queue_change_state),
27429 (gst_queue_get_property):
27431 Propagate GstFlowReturn more intelligently upstream and output
27432 an ERROR/EOS when streaming stopped due to fatal error.
27434 2005-07-19 Wim Taymans <wim@fluendo.com>
27436 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27437 Don't block forever for the state change to complete, the
27438 pipeline already did with a sensible timeout.
27440 2005-07-19 Wim Taymans <wim@fluendo.com>
27442 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27443 Make sure we never call the create function is we
27446 2005-07-19 Andy Wingo <wingo@pobox.com>
27448 * gst/parse/parse.l: Attempt to solve bug #172815.
27450 2005-07-19 Wim Taymans <wim@fluendo.com>
27452 * docs/design/part-clocks.txt:
27453 * docs/design/part-events.txt:
27454 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27455 Small docs updates.
27456 Only update the seeking values when we are not
27459 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27461 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27462 Oops, ignore the result of gst_pad_push_event here.
27464 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27466 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27467 (gst_base_src_activate_push):
27468 Send discont event from the loop function, as pads
27469 aren't activated yet in the activate_push handler.
27471 * gst/gstbin.c: (bin_bus_handler):
27472 Don't leak element name.
27474 2005-07-18 Andy Wingo <wingo@pobox.com>
27476 * configure.ac: Use AS_LIBTOOL_TAGS.
27478 2005-07-18 Wim Taymans <wim@fluendo.com>
27480 * docs/gst/gstreamer.types:
27481 Remove deleted types.
27483 2005-07-18 Wim Taymans <wim@fluendo.com>
27485 * check/elements/gstfakesrc.c: (GST_START_TEST):
27488 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27489 (init_popt_callback):
27491 * gst/gst_private.h:
27492 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27493 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27496 * gst/gstconfig.h.in:
27497 * gst/gstelement.c: (gst_element_class_init),
27498 (gst_element_set_base_time), (gst_element_get_base_time),
27499 (iterator_fold_with_resync), (gst_element_change_state),
27500 (gst_element_dispose), (gst_element_get_bus):
27501 * gst/gstelement.h:
27502 * gst/gstelementfactory.h:
27503 * gst/gsterror.c: (_gst_core_errors_init):
27506 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27508 * gst/gstinfo.c: (_gst_debug_init):
27509 * gst/gstmessage.c: (_gst_message_copy):
27510 * gst/gstmessage.h:
27511 * gst/gstminiobject.h:
27514 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27515 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27518 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27519 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27520 (gst_pipeline_get_last_stream_time):
27521 * gst/gstpipeline.h:
27522 * gst/gstpluginfeature.h:
27524 * gst/gstscheduler.c:
27525 * gst/gstscheduler.h:
27526 * gst/gststructure.h:
27527 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27528 (gst_task_finalize), (gst_task_func), (gst_task_create),
27529 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27530 (gst_task_stop), (gst_task_pause):
27532 * gst/gsttypefind.h:
27534 * gst/registries/gstlibxmlregistry.c: (load_feature),
27535 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27536 * gst/registries/gstxmlregistry.c:
27537 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27538 * gst/schedulers/threadscheduler.c:
27539 * libs/gst/control/dparammanager.h:
27540 * tools/gst-inspect.c: (print_element_list),
27541 (print_plugin_features), (print_element_features):
27542 * tools/gst-xmlinspect.c: (print_element_list),
27543 (print_plugin_info), (main):
27544 Removed plugable schedulers.
27545 Removed Scheduler/Manager from elements.
27546 Removed gsttypes.h, rearranged includes.
27547 Removed dependency pad<->element, element<>pipeline, and
27548 various others, fix includes.
27549 implement gst_pad_get_parent() with gst_object_get_parent()
27550 Make GstTask sefcontained.
27551 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27553 Fix endless loop in iterator_fold_with_resync.
27556 2005-07-18 Wim Taymans <wim@fluendo.com>
27562 2005-07-18 Wim Taymans <wim@fluendo.com>
27565 No more cothreads.h
27567 2005-07-18 Wim Taymans <wim@fluendo.com>
27571 Let's remove these.
27573 2005-07-18 Wim Taymans <wim@fluendo.com>
27575 * docs/design/part-dynamic.txt:
27576 * docs/design/part-events.txt:
27577 * docs/design/part-seeking.txt:
27578 Some more docs in the works.
27580 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27581 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27582 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27583 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27584 (gst_base_transform_handle_buffer),
27585 (gst_base_transform_sink_activate_push),
27586 (gst_base_transform_src_activate_pull),
27587 (gst_base_transform_set_passthrough),
27588 (gst_base_transform_is_passthrough):
27591 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27594 * gst/gstevent.c: (gst_event_finalize):
27597 * gst/gstutils.c: (gst_element_unlink),
27598 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27599 (gst_pad_proxy_setcaps):
27601 Add _get_parent_element() to get a pads parent as an element.
27603 2005-07-18 Wim Taymans <wim@fluendo.com>
27605 * check/gst/gstbin.c: (GST_START_TEST):
27608 2005-07-18 Wim Taymans <wim@fluendo.com>
27610 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27611 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27612 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27613 (gst_base_sink_event), (gst_base_sink_do_sync),
27614 (gst_base_sink_chain), (gst_base_sink_loop),
27615 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27616 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27618 Fix logic for returning ASYNC when not prerolled.
27620 2005-07-18 Wim Taymans <wim@fluendo.com>
27622 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27623 Fix nasty refcount bug.
27625 2005-07-16 Philippe Khalaf <burger@speedy.org>
27627 * gst/elements/gstfdsrc.c:
27628 * gst/elements/gstfdsrc.h:
27629 * gst/elements/gstelements.c:
27630 * gst/elements/Makefile.am:
27631 Ported fdsrc to 0.9.
27633 2005-07-16 Wim Taymans <wim@fluendo.com>
27635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27636 (gst_base_sink_do_sync):
27639 2005-07-16 Wim Taymans <wim@fluendo.com>
27641 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27642 (gst_base_sink_event), (gst_base_sink_get_times),
27643 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27644 * gst/base/gstbasesink.h:
27645 Store and use discont values when syncing buffers as described
27648 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27649 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27650 (gst_base_src_activate_push):
27651 Push discont event when starting.
27653 * gst/elements/gstidentity.c: (gst_identity_transform):
27656 * gst/gstbin.c: (gst_bin_change_state):
27657 Small cleanups in base_time distribution.
27659 * gst/gstelement.c: (gst_element_set_base_time),
27660 (gst_element_get_base_time), (gst_element_change_state):
27661 * gst/gstelement.h:
27662 Added methods for the base_time of the element.
27665 * gst/gstpipeline.c: (gst_pipeline_send_event),
27666 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27667 (gst_pipeline_get_last_stream_time):
27668 * gst/gstpipeline.h:
27670 Handle seeking as described in design doc, remove stream_time
27672 Cleanups clock and stream_time selection code. Added accessors
27673 for the stream_time.
27676 2005-07-16 Andy Wingo <wingo@pobox.com>
27678 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27681 2005-07-16 Wim Taymans <wim@fluendo.com>
27683 * check/gst/gstbin.c: (GST_START_TEST):
27684 Make elements silent as the deep_notify refs the
27685 parent, which might make the test fail.
27687 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27688 Don't hold the lock for too long.
27690 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27692 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27693 Don't unref the caps we passed to gst_caps_make_writable() after
27694 passing them. gst_caps_make_writable() will do that for us.
27696 2005-07-15 Andy Wingo <wingo@pobox.com>
27698 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27701 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27702 own marshalling function for the handoff signal. Properly type the
27703 buffer as a buffer. Fixes some warnings. Should do a more general
27705 (gst_identity_class_init): Plug into the right marshaller.
27707 2005-07-15 Wim Taymans <wim@fluendo.com>
27709 * docs/design/part-TODO.txt:
27710 * docs/design/part-clocks.txt:
27711 * docs/design/part-element-sink.txt:
27712 * docs/design/part-events.txt:
27713 * docs/design/part-gstpipeline.txt:
27714 Updated docs, mostly DISCONT related.
27716 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27718 * docs/pwg/building-pads.xml:
27719 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27721 2005-07-15 Andy Wingo <wingo@pobox.com>
27723 * tools/gst-typefind.c: Update, add copyright block.
27725 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27726 Normalize and truncate caps before fixation.
27729 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27730 discards all but the first structure from its argument.
27732 2005-07-15 Wim Taymans <wim@fluendo.com>
27734 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27735 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27736 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27737 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27738 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27739 (gst_base_transform_chain), (gst_base_transform_change_state),
27740 (gst_base_transform_set_passthrough),
27741 (gst_base_transform_is_passthrough):
27742 * gst/base/gstbasetransform.h:
27743 Make passthrough work using the bufferpools.
27744 Changed API a bit, subclasses have to write into a buffer
27745 provided by the base class.
27746 More debug info in nego functions.
27748 * gst/elements/gstidentity.c: (gst_identity_init),
27749 (gst_identity_transform):
27750 Port to new base class.
27752 2005-07-15 Wim Taymans <wim@fluendo.com>
27754 * gst/gstmessage.c: (gst_message_new_state_changed):
27755 * tools/gst-launch.c: (event_loop), (main):
27756 Totally dump messages in -launch with the -m option.
27757 Fix message name for State messages,
27759 2005-07-14 Wim Taymans <wim@fluendo.com>
27761 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27762 Post error messages on errors.
27764 2005-07-14 Wim Taymans <wim@fluendo.com>
27766 * gst/gstcaps.c: (gst_caps_do_simplify):
27770 Define error for stream stopped.
27772 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27773 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27774 Do proper return values.
27776 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27777 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27778 (gst_pad_get_range):
27779 Better return values.
27782 Reorganise return values, add macro to check for fatal errors.
27784 * gst/gstqueue.c: (gst_queue_chain):
27785 Return proper GstFlowReturn values,
27787 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27789 * docs/gst/gstreamer-sections.txt:
27790 * docs/gst/gstreamer.types:
27791 * docs/gst/tmpl/gst.sgml:
27792 * docs/gst/tmpl/gstbasesink.sgml:
27793 * docs/gst/tmpl/gstbasesrc.sgml:
27794 * docs/gst/tmpl/gstbasetransform.sgml:
27795 * docs/gst/tmpl/gstbin.sgml:
27796 * docs/gst/tmpl/gstbuffer.sgml:
27797 * docs/gst/tmpl/gstcaps.sgml:
27798 * docs/gst/tmpl/gstclock.sgml:
27799 * docs/gst/tmpl/gstcompat.sgml:
27800 * docs/gst/tmpl/gstconfig.sgml:
27801 * docs/gst/tmpl/gstelement.sgml:
27802 * docs/gst/tmpl/gstelementdetails.sgml:
27803 * docs/gst/tmpl/gstelementfactory.sgml:
27804 * docs/gst/tmpl/gstenumtypes.sgml:
27805 * docs/gst/tmpl/gsterror.sgml:
27806 * docs/gst/tmpl/gstevent.sgml:
27807 * docs/gst/tmpl/gstfakesink.sgml:
27808 * docs/gst/tmpl/gstfakesrc.sgml:
27809 * docs/gst/tmpl/gstfilesink.sgml:
27810 * docs/gst/tmpl/gstfilesrc.sgml:
27811 * docs/gst/tmpl/gstfilter.sgml:
27812 * docs/gst/tmpl/gstformat.sgml:
27813 * docs/gst/tmpl/gstghostpad.sgml:
27814 * docs/gst/tmpl/gstimplementsinterface.sgml:
27815 * docs/gst/tmpl/gstindex.sgml:
27816 * docs/gst/tmpl/gstindexfactory.sgml:
27817 * docs/gst/tmpl/gstinfo.sgml:
27818 * docs/gst/tmpl/gstiterator.sgml:
27819 * docs/gst/tmpl/gstmacros.sgml:
27820 * docs/gst/tmpl/gstmemchunk.sgml:
27821 * docs/gst/tmpl/gstminiobject.sgml:
27822 * docs/gst/tmpl/gstobject.sgml:
27823 * docs/gst/tmpl/gstpad.sgml:
27824 * docs/gst/tmpl/gstpadtemplate.sgml:
27825 * docs/gst/tmpl/gstparse.sgml:
27826 * docs/gst/tmpl/gstpipeline.sgml:
27827 * docs/gst/tmpl/gstplugin.sgml:
27828 * docs/gst/tmpl/gstpluginfeature.sgml:
27829 * docs/gst/tmpl/gstquery.sgml:
27830 * docs/gst/tmpl/gstqueue.sgml:
27831 * docs/gst/tmpl/gstregistry.sgml:
27832 * docs/gst/tmpl/gstregistrypool.sgml:
27833 * docs/gst/tmpl/gstscheduler.sgml:
27834 * docs/gst/tmpl/gstschedulerfactory.sgml:
27835 * docs/gst/tmpl/gststructure.sgml:
27836 * docs/gst/tmpl/gstsystemclock.sgml:
27837 * docs/gst/tmpl/gsttaglist.sgml:
27838 * docs/gst/tmpl/gsttagsetter.sgml:
27839 * docs/gst/tmpl/gsttrace.sgml:
27840 * docs/gst/tmpl/gsttrashstack.sgml:
27841 * docs/gst/tmpl/gsttypefind.sgml:
27842 * docs/gst/tmpl/gsttypefindfactory.sgml:
27843 * docs/gst/tmpl/gsttypes.sgml:
27844 * docs/gst/tmpl/gsturihandler.sgml:
27845 * docs/gst/tmpl/gsturitype.sgml:
27846 * docs/gst/tmpl/gstutils.sgml:
27847 * docs/gst/tmpl/gstvalue.sgml:
27848 * docs/gst/tmpl/gstversion.sgml:
27849 * docs/gst/tmpl/gstxml.sgml:
27850 * docs/libs/tmpl/gstcontrol.sgml:
27851 * docs/libs/tmpl/gstdataprotocol.sgml:
27852 * docs/libs/tmpl/gstdparam.sgml:
27853 * docs/libs/tmpl/gstdplinint.sgml:
27854 * docs/libs/tmpl/gstdpman.sgml:
27855 * docs/libs/tmpl/gstdpsmooth.sgml:
27856 * docs/libs/tmpl/gstgetbits.sgml:
27857 * docs/libs/tmpl/gstunitconvert.sgml:
27858 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27859 (gst_push_src_base_init), (gst_push_src_class_init),
27860 (gst_push_src_init), (gst_push_src_create):
27861 * gst/base/gstpushsrc.h:
27862 * gst/elements/gstelements.c:
27863 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27864 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27865 (gst_fake_sink_init), (gst_fake_sink_set_property),
27866 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27867 (gst_fake_sink_event), (gst_fake_sink_preroll),
27868 (gst_fake_sink_render), (gst_fake_sink_change_state):
27869 * gst/elements/gstfakesink.h:
27870 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27871 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27872 (gst_fake_src_base_init), (gst_fake_src_class_init),
27873 (gst_fake_src_init), (gst_fake_src_event_handler),
27874 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27875 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27876 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27877 (gst_fake_src_create_buffer), (gst_fake_src_create),
27878 (gst_fake_src_start), (gst_fake_src_stop):
27879 * gst/elements/gstfakesrc.h:
27880 * gst/elements/gstfilesink.c: (_do_init),
27881 (gst_file_sink_base_init), (gst_file_sink_class_init),
27882 (gst_file_sink_init), (gst_file_sink_dispose),
27883 (gst_file_sink_set_location), (gst_file_sink_set_property),
27884 (gst_file_sink_get_property), (gst_file_sink_open_file),
27885 (gst_file_sink_close_file), (gst_file_sink_query),
27886 (gst_file_sink_event), (gst_file_sink_render),
27887 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27888 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27889 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27890 * gst/elements/gstfilesink.h:
27891 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27892 (gst_file_src_class_init), (gst_file_src_init),
27893 (gst_file_src_finalize), (gst_file_src_set_location),
27894 (gst_file_src_set_property), (gst_file_src_get_property),
27895 (gst_file_src_map_region), (gst_file_src_map_small_region),
27896 (gst_file_src_create_mmap), (gst_file_src_create_read),
27897 (gst_file_src_create), (gst_file_src_is_seekable),
27898 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27899 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27900 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27901 (gst_file_src_uri_handler_init):
27902 * gst/elements/gstfilesrc.h:
27903 more autistic cleanliness in functions/names/defines
27905 2005-07-13 Andy Wingo <wingo@pobox.com>
27907 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27908 source couldn't negotiate.
27910 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27914 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27915 function. I am channeling Hades. Put your boots on suckers!!!
27917 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27919 * testsuite/caps/Makefile.am:
27920 * testsuite/caps/value_compare.c:
27921 * testsuite/caps/value_intersect.c:
27922 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27923 move two testsuite apps over to the check dir
27925 2005-07-12 Wim Taymans <wim@fluendo.com>
27927 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27928 Added more debug info in the negotiate process.
27930 * gst/gstmessage.h:
27931 Prepare for segment playback.
27933 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27939 * tools/gst-launch.c: (main):
27940 NULL pipeline on errors.
27942 2005-07-12 Andy Wingo <wingo@pobox.com>
27944 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27945 not it comes from a malloc region. Make sure our copy gets freed.
27947 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27949 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27950 * check/gst/gstmessage.c: (GST_START_TEST):
27951 * check/gst/gststructure.c: (GST_START_TEST),
27952 (gst_structure_suite), (main):
27954 * gst/gstelement.c: (gst_element_message_full):
27955 clean up GError and debug string now that they get copied
27956 * gst/gstmessage.c: (gst_message_new_error),
27957 (gst_message_new_warning), (gst_message_parse_error),
27958 (gst_message_parse_warning):
27959 use GST_TYPE_G_ERROR for structure_new, and take copies of
27960 arguments, so that we don't mess up refcounting
27962 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27964 * check/Makefile.am:
27965 add per-test valgrind targets
27966 * check/gst-libs/gdp.c: (GST_START_TEST),
27967 (gst_data_protocol_suite), (main):
27970 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27972 * check/Makefile.am:
27973 instate more valgrindable tests
27974 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27975 (GST_START_TEST), (fakesrc_suite):
27976 * check/gst/gstpad.c: (GST_START_TEST):
27977 * check/gst/gststructure.c: (GST_START_TEST):
27979 * docs/gst/tmpl/gstminiobject.sgml:
27980 * gst/gstpad.c: (gst_pad_finalize):
27981 fix the static mutex leak
27983 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27985 * check/Makefile.am:
27986 add two more tests for valgrinding
27987 * check/gst/gstvalue.c: (GST_START_TEST):
27988 test refcount of deserialized buffer, found a leak
27989 * docs/gst/gstreamer-docs.sgml:
27990 * docs/gst/gstreamer-sections.txt:
27991 * docs/gst/gstreamer.types:
27992 * docs/gst/tmpl/gstminiobject.sgml:
27993 add miniobject to docs
27994 * gst/gstminiobject.c:
27996 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27997 (gst_string_unwrap):
27998 fix a hard-to-find invalid write for one of the tests
27999 fix a leak for deserialized buffers
28001 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28003 * docs/pwg/advanced-events.xml:
28004 * docs/pwg/advanced-request.xml:
28005 * docs/pwg/advanced-scheduling.xml:
28006 * docs/pwg/appendix-porting.xml:
28007 * docs/pwg/building-boiler.xml:
28008 * docs/pwg/intro-preface.xml:
28009 * docs/pwg/other-ntoone.xml:
28010 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28011 of example code and explanation for pad activation, loop() and
28012 getrange() functions and a bit more. Remove old comments pointing
28014 * examples/pwg/Makefile.am:
28015 Add loop/getrange examples.
28017 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28020 check for valgrind binary + some fixes
28022 valgrind suppressions for the tests
28023 * check/Makefile.am:
28024 add a valgrind: target that valgrinds the unit tests
28025 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28026 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28027 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28028 * check/gst/gstghostpad.c:
28030 * check/gst/gstdata.c:
28032 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28033 (thread_unref), (gst_mini_object_suite), (main):
28035 * gst/gst.c: (gst_deinit):
28037 add a method to clean up.
28038 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28039 (gst_system_clock_obtain):
28040 allow for disposing the system clock.
28041 * tools/gst-launch.c: (main):
28044 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28046 * docs/gst/tmpl/gstbasesrc.sgml:
28047 * docs/gst/tmpl/gstfakesrc.sgml:
28048 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28049 (gst_base_src_init), (gst_base_src_set_property),
28050 (gst_base_src_get_property), (gst_base_src_get_range),
28051 (gst_base_src_start):
28052 * gst/base/gstbasesrc.h:
28053 add num-buffers property
28054 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28055 (gst_fakesrc_init), (gst_fakesrc_set_property),
28056 (gst_fakesrc_get_property), (gst_fakesrc_create),
28057 (gst_fakesrc_start):
28058 remove num-buffers property
28060 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28062 * docs/gst/gstreamer-sections.txt:
28063 * docs/gst/tmpl/gstbasesink.sgml:
28064 * docs/gst/tmpl/gstbasesrc.sgml:
28065 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28066 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28067 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28068 (gst_base_sink_set_property), (gst_base_sink_get_property),
28069 (gst_base_sink_handle_object), (gst_base_sink_event),
28070 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28071 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28072 (gst_base_sink_loop), (gst_base_sink_deactivate),
28073 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28074 (gst_base_sink_change_state):
28075 * gst/base/gstbasesink.h:
28076 * gst/base/gstbasesrc.h:
28077 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28078 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28079 (gst_filesink_init):
28080 more macro splitting
28082 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28084 * gst/gstelement.c: (gst_element_get_bus):
28086 * tools/gst-launch.c: (check_intr), (event_loop):
28089 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28091 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28094 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28096 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28097 (gst_base_src_finalize):
28098 add finalize method and clean up properly
28099 * gst/gstpipeline.c: (gst_pipeline_dispose):
28102 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28104 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28106 add more things to check
28107 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28108 * gst/gstelement.c:
28111 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28113 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28114 (GST_START_TEST), (fakesrc_suite):
28115 * check/gst-libs/gdp.c: (GST_START_TEST):
28116 * check/gst/gst.c: (GST_START_TEST):
28117 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28118 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28119 * check/gst/gstbus.c: (GST_START_TEST):
28120 * check/gst/gstcaps.c: (GST_START_TEST):
28121 * check/gst/gstdata.c: (GST_START_TEST):
28122 * check/gst/gstelement.c: (GST_START_TEST):
28123 * check/gst/gstghostpad.c: (GST_START_TEST):
28124 * check/gst/gstiterator.c: (GST_START_TEST):
28125 * check/gst/gstmessage.c: (GST_START_TEST):
28126 * check/gst/gstobject.c: (GST_START_TEST):
28127 * check/gst/gstpad.c: (GST_START_TEST):
28128 * check/gst/gststructure.c: (GST_START_TEST):
28129 * check/gst/gstsystemclock.c: (GST_START_TEST),
28130 (gst_systemclock_suite):
28131 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28132 * check/gst/gstvalue.c: (GST_START_TEST):
28133 * check/pipelines/cleanup.c: (GST_START_TEST):
28134 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28135 * check/states/sinks.c: (GST_START_TEST):
28136 * check/gstcheck.c: (gst_check_init):
28137 * check/gstcheck.h:
28138 add debugging category
28139 use GST_START_TEST now, so we add a debug line
28141 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28143 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28144 add test for state change message on a bin
28145 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28147 * gst/gstbin.c: (gst_bin_init):
28148 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28149 * gst/gstelement.c: (gst_element_post_message),
28150 (gst_element_set_state):
28151 * gst/gstelementfactory.c: (gst_element_factory_create):
28152 * gst/gstmessage.c: (gst_message_new):
28153 * gst/gstscheduler.c:
28154 various debugging additions and cleanups
28156 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28158 * check/Makefile.am:
28159 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28161 adding tests for elements
28162 * gst/gstelement.c: (gst_element_dispose):
28164 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28166 * gst/registries/gstlibxmlregistry.c: (load_feature):
28167 plug more leaks. A simple gst_init() now is leakfree, yay.
28169 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28171 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28172 (gst_xml_registry_load):
28173 plug another memleak
28175 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28178 use GST_SET_ERROR_CFLAGS
28179 * docs/faq/cvs.xml:
28180 change to ERROR_CFLAGS
28182 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28185 make GST_ERROR_CFLAGS overridable and re-enable Werror
28186 * docs/faq/cvs.xml:
28187 add a note about error CFLAGS
28188 * docs/gst/tmpl/gstfakesrc.sgml:
28189 * gst/elements/gstfakesrc.c:
28190 comment out some unused code
28191 * gst/gst.c: (split_and_iterate):
28192 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28196 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28198 * common/Makefile.am:
28199 * common/gtk-doc.mak:
28200 * docs/gst/Makefile.am:
28201 factor out gtk-doc.mak
28203 2005-07-07 Wim Taymans <wim@fluendo.com>
28205 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28206 (gst_thread_scheduler_dispose):
28207 Unlock the STREAM_LOCK completely.
28209 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28211 * check/Makefile.am:
28212 * check/elements/.cvsignore:
28213 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28214 (START_TEST), (fakesrc_suite), (main):
28215 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28216 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28217 (gst_fakesrc_create), (gst_fakesrc_start):
28218 * gst/elements/gstfakesrc.h:
28219 adding a first element test
28221 2005-07-07 Andy Wingo <wingo@pobox.com>
28223 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28226 2005-07-07 Wim Taymans <wim@fluendo.com>
28232 2005-07-07 Wim Taymans <wim@fluendo.com>
28234 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28235 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28236 Allow subclasses to implement their own negotiation.
28238 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28240 * docs/design/part-gstbin.txt:
28241 * docs/design/part-gstpipeline.txt:
28242 Update design notes to reflect the movement of
28243 responsibility for bus handling from GstPipeline to
28246 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28249 Remove unnecessary queue2/3/4 examples.
28251 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28253 * examples/Makefile.am:
28254 * examples/helloworld/helloworld.c: (event_loop), (main):
28255 * examples/queue/queue.c: (event_loop), (main):
28256 * examples/queue2/queue2.c: (main):
28257 Update a couple of the examples to work again.
28259 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28260 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28261 Spelling corrections and extra debug.
28263 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28264 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28265 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28267 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28268 (gst_pipeline_change_state):
28269 * gst/gstpipeline.h:
28270 Move the bus handler for children to the GstBin, and create a
28271 separate bus for receiving messages from children to the one the
28272 bus sends 'upwards' on.
28274 2005-07-06 Wim Taymans <wim@fluendo.com>
28277 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28278 (gst_base_sink_handle_object), (gst_base_sink_loop),
28279 (gst_base_sink_change_state):
28280 * gst/base/gstbasesink.h:
28281 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28282 (gst_base_src_init), (gst_base_src_setcaps),
28283 (gst_base_src_getcaps), (gst_base_src_loop),
28284 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28285 (gst_base_src_start), (gst_base_src_change_state):
28286 * gst/base/gstbasesrc.h:
28287 Make basesrc negotiate.
28288 Handle the case where preroll fails in basesink.
28291 2005-07-06 Wim Taymans <wim@fluendo.com>
28293 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28294 Implement the fixate function.
28295 Clean up acceptcaps.
28297 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28299 * docs/pwg/building-filterfactory.xml:
28300 * docs/pwg/pwg.xml:
28301 Remove never-written filter-factory chapter; I'll add the various
28302 base classes to part 4 ("other element types") later on.
28304 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28306 * docs/pwg/advanced-negotiation.xml:
28307 * docs/pwg/building-boiler.xml:
28308 * docs/pwg/building-pads.xml:
28309 * docs/pwg/pwg.xml:
28310 * examples/pwg/Makefile.am:
28311 Add a chapter on caps negotiation, simplify the original code
28312 samples a bit w.r.t. caps negotiation, add link to the advanced
28313 section. Add a bunch of examples showing different use cases of
28314 different types of caps negotiation. Upstream renegotiation isn't
28315 fully documented yet since nobody knows how that works.
28317 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28319 * check/gst/gstpad.c:
28320 * check/gstcheck.c:
28321 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28322 if pad has no parent, return NULL as list of internal links
28324 2005-07-05 Andy Wingo <wingo@pobox.com>
28326 * gst/elements/gstfilesrc.c:
28327 * gst/elements/gstfakesrc.c:
28328 * gst/base/gstpushsrc.c:
28329 * gst/base/gstbasesrc.h:
28330 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28332 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28335 better report generation target (lcov needs a patch)
28337 2005-07-05 Andy Wingo <wingo@pobox.com>
28339 * gst/elements, testsuite: Null if we got it...
28341 2005-07-05 Wim Taymans <wim@fluendo.com>
28344 * libs/gst/dataprotocol/Makefile.am:
28345 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28346 * libs/gst/dataprotocol/dataprotocol.h:
28347 * pkgconfig/Makefile.am:
28348 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28349 * pkgconfig/gstreamer-dataprotocol.pc.in:
28350 Ported dataprotol to 0.9.
28351 Added pkgconfig files.
28353 2005-07-05 Andy Wingo <wingo@pobox.com>
28355 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28356 Default to returning TRUE for the case when tranform_caps returns
28357 a fixed caps, like for identity or volume.
28359 * check/gst/gstbus.c (pound_bus_with_messages):
28360 * check/gst/gstmessage.c (START_TEST):
28361 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28362 message API change.
28364 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28365 logic weaks here: always run transform_caps, trying passthrough
28366 operation only if the original caps intersects with the transform.
28368 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28369 source and sink caps.
28371 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28372 Intersect the peer caps with the pad template before going into
28374 (gst_base_transform_transform_caps): More debugging.
28376 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28379 2005-07-04 Edward Hervey <edward@fluendo.com>
28383 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28386 2005-07-04 Andy Wingo <wingo@pobox.com>
28388 * check/gst/gstpad.c: Only set explicit caps on pads.
28390 2005-07-01 Andy Wingo <wingo@pobox.com>
28392 * tests/network-clock.scm: Commentary update.
28394 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28395 Didn't really make sense, not implementable with basetransform,
28397 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28398 attempt at implementing the sync property, needs an unlock method.
28400 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28401 New func, by default returns the same caps (the identity
28403 (gst_base_transform_getcaps): Uses transform_caps to return
28404 something sensible.
28405 (gst_base_transform_setcaps): Complicated logic to get caps on
28406 both pads, even if they are different, and to call set_caps once
28407 for every time both pads get their caps set.
28408 (gst_base_transform_handle_buffer): Give the ref to the transform
28409 function. Allows in-place modification of the buffer.
28411 * gst/base/gstbasetransform.h (transform_caps): New class method.
28412 Given caps on one side, what can I do on the other.
28413 (set_caps): Take two caps, one for each side of the element.
28416 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28417 caps in place. This is safe because we can check the mutability of
28418 the caps, and a good idea because fixate functions are just called
28419 as a matter of last resort. (Not actually implemented.)
28420 (gst_pad_set_caps): If the caps we're setting is actually the same
28421 as the existing pad caps, just update the pointer without calling
28422 setcaps. Assert that caps is either NULL or fixed, as per the
28425 * gst/gstghostpad.c: Update for fixate changes.
28427 2005-07-02 Andy Wingo <wingo@pobox.com>
28430 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28431 two refcounts makes it immutable, which is enough. Doc more.
28433 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28435 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28436 Put the mini_object into GValue as a mini_object,
28437 not a gpointer, since that's how we declared
28440 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28442 * examples/pwg/Makefile.am:
28443 Fix buildbot again.
28445 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28447 * docs/pwg/building-testapp.xml:
28449 * examples/pwg/Makefile.am:
28452 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28455 * examples/Makefile.am:
28456 * examples/pwg/Makefile.am:
28457 * examples/pwg/extract.pl:
28458 Enable building the PWG examples.
28459 * docs/pwg/advanced-interfaces.xml:
28460 Add URI interface stub.
28461 * docs/pwg/advanced-types.xml:
28462 * docs/pwg/other-autoplugger.xml:
28463 * docs/pwg/appendix-porting.xml:
28464 * docs/pwg/pwg.xml:
28465 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28466 * docs/pwg/building-boiler.xml:
28467 * docs/pwg/building-chainfn.xml:
28468 * docs/pwg/building-pads.xml:
28469 * docs/pwg/building-props.xml:
28470 * docs/pwg/building-state.xml:
28471 * docs/pwg/building-testapp.xml:
28472 Update the building-*.xml parts for 0.9 changes. All examples
28473 code blocks compile in examples/pwg/*.
28475 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28477 * docs/manual/advanced-autoplugging.xml:
28478 * docs/manual/appendix-checklist.xml:
28479 * docs/manual/appendix-integration.xml:
28480 * docs/manual/highlevel-components.xml:
28481 Fix playbin/decodebin examples, update docs a bit, mention bus
28482 instead of signals in various places, mention kmplayer and
28483 kaffeine since they have a working GStreamer backend in the KDE
28486 2005-06-30 Wim Taymans <wim@fluendo.com>
28489 * docs/design/draft-ghostpads.txt:
28490 * docs/design/draft-push-pull.txt:
28491 * docs/design/draft-query.txt:
28492 * docs/design/part-TODO.txt:
28493 * docs/design/part-query.txt:
28494 Added CHANGES-0.9 doc, updated status of other docs.
28499 2005-06-30 Wim Taymans <wim@fluendo.com>
28501 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28502 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28503 (gst_base_sink_change_state):
28504 * gst/base/gstbasesink.h:
28505 Some tweaks, only EOS and a buffer complete a preroll.
28507 2005-06-30 Andy Wingo <wingo@pobox.com>
28509 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28510 activate_push down to the internal pad as well.
28512 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28514 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28516 * gst/gsttaginterface.c:
28517 Some documentation fixes (#307394 and #307397).
28519 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28521 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28523 * gst/gstvalue.c: (gst_value_intersect_list):
28524 Fix memleak (#309125).
28526 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28528 * docs/manual/advanced-dataaccess.xml:
28529 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28530 * docs/manual/basics-pads.xml:
28531 Add reference for filtered caps to above chapter.
28533 2005-06-30 Wim Taymans <wim@fluendo.com>
28535 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28536 (gst_bin_change_state):
28538 Lame attempt at making the state change function a bit
28541 2005-06-30 Wim Taymans <wim@fluendo.com>
28543 * docs/design/part-clocks.txt:
28544 * docs/design/part-element-sink.txt:
28545 * docs/design/part-events.txt:
28546 * docs/design/part-preroll.txt:
28547 * docs/design/part-states.txt:
28548 Some more tweeks and additions to the docs.
28550 2005-06-30 Wim Taymans <wim@fluendo.com>
28552 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28553 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28554 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28555 (gst_pad_check_pull_range), (gst_pad_get_range),
28556 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28558 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28559 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28560 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28561 (gst_pad_remove_buffer_probe):
28562 Removed atomic operations, use existing LOCK.
28563 Move exception handling out of main code path.
28565 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28567 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28568 (silly_return_true_function), (gst_pad_class_init),
28569 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28570 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28571 (gst_pad_send_event):
28572 Fix accumulator, add default value by using _emitv() instead
28573 of _emit() for signal emission.
28575 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28577 * docs/manual/advanced-dataaccess.xml:
28578 * examples/manual/Makefile.am:
28580 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28583 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28585 * gst/elements/gstfilesink.c: (gst_filesink_render):
28586 Simplify code so that we don't have to handle short
28587 writes and return GST_FLOW_ERROR if an error occured.
28589 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28591 * docs/gst/gstreamer-docs.sgml:
28592 Remove probes more.
28594 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28596 * docs/gst/gstreamer-sections.txt:
28597 * docs/gst/tmpl/gstpad.sgml:
28598 * docs/gst/tmpl/gstprobe.sgml:
28600 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28601 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28602 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28603 (gst_pad_push_event), (gst_pad_send_event):
28605 * gst/gstutils.c: (gst_pad_add_data_probe),
28606 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28607 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28608 (gst_pad_remove_buffer_probe):
28610 Remove old probes, add new g-signal-based probes and some utility
28613 2005-06-29 Edward Hervey <edward@fluendo.com>
28615 * gst/gstelementfactory.c:
28618 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28619 the definition to the header file.
28621 2005-06-29 Andy Wingo <wingo@pobox.com>
28623 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28624 plugins from the source directory.
28626 2005-06-29 Wim Taymans <wim@fluendo.com>
28628 * docs/gst/tmpl/gstbuffer.sgml:
28629 * docs/gst/tmpl/gstclock.sgml:
28630 Some fixings for blantently wrong text.
28632 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28634 * check/Makefile.am:
28635 * gst/gst.c: (add_path_func), (init_pre):
28636 * gst/gstregistry.c: (gst_registry_add_path):
28637 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28638 only scan the GST_PLUGIN_PATH locations, and not add
28641 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28643 * docs/gst/gstreamer-sections.txt:
28644 * docs/gst/tmpl/gstbasesrc.sgml:
28645 * gst/gstelement.c:
28646 * gst/gstelement.h:
28651 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28653 * docs/manual/advanced-autoplugging.xml:
28654 Fix autoplugging example.
28656 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28658 * docs/manual/advanced-autoplugging.xml:
28659 * docs/manual/mime-world.fig:
28660 Try to get autoplugging working, fix type detection. Fix text
28661 in hello-world image.
28663 2005-06-29 Wim Taymans <wim@fluendo.com>
28665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28666 (gst_base_sink_change_state):
28670 map SIGNAL and BROADCAST to the right function.
28673 Remove redundant braces.
28675 * gst/gstpad.c: (gst_pad_set_caps):
28676 Don't call setcaps function when reseting caps to NULL.
28678 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28679 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28680 (gst_system_clock_id_unschedule):
28681 Use BROADCAST as this is what we do.
28683 2005-06-29 Wim Taymans <wim@fluendo.com>
28685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28686 We are actually prerolling before commiting the state
28689 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28691 * docs/manual/advanced-clocks.xml:
28692 * docs/manual/advanced-interfaces.xml:
28693 * docs/manual/advanced-metadata.xml:
28694 * docs/manual/advanced-position.xml:
28695 * docs/manual/advanced-schedulers.xml:
28696 * docs/manual/advanced-threads.xml:
28697 * docs/manual/appendix-porting.xml:
28698 * docs/manual/basics-bins.xml:
28699 * docs/manual/basics-bus.xml:
28700 * docs/manual/basics-elements.xml:
28701 * docs/manual/basics-helloworld.xml:
28702 * docs/manual/basics-pads.xml:
28703 * docs/manual/highlevel-components.xml:
28704 * docs/manual/manual.xml:
28705 * docs/manual/thread.fig:
28706 Update (until threads/scheduling) Application Development Manual;
28707 remove GstThread, add GstBus, add simple porting checklist, add
28708 documentation for tag writing, clocks, make all examples until this
28709 part compile and run.
28710 * examples/manual/Makefile.am:
28711 Update from changes to Application Development Manual; add bus
28712 example, remove thread example.
28714 2005-06-28 Wim Taymans <wim@fluendo.com>
28716 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28717 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28718 (gst_bus_source_dispatch):
28719 Add debugging messages.
28720 Make internal methods static.
28721 Handle the case where the bus is flushed in the handler.
28723 * gst/gstelement.c: (gst_element_get_bus):
28724 Fix refcount in _get_bus();
28726 * gst/gstpipeline.c: (gst_pipeline_change_state),
28727 (gst_pipeline_get_clock_func):
28728 Clock refcounting fixes.
28729 Handle the case where preroll timed out more gracefully.
28731 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28732 Clean up the internal thread in dispose. This is needed
28733 for subclasses that actually get disposed.
28735 * gst/schedulers/threadscheduler.c:
28736 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28737 (gst_thread_scheduler_dispose):
28738 Free thread pool in dispose.
28740 2005-06-28 Andy Wingo <wingo@pobox.com>
28742 * tests/network-clock-utils.scm (debug, print-event): New utils.
28744 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28745 (*packet-loss*): Unified loss probability.
28746 (network-time): Report out-of-band events.
28748 * tests/plot-data: Add support for out-of-band events. Hack it
28749 into this script instead of passing it down the pipe; should fix
28752 2005-06-28 Wim Taymans <wim@fluendo.com>
28754 * docs/gst/gstreamer.types:
28755 * docs/gst/tmpl/gstbasesrc.sgml:
28756 * docs/gst/tmpl/gstpad.sgml:
28759 2005-06-28 Wim Taymans <wim@fluendo.com>
28761 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28762 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28763 (gst_proxy_pad_do_fixatecaps):
28764 Correctly proxy the check_pull_range function.
28766 2005-06-28 Andy Wingo <wingo@pobox.com>
28768 * tests/network-clock.scm: Removed need for slib.
28770 2005-06-28 Wim Taymans <wim@fluendo.com>
28772 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28773 (gst_basesink_preroll_queue_flush):
28774 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28775 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28776 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28777 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28778 (gst_proxy_pad_set_property):
28781 * gst/gstqueue.c: (gst_queue_init):
28782 The deprecated pad loop function is removed now.
28784 2005-06-28 Andy Wingo <wingo@pobox.com>
28786 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28787 New parameters, simulate network packet loss.
28789 * tests/network-clock-utils.scm: Initialize the RNG.
28791 2005-06-28 Wim Taymans <wim@fluendo.com>
28793 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28794 (gst_basesink_event), (gst_basesink_deactivate):
28795 Flushing the preroll queue always needs to unlock the waiters.
28797 2005-06-28 Edward Hervey <edward@fluendo.com>
28799 * gst/gstpipeline.c: (gst_pipeline_send_event):
28800 Wheen a seek was successful on a pipeline, set the stream_time to the
28801 seek offset in order to have a synchronized stream_time.
28803 2005-06-28 Wim Taymans <wim@fluendo.com>
28805 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28806 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28807 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28808 (gst_proxy_pad_do_fixatecaps):
28809 Call wrapper function instead of just calling the function
28810 pointers. This takes care of any locking and whatmore.
28812 2005-06-28 Wim Taymans <wim@fluendo.com>
28814 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28815 (gst_pad_pull_range):
28817 CONNECTED -> LINKED.
28819 2005-06-28 Andy Wingo <wingo@pobox.com>
28821 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28822 source-munging commit!!!
28824 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28825 (gst_object_sink): Take gpointer arguments, not GstObject --
28826 avoids casts. Like GLib.
28828 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28831 2005-06-27 Andy Wingo <wingo@pobox.com>
28833 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28836 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28837 returns a sorted copy of the trace list.
28838 (gst_alloc_trace_print_live): New API, only prints traces with
28839 live objects. Sort the list.
28840 (gst_alloc_trace_print_all): Sort the list.
28841 (gst_alloc_trace_print): Align columns.
28843 * gst/elements/gstttypefindelement.c:
28844 * gst/elements/gsttee.c:
28845 * gst/base/gstbasesrc.c:
28846 * gst/base/gstbasesink.c:
28847 * gst/base/gstbasetransform.c:
28848 * gst/gstqueue.c: Adapt for pad activation changes.
28850 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28852 (gst_pipeline_dispose): Drop ref on sched.
28854 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28855 (gst_pad_activate_default): Push mode by default.
28856 (pre_activate_switch, post_activate_switch): New stubs, things to
28857 do before and after switching activation modes on pads.
28858 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28859 the pad's activate function to choose which mode to activate.
28860 Shortcut on deactivation and call the right function directly.
28861 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28863 (gst_pad_activate_push): New API, same for push mode.
28864 (gst_pad_set_activate_function)
28865 (gst_pad_set_activatepull_function)
28866 (gst_pad_set_activatepush_function): Setters for new API.
28868 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28869 Trace all miniobjects.
28870 (gst_mini_object_make_writable): Unref the arg if we copy, like
28871 gst_caps_make_writable.
28873 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28875 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28876 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28877 Adapt for new pad API.
28879 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28881 * gst/gstelement.h:
28882 * gst/gstelement.c (gst_element_iterate_src_pads)
28883 (gst_element_iterate_sink_pads): New API functions.
28885 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28886 should fold into gstiterator.c in some form.
28887 (gst_element_pads_activate): Simplified via use of fold and
28888 delegation of decisions to gstpad->activate.
28890 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28893 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28894 class once in init, like gstmessage. Didn't run into this issue
28895 but it seems correct. Don't initialize a trace, gstminiobject does
28898 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28899 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28901 (assert_live_count): New util function, uses alloc traces to check
28904 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28905 To be modified when unlink drops the internal pad.
28907 2005-06-27 Wim Taymans <wim@fluendo.com>
28909 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28910 (gst_bin_change_state):
28911 Cleanup the get_state() function a little, make sure it
28912 iterates the same set of elements.
28913 Added stub iterate_state_order().
28915 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28917 * docs/gst/gstreamer-docs.sgml:
28918 * docs/gst/gstreamer-sections.txt:
28919 * docs/gst/gstreamer.types:
28920 * docs/gst/tmpl/gstbasesink.sgml:
28921 * docs/gst/tmpl/gstbasesrc.sgml:
28922 * docs/gst/tmpl/gstbasetransform.sgml:
28923 * docs/gst/tmpl/gstelement.sgml:
28924 * docs/gst/tmpl/gstiterator.sgml:
28925 * gst/base/gstbasesrc.c:
28926 * gst/base/gstbasesrc.h:
28927 * gst/base/gstbasetransform.h:
28928 * gst/gstelement.c:
28929 * gst/gstiterator.h:
28930 adding basetransform and iterator docs
28932 2005-06-27 Andy Wingo <wingo@pobox.com>
28934 * docs/design/part-activation.txt: Notes on how activation should
28935 work -- not quite implemented yet.
28937 2005-06-25 Wim Taymans <wim@fluendo.com>
28939 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28940 At least get the chain function correct, needs more
28943 2005-06-25 Wim Taymans <wim@fluendo.com>
28945 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28946 (gst_basesink_handle_object), (gst_basesink_event),
28947 (gst_basesink_do_sync), (gst_basesink_handle_event),
28948 (gst_basesink_change_state):
28950 Right, two problems here: ghostpads don't take locks and
28951 glib _rec_mutex_lock_full() with depth==0 still locks.
28952 Catch illegal locking and g_warn them.
28954 2005-06-25 Wim Taymans <wim@fluendo.com>
28956 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28957 Have to check for completion now...
28959 2005-06-25 Wim Taymans <wim@fluendo.com>
28961 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28962 (gst_basesink_handle_object), (gst_basesink_event),
28963 (gst_basesink_do_sync), (gst_basesink_handle_event),
28964 (gst_basesink_change_state):
28966 Unlock STREAM_LOCK whatever the recursion was.
28968 2005-06-25 Wim Taymans <wim@fluendo.com>
28970 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28971 (gst_basesink_preroll_queue_empty),
28972 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28973 (gst_basesink_event), (gst_basesink_do_sync),
28974 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28975 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28976 (gst_basesink_change_state):
28977 Reworked the base sink, handle event and buffer serialisation
28978 correctly and removed possible deadlock.
28979 Handle EOS correctly.
28981 2005-06-25 Wim Taymans <wim@fluendo.com>
28983 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28984 (gst_pipeline_change_state):
28985 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28986 Allow elements to post EOS in the state change function.
28987 Fix up -launch, make it exit the poll loop when the
28988 pipeline actually changed state.
28989 Fix up warning parsing in -launch.
28991 2005-06-25 Wim Taymans <wim@fluendo.com>
28993 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28994 (gst_tee_sink_activate):
28995 Core takes STREAM_LOCK for us now.
28997 2005-06-25 Wim Taymans <wim@fluendo.com>
28999 * gst/gstelement.c: (gst_element_get_state_func),
29000 (gst_element_set_state):
29001 * gst/gstelement.h:
29002 * gst/gstmessage.c: (gst_message_parse_error),
29003 (gst_message_parse_warning):
29004 Keep track of current target state while performing a state
29005 change so that subclasses can do something interesting.
29006 Fix parsing of warning/error messages when GError is NULL.
29008 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29010 * docs/gst/Makefile.am:
29011 * docs/gst/gstreamer-docs.sgml:
29012 * docs/gst/gstreamer-sections.txt:
29013 * docs/gst/gstreamer.types:
29014 * docs/gst/tmpl/gstbasesink.sgml:
29015 * docs/gst/tmpl/gstbasesrc.sgml:
29016 * docs/gst/tmpl/gstbin.sgml:
29017 * docs/gst/tmpl/gstcompat.sgml:
29018 * docs/gst/tmpl/gstfakesink.sgml:
29019 * docs/gst/tmpl/gstfakesrc.sgml:
29020 * docs/gst/tmpl/gstfilesink.sgml:
29021 * docs/gst/tmpl/gstfilesrc.sgml:
29022 * docs/gst/tmpl/gstindex.sgml:
29023 * docs/manual/appendix-quotes.xml:
29024 * gst/base/gstbasesrc.h:
29025 * gst/elements/gstfakesrc.h:
29026 * gst/gstmessage.h:
29027 start pulling in base classes and elements in our docs
29029 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29031 * docs/gst/Makefile.am:
29032 * docs/libs/Makefile.am:
29033 fixed make distcheck with gtk-doc 1.3
29035 2005-06-23 Wim Taymans <wim@fluendo.com>
29037 * gst/gstelement.c: (gst_element_get_state_func),
29038 (gst_element_set_state), (gst_element_change_state):
29039 When the state did not change, also report NO_PREROLL
29042 2005-06-23 Wim Taymans <wim@fluendo.com>
29044 * gst/gstpad.c: (gst_pad_event_default):
29045 * gst/gstqueue.c: (gst_queue_loop):
29046 No unsafe task pausing please.
29048 2005-06-23 Wim Taymans <wim@fluendo.com>
29050 * gst/schedulers/threadscheduler.c:
29051 (gst_thread_scheduler_task_start),
29052 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29053 Ref the task before pushing it on the threadpool. This
29054 makes sure that we have a ref when the threadfunction is
29057 2005-06-23 Andy Wingo <wingo@pobox.com>
29059 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29060 offset is greater than the file's size.
29062 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29063 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29064 * gst/gstobject.c (gst_object_class_init): Make the class lock
29065 recursive. Wim won't let me drop deep_notify. Decodebin works
29066 again, whoopdy doo.
29068 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29069 internal pad, and hacks accordingly. Doesn't do it on the target
29070 pad because we change its caps. Probably catches all cases of
29072 (gst_ghost_pad_set_property): Connect to notify::caps as
29075 * tests/network-clock.scm (plot-simulation): Pipe data to the
29076 elite python skript.
29078 * tests/network-clock-utils.scm (define-parameter): New macro,
29079 defines a parameter that can be set via the command line.
29080 (set-parameter!, parse-parameter-arguments): Command line args
29083 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29086 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29088 * gst/elements/gsttypefindelement.c:
29089 (gst_type_find_element_handle_event):
29090 Don't restart typefinding on a discont.
29091 * gst/gstelement.c: (gst_element_set_state):
29092 Debug spelling fix.
29093 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29094 Allow changing mode of an active pad.
29095 Debug output fixes.
29096 * gst/registries/gstlibxmlregistry.c: (load_feature):
29097 Don't cast a static pad template to a normal pad template.
29099 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29101 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29102 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29103 remove gst_strtoll completely, since it didn't actually do
29104 anything more than what g_ascii_strtoull already does.
29105 check for range errors when deserializing
29106 do a cast for the unsigned cases; but further fixing needs
29107 a decision on what the interpretation of "(int)" and
29108 deserialization should be for values that fall outside the
29109 type's boundaries (ie, refuse, or interpret as casting)
29111 2005-06-23 Wim Taymans <wim@fluendo.com>
29113 * check/Makefile.am:
29114 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29115 * docs/design/part-live-source.txt:
29116 * docs/design/part-states.txt:
29117 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29118 (gst_basesrc_set_live), (gst_basesrc_is_live),
29119 (gst_basesrc_get_range), (gst_basesrc_activate),
29120 (gst_basesrc_change_state):
29121 * gst/base/gstbasesrc.h:
29122 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29123 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29124 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29125 * gst/gstelement.c: (gst_element_get_state_func),
29126 (gst_element_set_state):
29127 * gst/gstelement.h:
29129 * tools/gst-launch.c: (event_loop), (main):
29130 Added support for live sources and other elements that
29132 Updated design docs, added live-source design doc.
29133 Implemented live source functionality in basesrc
29134 Fix error condition in _bin_get_state()
29135 Implement live source handling in -launch.
29136 Added check for live sources.
29137 Fixed case in GstBin where elements were changed state
29141 2005-06-23 Andy Wingo <wingo@pobox.com>
29143 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29144 borken refcounting.
29146 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29147 gst_caps_replace takes care of this for us.
29149 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29150 gst_pad_set_caps on the target, not just its setcaps() function.
29152 * tests/network-clock.scm:
29153 * tests/network-clock-utils.scm: A network clock simulator.
29154 Something of an algorithmic testbed before doing something in C.
29156 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29158 * check/Makefile.am:
29159 * check/gst/capslist.h:
29160 copy over from 0.8, and add two with bitmasks specified with
29162 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29163 add test to parse everything from capslist.h
29164 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29166 add test for structure deserialization
29167 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29168 add tests for deserialization of strings to int types
29169 * gst/gststructure.c: (gst_structure_nth_field_name):
29170 * gst/gststructure.h:
29171 add a way to get the name of a field referenced by index
29172 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29173 instead of checking if the resulting long long lies between
29174 min and max, we check if the long long would fit into
29175 a number of bytes for the final type.
29176 This fixes cases where a string represents 2^32 - 1, which
29177 when cast to int would be the (valid) -1, but is bigger than
29180 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29182 * gst/parse/grammar.y:
29183 add a log line for type deserialization
29185 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29187 * check/gst/gstvalue.c: (START_TEST):
29188 * gst/gstvalue.c: (gst_value_deserialize):
29189 return long long, not int, so gint64 deserialization actually
29190 works. Is there any flag that makes the compiler check this ?
29193 2005-06-22 Wim Taymans <wim@fluendo.com>
29196 Added convenience macros for setting buffers in GValue.
29198 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29200 * check/gst/.cvsignore:
29201 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29202 add a test deserializing int64, and comment part out because
29205 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29207 * check/Makefile.am:
29208 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29209 * testsuite/Makefile.am:
29210 * testsuite/caps/Makefile.am:
29211 * testsuite/caps/value_serialize.c:
29212 * testsuite/test_gst_init.c:
29213 move a value_serialize test over
29215 2005-06-20 Wim Taymans <wim@fluendo.com>
29220 * gst/gstvalue.c: (gst_value_compare_buffer),
29221 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29222 (gst_value_compare_flags), (gst_value_serialize_flags),
29223 (gst_value_deserialize_flags), (_gst_value_initialize):
29224 Fix serialisation of buffers, they are not boxed types anymore
29226 2005-06-20 Wim Taymans <wim@fluendo.com>
29228 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29229 Testcase to show error in buffer-on-caps serialisation.
29231 2005-06-20 Andy Wingo <wingo@pobox.com>
29233 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29234 will be adding to later.
29236 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29237 if its socks fill with rocks.
29238 (gst_system_clock_obtain): Set the name on object construction.
29239 Avoid double-checked locking.
29241 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29243 * gst/gsturi.c: (gst_element_make_from_uri):
29244 Fix potential endless loop.
29246 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29248 * check/Makefile.am:
29250 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29252 move over from testsuite dir and clean up
29255 * testsuite/Makefile.am:
29256 * testsuite/tags/.cvsignore:
29257 * testsuite/tags/Makefile.am:
29258 * testsuite/tags/merge.c:
29259 remove testsuite/tags
29261 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29263 * docs/gst/gstreamer-sections.txt:
29264 * docs/gst/tmpl/gstenumtypes.sgml:
29265 * win32/gstenumtypes.c:
29266 clean up documentation build a little
29268 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29270 * check/gstcheck.h:
29271 add macros for checking refcounts on objects and caps
29272 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29273 add some more unit tests
29274 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29275 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29276 fix leaked refcounts (I hope :)) so unittest works
29280 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29282 * configure.ac: back to HEAD
29284 === release 0.9.1 ===
29286 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29292 2005-06-17 Andy Wingo <wingo@pobox.com>
29294 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29295 assert; it's always possible that the pad gets deactivated in
29296 between the checks in gstpad.c and the implementation. Rely on
29297 finish_preroll() to return a FLUSHING or similar instead of on the
29300 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29301 clock and post an EOS message if we come out of finish_preroll in
29304 2005-06-16 David Schleef <ds@schleef.org>
29306 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29307 (gst_capsfilter_set_property): Allow NULL as possible value
29308 for filter_caps property, indicating GST_CAPS_ANY.
29310 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29312 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29314 * gst/schedulers/Makefile.am:
29316 * gstreamer.spec.in:
29319 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29321 * gstreamer.spec.in:
29324 2005-06-08 Andy Wingo <wingo@pobox.com>
29326 * gst/gstutils.c: RPAD fixes all around.
29327 (gst_element_link_pads): Refcounting fixes.
29329 * tools/gst-inspect.c:
29330 * tools/gst-xmlinspect.c:
29332 * gst/base/gsttypefindhelper.c:
29333 * gst/base/gstbasesink.c:
29334 * gst/gstqueue.c: RPAD fixes.
29336 * gst/gstghostpad.h:
29337 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29338 pads. The tricky thing is they provide both source and sink
29339 interfaces, since they proxy the internal pad for the external
29340 pad, and vice versa. Implement with lower-level ProxyPad objects,
29341 with the interior proxy pad as a child of the exterior ghost pad.
29342 Should write a doc on this.
29344 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29345 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29348 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29349 pads are real pads. No ghost pads in this file. Not documenting
29350 the myriad s/RPAD/PAD/ and REALIZE fixes.
29351 (gst_pad_class_init): Add properties for "direction" and
29352 "template". Both are construct-only, so they can't change during
29353 the life of the pad. Fixes properly deriving from GstPad.
29354 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29355 derived objects, just set properties when creating the objects via
29357 (gst_pad_get_parent): Implement as a function, return NULL if the
29358 parent is not an element.
29359 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29360 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29362 * gst/gstobject.c (gst_object_class_init): Make name a construct
29363 property. Don't set it in the object init.
29365 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29366 with UNKNOWN direction.
29367 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29368 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29369 (gst_element_remove_pad): Remove ghost-pad special cases.
29370 (gst_element_pads_activate): Remove rpad cruft.
29372 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29373 catch the pad's-parent-not-an-element case.
29375 * gst/gst.h: Include gstghostpad.h.
29377 * gst/gst.c (init_post): No more real, ghost pads.
29379 * gst/Makefile.am: Add gstghostpad.[ch].
29381 * check/Makefile.am:
29382 * check/gst/gstbin.c:
29383 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29384 into a bin creates ghost pads, and that the refcounts are right.
29385 Partly moved from gstbin.c.
29387 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29389 * check/gst-libs/.cvsignore:
29390 * check/gst/.cvsignore:
29391 * check/pipelines/.cvsignore:
29393 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29394 (START_TEST), (cleanup_suite), (main):
29395 add some tests related to cleanup after running pipelines
29397 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29399 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29400 add a testsuite for GstBuffer
29402 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29404 * gst/gstminiobject.h:
29405 add defines for accessing the refcount
29407 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29409 * Makefile.am: added support for html unit test coverage reports
29411 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29413 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29414 Free existing caps if the capsfilter changes. Add a FIXME about
29415 setting those caps on the pads.
29417 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29418 Before adding a ghost pad to a parent bin, check that there isn't
29419 already one for the element on the bin. Prevents infinite recursion
29420 when using decodebin in parse pipelines. Andy says he'll rewrite the
29421 way this works anyway, so ignore the hack.
29423 2005-06-02 Andy Wingo <wingo@pobox.com>
29425 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29426 file size, pass it on to the type find helper.
29428 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29429 segment_start and segment_end properly according to the seek
29430 method. Segment_end is still a bit flaky because offset can be
29431 negative for CUR and END cases, but it takes -1 as an "unset"
29434 2005-06-02 Wim Taymans <wim@fluendo.com>
29436 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29437 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29438 (gst_basesink_activate):
29439 * gst/base/gstbasesink.h:
29440 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29441 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29442 (gst_pad_query), (gst_pad_start_task):
29444 * gst/gstqueue.c: (gst_queue_bufferalloc),
29445 (gst_queue_handle_sink_event), (gst_queue_chain):
29446 Bufferalloc: return GstFlowReturn to more accuratly report
29447 why allocation failed.
29449 2005-06-02 Wim Taymans <wim@fluendo.com>
29451 * gst/gstpipeline.c: (gst_pipeline_send_event):
29452 Take snapshot of state without blocking.
29454 2005-06-02 Wim Taymans <wim@fluendo.com>
29456 * docs/design/part-TODO.txt:
29457 * docs/design/part-caps.txt:
29458 * docs/design/part-clocks.txt:
29459 * docs/design/part-negotiation.txt:
29460 * docs/design/part-preroll.txt:
29463 2005-05-30 Wim Taymans <wim@fluendo.com>
29465 * gst/elements/gstidentity.c: (gst_identity_event),
29466 (gst_identity_transform), (gst_identity_get_property):
29467 Protect last_message property as it is accessed from
29470 2005-05-30 Wim Taymans <wim@fluendo.com>
29472 * gst/gstelement.c: (gst_element_init),
29473 (gst_element_pads_activate), (gst_element_change_state):
29474 Slicker pad activation code.
29476 2005-05-30 Wim Taymans <wim@fluendo.com>
29479 * gst/gstelement.h:
29480 * gst/gstelementfactory.h:
29482 Move elementfactory methods to separate .h file.
29484 2005-05-30 Wim Taymans <wim@fluendo.com>
29486 * docs/design/part-overview.txt:
29487 * gst/gstsystemclock.h:
29488 Small typo fixes, doc updates.
29490 2005-05-30 Wim Taymans <wim@fluendo.com>
29492 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29493 (init_popt_callback):
29494 Remove cpu-opt flag.
29496 2005-05-30 Wim Taymans <wim@fluendo.com>
29498 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29499 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29501 Avoid typechecking in places where not needed.
29502 Added accessor for malloc_data.
29504 2005-05-30 Wim Taymans <wim@fluendo.com>
29506 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29507 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29508 (gst_pad_configure_sink), (gst_pad_configure_src),
29509 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29510 (gst_pad_start_task):
29511 Propagate errors from _set_caps() in configure_src/sink
29512 functions instead of returning TRUE.
29513 FLUSH events can travel up and downstream
29516 2005-05-30 Wim Taymans <wim@fluendo.com>
29518 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29519 (gst_basesink_activate):
29520 Handle EOS in preroll.
29522 2005-05-30 Wim Taymans <wim@fluendo.com>
29524 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29525 (gst_queue_loop), (gst_queue_handle_src_event):
29526 Remove old pieces of code
29527 Flushing the queue in an upstream event is a very bad idea.
29529 2005-05-26 Andy Wingo <wingo@pobox.com>
29531 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29532 gst_value_set_mini_object so as to add a ref on the object (which
29533 will be removed when the value is unset).
29535 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29536 arg type in ::handoff.
29538 * gst/gstelement.c (gst_element_change_state): Also deactivate
29539 pads in READY->NULL, just in case the element didn't make it to
29540 PAUSED. Wingo tested, Wim approved.
29542 2005-05-26 Wim Taymans <wim@fluendo.com>
29544 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29545 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29546 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29547 A flushing pad cannot be used to alloc_buffer from.
29549 2005-05-26 Wim Taymans <wim@fluendo.com>
29551 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29552 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29553 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29554 (gst_bus_create_watch), (gst_bus_add_watch_full):
29556 Implement a real GSource and use g_main_context_wakeup() to
29557 signal new messages instead of the socketpair.
29559 2005-05-25 Wim Taymans <wim@fluendo.com>
29561 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29562 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29563 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29564 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29565 (gst_pad_send_event), (gst_pad_start_task):
29566 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29567 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29568 (gst_queue_sink_activate), (gst_queue_src_activate),
29569 (gst_queue_change_state):
29571 Fix state changes for non sinks. We now change sinks, then elements
29572 with unconnected srcpads, then the rest.
29573 More efficient queue unlocking in flush and state changes.
29574 Set the pad activate mode even if it does not have an activate
29577 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29579 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29580 Don't go in pull mode for non-seekable sources.
29581 * gst/elements/gsttypefindelement.h:
29582 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29583 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29584 (free_entry), (stop_typefinding),
29585 (gst_type_find_element_handle_event), (find_peek),
29586 (gst_type_find_element_chain), (do_pull_typefind),
29587 (gst_type_find_element_change_state):
29588 Allow typefinding (w/o seeking) in push-mode, simplified version
29589 of what was in 0.8.
29590 * gst/gstutils.c: (gst_buffer_join):
29592 gst_buffer_join() from 0.8.
29594 2005-05-25 Wim Taymans <wim@fluendo.com>
29596 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29597 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29598 (gst_pad_send_event), (gst_pad_start_task):
29599 Disable attempt at mode switching until it is figured out.
29601 2005-05-25 Wim Taymans <wim@fluendo.com>
29603 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29604 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29605 (gst_basesink_finish_preroll), (gst_basesink_chain),
29606 (gst_basesink_loop), (gst_basesink_activate),
29607 (gst_basesink_change_state):
29608 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29609 (gst_basesrc_get_range), (gst_basesrc_loop),
29610 (gst_basesrc_activate):
29611 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29612 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29613 (gst_real_pad_init), (gst_real_pad_set_property),
29614 (gst_real_pad_get_property), (gst_pad_set_active),
29615 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29616 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29617 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29618 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29619 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29620 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29621 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29622 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29623 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29624 (gst_pad_stop_task):
29626 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29627 (gst_queue_loop), (gst_queue_src_activate):
29628 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29629 (gst_task_get_state):
29631 * gst/schedulers/threadscheduler.c:
29632 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29633 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29635 Remove ACTIVE pad flag, use FLUSHING everywhere
29636 Added _pad_chain(), _pad_get_range() to call chain/getrange
29638 Add locks around IS_FLUSHING when reading.
29639 Take STREAM lock in chain(), get_range() functions so plugins
29640 don't need to take it anymore.
29644 2005-05-25 Wim Taymans <wim@fluendo.com>
29646 * tools/gst-launch.c: (event_loop):
29647 Unref message after using its contents instead of
29650 2005-05-24 Wim Taymans <wim@fluendo.com>
29652 * docs/design/draft-ghostpads.txt:
29653 * docs/design/draft-push-pull.txt:
29654 * docs/design/draft-query.txt:
29655 * docs/design/part-overview.txt:
29656 Docs updates, added general overview doc.
29658 2005-05-21 David Schleef <ds@schleef.org>
29660 * docs/gst/tmpl/old/GstBin.sgml:
29661 * docs/gst/tmpl/old/GstBuffer.sgml:
29662 * docs/gst/tmpl/old/GstCaps.sgml:
29663 * docs/gst/tmpl/old/GstClock.sgml:
29664 * docs/gst/tmpl/old/GstCompat.sgml:
29665 * docs/gst/tmpl/old/GstData.sgml:
29666 * docs/gst/tmpl/old/GstElement.sgml:
29667 * docs/gst/tmpl/old/GstEvent.sgml:
29668 * docs/gst/tmpl/old/GstIndex.sgml:
29669 * docs/gst/tmpl/old/GstStructure.sgml:
29670 * docs/gst/tmpl/old/GstTag.sgml:
29671 * docs/gst/tmpl/old/cothreads.sgml:
29672 * docs/gst/tmpl/old/cothreads_compat.sgml:
29673 * docs/gst/tmpl/old/gettext.sgml:
29674 * docs/gst/tmpl/old/gobject2gtk.sgml:
29675 * docs/gst/tmpl/old/grammar.tab.sgml:
29676 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29677 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29678 * docs/gst/tmpl/old/gst_private.sgml:
29679 * docs/gst/tmpl/old/gstaggregator.sgml:
29680 * docs/gst/tmpl/old/gstarch.sgml:
29681 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29682 * docs/gst/tmpl/old/gstbufferstore.sgml:
29683 * docs/gst/tmpl/old/gstdata_private.sgml:
29684 * docs/gst/tmpl/old/gstdisksink.sgml:
29685 * docs/gst/tmpl/old/gstdisksrc.sgml:
29686 * docs/gst/tmpl/old/gstelementfactory.sgml:
29687 * docs/gst/tmpl/old/gstextratypes.sgml:
29688 * docs/gst/tmpl/old/gstfakesink.sgml:
29689 * docs/gst/tmpl/old/gstfakesrc.sgml:
29690 * docs/gst/tmpl/old/gstfdsink.sgml:
29691 * docs/gst/tmpl/old/gstfdsrc.sgml:
29692 * docs/gst/tmpl/old/gstfilesink.sgml:
29693 * docs/gst/tmpl/old/gstfilesrc.sgml:
29694 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29695 * docs/gst/tmpl/old/gstidentity.sgml:
29696 * docs/gst/tmpl/old/gstindexfactory.sgml:
29697 * docs/gst/tmpl/old/gstmarshal.sgml:
29698 * docs/gst/tmpl/old/gstmd5sink.sgml:
29699 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29700 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29701 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29702 * docs/gst/tmpl/old/gstpipefilter.sgml:
29703 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29704 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29705 * docs/gst/tmpl/old/gstshaper.sgml:
29706 * docs/gst/tmpl/old/gstspider.sgml:
29707 * docs/gst/tmpl/old/gstspideridentity.sgml:
29708 * docs/gst/tmpl/old/gststatistics.sgml:
29709 * docs/gst/tmpl/old/gsttee.sgml:
29710 * docs/gst/tmpl/old/gsttimecache.sgml:
29711 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29712 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29713 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29714 * docs/gst/tmpl/old/types.sgml:
29715 I didn't intend to add these or check them in.
29717 2005-05-19 David Schleef <ds@schleef.org>
29719 * configure.ac: Use -no-common everywhere. In a sane world, it
29720 would be the default in libtool, because without it, you can't
29721 build DLLs on Windows.
29722 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29723 * docs/gst/gstreamer-sections.txt:
29724 * docs/gst/tmpl/gstcpu.sgml:
29725 * docs/gst/tmpl/gstdata.sgml:
29726 * docs/gst/tmpl/gstthread.sgml:
29728 2005-05-19 David Schleef <ds@schleef.org>
29730 * gst/gstminiobject.c: (gst_value_set_mini_object),
29731 (gst_value_take_mini_object), (gst_value_get_mini_object):
29732 * gst/gstminiobject.h: Add GValue set/get functions.
29734 2005-05-19 Wim Taymans <wim@fluendo.com>
29736 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29737 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29738 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29740 * gst/gstbus.c: (gst_bus_post):
29741 * gst/gstelement.c: (gst_element_get_random_pad):
29742 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29743 Make subbufer unref the parent in finalize.
29744 some more debugging info.
29747 2005-05-19 Wim Taymans <wim@fluendo.com>
29749 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29750 (gst_basesink_init), (gst_basesink_finalize),
29751 (gst_basesink_activate), (gst_basesink_change_state):
29752 Don't free preroll queue too early.
29754 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29758 Hi, I'm outdated. Please shoot me.
29760 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29762 * gst/gstpipeline.c: (gst_pipeline_send_event):
29763 Do not access variables after they have been deleted.
29765 2005-05-19 Wim Taymans <wim@fluendo.com>
29767 * tools/gst-inspect.c: (print_plugin_features):
29768 A plugin feature does unfortunatly not use the
29771 2005-05-18 Wim Taymans <wim@fluendo.com>
29773 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29774 Port _span() functions to new subbuffers.
29776 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29778 * gst/gstbin.c: (gst_bin_add_func):
29779 Fix clock settery in bins when adding kids after the clock has
29782 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29784 * gst/elements/gstidentity.c: (gst_identity_class_init):
29785 Workaround until signals support GstMiniObject.
29787 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29790 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29792 2005-05-18 Wim Taymans <wim@fluendo.com>
29794 * gst/base/Makefile.am:
29795 * gst/base/gstadapter.c: (gst_adapter_base_init),
29796 (gst_adapter_class_init), (gst_adapter_init),
29797 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29798 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29799 (gst_adapter_flush), (gst_adapter_available),
29800 (gst_adapter_available_fast):
29801 * gst/base/gstadapter.h:
29802 Ported and added adapter to the base classes.
29804 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29807 * gst/gstmessage.c:
29808 Make sure the class is reffed/unreffed once before threads can be
29809 used. Fixes #304551.
29811 2005-05-17 Wim Taymans <wim@fluendo.com>
29813 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29814 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29815 * gst/gstminiobject.c: (gst_mini_object_get_type),
29816 (gst_mini_object_free):
29817 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29818 (gst_pad_push), (gst_pad_push_event):
29819 * gst/gstqueue.c: (gst_queue_change_state):
29820 Don't queue buffers in basesink when we are flushing.
29821 Unref buffer when flushing in basesink.
29822 Flush queue when going to READY
29823 Unref buffer when _push() returns an error.
29824 Don't free MiniObject instance when refcount is incremented
29825 in _finalize() so that we can recover objects.
29827 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29829 * docs/manual/advanced-schedulers.xml:
29830 * docs/manual/appendix-checklist.xml:
29831 * docs/pwg/advanced-clock.xml:
29832 * docs/pwg/advanced-interfaces.xml:
29833 * docs/pwg/advanced-request.xml:
29834 * docs/pwg/advanced-types.xml:
29835 * docs/pwg/intro-preface.xml:
29836 * examples/plugins/example.c: (gst_example_get_type),
29837 (gst_example_class_init), (gst_example_chain),
29838 (gst_example_set_property), (gst_example_get_property),
29839 (gst_example_change_state), (plugin_init):
29840 * examples/plugins/example.h:
29843 2005-05-17 Wim Taymans <wim@fluendo.com>
29845 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29846 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29847 * gst/gstqueue.c: (gst_queue_change_state):
29848 Clear queue when going to READY.
29849 Remove IN_SETCAPS flag too.
29851 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29853 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29854 Remove implicit cast from gboolean to GstElementStateReturn;
29855 make sure we still return failure in paused => ready case if
29856 the parent class fails to change state and our own stop
29859 2005-05-17 Wim Taymans <wim@fluendo.com>
29861 * tools/gst-launch.c: (event_loop):
29862 Message was unreffed too soon.
29864 2005-05-16 Andy Wingo <wingo@pobox.com>
29866 * gst/gstbin.c (sink_iterator_filter): Err... um...
29868 * check/gst/gstbin.c (test_ghost_pads): New test for the
29869 ghosting-if-elements-not-in-same-bin behavior.
29871 2005-05-16 David Schleef <ds@schleef.org>
29873 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29874 accessing refcount directly.
29876 2005-05-15 David Schleef <ds@schleef.org>
29878 * check/Makefile.am: remove GstData checks
29879 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29880 * gst/Makefile.am: add miniobject, remove data
29881 * gst/gst.h: add miniobject, remove data
29882 * gst/gstdata.c: remove
29883 * gst/gstdata.h: remove
29884 * gst/gstdata_private.h: remove
29885 * gst/gsttypes.h: remove GstEvent and GstMessage
29886 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29887 * gst/gstmarshal.list: change BOXED -> OBJECT
29889 Implement GstMiniObject.
29890 * gst/gstminiobject.c:
29891 * gst/gstminiobject.h:
29893 Modify to be subclasses of GstMiniObject.
29894 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29895 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29896 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29897 (gst_subbuffer_get_type), (gst_subbuffer_init),
29898 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29901 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29902 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29903 (_gst_event_copy), (gst_event_new):
29905 * gst/gstmessage.c: (_gst_message_initialize),
29906 (gst_message_get_type), (gst_message_class_init),
29907 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29908 (gst_message_new), (gst_message_new_error),
29909 (gst_message_new_warning), (gst_message_new_tag),
29910 (gst_message_new_state_changed), (gst_message_new_application):
29911 * gst/gstmessage.h:
29912 * gst/gstprobe.c: (gst_probe_perform),
29913 (gst_probe_dispatcher_dispatch):
29915 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29916 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29917 (_gst_query_copy), (gst_query_new):
29919 Update elements for GstData -> GstMiniObject changes
29921 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29922 (gst_queue_chain), (gst_queue_loop):
29923 * gst/elements/gstbufferstore.c:
29924 (gst_buffer_store_add_buffer_func),
29925 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29926 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29927 (gst_fakesink_render):
29928 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29929 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29930 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29931 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29932 (gst_filesrc_create_read):
29933 * gst/elements/gstidentity.c: (gst_identity_class_init):
29934 * gst/elements/gsttypefindelement.c:
29935 (gst_type_find_element_src_event), (free_entry_buffers),
29936 (gst_type_find_element_handle_event):
29937 * libs/gst/dataprotocol/dataprotocol.c:
29938 (gst_dp_header_from_buffer):
29939 * libs/gst/dataprotocol/dataprotocol.h:
29940 * libs/gst/dataprotocol/dp-private.h:
29942 2005-05-15 David Schleef <ds@schleef.org>
29944 * gst/elements/gstelements.c: Don't include headers that were
29947 2005-05-15 David Schleef <ds@schleef.org>
29949 * gst/elements/Makefile.am: Remove some elements that don't
29950 need to be in the core (or even exist at all).
29951 * gst/elements/gstaggregator.c:
29952 * gst/elements/gstaggregator.h:
29953 * gst/elements/gstmd5sink.c:
29954 * gst/elements/gstmd5sink.h:
29955 * gst/elements/gstmultifilesrc.c:
29956 * gst/elements/gstmultifilesrc.h:
29957 * gst/elements/gstpipefilter.c:
29958 * gst/elements/gstpipefilter.h:
29959 * gst/elements/gstshaper.c:
29960 * gst/elements/gstshaper.h:
29961 * gst/elements/gststatistics.c:
29962 * gst/elements/gststatistics.h:
29963 * po/POTFILES.in: Remove above files.
29965 2005-05-14 Andy Wingo <wingo@pobox.com>
29967 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29968 so as to get the refs right.
29969 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29970 unreffing objects that don't pass the filter.
29972 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29973 gst_element_set_bus.
29974 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29975 normal cases, this will destroy the bus.
29977 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29980 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29983 2005-05-13 Andy Wingo <wingo@pobox.com>
29985 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29986 gst_pad_link, call pad_link_maybe_ghosting,
29987 (pad_link_maybe_ghosting): Links pads, making sure that the
29988 elements being linked are in the same bin.
29989 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29990 Helpers for pad_link_maybe_ghosting.
29992 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29995 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29997 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29999 * docs/design/part-element-source.txt:
30002 2005-05-12 Wim Taymans <wim@fluendo.com>
30004 * gst/base/gstbasesink.c: (gst_basesink_init),
30005 (gst_basesink_activate):
30006 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30007 (gst_basesrc_is_seekable):
30008 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30009 (bin_element_is_sink), (gst_bin_change_state):
30010 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30011 * gst/gstelement.h:
30012 Identify sinks by their flag to avoid overly complicated
30014 Do state changes even for elements not reachable from the
30016 BaseSink is a sink now :)
30017 Some more debugging info in the basesrc.
30020 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30022 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30023 Implement _query on a bin, similar to _send_event.
30025 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30027 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30028 Discont event offset format should be GST_FORMAT_BYTES,
30029 not GST_FORMAT_TIME.
30031 2005-05-12 Wim Taymans <wim@fluendo.com>
30033 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30034 Same fix as Ronald's but without the signal.
30036 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30038 * gst/gstutils.c: (gst_element_query_position):
30039 No, an element is not a pad.
30041 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30043 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30044 (gst_bin_get_state):
30045 If a child is removed from a bin while we remove the child from
30046 the bin and while we're retrieving its state, signal this to the
30047 get_state function so we abort the wait (instead of waiting for
30048 a timeout) and can immediately re-iterate over all other elements.
30050 2005-05-12 Wim Taymans <wim@fluendo.com>
30052 * gst/base/Makefile.am:
30053 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30054 (gst_basesrc_start):
30055 * gst/base/gstbasesrc.h:
30056 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30057 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30058 (gst_pushsrc_init), (gst_pushsrc_create):
30059 * gst/base/gstpushsrc.h:
30060 Added is_seekable to BaseSrc
30061 Added simple PushSrc.
30063 2005-05-11 Wim Taymans <wim@fluendo.com>
30065 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30066 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30067 (gst_element_link_pads), (gst_element_query_position),
30068 (gst_element_query_convert), (intersect_caps_func),
30069 (gst_pad_query_position), (gst_pad_query_convert):
30070 Fix refcounting in utils function.
30071 No point in trying to activate a pad when it's added, it could
30072 be added from the state change function and then we deadlock, the
30073 element has to decide what to do.
30075 2005-05-10 Andy Wingo <wingo@pobox.com>
30077 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30078 *all* the arguments.
30080 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30081 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30082 lock (according to the docs -- if this is wrong change the docs).
30084 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30085 flush messages in the NULL state.
30087 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30088 message immediately and return.
30089 (gst_bus_set_flushing): New function. If a bus is flushing, it
30090 flushes out any queued messages and immediately unrefs new
30091 messages. This is so when an element goes to NULL, all of the
30092 unhandled messages coming from it can be freed, and their
30093 references to the element dropped. In other words: message source
30094 ref considered harmful :P
30096 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30097 we're finished with it.
30099 * gst/gstmessage.c (gst_message_new_state_changed):
30101 2005-05-10 Wim Taymans <wim@fluendo.com>
30103 * gst/gstvalue.c: (gst_value_compare_flags),
30104 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30105 (_gst_value_initialize):
30106 Added flags serialize/deserialize/compare code.
30108 2005-05-09 Andy Wingo <wingo@pobox.com>
30110 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30111 Intersect the peer's caps with our caps.
30113 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30115 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30116 * gst/elements/gsttypefindelement.c: (find_peek):
30117 Handle negative offsets better. Fixes decodebin.
30119 2005-05-09 Wim Taymans <wim@fluendo.com>
30121 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30122 (gst_base_transform_event):
30123 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30124 Implement accept_caps.
30125 Fix silly lock/unlock mismatch in base class.
30127 2005-05-09 Wim Taymans <wim@fluendo.com>
30129 * docs/design/draft-push-pull.txt:
30130 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30131 * gst/elements/gstfilesink.c: (gst_filesink_init),
30132 (gst_filesink_query):
30133 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30134 (gst_type_find_handle_src_query), (find_element_get_length):
30135 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30136 * gst/gstelement.h:
30137 * gst/gstmessage.c:
30138 * gst/gstmessage.h:
30139 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30140 (gst_real_pad_get_caps_unlocked),
30141 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30142 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30143 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30144 (gst_real_pad_dispose), (gst_real_pad_finalize),
30145 (gst_pad_load_and_link), (gst_pad_save_thyself),
30146 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30147 (gst_pad_check_pull_range), (gst_pad_pull_range),
30148 (gst_pad_template_get_type), (gst_pad_template_class_init),
30149 (gst_pad_template_init), (gst_pad_template_dispose),
30150 (name_is_valid), (gst_static_pad_template_get),
30151 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30152 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30153 (gst_pad_get_element_private), (gst_pad_start_task),
30154 (gst_pad_pause_task), (gst_pad_stop_task),
30155 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30156 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30157 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30158 (gst_ghost_pad_new):
30160 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30161 (gst_query_new_position), (gst_query_set_position),
30162 (gst_query_parse_position), (gst_query_new_convert),
30163 (gst_query_set_convert), (gst_query_parse_convert):
30165 * gst/gstqueryutils.c:
30166 * gst/gstqueryutils.h:
30167 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30168 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30169 (gst_queue_handle_src_query):
30170 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30171 (gst_element_query_position), (gst_element_query_convert),
30172 (intersect_caps_func), (gst_pad_query_position),
30173 (gst_pad_query_convert):
30175 * tools/gst-inspect.c: (print_pad_info):
30176 * tools/gst-xmlinspect.c: (print_element_info):
30177 Remove old query functions. Ported old code.
30178 Added position/convert helper functions to gstutils.
30179 Reordered gstpad.c code, grouping relevant things.
30180 Remove gst_message_new(), always need to speficy a specific
30184 2005-05-09 Andy Wingo <wingo@pobox.com>
30186 * gst/gstiterator.h: Add some includes.
30188 * gst/gstqueryutils.h: Include more headers.
30191 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30192 some uses of gst_pad_query.
30194 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30195 NULL out parameters.
30196 (gst_query_new_position): New proc, allocates a new position
30199 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30200 gstqueryutils.c to the build.
30202 * gst/gststructure.c (gst_structure_set_valist): Implement with
30203 the generic G_VALUE_COLLECT.
30205 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30207 * gst/Makefile.am: (gst_headers):
30208 Added gstqueryutils.h to the list of headers to install, that was
30209 a 'nachty' move wingo :)
30211 2005-05-06 Andy Wingo <wingo@pobox.com>
30214 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30215 GstData, init a memchunk.
30216 (standard_definitions): Add a few query types, deprecate a few.
30217 (gst_query_get_type): New proc.
30218 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30220 (gst_query_new_application, gst_query_get_structure): New public
30223 * docs/design/draft-query.txt: Removed LINKS from the query types,
30224 because all the rest can be dispatched to other pads -- seemed
30225 ugly to have a query that couldn't be dispatched. internal_links
30226 is fine as a pad method.
30228 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30229 in gstpad.c, but maintain binary compatibility for the moment.
30230 Will fix before 0.9 is out.
30232 * gst/gstqueryutils.c:
30233 * gst/gstqueryutils.h: New files, implement 3 methods for each
30234 query type: parse_query, parse_response, and set. Probably need an
30237 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30239 * gst/elements/gstfilesink.c (gst_filesink_query2):
30240 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30241 query_types, and formats methods.
30243 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30244 (gst_pad_set_query2_function): New functions.
30245 (gst_real_pad_init): Set query2_default as the default query2
30246 function. Basically just dispatches to internally linked pads.
30250 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30251 without using the atomic operations. Only one thread can possibly
30252 be accessing the data at this point. Changed so as to avoid
30253 gst_atomic operations.
30255 2005-05-06 Wim Taymans <wim@fluendo.com>
30257 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30258 Also set caps if we use the fallback buffer alloc.
30260 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30262 * docs/gst/Makefile.am:
30263 * docs/gst/gstreamer-docs.sgml:
30264 * docs/gst/gstreamer-sections.txt:
30265 * docs/gst/tmpl/gstatomic.sgml:
30266 * docs/gst/tmpl/gstmemchunk.sgml:
30267 * testsuite/elements/struct_i386.h:
30268 * win32/GStreamer.vcproj:
30270 Purge GstAtomic stuff from docs and win32 makefiles as well
30272 2005-05-06 Wim Taymans <wim@fluendo.com>
30274 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30275 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30276 * gst/gstpad.c: (gst_pad_peer_get_caps):
30277 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30278 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30279 (gst_queue_src_activate), (gst_queue_change_state):
30281 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30282 (intersect_caps_func):
30283 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30284 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30285 Some fixes for the peer_get_caps() change.
30287 2005-05-06 Wim Taymans <wim@fluendo.com>
30289 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30290 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30291 (gst_basesink_activate):
30292 Actually do something with error codes returned from the push
30295 2005-05-06 Wim Taymans <wim@fluendo.com>
30297 * docs/design/part-element-sink.txt:
30298 * docs/design/part-element-source.txt:
30299 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30300 (gst_basesink_event), (gst_basesink_activate):
30301 * gst/base/gstbasesink.h:
30302 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30303 (gst_basesrc_activate):
30304 * gst/base/gstbasesrc.h:
30305 * gst/gstelement.c: (gst_element_pads_activate):
30306 Some more documentation.
30307 Fixed scheduling decision in _pads_activate().
30309 2005-05-05 Andy Wingo <wingo@pobox.com>
30311 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30314 2005-05-05 Wim Taymans <wim@fluendo.com>
30316 * gst/base/Makefile.am:
30317 * gst/base/gstbasesink.h:
30318 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30319 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30320 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30321 (gst_collectpads_class_init), (gst_collectpads_init),
30322 (gst_collectpads_finalize), (gst_collectpads_new),
30323 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30324 (find_pad), (gst_collectpads_remove_pad),
30325 (gst_collectpads_is_active), (gst_collectpads_collect),
30326 (gst_collectpads_collect_range), (gst_collectpads_start),
30327 (gst_collectpads_stop), (gst_collectpads_peek),
30328 (gst_collectpads_pop), (gst_collectpads_available),
30329 (gst_collectpads_read), (gst_collectpads_flush),
30330 (gst_collectpads_chain):
30331 * gst/base/gstcollectpads.h:
30332 * gst/elements/Makefile.am:
30333 * gst/elements/gstelements.c:
30334 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30335 (gst_fakesink_get_times), (gst_fakesink_event),
30336 (gst_fakesink_preroll), (gst_fakesink_render):
30337 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30338 (gst_filesink_init), (gst_filesink_set_location),
30339 (gst_filesink_open_file), (gst_filesink_close_file),
30340 (gst_filesink_pad_query), (gst_filesink_event),
30341 (gst_filesink_render), (gst_filesink_change_state):
30342 * gst/elements/gstfilesink.h:
30343 Added object to help in making collect pad based elements.
30345 Make event function in sink baseclass return gboolean.
30347 2005-05-05 Wim Taymans <wim@fluendo.com>
30349 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30350 (gst_bin_get_by_name):
30352 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30353 (gst_clock_finalize):
30354 * gst/gstdata.c: (gst_data_replace):
30356 * gst/gstelement.c: (gst_element_request_pad),
30357 (gst_element_pads_activate):
30358 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30359 (gst_object_unref):
30360 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30361 (gst_pad_set_checkgetrange_function),
30362 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30363 (gst_pad_check_pull_range), (gst_pad_pull_range),
30364 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30365 (gst_pad_pause_task), (gst_pad_stop_task):
30366 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30367 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30368 Fix name lookup in GstBin.
30369 Added _data_replace() function and _buffer_replace()
30370 Use finalize method to clean up clock.
30371 Fix refcounting on request pads.
30372 Fix pad schedule mode error.
30373 Some more object refcounting debug info,
30376 2005-05-04 Andy Wingo <wingo@pobox.com>
30378 * check/Makefile.am:
30379 * docs/gst/tmpl/gstatomic.sgml:
30380 * docs/gst/tmpl/gstplugin.sgml:
30381 * gst/base/gstbasesink.c: (gst_basesink_activate):
30382 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30383 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30384 (gst_basesrc_query), (gst_basesrc_set_property),
30385 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30386 (gst_basesrc_activate):
30387 * gst/base/gstbasesrc.h:
30388 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30389 (gst_base_transform_src_activate):
30390 * gst/elements/gstelements.c:
30391 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30392 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30393 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30394 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30395 (gst_type_find_element_checkgetrange),
30396 (gst_type_find_element_activate):
30397 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30398 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30399 (gst_caps_load_thyself):
30400 * gst/gstelement.c: (gst_element_pads_activate),
30401 (gst_element_save_thyself), (gst_element_restore_thyself):
30402 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30403 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30405 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30406 (gst_xml_parse_file), (gst_xml_parse_memory),
30407 (gst_xml_get_element), (gst_xml_make_element):
30408 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30409 (_file_index_id_save_xml), (gst_file_index_commit):
30410 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30411 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30413 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30414 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30415 * tools/gst-complete.c: (main):
30416 * tools/gst-compprep.c: (main):
30417 * tools/gst-inspect.c: (print_element_properties_info):
30418 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30419 * tools/gst-xmlinspect.c: (print_element_properties):
30422 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30424 * gst/gstplugin.c: (gst_plugin_check_module),
30425 (gst_plugin_check_file), (gst_plugin_load_file):
30426 apply patch from #172526 to make register work on MacOSX
30428 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30430 * docs/gst/tmpl/gstconfig.sgml:
30431 * gst/gstconfig.h.in:
30432 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30433 * testsuite/debug/printf_extension.c: (main):
30434 Do not use GST_PTR_FORMAT on pointers to types with
30435 sizeof < sizeof(gpointer). Fixes test on 64-bit
30436 * testsuite/elements/property.h:
30437 use correct printf format
30439 2005-05-02 Wim Taymans <wim@fluendo.com>
30441 * docs/design/draft-push-pull.txt:
30442 * docs/design/draft-query.txt:
30443 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30444 (gst_basesrc_start):
30445 Added draft for new query API.
30446 Added draft for better selecting scheduling methods.
30447 Make basesrc ignore length if the subclass does not support
30450 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30453 possible fixes for automake-1.5 - _LIBADD is reserved
30455 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30457 * docs/faq/Makefile.am:
30458 * docs/manual/Makefile.am:
30459 * docs/manuals.mak:
30460 * docs/pwg/Makefile.am:
30462 possible fixes for automake-1.5
30464 2005-04-28 Wim Taymans <wim@fluendo.com>
30466 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30467 (gst_basesink_pad_getcaps), (gst_basesink_init),
30468 (gst_basesink_do_sync):
30469 * gst/gstclock.c: (gst_clock_entry_new):
30470 * gst/gstevent.c: (gst_event_discont_get_value):
30471 * gst/gstpipeline.c: (pipeline_bus_handler),
30472 (gst_pipeline_change_state):
30473 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30474 Better debugging of clocking info.
30475 Allow NULL values when getting discont values.
30477 2005-04-27 Wim Taymans <wim@fluendo.com>
30479 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30480 * check/gst/gstpad.c: (gst_pad_suite):
30481 Increase timeout for checks.
30483 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30485 * check/Makefile.am:
30486 fix the broken rule for cleanup. Apparently this rule is
30487 only needed on FC2, so maybe this warrants further autotool
30490 2005-04-26 Wim Taymans <wim@fluendo.com>
30492 * gst/gsttrashstack.h:
30493 Ooohh. a nasty one! After having a failed pop() from the stack,
30494 it's possible that the stack is empty. In that case, don't
30495 follow the NULL pointer.
30497 2005-04-25 Wim Taymans <wim@fluendo.com>
30499 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30500 (gst_pad_set_checkgetrange_function),
30501 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30502 (gst_pad_check_pull_range), (gst_pad_pull_range),
30503 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30504 (gst_pad_pause_task), (gst_pad_stop_task):
30505 * gst/gstplugin.c: (gst_plugin_load):
30507 Remove gst_library_load as it does more harm than good with
30508 the new g_module flags.
30509 Revert bogus caps template check in pad linking, pad caps
30510 are important when linking not the template, which is more
30511 general than the current caps.
30513 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30515 * gst/autoplug/.cvsignore:
30516 * gst/autoplug/Makefile.am:
30517 * gst/autoplug/gstsearchfuncs.c:
30518 * gst/autoplug/gstsearchfuncs.h:
30519 * gst/autoplug/gstspider.c:
30520 * gst/autoplug/gstspider.h:
30521 * gst/autoplug/gstspideridentity.c:
30522 * gst/autoplug/gstspideridentity.h:
30523 * gst/autoplug/spidertest.c:
30526 2005-04-25 Wim Taymans <wim@fluendo.com>
30528 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30529 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30530 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30531 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30533 Added stubs for unimplemented functions.
30535 2005-04-24 David Schleef <ds@schleef.org>
30537 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30540 2005-04-24 David Schleef <ds@schleef.org>
30542 Convert everything from GstAtomicInt to g_atomic_int_*, and
30547 * gst/gstatomic_impl.h:
30555 * gst/gstdata_private.h:
30559 * gst/gstmessage.c:
30562 * gst/gststructure.c:
30563 * gst/gststructure.h:
30564 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30567 2005-04-24 David Schleef <ds@schleef.org>
30569 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30570 make the regressions tests work. Remove some code that is no
30572 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30573 Disable warning for pads without templates.
30575 2005-04-24 David Schleef <ds@schleef.org>
30577 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30578 functions that handle filtered links.
30579 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30581 * gst/gstutils.c: Fix/remove utility functions that handle
30584 * gst/gstvalue.c: Add serialization/deserialization of caps
30585 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30586 requires fixing so that the filter caps notation creates
30587 a capsfilter element and sets the filter_caps property. I
30588 think everyone probably wants to keep the shorthand notation.
30589 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30590 * docs/gst/tmpl/gstpad.sgml:
30592 * gst/elements/gstelements.c: Register capsfilter element.
30593 * gst/Makefile.am: fix spacing
30594 * docs/random/ds/0.9-suggested-changes: random
30596 2005-04-23 David Schleef <ds@schleef.org>
30598 * gst/elements/Makefile.am:
30599 * gst/elements/gstcapsfilter.c: New element that acts like an
30600 identity, but filters caps. Will eventually replace filtered
30601 caps in pad linking.
30602 * gst/gstutils.c: (gst_element_create_all_pads): New function
30603 to create all the ALWAYS pads that are registered with an
30604 element class. This functionality should eventually be
30605 merged in with GstElement initialization.
30607 * testsuite/trigger/README: part of trigger test code that should
30608 have been checked in a long time ago.
30610 2005-04-23 David Schleef <ds@schleef.org>
30612 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30613 needed with new versions of libtool (nobody will confirm this),
30614 and hard to carry around.
30615 * gst/autoplug/Makefile.am:
30616 * gst/base/Makefile.am:
30617 * gst/elements/Makefile.am:
30618 * gst/indexers/Makefile.am:
30619 * gst/schedulers/Makefile.am:
30620 * libs/gst/bytestream/Makefile.am:
30621 * libs/gst/control/Makefile.am:
30622 * libs/gst/dataprotocol/Makefile.am:
30623 * libs/gst/getbits/Makefile.am:
30625 2005-04-21 Wim Taymans <wim@fluendo.com>
30627 * docs/design/draft-push-pull.txt:
30628 * docs/design/part-MT-refcounting.txt:
30629 * docs/design/part-TODO.txt:
30630 * docs/design/part-caps.txt:
30631 * docs/design/part-events.txt:
30632 * docs/design/part-gstbus.txt:
30633 * docs/design/part-gstpipeline.txt:
30634 * docs/design/part-messages.txt:
30635 * docs/design/part-push-pull.txt:
30636 * docs/design/part-query.txt:
30639 2005-04-21 Wim Taymans <wim@fluendo.com>
30641 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30642 (gst_message_new), (gst_message_new_error),
30643 (gst_message_new_warning), (gst_message_new_tag),
30644 (gst_message_new_state_changed), (gst_message_new_application),
30645 (gst_message_get_structure):
30646 * gst/gstmessage.h:
30647 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30648 (gst_structure_copy_conditional):
30649 Use parent refcount in GstMessage to ensure GstStructure
30651 Cleaned up headers a bit.
30654 2005-04-20 Wim Taymans <wim@fluendo.com>
30656 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30657 (gst_basesink_pad_getcaps), (gst_basesink_init),
30658 (gst_basesink_chain_unlocked):
30659 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30660 (gst_type_find_helper):
30661 * gst/elements/gsttypefindelement.c:
30662 (gst_type_find_element_have_type), (gst_type_find_element_init),
30663 (stop_typefinding), (gst_type_find_element_handle_event),
30664 (find_suggest), (gst_type_find_element_chain),
30665 (gst_type_find_element_checkgetrange),
30666 (gst_type_find_element_getrange), (do_typefind),
30667 (gst_type_find_element_activate):
30668 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30669 (gst_buffer_default_free), (gst_buffer_default_copy),
30670 (gst_buffer_set_caps):
30671 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30672 (gst_caps_replace):
30673 * gst/gstmessage.c: (gst_message_new),
30674 (gst_message_new_state_changed):
30675 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30676 (gst_pad_set_checkgetrange_function),
30677 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30678 (gst_pad_set_caps), (gst_pad_check_pull_range),
30679 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30681 * gst/gsttypefind.c: (gst_type_find_register):
30682 Make gst_caps_replace() work like other _replace() functions.
30683 Use _caps_replace() where possible.
30684 Make sure _message_new() initialises its field.
30685 Add gst_static_pad_template_get_caps()
30688 2005-04-18 Andy Wingo <wingo@pobox.com>
30690 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30691 on the peer, not the pad. I think that was a typo. Pass an extra
30692 arg to see if random access is possible. Activate the pads as
30693 PULL_RANGE if possible.
30695 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30697 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30698 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30701 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30703 * docs/faq/using.xml:
30704 Add note on gstreamer-properties (#154996).
30706 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30708 * docs/random/bbb/optional-properties:
30709 Some analysis on optional properties.
30711 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30713 * docs/gst/tmpl/gstelementfactory.sgml:
30714 * gst/gstelement.h:
30715 * gst/gstelementfactory.c: (gst_element_factory_init),
30716 (gst_element_factory_cleanup), (gst_element_register),
30717 (__gst_element_factory_add_static_pad_template),
30718 (gst_element_factory_get_static_pad_templates),
30719 (gst_element_factory_can_src_caps),
30720 (gst_element_factory_can_sink_caps):
30721 * gst/registries/Makefile.am:
30722 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30723 (gst_xml_registry_class_init), (gst_xml_registry_init),
30724 (gst_xml_registry_new), (gst_xml_registry_set_property),
30725 (gst_xml_registry_get_property), (get_time), (make_dir),
30726 (gst_xml_registry_get_perms_func),
30727 (plugin_times_older_than_recurse), (plugin_times_older_than),
30728 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30729 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30730 (add_to_char_array), (read_string), (read_uint), (read_enum),
30731 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30732 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30733 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30734 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30735 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30736 (gst_xml_registry_rebuild):
30737 * gst/registries/gstlibxmlregistry.h:
30738 * tools/gst-compprep.c: (main):
30739 * tools/gst-inspect.c: (print_pad_templates_info):
30740 * tools/gst-xmlinspect.c: (print_element_info):
30741 Use libxml2 for registry parsing, use staticpadtemplates in
30742 elementfactories. Makes gst_init() +/- 10x faster.
30744 2005-04-12 Wim Taymans <wim@fluendo.com>
30746 * gst/base/Makefile.am:
30747 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30748 (gst_basesink_pad_getcaps), (gst_basesink_init),
30749 (gst_basesink_event), (gst_basesink_change_state):
30750 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30751 (gst_basesrc_init), (gst_basesrc_query),
30752 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30753 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30754 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30755 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30756 (gst_basesrc_stop), (gst_basesrc_activate),
30757 (gst_basesrc_change_state):
30758 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30759 (helper_find_suggest), (gst_type_find_helper):
30760 * gst/base/gsttypefindhelper.h:
30761 * gst/elements/Makefile.am:
30762 * gst/elements/gstelements.c:
30763 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30764 (gst_fakesink_get_times), (gst_fakesink_event),
30765 (gst_fakesink_preroll), (gst_fakesink_render):
30766 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30767 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30768 (gst_fakesrc_get_property), (gst_fakesrc_create),
30769 (gst_fakesrc_start), (gst_fakesrc_stop):
30770 * gst/elements/gstfakesrc.h:
30771 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30772 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30773 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30774 (gst_filesrc_create_read), (gst_filesrc_create),
30775 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30776 (gst_filesrc_start):
30777 * gst/elements/gsttypefindelement.c:
30778 (gst_type_find_element_have_type), (gst_type_find_element_init),
30779 (start_typefinding), (stop_typefinding), (push_buffer_store),
30780 (gst_type_find_element_handle_event),
30781 (gst_type_find_element_chain),
30782 (gst_type_find_element_checkgetrange),
30783 (gst_type_find_element_getrange), (do_typefind),
30784 (gst_type_find_element_activate),
30785 (gst_type_find_element_change_state):
30786 * gst/elements/gsttypefindelement.h:
30787 * gst/gstpipeline.c: (pipeline_bus_handler):
30788 Added typefind helper.
30789 Small preroll fix in the base sink.
30790 Disable typefind code in basesrc.
30791 Crude port of typefindelement.
30795 2005-04-11 Wim Taymans <wim@fluendo.com>
30797 * check/gst/gstbus.c: (gstbus_suite):
30798 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30799 * check/gstcheck.h:
30800 Fix up the timeout so that the test does not fail.
30802 2005-04-06 Wim Taymans <wim@fluendo.com>
30805 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30806 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30807 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30808 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30809 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30810 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30811 (gst_basesrc_stop), (gst_basesrc_activate),
30812 (gst_basesrc_change_state), (basesrc_find_peek),
30813 (basesrc_find_suggest), (gst_basesrc_type_find):
30814 * gst/base/gstbasesrc.h:
30815 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30816 (gst_filesrc_class_init), (gst_filesrc_init),
30817 (gst_filesrc_finalize), (gst_filesrc_set_location),
30818 (gst_filesrc_set_property), (gst_filesrc_get_property),
30819 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30820 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30821 (gst_filesrc_create_read), (gst_filesrc_create),
30822 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30823 * gst/elements/gstfilesrc.h:
30824 * gst/gstelement.c: (gst_element_get_state_func),
30825 (gst_element_lost_state), (gst_element_pads_activate):
30826 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30827 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30828 (gst_pad_pull_range):
30830 More work on the generic source base class, implement seeking,
30832 Make filesrc extend the base source class.
30833 Added gst_pad_set_checkgetrange_function to GstPad.
30835 2005-04-06 Andy Wingo <wingo@pobox.com>
30837 * pkgconfig/gstreamer-base.pc.in:
30838 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30840 * pkgconfig/Makefile.am:
30841 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30843 2005-04-04 Wim Taymans <wim@fluendo.com>
30845 * gst/base/Makefile.am:
30847 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30848 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30849 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30850 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30851 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30852 (gst_basesrc_base_init), (gst_basesrc_class_init),
30853 (gst_basesrc_init), (gst_basesrc_get_formats),
30854 (gst_basesrc_get_query_types), (gst_basesrc_query),
30855 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30856 (gst_basesrc_set_property), (gst_basesrc_get_property),
30857 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30858 (gst_basesrc_loop), (gst_basesrc_activate),
30859 (gst_basesrc_change_state):
30860 * gst/base/gstbasesrc.h:
30861 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30862 (gst_fakesrc_class_init), (gst_fakesrc_init),
30863 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30864 (gst_fakesrc_get_property), (gst_fakesrc_create):
30865 * gst/elements/gstfakesrc.h:
30866 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30867 (gst_filesrc_open_file), (gst_filesrc_loop),
30868 (gst_filesrc_activate), (filesrc_find_peek),
30869 (gst_filesrc_type_find):
30870 Made base source class, make fakesrc extend it.
30871 Add comments to basesink class.
30872 Some filesrc cleanup.
30874 2005-03-31 David Schleef <ds@schleef.org>
30876 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30877 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30878 expected to link against libgstreamer.
30879 * gst/base/Makefile.am: link against libgstreamer
30880 * gst/elements/Makefile.am: same
30882 2005-03-31 Andy Wingo <wingo@pobox.com>
30884 * tests/instantiate/Makefile.am:
30885 * tests/instantiate/caps.c: Add test to test speed of caps copy
30888 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30889 GMemChunk to be fair.
30891 * gst/gsttrashstack.h: Remove warning about using the fallback
30892 trash stack implementation, it's still faster than malloc.
30894 2005-03-30 Andy Wingo <wingo@pobox.com>
30896 * tests/complexity.c: Add a copyright.
30898 2005-03-31 Wim Taymans <wim@fluendo.com>
30900 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30901 (gst_base_transform_class_init), (gst_base_transform_init),
30902 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30903 (gst_base_transform_get_property),
30904 (gst_base_transform_sink_activate),
30905 (gst_base_transform_src_activate),
30906 (gst_base_transform_change_state):
30907 * gst/base/gstbasetransform.h:
30908 * gst/elements/gstidentity.c: (gst_identity_class_init),
30909 (gst_identity_event), (gst_identity_check_perfect),
30910 (gst_identity_transform), (gst_identity_start),
30911 (gst_identity_stop):
30912 Added start/stop methods to transform base class so subclasses
30913 don't need to deal with state changes even.
30915 2005-03-31 Wim Taymans <wim@fluendo.com>
30917 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30918 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30920 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30921 (gst_pad_pull_range):
30922 Added rate to the discont event to prepare for variable speed
30923 and reverse playback.
30925 2005-03-29 David Schleef <ds@schleef.org>
30928 * testsuite/trigger/Makefile.am:
30929 * testsuite/trigger/trigger.c: A little example program to show
30930 how trigger-based elements can work.
30932 2005-03-29 Wim Taymans <wim@fluendo.com>
30934 * gst/base/Makefile.am:
30936 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30937 (gst_basesink_base_init), (gst_basesink_class_init),
30938 (gst_basesink_pad_getcaps), (gst_basesink_init),
30939 (gst_basesink_activate), (gst_basesink_change_state):
30940 * gst/base/gstbasesink.h:
30941 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30942 (gst_base_transform_base_init), (gst_base_transform_finalize),
30943 (gst_base_transform_class_init), (gst_base_transform_init),
30944 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30945 (gst_base_transform_event), (gst_base_transform_getrange),
30946 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30947 (gst_base_transform_set_property),
30948 (gst_base_transform_get_property),
30949 (gst_base_transform_sink_activate),
30950 (gst_base_transform_src_activate),
30951 (gst_base_transform_change_state):
30952 * gst/base/gstbasetransform.h:
30953 * gst/elements/gstidentity.c: (gst_identity_finalize),
30954 (gst_identity_class_init), (gst_identity_init),
30955 (gst_identity_event), (gst_identity_check_perfect),
30956 (gst_identity_transform), (gst_identity_set_property),
30957 (gst_identity_get_property), (gst_identity_change_state):
30958 * gst/elements/gstidentity.h:
30959 * gst/gstelement.c: (gst_element_get_state_func),
30960 (gst_element_lost_state), (gst_element_pads_activate):
30961 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30962 (gst_pad_check_pull_range), (gst_pad_pull_range):
30964 Simplify pad activation.
30965 Added function to check if pull_range can be performed.
30966 Error out when pulling inactive or flushing pads.
30967 Removed const from refcounted types as it does not make sense.
30968 Simplify pad templates in basesink
30969 Added base class for simple 1-to-1 transforms.
30970 Make identity subclass the base transform.
30972 2005-03-29 Andy Wingo <wingo@pobox.com>
30974 * docs/libs/gstreamer-libs-overrides.txt:
30975 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30976 really don't understand what's going on, but like whatever. I want
30979 * docs/gst/Makefile.am:
30980 * docs/libs/Makefile.am: Dist the overrides files.
30982 * check/Makefile.am (clean-local): Remove .libs directories.
30984 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30985 elements to EXTRA_DIST, so po/ files are happy.
30987 * po/POTFILES.in: Er, remove it here.
30989 * po/POTFILES: Remove gstspider.c.
30991 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30993 * docs/libs/gstreamer-libs-docs.sgml:
30994 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30997 * tests/complexity.c (main): Set the length of the preroll queue
30998 on the sinks to prevent a lockup.
31000 * libs/gst/dataprotocol/Makefile.am:
31001 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31002 the same as the one in check/gst-libs/gdp.c.
31004 * po/, docs/gst/: Commit automatic changes to docs and po files.
31006 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31007 the versioned libgstbase.
31009 * check/Makefile.am: Depend on an unversioned gst-register, seems
31010 to make autoconf happier.
31012 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31014 2005-03-28 Wim Taymans <wim@fluendo.com>
31017 * docs/design/part-gstelement.txt:
31018 * docs/design/part-negotiation.txt:
31019 * docs/design/part-preroll.txt:
31020 * docs/design/part-scheduling.txt:
31021 * docs/design/part-states.txt:
31023 * gst/base/Makefile.am:
31025 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31026 (gst_basesink_base_init), (gst_basesink_class_init),
31027 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31028 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31029 (gst_basesink_set_pad_functions),
31030 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31031 (gst_basesink_set_property), (gst_basesink_get_property),
31032 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31033 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31034 (gst_basesink_preroll_queue_push),
31035 (gst_basesink_preroll_queue_empty),
31036 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31037 (gst_basesink_event), (gst_basesink_get_times),
31038 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31039 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31040 (gst_basesink_loop), (gst_basesink_activate),
31041 (gst_basesink_change_state):
31042 * gst/base/gstbasesink.h:
31043 * gst/elements/Makefile.am:
31044 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31045 (gst_fakesink_class_init), (gst_fakesink_init),
31046 (gst_fakesink_set_property), (gst_fakesink_get_property),
31047 (gst_fakesink_get_times), (gst_fakesink_event),
31048 (gst_fakesink_preroll), (gst_fakesink_render),
31049 (gst_fakesink_change_state):
31050 * gst/elements/gstfakesink.h:
31051 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31052 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31053 * gst/gstelement.c: (gst_element_add_pad),
31054 (gst_element_get_state_func), (gst_element_abort_state),
31055 (gst_element_commit_state), (gst_element_lost_state),
31056 (gst_element_set_state), (gst_element_pads_activate):
31057 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31058 * gst/gstpipeline.c: (gst_pipeline_send_event),
31059 (gst_pipeline_change_state):
31060 Added state change code.
31061 Added/updated docs.
31062 Added sink base class, make fakesink extend the base class.
31063 Small cleanups in GstPipeline.
31065 2005-03-26 David Schleef <ds@schleef.org>
31067 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31068 is broken and should be implemented in a different library.
31069 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31070 * gst/gst.h: remove gstcpu.h
31071 * gst/gstcpu.c: remove
31072 * gst/gstcpu.h: remove
31073 * gst/Makefile.am.future: Remove this file. It's ancient.
31075 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31077 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31078 (gst_bin_send_event):
31079 Add default event/set_manager handlers. The set_manager handler
31080 takes care that the manager is distributed over kids that were
31081 already in the bin before the manager was set. The event handler
31082 is a utility virtual function that sends the event over all sinks,
31083 so that gst_element_send_event (bin, event); has the expected
31085 * gst/gstpad.c: (gst_pad_event_default):
31086 Re-install default event handling for discontinuities, so that
31087 seeking works without requiring hacks in applications or extra
31089 * gst/gstpipeline.c: (gst_pipeline_class_init),
31090 (gst_pipeline_send_event):
31091 Half hack, half utility: set a pipeline to PAUSED for seek events,
31092 since that is the only way we can guarantee a/v sync. Means that
31093 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31094 and it "just works".
31096 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31098 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31099 Lock/unlock mismatch.
31101 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31103 * docs/faq/gst-uninstalled:
31104 add gst-plugins-base
31105 * docs/gst/Makefile.am:
31106 don't error out until docs are fixed
31107 * docs/gst/gstreamer.types:
31110 2005-03-22 Wim Taymans <wim@fluendo.com>
31112 * check/Makefile.am:
31113 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31114 * gst/gststructure.c: (gst_structure_set_valist),
31115 (gst_structure_copy_conditional):
31116 Activated more tests.
31117 Added message test.
31118 Added G_TYPE_POINTER to GstStructure.
31121 2005-03-22 Wim Taymans <wim@fluendo.com>
31123 * docs/design/part-TODO.txt:
31124 * docs/design/part-events.txt:
31125 * docs/design/part-gstbin.txt:
31126 * docs/design/part-gstbus.txt:
31127 * docs/design/part-gstpipeline.txt:
31128 * docs/design/part-messages.txt:
31130 * gst/gstmessage.c:
31133 2005-03-21 Wim Taymans <wim@fluendo.com>
31135 * gst/gstbus.c: (gst_bus_post):
31136 Fix copy-and-paste error.
31138 2005-03-21 Wim Taymans <wim@fluendo.com>
31140 * check/Makefile.am:
31142 * gst/elements/Makefile.am:
31143 * gst/elements/gstelements.c:
31144 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31145 (gst_fakesink_event), (gst_fakesink_chain):
31146 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31147 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31148 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31149 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31150 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31151 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31152 (gst_fakesrc_loop), (gst_fakesrc_activate),
31153 (gst_fakesrc_change_state):
31154 * gst/elements/gstfakesrc.h:
31155 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31156 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31157 (gst_filesrc_open_file), (gst_filesrc_loop),
31158 (gst_filesrc_activate), (gst_filesrc_change_state),
31159 (filesrc_find_peek), (filesrc_find_suggest),
31160 (gst_filesrc_type_find):
31161 * gst/elements/gstidentity.c: (gst_identity_finalize),
31162 (gst_identity_class_init), (gst_identity_init),
31163 (gst_identity_proxy_getcaps), (identity_queue_push),
31164 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31165 (gst_identity_getrange), (gst_identity_chain),
31166 (gst_identity_sink_loop), (gst_identity_src_loop),
31167 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31168 (gst_identity_set_property), (gst_identity_get_property),
31169 (gst_identity_change_state):
31170 * gst/elements/gstidentity.h:
31171 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31172 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31173 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31174 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31175 (gst_tee_sink_activate):
31176 * gst/elements/gsttee.h:
31177 * gst/gst.c: (gst_register_core_elements), (init_post):
31179 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31180 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31181 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31182 (gst_bin_change_state):
31184 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31185 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31186 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31187 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31188 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31189 (bus_watch_callback), (bus_watch_destroy),
31190 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31191 (poll_timeout), (gst_bus_poll):
31195 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31196 (gst_element_post_message), (gst_element_message_full),
31197 (gst_element_get_state_func), (gst_element_get_state),
31198 (gst_element_abort_state), (gst_element_commit_state),
31199 (gst_element_lost_state), (gst_element_set_state),
31200 (gst_element_pads_activate), (gst_element_change_state),
31201 (gst_element_dispose), (gst_element_set_manager_func),
31202 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31203 (gst_element_set_manager), (gst_element_get_manager),
31204 (gst_element_set_bus), (gst_element_get_bus),
31205 (gst_element_set_scheduler), (gst_element_get_scheduler):
31206 * gst/gstelement.h:
31207 * gst/gstevent.c: (gst_event_new_segment_seek),
31208 (gst_event_new_flush):
31210 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31211 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31212 (gst_message_new_eos), (gst_message_new_error),
31213 (gst_message_new_warning), (gst_message_new_tag),
31214 (gst_message_new_state_changed), (gst_message_new_application),
31215 (gst_message_get_structure), (gst_message_parse_tag),
31216 (gst_message_parse_state_changed), (gst_message_parse_error),
31217 (gst_message_parse_warning):
31218 * gst/gstmessage.h:
31219 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31220 (gst_real_pad_set_property), (gst_pad_set_active),
31221 (gst_pad_is_active), (gst_pad_set_blocked_async),
31222 (gst_pad_set_blocked), (gst_pad_is_blocked),
31223 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31224 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31225 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31226 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31227 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31228 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31229 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31230 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31231 (gst_pad_set_caps), (gst_pad_configure_sink),
31232 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31233 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31234 (gst_real_pad_dispose), (gst_real_pad_finalize),
31235 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31236 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31237 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31239 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31240 (pipeline_bus_handler), (gst_pipeline_change_state),
31241 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31242 * gst/gstpipeline.h:
31244 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31245 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31246 (gst_queue_link_src), (gst_queue_bufferalloc),
31247 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31248 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31249 (gst_queue_loop), (gst_queue_handle_src_event),
31250 (gst_queue_handle_src_query), (gst_queue_src_activate),
31251 (gst_queue_change_state):
31253 * gst/gstscheduler.c: (gst_scheduler_init),
31254 (gst_scheduler_dispose), (gst_scheduler_create_task),
31255 (gst_scheduler_factory_create):
31256 * gst/gstscheduler.h:
31257 * gst/gststructure.c: (gst_structure_get_type),
31258 (gst_structure_copy_conditional):
31259 * gst/gststructure.h:
31260 * gst/gsttaginterface.h:
31261 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31262 (gst_task_init), (gst_task_dispose), (gst_task_create),
31263 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31269 * gst/schedulers/Makefile.am:
31270 * gst/schedulers/cothreads_compat.h:
31271 * gst/schedulers/entryscheduler.c:
31272 * gst/schedulers/faircothreads.c:
31273 * gst/schedulers/faircothreads.h:
31274 * gst/schedulers/fairscheduler.c:
31275 * gst/schedulers/gstbasicscheduler.c:
31276 * gst/schedulers/gstoptimalscheduler.c:
31277 * gst/schedulers/gthread-cothreads.h:
31278 * gst/schedulers/threadscheduler.c:
31279 (gst_thread_scheduler_task_get_type),
31280 (gst_thread_scheduler_task_class_init),
31281 (gst_thread_scheduler_task_init),
31282 (gst_thread_scheduler_task_start),
31283 (gst_thread_scheduler_task_stop),
31284 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31285 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31286 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31287 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31289 * libs/gst/Makefile.am:
31290 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31291 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31292 (gst_file_pad_parent_set):
31293 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31294 (gst_dp_event_from_packet):
31295 * tests/complexity.c: (main):
31296 * tests/mass_elements.c: (main):
31297 * testsuite/states/locked.c: (message_received), (main):
31298 * testsuite/states/parent.c: (main):
31299 * tools/gst-inspect.c: (print_element_flag_info),
31300 (print_implementation_info), (print_pad_info):
31301 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31303 * tools/gst-md5sum.c: (event_loop), (main):
31304 * tools/gst-typefind.c: (main):
31305 * tools/gst-xmlinspect.c: (print_element_info):
31307 Added GstBus for mainloop integration.
31308 Added GstMessage for sending notifications on the bus.
31309 Added GstTask as an abstraction for pipeline entry points.
31311 Removed Schedulers.
31312 Simplified GstQueue for multithreaded core.
31313 Made _link threadsafe, removed old capsnego.
31314 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31315 Added pad blocking functions.
31316 Reworked scheduling functions in GstPad to prepare for
31317 scheduling updates soon.
31318 Moved events out of data stream.
31319 Simplified GstEvent types.
31320 Added return values to push/pull.
31321 Removed clocking from GstElement.
31322 Added prototypes for state change function for next merge.
31323 Removed iterate from bins and state change management.
31324 Fixed some elements, disabled others for now.
31325 Fixed -inspect and -launch.
31326 Added check for GstBus.
31328 2005-03-10 Wim Taymans <wim@fluendo.com>
31330 * docs/design/part-MT-refcounting.txt:
31331 * docs/design/part-clocks.txt:
31332 * docs/design/part-gstelement.txt:
31333 * docs/design/part-gstobject.txt:
31334 * docs/design/part-standards.txt:
31335 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31336 (gst_bin_remove_func), (gst_bin_remove):
31340 * testsuite/clock/clock1.c: (main):
31341 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31343 * testsuite/dlopen/loadgst.c: (do_test):
31344 * testsuite/refcounting/bin.c: (add_remove_test1),
31345 (add_remove_test2), (main):
31346 * testsuite/refcounting/element.c: (main):
31347 * testsuite/refcounting/element_pad.c: (main):
31348 * testsuite/refcounting/pad.c: (main):
31349 * tools/gst-launch.c: (sigint_handler_sighandler):
31350 * tools/gst-typefind.c: (main):
31352 Added doc about clock.
31353 removed gst_bin_iterate_recurse_up(), marked methods
31355 Fix more testsuites.
31357 2005-03-09 Wim Taymans <wim@fluendo.com>
31359 * gst/gstpad.c: (gst_pad_get_direction),
31360 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31361 (gst_pad_collect_valist):
31362 * testsuite/bins/interface.c: (main):
31363 * testsuite/caps/audioscale.c: (test_caps):
31364 * testsuite/caps/caps.c: (test1), (test2), (test3):
31365 * testsuite/caps/deserialize.c: (main):
31366 * testsuite/caps/enumcaps.c: (main):
31367 * testsuite/caps/filtercaps.c: (main):
31368 * testsuite/caps/intersect2.c: (main):
31369 * testsuite/caps/random.c: (main):
31370 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31371 * testsuite/caps/sets.c: (check_caps):
31372 * testsuite/caps/simplify.c: (check_caps), (main):
31373 * testsuite/caps/subtract.c: (check_caps):
31374 Fix _pad_get_direction wrt ghostpads.
31375 Fix caps testsuite.
31377 2005-03-09 Wim Taymans <wim@fluendo.com>
31379 * check/Makefile.am:
31380 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31381 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31382 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31383 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31384 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31385 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31386 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31387 (bin_element_is_sink), (gst_bin_iterate_sinks),
31388 (gst_bin_iterate_all_by_interface):
31390 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31391 (gst_element_change_state), (gst_element_dispose),
31392 (gst_element_finalize), (gst_element_set_loop_function):
31393 * gst/gstelement.h:
31394 * gst/gstiterator.c: (find_custom_fold_func):
31395 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31396 (gst_pad_collectv), (gst_pad_collect_valist),
31397 (gst_pad_template_new):
31398 * gst/gstpipeline.c: (gst_pipeline_class_init),
31399 (gst_pipeline_dispose), (gst_pipeline_set_property),
31400 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31401 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31402 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31404 * gst/schedulers/entryscheduler.c:
31405 * gst/schedulers/gstbasicscheduler.c:
31406 (gst_basic_scheduler_cothreaded_chain),
31407 (gst_basic_scheduler_chain_add_element):
31408 * testsuite/bins/interface.c: (main):
31410 Added GstSystemClock test.
31411 Implemented clock distribution code in GstBin.
31412 Implemented iterate sinks method for future use.
31413 Rearranged gstelement.h
31414 Fix GstIterator comparison bug.
31415 Moved some code to GstPipeline, mostly clocking related.
31417 2005-03-09 Wim Taymans <wim@fluendo.com>
31420 * gst/gst_private.h:
31421 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31422 (gst_bin_remove_func), (gst_bin_remove),
31423 (gst_bin_get_by_name_recurse_up):
31424 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31425 (gst_clock_id_compare_func), (gst_clock_id_wait),
31426 (gst_clock_id_wait_async), (gst_clock_init),
31427 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31428 * gst/gstelement.h:
31429 * gst/gstinfo.c: (_gst_debug_init):
31431 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31432 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31434 Bump version number, we're now 0.9.0
31435 Add future debugging category.
31436 Fix NULL _unref() in _get_by_name_recurse_up
31437 Rearrange gstpad.h.
31440 2005-03-08 Wim Taymans <wim@fluendo.com>
31442 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31443 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31444 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31445 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31446 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31447 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31448 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31449 * gst/elements/gstidentity.c: (gst_identity_class_init):
31450 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31451 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31452 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31453 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31454 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31456 * gst/gstelement.c: (gst_element_class_init),
31457 (gst_element_base_class_init), (gst_element_init),
31458 (gst_element_get_random_pad), (gst_element_wait_state_change),
31459 (gst_element_change_state), (gst_element_dispose),
31460 (gst_element_finalize), (gst_element_set_loop_function):
31461 * gst/gstelement.h:
31462 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31463 * gst/gstthread.c: (gst_thread_class_init),
31464 (gst_thread_release_children_locks), (gst_thread_change_state):
31465 * gst/schedulers/gstbasicscheduler.c:
31466 (gst_basic_scheduler_loopfunc_wrapper),
31467 (gst_basic_scheduler_chain_wrapper),
31468 (gst_basic_scheduler_src_wrapper),
31469 (gst_basic_scheduler_remove_element):
31470 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31471 Remove threadsafe properties. Fix elements because GObject
31472 complains when installing a property before declaring a
31473 set/get_property handler.
31474 Rearrange gstelement.h file, use STATE macros for state locks.
31475 Free mutexes in the finalize method instead of dispose.
31477 2005-03-08 Wim Taymans <wim@fluendo.com>
31479 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31480 * gst/gstthread.c: (gst_thread_release_children_locks):
31481 Added parentage check.
31482 Fix build og GstThread again.
31484 2005-03-08 Wim Taymans <wim@fluendo.com>
31486 * docs/design/part-MT-refcounting.txt:
31487 * docs/design/part-conventions.txt:
31488 * docs/design/part-gstobject.txt:
31489 * docs/design/part-relations.txt:
31490 * docs/design/part-standards.txt:
31491 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31492 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31493 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31494 (gst_bin_iterate_all_by_interface):
31497 * gst/gstelement.c: (gst_element_class_init),
31498 (gst_element_change_state), (gst_element_set_loop_function):
31499 * gst/gstelement.h:
31500 * gst/gstiterator.c:
31501 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31502 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31503 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31504 (gst_object_set_parent), (gst_object_unparent),
31505 (gst_object_check_uniqueness):
31507 Docs updates, clean up some headers.
31509 2005-03-07 Wim Taymans <wim@fluendo.com>
31511 * check/.cvsignore:
31512 * check/Makefile.am:
31513 * check/gst-libs/.cvsignore:
31514 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31515 * check/gst/.cvsignore:
31516 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31517 (START_TEST), (gstbus_suite), (main):
31518 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31519 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31520 (gst_data_suite), (main):
31521 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31522 (add_fold_func), (gstiterator_suite), (main):
31523 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31524 (thread_name_object), (thread_name_object_default),
31525 (gst_object_name_compare), (gst_object_suite), (main):
31526 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31527 (gst_pad_suite), (main):
31528 * check/gstcheck.c: (gst_check_log_message_func),
31529 (gst_check_log_critical_func), (gst_check_init):
31530 * check/gstcheck.h:
31531 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31532 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31535 2005-03-07 Wim Taymans <wim@fluendo.com>
31537 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31538 (gst_list_iterator_next), (gst_list_iterator_resync),
31539 (gst_list_iterator_free), (gst_iterator_new_list),
31540 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31541 (gst_iterator_free), (gst_iterator_push), (filter_next),
31542 (filter_resync), (filter_uninit), (filter_free),
31543 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31544 (gst_iterator_foreach), (find_custom_fold_func),
31545 (gst_iterator_find_custom):
31546 * gst/gstiterator.h:
31547 Added missing files.
31549 2005-03-07 Wim Taymans <wim@fluendo.com>
31553 * docs/design/part-MT-refcounting.txt:
31554 * docs/design/part-conventions.txt:
31555 * docs/design/part-gstobject.txt:
31556 * docs/design/part-relations.txt:
31557 * examples/mixer/mixer.c: (main):
31558 * examples/thread/thread.c: (eos), (main):
31560 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31561 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31562 (gst_spider_plug_from_srcpad):
31563 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31564 (gst_spider_identity_change_state),
31565 (gst_spider_identity_sink_loop_type_finding):
31566 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31567 * gst/elements/gstidentity.c: (gst_identity_init):
31568 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31569 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31570 * gst/elements/gsttypefindelement.c: (free_entry):
31573 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31574 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31575 (gst_bin_set_index), (gst_bin_set_element_sched),
31576 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31577 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31578 (gst_bin_iterate_elements), (iterate_child_recurse),
31579 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31580 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31581 (compare_interface), (gst_bin_get_by_interface),
31582 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31584 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31585 (gst_buffer_default_free), (gst_buffer_default_copy),
31586 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31587 (gst_buffer_create_sub):
31589 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31590 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31591 (gst_caps_unref), (gst_static_caps_get),
31592 (gst_caps_remove_and_get_structure), (gst_caps_append),
31593 (gst_caps_append_structure), (gst_caps_remove_structure),
31594 (gst_caps_copy_nth), (gst_caps_set_simple),
31595 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31596 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31597 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31598 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31599 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31600 (gst_caps_structure_figure_out_union),
31601 (gst_caps_switch_structures), (gst_caps_do_simplify),
31602 (gst_caps_replace), (gst_caps_from_string),
31603 (gst_caps_copy_conditional):
31605 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31606 (_gst_clock_id_free), (gst_clock_id_unref),
31607 (gst_clock_id_compare_func), (gst_clock_id_wait),
31608 (gst_clock_id_wait_async), (gst_clock_class_init),
31609 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31610 (gst_clock_get_time), (gst_clock_set_time_adjust),
31611 (gst_clock_set_property), (gst_clock_get_property):
31614 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31615 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31617 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31618 (gst_element_requires_clock), (gst_element_provides_clock),
31619 (gst_element_set_clock), (gst_element_clock_wait),
31620 (gst_element_wait), (gst_element_set_time_delay),
31621 (gst_element_is_indexable), (gst_element_add_pad),
31622 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31623 (pad_compare_name), (gst_element_get_static_pad),
31624 (gst_element_request_pad), (gst_element_get_request_pad),
31625 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31626 (gst_element_class_get_pad_template_list),
31627 (gst_element_class_get_pad_template), (gst_element_error_func),
31628 (gst_element_get_random_pad), (gst_element_get_event_masks),
31629 (gst_element_send_event), (gst_element_seek),
31630 (gst_element_get_query_types), (gst_element_query),
31631 (gst_element_get_formats), (gst_element_convert),
31632 (gst_element_is_locked_state), (gst_element_set_locked_state),
31633 (gst_element_sync_state_with_parent), (gst_element_change_state),
31634 (gst_element_finalize), (gst_element_yield),
31635 (gst_element_interrupt), (gst_element_set_scheduler),
31636 (gst_element_get_scheduler), (gst_element_set_loop_function):
31637 * gst/gstelement.h:
31639 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31640 (gst_format_get_by_nick), (gst_format_get_details),
31641 (gst_format_iterate_definitions):
31643 * gst/gstindex.c: (gst_index_gtype_resolver):
31646 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31647 (gst_mem_chunk_free):
31648 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31649 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31650 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31651 (gst_object_dispatch_properties_changed),
31652 (gst_object_set_name_default), (gst_object_set_name),
31653 (gst_object_get_name), (gst_object_set_name_prefix),
31654 (gst_object_get_name_prefix), (gst_object_set_parent),
31655 (gst_object_get_parent), (gst_object_unparent),
31656 (gst_object_check_uniqueness), (gst_object_save_thyself),
31657 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31658 (gst_object_set_property), (gst_object_get_property),
31659 (gst_object_get_path_string):
31661 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31662 (gst_real_pad_init), (gst_real_pad_get_property),
31663 (gst_pad_custom_new), (gst_pad_get_direction),
31664 (gst_pad_set_active), (gst_pad_is_active),
31665 (gst_pad_set_event_function), (gst_pad_is_linked),
31666 (gst_pad_link_free), (gst_pad_link_intersect),
31667 (gst_pad_link_fixate), (gst_pad_set_caps),
31668 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31669 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31670 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31671 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31672 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31673 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31674 (gst_pad_realize), (gst_pad_get_allowed_caps),
31675 (gst_real_pad_dispose), (gst_real_pad_finalize),
31676 (gst_pad_collectv), (gst_pad_collect_valist),
31677 (gst_pad_template_dispose), (gst_pad_template_new),
31678 (gst_pad_get_internal_links):
31680 * gst/gstpipeline.c: (gst_pipeline_dispose),
31681 (gst_pipeline_change_state):
31682 * gst/gstpipeline.h:
31684 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31685 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31686 * gst/gstpluginfeature.h:
31687 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31688 * gst/gstquery.c: (_gst_query_type_initialize),
31689 (gst_query_type_register), (gst_query_type_get_by_nick),
31690 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31692 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31693 * gst/gstscheduler.c: (gst_scheduler_add_element),
31694 (gst_scheduler_factory_create):
31695 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31696 (gst_structure_free), (gst_structure_set_name),
31697 (gst_structure_id_set_value), (gst_structure_set_value),
31698 (gst_structure_set_valist), (gst_structure_remove_field),
31699 (gst_structure_remove_fields),
31700 (gst_structure_remove_fields_valist),
31701 (gst_structure_remove_all_fields), (gst_structure_foreach),
31702 (gst_structure_map_in_place),
31703 (gst_caps_structure_fixate_field_nearest_int),
31704 (gst_caps_structure_fixate_field_nearest_double):
31705 * gst/gststructure.h:
31706 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31707 (gst_system_clock_init), (gst_system_clock_dispose),
31708 (gst_system_clock_async_thread),
31709 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31710 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31711 * gst/gstsystemclock.h:
31712 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31713 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31714 * gst/gsttaginterface.c:
31715 * gst/gstthread.c: (gst_thread_dispose),
31716 (gst_thread_release_children_locks), (gst_thread_change_state),
31717 (gst_thread_main_loop):
31718 * gst/gsttrashstack.h:
31719 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31721 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31722 (gst_element_request_pad), (gst_element_get_pad_from_template),
31723 (gst_element_request_compatible_pad),
31724 (gst_element_get_compatible_pad_filtered),
31725 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31726 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31727 (gst_element_link_many), (gst_element_link),
31728 (gst_element_link_pads), (gst_element_unlink_pads),
31729 (gst_element_unlink_many), (gst_element_unlink),
31730 (gst_pad_can_link_filtered), (gst_pad_can_link),
31731 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31732 (gst_object_default_error), (gst_bin_add_many),
31733 (gst_bin_remove_many), (gst_element_populate_std_props),
31734 (gst_element_class_install_std_props), (gst_buffer_merge),
31735 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31736 (link_fold_func), (gst_pad_proxy_setcaps):
31738 * gst/gstvalue.c: (gst_value_deserialize_string):
31739 * gst/parse/grammar.y:
31740 * gst/schedulers/gstbasicscheduler.c:
31741 (gst_basic_scheduler_cothreaded_chain),
31742 (gst_basic_scheduler_chain_recursive_add),
31743 (gst_basic_scheduler_pad_link):
31744 * gst/schedulers/gstoptimalscheduler.c:
31745 (get_group_schedule_function),
31746 (gst_opt_scheduler_state_transition),
31747 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31748 * libs/gst/bytestream/bytestream.c:
31749 * libs/gst/dataprotocol/dataprotocol.c:
31750 (gst_dp_header_from_buffer):
31753 * tests/threadstate/threadstate2.c: (eos):
31754 * tools/gst-compprep.c: (main):
31755 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31756 (print_pad_info), (print_children_info):
31757 * tools/gst-launch.c: (idle_func), (main):
31758 * tools/gst-md5sum.c: (idle_func), (main):
31759 * tools/gst-xmlinspect.c: (print_element_info):
31760 First THREADED backport attempt, focusing on adding locks and
31761 making sure the API is threadsafe. Needs more work. More docs
31764 2005-02-24 Andy Wingo <wingo@pobox.com>
31766 * tests/bench-complexity.scm:
31767 * tests/complexity.gnuplot: New files, good for running complexity
31770 * tests/Makefile.am:
31771 * tests/complexity.c: New test, sets up N elements, at each level
31772 teeing into M streams per element. Eeeenteresting.
31774 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31775 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31776 running bench-mass_elements.scm.
31778 * tests/bench-mass_elements.scm: New script, runs mass_elements
31779 for various numbers of identities, outputting the results to a
31780 file. Requires guile 1.6. Just for testing.
31782 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31784 * gst/schedulers/fairscheduler.c:
31785 compile with debug disabled
31787 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31790 hunting season on 0.9 is now OPEN