1 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
3 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
4 (gst_caps_merge_structure), (gst_caps_get_structure),
5 (gst_caps_copy_nth), (gst_caps_set_simple),
6 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
7 (gst_caps_is_equal_fixed), (gst_caps_intersect),
8 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
10 Callgrind micro optimisations.
11 Avoid array bounds checks and force inline of trivial function.
13 * gst/gstobject.c: (gst_object_set_name_default):
14 -1 is equivalent to letting glib to the strlen but then there is more
15 room for optimisations and it's not our fault.
17 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
18 no need to clear the array, we're cool.
20 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
21 The most common _is_fixed() check is done on fundamental glib base
22 types so we check this first instead of doing a huge amount of
23 useless GST_TYPE_ARRAY calls.
25 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
28 Add a SKIP seek flag for use with advanced trickmodes.
29 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
31 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
33 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
34 No need to memset, we can clear the value ourselves.
36 * gst/gstvalue.c: (gst_type_is_fixed),
37 (gst_value_get_compare_func):
38 Some optimisations from a few callgrind sessions:
39 When checking if a type is fixed, check for trivial fundamental types
40 first before checking types for which we need to get the type followed
41 by the heavy duty type checks, this reduces the amount of
42 g_type_fundamental() calls a lot.
43 When getting the compare function, first check for our registered types.
44 If that fails, do the heavy duty g_type_is_a() checks, reduces the
45 amount of g_type_is_a() considerably.
47 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
49 * docs/design/part-TODO.txt:
50 Mumble something about removing GstXML.
52 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
54 * gst/gstbin.c: (gst_bin_handle_message_func):
55 Get the seqnum before we dispose the message.
57 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
59 * docs/design/part-TODO.txt:
60 Refer to the framestepping document.
62 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
64 * gst/gstbin.c: (bin_handle_async_start),
65 (gst_bin_handle_message_func), (gst_bin_query):
66 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
67 (gst_base_sink_event), (gst_base_sink_change_state):
68 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
69 (gst_base_src_loop), (gst_base_src_change_state):
70 Copy seqnums from events to messages so that they can all be related
73 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
75 * tools/gst-launch.c: (event_loop):
76 Print the message seqnums.
78 2008-11-04 Andy Wingo <wingo@pobox.com>
80 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
82 2008-11-04 Andy Wingo <wingo@pobox.com>
84 Add sequence numbers to events and messages. See #559250.
86 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
90 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
91 events with a new sequence number, and copy it when copying.
92 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
93 an event's sequence number.
96 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
97 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
100 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
102 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
104 * docs/manual/advanced-position.xml:
105 * docs/manual/basics-bins.xml:
106 * docs/manual/basics-bus.xml:
107 * docs/manual/basics-pads.xml:
108 * docs/manual/intro-gstreamer.xml:
109 * docs/manual/intro-preface.xml:
110 Some Application Development Manual fixes thanks to
111 Andrew Feren. Fixes #558459.
113 2008-11-03 Stefan Kost <ensonic@users.sf.net>
115 * gst/gstregistrybinary.c:
116 Don't bother with the GTimer if we don't output the results.
118 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
120 Patch by: David Schleef <ds@schleef.org>
122 * libs/gst/net/Makefile.am:
123 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
125 2008-10-31 Stefan Kost <ensonic@users.sf.net>
127 * gst/gstregistrybinary.c:
128 Oh my, studip, stupid me. Remove double stat() call.
130 2008-10-31 Stefan Kost <ensonic@users.sf.net>
133 Use g_unlink instead of unlink.
135 * gst/gststructure.c:
144 Formatting & whitespaces.
146 2008-10-31 Stefan Kost <ensonic@users.sf.net>
148 * plugins/elements/gstidentity.c:
149 Doc typo. Use return value of parent_class->event.
151 * plugins/elements/gsttypefindelement.c:
152 Chain up at the end for consistency.
154 2008-10-30 Stefan Kost <ensonic@users.sf.net>
157 * docs/gst/gstreamer-docs.sgml:
158 * docs/gst/gstreamer-sections.txt:
159 * docs/gst/running.xml:
160 * docs/libs/gstreamer-libs-docs.sgml:
161 Change to xinclude based build - its faster and easier to maintain.
163 2008-10-30 Stefan Kost <ensonic@users.sf.net>
165 * gst/gstregistrybinary.c:
166 * gst/gstregistryxml.c:
167 Use g_unlink() as none of these are directories.
169 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
171 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
174 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
176 * libs/gst/base/gstbasetransform.c:
177 (gst_base_transform_find_transform), (gst_base_transform_getrange):
178 If we have a fixate function, call it even if we already have fixed caps
179 because the subclass might add some caps. Makes audioconvert add a
180 default channel layout.
182 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
184 * libs/gst/base/gstbasetransform.c:
185 (gst_base_transform_prepare_output_buffer),
186 (gst_base_transform_getrange):
187 Clear the output buffer variable.
188 Cleanups to the error path in the getrange function.
191 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
193 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
194 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
195 Use gst_buffer_try_new_and_alloc() and handle errors instead of
196 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
199 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
201 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
202 Set the last_stop to a more meaningful position when configuring the
203 segment. ie. the start/stop of the segment or clipped against the
204 updated segment boundaries.
206 * tests/check/gst/gstsegment.c: (GST_START_TEST):
207 Add some unit tests for the last_stop.
209 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
211 * libs/gst/base/gstbytereader.c:
212 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
215 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
217 * docs/gst/gstreamer-sections.txt:
219 API: Move float endianness conversion macros from libgstfloatcast
220 to core as it's useful in general, even in core. Fixes bug #555196.
221 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
222 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
223 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
225 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
226 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
227 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
228 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
230 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
232 * docs/libs/gstreamer-libs-sections.txt:
233 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
234 (gst_byte_reader_peek_data):
235 * libs/gst/base/gstbytereader.h:
236 * win32/common/libgstbase.def:
237 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
238 to get a pointer to the data at the current position and have
241 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
244 Fix a bug in the output of the configure script summary
245 when --gst-disable-registry is supplied
247 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
249 * libs/gst/base/gstbitreader.c:
250 * libs/gst/base/gstbytereader.c:
251 Fix the names of 2 functions in the docs strings.
253 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
255 * libs/gst/base/gstbasetransform.c:
256 (gst_base_transform_prepare_output_buffer),
257 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
258 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
259 refcount problems as seen in banshee and maybe also in farsight2.
260 Remove atomic int now that we need to take the lock anyways.
262 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
264 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
265 (gst_base_sink_default_prepare_seek_segment),
266 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
267 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
268 (gst_base_sink_query):
269 Implement more seeking in pull mode.
270 Use pad convert functions to convert position to the requested format.
271 Fix position/duration reporting in pull mode.
272 Implement position and duration reporting in other formats than time.
274 * libs/gst/base/gstbasesink.h:
275 Add member to keep track of when the segment is playing.
277 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
279 * gst/gstpad.c: (gst_pad_configure_src):
280 When we use gst_pad_alloc_buffer() without wanting to set the caps we
281 also don't need to check if the caps are compatible because the caller
282 presumably is going to perform its own custom checks. Fixes some cases
283 where basetransform elements would error out when it was not needed.
285 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
287 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
290 * libs/gst/base/gstbasetransform.c:
291 (gst_base_transform_handle_buffer),
292 (gst_base_transform_reconfigure):
295 * win32/common/libgstbase.def:
298 2008-10-19 Stefan Kost <ensonic@users.sf.net>
300 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
301 Remove duplicated assignment and log a message in failure case.
303 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
305 Patch by: Dig Ge <dig.ge.cn at gmail com>
307 * tests/examples/helloworld/helloworld.c: (main):
308 Fix copy'n'paste bug in hello world example (#556900).
310 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
312 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
313 (gst_base_sink_query):
314 Query the total number of bytes when activating the pad in pull mode.
315 Implement duration query in pull mode by using the installed pad convert
316 function to convert from bytes to the requested format.
318 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
320 * docs/libs/gstreamer-libs-sections.txt:
321 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
322 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
323 (gst_base_sink_event), (gst_base_sink_perform_seek),
324 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
325 (gst_base_sink_send_event), (gst_base_sink_change_state):
326 * libs/gst/base/gstbasesink.h:
327 Add method to commit the state in subclasses.
328 Refactor the flush_start and flush_stop code because we need it for
329 flushing while seeking too.
330 Implement the beginnings of seeking in pull mode.
331 Use the segment last_stop field for the pulling offset.
332 Fix the pause method in pull mode.
333 Configure the segment to BYTES for pull mode.
334 API: GstBaseSink::gst_base_sink_do_preroll()
336 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
338 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
341 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
343 * gst/gstquark.c: (_priv_gst_quarks_initialize):
344 Fix printf format warning.
346 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
348 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
349 Fix flow aggregation of tee. Error out immediately for all flow returns
350 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
351 and return OK if at least one pad is linked.
353 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
354 and otherwise returned the flow return of the last pad, which is wrong.
356 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
357 (GST_START_TEST), (tee_suite):
358 Add unit tests for the flow aggregation.
360 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
362 * docs/design/part-TODO.txt:
363 Remove item from the todo list because it was fixed with the latency
364 state change rewrites.
366 * docs/design/part-seeking.txt:
367 * docs/design/part-segments.txt:
370 * gst/gstevent.c: (gst_event_new_new_segment_full),
371 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
372 (gst_event_parse_buffer_size), (gst_event_new_qos),
373 (gst_event_parse_qos), (gst_event_new_seek),
374 (gst_event_parse_seek), (gst_event_new_latency),
375 (gst_event_parse_latency):
376 Use quarks to construct and parse events.
378 * gst/gstquark.c: (_priv_gst_quarks_initialize):
380 Add some more quarks to the table.
381 Emit a warning when the quark tables are not in sync.
383 * tests/check/gst/gstbus.c: (GST_START_TEST):
386 2008-10-13 Stefan Kost <ensonic@users.sf.net>
388 * plugins/elements/Makefile.am:
389 * plugins/indexers/Makefile.am:
390 Don't install static libs for plugins. Fixes #550851 for core.
392 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
394 * gst/gstbus.c: (gst_bus_source_finalize),
395 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
396 (gst_bus_enable_sync_message_emission),
397 (gst_bus_disable_sync_message_emission),
398 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
399 Fix deadlock, g_source_get_id() cannot be called in finalize.
400 Keep track of the watch source by keeping a pointer to the source object
402 Use the bus lock to protect access to the pointer to the current
405 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
407 Base on Patch by: Olivier Crete <tester at tester dot ca>
409 * gst/gstbus.c: (gst_bus_source_finalize),
410 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
411 Only allow one bus watch to be set at a time. This is necessary
412 because the dispatcher pops the message from the bus and the second
413 watcher will then get NULL or the next message (and the first won't
414 get this next message then, etc). If more than one "watcher" is
415 required signal watches should be used. Fixes bug #526044.
417 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
419 * tools/gst-launch.c:
420 Change the printing of the 'buffering...' output to avoid putting
421 a \r in a translateable string (flagged by the TP).
423 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
426 Clarify that the save_thyself() and restore_thyself() virtual
427 functions of GstObject need to be overriden, not
428 gst_object_(save|restore)_thyself() which is impossible.
431 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
433 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
434 Revert a patch from 21 months ago that broke caps negotiation in pull
435 mode. Basically, having a buffer pass over a pad will trigger the
436 setcaps function when caps change, just like in push mode.
438 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
440 * docs/design/part-negotiation.txt:
441 Update the docs some more.
443 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
444 If we pull a buffer with non-trivial caps, suggest those caps with the
447 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
449 * docs/design/part-TODO.txt:
450 Add another limitation of pad-blocking with segment seeks not pushing
453 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
455 * win32/common/libgstbase.def:
456 * win32/common/libgstreamer.def:
457 Add new symbols to the win32 defs files
459 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
461 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
462 (gst_bin_handle_message_func):
463 The message src can be NULL, don't try to print the object names in that
466 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
467 Add some more debug info.
469 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
472 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
475 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
477 * docs/design/part-negotiation.txt:
480 * docs/libs/gstreamer-libs-sections.txt:
481 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
482 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
483 (gst_base_sink_init), (gst_base_sink_set_blocksize),
484 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
485 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
486 (gst_base_sink_loop), (gst_base_sink_pad_activate),
487 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
488 (gst_base_sink_change_state):
489 * libs/gst/base/gstbasesink.h:
490 Add blocksize property and methods to control the amount of data
492 Negotiate first before activating upstream in pull mode so that they can
493 negotiate themselves.
494 When we operate in pull mode, we only accept the caps that we
496 Make the sink go ASYNC to PAUSED, like all other sinks.
497 API: GstBaseSink::gst_base_sink_set_blocksize()
498 API: GstBaseSink::gst_base_sink_get_blocksize()
499 API: GstBaseSink::blocksize
501 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
502 (gst_base_src_set_live), (gst_base_src_is_live),
503 (gst_base_src_set_format), (gst_base_src_query_latency),
504 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
505 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
506 (gst_base_src_set_property), (gst_base_src_get_property):
507 * libs/gst/base/gstbasesrc.h:
508 Add typechecking in public API functions.
509 Add methods to control the blocksize in subclasses.
510 API: GstBaseSrc::gst_base_src_set_blocksize()
511 API: GstBaseSrc::gst_base_src_get_blocksize()
513 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
515 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
516 (buffer_probe), (event_probe), (GST_START_TEST):
517 We now see 3 events go through our pad, since basesink now sends
518 upstream latency events.
520 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
522 * gst/gstpipeline.c: (gst_pipeline_change_state):
523 Release the object lock before trying to flush the bus.
525 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
527 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
528 Forward LATENCY events upstreams so that elements know about the total
529 pipeline latency. Fixes #555307.
531 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
533 * plugins/elements/gstqueue.c:
534 Allow through queries when we don't know how
535 to adjust them (not TIME or BYTES), as otherwise it's
536 not possible to query the current position in order
537 to seek in other formats at all.
539 2008-10-08 Andy Wingo <wingo@pobox.com>
541 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
543 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
547 Unbreak -good build, private is a reserved c++ keyword.
549 2008-10-08 Andy Wingo <wingo@pobox.com>
551 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
552 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
553 removal: re-add GST_GHOST_PAD_CAST to the header.
555 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
556 (GstGhostPadClass): Publically expose these structures so as to
557 allow easy subclassing from C. Hide the member data behind a
558 private opaque data pointer.
560 * gst/gstghostpad.c: Adapt to store instance data in the type
561 instance's private data region, not in the public struct.
563 2008-10-08 Andy Wingo <wingo@pobox.com>
565 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
566 template via g_object_get(), be sure to unref it.
568 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
570 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
572 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
573 If we can't get a cache file don't try to save something to it.
574 Dereferencing NULL pointers usually isn't a good idea.
576 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
578 * tests/check/Makefile.am:
579 * tests/check/gst/gstabi.c:
580 * tests/check/gst/struct_sparc.h:
581 * tests/check/libs/libsabi.c:
582 * tests/check/libs/struct_sparc.h:
585 * tests/check/gst/gstvalue.c: (GST_START_TEST):
586 Cast signed integer to unsigned to avoid a compiler warning.
588 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
590 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
591 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
592 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
593 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
594 (gst_byte_reader_peek_int24_be):
595 Use new GST_READ_UINT24_(LE|BE) macros.
597 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
599 * docs/gst/gstreamer-sections.txt:
601 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
602 as it's too easy to break the ISO C strict aliasing rules with simple
603 casts to the corresponding type and this would introduce hard to debug
604 bugs. Fixes bug #545714.
606 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
608 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
610 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
611 * gst/gstghostpad.c: (gst_ghost_pad_construct):
612 Add 'Since' bits to gtk-doc chunks for new API.
614 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
616 * docs/gst/gstreamer-sections.txt:
619 2008-10-06 Andy Wingo <wingo@pobox.com>
621 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
622 that will be called on the malloc_data to free it. Basically a way
623 to avoid subclassing when all you need is a different free
624 function, i.e. free() instead of g_free().
626 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
627 calling the free function.
628 (gst_buffer_init): Initialize the free function to g_free.
630 2008-10-06 Andy Wingo <wingo@pobox.com>
633 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
634 finishes the initialization of ghost pad. Useful for language
635 bindings and subclassers of GstGhostPad. Fixes #539108.
636 (gst_ghost_pad_new_full): Use the new constructor.
638 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
640 Base on Patch by: Olivier Crete <tester at tester dot ca>
642 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
643 (gst_bin_remove_func), (update_degree),
644 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
645 Keep track of pads that are being linked/unlinked and resync the state
648 * gst/gstpad.c: (gst_pad_get_direction),
649 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
650 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
651 (gst_pad_link_prepare), (gst_pad_link),
652 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
653 (gst_pad_check_pull_range), (gst_pad_get_range),
654 (gst_pad_pull_range):
655 Some code cleanups, use macros to check pad direction.
656 Don't need to take the lock on the pad direction.
657 Post structure change when pads are linked/unlinked.
658 Change some checks into _return_if_fail().
660 * tests/check/gst/gstbin.c:
661 (test_link_structure_change_state_changed_sync_cb),
662 (GST_START_TEST), (gst_bin_suite):
663 Add testcase for pad link/unlinke resync during a state change.
666 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
668 * docs/gst/gstreamer-sections.txt:
669 * gst/gstmessage.c: (gst_message_new_structure_change),
670 (gst_message_parse_structure_change):
672 Implement STRUCTURE_CHANGED messages. These messages will be used to
673 signal the parent bin of link/unlink operations that could require a
674 resync when doing a state change. See ##510354.
675 API: gst_message_new_structure_change()
676 API: gst_message_parse_structure_change()
678 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
682 Add some more quarks for new message. See #510354.
684 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
686 * docs/libs/gstreamer-libs-docs.sgml:
687 * docs/libs/gstreamer-libs-sections.txt:
688 * libs/gst/base/Makefile.am:
689 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
690 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
691 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
692 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
693 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
694 (gst_bit_reader_skip_to_byte):
695 * libs/gst/base/gstbitreader.h:
696 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
697 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
698 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
699 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
700 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
701 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
702 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
703 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
704 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
705 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
706 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
707 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
708 * libs/gst/base/gstbytereader.h:
709 * tests/check/Makefile.am:
710 * tests/check/libs/bitreader.c: (GST_START_TEST),
711 (gst_bit_reader_suite):
712 * tests/check/libs/bytereader.c: (GST_START_TEST),
713 (gst_byte_reader_suite):
714 API: Add bit reader and byte reader classes, including documentation
715 and an extensive unit test suite. Fixes bug #553554.
717 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
719 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
720 (gst_base_sink_query):
721 Improve position reporting while flushing and other intermediate state
722 changes. Fixes #553874.
724 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
726 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
728 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
729 Original patch by : Simon Descaries
730 Fix small refount leak in caps compatibility check.
733 2008-10-06 Stefan Kost <ensonic@users.sf.net>
735 * docs/pwg/advanced-request.xml:
736 Fix 0.8 api usage in example. Fixes #554561
738 * docs/pwg/appendix-porting.xml:
739 Change 0.9 to 0.10 here.
741 2008-10-06 Stefan Kost <ensonic@users.sf.net>
743 * docs/manual/basics-data.xml:
744 Change "event-event interaction" to "element-element interaction".
745 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
748 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
751 Back to development -> 0.10.21.1
753 === release 0.10.21 ===
755 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
758 releasing 0.10.21, "Take These Things From Me"
760 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
763 0.10.20.4 pre-release
765 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
767 * libs/gst/base/gstbasetransform.c:
768 * plugins/elements/gstcapsfilter.c:
769 * tests/check/Makefile.am:
770 * tests/check/elements/.cvsignore:
771 * tests/check/elements/capsfilter.c:
772 Fix assertion in basetransform when the subclass chooses not to
773 allocate a buffer in prepare_buffer(), and make capsfilter error out
774 cleanly if requested to apply caps that don't completely specify the
775 buffer. Fixes #551509
777 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
779 * libs/gst/base/gstbasetransform.c:
780 (gst_base_transform_prepare_output_buffer):
781 Take new caps ref because our old one might have been gone when the
782 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
784 2008-09-15 Stefan Kost <ensonic@users.sf.net>
787 Do not probe availability of check unit test library when cross
788 compiling, as test would not work anyway. Also cleanup verbose output
789 of the check test. Fixes #551952.
791 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
793 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
795 * gst/gstelement.c: (gst_element_sync_state_with_parent):
796 Avoid leaking the parent ref when we fail changing the state of the
797 element using gst_element_sync_state_with_parent(). Fixes #551978.
799 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
801 * docs/manual/intro-motivation.xml::
802 Remove some bits that no longer apply, update others (#551642).
804 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
807 0.10.20.2 pre-release
815 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
817 * win32/common/config.h.in:
818 Add GST_DATADIR, hard-code cpu to x86.
820 * win32/common/libgstreamer.def:
823 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
826 Fix Since: markers for new geo tags.
828 2008-09-02 Stefan Kost <ensonic@users.sf.net>
831 Fix actual tag name define after renaming from altitude to elevation.
833 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
835 * gst/gstpad.c: (add_unref_pad_to_list),
836 (gst_pad_get_internal_links_default):
837 Add fallback when calling the deprecated function on an element that
838 implements the new internal_link handler.
840 2008-09-01 Stefan Kost <ensonic@users.sf.net>
842 * docs/gst/gstreamer-sections.txt:
845 Add new tags for geo location and clarify purpose of existing location
848 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
850 Patch by: Olivier Crete <tester at tester dot ca>
852 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
853 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
854 Use thread-safe internal links iterator. Fixes #549504.
856 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
858 Based on patch by: Olivier Crete <tester at tester dot ca>
860 * docs/gst/gstreamer-sections.txt:
861 * win32/common/libgstreamer.def:
862 * gst/gstpad.c: (gst_pad_init),
863 (gst_pad_set_iterate_internal_links_function),
864 (int_link_iter_data_free), (iterate_pad),
865 (gst_pad_iterate_internal_links_default),
866 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
868 Add threadsafe replacement functions for getting internal links of an
869 element. Deprecate the old internal links functions.
870 API:GstPad::gst_pad_set_iterate_internal_links_function()
871 API:GstPad::GstPadIterIntLinkFunction
872 API:GstPad::gst_pad_iterate_internal_links()
873 API:GstPad::gst_pad_iterate_internal_links_default()
875 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
876 (gst_proxy_pad_init):
877 Implement threadsafe internal links.
879 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
880 Unit test for internal links on tee. See #549504.
882 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
884 * tests/check/Makefile.am:
885 libs/transform1 test requires libs/test_transform.c
887 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
889 * gst/gstpad.c: (gst_pad_get_internal_links_default):
890 Die evil deadlock, die !
892 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
894 * gst/gstutils.c: (gst_element_get_compatible_pad):
895 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
896 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
897 Fix all leaks due to the bug in gst_pad_template_new() by which it does
898 not steal the refcount of the given caps as stated.
900 REVERT THIS COMMIT ONCE FIXED !
901 REVERT THIS COMMIT ONCE FIXED !
902 REVERT THIS COMMIT ONCE FIXED !
903 REVERT THIS COMMIT ONCE FIXED !
904 REVERT THIS COMMIT ONCE FIXED !
905 REVERT THIS COMMIT ONCE FIXED !
907 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
911 After 3 years it's about time to revise the documentation of the
914 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
916 * gst/gstpad.c: (gst_pad_get_internal_links_default):
917 Make the internal links function less thread-unsafe and add some
920 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
923 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
924 build with --disable-gst-debug.
926 2008-08-28 David Schleef <ds@schleef.org>
928 * gst/gstpadtemplate.c: Revert last change, since it breaks
929 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
930 but shouldn't be enabled until we've released fixed versions
931 of -good and -ffmpeg.
933 2008-08-28 Stefan Kost <ensonic@users.sf.net>
936 Put the gst_object_get_name() back in.
938 2008-08-28 Stefan Kost <ensonic@users.sf.net>
940 * gst/gstpadtemplate.c:
941 The old behaviour was that gst_pad_template_new() takes ownership of
942 the caps. As we now call g_object_new() which calls g_object_set() and
943 which copies the caps, we have to unref them to not leak them. Fixes
946 2008-08-28 Stefan Kost <ensonic@users.sf.net>
949 Don't segfault on input like "tel:+1-123-555-1234".
951 2008-08-27 Stefan Kost <ensonic@users.sf.net>
954 Due to popular request also include ObjectType in
955 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
957 2008-08-26 David Schleef <ds@schleef.org>
959 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
960 src_val must be positive, because that's not a requirement.
961 This causes problems with converting negative granulepos
963 * gst/gstquery.c: Same, gst_query_new_convert().
965 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
967 * gst/gstclock.c: (gst_clock_add_observation):
968 Add some more debugging to the clock slaving code.
970 * win32/common/libgstbase.def:
971 Add new basetransform method.
973 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
975 * gst/gstbin.c: (gst_bin_element_set_state):
976 Take the (recursive) state lock between getting the locked state of an
977 element and changing the element state. This allows the application to
978 lock an element's state and then change its state without races.
980 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
982 * gst/gstbin.c: (gst_bin_element_set_state):
983 When an element is in the locked state we still want to update the
984 base_time of the element.
986 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
988 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
989 Use the result from gst_pad_set_caps() instead of assuming the element
990 always accepted the caps computed by the default negotiate function.
992 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
994 * docs/libs/gstreamer-libs-sections.txt:
995 * libs/gst/base/gstbasetransform.c:
996 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
997 (gst_base_transform_chain), (gst_base_transform_suggest),
998 (gst_base_transform_reconfigure):
999 * libs/gst/base/gstbasetransform.h:
1000 Implement method for reconfiguring basetransform.
1001 API: GstBaseTransform::gst_base_transform_reconfigure()
1003 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1005 patch by: Murray Cumming <murrayc@murrayc.com>
1008 Mention that this is just like gst_buffer_merge() but with extra
1009 unreffing for C coders. Advise language bindings not to wrap it.
1012 Also fix file comment.
1014 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1016 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1018 * plugins/elements/gstfakesink.c:
1019 * plugins/elements/gstfakesrc.c:
1020 Call super::event() when not handling it. Fixes #544855.
1022 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1024 Patch by: Alessandro Decina <alessandro@nnva.org>
1025 * plugins/elements/gstfilesrc.c:
1026 Use 64 bit variants of stat functions on win32, to enable support
1027 of large files there.
1030 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1032 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1033 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1034 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1035 (gst_base_sink_get_position), (gst_base_sink_change_state):
1036 Improve position reporting in the flushing state.
1037 Also report the position when we are not yet prerolled but we
1038 have a newsegment event. Fixes #543444.
1039 Improve the pull-based negotiation code.
1041 * tests/check/elements/fakesink.c: (GST_START_TEST),
1043 Add testcase for position reporting while flushing in PAUSED and
1046 * tests/check/generic/sinks.c: (GST_START_TEST):
1047 Update unit-test, we can now query the position as soon as we receive a
1050 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1052 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1054 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1055 When the subclass event handler releases the PREROLL_LOCK, we could be
1056 in the flushing state and we have to ignore the event. Fixes #548394.
1058 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1060 * tools/gst-launch.1.in:
1061 Document GST_REGISTRY_UPDATE environment variable.
1063 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1065 * libs/gst/base/gstbasetransform.c:
1066 (gst_base_transform_prepare_output_buffer):
1067 If the element is configured in passthrough mode but the
1068 prepare_output_buffer gave us a new output buffer, discard that buffer
1069 and reuse the input buffer.
1071 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1073 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1075 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1076 (gst_tee_request_new_pad), (gst_tee_release_pad),
1077 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1078 * plugins/elements/gsttee.h:
1079 Protect pad_alloc with a new lock so that we can be sure that nothing is
1080 performing a pad_alloc when removing the pad. Fixes #547835.
1082 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1083 (buffer_alloc_harness_teardown), (app_thread_func),
1084 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1085 Added testcase for shutdown race.
1087 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1092 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1094 * libs/gst/base/gstbasetransform.c:
1095 (gst_base_transform_prepare_output_buffer),
1096 (gst_base_transform_buffer_alloc):
1097 Go over the buffer_alloc function again and make sure we always end up
1098 allocating a buffer.
1100 Avoid doing pad alloc when we have a pending suggestion because we
1101 cannot yet deal with changing caps in that case. Fixes #547728
1103 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1105 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1107 * docs/manual/advanced-clocks.xml:
1108 * docs/manual/clocks.png:
1109 * docs/manual/diagrams-clocks.svg:
1110 Add one more image showing different times together with a describing
1111 paragraph. Fixes #547729.
1113 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1115 * win32/common/libgstbase.def:
1118 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1120 * libs/gst/base/gstbasetransform.c:
1121 (gst_base_transform_transform_caps),
1122 (gst_base_transform_prepare_output_buffer),
1123 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1124 Don't overwrite the outsize when calculating the expected size of a new
1125 buffer because we still need it in case we cannot process the new
1127 When converting the size of the new buffer to an upstream size, actually
1128 use the expected size of the buffer, not some other random value.
1129 Use an atomic int to signal that a new upstream caps suggestion is
1131 When we can convert the current buffer to a new format, check if the
1132 buffer size is of the expected size and allocate a new buffer of the
1133 expected size when this is not the case. Fixes #546883.
1135 * tests/check/libs/transform1.c: (GST_START_TEST):
1136 remove ifdeffed code from the unit test.
1138 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1140 * pkgconfig/gstreamer-uninstalled.pc.in:
1141 * pkgconfig/gstreamer.pc.in:
1142 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1143 called gstcontroller-0.10.
1145 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1147 * gst/gstchildproxy.h:
1149 Remove double interface from doc-string.
1151 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1153 * libs/gst/base/gstbasesrc.c:
1154 * libs/gst/base/gstbasetransform.c:
1155 Fix headings in docs and gtk-doc warnings.
1157 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1159 * gst/gstregistrybinary.c:
1160 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1164 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1166 * libs/gst/base/gstbasetransform.c:
1167 (gst_base_transform_buffer_alloc):
1168 Fix a "may be used unitialized" warning.
1170 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1172 * docs/gst/gstreamer-sections.txt:
1174 Document preset-iface vmethods.
1176 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1178 * docs/manual/advanced-interfaces.xml:
1179 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1180 only used to discover devices.
1182 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1184 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1186 * gst/gst.c: (init_pre):
1187 Make sure gettext returns translations in UTF-8 encoding rather
1188 than in the current locale encoding (#546822).
1190 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1192 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1195 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1196 Improve unit test subset tests and add a testcase for the subset failure
1199 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1200 Improve subtraction unit test.
1202 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1204 * plugins/elements/gsttee.c:
1205 Unlock, instead of locking again.
1207 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1210 Clarify the docs a bit more.
1212 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1214 * tests/examples/metadata/read-metadata.c:
1215 Don't leak old taglist.
1217 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1219 Patch by: Olivier Crete <tester at tester dot ca>
1221 * gst/gststructure.c:
1222 (gst_structure_fixate_field_nearest_fraction):
1223 Avoid overflows in fixation code when dealing with MAXINT values, which
1224 v4l2src seems to do.
1227 * tests/check/gst/gststructure.c: (GST_START_TEST):
1228 Make a unit test to check the fix.
1230 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1232 * plugins/elements/gstcapsfilter.c: (copy_func),
1233 (gst_capsfilter_set_property):
1234 Use new caps suggestion feature of basetransform to request a caps
1235 negotiation upstream.
1237 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1239 * docs/libs/gstreamer-libs-sections.txt:
1241 API: GstBaseTransform::gst_base_transform_suggest()
1243 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1244 (gst_base_transform_init), (gst_base_transform_transform_caps),
1245 (gst_base_transform_transform_size),
1246 (gst_base_transform_configure_caps),
1247 (gst_base_transform_can_transform),
1248 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1249 (gst_base_transform_prepare_output_buffer),
1250 (gst_base_transform_buffer_alloc),
1251 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1252 (gst_base_transform_chain), (gst_base_transform_activate),
1253 (gst_base_transform_set_passthrough),
1254 (gst_base_transform_is_passthrough),
1255 (gst_base_transform_set_in_place),
1256 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1257 (gst_base_transform_set_qos_enabled),
1258 (gst_base_transform_is_qos_enabled),
1259 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1260 (gst_base_transform_reconfigure):
1261 * libs/gst/base/gstbasetransform.h:
1262 Rewrite of basetransform to perform negotiation outside of the
1263 buffer_alloc functions. Fixes #545853.
1265 * tests/check/libs/transform1.c: (GST_START_TEST),
1269 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1271 * tests/check/gst/gstpreset.c:
1272 Only run preset tests when $HOME is writable. Preliminary fix for
1275 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1277 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1278 (gst_bin_change_state_func), (bin_handle_async_done),
1279 (gst_bin_handle_message_func):
1280 Fix race for bins that simulate ASYNC state changes by inserting
1281 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1282 pending ASYNC messages even when the bin does not have ASYNC children.
1283 We note detect this behaviour because we will receive an ASYNC message
1284 that is originating from the bin itself.
1285 Fixes races with decodebin2 state changes.
1287 * tests/check/gst/gstbin.c: (GST_START_TEST):
1288 Add some more debug.
1290 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1292 * gst/gsttaglist.c: (_gst_tag_initialize):
1295 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1298 Argh. actually save the text before committing. Now adds
1299 gst_tag_merge_strings_with_comma() to gst_tag_register().
1301 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1305 Do as tim pointed out and actually register the new tag. Also improve
1306 te docs and use gst_tag_merge_strings_with_comma() method to allow
1307 retriving all keywords merged in one list.
1309 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1312 * docs/gst/gstreamer.types:
1313 Revert 'accidential' change of the configure option removal. We still
1314 need to generate the types file in configure --disable-load-save.
1316 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1318 * docs/gst/gstreamer-sections.txt:
1320 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1322 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1324 * gst/gstpadtemplate.c:
1325 (gst_pad_template_class_init), (gst_static_pad_template_get),
1326 (gst_pad_template_new), (gst_pad_template_pad_created),
1327 (gst_pad_template_set_property), (gst_pad_template_get_property):
1328 Add "name-template", "direction", "presence" and "caps" properties,
1329 so that gst_pad_template_new() is just a thin wrapper around
1330 g_object_new(), which is better for bindings. (Fixes: #539772)
1332 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1335 Be more liberal in what URIs we accept.
1336 Do not unescape bits of the URI for no apparent reason before passing to
1337 the element. Fixes #545352.
1339 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1341 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1344 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1346 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1349 * docs/gst/gstreamer-sections.txt:
1350 * docs/gst/gstreamer.types:
1351 * docs/gst/gstreamer.types.in:
1354 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1355 * gst/gstconfig.h.in:
1356 * gst/gstelement.c: (gst_element_get_index):
1357 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1358 (gst_registry_binary_load_feature),
1359 (gst_registry_binary_read_cache):
1360 * gst/gstregistryxml.c: (load_feature),
1361 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1362 * plugins/Makefile.am:
1364 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1365 (print_plugin_features), (print_element_features):
1366 * tools/gst-xmlinspect.c: (print_event_masks),
1367 (print_element_info):
1368 * win32/common/gstconfig.h:
1369 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1371 Disabling the indexers and URI handler code will only reduce the
1372 required amount of memory by a very small amount but on the other hand
1373 requires much more maintaince work. Apart from that many places of
1374 code are broken when disabling them.
1376 Disabling the enum types doesn't reduce the required amount of memory
1377 by more than a few bytes and makes it hard to fix bugs like #539772,
1378 i.e. use the enums as GObject properties.
1380 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1382 * docs/design/part-TODO.txt:
1383 Add some thoughts and problems with upstream renegotiation.
1385 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1387 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1388 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1389 Remove silly redundant debug.
1390 Add some more debug info.
1391 Clarify the docs regarding new caps received from pad_alloc.
1393 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1395 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1396 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1397 Make setting the caps more threadsafe.
1399 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1401 * docs/design/part-element-transform.txt:
1404 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1406 * plugins/elements/gstqueue.c: (gst_queue_init),
1407 (gst_queue_acceptcaps):
1408 Add and use a custom acceptcaps function instead of falling back to the
1409 potentially less optimized default implementation.
1411 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1413 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1414 Only sanity-check the buffer size if requested_caps == buffer_caps
1415 (ie. don't take pad caps into account, they're not relevant here)
1417 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1419 * plugins/elements/gsttee.c:
1420 * plugins/elements/gsttee.h:
1421 Reverting as not everything is clear yet. Needs some general design
1424 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1427 ChangeLog surgery for tee commit.
1429 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1431 * docs/gst/gstreamer-sections.txt:
1432 Cleanup section-file.
1434 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1436 * plugins/elements/gsttee.c:
1437 * plugins/elements/gsttee.h:
1438 Relay tag events in tee. Fixes parts of #474016.
1439 Downgrades 3 reoccurring debugs to log.
1441 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1444 * libs/gst/Makefile.am:
1445 Build the net library if we have winsock2.
1447 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1449 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1451 * docs/manual/advanced-threads.xml:
1452 * docs/manual/diagrams-pipelines.svg:
1453 * docs/manual/hello-world.png:
1454 * docs/manual/linked-elements.png:
1455 * docs/manual/mime-world.png:
1456 * docs/manual/queue.png:
1457 * docs/manual/thread-buffering.png:
1458 * docs/manual/thread-synchronizing.png:
1459 Replace one diagram with two separate ones and updates others.
1462 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1465 Fix link in documentation.
1467 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1470 Fix confusing documentation.
1472 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1474 * libs/gst/base/gstbasesrc.h:
1475 revert the changes to the header file for the ABI.
1477 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1479 * libs/gst/base/gstbasesrc.c:
1480 * libs/gst/base/gstbasesrc.h:
1481 Don't cache the seekable status.
1484 2008-07-24 Rene Stadler <mail@renestadler.de>
1486 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1487 code to close the pipeline graph. This prevents the program from
1488 printing internal data flow errors.
1490 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1492 * docs/manual/basics-bus.xml:
1493 Correct typo. Fixes bug #544320.
1495 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1498 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1499 Add check (taken from -base) for winsock, adds WIN32_LIBS
1501 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1503 Define GST_EXPORTS when building libgstreamer (only used on win32)
1504 * gst/gst_private.h:
1506 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1507 for symbols that we need to export in both these files.
1509 Include gst_private.h higher up to avoid some compile problems on win32.
1511 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1516 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1519 Previous commit was wrong NULL caps does not exist
1520 and indicate an error, so also add a FIXME to
1521 gst_caps_is_equal where NULL caps are accepted.
1523 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1526 Allow passing of NULL to gst_caps_union
1528 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1530 * gst/gstghostpad.c:
1531 Add in doc that gst_ghost_pad_set_target can accept
1532 NULL to clear target
1534 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1537 * gst/gstregistry.c:
1538 GstRegistryPool doesn't exist; don't refer to it in docs.
1539 Don't refer to functions that don't exist in docs, it's
1542 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1545 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1547 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1549 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1551 * docs/pwg/building-testapp.xml:
1552 Don't use an undeclared variable in the example program.
1555 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1557 * gst/gstdebugutils.c:
1558 Squeeze ghost-pad links and remove <> from classname labels to save
1559 more horizontal space.
1561 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1563 * gst/gstdebugutils.c:
1564 Give request and sometimes pads a different shpe style. Condense the
1565 graphs a little more.
1567 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1570 Don't require flex and bison if the parser is disabled.
1572 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1574 * libs/gst/controller/gstinterpolationcontrolsource.c:
1575 (_list_find_sorted_custom):
1576 Don't use declarations after statements.
1578 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1580 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1581 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1582 of the the child-added / -removed signals as GstChildProxy
1583 only supports GstObjects.
1585 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1587 * gst/gstdebugutils.c:
1590 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1592 Patch by: Alessandro Decina <alessandro at nnva dot org>
1595 Fix "ignored return value" compiler warning with newer glibc.
1597 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1599 * gst/gstchildproxy.c:
1600 Fix copy&paste error in gst_child_proxy_removed() documentation.
1602 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1604 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1605 Print error debug message if plugin description fields that should
1608 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1609 Don't crash if the string to serialise is NULL (it really should
1610 not be, but apparently this used to work with the xml registry ...).
1612 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1614 * tools/gst-plot-timeline.py:
1615 Fix parsing of log messages
1617 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1619 * win32/common/libgstbase.def::
1620 Sort alphabetically so make check-exports doesn't barf.
1622 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1625 Use gst_format_get_name() to improve debug output.
1628 Remove #ifdef'ed code. Add TODO comment.
1631 Add debug output to ease spotting format != segment.format assertions.
1633 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1635 * tests/check/libs/gdp.c: (gst_dp_suite):
1636 Also enable the GDP unit test again on PPC now that the bug
1639 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1641 * libs/gst/dataprotocol/dataprotocol.c:
1642 Don't write to the same region of memory as a uint64 and uint16
1643 as this breaks strict aliasing rules and apparantly breaks on PPC
1644 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1646 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1648 * libs/gst/controller/gstinterpolationcontrolsource.c:
1649 Optimize list handling. Use own find function. Exploit that fact that
1650 the list is sorted. Also pass back the node before, so that we can
1651 insert quickly. Have a fast path for append.
1653 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1655 * docs/design/draft-framestep.txt:
1656 * docs/design/part-negotiation.txt:
1659 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1662 Show configuration sumary after configure run. Based on patch by
1663 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1665 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1667 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1669 * docs/manual/advanced-autoplugging.xml:
1670 * docs/manual/advanced-threads.xml:
1671 * docs/manual/basics-bins.xml:
1672 * docs/manual/basics-elements.xml:
1673 * docs/manual/basics-helloworld.xml:
1674 * docs/manual/basics-pads.xml:
1675 Add scale factor for pdf output.
1677 * docs/manual/intro-basics.xml:
1678 Switched sections "pads" and "bins" and added a pipeline diagram.
1680 * docs/manual/intro-gstreamer.xml:
1681 Added more info on gstreamer.
1683 * docs/manual/intro-motivation.xml:
1684 Commented out the whole section "current problem", which sounds
1685 historical and somehow osolete; it could be turned in a positive
1686 way and reused to improve the design principles.
1688 * docs/manual/intro-preface.xml:
1689 - Update URLs to library.gnome.org.
1690 - Do not mention GTK+ in preliminary reading (irrelevant).
1691 - Mention Plugin Writer's Manual and further reading only in the
1693 - Added a list of most relevant GObject/glib topics.
1695 * docs/manual/Makefile.am:
1696 * docs/manual/bin-element-ghost.fig:
1697 * docs/manual/bin-element-ghost.png:
1698 * docs/manual/bin-element-noghost.fig:
1699 * docs/manual/bin-element-noghost.png:
1700 * docs/manual/bin-element.fig:
1701 * docs/manual/bin-element.png:
1702 * docs/manual/filter-element-multi.fig:
1703 * docs/manual/filter-element-multi.png:
1704 * docs/manual/filter-element.fig:
1705 * docs/manual/filter-element.png:
1706 * docs/manual/gstreamer-overview.png:
1707 * docs/manual/hello-world.fig:
1708 * docs/manual/hello-world.png:
1709 * docs/manual/linked-elements.fig:
1710 * docs/manual/linked-elements.png:
1711 * docs/manual/mime-world.fig:
1712 * docs/manual/mime-world.png:
1713 * docs/manual/queue.fig:
1714 * docs/manual/queue.png:
1715 * docs/manual/simple-player.png:
1716 * docs/manual/sink-element.fig:
1717 * docs/manual/sink-element.png:
1718 * docs/manual/src-element.fig:
1719 * docs/manual/src-element.png:
1720 * docs/manual/diagrams-general.svg:
1721 * docs/manual/diagrams-pipelines.svg:
1722 Removed .fig, added .png counterpart.
1726 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1728 * plugins/elements/gstmultiqueue.c:
1729 * plugins/elements/gstmultiqueue.h:
1730 revert extra-size-buffers stuff, caused some race conditions
1731 and extra-size-buffers is not used anymore. Docs needs some updates
1733 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1735 * win32/common/config.h:
1736 * win32/common/gstenumtypes.c:
1737 * win32/common/gstenumtypes.h:
1738 * win32/common/gstversion.h:
1741 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1743 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1744 (GST_DEBUG_BIN_TO_DOT_FILE):
1745 Add missing Since' markers to gtk-doc blurbs.
1747 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1749 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1750 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1751 (set_caps_1), (set_caps_ct1), (transform_ct1),
1752 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1753 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1754 (transform_size_ct2), (buffer_alloc_ct2):
1755 Add some more tests with switching caps in buffer_alloc.
1757 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1759 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1760 (gst_test_trans_class_init), (result_sink_chain),
1761 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1762 (gst_test_trans_push), (gst_test_trans_pop):
1763 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1764 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1765 (set_caps_1), (set_caps_ct1), (transform_ct1),
1766 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1767 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1768 (transform_size_ct2), (buffer_alloc_ct2),
1769 (gst_basetransform_suite):
1770 More tests, prepare for tests with switching caps in buffer_alloc.
1772 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1774 * plugins/elements/gstmultiqueue.c:
1775 * plugins/elements/gstmultiqueue.h:
1776 Fix dead-lock in underrun_cb
1778 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1780 * docs/design/part-states.txt:
1781 Fix device open/close docs.
1783 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1786 Mention bugnumber for last commit.
1788 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1790 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1792 * docs/manual/manual.xml:
1793 - Reorganised the previous "introduction" bundle into Foreword,
1794 Introduction, and About GStreamer. The two first are <preface>
1795 docbook elements. The later is the first part of the book.
1796 - added intro-gstreamer.xml (content partially from
1798 - moved appendix-win32.xml into appendix-integration.xml
1800 * docs/manual/intro-preface.xml: gstreamer section moved...
1801 * docs/manual/intro-gstreamer.xml: ...here. new file.
1803 * docs/manual/appendix-win32.xml: removed file. Content moved...
1804 * docs/manual/appendix-integration.xml: ...here.
1806 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1807 * docs/manual/appendix-checklist.xml: ...here.
1811 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1813 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1815 * docs/manual/basics-helloworld.xml:
1816 * docs/manual/hello-world.fig:
1817 - Explicitely include glib.h.
1818 - Do not use global variables.
1819 - Use g_printerr() instead of g_print().
1820 - Minor formating/renaming to increase readibility.
1821 - Renamed new_pad() to on_pad_added()
1822 - Improved explenatory comments.
1823 - renamed ogg parser to ogg demuxer
1824 - Use "autoaudiosink" instead of "alsasink".
1827 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1830 Remove cvs conflict marker.
1832 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1835 Document that for plgin-docs we extraxt he short-desc from the element
1838 * docs/design/part-states.txt:
1839 Tell that devices should be closed in PAUSED -> READY.
1841 * docs/manual/README:
1842 Document how tests in the manual are handled.
1847 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1849 * gst/gstbin.c: (bin_query_latency_fold):
1850 Only care about latency min and max when the sink is actually a live
1853 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1855 * docs/design/part-block.txt:
1858 * docs/design/part-element-transform.txt:
1859 Add notes about why transform needs to know input/output sizes.
1860 Add some issues that need to be solved.
1861 Add some more use cases.
1863 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1864 (gst_test_trans_class_init), (result_sink_chain),
1865 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1866 (gst_test_trans_push), (gst_test_trans_pop):
1867 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1868 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1869 (set_caps_1), (set_caps_ct1), (transform_ct1),
1870 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1871 (gst_basetransform_suite):
1872 Add suport for different pad templates and buffer-alloc.
1873 Add more checks for caps and buffer-alloc.
1874 Add checks for proxy buffer alloc.
1875 Add unit test for copy transform.
1877 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1879 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1881 * docs/manual/appendix-integration.xml:
1882 * docs/manual/appendix-licensing.xml:
1883 * docs/manual/basics-elements.xml:
1884 * docs/manual/basics-helloworld.xml:
1885 * docs/manual/basics-pads.xml:
1886 * docs/manual/highlevel-components.xml:
1887 * docs/manual/highlevel-xml.xml:
1888 * docs/manual/intro-basics.xml:
1889 * docs/manual/intro-preface.xml:
1890 Typo and formatting fixes (#538594).
1892 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1894 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1895 Fix some memory leaks and uses of object instances that we don't
1898 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1900 * plugins/elements/gstmultiqueue.c:
1901 Add functionality to extra-size-buffers property.
1903 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1905 * plugins/elements/gstmultiqueue.c:
1906 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1907 activate the pads if they are added in STATE_NULL.
1909 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1911 * docs/libs/gstreamer-libs-sections.txt:
1913 * libs/gst/check/gstcheck.c:
1914 * libs/gst/check/gstcheck.h:
1915 API: gst_check_teardown_pad_by_name
1917 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1919 * libs/gst/check/gstcheck.c:
1920 * libs/gst/check/gstcheck.h:
1921 Also setup request pads and allow setup pads by name (#537812)
1922 API: gst_check_setup_src_pad_by_name
1923 API: gst_check_setup_sink_pad_by_name
1925 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1927 * tests/check/gst/gstbuffer.c:
1928 * tests/check/pipelines/parse-launch.c:
1929 Use HAVE_VALGRIND_H some more.
1931 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1933 * scripts/cvs-update.sh:
1934 Pass arguments to make.
1935 Run autoregen.sh if Makefile is not there.
1937 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1941 Don't assume that <valgrind/valgrind.h> exists just because
1942 the binary is there.
1944 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1946 * tests/check/Makefile.am:
1947 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1948 (gst_test_trans_class_init), (gst_test_trans_init),
1949 (gst_test_trans_set_data), (result_sink_chain),
1950 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1951 (gst_test_trans_pop):
1952 * tests/check/libs/transform1.c: (GST_START_TEST),
1953 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1954 Add some test basetransform element and the beginnings of various
1957 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1959 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1960 Increase code readability.
1961 Don't try to compare buffer offsets when ther are invalid.
1963 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1965 * docs/design/Makefile.am:
1966 Dist some more design docs.
1968 * docs/random/moving-plugins:
1969 Small addition: good plugins mustn't have functional code
1970 within assertion macros.
1972 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1974 * docs/design/draft-framestep.txt:
1975 Some ideas about a framestep API
1977 * docs/design/part-element-transform.txt:
1978 Start design and use cases for basetransform in order to get it
1981 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1984 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1985 be in UTF-8 encoding.
1987 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1990 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1992 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1994 * plugins/elements/gstcapsfilter.c:
1995 * plugins/elements/gstfakesink.c:
1996 * plugins/elements/gstfakesrc.c:
1997 * plugins/elements/gstfdsink.c:
1998 * plugins/elements/gstfdsrc.c:
1999 * plugins/elements/gstfilesink.c:
2000 * plugins/elements/gstfilesrc.c:
2001 * plugins/elements/gstidentity.c:
2002 * plugins/elements/gstmultiqueue.c:
2003 * plugins/elements/gstqueue.c:
2004 * plugins/elements/gsttee.c:
2005 * plugins/elements/gsttypefindelement.c:
2006 Remove short_description. Add basic docs for gsttypefindelement.
2007 Simplify markup for fakesrc/fdsrc.
2009 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2011 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2014 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2016 Patch by: Joel Larsson <tilljoel at gmail dot com>
2018 * docs/plugins/gstreamer-plugins.args:
2019 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2020 (gst_fd_src_init), (gst_fd_src_update_fd),
2021 (gst_fd_src_set_property), (gst_fd_src_get_property),
2022 (gst_fd_src_create):
2023 * plugins/elements/gstfdsrc.h:
2024 Add timeout property like udpsrc. Fixes #538628.
2025 Add some more docs and example pipelines.
2027 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2029 * docs/libs/gstreamer-libs-sections.txt:
2030 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2031 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2032 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2033 (gst_base_sink_do_sync):
2034 * libs/gst/base/gstbasesink.h:
2035 * win32/common/libgstbase.def:
2036 Add method to allow sinks to specify additional delay between the sync
2037 times and the actual rendering of the data.
2038 API: gst_base_sink_set_render_delay()
2039 API: gst_base_sink_get_render_delay()
2041 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2044 Bump version number back to dev -> 0.10.20.1
2046 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2048 * docs/gst/gstreamer-sections.txt:
2049 * gst/gsttaglist.c: (_gst_tag_initialize):
2051 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2054 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2056 * libs/gst/controller/gstcontroller.c:
2057 Revert one change, that make ret value possible uninitialized.
2059 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2061 * libs/gst/controller/gstcontroller.c:
2062 Use freeze/thaw notify to sync notify emission a bit (its also more
2063 efficient). Move debug output to LOG (is called a lot in a loop).
2064 Always unset g_values if the have been initialized.
2066 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2068 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2069 (gst_base_sink_wait_eos), (gst_base_sink_event):
2070 If we have not seen a buffer before EOS, use the segment values to
2071 report the current position instead of invalid positions.
2073 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2075 * docs/plugins/tmpl/.cvsignore:
2076 * tests/check/gst/.cvsignore:
2079 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2081 * libs/gst/controller/gstinterpolation.c:
2082 * libs/gst/controller/gstinterpolationcontrolsource.c:
2083 * tests/check/libs/controller.c:
2084 Rewrite handling of default values. Fix overflow with unsigned types
2085 in linear interpolation. Remove now obsolete _first_value() function.
2086 Add more tests. Fixes #538201.
2088 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2090 * libs/gst/base/gstbasetransform.c:
2091 (gst_base_transform_class_init), (gst_base_transform_init),
2092 (gst_base_transform_transform_caps),
2093 (gst_base_transform_prepare_output_buffer):
2095 When a buffer is writable, its metadata is also writable so we don't
2096 need to subbuffer (which then makes the buffer not-writable anymore).
2098 === release 0.10.20 ===
2100 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2103 releasing 0.10.20, "You Crazy Diamond"
2105 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2108 0.10.19.3 pre-release
2110 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2114 Rename DATADIR to GST_DATADIR to avoid build problems
2115 on win32. Patch By: David Schleef <ds@schleef.org>
2118 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2121 Explicitely link with -ldl if dladdr() is found there. Before it was
2122 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2123 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2125 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2127 * gst/gsterror.c: (_gst_stream_errors_init):
2128 Fix typo (spotted by Fabricio Godoy, #536723).
2130 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2133 0.10.19.2 pre-release
2135 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2137 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2138 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2140 Make sure we don't generate invalid QoS messages.
2142 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2144 * gst/gstevent.c: (gst_event_new_qos):
2145 Add some assert and docs for invalid input to the qos function.
2147 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2149 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2150 (gst_base_sink_get_position):
2151 The reported position must always be smaller than the last seen
2152 timestamps (or timestamp + duration for reverse).
2154 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2156 Patch by: Rob Bradford <rob at robster dot org dot uk>
2158 * gst/gstregistry.c: (gst_registry_scan_path_level):
2159 Don't recurse into .debug directories as some distros install
2160 the debugging symbols next to the plugins in .debug directories
2161 and dlopen() crashes on them sometimes. Fixes bug #508070.
2163 Add FIXME for 0.11 to not recurse into directories at all because
2164 it's very inconsistent to the behaviour of other PATH environment
2167 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2169 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2170 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2171 Fix position query range checks in reverse playback.
2173 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2177 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2178 clear of the reference to the resulting pad must be released later
2179 or not, resulting in possible leaks. Fixes bug #533865.
2181 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2183 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2185 * gst/gstelementfactory.c:
2186 Small doc fix. Fixes #535285.
2188 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2190 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2192 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2193 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2194 (gst_base_src_loop), (gst_base_src_set_flushing),
2195 (gst_base_src_change_state):
2196 Make sending an EOS event to the basesrc non-blocking even if the
2197 implementation does blocking waits in the create function. This is done
2198 by unlocking the create function when EOS is sent.
2201 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2203 * tools/gst-inspect.c: (print_element_properties_info):
2204 If possible print the element type of GValueArray properties.
2206 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2208 * gst/gstiterator.c:
2209 Remove an unused field from the private GstListIterator struct.
2211 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2213 * libs/gst/controller/gstcontroller.c:
2214 Add parameter guards.
2216 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2218 * tests/check/gst/gstpipeline.c:
2219 Revert test change and add comment why it should not work.
2221 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2223 * tests/check/gst/gstpipeline.c:
2224 Extending the test a little to verify that we also get the NULL state-
2227 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2229 * gst/gstpreset.c: (gst_preset_default_get_meta),
2230 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2231 (gst_preset_load_preset), (gst_preset_save_preset),
2232 (gst_preset_rename_preset), (gst_preset_delete_preset),
2233 (gst_preset_set_meta):
2234 Add Since: markers to docs blurbs.
2236 * win32/common/libgstreamer.def:
2237 Add recently-added API.
2239 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2241 Patch by: Stefan Kost <ensonic@users.sf.net>
2244 Add DATADIR for storing presets.
2246 * docs/gst/gstreamer-docs.sgml:
2247 * docs/gst/gstreamer-sections.txt:
2248 * docs/gst/gstreamer.types.in:
2249 Add GstPreset to docs.
2253 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2254 (preset_open_and_parse_header), (preset_parse_version),
2255 (preset_merge), (preset_get_keyfile),
2256 (gst_preset_default_get_preset_names),
2257 (gst_preset_default_get_property_names),
2258 (gst_preset_default_load_preset),
2259 (gst_preset_default_save_presets_file),
2260 (gst_preset_default_save_preset),
2261 (gst_preset_default_rename_preset),
2262 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2263 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2264 (gst_preset_default_reset), (gst_preset_get_preset_names),
2265 (gst_preset_get_property_names), (gst_preset_load_preset),
2266 (gst_preset_save_preset), (gst_preset_rename_preset),
2267 (gst_preset_delete_preset), (gst_preset_set_meta),
2268 (gst_preset_get_meta), (gst_preset_class_init),
2269 (gst_preset_base_init), (gst_preset_get_type):
2271 Add GstPreset to core. Fixes #396779
2273 * tests/check/Makefile.am:
2274 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2275 (gst_preset_test_set_property), (gst_preset_test_class_init),
2276 (gst_preset_test_base_init), (gst_preset_test_get_type),
2277 (gst_preset_test_plugin_init), (GST_START_TEST),
2278 (remove_preset_file), (test_setup), (test_teardown),
2280 Add GstPreset unit tests.
2282 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2284 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2285 The default event function on a sinkpad should return TRUE when
2286 there are no internal links but should collect the return values from
2287 the internal links otherwise.
2289 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2291 * plugins/elements/gsttypefindelement.c:
2292 (gst_type_find_element_src_event),
2293 (gst_type_find_element_handle_event):
2294 Use faster and safer _pad_push_event().
2296 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2298 * docs/gst/gstreamer-sections.txt:
2299 * gst/gstutils.c: (element_find_unlinked_pad),
2300 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2302 API: add gst_bin_find_unlinked_pad()
2303 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2305 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2311 Fixed a bunch of typos.
2313 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2316 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2317 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2318 (gst_parse_bin_from_description_full):
2320 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2322 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2324 * docs/pwg/advanced-tagging.xml:
2325 Small docs update, can't be bothered to rewrite the nonsensical
2328 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2331 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2333 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2335 * gst/parse/grammar.y:
2336 Remove unneeded casts.
2338 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2340 * gst/parse/grammar.y:
2341 * tests/check/pipelines/parse-launch.c:
2342 Get all missing elements from a parse launch string if possible
2343 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2345 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2347 * tests/check/Makefile.am:
2348 * tests/check/pipelines/parse-launch.c:
2349 Add some unit tests for the new gst_parse_launch*_full() API.
2350 (Exposes a previously-existing memory leak in the error code
2351 path, so adding to VALGRIND_TO_FIX for now).
2353 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2355 * docs/gst/gstreamer-sections.txt:
2356 * gst/gst.c: (init_post):
2357 * gst/gst_private.h: (_GstParseContext):
2358 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2359 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2360 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2361 (gst_parse_launch_full):
2362 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2363 (GstParseFlags), (GstParseContext):
2364 * gst/gstutils.c: (gst_parse_bin_from_description),
2365 (gst_parse_bin_from_description_full):
2367 * gst/parse/grammar.y:
2368 * gst/parse/types.h:
2369 * win32/common/libgstreamer.def:
2370 Add new gst_parse_*_full API (#528178):
2371 API: gst_parse_launch_full()
2372 API: gst_parse_launchv_full()
2373 API: gst_parse_bin_from_description_full()
2374 API: gst_parse_context_new()
2375 API: gst_parse_context_free()
2376 API: gst_parse_context_get_missing_elements()
2378 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2380 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2382 * docs/faq/gst-uninstalled:
2383 Also support ffmpeg in gst-uninstalled.
2385 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2388 After discussion on IRC use the binary registry as default
2389 but allow to disable it with --disable-binary-registry.
2391 * win32/common/libgstreamer.def:
2392 Add the two new symbols for the binary registry.
2394 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2396 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2397 * gst/gstutils.c: (gst_parse_bin_from_description):
2398 * gst/parse/grammar.y: (graph):
2399 More guards against bad input; typo fix; some minor clean-ups.
2401 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2403 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2405 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2406 If nothing else can be used, use the last buffer's start time as
2407 the segment's last stop. Fixes bug #534258.
2409 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2411 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2412 Move size sanity check to the right place: downstream may return
2413 a buffer with a smaller size if the buffer caps are different than
2414 the requested ones, as may happen when doing reverse negotiation.
2416 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2418 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2419 (gst_file_sink_render):
2420 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2421 (gst_file_src_start):
2422 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2425 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2427 * gst/gstpad.c: (gst_pad_load_and_link):
2428 * gst/gstutils.c: (gst_element_link_pads),
2429 (gst_element_unlink_pads):
2430 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2431 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2432 (gst_check_teardown_sink_pad),
2433 (gst_check_element_push_buffer_list):
2434 * tests/check/elements/fakesink.c: (GST_START_TEST):
2435 * tests/check/elements/filesink.c:
2436 * tests/check/elements/filesrc.c: (GST_START_TEST):
2437 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2438 (mq_sinkpad_to_srcpad):
2439 * tests/check/elements/tee.c: (GST_START_TEST):
2440 * tests/check/generic/sinks.c: (GST_START_TEST):
2441 * tests/check/gst/gstbin.c: (GST_START_TEST):
2442 * tests/check/gst/gstevent.c: (GST_START_TEST):
2443 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2444 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2445 * tests/check/gst/gstquery.c: (GST_START_TEST):
2446 * tests/check/gst/gstutils.c: (GST_START_TEST):
2447 * tests/check/libs/basesrc.c: (GST_START_TEST):
2448 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2449 (gst_parse_test_element_change_state):
2450 Don't use gst_element_get_pad().
2452 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2455 Fix installing plugin documentation when gtk-doc is disabled.
2457 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2459 * docs/manual/advanced-autoplugging.xml:
2460 * docs/manual/basics-helloworld.xml:
2461 * docs/manual/basics-pads.xml:
2462 * docs/manual/highlevel-components.xml:
2463 Avoid using a bad function in the example code.
2465 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2467 * gst/gstclock.c: (gst_clock_set_calibration):
2468 Fix debug of the new clock rate.
2470 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2472 * win32/common/libgstbase.def:
2473 Add gst_base_sink_wait_clock() to the exported symbols.
2475 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2477 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2479 * libs/gst/base/gstbasetransform.c:
2480 (gst_base_transform_sink_event):
2481 Unref events that the GstBaseTransform::event vfunc didn't want to
2482 have forwarded by the base class. Closes a leak in identity.
2485 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2487 * docs/libs/gstreamer-libs-sections.txt:
2488 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2489 * libs/gst/base/gstbasesink.h:
2490 Expose a method that was previously used internally to synchronize
2491 against the clock because it can be useful for subclasses too.
2492 API: GstBaseSink::gst_base_sink_wait_clock()
2494 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2496 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2497 Add sanity check to make sure we don't get smaller buffers
2498 than requested (and fallback to normal buffer alloc if we do).
2500 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2502 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2503 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2504 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2505 Refactor adjusting the running_time with latency and offset into a
2507 When doing clipping, we still want to use the subclass get_times method,
2508 just in case the DURATION or TIMESTAMP are not set.
2510 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2512 * docs/gst/gstreamer-sections.txt:
2513 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2514 * gst/gsttypefind.h:
2515 * win32/common/libgstreamer.def:
2516 API: add gst_type_find_suggest_simple(), #533740.
2518 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2520 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2521 Use right error code when typefinding fails, so we can use
2522 the default (translated) error messages.
2524 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2526 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2527 (gst_base_src_start):
2528 When the subclass did not set caps on outgoing buffers, configure the
2529 caps we negotiated on the source pad.
2530 When the typefind helper does not find caps, error out properly instead
2531 of doing things with NULL caps.
2533 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2535 * gst/gsttypefind.h:
2536 Tabs to spaces, oh yes!
2538 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2540 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2541 Add David's and Benjamin's tests for array intersection to the
2542 unit test suite (#147931).
2544 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2547 Document that gst_event_new_tag() and gst_event_new_navigation()
2548 take ownership of the taglist/structure passed to them. (#533635).
2550 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2553 Don't descend into the plugins dir if plugin docs building
2557 Add a note about the new type:GTypeName syntax for the plugin
2558 documentation .types file.
2560 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2562 * gst/gstmessage.c: (gst_message_new_error),
2563 (gst_message_new_warning), (gst_message_new_info):
2565 Mark the debug string parameters as const. Fixes bug #533490.
2567 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2569 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2570 Sort buffer cache list by end offsets. This makes sure that we don't
2571 stop to search for a cached buffer that contains the requested data
2573 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2574 more efficient. Fixes bug #459862.
2576 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2579 Explain why we copy the list.
2581 * gst/gstpipeline.c:
2585 Add one debug-log statement to help tracing probelms with linking pads.
2587 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2589 * tests/check/gst/gstinfo.c:
2590 Add a test for removing the default log handler. Seems to fail under
2593 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2595 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2596 Release pad lock before calling out to avoid a possible deadlock.
2598 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2600 * gst/parse/grammar.y:
2601 Remove unneeded value unset.
2603 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2604 Add unit test for de/serialization of caps.
2606 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2608 * plugins/elements/gstfakesink.c:
2609 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2610 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2611 (gst_fake_src_class_init):
2612 Use custom marshalers that take GstMiniObject as first parameter.
2613 Using OBJECT as parameter while a GstMiniObject is given will lead
2614 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2616 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2618 * plugins/elements/gsttypefindelement.c:
2619 (gst_type_find_element_handle_event),
2620 (gst_type_find_element_send_cached_events),
2621 (gst_type_find_element_change_state):
2622 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2625 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2627 * plugins/elements/gsttypefindelement.c:
2628 (gst_type_find_handle_src_query), (stop_typefinding),
2629 (gst_type_find_element_handle_event),
2630 (gst_type_find_element_send_cached_events),
2631 (gst_type_find_element_change_state):
2632 Forward FLUSH_START events immediately and clean up instead of
2635 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2637 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2639 * libs/gst/base/gstbasetransform.c:
2640 (gst_base_transform_buffer_alloc):
2641 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2642 fall back to default negotiation in the chain function if the caps
2643 are different from what was requested. Fixes bug #526768.
2645 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2648 * tests/check/gst/gstsegment.c:
2649 No, let's not use g_slice_{dup|copy} here, since they only exist
2650 since GLib 2.14 and we still depend only on >= 2.12. Also add
2651 unit test for gst_segment_copy().
2653 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2655 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2656 Try to fix 'dereferencing type-punned pointer will break strict
2657 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2658 changed the default GType typedef from gulong to gsize at some point,
2659 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2660 g_once_* functions all take a gsize * though, so work around the type
2661 mismatch for C++ by doing everything in gsize and casting to GType
2664 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2666 * plugins/elements/gstmultiqueue.c:
2667 Add documentation for the signals to push our core plugin docs
2668 coverage back up to 100%.
2670 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2672 * gst/gstinfo.h (GST_FUNCTION):
2673 Reverted GST_FUNCTION to the old version as we don't want the
2674 full signature in C++ code. Also added support for MSVC.
2676 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2679 Intern the type name string, similar to what G_DEFINE_TYPE does.
2681 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2684 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2686 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2688 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2690 * libs/gst/base/gstbasetransform.c:
2691 (gst_base_transform_buffer_alloc):
2692 Don't passthrough buffer allocation too easily if the caps change.
2693 This breaks when working in passthrough mode and upstream changes
2694 it's caps. Fixes bug #526768.
2696 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2698 * gst/gstinfo.c (gst_debug_log_valist):
2699 Improved the __FILE__ part of debug output for MSVC.
2701 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2703 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2704 Declaration after statement fix for compilers like MSVC.
2706 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2708 * win32/common/config.h.in:
2709 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2710 use the real thing than having "???" unconditionally.
2712 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2714 * gst/gstinfo.h (GST_FUNCTION):
2715 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2717 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2719 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2722 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2723 (gst_base_sink_set_flushing):
2724 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2727 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2729 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2730 (gst_fake_src_init), (gst_fake_src_set_property),
2731 (gst_fake_src_get_property), (gst_fake_src_start):
2732 * plugins/elements/gstfakesrc.h:
2733 Added format property to control the format of the newsegment events.
2734 API: GstFakeSrc:format
2736 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2738 * win32/common/libgstreamer.def:
2739 Add gst_pad_has_name() to the exported symbols.
2741 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2743 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2744 * libs/gst/base/gstbasetransform.c:
2745 (gst_base_transform_prepare_output_buffer):
2746 Don't allow negative sizes when allocating new buffers.
2749 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2751 Patch by: Sjoerd Simons <sjoerd at luon net>
2753 * gst/gstbus.c: (gst_bus_source_dispatch):
2754 Don't print a warning if the queue is empty when we try to pop
2755 here. That could happen if another thread or callback set the
2756 bus to flushing between the source's check/prepare and the
2757 dispatch being called (#531538).
2759 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2761 * plugins/elements/gstmultiqueue.c:
2764 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2766 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2767 Add unit test for deserializing uint64s and check some really large
2768 numbers in the int64 test.
2770 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2772 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2773 (print_interfaces), (print_element_properties_info),
2774 (print_signal_info):
2775 Use "%s" as format string instead of printing strings directly.
2777 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2779 * gst/gstclock.c: (gst_clock_set_calibration):
2780 Make some checks actually useful.
2782 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2783 Remove some unused code. Unsigned integers tend to be >= 0.
2785 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2787 * gst/gstminiobject.c: (gst_value_get_mini_object):
2788 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2789 function was not in the unscheduled 0.10.19 release.
2791 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2793 * gst/gstregistry.c: (gst_registry_scan_path_level):
2794 Only print one log message per non-plugin file.
2796 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2798 * gst/gstinfo.c: (gst_debug_log_default):
2799 Fix alignment of debug log columns on 64-bit.
2801 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2803 * docs/libs/Makefile.am:
2804 * docs/libs/gstreamer-libs-sections.txt:
2805 Ignore private controller headers for docs.
2807 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2809 * libs/gst/controller/gstcontrollerprivate.h:
2810 * libs/gst/controller/gsthelper.c:
2811 * libs/gst/controller/gstinterpolation.c:
2812 * libs/gst/controller/gstinterpolationcontrolsource.c:
2813 (gst_interpolation_control_source_set_interpolation_mode):
2814 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2815 * libs/gst/controller/lib.c:
2816 Move some private declarations into private headers.
2818 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2820 * gst/gstdebugutils.c: (debug_dump_element_pad):
2821 Remove some code that is unused after Stefan's refactoring and uses
2822 uninitialized variables now, resulting in a compiler warning.
2824 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2826 * gst/gstregistry.c: (gst_registry_scan_path_level):
2827 Run g_str_has_suffix() only on the file name, not the
2830 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2832 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2833 Since we're not called only from the chain function any longer,
2834 we can't assume that there's always data in the queue, so move
2835 the is_full check to the beginning of the loop (otherwise we'd
2836 hit the assert when changing the limit properties while the
2837 queue is empty or not running yet).
2838 Also, only set a discont if items were actually removed from
2841 * tests/check/elements/queue.c: (test_leaky_downstream):
2842 Test case for the above.
2844 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2846 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2848 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2849 (gst_queue_chain), (queue_capacity_change),
2850 (gst_queue_set_property):
2851 When changing thr max capacity of a leaky queue, immediatly drop buffers
2852 instead of waiting for a push on the sinkpad. Fixes #530637.
2854 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2856 * gst/gstdebugutils.c:
2857 Refactor code and fix handling of ghostpads and their proxypads.
2859 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2861 * docs/gst/gstreamer-sections.txt:
2862 * gst/gstevent.c: (gst_event_has_name):
2864 * tests/check/gst/gstevent.c: (GST_START_TEST):
2865 Add method to conveniently check the name of a custom event with
2866 gst_event_has_name().
2867 Reformat the event docs so that related methods are put together instead
2868 of the default alphabetical sort.
2869 Update unit test with new method.
2870 API: GstEvent::gst_event_has_name()
2872 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2874 * libs/gst/check/Makefile.am:
2875 Don't add an explicit link to libgstreamer-0.10.la; it's already
2876 included in GST_OBJ_LIBS.
2878 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2881 Register GstClock type from a type-safe context. Fixes bug #530317.
2883 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2885 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2887 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2889 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2891 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2893 Use the GLib stuff to create a private structure.
2894 Add some locking around some dispose methods to make them a little
2895 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2897 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2899 * libs/gst/base/gstbasesink.h:
2900 * libs/gst/base/gstbasesrc.h:
2901 * libs/gst/base/gstbasetransform.h:
2902 * libs/gst/base/gstcollectpads.h:
2903 Fix doc typos and unify caps a bit.
2905 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2907 * tools/gst-launch.1.in:
2908 Forgot to also add the envvar docs here.
2910 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2912 * gst/gst.c: (init_post), (gst_deinit):
2913 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2914 (test_concurrent_create), (gst_pipeline_suite):
2915 Ref some more classes in gst_init() to work around thread-safety
2916 issues in pre-2.16 GLibs, and add basic unit test.
2918 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2920 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2921 (gst_base_sink_send_event):
2922 Rearrange the latency query code. We always want to do the upstream
2923 query, even if we are not live so that the upstream elements can get the
2924 latency results too. If we fail doing the query and we are live, we
2925 return TRUE afterwards.
2927 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2929 patch by: Jason Zhao <e3423c@motorola.com>
2931 * docs/gst/running.xml:
2933 Enable/disable scan_and_update_registry() based on commandline switch
2934 or environment variable. Fixes #520468.
2937 Fix typo in my previous commit.
2939 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2941 * gst/gstregistrybinary.c:
2942 Add a warning if we hit unhandled factories when saving.
2943 More debug logging detail, but move to LOG category.
2945 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2947 * gst/gstregistry.c:
2948 Tell the *truth* when improving the documentation.
2950 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2952 * gst/gstelementfactory.c: (gst_element_factory_make):
2953 Unref the factory after it was used the last time, not before.
2955 * gst/gstindexfactory.c: (gst_index_factory_make):
2956 Improve debugging a bit and don't leak a ref to the index factory with
2959 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2961 * gst/gstregistry.c:
2962 Improve the documentation.
2964 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2967 The glib macro seems to be borked. Use g_slice_copy directly and cast
2968 in the hope that this fixes the warning on 64bit.
2970 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2973 Document the new function. Use g_slice_dup() (no need for
2974 gst_segment_init()).
2976 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2978 * docs/gst/gstreamer-sections.txt:
2979 Move GParamSepc macros to standart section.
2982 Dn't document _get_type - its in private section in docs anyway and
2983 this doc-blob was incomplete.
2986 Fix wrong symbol names in docs.
2989 Add once doc sentence.
2991 * tests/check/gst/.cvsignore:
2994 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2996 * docs/gst/Makefile.am:
2997 And remove those libs here.
2999 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3001 * docs/libs/Makefile.am:
3002 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3004 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3006 Patch by: Olivier Crete <tester at tester dot ca>
3008 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3009 Add the min-threshold to the min latency if possible. Fixes #529148.
3011 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3013 * docs/gst/gstreamer.types.in:
3014 Stupid editor, I removed that line as it should go in yet.
3016 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3018 * docs/gst/gstreamer.types.in:
3019 * docs/libs/gstreamer-libs.types:
3020 Remove library types fro core docs and have them in libs docs.
3021 Reformat and cleanup. Add comment for miniobject types.
3023 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3025 * gst/gsturi.c: (gst_uri_get_protocol):
3026 Fix leak: g_strdown operates on the string in place, while
3027 g_ascii_strdown() returns a newly-allocated string.
3029 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3031 * tools/gst-inspect.c: (print_uri_handler_info),
3032 (print_element_info):
3033 Print the URI protocols and the URI type supported by the element.
3035 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3037 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3038 Use g_value_take_string() instead of the deprecated
3039 g_value_set_string_take_ownership().
3041 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3043 * gst/gstregistrybinary.c: (_gst_crc32):
3044 Return the old CRC instead of 0 if we give a NULL buffer
3045 or a buffer with a length of 0.
3047 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3049 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3050 (gst_uri_get_protocol), (gst_uri_has_protocol),
3051 (gst_uri_construct), (gst_uri_handler_set_uri):
3052 A valid URI scheme can also include '+', '-' and '.' additional
3053 to alphanumeric characters as per RFC 3986 Section 3.1.
3055 Handle URI schemes case insensitive in all places and convert
3056 to lower-case when constructing an URI or setting an URI with
3057 the GstURIHandler interface. Fixes bug #528868.
3058 All elements can still assume (as before) that they will
3059 get passed URIs with a lower-case URI scheme by the GstURIHandler
3062 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3064 * gst/gstcaps.c: (gst_static_caps_get):
3065 * gst/gstclock.c: (gst_clock_entry_new):
3066 Don't use g_atomic_set_int where it's not needed.
3068 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3070 * gst/gstvalue.c: (gst_value_deserialize_caps):
3071 * gst/parse/grammar.y:
3074 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3076 * gst/gstutils.c: (gst_atomic_int_set):
3077 Use g_atomic_int_set() here too instead of assignment +
3080 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3084 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3085 now that we depend on new enough GLib.
3087 * gst/gstcaps.c: (gst_static_caps_get):
3088 * gst/gstclock.c: (gst_clock_entry_new):
3089 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3090 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3091 (gst_debug_category_set_threshold):
3092 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3093 (gst_base_sink_set_qos_enabled):
3094 * libs/gst/net/gstnettimeprovider.c:
3095 (gst_net_time_provider_set_property):
3096 Use g_atomic_int_set() instead of gst_atomic_int_set().
3098 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3101 Also use G_GINT64_CONSTANT for the queries.
3103 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3106 Use G_GINT64_CONSTANT in varargs function.
3108 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3110 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3111 Initialize the registry magic with zeroes.
3113 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3115 * gst/gstregistrybinary.c: (_gst_crc32),
3116 (gst_registry_binary_write),
3117 (gst_registry_binary_initialize_magic),
3118 (gst_registry_binary_write_cache),
3119 (gst_registry_binary_check_magic),
3120 (gst_registry_binary_read_cache):
3121 * gst/gstregistrybinary.h:
3122 Add crc32 checksum to the binary registry file and check this before
3123 accepting a registry file.
3125 Also free the data list when writing to the registry file fails.
3127 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3129 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3130 (gst_registry_binary_load_feature),
3131 (gst_registry_binary_load_plugin):
3132 If an element supports the Uri interface, returns a valid pointer
3133 to the supported URI protocols but this pointer contains nothing
3134 don't try to save that as it will corrupt the registry.
3136 Don't unref the plugin if we added it to the registry already but
3137 fail to load a feature as gst_registry_add_plugin() takes ownership
3140 Improve debugging a bit.
3142 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3145 Clarify some tag item docs after discussion on irc.
3147 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3149 * docs/gst/gstreamer-docs.sgml:
3150 Remove commented out plugins (they have their own docs). Update
3153 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3155 * docs/gst/gstreamer-docs.sgml:
3156 * docs/gst/gstreamer-sections.txt:
3157 * gst/gstparamspecs.c:
3158 * gst/gstparamspecs.h:
3159 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3160 docs to own section.
3163 This now only documents GValue.
3165 * docs/libs/gstreamer-libs-sections.txt:
3166 * libs/gst/controller/gstcontroller.h:
3167 Remove GST_PARAM_CONTROLLABLE.
3169 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3172 Correct file path. Tell about how to use -overrides.txt.
3173 * docs/design/draft-tagreading.txt:
3174 Small design update.
3176 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3178 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3179 (gst_registry_binary_load_plugin):
3180 Fix a typo in a debug message and revert change from yesterday as
3181 gst_registry_add_plugin() will only fail if something is really wrong
3182 already and we can't survive it anyway.
3184 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3186 * gst/gst.c: (init_post), (gst_deinit):
3187 Pre-register GstGError GType from a thread-safe context
3188 (fixes #527967); unref enum type classes in deinit.
3190 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3192 Patch by: Rene Stadler <mail at renestadler de>
3194 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3195 Merging an empty list with another list in KEEP_ALL mode should
3196 yield an empty list as result and not the second list (#512578).
3198 * tests/check/gst/gsttagsetter.c:
3199 Add unit test for tag merge modes and the aforementioned bug.
3201 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3203 Patch by: Rene Stadler <mail at renestadler de>
3206 Fix description to match the order in the table (#512577).
3208 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3210 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3212 * libs/gst/net/gstnettimepacket.h:
3213 * docs/libs/gstreamer-libs-sections.txt:
3214 Define socklen_t as int if it's not defined yet. Fixes compilation
3215 with MSVC6 and other versions where socklen_t is not defined in
3216 the windows headers (#518022).
3218 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3220 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3221 If gst_registry_add_plugin() fails our reference to the plugin is
3222 invalid so don't try to use it anymore and instead error out.
3224 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3226 * tools/gst-xmlinspect.c: (print_element_info), (main):
3227 De-cruft a bit. If no argument is specified, print all elements in
3228 XML syntax rather than a freestyle list of elements like gst-inspect.
3229 Also, don't print XML header chunk unless we actually have something
3230 to print (ie. don't print it before an error message); print error
3231 message to stderr not stdout. Remove support for printing plugin
3232 info (it would just output something freestyle along the lines of
3233 gst-inspect so far), which fixes #514507. Also add license header.
3235 2008-04-11 Julien Moutte <julien@fluendo.com>
3238 * configure.ac: Merge platform specific defines, introduce a new
3239 define on OS X to remember that forking when updating registry is
3241 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3243 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3245 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3246 condition that leads to absolutely no plugins being registered on
3249 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3251 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3253 * gst/gstutils.c: (gst_pad_add_data_probe),
3254 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3255 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3256 (gst_pad_add_buffer_probe_full):
3258 * docs/gst/gstreamer-sections.txt:
3259 * win32/common/libgstreamer.def:
3260 Add gst_pad_add_*_probe_full() functions with a notify callback that
3261 lets the caller free the data it passes to the probe functions. This
3262 is useful for bindings such as gst-python or gstreamermm (#526814).
3263 API: gst_pad_add_data_probe_full
3264 API: gst_pad_add_buffer_probe_full
3265 API: gst_pad_add_event_probe_full
3267 * tests/check/gst/gstutils.c:
3268 Add minimal unit test to make sure freeing the data actually works
3271 * tests/benchmarks/.cvsignore:
3272 Random cvsignore addendum.
3274 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3276 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3277 (GST_DEBUG_BIN_TO_DOT_FILE):
3278 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3279 to it in the docs (since these are macros the types of the arguments
3280 won't be shown in the docs otherwise).
3282 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3285 Do not abort on out of memory for pad_alloc_buffer.
3287 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3289 * libs/gst/check/gstcheck.c:
3290 Remove blank line between symbol name ad parameters to fix gtkdoc
3293 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3295 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3297 * docs/gst/gstreamer-sections.txt:
3300 * win32/common/libgstreamer.def:
3301 Expose gst_segment_copy() to make things easier for the c++ bindings.
3303 API: gst_segment_copy()
3305 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3307 * gst/gst.c: (gst_init_get_option_group), (init_post):
3308 Fix const position; ref GType classes for enum types to work
3309 around thread-safety issues in GLib versions < 2.16.
3311 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3313 * docs/design/part-buffering.txt:
3314 Fix some typos and set the estimated total for push mode to -1.
3316 * gst/gstquery.c: (gst_query_new_buffering):
3317 Set buffering-left to 0 as we're not buffering by default.
3319 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3320 Implement BUFFERING query.
3322 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3324 Based on patch by: Milosz Derezynski <internalerror gmail com>
3326 * gst/gsterror.c: (_gst_stream_errors_init):
3328 Add two new error codes for encrypted content. Fixes #524659.
3329 API: GST_STREAM_ERROR_DECRYPT
3330 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3332 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3337 * win32/common/libgstreamer.def:
3340 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3342 * plugins/elements/gstidentity.c: (gst_identity_event),
3343 (gst_identity_start):
3344 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3345 event after processing some data. Fixes bug #526042.
3347 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3349 * docs/gst/gstreamer-sections.txt:
3350 * gst/gstquery.c: (gst_query_parse_latency),
3351 (gst_query_set_buffering_percent),
3352 (gst_query_parse_buffering_percent),
3353 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3355 Rename _avail -> _range
3356 API: gst_query_set_buffering_range
3357 API: gst_query_parse_buffering_range
3359 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3361 * docs/design/part-buffering.txt:
3364 * gst/gstquery.c: (gst_query_parse_latency),
3365 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3366 (gst_query_parse_buffering_percent):
3368 Add busy field and quark for the buffering query so that the app can
3369 only use the query to see if buffering is in progress.
3371 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3373 * docs/gst/gstreamer-sections.txt:
3374 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3375 (gst_message_parse_buffering_stats):
3377 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3378 (gst_query_parse_latency), (gst_query_new_buffering),
3379 (gst_query_set_buffering_percent),
3380 (gst_query_parse_buffering_percent),
3381 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3382 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3384 Reorder the message docs and headers for clarity.
3385 Add aditional buffering stats API for messages.
3386 Add buffering query.
3387 Convert some leftover queries to use GstQuark.
3388 API: gst_message_set_buffering_stats
3389 API: gst_message_parse_buffering_stats
3390 API: GST_QUERY_BUFFERING
3391 API: GstBufferingMode
3392 API: gst_query_new_buffering
3393 API: gst_query_set_buffering_percent
3394 API: gst_query_parse_buffering_percent
3395 API: gst_query_set_buffering_stats
3396 API: gst_query_parse_buffering_stats
3398 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3400 * gst/gstmessage.c: (gst_message_new_error),
3401 (gst_message_new_warning), (gst_message_new_info),
3402 (gst_message_new_buffering), (gst_message_new_state_changed),
3403 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3404 (gst_message_new_new_clock), (gst_message_new_segment_start),
3405 (gst_message_new_segment_done), (gst_message_new_duration),
3406 (gst_message_new_async_start), (gst_message_parse_buffering),
3407 (gst_message_parse_state_changed),
3408 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3409 (gst_message_parse_new_clock), (gst_message_parse_error),
3410 (gst_message_parse_warning), (gst_message_parse_info),
3411 (gst_message_parse_segment_start),
3412 (gst_message_parse_segment_done), (gst_message_parse_duration),
3413 (gst_message_parse_async_start):
3414 Use GstQuark for messages.
3416 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3418 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3420 Add some more quarks needed for messages and queries.
3422 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3424 * docs/design/part-buffering.txt:
3425 Remove the "none" buffering mode, STREAM is a good default.
3426 Move estimated-time to the avail query, that's when it will be needed.
3427 Other small typo fixes and updates.
3429 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3431 * gst/gstindex.c: (gst_index_resolver_get_type):
3432 Don't put descriptions into the nick field of a GEnumValue: it's not
3433 meant for that and some language bindings rely on the nick field to
3434 construct constants and the like. Fixes #526705.
3436 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3441 Merge other changes from 0.10.19 release branch.
3443 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3445 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3448 Actually build dlls when cross-compiling with mingw32.
3451 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3453 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3456 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3458 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3460 * docs/design/draft-latency.txt:
3463 * docs/design/part-buffering.txt:
3464 Update design docs with more buffering ideas.
3466 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3469 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3471 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3474 Revert part that belongs to the preset patch.
3476 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3479 Add qoutes to the define. Fixes # 525961.
3481 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3483 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3484 (gst_file_index_load), (gst_file_index_add_id),
3485 (gst_file_index_get_assoc_entry):
3486 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3487 (gst_mem_index_free_id), (gst_mem_index_add_id),
3488 (gst_mem_index_index_format):
3489 Use GSlice when possible.
3491 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3493 * libs/gst/controller/gstinterpolationcontrolsource.c:
3494 (gst_control_point_free),
3495 (gst_interpolation_control_source_set_internal):
3496 Use GSlice for allocating the control points.
3498 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3500 * plugins/elements/gsttypefindelement.c:
3501 (gst_type_find_element_class_init),
3502 (gst_type_find_element_set_property),
3503 (gst_type_find_element_get_property),
3504 (gst_type_find_element_activate):
3505 * plugins/elements/gsttypefindelement.h:
3507 Fix pad leak when peer query fails.
3508 We can still typefind when the peer returns -1.
3509 Add property to force caps and bypass typefinding. This will be used in
3513 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3518 * gst/glib-compat-private.h:
3519 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3520 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3521 Unconditionally use GSlice for allocation.
3523 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3524 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3525 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3526 (gst_structure_free):
3527 Use GSlice for allocation.
3529 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3531 * gst/parse/Makefile.am:
3532 * gst/parse/grammar.tab.pre.c:
3533 * gst/parse/grammar.tab.pre.h:
3534 * gst/parse/lex._gst_parse_yy.pre.c:
3535 Require a new enough flex and bison and remove the parser hacks to use
3536 a pre-regenerated version.
3538 2008-04-01 Julien Moutte <julien@fluendo.com>
3540 patch by: Jason Zhao <E3423C@motorola.com>
3542 * configure.ac: Add a configure switch to disable option parsing
3546 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3549 * gst/gstregistry.c:
3550 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3551 and handle this case.
3554 Add a comment here describing, why we stat each plugin and not try to
3557 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3559 * libs/gst/base/gstbasetransform.c:
3560 (gst_base_transform_prepare_output_buffer):
3561 Also unset the GAP flag on buffers if we're working inplace but
3562 the element is not GAP-aware.
3564 Mark a comment as FIXME 0.11.
3566 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3569 Fix type in log message and add one to ease seeing how long registry
3570 cache verification takes.
3572 * gst/gstregistry.c:
3573 Only test plugin filenames against G_MODULE_SUFFIX.
3575 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3577 * gst/gstdebugutils.c:
3578 Improve handling ghost/proxy pads.
3580 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3582 * docs/gst/gstreamer-sections.txt:
3585 Expose macro to docs and fix link to it.
3587 2008-03-27 Michael Smith <msmith@fluendo.com>
3589 * libs/gst/dataprotocol/dataprotocol.c:
3590 (gst_dp_packet_from_event_1_0):
3591 When calculating GDP body CRC, use the correct pointer.
3592 Fixes part of #522401.
3594 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3596 Patch by: Mark Nauwelaerts <manauw at skynet be>
3598 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3599 (gst_identity_init), (gst_identity_prepare_output_buffer):
3600 Identity is not always a passthrough element, it can modify the buffer
3601 timestamps when it has a datarate and operates in single-segment mode.
3602 We therefore make it an in_place filter with a custom buffer prepare
3603 function that conditionally makes the input buffer metadata writable
3604 when needed. Fixes #523985.
3606 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3608 Patch by: Mark Nauwelaerts <manauw at skynet be>
3611 * libs/gst/base/gstbasesrc.h:
3612 * libs/gst/base/gstbasetransform.c:
3613 * libs/gst/check/gstcheck.c:
3614 Small documentation fixes. Fixes #523978.
3616 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3618 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3619 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3620 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3622 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3624 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3625 (single_queue_underrun_cb):
3626 When trying to make room in the queue, bump the max allowed buffers
3627 bigger than the current amount of buffers in the queue. this fixes some
3628 nasty deadlocks in multiqueue when dynamically changing the limits of
3631 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3633 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3635 * gst/gstcaps.c: (gst_caps_set_simple),
3636 (gst_caps_set_simple_valist), (gst_caps_intersect):
3638 Constify the field gchar * params in set_simple and friends.
3641 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3643 * gst/gstvalue.c: (gst_value_transform_object_string):
3644 Transform a GstObject to a more meaningfull string that includes the
3645 object type in addition to its name.
3647 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3650 ChangeLog surgery to add bugnumber to commit.
3652 2008-03-23 Rene Stadler <mail@renestadler.de>
3654 * libs/gst/base/gstbasetransform.c:
3655 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3657 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3659 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3660 Rename constant everywhere and don't forget one occurence.
3662 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3664 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3665 Align memory to the pointer size even if the architecture allows
3666 unaligned memory access. Unaligned memory access usually comes with
3667 performance penality.
3669 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3671 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3672 (gst_registry_binary_check_magic),
3673 (gst_registry_binary_load_pad_template),
3674 (gst_registry_binary_load_feature),
3675 (gst_registry_binary_load_plugin):
3676 Align memory to the pointer size instead of always 32 bit. Fixes
3677 unaligned memory accesses on ia64 and friends.
3679 * gst/gstregistrybinary.h:
3680 Bump binary registry format version for this as it changes the
3681 format on those architectures that don't have unaligned access
3682 and 64 bit pointers.
3684 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3686 * docs/pwg/advanced-dparams.xml:
3687 * docs/pwg/building-props.xml:
3688 * docs/pwg/other-source.xml:
3689 * gst/glib-compat.h:
3690 * gst/gstbin.c: (gst_bin_class_init):
3691 * gst/gstclock.c: (gst_clock_class_init):
3692 * gst/gstindex.c: (gst_index_class_init):
3693 * gst/gstobject.c: (gst_object_class_init):
3694 * gst/gstpad.c: (gst_pad_class_init):
3695 * gst/gstpipeline.c: (gst_pipeline_class_init):
3696 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3697 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3698 * libs/gst/base/gstbasetransform.c:
3699 (gst_base_transform_class_init):
3700 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3701 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3702 (_gst_check_fault_handler_sighandler),
3703 (_gst_check_fault_handler_setup), (gst_check_init):
3704 * libs/gst/controller/gstcontroller.c:
3705 (_gst_controller_class_init):
3706 * libs/gst/controller/gstlfocontrolsource.c:
3707 (gst_lfo_control_source_class_init):
3708 * libs/gst/net/gstnetclientclock.c:
3709 (gst_net_client_clock_class_init):
3710 * libs/gst/net/gstnettimeprovider.c:
3711 (gst_net_time_provider_class_init):
3712 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3713 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3714 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3715 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3716 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3717 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3718 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3719 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3720 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3721 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3722 * plugins/elements/gsttee.c: (gst_tee_class_init):
3723 * plugins/elements/gsttypefindelement.c:
3724 (gst_type_find_element_class_init):
3725 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3726 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3727 use it everywhere for GParamSpecs that use static strings (i.e. all).
3728 This gives us less memory usage, fewer allocations and thus less
3729 memory defragmentation. Fixes bug #523806.
3731 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3733 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3734 (gst_param_spec_mini_object):
3735 * gst/gstminiobject.h:
3736 * win32/common/libgstreamer.def:
3737 * docs/gst/gstreamer-sections.txt:
3738 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3739 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3740 GstParamSpecMiniObject into a public header for this.
3742 This make GstMiniObject a bit more consistent with GObject and makes
3743 it possible to extend the param specs.
3745 gst_value_dup_mini_object is mainly useful for set_property methods.
3749 * tools/gst-inspect.c: (print_element_properties_info):
3750 Print something useful for GstMiniObject properties and not just
3753 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3755 * docs/gst/gstreamer-sections.txt:
3756 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3757 (gst_registry_binary_check_magic):
3758 * gst/gstregistrybinary.h:
3759 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3760 and add it to the (private part) of the docs to fix the build.
3762 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3764 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3765 (gst_registry_binary_check_magic),
3766 (gst_registry_binary_read_cache):
3767 * gst/gstregistrybinary.h:
3768 Don't use GST_MAJORMINOR for the binary registry version. Instead
3769 hardcode a value that must be changed whenever the format changes
3770 in an incompatible way.
3771 Also don't GST_ERROR when there is a version mismatch, just
3772 regenerate the registry silently.
3774 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3777 Back to development - 0.10.18.1
3779 === release 0.10.18 ===
3781 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3784 releasing 0.10.18, "So far away"
3786 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3789 * win32/common/config.h:
3790 0.10.17.4 pre-release
3792 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3794 Patch by: Ole André Vadla Ravnås
3795 <ole dot andre dot ravnas at tandberg dot com>
3797 * docs/gst/gstreamer-sections.txt:
3798 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3799 (gst_poll_update_winsock_event_mask),
3800 (gst_poll_prepare_winsock_active_sets),
3801 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3802 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3803 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3804 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3805 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3807 * win32/common/libgstreamer.def:
3808 Add new function gst_poll_fd_ignored() for improved Windows
3810 Various minor fixes and cleanups. See #520808.
3812 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3814 * gst/gstindex.c: (gst_index_entry_free):
3816 Don't free key strings which we don't own. Fixes crash in
3817 gst_index_entry_free() (#522741).
3819 * tests/check/Makefile.am:
3820 * tests/check/gst/.cvsignore:
3821 * tests/check/gst/gstindex.c: (test_index_entries),
3822 (gst_index_suite), (gst_index):
3823 Add unit test for the above.
3825 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3827 * win32/common/libgstreamer.def:
3828 Remove symbols that were removed recently. Fixes bug #521740.
3830 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3833 * win32/common/config.h:
3834 0.10.17.3 pre-release
3836 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3838 Patch by: Ole André Vadla Ravnås
3839 <ole dot andre dot ravnas at tandberg dot com>
3841 * docs/gst/gstreamer-sections.txt:
3842 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3843 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3844 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3845 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3846 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3847 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3848 (gst_poll_fd_can_write), (gst_poll_wait),
3849 (gst_poll_set_controllable), (gst_poll_restart),
3850 (gst_poll_set_flushing):
3852 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3853 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3854 (gst_net_time_provider_new):
3855 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3856 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3857 * tests/benchmarks/gstpollstress.c: (main):
3858 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3859 Remove GstPollMode from the API, it does not make sense to let the
3860 application control this.
3861 Add support for Win32.
3862 Fix the testsuite. Fixes #520671.
3864 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3866 Patch by: Ole André Vadla Ravnås
3867 <ole dot andre dot ravnas at tandberg dot com>
3869 * gst/gstregistrybinary.c:
3870 Include io.h for write() and close() when building with MSVC. Fixes
3873 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3876 * gst/gst_private.h:
3877 * gst/gstconfig.h.in:
3878 * gst/gstregistry.h:
3879 * gst/gstregistrybinary.c:
3880 * win32/common/gstconfig.h:
3881 Move registry backend API to private headers where we can. Add
3882 fixme-0.11 comments for the others. Add stubs for the xml backend when
3883 using the binary to ensure they functions exists (they should not be
3884 used though). Fixes #520756.
3886 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3889 * win32/common/config.h:
3892 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3894 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3895 (gst_registry_binary_read_cache):
3896 * gst/gstregistryxml.c: (gst_registry_save):
3897 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3898 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3899 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3900 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3901 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3904 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3906 * gst/gstminiobject.c:
3907 Import gst_private.h before any other header that might include other
3908 glib headers. This fixes the build on windows using native compilers.
3910 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3912 * win32/common/gstconfig.h:
3913 Add here too, just for completeness.
3915 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3918 * gst/gstconfig.h.in:
3919 * gst/gstregistry.h:
3920 Fix broken use of config.h-defined preprocessor directive in a public
3921 header file. Add a corresponding define to gstconfig.h, since we can't
3922 really remove those function declarations from the header file now
3923 (or can we? and why are they there in the first place?).
3925 2008-03-03 Andy Wingo <wingo@pobox.com>
3927 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3930 * gst/gststructure.c (gst_structure_from_string): Warn if
3931 structure_from_string didn't consume the whole string, but the
3932 caller did not provide an end pointer.
3934 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3936 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3938 * gst/gstregistryxml.c: (read_string), (load_feature):
3939 Strings allocated by libxml2 should be freed with xmlFree(), not
3940 with g_free(). Fixes issues on windows in certain contexts (#519698).
3942 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3944 * gst/gstinterface.c: (gst_element_implements_interface):
3945 Don't crash if the element supports the interface queried, but does
3946 not implement GstImplementsInterface. Fixes #519584.
3948 * tests/check/Makefile.am:
3949 * tests/check/gst/.cvsignore:
3950 * tests/check/gst/gstinterface.c:
3951 Add unit test for the above.
3953 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3955 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3958 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3960 * gst/gstsegment.c: (gst_segment_set_seek),
3961 (gst_segment_to_stream_time):
3962 Improve some comment.
3963 Update variables where it makes more sense.
3965 2008-02-29 Rene Stadler <mail@renestadler.de>
3967 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3968 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3969 URIHandlers implemented using language bindings.
3971 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3973 * gst/gstelementfactory.h:
3974 * tests/check/elements/fakesink.c:
3975 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3976 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3977 * tests/check/elements/filesink.c: (setup_filesink):
3978 * tests/check/elements/filesrc.c: (setup_filesrc):
3979 * tests/check/elements/identity.c: (setup_identity):
3980 * tests/check/elements/tee.c:
3981 * tests/check/generic/sinks.c:
3982 * tests/check/generic/states.c: (setup), (teardown):
3983 * tests/check/gst/gst.c:
3984 * tests/check/gst/gstabi.c:
3985 * tests/check/gst/gstbin.c:
3986 * tests/check/gst/gstbus.c: (pull_messages):
3987 * tests/check/gst/gstcaps.c:
3988 * tests/check/gst/gstelement.c:
3989 * tests/check/gst/gstevent.c:
3990 * tests/check/gst/gstghostpad.c:
3991 * tests/check/gst/gstiterator.c:
3992 * tests/check/gst/gstmessage.c:
3993 * tests/check/gst/gstminiobject.c: (my_foo_init):
3994 * tests/check/gst/gstobject.c: (thread_name_object),
3996 * tests/check/gst/gstpad.c:
3997 * tests/check/gst/gstplugin.c:
3998 * tests/check/gst/gstpoll.c:
3999 * tests/check/gst/gstquery.c:
4000 * tests/check/gst/gstsegment.c:
4001 * tests/check/gst/gststructure.c:
4002 * tests/check/gst/gstsystemclock.c:
4003 * tests/check/gst/gsttask.c:
4004 * tests/check/gst/gstutils.c:
4005 * tests/check/gst/gstvalue.c:
4006 * tests/check/gst/struct_hppa.h:
4007 * tests/check/gst/struct_i386.h:
4008 * tests/check/gst/struct_ppc32.h:
4009 * tests/check/gst/struct_ppc64.h:
4010 * tests/check/gst/struct_x86_64.h:
4011 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4012 * tests/check/libs/basesrc.c:
4013 * tests/check/libs/controller.c: (GST_START_TEST):
4014 * tests/check/libs/gdp.c:
4015 * tests/check/libs/gstnetclientclock.c:
4016 * tests/check/libs/gstnettimeprovider.c:
4017 * tests/check/libs/libsabi.c:
4018 * tests/check/libs/struct_hppa.h:
4019 * tests/check/libs/struct_i386.h:
4020 * tests/check/libs/struct_ppc32.h:
4021 * tests/check/libs/struct_ppc64.h:
4022 * tests/check/libs/struct_x86_64.h:
4023 * tests/check/pipelines/cleanup.c:
4024 * tests/check/pipelines/simple-launch-lines.c:
4025 * tests/check/pipelines/stress.c:
4026 And correct even more valid sparse warnings.
4028 * win32/common/libgstreamer.def:
4029 Add gst_poll_fd_init to the list of symbols.
4031 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4033 * gst/gstconfig.h.in:
4034 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4035 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4036 (gst_check_log_critical_func), (gst_check_drop_buffers),
4037 (gst_check_element_push_buffer_list):
4038 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4039 (gst_controller_get_type):
4040 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4041 (gst_object_get_controller), (gst_object_get_control_source):
4042 * libs/gst/controller/gstinterpolationcontrolsource.c:
4043 (gst_interpolation_control_source_new):
4044 * libs/gst/controller/gstlfocontrolsource.c:
4045 (gst_lfo_control_source_new):
4046 * libs/gst/dataprotocol/dataprotocol.c:
4047 (gst_dp_event_from_packet_0_2):
4048 * plugins/elements/gstfdsrc.c:
4049 * plugins/elements/gstmultiqueue.c:
4050 * plugins/elements/gsttee.c:
4051 * plugins/elements/gsttypefindelement.c:
4052 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4053 (gst_file_index_add_association):
4054 * plugins/indexers/gstmemindex.c:
4055 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4056 * tests/check/elements/queue.c: (setup_queue):
4057 * tests/check/gst/gstpipeline.c:
4058 * tests/check/libs/collectpads.c: (setup), (teardown),
4059 (gst_collect_pads_suite):
4060 * tests/examples/adapter/adapter_test.c:
4061 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4062 * tests/examples/xml/createxml.c:
4063 * tests/examples/xml/runxml.c:
4064 * tools/gst-inspect.c:
4066 Correct all relevant warnings found by the sparse semantic code
4067 analyzer. This include marking several symbols static, using
4068 NULL instead of 0 for pointers, not using variable sized arrays
4069 on the stack, moving variable declarations to the beginning of
4070 a block and using "foo (void)" instead of "foo ()" for declarations.
4072 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4074 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4075 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4076 Don't reset GstPollFDs, this is not necessary at all.
4078 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4079 (delayed_restart), (delayed_control):
4080 Use GST_POLL_FD_INIT.
4082 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4084 * gst/gstpoll.c: (gst_poll_fd_init):
4088 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4089 Use some more init macros.
4091 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4093 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4094 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4095 Use init macros and functions.
4097 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4099 * docs/gst/gstreamer-sections.txt:
4100 * gst/gstpoll.c: (gst_poll_fd_init):
4102 Add INIT macro and _init method for initializing the GstPollFD.
4104 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4106 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4107 (gst_fd_sink_update_fd):
4108 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4109 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4110 (delayed_restart), (delayed_control):
4111 Initialize some uninitialized variables as spotted by valgrind.
4113 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4115 * tests/benchmarks/Makefile.am:
4116 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4118 Add poll stress test.
4120 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4122 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4124 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4125 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4126 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4127 * plugins/elements/gstfdsink.h:
4128 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4129 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4130 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4131 (gst_fd_src_uri_set_uri):
4132 * plugins/elements/gstfdsrc.h:
4133 Port to GstPoll. See #505417.
4135 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4137 * win32/common/libgstreamer.def:
4138 Add new gst_poll_ symbols to win32 defs.
4140 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4142 * docs/libs/gstreamer-libs-sections.txt:
4143 * libs/gst/net/gstnetclientclock.c:
4144 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4145 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4146 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4147 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4148 * libs/gst/net/gstnetclientclock.h:
4149 * libs/gst/net/gstnettimeprovider.c:
4150 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4151 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4152 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4153 (gst_net_time_provider_new):
4154 * libs/gst/net/gstnettimeprovider.h:
4155 Use a private stuct to not break ABI.
4157 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4159 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4161 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4162 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4163 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4164 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4165 * libs/gst/net/gstnetclientclock.h:
4166 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4167 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4168 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4169 (gst_net_time_provider_new):
4170 * libs/gst/net/gstnettimeprovider.h:
4171 Massive code removal and cleanups because of GstPoll.
4174 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4177 Add checks for poll, ppoll and pselect.
4179 * docs/gst/gstreamer-docs.sgml:
4180 * docs/gst/gstreamer-sections.txt:
4181 Add docs for GstPoll.
4185 * gst/gstpoll.c: (find_index), (selectable_fds),
4186 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4187 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4188 (gst_poll_set_mode), (gst_poll_get_mode),
4189 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4190 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4191 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4192 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4193 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4194 (gst_poll_fd_can_write), (gst_poll_wait),
4195 (gst_poll_set_controllable), (gst_poll_restart),
4196 (gst_poll_set_flushing):
4198 Add generic poll abstraction. We ideally don't want to have this in core
4199 here but in glib intead...
4200 This code will be used in various network elements and ultimately for
4201 the nanosecond precision monotonic clock (that's why it's here in core).
4202 It'll allow us to implement cancelable socket operations for windows too.
4204 * tests/check/Makefile.am:
4205 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4206 (delayed_stop), (delayed_restart), (delayed_flush),
4207 (delayed_control), (gst_poll_suite):
4208 Add GstPoll unit test.
4210 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4213 Improve documentation of gst_filter_run(). Fixes #518627.
4215 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4218 Add a few lines about the new 'check-inspected-versions' target.
4220 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4222 * tests/check/gst/gstevent.c:
4223 Add qos to the event test. Rename tcase/tsuite; is not only about
4226 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4228 * plugins/elements/gstqueue.c:
4229 Ensure that buffer metadata is writeable, before modifying. Spotted by
4232 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4234 * plugins/elements/gstqueue.c:
4235 * plugins/elements/gstqueue.h:
4236 When dropping buffers in leaky modes, mark next buffers we sent as
4239 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4241 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4242 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4244 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4246 * plugins/elements/Makefile.am:
4247 * plugins/elements/gstbufferstore.c:
4248 * plugins/elements/gstbufferstore.h:
4249 * plugins/elements/gsttypefindelement.h:
4250 Remove GstBufferStore, no idea why we were still building it.
4251 It's not used anywhere and superseded by GstAdapter.
4253 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4254 (gst_file_src_create_mmap):
4255 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4256 Printf format fixes for 64-bit integers.
4258 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4261 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4262 We're not in 0.8 times anymore.
4264 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4266 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4267 (gst_check_element_push_buffer_list):
4268 * libs/gst/check/gstcheck.h:
4269 Make the declaration in the header for
4270 gst_check_element_push_buffer_list match the implementation.
4272 Fix up spelling, grammar and wording of the documentation in a few
4273 places, and add the Since keyword to new API functions.
4274 Use g_list_delete_link instead of g_list_remove in
4275 gst_check_drop_buffers, since it's immeasurably more efficient.
4277 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4278 Use new gst_check_drop_buffers function where appropriate.
4280 * win32/common/libgstbase.def:
4281 * win32/common/libgstreamer.def:
4282 Add new symbols gst_collect_pads_take_buffer,
4283 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4286 Changelog surgery to add API keyword to new gst_check API.
4288 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4290 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4291 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4292 Update pre-generated flex files with flex 2.3.34.
4294 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4296 * gst/gstminiobject.c:
4297 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4298 friendly to subclasses and not require them to know all internals
4299 of their parent class.
4301 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4303 * docs/libs/gstreamer-libs-sections.txt:
4304 * libs/gst/base/gstcollectpads.c:
4305 * libs/gst/base/gstcollectpads.h:
4306 Add sub-buffer functions to collectpads. Fixes #516187.
4307 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4309 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4312 Copy selected buffer-flags when creating subbuffers.
4315 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4317 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4318 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4319 * gst/gstmessage.c: (gst_message_class_init),
4320 (gst_message_finalize):
4321 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4322 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4323 (gst_mmap_buffer_finalize):
4324 Properly chain up finalize functions to the parent class.
4326 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4328 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4330 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4331 (gst_index_set_resolver_full):
4333 Add new function with option to dispose of user_data in resolver.
4334 Actually call the dispose function when finalizing the object and not
4335 just when changing the resolver/filter.
4336 API: GstIndex::gst_index_set_resolver_full()
4338 * docs/gst/gstreamer-sections.txt:
4339 Add new function to docs. Fixes #515469.
4341 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4343 * gst/gstindex.c: (gst_index_finalize):
4344 Chain up finalize to the parent class. Fixes leaking the GstObject
4345 name and other things.
4347 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4350 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4351 pre-releases or releases.
4353 * docs/faq/gst-uninstalled:
4356 * docs/random/release:
4357 Change one of the steps - we only upload core & base to Gnome FTP
4359 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4361 * gst/gstconfig.h.in:
4362 Add 'id' for example.
4366 * plugins/elements/gstfdsink.c:
4367 Link to signals. Doc and comment fixes.
4369 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4371 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4372 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4373 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4374 unused and unimplemented; finally, it is plugin features, not
4375 plugins, that have ranks.
4377 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4379 * gst/gstpluginfeature.h:
4380 Clarify GstRank range docs.
4382 2008-02-05 David Schleef <ds@schleef.org>
4384 * gst/gst.c: Add a separate gst_deinitialized that prevents
4385 gst_init() from being called after gst_deinit(). Fixes #509559
4387 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4389 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4390 (gst_bin_class_init):
4391 * gst/gstelement.c: (gst_element_base_class_init),
4392 (gst_element_class_add_pad_template):
4393 * gst/gstpadtemplate.c: (gst_pad_template_init):
4394 * gst/gstpipeline.c: (gst_pipeline_get_type),
4395 (gst_pipeline_base_init), (gst_pipeline_class_init):
4396 * libs/gst/base/gstbasesink.c:
4397 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4398 (gst_base_src_base_init), (gst_base_src_class_init):
4399 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4400 (gst_capsfilter_class_init):
4401 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4402 (gst_fake_sink_class_init):
4403 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4404 (gst_fake_src_class_init):
4405 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4406 (gst_fd_sink_class_init):
4407 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4408 (gst_fd_src_class_init):
4409 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4410 (gst_file_sink_class_init):
4411 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4412 (gst_file_src_class_init):
4413 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4414 (gst_identity_class_init):
4415 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4416 (gst_multi_queue_class_init):
4417 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4418 (gst_queue_class_init):
4419 * plugins/elements/gsttee.c: (gst_tee_base_init),
4420 (gst_tee_class_init):
4421 * plugins/elements/gsttypefindelement.c:
4422 (gst_type_find_element_base_init),
4423 (gst_type_find_element_class_init):
4424 * tests/check/gst/gstelement.c: (gst_element_suite):
4425 Revert previous changes to the behaviour of GstPadTemplates, etc
4426 and the possiblity to call them in class_init as it breaks too
4427 many elements. Reopens bug #491501.
4429 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4432 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4434 * tools/gst-launch.c:
4435 Dump one graph per pipeline state-change and state change name
4436 (if GST_DEBUG_DUMP_DOT_DIR is set).
4438 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4441 * tests/check/gst/gstpad.c:
4442 Be sure that we have a new copy of the caps and not
4443 reffed caps from a template
4445 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4447 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4448 * gst/gstpipeline.c: (gst_pipeline_get_type),
4449 (gst_pipeline_class_init):
4450 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4451 (gst_base_sink_class_init):
4452 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4453 (gst_base_src_class_init):
4454 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4455 (gst_base_transform_class_init):
4456 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4457 (gst_collect_pads_class_init):
4458 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4459 * libs/gst/net/gstnettimeprovider.c:
4460 (gst_net_time_provider_base_init),
4461 (gst_net_time_provider_class_init):
4462 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4463 (gst_capsfilter_class_init):
4464 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4465 (gst_fake_sink_class_init):
4466 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4467 (gst_fake_src_class_init):
4468 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4469 (gst_fd_sink_class_init):
4470 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4471 (gst_fd_src_class_init):
4472 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4473 (gst_file_sink_class_init):
4474 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4475 (gst_file_src_class_init):
4476 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4477 (gst_identity_class_init):
4478 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4479 (gst_multi_queue_class_init):
4480 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4481 (gst_queue_class_init):
4482 * plugins/elements/gsttee.c: (gst_tee_base_init),
4483 (gst_tee_class_init):
4484 * plugins/elements/gsttypefindelement.c:
4485 (gst_type_find_element_base_init),
4486 (gst_type_find_element_class_init):
4487 Don't use base_init where not absolutely necessary. For example it's
4488 not necessary anymore for adding pad templates or setting element
4491 Leave empty base_init functions in several places as GST_BOILERPLATE
4492 still defines and uses them.
4494 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4496 * gst/gstelement.c: (gst_element_base_class_init),
4497 (gst_element_class_add_pad_template):
4498 * gst/gstpadtemplate.c:
4499 Make it possible (and recommended) to set element details and add
4500 pad templates in the class_init functions by copying the details/pad
4501 templates in GstElement's base_init.
4503 Also make it possible to replace existing pad templates by adding
4504 a new one with the same name. This was done in a hackish fashion
4505 in same elements before already.
4507 Don't reference pad templates that are added a second time. A
4508 new pad template has a refcount of one and is not floating anymore
4509 and to be owned by the element's class. Make this more explicit by
4510 mentioning it in the docs of gst_element_class_add_pad_template().
4512 These changes are backwards compatible. Fixes bug #491501.
4514 * tests/check/gst/gstelement.c:
4515 Add unit test for setting element details, adding pad templates and
4516 replacing them in a subclass.
4518 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4520 * tools/gst-inspect.c: (print_interfaces),
4521 (print_element_properties_info), (print_pad_info),
4522 (print_signal_info), (print_element_info):
4523 Fix a few memory leaks.
4525 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4527 * docs/libs/gstreamer-libs-sections.txt:
4528 * libs/gst/check/gstcheck.c:
4529 * libs/gst/check/gstcheck.h:
4530 Add more functions for unit testing: gst_check_drop_buffers,
4531 gst_check_caps_equal, gst_check_element_push_buffer_list,
4532 gst_check_element_push_buffer
4533 API: gst_check_drop_buffers
4534 API: gst_check_caps_equal
4535 API: gst_check_element_push_buffer_list
4536 API: gst_check_element_push_buffer
4538 2008-02-01 Julien Moutte <julien@fluendo.com>
4540 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4541 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4542 (gst_index_finalize), (gst_index_entry_free),
4543 (gst_index_add_association): Fix memory leaks.
4544 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4545 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4546 (gst_mem_index_free_format), (gst_mem_index_free_id),
4547 (gst_mem_index_finalize): Fix memory leaks.
4548 * win32/common/config.h: Updated to CVS HEAD.
4550 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4553 Some more details about how the plugin docs works.
4555 * docs/plugins/gstreamer-plugins-sections.txt:
4558 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4560 * gst/parse/grammar.tab.pre.c:
4561 * gst/parse/grammar.tab.pre.h:
4562 * gst/parse/grammar.y:
4563 * gst/parse/lex._gst_parse_yy.pre.c:
4564 Add delayed set-property. This allows to set properties on dynamicaly
4565 created objects (pads in videomxer). Fixes #509391.
4567 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4570 Check if caps are not NULL (fix bug #510194)
4572 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4574 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4575 (gst_base_sink_get_position_paused):
4576 Add fixme regarding EOS in pull mode.
4577 Fix position reporting in PAUSED for negative rates.
4579 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4581 * gst/gstminiobject.c: (gst_mini_object_replace):
4582 When replacing a miniobject, do a quick equality check first so that we
4583 can avoid a ref/unref pair.
4585 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4587 * docs/design/part-synchronisation.txt:
4590 * docs/plugins/Makefile.am:
4591 * docs/plugins/gstreamer-plugins-docs.sgml:
4592 * docs/plugins/gstreamer-plugins-sections.txt:
4593 * plugins/elements/gstmultiqueue.c:
4594 Add multiqueue to the docs.
4596 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4601 === release 0.10.17 ===
4603 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4606 releasing 0.10.17, "Due Negligence"
4608 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4611 Revert caps != NULL check temporarily for 0.10.17 release.
4613 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4616 Check if caps are not NULL (fix bug #510194)
4618 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4621 Fix compilation on systems that have posix timers but no
4624 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4627 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4629 * tools/gst-inspect.c:
4630 Revert previous commit in preparation for an impromptu 0.10.17 release
4632 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4634 * tools/gst-inspect.c: (print_interfaces),
4635 (print_element_properties_info), (print_pad_info),
4636 (print_signal_info), (print_element_info):
4637 Fix a few memory leaks.
4639 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4644 === release 0.10.16 ===
4646 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4649 releasing 0.10.16, "Special Dispensation"
4651 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4654 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4655 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4656 not fail when trying to crosscompile on OpenEmbedded (#511750).
4658 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4661 Use $(MAKE) instead of make to fix the build if GNU make is
4662 called different. Fixes bug #510747.
4664 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4666 * gst/gstplugin.c: (_gst_plugin_initialize):
4667 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4668 again, which I broke two commits ago when changing the API
4669 of gst_plugin_register_static(): the g_list_foreach() in
4670 _gst_plugin_register_static still assumed the old function
4671 signature and would therefore fail (re-fixes #510187).
4673 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4674 (_gst_plugin_register_static), (gst_plugin_register_static):
4675 Revert the (technically correct) change to call g_thread_init() from
4676 the pre-main() constructor. This will break programs which call
4677 g_thread_init() without an if (!g_thread_supported()) guard in their
4678 main function. We could just blame it on GLib or the application, but
4679 it's probably best to just avoid this altogether and simply not use
4680 any GLib functions here and use plain old malloc() with a simple
4681 array to store the plugins to register later when gst_init() is
4682 finally called (re-fixes #510187).
4684 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4685 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4686 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4687 (GST_START_TEST), (gst_plugin_suite):
4688 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4691 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4693 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4694 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4695 This makes gtk-doc complain, but results in slightly better
4696 compiler errors. The old _gst_plugin_register_static() is
4697 still guarded, so there'll be a compiler warning about that
4698 instead. Fixes #510187 too.
4700 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4702 * gst/gst.c: (init_post):
4703 * gst/gstplugin.c: (_gst_plugin_register_static),
4704 (gst_plugin_register_static), (_gst_plugin_initialize):
4705 * gst/gstplugin.h: (GstPluginFilter):
4706 Change API of gst_plugin_register_static() to not take
4707 a GstPluginDesc, but rather just take all the arguments
4708 in a GstPluginDesc directly. This is more intuitive and
4709 avoids certain mistakes when porting code from
4710 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4713 * tests/check/gst/gstplugin.c:
4714 Fix up for changed API.
4716 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4718 * docs/faq/legal.xml:
4719 Update FAQ, Totem actually has an exception these days.
4721 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4723 * win32/common/libgstreamer.def:
4724 Add new API declarations
4726 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4728 * gst/gstminiobject.c:
4729 Spelling fixes for the API docs.
4731 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4733 * libs/gst/base/gstbasetransform.c:
4734 Fix long property description for QoS.
4736 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4739 _gst_trace_on is already provided by gsttrace.h, no need to declare
4742 * docs/libs/gstreamer-libs-sections.txt:
4743 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4744 and remove strange tcase_add_test which is outputting a warning.
4746 * libs/gst/check/gstcheck.c:
4747 * libs/gst/check/gstcheck.h:
4748 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4749 and define them in gstcheck.c instead of having every .c file whcih
4750 includes gstcheck.h be defining its own copy and relying on symbol
4751 interposing to marry them all, which doesn't work on Solaris.
4753 * tests/check/elements/identity.c: (GST_START_TEST):
4754 Don't define 'buffers' locally, it comes from libgstcheck.
4756 * tests/check/generic/sinks.c: (send_buffer):
4757 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4759 * tests/check/gst/gststructure.c: (GST_START_TEST):
4760 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4761 * tests/check/gst/gstutils.c: (GST_START_TEST):
4762 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4763 Add a bunch of casts to make various constants fit the types
4764 they're being assigned to.
4766 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4768 * gst/gstchildproxy.c:
4769 Improve docs and add some ideas for making this more general-purpose.
4771 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4773 * gst/gst_private.h: (GST_CAT_TYPES):
4774 Add GST_CAT_TYPES, for consistency, and so that the other
4775 debug categories don't make fun of it. Spotted by Saur on IRC.
4777 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4779 * gst/parse/Makefile.am:
4780 Move types.h from EXTRA_DIST to noinst_HEADERS.
4782 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4785 Add -Wno-portability to the automake parameters to stop warnings
4786 about GNU make extensions being used. We require GNU make in almost
4787 every Makefile anyway.
4790 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4791 at the same time is required for per target flags.
4793 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4796 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4797 __GNUC__ is defined before using it.
4799 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4801 * docs/gst/gstreamer-sections.txt:
4802 * gst/gst.c: (init_post):
4803 * gst/gstplugin.c: (_gst_plugin_register_static),
4804 (gst_plugin_register_static), (_gst_plugin_initialize),
4805 (gst_plugin_register_func):
4806 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4807 API: add gst_plugin_register_static() and deprecate
4808 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4810 Also, in _gst_plugin_register_static(), make sure to call
4811 g_thread_init() before calling GLib functions such as
4812 g_list_append() if we're not initialised yet, since that
4813 may lead to random crashes with older GSlice/GLib versions.
4815 * tests/check/gst/gstplugin.c:
4816 Adapt unit test to above changes.
4818 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4820 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4821 * gst/gstcaps.c: (gst_caps_to_string):
4822 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4823 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4824 Yet another gratuitous GString micro-optimisation: add a (private)
4825 function that serialises a structure appending to an existing
4826 GString, so that when we serialise caps we don't need to alloc+free
4827 a throwaway GString for each structure (each of which also entailing
4828 multiple reallocs on the way); also use g_string_sized_new() in
4829 various places with an approximate string length to avoid reallocs
4830 within GString. See #500143.
4832 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4834 * gst/gststructure.c: (gst_structure_id_set_value):
4835 Always check UTF-8 conformance of structure strings and not only
4836 if the debugging system is enabled; reasoning: the behaviour of
4837 the actual code shouldn't really change depending on whether the
4838 debugging system is enabled or not (#508291).
4840 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4843 Remove old coverage target in favour of "make lcov".
4845 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4847 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4848 (gst_base_src_loop):
4849 The start segment for reverse playback goes from start to last_stop.
4851 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4853 Patch by: Peter Kjellerstedt <pkj axis com>
4856 Cast the results from the timeval/spec_to_time macros to what the
4857 docs say it casts to, a GstClockTime. fixes #508175.
4859 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4862 Update some comments.
4864 * tools/gst-inspect.c: (print_element_properties_info):
4865 Improve printing of flags.
4867 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4869 * libs/gst/base/gstbasetransform.c:
4870 (gst_base_transform_transform_size):
4871 Print element name with g_warning() if there's a problem
4874 2008-01-07 David Schleef <ds@schleef.org>
4876 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4878 * libs/gst/controller/gstcontroller.h:
4879 * libs/gst/controller/gstcontrolsource.h:
4880 * libs/gst/controller/gstinterpolationcontrolsource.h:
4881 * libs/gst/controller/gstlfocontrolsource.h:
4882 * libs/gst/dataprotocol/dataprotocol.h:
4883 Fix empty prototypes. Fixes bug #507957.
4885 2008-01-07 David Schleef <ds@schleef.org>
4887 * docs/faq/dependencies.xml: Fix typo.
4889 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4891 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4892 (gst_base_src_loop):
4893 Don't update the last_stop position in do_seek, that's the position we
4895 Read backwards when we have a negative rate.
4897 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4898 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4900 Add check for reverse reading.
4902 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4904 Patch by: Alexis Ballier <aballier at gentoo org>
4906 * tests/check/gst/gstabi.c:
4907 * tests/check/gst/struct_ppc64.h:
4908 * tests/check/libs/libsabi.c:
4909 * tests/check/libs/struct_ppc64.h:
4910 Decide which header to include based on the userland ABI target
4911 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4912 for 64-bit userland (#503590). Might need something similar for
4915 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4917 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4918 Log the reason why fopen fails in addition to the fact that it failed.
4920 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4922 * gst/parse/parse.l:
4923 Use "%option never-interactive" to prevent useless calls to isatty()
4924 on every input when parsing. Also use "%option noinput" to not define
4925 the static input/yyinput functions which we don't use anyway. This
4926 removes a compiler warning with gcc 4.3 and saves some bytes in the
4929 * gst/parse/lex._gst_parse_yy.pre.c:
4930 Regenerated for the above change.
4932 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4934 * gst/gstpad.c: (fixate_value):
4935 Don't crash when trying to fixate and empty list.
4938 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4940 * docs/faq/gst-uninstalled:
4941 Clarify the comments to make the usage of this script and what it
4942 does easier to understand.
4944 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4946 * tools/gst-plot-timeline.py:
4947 Add more options to gst-plot-timeline
4949 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4951 * docs/design/part-synchronisation.txt:
4952 Some more info on how the stream_time in GstBaseSink is done.
4954 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4956 * tests/check/generic/sinks.c: (gst_sinks_suite):
4957 Put back the tcase_set_timeout(), apparently it's needed after
4958 all; fix it up in a way that makes things work with valgrind too.
4960 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4962 * gst/gstdebugutils.c:
4963 Add warning when failed to open file for writing.
4965 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4967 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4969 * gst/gstvalue.c: (gst_value_is_fixed):
4970 Optimisation: bail out of the loop as early as possible (#500143).
4972 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4974 * gst/gstcaps.c: (gst_caps_to_string):
4975 * gst/gstinfo.c: (gst_debug_construct_term_color):
4976 * gst/gstparse.c: (gst_parse_launchv):
4977 * gst/gstutils.c: (gst_util_dump_mem):
4978 * gst/gstvalue.c: (gst_value_serialize_any_list),
4979 (gst_value_transform_any_list_string):
4980 Bunch of gratuitous nano-optimisations.
4982 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4984 * tests/check/generic/sinks.c: (async_done_func),
4985 (async_done_eos_func):
4986 Fix leak in unit test (bus sync handler must unref the message
4987 if it returns GST_BUS_DROP). Don't fiddle with the default test
4988 timeout, this is smaller than the current preconfigured value
4989 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4990 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4992 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4994 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4997 Check for stdio_ext.h for the filesink changes.
4999 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5000 (gst_file_sink_class_init), (gst_file_sink_init),
5001 (gst_file_sink_dispose), (gst_file_sink_set_property),
5002 (gst_file_sink_get_property), (gst_file_sink_open_file),
5003 (gst_file_sink_close_file):
5004 * plugins/elements/gstfilesink.h:
5005 Add two properties to control the buffering mode and size.
5006 API: GstFileSink::buffer-mode
5007 API: GstFileSink::buffer-size
5010 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5012 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5013 Add some more docs to explain why a FIXME was wrongly added.
5015 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5018 Fix typo in the gst_object_{ref,unref} documentation.
5020 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5022 * tests/check/libs/controller.c:
5023 * tests/check/libs/typefindhelper.c:
5024 * tests/check/pipelines/parse-launch.c:
5025 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5026 going to be deprecated (see #498924).
5028 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5030 * gst/gsttypefind.c: (gst_type_find_register):
5031 Make gst_type_find_register work for static typefind functions,
5032 ie. allow passing plugin == NULL (prerequisite for #498924).
5034 * gst/gstelementfactory.c: (gst_element_register):
5035 Small docs addition.
5037 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5039 * gst/gstpad.c: (gst_pad_dispose):
5040 Really unlink the peer pad instead of setting the peer pointer to NULL
5041 when we dispose the pad.
5042 This correctly calls the unlink functions and makes sure that the peer
5043 does not have a handle to invalid memory. See #504671.
5045 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5046 Add testsuite for above case.
5048 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5050 Patch by: Peter Kjellerstedt <pkj axis com>
5052 * libs/gst/check/gstcheck.h:
5053 Fix detection of the check version we're compiling against (would
5054 otherwise break if check goes v0.10.0); correctly report the
5055 name of the failed test again in case of failure, instead of
5056 just 'tf' (fixes #504499).
5058 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5060 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5061 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5062 (gst_base_src_loop), (gst_base_src_set_flushing),
5063 (gst_base_src_change_state):
5064 Allow sending EOS to the source to make it send out an EOS event from
5065 the streaming thread.
5066 Update docs and deprecate the old NULL/READY shutdown method.
5068 * tests/check/libs/basesrc.c: (GST_START_TEST),
5069 (gst_basesrc_suite):
5070 Add unit test for controlled shutdown.
5072 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5074 * docs/design/part-synchronisation.txt:
5077 * gst/gstsegment.c: (gst_segment_set_seek),
5078 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5079 (gst_segment_to_running_time):
5080 The seek format can be different from the segment format when the start
5081 and stop values are not to be updated, when we only do a rate change for
5084 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5085 (gst_segment_suite):
5086 Add a testcase for the rate-only seeks, checking that the format is
5087 correctly ignored when start and stop are not updated.
5089 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5091 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5093 * win32/vs8/grammar.vcproj:
5094 * win32/vs8/libgstcontroller.vcproj:
5095 * win32/vs8/libgstreamer.vcproj:
5096 Fix compilation with VS8 and include some missing files.
5098 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5101 Small docs addition: mention that the strings returned by
5102 gst_tag_list_get_string*() are in UTF-8 encoding.
5104 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5107 The check-exports stuff moved to common/win32.mak, so include that.
5109 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5111 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5112 (gst_base_src_perform_seek), (gst_base_src_get_range),
5113 (gst_base_src_set_playing), (gst_base_src_change_state):
5114 Make _wait_playing() not check any variables so that we can call this
5115 function from subclasses. Move the checks elsewhere similar to
5116 _wait_preroll() in basesink.
5118 Only signal the LIVE cond when we are going back to PLAYING.
5120 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5122 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5123 Use g_remove() and g_rename(). Check result of g_rename(), and
5124 don't leak the open file descriptor if we error out when writing.
5126 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5127 Must check the return value of close() after writing out the new
5128 registry file. Sometimes write problems such as out-of-diskspace
5129 are only reported when the file is closed and not already during
5130 the write. This may have caused partial/broken registry files in
5131 some rare circumstances. Should fix #503675.
5133 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5135 * docs/gst/.cvsignore:
5136 * docs/libs/.cvsignore:
5137 * docs/plugins/.cvsignore:
5138 Ignore files generated by new common/* modifications
5140 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5142 * win32/common/libgstbase.def:
5143 Yes, you can also have a <TAB> if you want.
5145 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5147 * win32/common/libgstbase.def:
5148 Add new basetransform API to win export file.
5150 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5152 * tests/check/gst/gstbin.c:
5153 Adjust the test to the refcount change two days ago.
5155 2007-12-14 David Schleef <ds@schleef.org>
5157 * docs/faq/getting.xml: Fix typo.
5159 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5161 * docs/libs/gstreamer-libs-sections.txt:
5162 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5163 (gst_base_transform_prepare_output_buffer),
5164 (gst_base_transform_set_gap_aware):
5165 * libs/gst/base/gstbasetransform.h:
5166 API: Add gst_base_transform_set_gap_aware() to control whether
5167 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5168 get buffers with this flag at all. Fixes #503231.
5170 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5172 * libs/gst/base/gstbasesink.c:
5173 * libs/gst/base/gstbasesrc.c:
5174 * libs/gst/base/gstbasetransform.c:
5175 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5176 thread. Correct log message in gstbasesrc.c.
5178 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5180 * gst/gstutils.c: (element_find_unconnected_pad):
5181 Fix possible compiler warning (#503417).
5183 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5185 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5186 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5188 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5190 * tools/gst-inspect.c: (print_element_properties_info):
5191 Add support for GstFraction properties.
5193 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5196 Add check-exports target and run it as part of 'make check'
5197 (see #499140 and #493983).
5199 * gst/gst_private.h:
5200 * gst/gstelementfactory.h:
5201 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5202 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5203 (_priv_gst_in_valgrind):
5204 * gst/gstinfo.h: (GstLogFunction):
5205 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5206 (gst_type_find_register):
5207 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5208 (gst_type_find_factory_get_type):
5209 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5210 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5211 (gst_controller_new_valist), (gst_controller_new_list),
5212 (_gst_controller_dispose), (_gst_controller_class_init):
5213 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5214 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5215 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5216 (gst_object_get_controller), (gst_object_set_controller),
5217 (gst_object_suggest_next_sync), (gst_object_sync_values),
5218 (gst_object_set_control_source), (gst_object_get_control_source),
5219 (gst_object_get_value_arrays), (gst_object_get_value_array),
5220 (gst_object_get_control_rate), (gst_object_set_control_rate):
5221 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5222 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5223 Make some functions that should be static static; rename some
5224 private symbols so that they don't get exported; add some FIXME
5225 comments so we can move accidentally exported functions into
5226 our private section in 0.11.
5228 * win32/common/libgstreamer.def:
5229 Add gst_utils_get_timestamp().
5231 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5235 Add more missing "Since:" tags to docs.
5237 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5240 Add mising "Since:" to docs.
5242 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5245 Include "glib-compat-private.h" to fix the build on system with
5246 glib < 2.10. Fixes #503131.
5248 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5252 Actually its not PURE as it gets the time from elsewhere.
5254 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5256 * docs/gst/gstreamer-sections.txt:
5258 * gst/gstdebugutils.c:
5262 * libs/gst/base/gstbasesink.c:
5263 * tools/gst-launch.c:
5264 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5265 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5266 Thanks Tim for spotting.
5267 API: gst_util_get_timestamp
5269 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5272 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5274 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5276 * gst/gststructure.c: (gst_structure_validate_name),
5277 (gst_structure_new_valist), (gst_structure_parse_value),
5278 (gst_structure_from_string):
5279 Don't crash in _from_string() if the structure name is not valid
5280 (fixes #501560). Allow structure names to start with a number
5281 again (this apparently broke the ubuntu codec installer).
5283 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5285 Add unit test for the crash; update unit tests for new behaviour.
5287 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5290 Clarify gst_element_get_compatible_pad() documentation.
5293 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5295 * tests/check/Makefile.am:
5296 Don't forget to dist {gst,libs}/struct_hppa.h.
5298 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5300 * libs/gst/base/gstbasesink.c:
5301 Use new API to get elapsed time.
5303 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5305 * gst/gstdebugutils.c:
5307 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5309 * tools/gst-launch.c:
5310 Use new API to get elapsed time.
5312 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5314 * docs/gst/gstreamer-sections.txt:
5316 * gst/gstdebugutils.c:
5318 Rename new API + ChangeLog surgery to remove old name from last entry..
5320 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5322 * docs/gst/gstreamer-sections.txt:
5324 * gst/gstdebugutils.c:
5326 Now hide the different clock stuff behind a macro.
5328 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5331 * gst/gstdebugutils.c:
5333 Apply the posix-timer check from #361155. Conditionally use the posix
5334 timer for logging. This gives better timestamp precission, less
5335 overhead and no ntp jitter.
5337 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5339 * gst/gstminiobject.c: (gst_mini_object_get_type),
5340 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5341 (gst_mini_object_finalize), (gst_mini_object_copy),
5342 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5343 (gst_mini_object_replace), (param_mini_object_validate),
5344 (gst_param_spec_mini_object_get_type):
5345 Some cleanup and checking against invalid function parameters.
5347 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5349 * docs/gst/gstreamer-sections.txt:
5351 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5352 (gst_systemclock_suite):
5353 Start merging in the easy bits of #361155, the monotonic clock patch.
5354 This one adds a few handy macros with docs and a testsuite.
5356 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5358 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5359 Be a bit smarter when seeking, like, don't try to do a seek when it's
5360 not needed. This avoids errors when the file is not seekable.
5363 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5365 * docs/gst/gstreamer-docs.sgml:
5366 * docs/gst/gstreamer-sections.txt:
5367 * docs/gst/gstreamer.types.in:
5372 * plugins/elements/gstqueue.c:
5373 Due to popular request remove preset interface again. :-(.
5375 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5377 * tools/gst-inspect.c:
5378 Print 'default value' for enums and flags too.
5380 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5382 * docs/random/ensonic/profiling.txt:
5386 Fix typo and give better log output.
5388 * gst/gstdebugutils.c:
5389 * gst/gstdebugutils.h:
5390 More ideas, make graphs a bit smaller and fix param name in macro.
5392 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5395 Try harder to use the return value from fgets().
5397 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5400 For theses two fgets we handle the error below.
5402 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5404 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5405 Only send upstream events upstream. Fixes #498746.
5407 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5409 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5411 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5412 (gst_identity_init), (gst_identity_transform_ip),
5413 (gst_identity_set_property), (gst_identity_get_property):
5414 * plugins/elements/gstidentity.h:
5415 Add property to disable handoff signal emission. Fixes #498694.
5416 API: GstIdentity::signal-handoffs
5418 2007-11-21 Julien Moutte <julien@fluendo.com>
5420 * docs/faq/gst-uninstalled: Yet another missing library for the
5421 uninstalled script (fft)
5423 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5425 * docs/faq/developing.xml:
5426 Add a question about how to submit new translations.
5428 * docs/random/release:
5429 Update the contact email address for the Translation Project
5431 * plugins/elements/gstfdsrc.c:
5432 The parent_class for fdsrc is pushsrc, not GstElement.
5434 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5437 Plug a leak and fix saving.
5439 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5441 * docs/gst/gstreamer-sections.txt:
5442 Add new gst_preset__get_property_names() function to the docs
5445 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5449 Change _get_preset_names API to return a strv with copies. Add
5450 _get_property_names to allow implementations to filter and provide
5451 good default implementation.
5453 2007-11-20 Julien MOUTTE <julien@moutte.net>
5455 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5458 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5461 More cleanups, docs, and TODOs from comments that now slowly come in.
5463 2007-11-19 Julien MOUTTE <julien@moutte.net>
5465 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5468 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5471 Fix bogus warning and make the property type specific code more
5474 2007-11-19 Julien MOUTTE <julien@moutte.net>
5476 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5479 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5481 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5482 (gst_bin_add_func), (gst_bin_remove_func),
5483 (gst_bin_change_state_func), (gst_bin_continue_func):
5484 Change email, cleanups add some more debug and comments.
5485 Also set bus and clock on new elements when the pipeline was in error.
5487 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5490 * gst/gstdebugutils.c:
5491 Fix build with --disable-gst-debug. Fixes #497859.
5492 Spotted by Sameer Naik.
5494 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5497 Little documentation improvment.
5500 More TODO cleanups. Remove c++ comments.
5502 * libs/gst/controller/gstcontroller.c:
5503 Add TODO and use quark from static string.
5505 * tests/check/gst/gstmessage.c:
5506 * tests/check/gst/gststructure.c:
5507 Use quark from static string.
5509 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5512 Add some comments and TODOs.
5515 Add padding for future changes.
5517 * plugins/elements/gstqueue.c:
5518 Implement the iface.
5520 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5522 * docs/gst/gstreamer-docs.sgml:
5523 * docs/gst/gstreamer-sections.txt:
5524 * docs/gst/gstreamer.types.in:
5529 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5531 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5537 === release 0.10.15 ===
5539 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5542 releasing 0.10.15, "October"
5544 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5546 * win32/vs6/libgstreamer.dsp:
5547 Convert line endings back to DOS.
5549 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5551 * docs/design/draft-tagreading.txt:
5552 * docs/random/ensonic/profiling.txt:
5553 Update fast tagreading draft and performance profiling ideas.
5555 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5557 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5558 Don't hold the object lock when unreffing a buffer because it could
5559 cause a deadlock when the finalize function wants to grab the object
5560 lock too. Fixes #495133.
5562 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5564 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5565 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5566 Also accumulate time correctly when doing reverse playback. Fixes
5568 When converting to running and stream time, use default values for
5569 start/stop/time/accum when comparing different formats. Fixes #494245.
5571 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5572 Do running/stream time in TIME format.
5574 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5575 (gst_segment_suite):
5576 2 new unit tests for segment accumulation.
5578 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5580 * gst/gst.c: (init_pre):
5581 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5582 (_gst_debug_bin_to_dot_file):
5583 Move getenv() back into gst_init, so everyone can live happily
5584 ever after. Make sure the symbol isn't exported though.
5586 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5588 Patch by: Sebastien Moutte <sebastien moutte net>
5590 * win32/common/gstenumtypes.c:
5591 * win32/common/gstenumtypes.h:
5594 * win32/vs6/libgstreamer.dsp:
5595 Update vs6 project files (#494343).
5597 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5599 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5600 (gst_base_src_perform_seek), (gst_base_src_default_event),
5601 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5602 (gst_base_src_activate_pull):
5603 Unify flushing code, remove some old unlock code that is no longer used.
5604 Take the streaming lock when seeking to avoid races. Fixes #492729.
5605 Added some more comments.
5607 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5609 * gst/gst.c: (_gst_disable_segtrap):
5610 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5611 we can use gst_segtrap_is_enabled() there now that we have that API.
5612 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5613 to do the getenv here (and export the variable).
5615 * gst/gstdebugutils.c: (debug_dump_element),
5616 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5617 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5619 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5620 (gst_debug_log_default):
5621 Rename _gst_info_start_time to priv_gst_info_start_time so it
5622 doesn't get exported (was never in any header).
5624 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5625 (gst_plugin_loading_mutex):
5626 Make static mutex gst_plugin_loading_mutex really static (was never
5627 in any header), and use gst_segtrap_is_enabled() instead of
5628 _gst_disable_segtrap.
5630 * gst/gsttrace.c: (_gst_trace_default):
5631 Make local _gst_trace_default static (was never in any header).
5633 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5635 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5637 * win32/common/libgstbase.def:
5638 * win32/common/libgstcontroller.def:
5639 * win32/common/libgstdataprotocol.def:
5640 * win32/common/libgstnet.def:
5641 * win32/common/libgstreamer.def:
5642 Add more missing symbols, remove some duplicates, and sort
5643 as the 'sort' command sorts it (partially fixes #493983).
5645 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5647 * gst/gstelement.c: (gst_element_set_state_func):
5648 Only change the state cookie if a different state was set on the
5649 element. See #492729.
5651 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5654 Remove unused and uninitialised type variables that were still
5655 exported for some reason (they were never in any header files
5658 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5660 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5661 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5662 (gst_base_sink_event), (gst_base_sink_get_position_last),
5663 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5664 (gst_base_sink_change_state):
5665 Don't try to report a 0 position when we don't know, return -1 and FALSE
5666 instead. This mostly happens when we are prerolling.
5667 Make sure we can report the right position before we post the ASYNC_DONE
5668 message so that a message handler can query position without races.
5670 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5671 (async_done_handoff), (async_done_func), (send_buffer),
5672 (async_done_eos_func), (gst_sinks_suite):
5673 Add two tests for the above.
5675 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5678 Update with new email address.
5680 * docs/design/part-TODO.txt:
5681 Add some more info about future pad-block and negotiation changes.
5683 * docs/design/part-buffering.txt:
5684 Add some ideas about buffering reporting.
5686 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5688 * tests/check/gst/gstobject.c:
5689 Disable silly racy test that always fails on this combination of CPU
5692 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5694 Patch by: Murray Cumming <murrayc@murrayc.com>
5697 Corrected the registration of the parent-set and parent-unset
5698 signals: The parameter is a GstObject, not a GObject (#493134).
5700 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5702 * gst/gst_private.h:
5711 Move declaration of private _gst_foo_initialize() functions into
5712 our private header file where they should have been all along.
5714 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5716 * docs/plugins/gstreamer-plugins-sections.txt:
5717 * gst/gstdebugutils.h:
5719 * plugins/elements/gstqueue.c:
5720 gtk-doc fixes; trailing-comma-in-enum fix.
5722 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5724 * gst/gst.c: (gst_deinit):
5725 Clean up on deinit (not the external ones though, doesn't seem to be
5726 needed for some reason).
5728 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5730 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5731 Remove __declspec(dllimport) for MSVC that was copied over into core
5732 from a plugin, obviously without ever having been tested (note the
5733 single underscore in _declspec in the initial commit), and that doesn't
5734 really make sense. See #492077.
5736 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5738 * gst/gst.c: (init_post):
5739 * gst/gstevent.c: (_gst_event_initialize):
5740 * gst/gstquery.c: (_gst_query_initialize):
5741 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5742 g_type_class_ref() other types as well, see #349410 and #64764.
5744 * gst/gstbuffer.c: (_gst_buffer_initialize):
5745 * gst/gstmessage.c: (_gst_message_initialize):
5746 Simplify existing g_type_class_ref().
5748 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5750 * gst/gstformat.c: (_gst_format_initialize):
5751 g_type_class_ref() our GstFormat type to make sure we avoid the
5752 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5753 bug #64764. Should fix intermittent tee unit test failures (#474823).
5755 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5757 * tests/check/elements/tee.c: (test_num_buffers):
5758 Simplify, simplify, simplify - or not. Rewrite unit test
5759 not to use gst_parse_launch(); allow N sub-streams. Increasing
5760 the number of sub-streams seems to reproduce #474823 more easily.
5762 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5764 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5767 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5768 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5769 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5770 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5771 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5772 so use _pipe() directly (#492077).
5774 * win32/common/dirent.c: (_treaddir):
5775 Add a couple of casts to make it build without warnings with MSVC.
5777 * win32/common/libgstreamer.def:
5778 Add some more symbols that need to be exported.
5780 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5782 * tests/examples/metadata/read-metadata.c: (message_loop):
5783 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5784 arriving in a second or third tag message are added to
5785 the tag list as well.
5787 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5789 * libs/gst/base/gstbasesrc.c:
5790 Its "Since:" and not "@Since:". And remove an superflous cast.
5792 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5794 * docs/libs/gstreamer-libs-sections.txt:
5795 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5796 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5797 (gst_base_sink_get_property), (gst_base_sink_render_object),
5798 (gst_base_sink_preroll_object),
5799 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5800 (gst_base_sink_change_state):
5801 * libs/gst/base/gstbasesink.h:
5802 Add a new last-buffer property that contains the last buffer used in
5803 basesink for preroll or rendering. useful for making snapshots.
5804 API: gst_base_sink_get_last_buffer()
5805 API: GstBaseSink::last-buffer
5807 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5809 * docs/gst/running.xml:
5811 * gst/gstdebugutils.c:
5812 * gst/gstdebugutils.h:
5813 * tools/gst-launch.c:
5814 Improve bin graph dumping, by using the envvar to specify a path.
5815 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5817 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5819 * plugins/elements/gsttypefindelement.c:
5820 (gst_type_find_element_handle_event),
5821 (gst_type_find_element_activate):
5822 Post special error message if we can't determine the type of a stream
5825 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5827 * docs/gst/running.xml:
5828 * gst/gstdebugutils.c:
5829 Document new env-var. Add one log-line after dumpng a graph.
5831 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5834 Ugly hack to put the (recently removed and non-portable, apparently)
5835 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5836 GNU ld, because without that 'make check' fails miserably on my debian
5837 stable box. Someone with more knowledge of linker intricacies and
5838 portability issues than me fix this properly please.
5840 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5842 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5843 Reset last seen position after flushing so that we don't report the old
5846 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5848 * gst/gstelementfactory.c: (gst_element_register):
5850 Patch from Alessandro Decina adding get_type_full and
5851 get_protocols_full private vfuncs to the URIHandler interface
5852 to allow bindings to support creating URI handlers.
5853 Partially fixes: #339279
5854 API: GstURIHandlerInterface::get_type_full
5855 API: GstURIHandlerInterface::get_protocols_full
5857 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5859 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5860 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5861 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5862 Make it so that pads are considered linked until a buffer is pushed
5863 and discovered otherwise. This avoids problems with decodebin2 hanging
5864 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5867 Make sure we lock the multiqueue when updating the max-size properties.
5869 Fix a crash on Solaris in a debug statement in get_request_pad that
5870 passes a NULL string to GST_DEBUG.
5872 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5873 (run_output_order_test):
5874 Fix the test to allow the first buffer on not-linked pads to come out
5875 of sequence while multiqueue discovers that they are not-linked.
5877 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5880 * libs/gst/check/Makefile.am:
5881 Use a custom export symbol regex for libgstcheck, as it needs
5882 to export symbols that don't match the standard GStreamer gst_*
5883 pattern, and --export-dynamic is not portable (only works on
5886 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5887 (gst_check_setup_sink_pad):
5888 Make sure to pass a message parameter to the fail_* macros.
5890 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5891 Fix some compiler warnings.
5893 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5895 * tests/check/gst/gststructure.c: (test_to_string):
5896 Disable test that checks that white spaces are not allowed
5897 in structure names or field names, since we need to
5898 support that for now for backwards compatibility reasons.
5900 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5902 * docs/gst/gstreamer-sections.txt:
5905 API: add GST_TAG_ARTIST_SORTNAME
5906 API: add GST_TAG_ALBUM_SORTNAME
5907 API: add GST_TAG_TITLE_SORTNAME
5908 Add tag variants for sorting (#414539).
5910 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5912 * gst/gststructure.c:
5913 Also allow white space for names so we don't break
5914 backwards compatibility.
5916 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5918 * docs/design/part-TODO.txt:
5919 * docs/design/part-segments.txt:
5920 * docs/design/part-streams.txt:
5923 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5925 * docs/gst/gstreamer-sections.txt:
5926 Fixed documentation from my previous commit (added new API add
5927 gst_value_set_structure(), add gst_value_get_structure() and
5928 GST_VALUE_HOLDS_STRUCTURE).
5930 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5932 * gst/gstdebugutils.c:
5933 Reflow code to fix uninitialized variable warning.
5935 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5937 * gst/gstcaps.c: (gst_caps_to_string),
5938 (gst_caps_from_string_inplace):
5939 * gst/gststructure.c: (gst_structure_get_abbrs),
5940 (gst_structure_to_string), (gst_structure_from_string):
5941 * gst/gstvalue.c: (gst_value_set_structure),
5942 (gst_value_get_structure), (gst_value_serialize_structure),
5943 (gst_value_deserialize_structure), (_gst_value_initialize):
5945 * tests/check/gst/gststructure.c: (GST_START_TEST),
5946 (gst_structure_suite):
5947 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5948 Added GstStructure to gst_value_table and its related functions.
5949 Changed gst_structure_to_string to print ';' in the end.
5950 Changed gst_caps_to_string to not print ';' beteween its
5951 fields (structures) anymore and remove the lastes ';' from latest
5952 structure. Now it is possible to have nested structures.
5953 In addition, backward compatibilty is assured by accepting '\0' as
5954 end delimiter. Fixes: #487969.
5955 API: add gst_value_set_structure()
5956 API: add gst_value_get_structure()
5957 API: add GST_VALUE_HOLDS_STRUCTURE
5959 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5962 When no GSource callback has been set up, tell developer
5963 to use a function that actually exists.
5965 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5967 * docs/gst/gstreamer-sections.txt:
5971 * gst/gstdebugutils.c:
5972 * gst/gstdebugutils.h:
5975 * tools/gst-launch.c:
5976 Allow dumping pipelines as dot graphs. Fixes #456573.
5978 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5980 * gst/gststructure.c:
5981 Allow '+' as well, it can be part of media or mime types
5982 such as image/svg+xml.
5984 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5986 * docs/gst/gstreamer-sections.txt:
5989 API: add gst_bus_pop_filtered
5990 API: add gst_bus_timed_pop_filtered
5991 Two new functions for waiting for specific message types on the
5992 bus for a specified amount of time without iterating any main
5993 loops or main contexts.
5995 * tests/check/gst/gstbus.c:
5996 Some tests for the new functions.
5998 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6000 * docs/libs/gstreamer-libs-sections.txt:
6001 Make gtk-doc ignore stuff it should ignore.
6003 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6005 * libs/gst/check/gstcheck.c:
6006 * libs/gst/check/gstcheck.h:
6007 Allow runtime selection of unit tests to run via the GST_CHECKS
6008 environment variable (test case function names, comma-separated).
6010 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6012 * gst/gststructure.c:
6013 * tests/check/gst/gststructure.c:
6014 Revert serialisation change and constrain structure-names after
6015 consensus on irc. Update api documentation to reflect the change.
6017 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6019 * gst/gststructure.c:
6020 Improve serialization and fix tests.
6022 * tests/check/gst/gststructure.c:
6023 Add another test that covers why I actually did the previous structure
6026 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6028 * tools/gst-inspect.c: (print_element_info):
6029 Don't crash when inspecting an element.
6031 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6033 * tests/check/gst/gststructure.c:
6034 Add unit test for escaping of structure name when serialising
6035 and deserialising to/from strings.
6037 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6039 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6040 (gst_single_queue_new):
6041 * plugins/elements/gstqueue.c: (gst_queue_init),
6042 (gst_queue_push_one):
6043 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6044 upstream is tricked into thinking it can suggest a format downstream
6045 while downstream does not support that format. The real problem is that
6046 core calls acceptcaps when pushing a buffer with new caps, for which we
6047 do a little workaround by setting the caps on the srcpad ourselves
6048 before pushing the buffer (until this is figured out). Fixes #486758.
6050 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6052 * gst/gststructure.c:
6054 Add some more comments and debug output. Quote structure name to fix
6055 deserialisation of some strings.
6057 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6060 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6061 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6063 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6065 * tools/gst-inspect.c:
6066 Save approx. 400 1 byte allocs when printing. Use API to acces element
6072 * tools/gst-xmlinspect.c:
6073 Use API to acces element details.
6075 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6078 Fix some spelling errors.
6080 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6082 * gst/gstbin.c: (bin_handle_async_done):
6083 Correctly set the next state if all of our async children commited their
6084 state. This makes sure we can actually cancel the state change in
6085 progress. Fixes a regression in Rhythmbox when seeking.
6087 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6090 Don't shadow local variable.
6093 Don't shadow global function name.
6095 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6097 * gst/gstelementfactory.c:
6098 * gst/gstpluginfeature.c:
6099 * gst/gstpluginfeature.h:
6100 * gst/gstregistrybinary.c:
6101 * gst/gstregistryxml.c:
6102 * gst/gsttypefind.c:
6103 Use already-interned string for the private GstPluginFeature
6106 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6108 * docs/libs/gstreamer-libs-sections.txt:
6109 Add new API to docs; fixes the build.
6111 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6113 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6115 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6116 (gst_base_sink_event):
6117 * libs/gst/base/gstbasesink.h:
6118 Add function to wait for EOS, subclasses can use this to correctly wait
6119 for devices to drain before performing the EOS logic. Fixes #485343.
6120 API: gst_base_sink_wait_eos()
6122 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6125 Cast description string constants in GST_PLUGIN_DEFINE macros
6126 to a (gchar*) to make C++ code using these macros compile
6127 without warning with g++-4.2 (see #462737). Even if slightly
6128 ugly, this seems preferable to putting the description strings
6129 into the GLib quark table or making the structure member a
6130 const gchar * and doing casts in core code that allocs and
6131 frees these strings, or requiring a cast in the C++ code.
6133 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6136 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6137 to print the entire class/function signature into the log
6138 file for C++ code. This only affects C++ code, for C code
6139 everything remains the same.
6141 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6143 * gst/gstbin.c: (remove_from_queue):
6144 Work around a problem with pipelines containing (semi)loops until a
6145 proper, more complicated solution is ready. See #475455.
6147 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6151 * gst/gstregistrybinary.c:
6152 * gst/gstregistryxml.c:
6153 Put more strings into the GLib quark table. No need to keep
6154 a hundred-something copies of identical version strings,
6155 license strings, package name strings and package origin
6158 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6160 * docs/manual/advanced-dataaccess.xml:
6161 Don't imply that it's okay to unconditionally change
6162 buffer data or buffer metadata in a pad probe callback,
6163 and a bunch of other comments. Fixes #430031.
6165 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6167 * win32/common/gstenumtypes.c:
6168 * win32/common/gstenumtypes.h:
6169 * win32/common/gstversion.h:
6170 Update generated files.
6172 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6174 * docs/manual/advanced-autoplugging.xml:
6175 Prefix section with broken code with a warning (see #342432).
6177 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6179 * docs/manual/appendix-integration.xml:
6180 * docs/manual/basics-init.xml:
6181 Call g_thread_init() before g_option_context_new() to
6182 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6184 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6186 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6187 (gst_base_sink_queue_object_unlocked),
6188 (gst_base_sink_queue_object), (gst_base_sink_event),
6189 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6190 When we received EOS and are waiting for when to post the EOS message,
6191 our state is prerolled and we should not return ASYNC.
6192 Reorganize some code paths to implement this behavior.
6194 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6196 Add unit test to verify above EOS fix.
6198 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6200 * plugins/elements/gsttypefindelement.c:
6201 (gst_type_find_element_have_type), (gst_type_find_element_init),
6202 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6203 Move detecting the input caps of the sinkpad to the setcaps function.
6204 This allows us to update the output caps when we receive new input caps
6205 instead of always using the first detected caps.
6207 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6209 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6210 (gst_base_sink_get_position):
6211 Don't try to preroll non-async elements after a flush.
6212 Subtract latency form clock times when reporting position.
6214 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6216 * gst/gstpad.c: (gst_pad_pause_task):
6218 Small comment and documentation update.
6220 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6222 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6223 (gst_base_src_set_live), (gst_base_src_is_live),
6224 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6225 (gst_base_src_default_event), (gst_base_src_wait),
6226 (gst_base_src_do_sync), (gst_base_src_get_range),
6227 (gst_base_src_pad_get_range), (gst_base_src_loop),
6228 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6229 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6230 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6231 (gst_base_src_change_state):
6232 Rework the locking of basesrc in a similar fashion to basesink. We
6233 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6234 us to handle live sources and semi live ones much better.
6236 Fix unlocking when seeking, shutting down and pausing in live sources.
6238 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6240 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6241 Fix compilation again.
6243 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6246 Use meaningful categories for the logs to clean the default one.
6248 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6250 * tests/check/pipelines/cleanup.c:
6251 Print message name and not just number.
6253 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6255 * docs/design/draft-tagreading.txt:
6256 Add some more thoughts.
6258 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6260 * tests/check/pipelines/simple-launch-lines.c:
6261 Print message name and not just number.
6263 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6265 * libs/gst/base/gsttypefindhelper.c:
6266 Speedup typefinding. This is work in progress (see #459862).
6268 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6271 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6272 Spotted by Josep Torra Valles <josep@fluendo.com>.
6274 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6277 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6278 field has moved to GstObject.
6280 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6282 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6283 (gst_base_src_get_range), (gst_base_src_change_state):
6284 Call unlock for live sources so that they can't get stuck in _create and
6285 produce a buffer before they are set back to PLAYING.
6287 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6289 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6290 (gst_queue_locked_dequeue):
6291 Comment the segment-related code... in the PROPER function.
6292 See #482147 and my commit from yesterday.
6294 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6296 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6297 Also initialize the counter that calculates the first timestamp on a
6298 buffer correctly for non-live sources.
6300 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6302 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6303 Disable code that's breaking the current-time-level reporting.
6306 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6308 * docs/gst/gstreamer-sections.txt:
6309 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6310 as they shouldn't show up. Fixes the docs build.
6312 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6315 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6316 Define M_PI which is used in files which are including gstinfo.h.
6317 VS6 includes doesn't define it.
6318 * win32/common/libgstbase.def:
6319 * win32/common/libgstcontroller.def:
6320 * win32/common/libgstreamer.def:
6321 Add new exported functions and variables.
6322 * win32/vs6/libgstcontroller.dsp:
6323 * win32/vs6/libgstreamer.dsp:
6324 Update the list of files to build.
6326 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6328 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6330 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6331 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6332 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6333 Improve debugging. Fixes #480858.
6335 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6337 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6339 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6340 First patch of code cleanups, use the macros and right arguments in the
6341 macros to signal and lock the queue. See #480858.
6343 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6345 * gst/gstbus.c: (poll_func):
6346 Improve debugging when dealing with _poll().
6348 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6350 * gst/gstregistryxml.c:
6351 Fix memory leak I introduced a few days ago.
6353 2007-09-26 Michael Smith <msmith@fluendo.com>
6355 * gst/gstbuffer.c: (gst_buffer_finalize):
6356 Make it once again possible to free GstBuffers in the default
6358 The poisoning scribbles on parts of the miniobject we need in
6362 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6364 * docs/gst/gstreamer-sections.txt:
6367 API: add GST_TAG_COMPOSER, fixes #459809.
6369 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6373 Add the 3-clause BSD license and the MIT/X11 license to the license
6374 list. Fixes #479784.
6376 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6378 * docs/faq/getting.xml:
6379 Add Q+A about different GStreamer versions (#364056).
6381 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6383 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6384 (gst_base_sink_event), (gst_base_sink_change_state):
6385 Return correct gboolean from query function.
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_query),
6391 (gst_base_sink_change_state):
6392 Simplify latency query.
6393 When not synchronizing, we can report latency without querying the peer
6396 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6400 Fix small typos in the docs.
6402 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6404 * docs/design/draft-latency.txt:
6405 * docs/design/draft-push-pull.txt:
6406 * docs/design/draft-tagreading.txt:
6407 * docs/design/part-MT-refcounting.txt:
6408 * docs/design/part-activation.txt:
6409 * docs/design/part-block.txt:
6410 * docs/design/part-element-source.txt:
6411 * docs/design/part-events.txt:
6412 * docs/design/part-gstbin.txt:
6413 * docs/design/part-gstelement.txt:
6414 * docs/design/part-gstobject.txt:
6415 * docs/design/part-gstpipeline.txt:
6416 * docs/design/part-messages.txt:
6417 * docs/design/part-preroll.txt:
6418 * docs/design/part-push-pull.txt:
6419 * docs/design/part-qos.txt:
6420 * docs/design/part-query.txt:
6421 * docs/design/part-scheduling.txt:
6422 * docs/design/part-seeking.txt:
6423 * docs/design/part-segments.txt:
6424 * docs/design/part-states.txt:
6425 Documentation updates and typo fixes.
6427 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6429 * plugins/elements/gstfakesink.c:
6430 Add some debug text to error message to indicate that
6431 we errored out on request.
6433 * tools/gst-launch.c:
6434 When the state change to PLAYING fails, check for an
6435 error message on the bus and print it.
6437 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6439 translated by: Jorge González González <aloriel@gmail.com>
6443 Added Spanish translation.
6445 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6447 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6448 Fix printf arguments.
6450 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6452 * tests/check/generic/states.c:
6453 Improved state change unit test.
6455 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6458 Move priv to the right place.
6460 * gst/gstsystemclock.c:
6461 Add FIXME: and improve log.
6463 * tests/check/Makefile.am:
6464 * tests/examples/manual/Makefile.am:
6465 Work with all types of registries.
6467 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6469 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6470 Don't unref the event after pushing it. Fixes #478401.
6472 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6475 * tests/examples/manual/.cvsignore:
6476 Ignore registries in any format.
6478 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6480 * gst/glib-compat-private.h:
6481 Add compatibility macro for g_intern_string() for
6482 GLib-2.8 (any reason we can't just bump the
6483 requirement to at least 2.10?)
6485 * gst/gstpadtemplate.h:
6486 * gst/gstelementfactory.c:
6487 * gst/gstregistryxml.c:
6488 * gst/gstregistrybinary.c:
6489 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6490 up the internal code accordingly. This shouldn't be a problem, since
6491 there is no reason external code could ever assume the string in such
6492 a structure is dynamically allocated unless it did that itself; the
6493 use of g_strdup() is private to element factories. The new code also
6494 saves some memory by putting pad template name strings into the GLib
6495 quark table instead of allocating them dynamically.
6496 Declaring this field constant fixes warnings with g++-4.2 when using
6497 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6499 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6501 * gst/gstelementfactory.c:
6502 Release static caps. Fixes #475723.
6504 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6508 Make some internal API take const gchar * instead of just
6509 gchar * to avoid compiler warnings with g++-4.2.2 when
6510 passing string constants (partially fixes #478092).
6512 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6514 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6515 A latency query fails when one of the sinks fail.
6517 * gst/gstelement.c: (gst_element_set_base_time):
6520 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6522 * gst/gstbin.c: (gst_bin_continue_func):
6523 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6524 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6525 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6527 Fix minor compilation warnings shown with Forte.
6529 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6531 * plugins/elements/gstqueue.c: (apply_buffer),
6532 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6533 Measure queue level based on the diff between head and tail timestamps
6534 even when pushing the first buffer.
6536 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6538 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6539 (gst_base_sink_event), (gst_base_sink_change_state):
6540 Sinks that don't preroll can always be queried for the latency.
6541 Don't post ASYNC start when we are not async.
6543 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6545 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6546 (gst_queue_handle_sink_event), (gst_queue_chain),
6547 (gst_queue_push_one), (gst_queue_handle_src_query),
6548 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6549 * plugins/elements/gstqueue.h:
6550 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6551 push more buffers but allow pushing of EOS and NEWSEGMENT.
6552 Add some more debug info here and there. Fixes #476514.
6554 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6556 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6557 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6558 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6559 (gst_base_sink_set_flushing), (gst_base_sink_query),
6560 (gst_base_sink_change_state):
6561 Latency query is allowed after we are prerolled. Introduce a new flag
6562 for this and stop abusing other variables.
6564 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6566 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6567 Push OOB events downstream when we get them in send_event. This allows
6568 the application to insert events in the pipeline.
6569 Add some more comments.
6571 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6573 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6574 (do_bin_latency), (gst_bin_change_state_func):
6575 * gst/gstpipeline.c: (gst_pipeline_change_state):
6576 Move latency query from GstPipeline to GstBin so that we can also
6577 use it when async-handling is enabled on bins.
6579 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6581 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6582 (gst_base_src_do_sync), (gst_base_src_change_state):
6584 Clean up the timestamping and syncing code for pseudo live sources.
6586 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6588 Patch by: Steve Fink <sphink gmail com>
6590 * docs/manual/appendix-checklist.xml:
6591 Mention less -R switch in the section about debug output (#474055).
6593 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6595 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6596 Queue can latency to the pipeline up to the configured max size in time.
6597 Report this fact in the latency query.
6599 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6601 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6603 * libs/gst/controller/gstinterpolation.c:
6604 * libs/gst/controller/gstlfocontrolsource.c:
6605 Use gst_guint64_to_gdouble() when converting from a uint64 or
6606 GstClockTime to double to fix the build on win32. Fixes #474371.
6608 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6610 * gst/gstbuffer.c: (gst_buffer_finalize):
6611 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6612 When finalizing a buffer the complete struct is filled with 0xff,
6613 thus making a use of the buffer after the final unref impossible.
6615 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6617 * tests/check/libs/controller.c: (GST_START_TEST):
6618 Use fail_unless_equals_int(a, b) instead of
6619 fail_unless_equals (a == b) to get better output on failures.
6621 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6623 * tests/check/gst/gsturi.c:
6624 Also check for the other file URI variant on win32.
6626 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6628 * gst/gsturi.c: (gst_uri_get_location):
6629 If there's no hostname, we want to return 'c:/foo/bar.txt'
6630 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6632 * tests/check/gst/gsturi.c:
6633 Unit test for the above and a few more things.
6635 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6637 * docs/design/part-live-source.txt:
6638 Add docs on how live sources should timestamp.
6640 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6641 Add some more debug info.
6642 For subclasses that are live and like to sync, add aditional startup
6643 latency to sync time and timestamps so that we timstamp according to the
6646 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6649 Also do a g_type_class_ref() for the subbuffer type in
6652 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6654 * docs/gst/gstreamer-sections.txt:
6655 * gst/gstpad.c: (gst_pad_peer_query):
6657 Add function to perform a query on the peer of a pad.
6658 API: gst_pad_peer_query()
6660 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6662 * tests/check/gst/gstsystemclock.c:
6663 Cleanup the test a little (use gst-logging and not g_message). Improve
6664 test to check if a wait reached the target.
6666 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6668 * docs/libs/gstreamer-libs-sections.txt:
6669 Add new API to docs and fix the build.
6671 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6673 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6674 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6675 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6676 (gst_base_src_get_property), (gst_base_src_do_sync):
6677 * libs/gst/base/gstbasesrc.h:
6678 Add property to make the basesrc timestamp buffers based on the current
6680 API: GstBaseSrc::do-timestamp
6681 API: gst_base_src_set_do_timestamp()
6682 API: gst_base_src_get_do_timestamp()
6684 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6686 * docs/random/release:
6687 Really make sure translations are up-to-date before
6688 a release (#465010).
6690 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6692 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6693 Always destroy the timer, also in error cases.
6695 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6697 * docs/manual/highlevel-xml.xml:
6698 Fix XML example code. Fixes #472714.
6700 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6702 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6703 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6704 (gst_base_sink_query):
6705 Protect eos and have_preroll with the OBJECT lock so we don't need to
6706 take the PREROLL lock when querying the latency. Fixes #473846.
6708 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6711 Give some log-messages a category.
6713 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6715 * gst/gststructure.c:
6716 (gst_structure_fixate_field_nearest_fraction):
6717 Fix fraction list fixation code. Take the fraction with the smallest
6718 difference with the target instead of the first one in the list.
6720 * tests/check/gst/gststructure.c: (GST_START_TEST),
6721 (gst_structure_suite):
6722 Added test to verify correct fraction list fixation behaviour.
6724 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6726 * win32/common/libgstreamer.def:
6727 Export gst_bus_add_signal_watch too.
6729 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6731 * docs/libs/gstreamer-libs-sections.txt:
6732 Add new methods to docs.
6734 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6735 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6736 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6737 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6738 * libs/gst/base/gstbasesink.h:
6739 Add ts-offset property to fine-tune the synchronisation.
6740 API: GstBaseSink::ts-offset property
6741 API: gst_base_sink_set_ts_offset()
6742 API: gst_base_sink_get_ts_offset()
6744 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6746 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6747 (gst_base_sink_init), (gst_base_sink_set_sync),
6748 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6749 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6750 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6751 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6752 (gst_base_sink_get_property), (gst_base_sink_change_state):
6753 * libs/gst/base/gstbasesink.h:
6754 Add async property to instruct the sink never to inform the parent about
6755 ASYNC state changes, update docs.
6756 Check argument with g_return_* for the public functions.
6757 API: GstBaseSink::async property
6758 API: gst_base_sink_set_async_enabled()
6759 API: gst_base_sink_is_async_enabled()
6761 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6763 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6766 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6767 (gst_base_src_default_query), (gst_base_src_wait),
6768 (gst_base_src_do_sync), (gst_base_src_change_state):
6769 Rearrange some code so that we can add support for measuring the
6772 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6774 * docs/random/ensonic/dynlink.txt:
6775 More thoughs on this.
6777 * plugins/elements/gstcapsfilter.c:
6778 Add bugzilla ticket number to FIXME comment.
6780 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6782 * docs/design/part-TODO.txt:
6783 * docs/design/part-block.txt:
6786 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6789 Revert patch which uses $(gst_headers) instead of $^ because it
6792 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6794 * tests/check/gst/gstbin.c: (GST_START_TEST):
6795 Fix leaks in the new unit test.
6797 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6800 Don't use GST_INFO before the debug system is actually initialised
6801 (shouldn't do any harm, but won't print anything either, so we can
6802 just as well remove it).
6805 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6806 compilers that don't support variadic macros (such as MSVC), should
6807 check for debug_level <= __gst_debug_min as well, since that's the
6808 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6809 inline helper functions. Should improve performance a bit, but also
6810 makes sure uses of GST_INFO et.al are ignored if the debugging
6811 system isn't initialised yet (instead of printing an assertion
6814 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6816 patch by: David Nečas <yeti@physics.muni.cz>
6819 Replace some non portable makefile constructs.
6821 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6823 * common/gtk-doc-plugins.mak:
6824 Grrrrr. Don't remove the types file on make clean.
6826 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6828 * tools/gst-launch.1.in:
6829 Add colorspace to example pipeline. Fixes #458274.
6831 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6833 * docs/random/release:
6834 The release manager should run 'make download-po' before making a
6835 release to make sure translations are up-to-date.
6841 Add some new translations.
6843 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6845 * tools/gst-launch.c: (event_loop), (main):
6846 Don´t try to do any state management when a live pipeline posts
6848 Also make the buffering string translatable.
6850 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6852 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6853 (bin_handle_async_start), (gst_bin_handle_message_func):
6855 When adding elements, insert messages into the bus of the newly added
6856 element and make sure the element is the source of the message. This
6857 allows the parent bin to intercept the message and do the
6858 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6859 messages to the app (which is not allowed).
6862 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6863 Fix testsuite so that is does not work around messages that should not
6864 have been posted in the first place.
6866 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6868 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6869 (update_degree), (gst_bin_sort_iterator_next):
6870 Fix annoying bug in the sorted iterator where a sink that is not really
6871 a sink (when it has downstream links) screwed up the iterator.
6873 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6874 Unit test to verify the fix.
6876 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6879 Add some more docs for the messages.
6881 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6882 (gst_base_sink_query):
6883 Add some more debugging.
6885 * tools/gst-launch.c: (event_loop):
6886 When interrupting, don't try to set pipeline to PAUSED twice.
6888 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6891 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6892 (bin_handle_async_start), (gst_bin_handle_message_func):
6893 Move ASYNC_START message posting to where it belongs, similar to
6895 Don't post ASYNC_START when we are in error.
6896 Post ASYNC_START when we added an async element to a bin.
6898 2007-08-14 Julien MOUTTE <julien@moutte.net>
6900 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6901 generation from vargs. Fixes #466595.
6903 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6905 * gst/gstbin.c: (gst_bin_element_set_state):
6906 Always change the state of a NO_PREROLL element even if it has ASYNC
6907 elements inside (in case of a bin).
6909 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6910 Unit test for this case.
6912 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6914 * libs/gst/check/gstbufferstraw.c:
6915 * libs/gst/check/gstcheck.h:
6916 * libs/gst/controller/gstcontroller.c:
6917 * libs/gst/controller/gstcontrolsource.h:
6918 * libs/gst/controller/gstlfocontrolsource.h:
6919 * plugins/elements/gstcapsfilter.h:
6920 * plugins/elements/gstfdsink.h:
6921 * plugins/elements/gstfdsrc.h:
6922 Add more missing docs.
6924 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6926 * gst/gststructure.c:
6927 Add Since tag to docs.
6929 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6931 * docs/gst/gstreamer-sections.txt:
6932 * gst/gststructure.c: (gst_structure_get_uint):
6933 * gst/gststructure.h:
6934 Add function to get uint from a structure.
6935 API: gst_structure_get_uint()
6937 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6939 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6940 (gst_caps_intersect):
6941 Fix proper check for simple caps.
6943 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6945 * docs/gst/Makefile.am:
6946 * docs/libs/Makefile.am:
6947 Remove cruft and do some cleanups.
6949 * docs/gst/gstreamer-docs.sgml:
6950 * docs/libs/gstreamer-libs-docs.sgml:
6951 Prepare for comming gtkdoc features (rebase against online docs).
6953 2007-08-10 Michael Smith <msmith@fluendo.com>
6955 * docs/gst/gstreamer-sections.txt:
6956 Add gst_registry_add_path to docs.
6958 2007-08-10 Michael Smith <msmith@fluendo.com>
6960 * gst/gstregistry.h:
6961 Add gst_registry_add_path, which was missing from this header.
6963 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6965 * libs/gst/controller/gstlfocontrolsource.c:
6968 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6970 * libs/gst/base/gstbasesink.c:
6971 Don't send an async_start message during downwards state change if
6972 target state is less than READY
6974 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6976 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6980 Added Hungarian translation.
6982 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6989 Updated translations.
6991 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6993 * libs/gst/controller/Makefile.am:
6994 Dist gstlfocontrolsourceprivate.h
6996 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6998 * docs/libs/gstreamer-libs.types:
6999 Don't register the enum type gst_lfo_waveform_get_type() in the
7000 .types file - only GObject derived types belong.
7002 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7004 Patch by: <arenevier at fdn dot fr>
7007 Remove comma from last element in enum to avoid compile errors when
7008 using -pendantic. Fixes #464366.
7010 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7012 * docs/design/part-TODO.txt:
7013 Add some more TODO items
7015 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7018 * gst/gstcaps.c: (gst_caps_intersect):
7019 Optimize trivial intersection case between identical caps pointers.
7021 * gst/gstelement.c: (gst_element_continue_state),
7022 (gst_element_set_state_func):
7024 Fix spelling and grammar mistakes.
7026 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7030 Update POTFILES. Fixes #461599.
7032 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7035 Fix confusing typo in debug output.
7037 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7039 reviewed by: Stefan Kost <ensonic@users.sf.net>
7041 * libs/gst/controller/Makefile.am:
7042 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7043 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7044 (gst_lfo_control_source_new),
7045 (gst_lfo_control_source_set_waveform),
7046 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7047 (gst_lfo_control_source_finalize),
7048 (gst_lfo_control_source_dispose),
7049 (gst_lfo_control_source_set_property),
7050 (gst_lfo_control_source_get_property),
7051 (gst_lfo_control_source_class_init):
7052 * libs/gst/controller/gstlfocontrolsource.h:
7053 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7054 API: Add GstLFOControlSource, a control source that gives values
7055 for specific timestamps based on several periodic waveforms.
7058 * tests/check/libs/controller.c: (GST_START_TEST),
7059 (gst_controller_suite):
7060 * docs/libs/gstreamer-libs-docs.sgml:
7061 * docs/libs/gstreamer-libs-sections.txt:
7062 * docs/libs/gstreamer-libs.types:
7063 Add documentation and unit tests for GstLFOControlSource.
7065 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7070 === release 0.10.14 ===
7072 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7075 releasing 0.10.14, "Breathing Vacuum"
7077 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7079 * gst/gstelement.c: (gst_element_class_set_details_simple):
7081 Make strings passed to gst_element_class_set_details_simple()
7082 constant, as they should be (#462752).
7084 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7086 * gst/gstbin.c: (gst_bin_change_state_func),
7087 (bin_handle_async_done), (gst_bin_handle_message_func):
7088 Don't forget about the fact that some element went ASYNC even after a
7089 resync. This makes us post the ASYNC_DONE message correctly.
7092 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7094 * gst/gstregistry.c: (gst_registry_add_feature):
7095 When replacing an existing feature in the registry, make sure to
7096 continue holding a reference until we've replaced the name string
7097 within our feature hash table. Make sure to use g_hash_table_replace
7098 instead of g_hash_table_insert to ensure the new name string is used
7099 as a key instead of the old one that we're about to free.
7102 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7104 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7105 (gst_plugin_feature_set_name):
7106 Revert patch from #459466 until after the release and we can work
7107 out exactly what the problem is (if any).
7109 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7111 * docs/gst/gstreamer-sections.txt:
7114 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7116 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7118 * docs/libs/Makefile.am:
7119 Include our build-prefix libs and includes before the generic ones to
7120 avoid linking against the installed libs when we want the build-tree
7123 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7125 Patch by: Steve Fink <sphink gmail com>
7127 * docs/pwg/building-testapp.xml:
7128 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7129 if people try to build or install the example from the plugin
7130 template against a GStreamer from package using the configure
7133 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7135 Patch by: Steve Fink <sphink gmail com>
7137 * tools/gst-inspect.1.in:
7138 Document --print-all and --print-plugin-auto-install-info command
7139 line options in man page.
7141 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7143 * docs/gst/gstreamer-sections.txt:
7144 Add docs for new api function.
7146 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7148 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7149 * gst/gstelementfactory.h:
7150 API: gst_element_factory_has_interface()
7151 Added method to check if an element factory implements a named
7154 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7157 * docs/gst/gstreamer.types.in:
7158 Another conditional doc check.
7161 * gst/gstparamspecs.h:
7162 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7167 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7169 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7170 (gst_registry_binary_load_feature),
7171 (gst_registry_binary_load_plugin),
7172 (gst_registry_binary_read_cache):
7173 Print error just once and with additional info.
7175 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7177 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7178 (helper_find_suggest), (helper_find_get_length),
7179 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7180 (gst_type_find_helper_for_buffer):
7181 Cleanup the typefindhelper code and add private doc comments.
7183 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7185 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7186 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7187 Fix capsfilter for cases where the caps set on capsfilter will provide
7188 additional information.
7191 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7193 * gst/gsttypefindfactory.c:
7194 Fix docs that recommened wrong function to use.
7196 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7198 * tools/gst-inspect.c: (print_plugin_features):
7199 Also give media-type for typefinders in element output.
7201 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7203 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7204 (gst_registry_remove_features_for_plugin_unlocked),
7205 (gst_registry_add_feature), (gst_registry_remove_feature),
7206 (gst_registry_lookup_feature_locked):
7207 * gst/gstregistry.h:
7208 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7211 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7213 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7214 (gst_plugin_feature_set_name):
7215 Avoid double memory usage for pluginfeature names. Fixes #459466.
7217 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7220 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7221 driving the pipeline may need to explicitly check for NOT_LINKED as
7222 well, since IS_FATAL doesn't cover that.
7224 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7226 * docs/pwg/advanced-types.xml:
7227 Fix typo and duplicate entry in video formats list.
7229 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7231 * libs/gst/controller/gstinterpolation.c:
7232 Also round to the nearest int when using cubic interpolation.
7234 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7236 * libs/gst/controller/gstinterpolation.c:
7237 When linearly interpolating integer types, round to the nearest int
7238 by adding 0.5. Don't do it for float/double types.
7239 Fixes the failing controller test on my machine, which is somehow
7240 rounding differently than on the buildbots.
7242 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7244 * tools/gst-plot-timeline.py:
7245 Better log parsing (categories can have -). Adjust text vs. lines, so
7246 that they span the same y-range.
7248 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7250 * docs/random/ensonic/audiobaseclasses.txt:
7251 * docs/random/ensonic/dynlink.txt:
7252 * docs/random/ensonic/profiling.txt:
7255 * docs/random/moving-plugins:
7256 Add note to use g_assert type macros.
7258 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7261 * libs/gst/check/Makefile.am:
7262 Add libm check as we use in for plugins.
7264 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7266 * gst/gstbin.c: (gst_bin_continue_func):
7267 Check that the state_cookie hasn't changed since the continue_func
7268 was scheduled. Avoids problems where the state changes back to
7269 something it shouldn't be because it was changed in the meantime.
7271 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7273 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7274 (gst_registry_binary_save_string),
7275 (gst_registry_binary_save_pad_template),
7276 (gst_registry_binary_save_feature),
7277 (gst_registry_binary_save_plugin),
7278 (gst_registry_binary_load_feature),
7279 (gst_registry_binary_load_plugin),
7280 (gst_registry_binary_read_cache):
7281 Fix memory leak. Be less verbose in the log.
7283 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7285 * tests/check/elements/.cvsignore:
7286 Add file to cvsignore as commanded.
7288 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7290 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7291 (mq_dummypad_event), (run_output_order_test):
7292 Use a GStaticMutex to protect all cases where libcheck
7293 fail_if/fail_unless macros might be called from multiple threads
7294 simultaneously to avoid errors like:
7295 "check_pack.c:107: :-1081725400:Bad message type arg"
7297 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7299 * tests/check/pipelines/stress.c: (GST_START_TEST):
7300 Make sure we set the pipeline back to the NULL state before
7301 dropping our final reference.
7303 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7305 * tests/check/elements/tee.c: (GST_START_TEST):
7306 Make the tee stress-test a little less stressful so it doesn't just
7307 time out on slow-machines, and remove a small race when it's starting
7308 up by adding a get_state() call.
7310 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7313 Avoid reading registry twice on startup. Fixes #457322.
7315 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7317 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7318 * pkgconfig/gstreamer-check.pc.in:
7319 Substitute the CFLAGS for libcheck into our .pc file too so that
7320 dependent modules will pick it up properly if libcheck is installed
7321 into some other prefix.
7323 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7326 Revert the pkg-config check for libcheck, since it pulls in the
7327 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7328 a proper solution, either from the check project, or something else.
7330 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7333 Use pkg-config to locate check.
7335 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7342 Add deprecation guards.
7344 * libs/gst/base/gstcollectpads.h:
7345 Don't document object (this is implicitly private).
7347 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7349 * gst/gststructure.c: (gst_structure_parse_value):
7350 When deserialising foo=bar without a type cast, check if it's a
7351 boolean before falling back to a string type, otherwise things like
7352 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7353 because the filtercaps end up having a signed=(string)true field,
7354 which causes problems later when intersection caps.
7356 * tests/check/gst/gststructure.c: (GST_START_TEST):
7357 Add a unit test for this.
7359 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7361 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7363 * libs/gst/controller/Makefile.am:
7364 * libs/gst/controller/gstcontroller.c:
7365 (gst_controlled_property_add_interpolation_control_source),
7366 (gst_controlled_property_new), (gst_controlled_property_free),
7367 (gst_controller_find_controlled_property),
7368 (gst_controller_new_valist), (gst_controller_new_list),
7369 (gst_controller_new), (gst_controller_remove_properties_valist),
7370 (gst_controller_remove_properties_list),
7371 (gst_controller_remove_properties),
7372 (gst_controller_set_property_disabled),
7373 (gst_controller_set_disabled), (gst_controller_set_control_source),
7374 (gst_controller_get_control_source), (gst_controller_get),
7375 (gst_controller_sync_values), (gst_controller_get_value_array),
7376 (_gst_controller_dispose), (gst_controller_get_type),
7377 (gst_controlled_property_set_interpolation_mode),
7378 (gst_controller_set), (gst_controller_set_from_list),
7379 (gst_controller_unset), (gst_controller_unset_all),
7380 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7381 * libs/gst/controller/gstcontroller.h:
7382 * libs/gst/controller/gstcontrollerprivate.h:
7383 * libs/gst/controller/gstcontrolsource.c:
7384 (gst_control_source_class_init), (gst_control_source_init),
7385 (gst_control_source_get_value),
7386 (gst_control_source_get_value_array), (gst_control_source_bind):
7387 * libs/gst/controller/gstcontrolsource.h:
7388 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7389 (gst_object_get_control_source):
7390 * libs/gst/controller/gstinterpolation.c:
7391 (gst_interpolation_control_source_find_control_point_node),
7392 (gst_interpolation_control_source_get_first_value),
7393 (_interpolate_none_get), (interpolate_none_get),
7394 (interpolate_none_get_boolean_value_array),
7395 (interpolate_none_get_enum_value_array),
7396 (interpolate_none_get_string_value_array),
7397 (_interpolate_trigger_get), (interpolate_trigger_get),
7398 (interpolate_trigger_get_boolean_value_array),
7399 (interpolate_trigger_get_enum_value_array),
7400 (interpolate_trigger_get_string_value_array):
7401 * libs/gst/controller/gstinterpolationcontrolsource.c:
7402 (gst_control_point_free), (gst_interpolation_control_source_reset),
7403 (gst_interpolation_control_source_new),
7404 (gst_interpolation_control_source_set_interpolation_mode),
7405 (gst_interpolation_control_source_bind),
7406 (gst_control_point_compare), (gst_control_point_find),
7407 (gst_interpolation_control_source_set_internal),
7408 (gst_interpolation_control_source_set),
7409 (gst_interpolation_control_source_set_from_list),
7410 (gst_interpolation_control_source_unset),
7411 (gst_interpolation_control_source_unset_all),
7412 (gst_interpolation_control_source_get_all),
7413 (gst_interpolation_control_source_get_count),
7414 (gst_interpolation_control_source_init),
7415 (gst_interpolation_control_source_finalize),
7416 (gst_interpolation_control_source_dispose),
7417 (gst_interpolation_control_source_class_init):
7418 * libs/gst/controller/gstinterpolationcontrolsource.h:
7419 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7420 API: Refactor GstController into the core controller which can take
7421 a GstControlSource for providing actual values for timestamps.
7422 Implement a interpolation control source and use this for backward
7423 compatibility, deprecate a bunch of functions that are now handled
7424 by GstControlSource or GstInterpolationControlSource.
7425 Make it possible to disable the controller completely or only for
7426 specific properties. Fixes #450711.
7427 * docs/libs/gstreamer-libs-docs.sgml:
7428 * docs/libs/gstreamer-libs-sections.txt:
7429 * docs/libs/gstreamer-libs.types:
7430 Add new functions and classes to the docs.
7431 * tests/check/libs/controller.c: (GST_START_TEST),
7432 (gst_controller_suite):
7433 * tests/examples/controller/audio-example.c: (main):
7434 Port unit test and example to the new API and add some new
7437 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7439 Patch by: Mark Nauwelaerts <manauw at skynet be>
7441 * plugins/elements/gstmultiqueue.c:
7442 (gst_multi_queue_get_internal_links), (apply_buffer),
7443 (single_queue_overrun_cb), (gst_single_queue_new):
7444 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7445 the pipeline layout can be tracked correctly. Fixes #453732.
7447 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7449 * docs/gst/Makefile.am:
7450 * docs/libs/Makefile.am:
7451 * docs/plugins/Makefile.am:
7452 Simplify --extra-dir as gtkdoc scans recursively.
7454 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7456 * tools/gst-launch.c: (main):
7457 When we got an error, there is no point in waiting for preroll when
7460 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7462 * plugins/elements/gsttee.c: (gst_tee_base_init),
7463 (gst_tee_request_new_pad), (gst_tee_release_pad),
7464 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7465 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7467 Be a lot smarter when deciding what srcpad to use for proxying
7468 the buffer_alloc. Also handle pad added/removed when doing so.
7470 Keep track of what pads we already pushed on in case we have pads
7471 added/removed while pushing. Fixes #374639
7473 * tests/check/Makefile.am:
7474 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7476 Added unit test for pad resync.
7478 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7482 Updated translations.
7484 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7486 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7490 Added new Finnish translation.
7492 2007-06-28 Wim Taymans <wim@fluendo.com>
7494 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7495 (single_queue_overrun_cb):
7496 When figuring out when a queue is filled, use our internal time estimate
7497 based on segments, just like check_full does.
7499 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7501 * gst/gstminiobject.c: (gst_mini_object_get_type):
7502 Remove 3 do-nothing methods.
7504 2007-06-27 Wim Taymans <wim@fluendo.com>
7506 Patch by: Tim Angus <tim at ngus dot net>
7508 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7509 (gst_capsfilter_set_property):
7510 Take a reference instead of a copy when setting "caps".
7511 Fix documentation to clarify this behaviour. Fixes #449414.
7513 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7515 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7516 * gst/gstplugin.c: (gst_plugin_init):
7517 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7518 * gst/gstquery.c: (gst_query_get_type):
7519 * gst/gstregistry.c: (gst_registry_init):
7520 * gst/gsturi.c: (gst_uri_handler_base_init):
7521 Remove empty instance_init() functions to save relocs and lessen the
7522 noise. Remove some of the function prototypes that are doubled by
7525 2007-06-27 Wim Taymans <wim@fluendo.com>
7527 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7529 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7530 Add peer and direction in the XML serialisation of ghostpads.
7533 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7536 Preserve useful information, thanks Tim.
7538 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7540 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7541 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7542 (gst_single_queue_push_one), (gst_multi_queue_loop),
7543 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7544 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7545 (compute_high_id), (gst_single_queue_new):
7546 * plugins/elements/gstmultiqueue.h:
7547 Take the multiqueue lock when updating the fill level so we don't get
7550 After applying a buffer or event on the src pad segment, make sure to
7551 call gst_data_queue_limits_changed() to get the data queue to unblock
7552 and check the filled state again.
7554 Rework the not-linked pad handling so the logic is that not-linked
7555 pads can push as fast as they like, but only so they never get
7556 ahead of any linked pads.
7558 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7559 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7560 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7562 Add a test to check that not-linked pads always stay behind
7567 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7569 * docs/random/release:
7570 Some updates to the release procedure.
7572 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7574 * gst/gstelementfactory.c: (__gst_element_details_clear):
7575 Microoptimization that saves stunning 80 bytes.
7577 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7579 * docs/plugins/gstreamer-plugins.args:
7580 * docs/plugins/inspect/plugin-coreelements.xml:
7581 * docs/plugins/inspect/plugin-coreindexers.xml:
7582 Update docs with caps info.
7584 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7587 Updated Italian translation.
7589 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7593 Update Vietnamese translations.
7595 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7597 * libs/gst/base/gstbasesink.c:
7598 Remove unused signal enum.
7600 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7602 * docs/gst/gstreamer-sections.txt:
7604 * gst/gstutils.c: (gst_type_register_static_full):
7605 Beef up and include the docs for gst_type_register_static_full and
7606 gst_element_class_set_details_simple and add the API keyword
7609 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7611 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7612 (update_time_level), (gst_single_queue_push_one),
7613 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7614 (single_queue_overrun_cb), (single_queue_underrun_cb),
7615 (single_queue_check_full):
7616 Fix setting max-* properties after adding queues.
7617 Use IS_FILLED for checking visible items.
7618 Signal overrun if multiple queues overrun.
7619 Add extra debug output.
7620 Patch by: Wim Taymans <wim@fluendo.com>
7622 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7624 * gst/gstelement.c: (gst_element_class_set_details_simple):
7626 * gst/gstutils.c: (gst_type_register_static_full):
7628 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7629 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7630 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7631 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7632 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7633 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7634 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7635 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7636 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7637 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7638 (apply_buffer), (gst_queue_chain):
7639 * plugins/elements/gsttee.c: (gst_tee_base_init):
7640 * plugins/elements/gsttypefindelement.c:
7641 (gst_type_find_element_base_init),
7642 (gst_type_find_element_class_init):
7643 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7644 API: add gst_type_register_static_full
7645 API: add gst_element_class_set_details_simple
7647 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7649 * docs/pwg/advanced-types.xml:
7650 Fix typo in iana.org URI.
7652 2007-06-19 Andy Wingo <wingo@pobox.com>
7654 * tests/check/pipelines/simple-launch-lines.c
7655 (test_state_change_returns): Enable pull-mode tests now that
7656 basesink has been fixed.
7658 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7659 Changed from gst_base_sink_is_prerolled, reversing the sense of
7660 the return value. Returns FALSE also if the sink is in pull mode,
7661 in which case it needs no preroll.
7662 (gst_base_sink_query, gst_base_sink_change_state): Update for
7663 needs_preroll change.
7664 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7665 chaining up, in which we return SUCCESS directly if we activated
7666 in pull mode instead of ASYNC. Involves countering an async_start
7667 message sent before chaining up; not sure if this is correct, in
7668 an ideal world we only send async-start when activating in push
7671 * tests/check/pipelines/simple-launch-lines.c
7672 (test_state_change_returns): New test, partially disabled until
7675 2007-06-19 Wim Taymans <wim@fluendo.com>
7677 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7678 (gst_multi_queue_sink_event):
7681 2007-06-19 Wim Taymans <wim@fluendo.com>
7683 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7684 (gst_bin_change_state_func), (bin_push_state_continue),
7685 (bin_handle_async_start), (bin_handle_async_done),
7686 (gst_bin_handle_message_func):
7687 Move the common code for posting state-change messages into
7689 Broadcast the state signal after we posted the messages.
7690 Mark the bin as busy when it's doing a state-change.
7691 Make sure async-start/done messages don't interfere with the bin's
7692 state when it's busy.
7693 After the state change, let the bin check which elements completed the
7694 state change while it was busy so that it can update its state.
7696 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7698 * docs/random/release:
7699 Add a note about updating the doap file to the release checklist
7701 2007-06-18 Wim Taymans <wim@fluendo.com>
7703 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7704 (gst_single_queue_push_one), (gst_multi_queue_chain),
7705 (gst_multi_queue_sink_event):
7706 Make sure we don't reference the buffer/event after we have given away
7707 ownership in the queue.
7709 2007-06-18 Wim Taymans <wim@fluendo.com>
7711 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7712 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7713 Update queue state _after_ adding the item in the queue because else we
7714 could end up being full without the element added yet.
7716 2007-06-18 Wim Taymans <wim@fluendo.com>
7718 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7719 (gst_bin_remove_func), (gst_bin_get_state_func),
7720 (gst_bin_element_set_state), (gst_bin_continue_func),
7721 (bin_push_state_continue), (bin_handle_async_start),
7722 (bin_handle_async_done), (gst_bin_handle_message_func):
7724 Immediatly commit the toplevel bin state when receiving an async-done
7725 message. This enables us to avoid spawning a thread to commit the state
7726 in some common cases and it also avoids some races.
7727 Avoid spawning a state thread when adding/removing async elements to a
7728 toplevel bin. Instead we immediatly update the bin state.
7729 Get rid of iterating all the children when getting the state in the bin
7730 because it is now always up-to-date.
7731 Fix bug where locked elements would always return _SUCCESS even it they
7732 returned NO_PREROLL before being locked.
7733 Fix the order of the state_change, async-start/done messages that was
7734 sometimes incorrect.
7735 Mark the state_dirty field as deprecated, we don't need it anymore as we
7736 are always up-to-date.
7738 * gst/gstelement.c: (gst_element_get_state_func),
7739 (gst_element_continue_state):
7740 Small debug inprovements.
7741 Return the previous element state return when nothing is pending instead
7742 of blindly returning SUCCESS.
7744 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7746 Add a whole bunch of new testcases.
7748 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7752 Update translations.
7754 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7757 Fix typo in the docs.
7759 2007-06-15 Wim Taymans <wim@fluendo.com>
7761 * docs/libs/gstreamer-libs-sections.txt:
7762 Add docs for new methods.
7764 2007-06-15 Wim Taymans <wim@fluendo.com>
7766 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7767 (gst_multi_queue_item_new):
7768 Don't use GSlice because we don't depend on >= 2.10 yet.
7770 2007-06-15 Wim Taymans <wim@fluendo.com>
7772 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7773 (update_time_level), (apply_segment), (apply_buffer),
7774 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7775 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7776 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7777 (single_queue_underrun_cb), (single_queue_check_full):
7778 Remove debug printf.
7780 2007-06-15 Wim Taymans <wim@fluendo.com>
7782 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7783 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7784 (gst_data_queue_set_flushing), (gst_data_queue_push),
7785 (gst_data_queue_pop), (gst_data_queue_drop_head),
7786 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7787 * libs/gst/base/gstdataqueue.h:
7789 Added methods to get the current levels and to inform the queue that the
7790 'full' limits changed.
7792 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7793 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7794 (gst_single_queue_flush), (update_time_level), (apply_segment),
7795 (apply_buffer), (gst_single_queue_push_one),
7796 (gst_multi_queue_item_steal_object),
7797 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7798 (gst_multi_queue_loop), (gst_multi_queue_chain),
7799 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7800 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7801 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7802 (single_queue_underrun_cb), (single_queue_check_full),
7803 (gst_single_queue_new):
7804 Keep track of time in the queue by measuring the difference between
7805 running_time on input and output. This gives more accurate results and
7806 can compensate for segments correctly.
7807 Make a queue by default only 5 buffers deep. We will now increase the
7808 buffer size depending on the filledness of the other queues.
7809 Factor out commong flush code.
7810 Make sure we don't add additional refcounts to buffers when we can avoid
7812 Propagate GstFlowReturn differently.
7813 Use GSlice for intermediate GstMultiQueueItems.
7815 Resize queues on over and underruns based on filled level of other
7817 When checking if the queue is filled, prefer to measure in time if we
7818 can and fall back to bytes when no time is known.
7820 * plugins/elements/gstqueue.c:
7823 2007-06-15 Wim Taymans <wim@fluendo.com>
7825 * libs/gst/base/gstbasetransform.c:
7826 (gst_base_transform_sink_event):
7827 Work around the brokenness of the event vmethod in basetransform. Prefer
7828 to return TRUE when the subclass returned FALSE (meaning don't forward
7831 * libs/gst/base/gstbasetransform.h:
7834 2007-06-15 Wim Taymans <wim@fluendo.com>
7836 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7837 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7838 (gst_base_src_default_query), (gst_base_src_get_range),
7839 (gst_base_src_start):
7840 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7843 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7845 * docs/pwg/advanced-types.xml:
7846 Added more formats to caps table.
7848 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7850 * tools/gst-launch.c: (main):
7851 Remove crufy code. GOption does not need this workaround.
7853 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7855 * libs/gst/controller/gstcontroller.c:
7856 (gst_controlled_property_set_interpolation_mode):
7857 Fix wrong getter for enums in controller.
7859 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7861 * libs/gst/check/gstcheck.c: (gst_check_init):
7862 Intercept criticals and warnings in the Gst-Phonon log domain, so
7863 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7866 2007-06-14 Edward Hervey <edward@fluendo.com>
7868 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7869 Since this file doesn't include "gst.h" it will not go through the
7870 macros that disable GST_LOG if debugging was disabled.
7872 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7874 * libs/gst/check/Makefile.am:
7875 * libs/gst/check/gstcheck.h:
7876 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7877 * pkgconfig/gstreamer-check.pc.in:
7878 Ugly 'fix' for the controller unit test on the p5 bot: in
7879 fail_unless_equals_float() check whether the values are 'almost
7880 equal' by allowing a small absolute error, which should be good
7881 enough for our use cases (normal numbers and values close to 0).
7882 Proper fixage left to floating point arithmetic aficionados.
7884 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7886 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7887 (gst_base_sink_render_object), (gst_base_sink_get_position):
7888 Add two breaks thats where missing.
7890 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7892 * docs/libs/gstreamer-libs-sections.txt:
7893 * libs/gst/check/gstcheck.h:
7894 API: add fail_unless_equals_float() and assert_equals_float().
7895 Add documentation for some of the macros.
7897 * tests/check/libs/controller.c: (GST_START_TEST):
7898 Use newly-added asserts.
7900 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7902 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7903 Show the caps change in the log to help spotting the case of not
7904 exactly matching caps.
7906 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7908 * docs/pwg/building-boiler.xml:
7909 Fix typos, spotted by Thijs Vermeir (#447190).
7911 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7913 * docs/plugins/tmpl/.cvsignore:
7914 Ignore file to keep the buildbots happy
7916 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7918 * docs/plugins/Makefile.am:
7919 * docs/plugins/gstreamer-plugins-docs.sgml:
7920 * docs/plugins/gstreamer-plugins-sections.txt:
7921 Pull fdsink into the docs too.
7923 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7925 * libs/gst/controller/gstinterpolation.c:
7926 Actually use the new functions with min/max checks for the trigger and
7927 none interpolation modes for get() and get_value_array() instead of
7930 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7932 * libs/gst/controller/gstcontroller.c:
7933 (gst_controlled_property_free):
7934 Unset the minimum and maximum GValues when freeing the corresponding
7935 GstControllerProperty struct.
7937 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7939 * libs/gst/controller/gstcontroller.c:
7940 (gst_controlled_property_new):
7941 * libs/gst/controller/gstcontrollerprivate.h:
7942 * libs/gst/controller/gstinterpolation.c:
7943 (gst_controlled_property_find_control_point_node),
7944 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7945 (interpolate_none_get_string_value_array),
7946 (interpolate_trigger_get),
7947 (interpolate_trigger_get_enum_value_array),
7948 (interpolate_trigger_get_string_value_array):
7949 Protect against values larger or smaller than the minimum or maximum
7950 allowed value for the property when using values that can be compared.
7952 Optimize trigger interpolator a bit by taking the last requested value
7953 into account instead of always looping through the complete list.
7955 Fix coding style a bit, everywhere else we use "return foo" instead
7958 * tests/check/libs/controller.c: (GST_START_TEST),
7959 (gst_controller_suite):
7960 Add unit test for the protection against too large or too small
7963 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7965 * docs/random/slomo/controller.txt:
7966 Add some thoughts about the future of the controller.
7968 2007-06-08 Wim Taymans <wim@fluendo.com>
7970 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7971 Don't overflow in retimestamping code.
7973 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7975 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7976 Use gst_util_guint64_to_gdouble for conversions.
7977 * win32/common/libgstreamer.def:
7978 Add new exported functions.
7980 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7983 Small docs addition.
7985 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7988 Remove that test line again.
7990 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7993 Test commit mail sending.
7995 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7998 Fix typo and test commit mail sending.
8000 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8002 * tests/examples/controller/audio-example.c:
8003 Improve comment and test commit mail sending.
8005 2007-06-07 Wim Taymans <wim@fluendo.com>
8007 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8008 (gst_bin_remove_func), (gst_bin_element_set_state),
8009 (bin_handle_async_start), (bin_handle_async_done),
8010 (gst_bin_handle_message_func):
8011 Add helper function to find messages.
8012 Generate the async-done messages together with the state change
8014 Small cleanups in handling toplevel bins.
8016 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8018 * libs/gst/base/gstdataqueue.c:
8019 * libs/gst/base/gstdataqueue.h:
8020 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8021 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8022 (gst_multi_queue_sink_event):
8023 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8024 Fix multiqueue leaking buffers and events when downstream or the
8025 queue are flushing. Make refcounting assumptions explicit and
8026 document them (shouldn't break existing code that uses it other than
8027 maybe leak miniobjects, but that already happens anyway). Add unit
8028 test for the most common flushing case. Fixes #423700.
8030 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8032 * libs/gst/controller/gstcontroller.c:
8033 Clarify docs: The get_all, get_value_array(s) functions
8034 don't modify the GObject properties.
8036 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8038 * libs/gst/controller/gstcontroller.c:
8039 (gst_controlled_property_set_interpolation_mode),
8040 (gst_controlled_property_prepend_default),
8041 (gst_controlled_property_new), (gst_controller_set_unlocked),
8042 (gst_controller_set), (gst_controller_set_from_list),
8043 (gst_controller_unset), (gst_controller_unset_all):
8044 * libs/gst/controller/gstcontrollerprivate.h:
8045 * libs/gst/controller/gstinterpolation.c:
8046 Factor out the 'set' logic into gst_controller_set_unlocked for the
8047 gst_controller_set and gst_controller_set_from_list functions.
8049 To make life of the interpolators easier always add a control point
8050 at timestamp zero with the default value.
8052 In the linear interpolator make things more obvious by better variable
8055 Implement cubic interpolation mode (by using a natural cubic spline)
8056 and map the quadratic interpolation mode to this too (as quadratic
8057 doesn't make much sense, see discussion on the list).
8059 * tests/check/libs/controller.c: (GST_START_TEST),
8060 (gst_controller_suite):
8061 Add unit test for the cubic interpolation mode and check everywhere
8062 if the interpolation mode could be set as expected.
8064 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8066 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8067 Don't use GLib-2.10 functions, we still depend on
8068 GLib-how-old-is-it-again-2.8.
8070 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8072 * docs/gst/gstreamer-sections.txt:
8076 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8077 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8078 (_gst_param_fraction_values_cmp),
8079 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8080 * gst/gstparamspecs.h:
8082 * tests/check/Makefile.am:
8083 * tests/check/gst/.cvsignore:
8084 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8085 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8086 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8087 (GST_START_TEST), (gst_param_spec_suite):
8088 API: add GstParamSpecFraction, so elements can have fraction
8089 properties without lots of painful string parsing (#444648).
8091 2007-06-05 Wim Taymans <wim@fluendo.com>
8093 * gst/gstobject.c: (gst_object_class_init):
8094 Fix signal signature.
8097 Add small clarification in the api docs.
8099 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8100 States are protected with object lock.
8102 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8105 I should probably be listed as an author by now.
8107 * docs/random/release:
8108 Update the release doc
8110 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8113 Make docs for gst_value_compare() mention return enums that
8116 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8121 === release 0.10.13 ===
8123 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8126 releasing 0.10.13, "With or without you"
8128 2007-05-25 Wim Taymans <wim@fluendo.com>
8130 * gst/gstbin.c: (bin_handle_async_done):
8131 Make sure that the child bin stops after completing the async state
8132 change so that the parent can continue the state change to PLAYING.
8135 2007-05-25 Wim Taymans <wim@fluendo.com>
8137 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8138 (unref_data), (gst_collect_pads_remove_pad),
8139 (gst_collect_pads_check_pads):
8140 Use additional refcounting to avoid crashes when dynamically adding and
8141 removing pads. Fixes #420206.
8143 2007-05-24 Wim Taymans <wim@fluendo.com>
8145 * tools/gst-launch.c: (event_loop):
8146 When buffering goes from a two digit to a single digit number, make sure
8147 to remove the old second digit by writing a blank over it.
8149 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8151 * libs/gst/base/gstdataqueue.c:
8152 Eliminate tabs and trailing comma in enum list; fix some typos.
8154 2007-05-24 Wim Taymans <wim@fluendo.com>
8156 * tests/check/gst/gstbin.c: (GST_START_TEST):
8157 Allow refcount of 3 and 4 because some state thread might still be busy
8160 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8162 * plugins/elements/Makefile.am:
8163 * plugins/elements/gstmultiqueue.h:
8164 * plugins/elements/gstqueue.h:
8165 These are not installed headers, no need for padding.
8167 2007-05-24 Wim Taymans <wim@fluendo.com>
8169 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8170 (gst_bin_continue_func):
8171 Enable latency for next release.
8172 Restore STATE_LOCK around recalc_state that was left out during the
8173 rewrite and could result in racy behaviour when _get_state and
8174 recalc_state are run concurrently. See #440463.
8176 2007-05-23 Wim Taymans <wim@fluendo.com>
8178 * tests/check/gst/gstsystemclock.c: (store_callback),
8180 Improve test_async_order to also work when both timers are already
8181 expired when we get scheduled to check it.
8183 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8185 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8186 (gst_bin_set_property), (gst_bin_get_property),
8187 (gst_bin_remove_func), (gst_bin_handle_message_func):
8189 'private' is a c++ keyword, let's not use that in header files,
8190 otherwise c++ compilers will throw a tantrum.
8192 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8194 * plugins/elements/gstelements.c:
8195 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8196 (gst_file_sink_get_current_offset):
8197 * plugins/indexers/gstindexers.c: (plugin_init):
8198 Use #ifdef for HAVE_XYZ for consistency.
8200 * tests/check/Makefile.am:
8201 * tests/check/elements/.cvsignore:
8202 * tests/check/elements/filesink.c: (setup_filesink),
8203 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8204 Add some unit tests for filesink.
8206 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8208 Patch by: Mark Nauwelaerts <manauw at skynet be>
8210 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8211 (gst_file_sink_query), (gst_file_sink_do_seek),
8212 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8213 * plugins/elements/gstfilesink.h:
8214 Fix position reporting; rename data_written member to current_pos to
8215 reflect its real meaning (fixes #412648).
8217 2007-05-22 Edward Hervey <edward@fluendo.com>
8219 * docs/gst/gstreamer-sections.txt:
8220 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8221 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8222 (gst_bin_remove_func), (gst_bin_handle_message_func):
8224 Add a property for bins that handle the state change of their childs.
8227 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8229 * libs/gst/controller/gstinterpolation.c:
8230 Use an array of the correct type when using _get_value_array with
8231 linear interpolation.
8233 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8235 * gst/gstelement.c (gst_element_requires_clock,
8236 gst_element_provides_clock, gst_element_request_pad,
8237 gst_element_class_set_details, gst_element_class_set_details_simple,
8238 gst_element_default_send_event, gst_element_abort_state,
8239 gst_element_continue_state, gst_element_set_state,
8240 gst_element_set_state_func, iterator_activate_fold_with_resync):
8241 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8242 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8243 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8244 gst_pad_get_range, gst_pad_pull_range):
8245 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8246 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8247 GstPadActivateModeFunction, GstPadChainFunction,
8248 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8249 GstPadFixateCapsFunction, GstPadTemplate):
8250 * gst/gstpipeline.c (gst_pipeline_change_state,
8251 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8252 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8253 gst_pipeline_get_delay):
8254 Whitespace and docs fixes.
8256 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8258 * libs/gst/controller/gstinterpolation.c:
8259 (interpolate_trigger_get_enum_value_array),
8260 (interpolate_trigger_get_string_value_array):
8261 Add support for retrieving value arrays when using the trigger
8264 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8266 * libs/gst/controller/gstcontroller.c:
8267 (gst_controller_get_value_array):
8268 * libs/gst/controller/gstcontroller.h:
8269 Clarify the docs of gst_controller_get_value_array(): The array where
8270 the values should be written to must be allocated as there seems to be
8271 no way to get the size of a random GType. This doesn't change any
8272 behaviour. Also fix some typos all over the place and remove an unused,
8273 commented function that is not necessary as g_object_set() could be
8275 * tests/check/libs/controller.c: (GST_START_TEST),
8276 (gst_controller_suite):
8277 Add unit test for gst_controller_get_value_array().
8279 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8281 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8283 Disable part of the gst_buffer_try_new_and_alloc test, because
8284 it can happily succeed on 64-bit systems where there's more address
8287 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8289 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8290 Add unit test for the improved caps checking from bug #421543.
8292 2007-05-21 Wim Taymans <wim@fluendo.com>
8294 * docs/design/part-synchronisation.txt:
8297 * gst/gstbin.c: (gst_bin_query):
8298 * plugins/elements/gstqueue.c: (apply_segment):
8304 2007-05-21 Wim Taymans <wim@fluendo.com>
8306 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8307 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8308 (gst_pad_configure_src):
8309 Added simple version of improved caps checking. It was previously
8310 assumed that a setcaps function would check the validity of the caps but
8311 people prefer us to check caps against the template automatically.
8314 2007-05-21 Wim Taymans <wim@fluendo.com>
8316 * libs/gst/base/gstbasetransform.h:
8317 Fix macro for locking/unlocking the transform lock.
8319 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8321 * docs/plugins/tmpl/.cvsignore:
8324 2007-05-18 Edward Hervey <edward@fluendo.com>
8326 * plugins/elements/gstqueue.c: (gst_queue_loop):
8327 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8328 for the subtle art of warning a potentially blocking thread that it
8329 should check the source pad return value, and relay the information
8332 2007-05-18 Edward Hervey <edward@fluendo.com>
8334 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8335 Release the queue lock !
8337 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8339 * docs/libs/gstreamer-libs-sections.txt:
8340 Add the two new controller functions to the appropiate places.
8342 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8344 reviewed by: Stefan Kost <ensonic@users.sf.net>
8346 * libs/gst/controller/gstcontroller.c:
8347 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8348 (_gst_controller_get_property), (_gst_controller_set_property),
8349 (_gst_controller_init), (_gst_controller_class_init):
8350 * libs/gst/controller/gstcontroller.h:
8351 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8352 (gst_object_get_control_rate), (gst_object_set_control_rate):
8353 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8354 Add API that provides sync suggestion timestamps for elements that
8355 call gst_object_sync_values() from which those elements can subdivide
8356 their processing loop to get the best results for the controlled
8357 properties. For now it just suggests last_sync + control_rate as
8358 new timestamp but this will be improved in the future.
8360 While doing that change the control-rate property to a GstClockTime
8361 from guint and change it's meaning from samples to nanoseconds as
8362 the GstController doesn't know anything about sampling rate. Strictly
8363 speaking this breaks ABI but as the control-rate property didn't do
8364 anything in the past and as such couldn't be used this should be no
8367 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8369 reviewed by: Stefan Kost <ensonic@users.sf.net>
8371 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8372 (gst_controller_unset_all):
8373 * libs/gst/controller/gstcontrollerprivate.h:
8374 * libs/gst/controller/gstinterpolation.c:
8375 (gst_controlled_property_find_control_point_node):
8376 Save last synced value from the list to continue searching from there
8377 in future syncs. This speeds everything up a bit.
8379 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8381 reviewed by: Stefan Kost <ensonic@users.sf.net>
8383 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8384 (gst_control_point_find), (gst_controlled_property_new),
8385 (gst_control_point_free), (gst_controlled_property_free),
8386 (gst_controller_set), (gst_controller_set_from_list),
8387 (gst_controller_unset), (gst_controller_unset_all),
8388 (gst_controller_sync_values):
8389 * libs/gst/controller/gstcontroller.h:
8390 * libs/gst/controller/gstcontrollerprivate.h:
8391 * libs/gst/controller/gstinterpolation.c:
8392 (gst_controlled_property_find_control_point_node),
8393 (interpolate_none_get), (interpolate_trigger_get):
8394 Add a new private GstControlPoint struct which "inherits" from
8395 GstTimedValue to allow different interpolators to store internal
8396 values next to each control point. From the outside everything is
8397 still a GstControlPoint so we don't loose binary compatibility.
8398 Also fixup all the GValue handling to not leak GValues or list nodes.
8399 * tests/check/libs/controller.c: (GST_START_TEST):
8400 Free the list nodes and GValues in the controller_misc test.
8402 2007-05-17 Edward Hervey <edward@fluendo.com>
8407 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8409 * gst/gstplugin.c: (gst_plugin_load_file):
8410 If we fail to load a plugin because of unresolved symbols or missing
8411 libraries and spew a warning to stderr, we may just as well mention
8412 which plugin it was that failed to load.
8414 2007-05-13 David Schleef <ds@schleef.org>
8416 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8417 handles the case when ENABLE_GTK_DOC is false, and installs
8418 the prebuilt documentation. So gtk-doc subdirs are
8419 unconditionally enabled. Fixes: #349099.
8421 2007-05-13 David Schleef <ds@schleef.org>
8423 * gst/gstutils.h: Reword some documentation.
8425 2007-05-12 David Schleef <ds@schleef.org>
8427 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8428 do anything with the passed "module" parameter, so remove it.
8429 Allows removal of additional vestigal code.
8431 2007-05-12 David Schleef <ds@schleef.org>
8434 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8435 Switch to using g_stat() because it's more portable.
8437 2007-05-12 David Schleef <ds@schleef.org>
8440 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8441 parsing for embedded systems.
8442 * gst/gstelementfactory.c:
8443 Allow gst_element_register() to be called with plugin==NULL.
8444 Did nobody notice that static elements were broken?
8446 2007-05-12 Wim Taymans <wim@fluendo.com>
8448 * tools/gst-launch.c: (event_loop):
8449 Give more interesting info when buffering starts and stops.
8450 Fix case where buffering starts but we fail to update the buffering flag
8451 because the target state is not PLAYING.
8453 2007-05-12 Wim Taymans <wim@fluendo.com>
8455 * plugins/elements/gstqueue.c: (gst_queue_init),
8456 (gst_queue_finalize), (update_time_level), (apply_segment),
8457 (apply_buffer), (gst_queue_locked_flush),
8458 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8459 (gst_queue_handle_sink_event), (gst_queue_chain),
8460 (gst_queue_push_one), (gst_queue_loop):
8461 * plugins/elements/gstqueue.h:
8462 Refactor an cleanup queue a bit.
8463 Do better time level calculations that also work when the srcpad is not
8465 Remove some unneeded debug lines.
8467 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8468 Added testcase for time level measurement.
8469 Try to make some stuff more racefree.
8471 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8473 * gst/gsturi.c: (gst_element_make_from_uri):
8474 Don't leak plugin feature.
8476 * tests/check/Makefile.am:
8477 * tests/check/gst/.cvsignore:
8478 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8479 Add brain-dead unit test.
8481 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8483 Patch by: Jeroen Wouters <woutersj at gmail com>
8485 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8486 Treat protocol strings in a case-insensitive way (#437563).
8488 2007-05-11 Michael Smith <msmith@fluendo.com>
8490 * gst/gstplugin.c: (gst_plugin_load_file):
8491 * gst/gstregistry.c: (gst_registry_scan_path_level):
8492 Don't print a g_warning for any failure to load a shared object.
8493 Instead, push this down into gstplugin.c, and warn _only_ if we
8494 failed to open the module (i.e. failure to link).
8495 Avoids warnings on normal, working, non-plugin .so files.
8497 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8499 * gst/gstplugin.c (gst_plugin_load_file):
8500 * gst/gstregistry.c (GST_CAT_DEFAULT,
8501 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8502 Print a g_warning if there was an error when loading a plugins during
8503 registry scan. The shuld help beginners starting with gst-plugin
8506 2007-05-10 Wim Taymans <wim@fluendo.com>
8508 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8509 (update_time_level), (gst_queue_locked_flush),
8510 (gst_queue_handle_sink_event), (gst_queue_chain),
8511 (gst_queue_push_one), (gst_queue_loop):
8512 * plugins/elements/gstqueue.h:
8513 Be smarter when calculating the current amount of data in the queue by
8514 measuring the difference between start and end timestamps (in running
8515 time) inside the queue. Fixes #432876.
8516 API: GstQueue::pushing to notify elements that we are pushing data again
8517 since the running signal is rather broken for this purpose.
8519 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8521 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8522 gst_queue_base_init, gst_queue_init):
8525 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8527 * win32/common/libgstreamer.def:
8528 Add new exported functions.
8529 * win32/vs6/grammar.dsp:
8530 Use grammar pre-generated files.
8532 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8534 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8537 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8539 * gst/gstutils.c: (gst_parse_bin_from_description):
8541 Maintain API and ABI when --disable-parse is used. Now that
8542 we have an appropriate error code, we can just return NULL and the
8543 appropriate error when gst_parse_launch() is used despite it having
8544 been disabled (#342564).
8546 * tests/check/Makefile.am:
8547 * tests/check/pipelines/.cvsignore:
8548 * tests/check/pipelines/parse-disabled.c:
8549 Make sure these functions exist and return NULL plus a GError when
8550 --disable-parse is used.
8552 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8554 * tests/benchmarks/complexity.c: (main):
8555 * tests/benchmarks/mass-elements.c: (main):
8556 Set a good example and don't leak messages.
8558 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8560 * docs/gst/Makefile.am:
8561 * docs/libs/Makefile.am:
8562 Correct fixxrefs options.
8564 * docs/plugins/Makefile.am:
8565 * docs/plugins/gstreamer-plugins-docs.sgml:
8566 * docs/plugins/gstreamer-plugins-sections.txt:
8567 * plugins/elements/Makefile.am:
8568 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8569 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8570 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8571 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8572 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8573 _GstCapsFilterClass, trans_class):
8574 * plugins/elements/gstelements.c (name, rank, type, _elements):
8575 * plugins/elements/gstidentity.c
8576 (gst_identity_check_imperfect_timestamp,
8577 gst_identity_check_imperfect_offset):
8578 Document capsfilter and add doc-blurb to identity.
8580 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8582 * libs/gst/controller/gstcontroller.c:
8583 (gst_controlled_property_set_interpolation_mode):
8584 * libs/gst/controller/gstinterpolation.c:
8585 Don't crash if someone tries to set an interpolation mode that
8586 is invalid or that isn't supported yet. Fixes #422295.
8588 * tests/check/libs/controller.c: (GST_START_TEST),
8589 (gst_controller_suite):
8590 Add a test case for the above.
8592 2007-05-03 Edward Hervey <edward@fluendo.com>
8594 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8595 Properly set the last_stop position on GstSegment. This will only happen
8596 if there is a buffer to push out.
8598 2007-05-03 Wim Taymans <wim@fluendo.com>
8600 * libs/gst/base/gstbasetransform.c:
8601 (gst_base_transform_buffer_alloc):
8602 always_in_place does not mean that the sink and source caps are the
8603 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8605 2007-05-03 Wim Taymans <wim@fluendo.com>
8607 * docs/libs/gstreamer-libs-sections.txt:
8608 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8609 (gst_base_src_default_query), (gst_base_src_get_range):
8610 * libs/gst/base/gstbasesrc.h:
8611 API: gst_base_src_query_latency(). Added method so that subclasses can
8612 easily get the latency values of the base source class.
8614 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8616 * tools/gst-inspect.c (print_implementation_info):
8619 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8621 * tools/Makefile.am:
8622 * tools/gst-launch.1.in:
8623 Don't create a customised man page based on the host architecture,
8624 describe the default registry path generically. That way the man
8625 page is the same for all architectures and packagers have one
8626 multilib issue less to deal with. Fixes #434926.
8628 2007-05-02 Wim Taymans <wim@fluendo.com>
8631 Fix documentation as spotted by rg on IRC.
8633 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8636 Improve docs for gst_element_{link,unlink}.
8638 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8640 * docs/design/part-events.txt:
8641 * docs/design/part-overview.txt:
8645 * libs/gst/base/gstbasesink.c:
8646 Typo fixes; minor docs addition.
8648 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8650 * docs/gst/gstreamer-sections.txt:
8651 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8652 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8654 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8655 or src that supports a given URI protocol exists.
8657 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8659 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8660 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8661 Set the location to NULL if "file://" is set as URI. Otherwise
8662 some random previous URI would still be set if "file://" is
8663 set on an already used filesink/filesrc.
8665 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8667 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8668 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8669 Special case the "file://" URI as as this is used by some
8670 applications to test with gst_element_make_from_uri if there's
8671 an element that supports the URI protocol.
8672 Also move the g_path_is_absolute() check for the location part
8673 of the URI to also check this for "file://localhost/bla" URIs.
8675 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8677 * docs/gst/gstreamer-sections.txt:
8678 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8680 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8682 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8684 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8686 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8687 (gst_registry_binary_load_pad_template),
8688 (gst_registry_binary_load_plugin),
8689 (gst_registry_binary_read_cache):
8690 * gst/gstregistrybinary.h:
8691 Implement no-mmap alternative for registry reading. Do code cleanups.
8692 Add more comments about avoiding strdups for all text data. Comments
8695 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8697 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8698 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8699 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8700 Comment structs and reformat to fix the build (that stuff should go
8701 into a priv. header).
8703 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8705 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8706 (gst_registry_binary_load_feature):
8707 * gst/gstregistrybinary.h:
8708 Refactor so that we can implement multiple features. Add support for
8709 TypeFindFactory features.
8711 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8713 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8716 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8718 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8720 * gst/gstbin.c: (gst_bin_element_set_state),
8721 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8722 (bin_handle_async_done), (gst_bin_handle_message_func):
8723 Fix build with --gst-disable-gst-debug
8725 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8727 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8728 Make sure streaming has finished before calling the ::stop() vfunc,
8729 since that vfunc might clear state which is being used in the
8730 streaming thread. This fixes a race that caused crashes in
8731 audioresample when shutting down a pipeline (#420106).
8733 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8735 * docs/gst/gstreamer-sections.txt:
8736 That was one byte missing.
8738 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8741 * docs/gst/gstreamer-sections.txt:
8743 * gst/gstconfig.h.in:
8744 * gst/gstobject.c: (gst_object_class_init),
8745 (gst_signal_object_class_init):
8747 2nd attempt to have a xml-less build as a joined effort of #413123
8750 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8752 * docs/design/draft-tagreading.txt:
8753 Added open issues/thoughts to draft.
8755 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8757 * gst/parse/grammar.tab.pre.c:
8758 * gst/parse/grammar.tab.pre.h:
8759 * gst/parse/lex._gst_parse_yy.pre.c:
8760 Update the prebuild parser sources.
8762 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8764 * gst/parse/Makefile.am:
8765 And now fix the building of the flex sources. Now everything should
8768 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8770 * gst/parse/Makefile.am:
8771 Now hopefully fix the build failures by setting proper rule
8772 dependencies and moving instead of copying.
8774 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8776 * tests/benchmarks/complexity.gnuplot:
8777 * tests/benchmarks/complexity.scm:
8778 * tests/benchmarks/mass-elements.gnuplot:
8779 * tests/benchmarks/mass-elements.scm:
8780 Total licensification.
8782 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8784 * gst/parse/Makefile.am:
8785 Fix the build by correcting the rule that gave wrong files to flex.
8787 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8789 * tests/benchmarks/complexity.c:
8790 * tests/benchmarks/mass-elements.c:
8791 Change licence to LGPL as granted by Benjamin and Andy.
8793 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8795 * gst/parse/Makefile.am:
8796 Add correct grammar.tab.h dependency if compiling without new enough
8797 flex. Fixes #431150.
8799 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8801 * gst/parse/Makefile.am:
8802 Fix typo and use outdated sources if the flex/bison sources are newer
8803 than the pregenerated ones but flex is too old. Print a warning in
8804 that case. This should fix the build on the build bot.
8806 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8808 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8809 * gst/parse/Makefile.am:
8810 * gst/parse/grammar.y:
8811 * gst/parse/parse.l:
8812 Make the parser reentrant and recursively callable. This requires flex
8813 >= 2.5.31, for older versions pregenerated sources are used as we
8814 can't bump the build dependency. Finally fixes #349180.
8816 * gst/gstparse.c: (gst_parse_launch):
8817 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8820 * docs/gst/Makefile.am:
8821 * docs/gst/Makefile.am:
8822 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8823 (__gst_parse_strfree), (__gst_parse_link_new),
8824 (__gst_parse_link_free), (__gst_parse_chain_new),
8825 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8826 (gst_parse_element_set), (gst_parse_free_link),
8827 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8828 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8829 (_gst_parse_launch):
8830 * gst/parse/grammar.tab.pre.h:
8831 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8832 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8833 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8834 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8835 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8836 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8837 (_gst_parse_yypop_buffer_state),
8838 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8839 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8840 (yy_fatal_error), (_gst_parse_yyget_extra),
8841 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8842 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8843 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8844 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8845 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8846 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8847 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8848 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8849 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8850 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8851 (_gst_parse_yyfree):
8852 If the installed flex version is too old use pre-generated parser
8853 sources. These pre-generated parser sources are always updated when
8854 the actual flex/bison sources change but require everybody who wants
8855 to change something in the parser to have flex >= 2.5.31 installed.
8857 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8859 * common/m4/gst-gettext.m4:
8860 * gst/gst-i18n-lib.h:
8861 Make --disable-nls to work
8863 2007-04-17 Wim Taymans <wim@fluendo.com>
8865 * gst/gstconfig.h.in:
8866 Revert previous change that broke the build.
8868 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8872 * gst/gstconfig.h.in:
8873 Drop libxml2 dependency when building with
8874 --enable-binary-registry --disable-loadsave
8876 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8878 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8879 (gst_registry_binary_read_cache):
8880 * gst/gstregistrybinary.h:
8881 Remove unnecessary <sys/mman.h> include which broke the win32 build
8882 with MingW; move includes from header file to .c file, even if the
8883 header file isn't installed; use g_strerror() where UTF-8 strings
8884 are expected, such as in GST_DEBUG messages.
8886 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8888 * docs/libs/gstreamer-libs-sections.txt:
8889 Remove bogus addition for API I didn't end up keeping.
8891 * libs/gst/base/gstbasesrc.h:
8892 Mention Since: 0.10.13 in the documentation.
8894 Add the API keyword to the previous ChangeLog entry.
8896 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8898 * docs/libs/gstreamer-libs-sections.txt:
8899 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8900 (gst_base_src_default_prepare_seek_segment),
8901 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8902 * libs/gst/base/gstbasesrc.h:
8903 Allow basesrc derived classes to execute seeks in other formats
8904 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8905 to prepare the GstSegment in any format that their perform_seek method
8906 will be able to understand. The default implementation provides the
8907 old behaviour of attempting to convert the seek offsets to the
8908 configured native format.
8910 API: basesrc::prepare_seek_segment vmethod.
8912 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8914 * gst/gstelement.c: (gst_element_get_state_func):
8915 Don't output the same debug statement twice.
8917 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8918 (gst_adapter_peek), (gst_adapter_take_buffer):
8919 Optimise the case where we have buffers at the head of the queue that
8920 can be joined quickly (because they're contiguous sub-buffers) by
8921 merging them together rather than copying data out into new memory.
8923 * gst/parse/grammar.y:
8924 * tests/check/pipelines/parse-launch.c:
8925 Fix a leak in an error path for parse_launch, and add a check
8926 for it to the testsuite.
8928 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8930 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8931 Don't deadlock when releasing a pad - gst_pad_set_active may try
8932 and take the multiqueue lock too.
8934 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8936 * gst/gsterror.c: (_gst_core_errors_init):
8938 API: add GST_CORE_ERROR_DISABLED (#392804).
8940 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8942 * docs/faq/gst-uninstalled:
8943 don't get empty paths on the PATH variables
8944 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8945 Don't format for the uncommon terminal width of 84 characters.
8947 2007-04-06 Wim Taymans <wim@fluendo.com>
8949 * gst/gstpipeline.c: (reset_stream_time),
8950 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8951 Only try to select a different pipeline clock when we went back to
8952 PAUSED and not when we merely got flushed.
8954 2007-04-05 Michael Smith <msmith@fluendo.com>
8956 * tools/gst-launch.1.in:
8957 fractions are better supported in gstreamer than ractions, so
8958 suggest using those.
8960 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8962 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8966 Added Danish translation.
8968 2007-04-05 Wim Taymans <wim@fluendo.com>
8970 * libs/gst/base/gstbasesink.c:
8971 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8972 Fix leak caused when refusing newsegment after EOS.
8974 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8975 (gst_fake_sink_init), (gst_fake_sink_set_property),
8976 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8977 (gst_fake_sink_render), (gst_fake_sink_change_state):
8978 * plugins/elements/gstfakesink.h:
8979 Add num-buffers property to make the element generate EOS after a
8980 configurable amount of buffers.
8981 API: fakesink::num-buffers property.
8983 * tests/check/elements/fakesink.c: (GST_START_TEST),
8985 Fix GstBus leak in test.
8986 Test for fakesink num-buffers.
8988 2007-04-05 Wim Taymans <wim@fluendo.com>
8990 * libs/gst/base/gstbasesink.c:
8991 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8992 (gst_base_sink_change_state):
8993 Don't accept anything after an EOS, return UNEXPECTED instead.
8995 * tests/check/elements/fakesink.c: (GST_START_TEST),
8997 Unit test for new EOS behaviour.
8999 2007-04-05 Wim Taymans <wim@fluendo.com>
9001 * gst/gstelement.c: (gst_element_get_request_pad):
9002 Make padtemplates also work when they don't contain %s or %d.
9004 2007-04-05 Wim Taymans <wim@fluendo.com>
9006 * docs/gst/gstreamer-sections.txt:
9007 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9008 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9010 Improve _adjust_unlocked() so that it overflows less.
9011 Add gst_clock_unadjust_unlocked to convert from external time to
9012 internal time based on calibration.
9013 Add some more debug.
9014 API: GstClock::gst_clock_unadjust_unlocked()
9016 2007-04-03 Wim Taymans <wim@fluendo.com>
9018 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9020 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9021 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9022 when releasing sink pad. Fixes #425400.
9024 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9026 * docs/random/ensonic/dynlink.txt:
9027 More work on proposal for new core api.
9029 * docs/libs/gstreamer-libs-sections.txt:
9030 * libs/gst/base/gstbasetransform.h:
9031 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9033 * libs/gst/controller/gstcontroller.c:
9034 (on_object_controlled_property_changed),
9035 (gst_controller_sync_values),
9036 (gst_controller_set_interpolation_mode):
9037 * libs/gst/controller/gstcontroller.h:
9038 Less verbose logging add docs for unimplemented parts and correctly
9039 return when using unavailable parts.
9041 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9043 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9044 Move all the debug to the CLOCK category, and associate it with
9047 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9049 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9050 Make take_buffer a bit quicker by removing redundant checks
9051 caused by calling gst_adapter_take.
9053 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9055 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9058 * tests/check/Makefile.am:
9059 * tests/check/elements/.cvsignore:
9060 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9061 (GST_START_TEST), (multiqueue_suite):
9062 Add some dead simple unit tests for the 'multiqueue' element
9063 (some bits don't work yet and are disabled for now).
9065 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9067 * gst/gstelement.c: (gst_element_get_request_pad),
9068 (gst_element_class_get_request_pad_template):
9069 Make gst_element_get_request_pad() create request pads only for
9070 request pad templates and not for, say, sometimes pad templates.
9072 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9074 * docs/design/draft-klass.txt:
9075 Add example that needs more thinking.
9077 * docs/design/draft-missing-plugins.txt:
9078 More thoughts about wrapper plugins.
9080 * docs/random/ensonic/embedded.txt:
9081 * docs/random/ensonic/profiling.txt:
9084 2007-03-25 Wim Taymans <wim@fluendo.com>
9086 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9087 (gst_base_src_loop):
9088 Only push the segment events in the PLAYING state for live sources.
9090 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9092 * gst/gstpipeline.c: (gst_pipeline_change_state):
9093 Modify the clock distribution path in PAUSED->PLAYING so that we
9094 never attempt to choose a new clock unless we're actually leaving
9095 the PAUSED state for the first time. This prevents choosing a
9096 different clock when the state_change gets called for a 2nd time due
9097 to some element doing an async state change.
9099 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9101 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9102 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9103 (gst_pad_chain_unchecked), (gst_pad_push):
9104 Revert last commit. This needs some more thoughts.
9106 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9108 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9109 (gst_pad_chain_unchecked), (gst_pad_push):
9110 Check in set_caps if the caps are compatible with the pad and remove
9111 two functions that are redundant now. Fixes #421543.
9113 2007-03-22 Wim Taymans <wim@fluendo.com>
9115 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9116 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9117 Unref some more to make valgrind happy.
9119 2007-03-22 Wim Taymans <wim@fluendo.com>
9121 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9122 (gst_system_clock_id_wait_jitter),
9123 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9124 Fix anoying regression that survived a few releases. When adding an
9125 async entry while blocking on a sync entry, the sync entry will unblock
9126 but still be busy, so it should continue to wait instead of returning
9128 Add some comments here and there.
9130 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9131 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9132 Add testcase for this.
9134 2007-03-22 Wim Taymans <wim@fluendo.com>
9136 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9137 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9138 WRONG_STATE and can silently pause the task. All other cases should
9141 2007-03-22 Wim Taymans <wim@fluendo.com>
9143 Patch by: Ville Syrjala <syrjala at sci dot fi>
9145 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9146 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9149 2007-03-21 Michael Smith <msmith@fluendo.com>
9151 * docs/pwg/advanced-types.xml:
9152 Fix some errors in the typefinding docs pointed out on irc.
9154 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9156 * libs/gst/base/gstbasesrc.c:
9157 Clarify FIXME comment in the face of having added unlock_stop()
9159 2007-03-21 Wim Taymans <wim@fluendo.com>
9161 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9162 Prepare for release where we warn against possible app breakage in the
9163 case of live pipelines along with an env var to enable/disable live
9164 preroll mode (GST_COMPAT=[no-]live-preroll).
9166 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9168 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9169 So we should use correct constants for checking for None offset.
9171 2007-03-20 Wim Taymans <wim@fluendo.com>
9173 * docs/design/part-block.txt:
9174 Mention the fact that the newly switched element should be set to at
9177 2007-03-20 Wim Taymans <wim@fluendo.com>
9180 Fix compilation with registry disabled as spotted by Saur.
9182 2007-03-20 Wim Taymans <wim@fluendo.com>
9184 Patch by: Olivier Crete <tester at tester dot ca>
9186 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9187 Look at the pending state too when syncing the element state to the
9188 parent. Fixes #420133.
9190 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9192 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9193 (gst_base_sink_change_state):
9194 * libs/gst/base/gstbasesink.h:
9195 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9196 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9197 (gst_base_src_deactivate):
9198 * libs/gst/base/gstbasesrc.h:
9199 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9200 for sub-classes to correctly clear any state they set trying to
9201 unlock, such as clearing out unlock commands from a command fd.
9202 API: basesrc::unlock_stop
9203 API: basesink::unlock_stop
9205 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9206 (gst_fd_sink_render), (gst_fd_sink_unlock),
9207 (gst_fd_sink_unlock_stop):
9208 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9209 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9210 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9212 Implement unlock_stop in fdsrc and fdsink.
9213 Implement seeking in fdsrc when a seekable fd is passed, as in
9214 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9216 2007-03-19 Wim Taymans <wim@fluendo.com>
9218 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9220 * gst/gstelement.c: (gst_element_class_init):
9221 Fix pad-added and pad-removed signal signatures so that the pad type is
9222 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9224 2007-03-19 Wim Taymans <wim@fluendo.com>
9226 * docs/gst/gstreamer-sections.txt:
9227 Add new element field and method.
9229 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9230 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9231 (gst_bin_recalc_state), (gst_bin_get_state_func),
9232 (gst_bin_element_set_state), (gst_bin_change_state_func),
9233 (gst_bin_continue_func), (bin_bus_handler),
9234 (bin_push_state_continue), (bin_handle_async_start),
9235 (bin_handle_async_done), (gst_bin_handle_message_func):
9236 Make async state changes a bit smarter by using new ASYNC_START and
9237 ASYNC_DONE messages. This reduces the number of times we run the state
9238 recalculation thread.
9239 Don't change state of element with a pending ASYNC_START message.
9240 Deprecate STATE_DIRTY messages.
9242 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9243 (gst_element_get_state_func), (gst_element_continue_state),
9244 (gst_element_lost_state), (gst_element_set_state_func),
9245 (gst_element_change_state):
9247 Keep the state that was last set by the app in a new element field.
9248 Don't allow state changes when handling an element event.
9249 Post ASYNC_START and ASYNC_DONE messages.
9250 Change lost_state so that we go to PAUSED and wait for the parent to set
9251 us to PLAYING again (so latency calculation can be performed)
9252 Export gst_element_change_state() method so that subclasses can use it.
9253 API: gst_element_change_state()
9254 API: GST_STATE_TARGET
9256 * gst/gstpipeline.c: (gst_pipeline_class_init),
9257 (reset_stream_time), (gst_pipeline_change_state),
9258 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9259 Using the new ASYNC_START message we can reset the base_time when
9260 needed. This can then be used to implement base_time redistribution in
9261 flushing seeks so that we can remove the explicit seek handling.
9262 Perform latency query and configuration when going to PLAYING.
9264 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9265 (gst_base_sink_query), (gst_base_sink_change_state):
9266 Post new ASYNC_START/ASYNC_DONE messages.
9268 * tests/check/generic/sinks.c: (GST_START_TEST):
9269 Fix test because the bin will not set the async element to PLAYING right
9272 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9273 Make the message check a little stronger.
9274 Handle ASYNC messages.
9276 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9277 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9278 Expect ASYNC_DONE messages.
9280 2007-03-19 Wim Taymans <wim@fluendo.com>
9282 * docs/gst/gstreamer-sections.txt:
9283 * gst/gstmessage.c: (gst_message_new_async_start),
9284 (gst_message_new_async_done), (gst_message_parse_info),
9285 (gst_message_parse_async_start):
9287 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9290 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9292 * tools/gst-inspect.c:
9293 (print_plugin_automatic_install_info_codecs):
9294 Now that we don't check for the 'Codec' keyword any longer in the
9295 klass, we shouldn't spew a warning if the klass isn't a decoder or
9296 encoder (since it might be a Source/Network, for example).
9298 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9300 * tools/gst-inspect.c:
9301 (print_plugin_automatic_install_info_codecs):
9302 Don't require decoder/demuxer/depayloader elements or
9303 encoder/muxer/paylader elements to have 'Codec' as part of their
9304 factory class string when introspecting a plugin's capabilities.
9305 draft-klass.txt mentions that it might be removed in future, and
9306 flump3dec doesn't have it as part of its class string, so chances
9307 are others might also not have it.
9309 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9331 Update translations from translation project
9333 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9335 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9336 (gst_child_proxy_set_property):
9337 Invert precondition check to be alike the ones in the mimiced gobject
9340 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9342 * docs/design/draft-tagreading.txt:
9343 * docs/random/ensonic/audiobaseclasses.txt:
9344 Do some Architect work.
9346 * gst/gstobject.c: (gst_object_set_name):
9350 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9352 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9354 * gst/gstsystemclock.c: (gst_system_clock_init),
9355 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9356 Defer starting the async system clock thread until the first async
9357 wait is scheduled. Fixes #414986.
9359 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9361 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9362 (gst_single_queue_free):
9363 Fix small leak (free GstSingleQueue structure too, not only contents).
9365 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9367 * gst/gstbin.c:(gst_bin_add):
9368 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9369 * win32/common/libgstbase.def:
9370 * win32/common/libgstreamer.def:
9371 Add new exported functions.
9373 2007-03-09 Wim Taymans <wim@fluendo.com>
9375 * docs/plugins/gstreamer-plugins-sections.txt:
9378 2007-03-09 Wim Taymans <wim@fluendo.com>
9380 * docs/gst/gstreamer-sections.txt:
9381 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9383 Add metadata copy functions. Fixes #393099.
9384 API: gst_buffer_copy_metadata()
9386 * gst/gstutils.c: (gst_buffer_stamp):
9387 * libs/gst/base/gstbasetransform.c:
9388 (gst_base_transform_prepare_output_buffer):
9389 Use new metadata copy functions.
9391 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9393 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9394 (gst_identity_init), (gst_identity_check_perfect),
9395 (gst_identity_check_imperfect_timestamp),
9396 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9397 (gst_identity_set_property), (gst_identity_get_property):
9398 * plugins/elements/gstidentity.h:
9399 Separate out check-imperfect-timestamp and check-imperfect-offset.
9400 Put back check-perfect as it was to keep compatibility.
9402 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9404 * gst/gstelement.c: (gst_element_dispose):
9405 There's no need to warn if VOID_PENDING is not NONE here, as
9406 long as the state is NULL it's ok, and that's checked immediately
9409 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9411 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9412 Fix check for perfect stream to ignore buffers with -1
9413 offsets/offset ends when checking data contiguity.
9415 2007-03-08 Wim Taymans <wim@fluendo.com>
9417 * tools/gst-launch.c: (event_loop):
9418 Print INFO messages.
9420 2007-03-08 Wim Taymans <wim@fluendo.com>
9422 * libs/gst/base/gstbasetransform.c:
9423 (gst_base_transform_sink_eventfunc),
9424 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9425 (gst_base_transform_activate):
9426 * libs/gst/base/gstbasetransform.h:
9427 Add support for dropping buffers with custom GstFlowReturn.
9428 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9429 buffers or dropped buffers.
9431 * docs/libs/gstreamer-libs-sections.txt:
9432 docs for new custom return code.
9434 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9435 Use drop support in base class to implement drop-probability.
9437 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9439 * gst/gst.c: (load_plugin_func):
9440 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9441 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9442 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9443 Remove newlines at end of debug log strings.
9445 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9447 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9448 Only post bus message at max, once per buffer received.
9450 2007-03-07 Wim Taymans <wim@fluendo.com>
9452 * docs/design/Makefile.am:
9453 * docs/design/part-synchronisation.txt:
9454 Add doc about synchronisation
9456 * docs/design/draft-latency.txt:
9457 * docs/design/part-TODO.txt:
9458 * docs/design/part-clocks.txt:
9459 * docs/design/part-events.txt:
9460 * docs/design/part-gstbus.txt:
9461 * docs/design/part-gstpipeline.txt:
9462 * docs/design/part-live-source.txt:
9463 * docs/design/part-messages.txt:
9464 * docs/design/part-overview.txt:
9465 * docs/design/part-streams.txt:
9466 * docs/design/part-trickmodes.txt:
9467 Documentation updates.
9469 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9472 Update the doap file.
9474 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9476 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9477 Rename non-perfect to imperfect for Mike and for the sanctity of the
9479 Also make sure bus message gets emitted for data-incontiguities.
9481 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9483 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9484 (gst_identity_start):
9485 * plugins/elements/gstidentity.h:
9486 Emit bus message if check-perfect is true and we encounter a
9487 non-perfect stream between 2 consecutive buffers.
9490 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9495 === release 0.10.12 ===
9497 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9500 releasing 0.10.12, "Inevitable Demise"
9502 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9505 Version 0.10.11.2 (0.10.12 pre-release)
9506 Bump libtool versioning.
9508 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9510 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9511 Log flow-names and not numbers.
9513 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9516 Convert to new AG_GST style.
9518 2007-02-28 Wim Taymans <wim@fluendo.com>
9520 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9521 Don't unref query twice.
9523 2007-02-28 Wim Taymans <wim@fluendo.com>
9525 * gst/gstvalue.c: (gst_value_transform_object_string),
9526 (_gst_value_initialize):
9527 Implement GstObject -> string transform so we print object names
9528 when serializing GValues containing GstObjects.
9530 2007-02-28 Wim Taymans <wim@fluendo.com>
9532 * docs/gst/gstreamer-sections.txt:
9533 Add new stuff to docs.
9535 2007-02-28 Wim Taymans <wim@fluendo.com>
9537 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9538 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9539 (gst_base_sink_change_state):
9540 Improve latency query code.
9541 Don't leak latency events.
9543 * tests/check/gst/gstbin.c: (GST_START_TEST):
9546 2007-02-28 Wim Taymans <wim@fluendo.com>
9548 * gst/gstelement.c: (gst_element_message_full),
9549 (gst_element_get_state_func):
9551 Improve docs a little. Added Since: for new macro.
9553 * gst/gstobject.c: (gst_object_sink):
9554 * gst/gstpipeline.c: (gst_pipeline_change_state),
9555 (gst_pipeline_set_new_stream_time):
9556 * gst/gstpipeline.h:
9557 Improve debugging and docs.
9559 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9562 2007-02-28 Wim Taymans <wim@fluendo.com>
9564 * gst/gstelement.c: (gst_element_message_full),
9565 (gst_element_set_locked_state), (gst_element_get_state_func),
9566 (gst_element_change_state):
9567 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9568 Documentation updates.
9569 Small code cleanups.
9571 * gst/gstmessage.c: (gst_message_new_info),
9572 (gst_message_parse_info):
9574 API: gst_message_new_info()
9575 API: gst_message_parse_info()
9576 Add INFO message create and parse code.
9578 2007-02-28 Wim Taymans <wim@fluendo.com>
9580 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9581 (bin_query_latency_done):
9582 Also report the live parameter of a latency query.
9584 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9586 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9587 Copy the current generic/states example from -base and adapt so
9588 we can use the exact same code everywhere.
9589 Check a STATES_IGNORE_ELEMENTS env var which can be used
9590 to ignore certain element factories for this test, which is
9591 what is being done in -base
9592 * tests/check/Makefile.am:
9593 Mention this environment variable.
9595 2007-02-27 Wim Taymans <wim@fluendo.com>
9597 * docs/gst/gstreamer-sections.txt:
9598 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9599 (gst_bus_timed_pop), (gst_bus_pop):
9601 API: gst_bus_timed_pop()
9602 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9603 message to arrive on the bus.
9605 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9607 Two unit tests for new _timed_pop() function.
9609 2007-02-23 Wim Taymans <wim@fluendo.com>
9611 * gst/gstpipeline.c: (gst_pipeline_change_state),
9612 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9613 Don't ref a NULL clock in _provide_clock_func().
9614 Don't allow an INVALID delay.
9615 Don't try to calculate base_time with an invalid start_time.
9616 Also distribute and notify a NULL clock when it was selected.
9618 * tools/gst-launch.c: (event_loop):
9619 Don't crash when a NULL clock was selected in the pipeline.
9621 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9623 * docs/design/Makefile.am:
9624 * docs/design/draft-missing-plugins.txt:
9625 * docs/random/draft-missing-plugins.txt:
9626 Some small updates: update plugin system identifier prefix
9627 ('gstreamer.net' to 'gstreamer'), mention our new install
9628 API in libgstbaseutils rather than libgimme-codec, add
9629 reference to the online docs.
9631 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9633 * win32/common/config.h:
9634 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9635 use moap cl ci to only check in what is mentioned in the ChangeLog.
9637 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9639 * docs/gst/gstreamer-sections.txt:
9641 Fix up documentation to link to the correct GstGError section.
9642 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9644 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9646 * tools/gst-launch.c: (event_loop):
9647 Make sure that we actually show the important message part of a
9649 No need to check if the gerror is not NULL to free; first of all
9650 g_free accepts NULL; and second the default error handler would
9651 segfault if gerror was NULL.
9653 2007-02-21 Wim Taymans <wim@fluendo.com>
9655 * docs/gst/gstreamer-sections.txt:
9656 Removed docs as well.
9658 2007-02-21 Wim Taymans <wim@fluendo.com>
9660 * gst/gstmessage.c: (gst_message_parse_duration):
9662 Remove new messages for release.
9664 2007-02-20 Wim Taymans <wim@fluendo.com>
9666 * docs/design/part-gstghostpad.txt:
9667 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9668 (gst_ghost_pad_new_full):
9669 Make the ghostpad a parent of the internal pad again for better backward
9670 compatibility. Don't write code that relies on this however.
9672 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9673 (gst_pad_link_check_hierarchy):
9674 Require that parents should be GstElements in the hierarchy check.
9676 2007-02-20 Wim Taymans <wim@fluendo.com>
9678 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9679 (gst_bin_change_state_func), (bin_query_min_max_init),
9680 (bin_query_latency_fold), (bin_query_latency_done),
9683 Implement latency query.
9685 2007-02-20 Wim Taymans <wim@fluendo.com>
9687 * docs/design/part-gstghostpad.txt:
9688 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9689 (gst_ghost_pad_internal_do_activate_push),
9690 (gst_ghost_pad_internal_do_activate_pull),
9691 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9692 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9693 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9694 Do not set the internal pad as a parent anymore so we can avoid
9695 hierarchy linking errors when the ghostpad has no parent yet. This also
9696 fixes failed activation because of unlinked internal pads, which in
9697 turn fixes the impossible case where you have to activate a pad before
9698 you can add it to a running element.
9701 * gst/gstpad.c: (pre_activate), (post_activate),
9702 (gst_pad_set_active), (gst_pad_activate_pull),
9703 (gst_pad_activate_push), (gst_pad_check_pull_range):
9704 Add some more debug info.
9705 Mark activation mode in pre_activate so that we don't try to activate in
9706 endless loops. Fixes #385084.
9708 2007-02-19 Wim Taymans <wim@fluendo.com>
9710 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9711 (gst_base_transform_check_get_range):
9712 Implement a checkgetrange function instead of relying on the default
9713 core behaviour that assumes we can operate in pull mode if we have a
9714 getrange function. First step at fixing #385084.
9716 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9718 * gst/gstchildproxy.h:
9719 * libs/gst/base/gstbasesink.h:
9720 * libs/gst/base/gstbasesrc.h:
9721 * libs/gst/base/gstbasetransform.h:
9722 More docs coverage and some ChangeLog surgery (add missing names)
9724 2007-02-15 Wim Taymans <wim@fluendo.com>
9726 * docs/design/part-TODO.txt:
9727 * docs/design/part-activation.txt:
9728 * docs/design/part-block.txt:
9729 * docs/design/part-buffering.txt:
9730 * docs/design/part-clocks.txt:
9731 * docs/design/part-element-source.txt:
9732 * docs/design/part-events.txt:
9733 * docs/design/part-gstbin.txt:
9734 * docs/design/part-gstbus.txt:
9735 * docs/design/part-gstpipeline.txt:
9736 * docs/design/part-live-source.txt:
9737 * docs/design/part-messages.txt:
9738 * docs/design/part-overview.txt:
9739 * docs/design/part-qos.txt:
9740 * docs/design/part-query.txt:
9741 * docs/design/part-states.txt:
9742 * docs/design/part-trickmodes.txt:
9743 Some doc updates. Start renaming from stream_time to running_time where
9744 it was used wrongly.
9746 2007-02-15 Wim Taymans <wim@fluendo.com>
9748 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9749 Answer LATENCY query.
9751 2007-02-15 Wim Taymans <wim@fluendo.com>
9753 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9757 2007-02-15 Wim Taymans <wim@fluendo.com>
9759 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9760 (gst_pad_dispatcher):
9761 Improve debugging of default pad dispatcher and query functions.
9763 2007-02-15 Wim Taymans <wim@fluendo.com>
9765 * docs/gst/gstreamer-sections.txt:
9766 Remove old unused method.
9768 2007-02-13 Wim Taymans <wim@fluendo.com>
9770 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9773 2007-02-13 Wim Taymans <wim@fluendo.com>
9775 * docs/design/part-seeking.txt:
9778 * gst/gstsegment.c: (gst_segment_set_seek):
9779 Revert old bogus change that should make seeking work again.
9781 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9783 * docs/random/ensonic/dynlink.txt:
9784 * docs/random/ensonic/interfaces.txt:
9785 * docs/random/ensonic/receipies.txt:
9786 Possible dynamic reconnection api, plus some type fixes the other two
9789 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9791 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9792 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9793 Also check for an absolute path following file:// in the filesrc
9794 element. Remove redundant check and call g_path_is_absolute() on the
9797 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9799 * docs/design/draft-klass.txt:
9800 Add existing category analysis.
9803 Fix doc example, framerate is a fraction.
9805 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9808 * docs/gst/Makefile.am:
9809 * docs/gst/gstreamer-sections.txt:
9810 * docs/libs/Makefile.am:
9811 Erm, forgot a bunch of --extra-dir.
9813 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9816 * docs/gst/Makefile.am:
9817 * docs/libs/Makefile.am:
9818 * docs/plugins/Makefile.am:
9819 Add crossreferences to glib/gobject docs.
9821 2007-02-12 Wim Taymans <wim@fluendo.com>
9823 * docs/design/draft-latency.txt:
9826 * docs/libs/gstreamer-libs-sections.txt:
9827 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9828 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9829 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9830 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9831 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9832 (gst_base_sink_get_position), (gst_base_sink_query),
9833 (gst_base_sink_change_state):
9834 * libs/gst/base/gstbasesink.h:
9835 API: gst_base_sink_query_latency() to let subclasses query the upstream
9837 API: gst_base_sink_get_latency() to let subclasses query the configured
9838 latency in the sink.
9839 Implement query and set latency.
9841 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9842 don't continue preroll when we are flushing. Fixes #405284.
9844 * tests/check/pipelines/stress.c: (change_state_timeout),
9845 (quit_timeout), (GST_START_TEST), (stress_suite):
9848 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9850 Patch by: René Stadler <mail at renestadler de>
9852 * docs/gst/gstreamer-sections.txt:
9853 * gst/gsttaglist.c: (_gst_tag_initialize):
9855 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9857 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9859 * docs/libs/Makefile.am:
9860 Fix path to core docs.
9862 * gst/gstbin.c: (gst_bin_get_by_interface),
9863 (gst_bin_iterate_all_by_interface):
9864 Refix docs by also renaming 'interface' to 'iface' in implementation.
9866 * docs/gst/gstreamer-sections.txt:
9868 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9869 * gst/gstchildproxy.h:
9870 * gst/gstelementfactory.c:
9871 * gst/gstpadtemplate.h:
9872 * libs/gst/controller/gstcontroller.c:
9873 (gst_controlled_property_new):
9876 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9878 * gst/gstbin.h:(gst_bin_get_by_interface),
9879 (gst_bin_iterate_all_by_interface):
9880 Replace interface parameter name by iface as interface is
9881 a reserved keyword in Visual Studio for C++ projects so it removes
9882 a build error for application developpers using VS.
9883 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9884 Fix a bug on Windows in uri format check. Now the prefix checked
9885 is file:// and next we check if the path after file:// is absolute.
9886 * win32/common/libgstbase.def:
9887 * win32/common/libgstdataprotocol.def:
9888 * win32/common/libgstgstreamer.def:
9889 Add new exported functions.
9891 2007-02-09 Andy Wingo <wingo@pobox.com>
9893 * tests/check/pipelines/simple-launch-lines.c
9894 (simple_launch_lines_suite, test_tee): Disable tee test until I
9895 have time to fix it :-(
9897 * tests/check/Makefile.am (noinst_HEADERS):
9898 * tests/check/libs/libsabi.c:
9899 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9900 * tests/check/gst/gstabi.c:
9901 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9903 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9904 tests for push and pull tee behavior.
9906 * plugins/elements/gsttee.h:
9907 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9908 mark as deprecated as well as unimplemented. It was a crack idea.
9909 Add support for tee operating in pull mode, off by default.
9911 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9912 normal-case logs down to LOG, raise errors to WARNING.
9913 (gst_registry_xml_read_cache): Don't log before calling a function
9916 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9917 exit (registry finalize).
9918 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9919 DEBUG log when we emit signals that people don't even have the
9920 chance to connect to.
9921 (gst_registry_scan_path_level): Less logging in the normal case.
9923 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9925 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9927 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9928 Correctly generate EOS for non-seekable files. We don't have a total
9929 length for them and would get an unexpected end of file if we only
9930 special-cased for regular files. (Fixes: #404569)
9932 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9934 * tests/check/elements/filesrc.c: (GST_START_TEST),
9936 Add unit test for the GstURIHandler interface in filesrc. This also
9937 tests the newly added file://localhost/foo/bar support.
9939 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9941 * gst/gstelementfactory.h:
9942 The klass string is not a hierarchy. Add reference to the design doc
9943 for more information and common types.
9945 2007-02-02 Wim Taymans <wim@fluendo.com>
9947 * gst/gstquery.c: (gst_query_new_latency):
9948 Remove old structure field.
9950 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9952 * tools/gst-launch.1.in:
9953 Give example for network streaming (#351998)
9955 2007-02-02 Wim Taymans <wim@fluendo.com>
9957 * docs/gst/gstreamer-sections.txt:
9958 Add docs for new methods.
9960 * gst/gstevent.c: (gst_event_new_latency),
9961 (gst_event_parse_latency):
9963 Add new LATENCY event to configure latency in a pipeline.
9964 API: gst_event_new_latency
9965 API: gst_event_parse_latency
9967 * gst/gstmessage.c: (gst_message_new_buffering),
9968 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9969 (gst_message_new_latency), (gst_message_parse_buffering),
9970 (gst_message_parse_lost_preroll):
9972 Added messages used in draft-latency.
9973 API: gst_message_new_lost_preroll
9974 API: gst_message_parse_lost_preroll
9975 API: gst_message_new_prerolled
9976 API: gst_message_new_latency
9978 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9979 (gst_query_parse_latency):
9981 Implemented new latency query as in design doc.
9982 API: gst_query_new_latency
9983 API: gst_query_set_latency
9984 API: gst_query_parse_latency
9986 2007-02-02 Wim Taymans <wim@fluendo.com>
9988 * docs/design/draft-latency.txt:
9989 Slight redesign to allow for dynamic latency adjustments.
9991 * docs/design/part-negotiation.txt:
9994 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
9996 reviewed by: Wim Taymans <wim@fluendo.com>
9998 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9999 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10000 Allow file://localhost/foo/bar URLs and correctly fail for every other
10001 hostname that one sets. This was gnomevfssrc is linked for those if
10002 installed as it can handle it (#403172)
10004 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10006 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10008 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10009 (unref_data), (gst_collect_pads_add_pad_full):
10010 * libs/gst/base/gstcollectpads.h:
10011 Don't put the previously added destroy notify in the GstCollectData
10012 struct as all it's padding is already used and we don't want to break
10013 ABI. Instead put in the pad's GObject data for now. This should be
10014 cleaned up for 0.11 (#402393).
10016 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10018 reviewed by: Wim Taymans <wim@fluendo.com>
10020 * docs/libs/gstreamer-libs-sections.txt:
10021 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10022 (unref_data), (gst_collect_pads_add_pad),
10023 (gst_collect_pads_add_pad_full):
10024 * libs/gst/base/gstcollectpads.h:
10025 API: Add function to specify a destroy notification for custom
10026 GstCollectData when adding new pads in GstCollectPads (#402393).
10028 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10031 Update Swedish translation (#378255).
10033 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10035 * docs/design/draft-klass.txt:
10036 Fix the previous change, this is a list of categories and not a hierarchy.
10038 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10040 * docs/design/draft-klass.txt:
10041 Add info about how to get a list of used classes.
10043 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10045 * plugins/elements/gsttypefindelement.c:
10046 (gst_type_find_element_chain_do_typefinding),
10047 (gst_type_find_element_change_state):
10048 Don't leak found caps in chain function (no idea why that never
10049 showed up as a leak anywhere).
10051 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10054 Fix and expand GstPluginDesc API docs.
10056 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10059 * gst/gstelementfactory.c:
10060 * gst/gstpadtemplate.h:
10063 * libs/gst/controller/gstcontroller.c:
10064 (gst_controlled_property_new):
10065 * tests/examples/controller/audio-example.c:
10068 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10071 comment about refining the xml deps
10073 * docs/manuals.mak:
10074 comments about moving away from jade for docs
10077 recommit the ifdefs to use the binary registry
10079 * gst/gstbin.c: (gst_bin_change_state_func):
10080 this break is obsolete
10082 * gst/gstelementfactory.h:
10083 better GST_ELEMENT_DETAILS docs, add comment about translation
10088 * gst/gstobject.c: (gst_signal_object_get_type):
10089 add G_UNLIKELY as usual
10091 * gst/gstpad.c: (gst_pad_event_default):
10092 add fall trhu comment
10094 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10095 (gst_registry_binary_initialize_magic),
10096 (gst_registry_binary_save_string),
10097 (gst_registry_binary_save_pad_template),
10098 (gst_registry_binary_save_feature),
10099 (gst_registry_binary_save_plugin),
10100 (gst_registry_binary_write_cache),
10101 (gst_registry_binary_check_magic),
10102 (gst_registry_binary_load_pad_template),
10103 (gst_registry_binary_load_feature),
10104 (gst_registry_binary_load_plugin),
10105 (gst_registry_binary_read_cache):
10106 comment typo and formatting
10108 * gst/gstutils.c: (gst_element_state_get_name),
10109 (gst_element_state_change_return_get_name):
10110 remove obsolete breaks
10112 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10113 add FIXME 0.11 and remove cpp comment
10115 2007-01-29 Edward Hervey <edward@fluendo.com>
10117 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10118 Fix print statement in an even more portable way.
10120 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10122 * docs/gst/gstreamer-sections.txt:
10124 API: add GST_ROUND_DOWN_* macros (#401781).
10126 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10128 * docs/gst/gstreamer.types.in:
10129 * gst/gstregistry.c: (gst_registry_class_init):
10130 Document registry signals and make gtk-doc pick them up (#401381).
10132 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10134 * docs/pwg/building-testapp.xml:
10135 Add some audioconverts and audioresample to the pipeline, and some
10136 more comments and error handling.
10138 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10140 * docs/manual/manual.xml:
10141 * docs/pwg/pwg.xml:
10142 Fix typo (#400987).
10144 2007-01-26 Wim Taymans <wim@fluendo.com>
10146 * gst/gstcaps.c: (gst_static_caps_get):
10147 Init caps flags too.
10149 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10151 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10153 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10154 If not using mmap'ed files try to seek to the end instead of the
10155 start to determine whether we can seek at all. This fixes the case
10156 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10157 seeks for everything afterwards fail. Fixes #400656
10159 2007-01-25 Wim Taymans <wim@fluendo.com>
10161 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10162 Add some refcount debugging.
10163 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10164 in multiple streaming threads.
10166 2007-01-25 Wim Taymans <wim@fluendo.com>
10168 Patch by: David Schleef <ds at schleef dot org>
10170 * docs/libs/gstreamer-libs-sections.txt:
10171 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10172 * libs/gst/base/gstadapter.h:
10173 API: gst_adapter_copy() that can reduce the amount of memcpy when
10174 getting data from the adapter. Fixes #388201.
10176 2007-01-25 Edward Hervey <edward@fluendo.com>
10178 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10179 In print statements, "%x" is for guint. Fixes build on macosx.
10181 2007-01-24 Edward Hervey <edward@fluendo.com>
10183 * plugins/elements/gstmultiqueue.c:
10184 (gst_multi_queue_loop):
10186 (single_queue_overrun_cb), (single_queue_underrun_cb),
10187 (single_queue_check_full), (gst_single_queue_new):
10188 Implement single queue growth system.
10189 This uses the extra-size properties, and will grow single queues by
10190 that much if one goes full whereas there are others empty. This is
10191 called extra-mode in the code.
10192 When a single queue's levels go back below the initial max-size
10193 limits, it is no longer in extra-mode. This is to ensure we don't
10194 consume too much memory.
10197 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10199 * gst/gst.c: (gst_init_get_option_group):
10200 Make warning about late g_thread_init() calls a bit more explicit,
10201 so that it's more obvious to application developers what they need
10202 to do if a user files a bug against their application.
10204 2007-01-22 Edward Hervey <edward@fluendo.com>
10206 * plugins/elements/gstmultiqueue.c:
10207 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10208 Remove previous hack of unsetting the flushing flag for the source pad
10209 instead of activating it. Instead, fix the source pad activate function
10210 so that it no longer depends on having a parent set or not.
10212 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10214 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10216 * docs/manual/basics-bus.xml:
10217 Fix example code, gst_element_unref() doesn't exist any longer.
10219 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10221 Patch by: Mark Nauwelaerts <manauw at skynet be>
10224 Fix two docs typoes (#399094).
10226 2007-01-19 Edward Hervey <edward@fluendo.com>
10228 * docs/faq/gst-uninstalled:
10229 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10230 depending on libgstbaseutils can work in uninstalled environment.
10232 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10234 * gst/gsttaglist.h:
10235 * gst/gsttagsetter.c:
10236 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10237 statement for new tag.
10239 2007-01-17 Edward Hervey <edward@fluendo.com>
10241 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10242 When dynamically creating single queues, activate sinkpad before adding
10244 We should be doing the same thing for the source pad, but we can't
10245 since it would call a method which needs the parent to be set in order
10246 to work propertly. Instead of activating the source pad, we just unset
10247 the flushing flag, which is the minimal requirement for adding a pad
10248 to an element in a state greater than READY.
10250 2007-01-17 Edward Hervey <edward@fluendo.com>
10252 * docs/faq/gst-uninstalled:
10253 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10256 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10258 * tests/check/gst/gstabi.c:
10259 * tests/check/gst/struct_hppa.h:
10260 * tests/check/libs/libsabi.c:
10261 * tests/check/libs/struct_hppa.h:
10262 Add ABI structs for HPPA (see #393796).
10264 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10266 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10267 Actually write ABI structs to the file specified in the GST_ABI
10268 environment variable, as the message we print claims we would.
10270 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10272 * tests/check/gst/gsttask.c:
10273 Fix header comment.
10275 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10277 * gst/gsttaglist.c: (_gst_tag_initialize):
10278 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10279 previous two entries.
10281 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10283 * docs/gst/gstreamer-sections.txt:
10284 * gst/gsttaglist.c: (_gst_tag_initialize):
10285 * gst/gsttaglist.h:
10286 Add tag support for beat-per-minute.
10288 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10290 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10291 (gst_registry_binary_initialize_magic),
10292 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10293 (gst_registry_binary_save_pad_template),
10294 (gst_registry_binary_save_feature),
10295 (gst_registry_binary_save_plugin),
10296 (gst_registry_binary_write_cache),
10297 (gst_registry_binary_check_magic),
10298 (gst_registry_binary_load_pad_template),
10299 (gst_registry_binary_load_feature),
10300 (gst_registry_binary_load_plugin),
10301 (gst_registry_binary_read_cache):
10302 * gst/gstregistrybinary.h:
10303 Use glib types, cleanup comments, impement interfaces and uri-types.
10305 2007-01-13 Andy Wingo <wingo@pobox.com>
10307 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10308 getrange() to return buffers with other caps, while we fix
10309 demuxers and typefind, or otherwise change part-negotiation.txt.
10311 2007-01-12 Andy Wingo <wingo@pobox.com>
10313 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10314 Factor start/stop into this private function instead of partially
10315 in activate functions and partially in the change_state function.
10316 Fixes setup before the element has changed from READY->PAUSED, as
10317 is the case in pull-mode pipelines.
10318 (gst_base_transform_sink_activate_push)
10319 (gst_base_transform_src_activate_pull): Refactor to use
10320 gst_base_transform_activate().
10321 (gst_base_transform_change_state): Removed, not needed any more.
10323 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10324 Truncate before fixating.
10326 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10327 Don't set_caps() if the result of fixating is ANY, as it's not
10328 supported, and not necessary in the case of a link with no
10329 template caps on either side. Fixes tests/check/libs/basesrc in
10330 some pull-mode tests.
10332 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10333 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10334 (gst_base_transform_src_activate_pull):
10335 Track the activation mode.
10336 (gst_base_transform_setcaps): In pull mode, when activating the
10337 src pad, after activating the sink pad, activate the sink pad's
10338 peer, as discussed in part-negotiation.txt.
10340 * libs/gst/base/gstbasesrc.h:
10341 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10342 vmethod, as in basesink.
10344 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10346 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10347 mode, first proxy the setcaps to the peer pad.
10348 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10349 new fixate vmethod.
10350 (gst_base_sink_default_activate_pull): Rename from
10351 gst_base_sink_activate_pull.
10352 (gst_base_sink_negotiate_pull): New function, performs negotiation
10353 in pull mode before calling ::activate_pull().
10354 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10355 vmethod instead of the default implementation. I have no idea how
10356 this worked before. Negotiate before calling activate_pull.
10358 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10359 sink pads in pull mode. In addition to being correct, fixes
10360 filesrc ! decodebin ! identity ! fakesink.
10361 (gst_pad_get_range, gst_pad_pull_range): Don't call
10362 gst_pad_set_caps() if the caps changes; instead error out with
10363 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10365 2007-01-12 Andy Wingo <wingo@pobox.com>
10367 * docs/design/part-negotiation.txt: Update with more policy.
10369 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10371 * libs/gst/check/gstbufferstraw.h:
10372 * libs/gst/check/gstcheck.h:
10373 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10376 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10378 * tests/check/Makefile.am:
10379 * tests/check/gst/.cvsignore:
10380 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10381 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10382 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10383 (GST_START_TEST), (gst_tag_setter_suite):
10384 Add minimal unit test for beforementioned GstTagSetter bug.
10386 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10388 Patch by: René Stadler <mail at renestadler dot de>
10390 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10391 gst_tag_list_merge() returns a new list, so it's not the best idea
10392 to ingore its return value. Effectively meant that tags could only
10393 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10394 Also add function guard to require a non-NULL taglist as input (has
10395 always been so due to gst_tag_list_copy(), just making it explicit).
10397 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10399 * docs/random/draft-missing-plugins.txt:
10400 Some additions: mention new API that is supposed to be used at the
10401 various stages; short blob about new gst-inspect introspection
10402 option; mention potential future problem with plugins that have
10403 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10405 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10407 * tools/gst-inspect.c:
10408 (print_plugin_automatic_install_info_codecs),
10409 (print_plugin_automatic_install_info_protocols),
10410 (print_plugin_automatic_install_info), (main):
10411 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10412 introspect plugin files and get machine-parsable output that corresponds
10413 to the last bit of the missing-plugin installer string (small gotcha:
10414 doesn't take into account ranks).
10416 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10419 * docs/gst/gstreamer-sections.txt:
10421 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10422 (gst_registry_lookup_locked):
10423 * gst/gstregistry.h:
10424 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10425 (gst_registry_binary_initialize_magic),
10426 (gst_registry_binary_save_string),
10427 (gst_registry_binary_save_pad_template),
10428 (gst_registry_binary_save_feature),
10429 (gst_registry_binary_save_plugin),
10430 (gst_registry_binary_write_cache),
10431 (gst_registry_binary_check_magic),
10432 (gst_registry_binary_load_pad_template),
10433 (gst_registry_binary_load_feature),
10434 (gst_registry_binary_load_plugin),
10435 (gst_registry_binary_read_cache):
10436 * gst/gstregistrybinary.h:
10437 * gst/gstregistryxml.c: (load_feature),
10438 (gst_registry_xml_read_cache):
10439 commit binary registry (disabled by default, see #359653)
10441 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10443 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10444 Fix 'make check' too.
10446 2007-01-10 Andy Wingo <wingo@pobox.com>
10448 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10451 * docs/design/part-negotiation.txt: Update with, um, one way that
10452 pull-mode negotiation might work?
10455 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10456 that the pad must be a src pad; makes sense to call it the other
10457 way in pull mode, and the logic is symmetric anyway.
10459 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10461 * plugins/elements/gstfilesink.c:
10462 Include <stdio.h> for fseeko().
10464 2007-01-10 Wim Taymans <wim@fluendo.com>
10468 Reserve LATENCY event.
10470 2007-01-09 Wim Taymans <wim@fluendo.com>
10472 * docs/design/draft-latency.txt:
10475 2007-01-09 Wim Taymans <wim@fluendo.com>
10477 * docs/design/draft-latency.txt:
10480 * gst/gstelement.h:
10481 * gst/gststructure.c:
10485 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10487 * tests/check/.cvsignore:
10488 Ignore test-registry.xml as well.
10490 2007-01-09 Wim Taymans <wim@fluendo.com>
10492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10493 unref data at the end when we are done with the pad.
10495 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10497 * docs/gst/gstreamer-sections.txt:
10498 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10499 (init_post), (gst_deinit), (gst_update_registry):
10501 API: add gst_update_registry() (#391296).
10503 * tests/check/Makefile.am:
10504 * tests/check/gst/gstregistry.c:
10505 * tests/check/gst/.cvsignore:
10506 Simple unit test for the above.
10508 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10510 * gst/gstregistry.c: (gst_registry_scan_path_level):
10511 Plugin extension on HP-UX is .sl, add that to the list of approved
10512 plugin extensions (see #393796).
10514 * tests/check/gst/gstpad.c: (GST_START_TEST):
10515 ulong => gulong. Fixes compilation with HP-UX compiler.
10517 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10518 Fix compilation if valgrind headers are not available.
10520 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10522 * win32/common/libgstreamer.def:
10523 Add new exported function.
10524 * win32/vs6/libgstbase.dsp:
10525 Add gstdataqueue.c to the build.
10526 * win32/vs6/libgstcoreelements.dsp:
10527 Add gstmultiqueue.c to the build.
10529 2007-01-06 Andy Wingo <wingo@pobox.com>
10531 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10532 activate_pull(), providing for a way to specialize the process of
10533 spawning a thread to pull on the sink pad. There is a default
10536 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10537 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10538 (gst_base_sink_init): Renamed pad activation functions (inserting
10539 "_pad" in their names). Refactor to use the new activate_pull
10540 vmethod, as appropriate.
10541 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10542 default activate_pull function to start a task pulling from the
10543 sink pad, as before.
10545 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10546 on the pads if necessary, as in push()/chain(). Update docs.
10547 Shouldn't affect existing pull() usage as it is currently only
10548 being used on buffers without caps.
10550 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10552 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10554 Call g_thread_init() first thing in gst_init() / gst_check_init().
10555 When initialisation is done via gst_init_get_option_group() and
10556 GOption parsing, issue a warning if the GLib thread system has not
10557 been initialised yet by the time gst_init_get_option_group() is
10558 called, as it's quite likely other GLib functions such as
10559 g_option_context_new() have been called already then, and
10560 g_thread_init() must be called before any other GLib function. The
10561 application in question must be fixed in that case, since memory
10562 corruption might happen otherwise.
10563 We issue the warning because even if the GLib folks decide to work
10564 around the problem on their end in future, this is still an issue
10565 with all GLib versions >= 2.10.0, so we should warn until we depend
10566 on a GLib version we know to be safe.
10567 Update documentation as well.
10568 Closes bug #391278.
10570 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10572 * tools/gst-inspect.c: (main):
10573 * tools/gst-launch.c: (main):
10574 * tools/gst-typefind.c: (main):
10575 * tools/gst-xmlinspect.c: (main):
10576 Call g_thread_init() really really early, before any other GLib
10577 function (see #342564 and recent discussion on gtk-devel-list).
10579 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10581 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10583 * gst/gst_private.h:
10584 * gst/gstconfig.h.in:
10586 On win32, all the __declspec stuff for symbol exporting is
10587 apparently only needed with MSVC, but doesn't work with MingW.
10588 Fixes compilation with MingW and #391909.
10590 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10592 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10593 Change some GST_ERROR_OBJECT that aren't really errors to
10594 GST_WARNING_OBJECT in order to reduce terminal spam.
10596 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10598 * tests/check/Makefile.am:
10599 disable test again, as there seem to be still race problems
10601 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10603 * tests/check/Makefile.am:
10604 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10605 (GST_START_TEST), (queue_suite):
10606 enable queue test again, add tests for the leaky behaviour
10608 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10611 * tests/examples/Makefile.am:
10612 Compile adapter test/example only if the required headers are
10613 available (fixes #391915).
10615 2007-01-01 David Schleef <ds@schleef.org>
10618 Restore the previous signal handler for SIGSEGV instead of
10619 setting to default, since we may have stolen it away from
10620 someone. (i.e., Mono)
10622 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10624 * docs/random/draft-missing-plugins.txt:
10625 Some small additions and clarifications.
10627 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10629 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10630 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10631 since that can lead to random memory corruptions and crashes
10632 (may or may not be related to #383244, #386711, and #386711).
10634 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10636 * tests/check/.cvsignore:
10637 * tests/check/Makefile.am:
10638 sync .cvsignome and CLEANFILES
10640 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10642 * tests/check/Makefile.am:
10645 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10647 * docs/design/part-states.txt:
10648 two tiny additional comments
10650 * gst/gststructure.c:
10653 * tests/check/Makefile.am:
10654 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10656 disable test for now, unless it gets fixed
10658 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10660 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10662 fix race in underrun test
10664 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10666 * tests/check/elements/.cvsignore:
10669 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10671 try to narrow test failure
10673 2006-12-21 David Schleef <ds@schleef.org>
10675 * plugins/elements/gstfakesrc.c:
10676 Use g_random_int_range(), since it produces better random
10677 numbers in a range than almost-correct floating point code.
10679 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10681 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10682 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10683 (gst_check_teardown_sink_pad):
10684 do not automatically (de)activate pads
10686 * tests/check/Makefile.am:
10687 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10688 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10689 add new, yet simple tests for queue
10691 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10692 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10693 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10695 * tests/check/elements/identity.c: (cleanup_identity):
10696 consistent pad (de)activation
10698 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10700 Patch by: Sebastian Dröge <slomo ubuntu com>
10702 * libs/gst/base/gstcollectpads.c:
10703 Fix two doc typos (#387866).
10705 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10707 * docs/manual/advanced-dparams.xml:
10708 Fix typo (g_object_control_properties() doesn't exist).
10710 2006-12-19 Edward Hervey <edward@fluendo.com>
10712 * gst/gstsegment.c: (gst_segment_set_seek):
10713 Fine tune the cases where the segment start/stop values are really
10715 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10716 Add tests for the return values of gst_segment_set_seek().
10718 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10723 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10725 Fix incorrect documentation and flesh it out a bit more.
10726 Set default values for the max properties on the GParamSpec as well,
10727 so it shows up correctly in gst-inspect.
10729 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10731 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10732 Correct docs of queue, add more detail and crosslink it more.
10734 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10736 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10737 Print additional debug info when the stream isn't perfectly
10738 timestamped; don't try to use invalid durations.
10740 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10742 * docs/design/Makefile.am:
10743 Dist new design docs.
10745 2006-12-16 Wim Taymans <wim@fluendo.com>
10747 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10749 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10750 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10751 (gst_collect_pads_stop), (gst_collect_pads_event),
10752 (gst_collect_pads_chain):
10753 * libs/gst/base/gstcollectpads.h:
10754 Add refcounting to the collectpads data so we can track when it's safe
10755 to free the data. Fixes #383382.
10757 2006-12-15 Wim Taymans <wim@fluendo.com>
10759 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10760 (gst_collect_pads_remove_pad):
10761 Automatically activate/deactivate pads when they are added to a
10762 started/stoped collectpads.
10764 2006-12-15 Wim Taymans <wim@fluendo.com>
10766 * gst/gstelement.c: (gst_element_add_pad):
10767 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10768 * gst/gstpad.c: (gst_pad_init):
10769 Set pads to FLUSHING when they are created. Check, warn and fix when a
10770 demuxer adds an inactive pad to itself when running. Fixes #339326.
10772 2006-12-15 Wim Taymans <wim@fluendo.com>
10774 * gst/gstelement.c: (gst_element_class_init),
10775 (gst_element_default_send_event), (gst_element_send_event),
10776 (gst_element_default_query), (gst_element_query):
10777 Expose default element send_event and query handling as vmethods that
10778 subclasses can chain up to.
10780 2006-12-15 Wim Taymans <wim@fluendo.com>
10782 * gst/gstelement.c: (gst_element_set_state_func):
10783 Small documentation fixes.
10785 2006-12-15 Wim Taymans <wim@fluendo.com>
10787 * docs/design/draft-latency.txt:
10788 Checked in draft for handling latency in pipelines.
10790 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10794 * gstreamer.spec.in:
10797 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10799 * gst/gst.c: (init_pre), (init_post):
10800 init_pre() and init_post() might be called via our GOptionGroup or
10801 from gst_init(), and we should skip both of them if we've already
10802 been initialised, otherwise we will init some things twice or add
10803 two default log functions.
10805 2006-12-13 Edward Hervey <edward@fluendo.com>
10807 * docs/manual/basics-bus.xml:
10808 No, gst_main_loop does not exist. Its g_main_loop.
10809 Discovered by somebody who abused the copy-paste technique of coding :)
10811 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10813 * gst/gstghostpad.c:
10814 Log ghostpad debug stuff to the GST_PADS category as well rather
10815 than just to the default category.
10817 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10820 * gst/gst.c: (init_pre):
10821 Add some basic system details such as OS and architecture
10822 to the debug output if possible, courtesy of uname().
10824 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10826 * docs/gst/running.xml:
10827 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10828 environment variables.
10830 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10832 * tests/check/gst/gstbin.c: (GST_START_TEST):
10833 It is acceptable to have a refcount of 2 or 3 at this point in the
10834 test, because the pipeline might be just posting its state_change
10835 message. The next line then waits for that message to appear using
10836 bus_poll, so that should be fine too.
10838 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10840 * gst/gst.c: (ensure_current_registry_forking):
10841 Ignore EINTR when reading from the child registry pipe.
10842 Explicitly ignore the return value from close, since it makes no
10845 * gst/gstminiobject.c: (gst_mini_object_ref),
10846 (gst_mini_object_unref):
10847 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10849 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10850 When removing cached plugins, remove their features too, so they're
10851 not visible after they've disappeared.
10853 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10854 In the unlikely case that we are linking pads with no parents, don't
10855 crash trying to get the non-existent parent bin.
10857 * gst/parse/grammar.y:
10858 Output debug in the PIPELINE category
10860 2005-03-08 Wim Taymans <wim@fluendo.com>
10862 Patch by: René Stadler <mail at renestadler dot de>
10864 * gst/gstclock.c: (gst_clock_new_periodic_id):
10865 Reject invalid clock times for interval of periodic ids.
10868 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10870 * gst/gstelementfactory.c: (gst_element_factory_create):
10871 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10872 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10873 * tools/gst-inspect.c: (print_element_info):
10874 Fix refcounting of gst_plugin_feature_load to match the docs.
10877 2006-12-07 Wim Taymans <wim@fluendo.com>
10879 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10880 (gst_base_sink_get_position):
10881 Improve debugging of events.
10883 2006-12-07 Wim Taymans <wim@fluendo.com>
10885 Patch by: René Stadler <mail at renestadler dot de>
10887 * gst/gstclock.c: (gst_clock_id_wait):
10888 Make period ids add the interval to the origial requested time instead
10889 of the possibly updated time which can be wrong when there are multiple
10890 waiters for the same id. Fixes #382592.
10892 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10893 (gst_system_clock_id_wait_jitter_unlocked),
10894 (gst_system_clock_id_wait_jitter):
10895 Fix restart in the async notify thread when an async entry is added to
10896 the front of the list. Fixes #381492.
10898 * tests/check/gst/gstsystemclock.c: (store_callback),
10899 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10900 Added test for multiple async waits.
10901 Added test for async wait order.
10903 2006-12-07 Wim Taymans <wim@fluendo.com>
10905 * gst/gstbin.c: (gst_bin_query):
10906 Add some more docs about the POSITION query.
10908 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10911 Bump version nano - back to CVS.
10913 === release 0.10.11 ===
10915 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10918 releasing 0.10.11, "Love never runs on time"
10920 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10922 * win32/common/libgstbase.def:
10923 * win32/common/libgstreamer.def:
10924 * win32/vs8/libgstbase.vcproj:
10925 * win32/vs8/libgstcoreelements.vcproj:
10926 * win32/vs8/libgstreamer.vcproj:
10927 Fix compilation on win32 under VS8
10928 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10929 Partially fixes #381175
10931 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10933 * gst/gstvalue.c: (gst_value_compare_fraction):
10934 If someone is foolish enough to compare 2 fractions with denominator =
10935 0, return UNORDERED rather than aborting.
10937 2006-11-28 Edward Hervey <edward@fluendo.com>
10939 * libs/gst/base/Makefile.am:
10940 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10941 (gst_data_queue_base_init), (gst_data_queue_class_init),
10942 (gst_data_queue_init), (gst_data_queue_new),
10943 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10944 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10945 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10946 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10947 (gst_data_queue_set_flushing), (gst_data_queue_push),
10948 (gst_data_queue_pop), (gst_data_queue_drop_head),
10949 (gst_data_queue_set_property), (gst_data_queue_get_property):
10950 * libs/gst/base/gstdataqueue.h:
10951 New GstDataQueue object for threadsafe queueing. Most useful for
10952 elements that need some queueing functionnality.
10953 * docs/libs/gstreamer-libs-docs.sgml:
10954 * docs/libs/gstreamer-libs-sections.txt:
10955 Insert documentation for GstDataQueue
10956 * plugins/elements/Makefile.am:
10957 * plugins/elements/gstelements.c:
10958 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10959 (gst_multi_queue_class_init), (gst_multi_queue_init),
10960 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10961 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10962 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10963 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10964 (gst_multi_queue_loop), (gst_multi_queue_chain),
10965 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10966 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10967 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10968 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10969 (wake_up_next_non_linked), (compute_next_non_linked),
10970 (single_queue_overrun_cb), (single_queue_underrun_cb),
10971 (single_queue_check_full), (gst_single_queue_new):
10972 * plugins/elements/gstmultiqueue.h:
10973 New multiqueue element, using GstDataQueue. Used for queuing multiple
10975 Closes #344639 and #347785
10977 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10979 * docs/pwg/advanced-types.xml:
10980 add more missing type details
10982 * tools/gst-run.c: (main):
10983 remove unused variable
10985 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10987 * docs/libs/Makefile.am:
10988 * docs/libs/gstreamer-libs.types:
10989 add types of base classes to enable gobject specific stuff in the docs
10991 * docs/random/ensonic/embedded.txt:
10992 more ideas about isolating platform specific things
10994 2006-11-20 Wim Taymans <wim@fluendo.com>
10996 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10998 * libs/gst/check/gstcheck.h:
10999 Fix compilation and running against 0.9.4. Fixes #377332.
11001 2006-11-20 Wim Taymans <wim@fluendo.com>
11003 * gst/gstsegment.c: (gst_segment_set_seek),
11004 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11005 (gst_segment_to_running_time):
11006 Fix boundary checking in to_running_time() and to_stream_time().
11009 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11010 stream and running time can now be calculated for the complete
11013 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11015 * gst/gstpad.c: (gst_pad_push_event):
11016 Can't access event structure after giving away ownership of
11019 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11021 * docs/random/ensonic/embedded.txt:
11022 * docs/random/ensonic/profiling.txt:
11023 * docs/random/ensonic/receipies.txt:
11026 2006-11-13 Wim Taymans <wim@fluendo.com>
11028 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11031 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11033 2006-11-13 Wim Taymans <wim@fluendo.com>
11035 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11037 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11038 Store new length in segment duration so we don't keep on calling the
11039 potentially expensize get_size() call. Fixes #370865.
11041 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11043 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11045 * win32/common/libgstreamer.def:
11046 Add two missing symbols (#366492).
11048 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11050 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11051 (gst_adapter_take_buffer):
11052 Fix format string to use all its arguments.
11053 Remove useless >= check on a guint
11055 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11057 * tests/examples/adapter/.cvsignore:
11058 Ignore build file as commanded by the build-bot
11060 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11062 * tests/examples/adapter/Makefile.am:
11063 * tests/examples/adapter/adapter_test.c: (run_test_take),
11064 (run_test_take_buffer), (run_tests), (main):
11066 Add new files from the previous commit
11068 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11072 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11073 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11074 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11075 * libs/gst/base/gstadapter.h:
11076 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11077 (GST_START_TEST), (gst_adapter_suite):
11078 * tests/examples/Makefile.am:
11079 Do some optimisation work in GstAdapter to avoid copies in more cases.
11080 It could still do slightly better by merging buffers when
11081 gst_buffer_is_span_fast is true, but is already faster.
11083 Also, avoid traversing a single-linked list to append each incoming
11084 buffer inside the adapter.
11086 Add simple test app that times the adapter behaviour in different
11087 situations, and extend the unit test to check that bytes enter and
11088 exit the adapter in their original order.
11090 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11092 * docs/random/draft-missing-plugins.txt:
11093 Update: use element message instead of adding a new message
11094 type to the core; don't provide GStreamer API to initiate the
11095 plugin download, just provide API to compose the strings needed
11096 and let an external libgimmestuff handle the rest.
11098 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11100 * tools/gst-inspect.c: (print_element_properties_info):
11101 Print a string instead of 'unknown type' for GValueArray properties
11103 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11105 * docs/random/draft-missing-plugins.txt:
11108 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11110 * tests/examples/typefind/typefind.c: (type_found), (main):
11111 Make typefind element example work again (#371894); add a
11114 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11116 * docs/random/draft-missing-plugins.txt:
11117 Commit initial draft about how to deal with missing plugins,
11118 needs work (API too).
11120 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11122 * docs/pwg/advanced-types.xml:
11123 documents the new caps elements (see #363118)
11125 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11127 * gst/gstplugin.c: (gst_plugin_load_file):
11128 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11129 (gst_file_src_map_region), (gst_file_src_start):
11130 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11131 (gst_file_index_commit):
11132 Use g_strerror() instead of strerror() - we want UTF-8.
11134 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11136 Patch by: Peter Kjellerstedt <pkj at axis com>
11138 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11139 Another printf fix (#371493).
11141 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11143 * tests/check/gst/gsttag.c:
11144 relicence (okay with author=company)
11146 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11148 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11149 (gst_pad_push_event):
11150 Enhance debug and improve docs
11155 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11157 * docs/random/ensonic/distributed.txt:
11158 * docs/random/ensonic/profiling.txt:
11161 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11163 * docs/gst/gstreamer-sections.txt:
11164 add new API and fix the build
11166 * gst/gstbin.c: (gst_bin_recalc_state):
11167 * gst/gstelement.c: (gst_element_message_full),
11168 (gst_element_get_state_func), (gst_element_set_state_func):
11169 use new API and improve logging
11171 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11173 API: add function to get StateChangereturn names to improve logs
11175 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11177 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11178 I'm considering shooting the next person to put strerror stuff
11179 in the translateable part of the message.
11181 2006-11-03 Wim Taymans <wim@fluendo.com>
11183 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11184 Get the type and printf conversion specifiers right.
11186 2006-11-03 Wim Taymans <wim@fluendo.com>
11188 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11190 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11191 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11192 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11193 Some small cleanups. Improve debugging.
11195 Signal all waiting threads with a broadcast instead of just one.
11198 2006-11-03 Wim Taymans <wim@fluendo.com>
11200 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11201 (gst_fd_src_create):
11202 Add some debugging.
11203 Only update fd when it's different from the old.
11205 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11207 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11208 Printf fixes for PPC/OSX, take two (#369366).
11210 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11212 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11214 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11215 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11216 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11217 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11218 don't cast to long long for portability reasons, but use
11219 GLib's types instead.
11221 2006-10-30 Michael Smith <msmith@fluendo.com>
11223 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11224 Get the arguments to lseek() the right way around.
11227 2006-10-30 Wim Taymans <wim@fluendo.com>
11229 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11232 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11234 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11236 Patch by: Kjartan Maraas <kmaraas at gnome org>
11238 * docs/design/part-MT-refcounting.txt:
11239 * docs/random/wtay/capsnego2-docs:
11242 Typo fixes (#366212).
11244 2006-10-28 Wim Taymans <wim@fluendo.com>
11246 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11249 * win32/common/libgstbase.def:
11250 * win32/common/libgstreamer.def:
11251 * win32/vs8/libgstbase.vcproj:
11252 * win32/vs8/libgstcontroller.vcproj:
11253 Add needed entries in .def files.
11255 Rearrange def files in vs8 solutions. Fixes #366286.
11257 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11259 * win32/common/gstconfig.h:
11260 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11261 hand-made win32 gstconfig.h. Fixes #366321.
11263 2006-10-27 Wim Taymans <wim@fluendo.com>
11265 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11266 (gst_ghost_pad_new_full):
11267 Make acceptcaps return TRUE when we don't have a target, just like
11270 2006-10-27 Wim Taymans <wim@fluendo.com>
11272 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11273 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11275 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11277 * gst/gststructure.c: (gst_structure_id_set_value):
11278 If someone tries to set a non-UTF8 string field on a structure,
11279 don't just print a warning, but also ignore the request and do
11280 not change/add that field to the structure.
11282 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11283 Test for the above.
11285 2006-10-25 David Schleef <ds@schleef.org>
11288 g_hash_table_insert() needs a cast to a non-const pointer duh.
11290 2006-10-25 David Schleef <ds@schleef.org>
11294 Change name parameter of _gst_debug_register_funcptr to const
11295 to reflect the constness of its use in the function as well
11296 as to quiet a gcc warning.
11298 2006-10-25 Edward Hervey <edward@fluendo.com>
11300 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11301 Don't push the buffer if it's empty.
11304 2006-10-24 Wim Taymans <wim@fluendo.com>
11309 * libs/gst/base/gstbasetransform.c:
11310 (gst_base_transform_sink_eventfunc):
11311 Debug segment values *after* updating them as this is more
11314 2006-10-23 Wim Taymans <wim@fluendo.com>
11316 * docs/design/part-events.txt:
11319 * docs/design/part-block.txt:
11320 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11321 (gst_pad_push_event):
11322 Revert BLOCKING patch, it tries to be smart without really having a
11323 clear idea what or how. So, now we discard all FLUSHING events again on
11324 a blocking pad. Should fix gnonlin again.
11326 2006-10-23 Wim Taymans <wim@fluendo.com>
11328 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11330 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11331 (gst_base_src_start), (gst_base_src_activate_push):
11332 Make sure size is always initialized. Fixes #364388.
11334 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11336 * docs/random/ensonic/distributed.txt:
11337 add some ideas about doing distributed processing
11339 * docs/random/ensonic/profiling.txt:
11340 get_rusage look promising
11342 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11344 * docs/manual/basics-helloworld.xml:
11345 Add a cast in example to fix compile warning
11347 2006-10-18 Wim Taymans <wim@fluendo.com>
11349 * gst/gstsegment.c: (gst_segment_set_last_stop),
11350 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11351 Relax arg checking again, -1 is allowed.
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 _set_last_stop() must be with a value != -1
11358 A _TYPE_SET to -1 means seek to 0.
11359 Calc last_stop correctly for negative rates.
11360 Make sure we work with positive durations when updating a segment.
11362 2006-10-18 Wim Taymans <wim@fluendo.com>
11364 * docs/design/part-live-source.txt:
11368 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11371 Add an explicit cast to GstBuffer** to keep old code that added an
11372 explicit cast to GstMiniObject** for gst_mini_object_replace()
11373 compiling without warning.
11375 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11377 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11378 check for validity of dates
11380 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11382 * docs/gst/gstreamer-sections.txt:
11383 Forgot this one, makes gtk-doc shut up.
11385 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11387 Patch by: Peter Kjellerstedt <pkj at axis com>
11390 Don't define xmlNodePtr to gpointer if the core was built with
11391 --disable-loadsave and --disable-registry, this will break
11392 applications that want to use libxml2 but are buildling against a
11393 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11394 instead so we don't have to mess with the libxml2 namespace
11397 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11400 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11401 type-punned pointer warnings.
11403 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11405 * gst/gstelement.h:
11406 Add casts to the correct return type to state <=> state transition
11409 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11411 * docs/design/part-live-source.txt:
11412 describe howto handle latency
11414 * docs/random/ensonic/profiling.txt:
11417 * tools/gst-plot-timeline.py:
11418 fix log parsing for solaris, remove unused function
11420 2006-10-16 Wim Taymans <wim@fluendo.com>
11422 * docs/design/part-trickmodes.txt:
11424 Update some docs regarding reverse playback.
11426 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11428 Patch by: Marcus Granado <mrc dot gran at gmail com>
11430 * win32/vs8/grammar.vcproj:
11431 Error out with a warning if glib-genmarshal.exe is not in path,
11432 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11434 2006-10-13 Wim Taymans <wim@fluendo.com>
11436 * gst/gstsegment.c: (gst_segment_set_seek):
11437 When seeking to stop -1, set last_stop (current position) to the
11438 duration of the segment.
11440 2006-10-13 Wim Taymans <wim@fluendo.com>
11442 * gst/gstelement.h:
11443 Clarify _NO_PREROLL a bit more.
11448 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11449 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11450 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11451 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11452 due to wrong locking order. Fixes #361769.
11453 Remove some redundant/misplaced checks in pad_block.
11455 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11456 For negative rates, count backwards from the duration.
11458 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11460 * gst/gsterror.c: (_gst_library_errors_init):
11461 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11462 up with something better).
11464 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11466 * win32/vs6/libgstreamer.dsp:
11467 * win32/vs7/libgstreamer.vcproj:
11468 * win32/vs8/libgstreamer.vcproj:
11469 Don't reference glib-compat.c which is currently not used and not
11470 disted; add gstquark.c which was recently added. Fixes #361730.
11472 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11474 * win32/common/libgstbase.def:
11475 * win32/common/libgstcontroller.def:
11476 * win32/common/libgstreamer.def:
11477 Add gst_caps_merge() and a bunch of other recently-added functions.
11480 2006-10-11 Wim Taymans <wim@fluendo.com>
11482 * docs/plugins/gstreamer-plugins.args:
11483 * docs/plugins/inspect/plugin-coreelements.xml:
11484 * docs/plugins/inspect/plugin-coreindexers.xml:
11485 Update element args.
11487 * gst/gstsystemclock.c:
11488 Small comment update.
11490 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11491 (gst_tee_request_new_pad), (gst_tee_release_pad),
11492 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11493 (gst_tee_sink_activate_pull):
11494 * plugins/elements/gsttee.h:
11496 Add default property defines.
11497 Implement release pad function.
11498 Give properties better blubs etc.
11499 Activate pads before adding them to a running tee.
11500 Do simple buffer_alloc on the first requested pad.
11501 Post error when activation fails.
11503 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11505 * gst/gst.c: (ensure_current_registry_forking):
11506 Check return value of write() to make compiler happy.
11508 2006-10-11 Wim Taymans <wim@fluendo.com>
11510 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11512 * plugins/elements/gstqueue.c: (gst_queue_chain):
11513 Recheck queue filledness after signalling the overrun when we're about
11514 to leak downstream because we released the lock when emitting the signal
11515 and the queue could be empty again. Fixes #352345.
11517 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11519 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11520 Fix refcounting here too, just like we did for _new_valist() a few
11521 days ago (#357180) (thanks to René Stadler). Also remove all those
11522 'Since: 0.9' from the gtk-doc blobs.
11524 * tests/check/libs/controller.c: (controller_refcount_new_list),
11525 (gst_controller_suite):
11526 Unit test for the above.
11528 2006-10-10 Wim Taymans <wim@fluendo.com>
11530 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11532 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11533 (gst_pad_save_thyself):
11535 Write pad direction in XML output. Fixes #345496.
11537 2006-10-10 Wim Taymans <wim@fluendo.com>
11539 Patch by: René Stadler <mail at renestadler dot de>
11541 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11542 (gst_controller_new_list), (_gst_controller_dispose),
11543 (_gst_controller_finalize), (_gst_controller_class_init):
11544 Take ref to controlled object so that it cannot disappear.
11547 2006-10-10 Wim Taymans <wim@fluendo.com>
11549 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11550 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11551 (gst_check_teardown_sink_pad):
11552 Activate/deactivate pads in setup/teardown respectively.
11554 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11556 Patch by: Josep Torra Valles <josep@fluendo.com>
11559 Cast values when making gstenumtypes.h. This pacifies Forte
11560 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11561 in the enumeration.
11563 2006-10-09 Wim Taymans <wim@fluendo.com>
11565 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11566 Rename some more @cur to @start to fix docs.
11568 * gst/gstsegment.c: (gst_segment_set_seek):
11570 time and start must always stay in sync as defined in design doc.
11572 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11573 Rename param to fix docs.
11575 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11576 Check that start and time are in sync.
11578 * tests/check/pipelines/parse-launch.c:
11579 (gst_parse_test_element_change_state):
11580 Activate pad before adding to the element.
11582 2006-10-09 Wim Taymans <wim@fluendo.com>
11584 * docs/design/part-qos.txt:
11589 Update seek event docs regarding negative rates.
11590 Rename @cur to @start.
11592 * gst/gstsegment.c: (gst_segment_set_seek):
11593 * gst/gstsegment.h:
11594 Update set_seek docs regarding negative rates.
11595 Correctly update last_stop to @stop when dealing with negative
11597 Rename @cur to @start.
11599 * tests/check/gst/gstpad.c: (GST_START_TEST):
11600 Activate pads before trying to use them.
11602 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11603 (gst_segment_suite):
11604 Add simple check for segments and negative rates.
11606 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11608 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11609 * gst/gsttaglist.h:
11610 * docs/gst/gstreamer-sections.txt:
11611 API: add gst_tag_list_is_empty() (#360467).
11613 * tests/check/gst/gsttag.c: (GST_START_TEST):
11616 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11618 * gst/gstmessage.h:
11619 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11620 a value that doesn't fit on enumeration.
11622 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11624 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11625 Remove local debugging system and use Gstreamer's instead.
11627 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11629 Patch by: Josep Torra Valles <josep@fluendo.com>
11631 * common/m4/gst-error.m4:
11632 Disable warning of statement not reached on Forte.
11633 * gst/gstmessage.h:
11634 Fix warning on Forte (value doesn't fit on enumeration).
11635 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11636 Fix warning on Forte (value doesn't fit on enumeration).
11637 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11638 DEBUG macro says it takes minimum of 2 args and so Forte
11639 complains about the use with just 1 arg.
11640 * plugins/elements/gstfdsink.c:
11641 * plugins/elements/gstfdsrc.c:
11642 * plugins/elements/gstfilesink.c:
11643 * plugins/elements/gstfilesrc.c:
11644 Use correct return type for the uri handler implementations.
11646 All these fix warnings in Forte. Fixes bug #360860.
11648 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11650 * gst/gstelement.h:
11651 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11652 format string, so don't use G_GNUC_PRINTF for those versions.
11654 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11656 * gst/gsttaglist.c: (gst_is_tag_list):
11657 * gst/gsttaglist.h:
11658 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11660 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11661 Small test for the above.
11663 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11665 * gst/gsttaglist.h:
11666 Less tabs, more spaces.
11668 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11671 Those two function declarations do actually belong there, revert
11672 commit from yesterday that turned them intro macros.
11674 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11676 Patch by: Josep Torra Valles <josep@fluendo.com>
11678 * gst/gst.c: (gst_init_get_option_group):
11679 Fix empty declaration and type mismatch.
11680 * gst/gstbin.c: (gst_bin_change_state_func):
11682 * gst/gstelement.c: (gst_element_continue_state),
11683 (gst_element_set_state_func), (gst_element_change_state),
11684 (gst_element_change_state_func):
11685 Fix type mismatches.
11686 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11687 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11688 Cast as appropriate.
11689 * gst/gstobject.c: (gst_class_signal_connect):
11690 Cast as appropriate. The function pointer parameter really
11691 has the wrong type but would break API if we change it.
11693 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11694 order of including string.h.
11695 * gst/gstutils.c: (gst_element_state_get_name):
11696 Remove unreachable line.
11697 * gst/gstxml.c: (gst_xml_parse_doc):
11699 All these caught by Forte.
11701 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11703 Patch by: Josep Torra Valles <josep@fluendo.com>
11705 * common/m4/gst-error.m4:
11707 We need to disable warnings on Forte for empty declarations
11708 due to gst-indent adding ;s to lines that just use macros
11709 where the macro actually doesn't need a ; at end to end
11712 2006-10-06 Wim Taymans <wim@fluendo.com>
11714 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11715 (gst_file_sink_close_file), (gst_file_sink_event),
11716 (gst_file_sink_render):
11717 Add some FIXME for the NEWSEGMENT handling.
11719 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11721 * gst/parse/grammar.y:
11722 Remove static function gst_parse_element_lock as all it does
11723 is return. Looks like cruft from 0.8.
11725 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11727 Patch by: Josep Torra Valles <josep@fluendo.com>
11729 * common/m4/gst-error.m4:
11731 * libs/gst/net/Makefile.am:
11732 Fix a compilation issue with Forte on Solaris. inet_aton is in
11735 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11737 * gst/gstpad.c: (pre_activate):
11738 * gst/gstregistry.c: (gst_registry_scan_path_level):
11739 * gst/gstregistryxml.c: (load_plugin):
11740 * libs/gst/controller/gstcontroller.c:
11741 (gst_controlled_property_set_interpolation_mode):
11742 * libs/gst/dataprotocol/dataprotocol.c:
11743 (gst_dp_packet_from_event_1_0):
11744 * libs/gst/net/gstnetclientclock.c:
11745 (gst_net_client_clock_observe_times):
11746 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11749 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11752 * docs/gst/gstreamer-sections.txt:
11753 * gst/gstconfig.h.in:
11754 * gst/gstelement.h:
11756 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11757 whether we can use G_GNUC_PRINTF in other header files and at
11758 least check the printf format/arguments of debug messages and
11759 GST_ELEMENT_ERROR messages when the printf extension is not
11761 Replace more tabs with spaces in gstinfo.h and remove two spurious
11762 function declarations in GST_DISABLE_DEBUG part with macros.
11764 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11766 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11767 More docs for the sync-message signal (mention that it is not
11768 emitted by default); log message structures of messages posted on
11771 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11773 * gst/gst.c: (ensure_current_registry_forking):
11774 Use a pipe pair to receive status results from the forked child, and
11775 ignore the result from waitpid. Fixes #355499
11777 2006-10-02 Wim Taymans <wim@fluendo.com>
11779 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11780 (gst_ghost_pad_suite):
11783 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11786 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11788 2006-10-02 Edward Hervey <edward@fluendo.com>
11790 * docs/design/part-block.txt:
11791 Further explain the use of flushing on blocked pads.
11792 * docs/gst/gstreamer-sections.txt:
11793 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11794 (gst_pad_push_event):
11796 Added new GstPadFlag : GST_PAD_BLOCKING.
11797 Adds the notion of pads really blocking, which enables to properly
11798 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11800 API: gst_pad_is_blocking()
11801 API: GST_PAD_IS_BLOCKING() macro
11802 API: GST_PAD_BLOCKING GstPadFlag
11804 2006-10-02 Wim Taymans <wim@fluendo.com>
11806 Patch by: mrcgran <mrc.gran at gmail dot com>
11808 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11809 Filter the proxied caps against the padtemplate if we have one.
11811 * gst/gstquery.c: (gst_query_new_segment):
11812 Add include for gstinfo.h so that compilation with
11813 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11815 2006-10-02 Wim Taymans <wim@fluendo.com>
11817 Patch by: Alessandro Decina <alessandro at nnva org>
11819 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11820 (gst_file_sink_set_location), (gst_file_sink_open_file),
11821 (gst_file_sink_close_file), (gst_file_sink_event),
11822 (gst_file_sink_render):
11823 Set file to NULL when closing filesink so that we can set a new filename
11824 in READY. Fixes #358613.
11826 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11828 Patch by: Alessandro Decina <alessandro at nnva org>
11830 * gst/gstevent.c: (_gst_event_copy):
11831 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11832 with event structures by setting the parent refcount address of the
11833 copied structure to the address of the refcount member of the newly
11834 copied event rather than the address of the refcount member of the
11835 original event. Fixes #358737.
11837 * tests/check/gst/gstevent.c: (GST_START_TEST):
11838 Unit test for the above.
11840 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11842 * docs/design/Makefile.am:
11843 Dist some more files.
11845 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11847 * tests/check/libs/controller.c: (GST_START_TEST),
11848 (gst_controller_suite):
11849 Add test for the previous fix; add some more tests
11850 for correct refcounting behaviour; fix a few leaks
11851 in test cases; call gst_controller_init() at start
11854 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11856 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11857 (gst_controller_set_from_list):
11858 Don't g_return_val_if_fail() on timed values with invalid timestamps
11859 inside a critical section without unlocking the mutex. Spotted by
11860 René Stadler. (#357617)
11861 Also, fix up refcounting properly: when returning an existing
11862 controller, we should increase the reference only once and not
11863 once per property and when trying to control a property again
11864 we should also increase the refcount.
11866 2006-09-29 Wim Taymans <wim@fluendo.com>
11868 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11869 * libs/gst/net/gstnettimeprovider.c:
11870 (gst_net_time_provider_thread):
11871 Stop reading commands when EOF as well.
11873 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11874 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11875 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11876 Unify description of the dump property.
11878 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11880 * tests/examples/manual/.cvsignore:
11881 OK, so it's actually cvsignore that needs changing. Stop laughing.
11883 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11885 * tests/examples/manual/Makefile.am:
11886 Gah, declare vars *before* using them
11888 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11890 * gst/gst.c: (init_pre), (scan_and_update_registry),
11891 (ensure_current_registry_nonforking),
11892 (ensure_current_registry_forking), (ensure_current_registry),
11893 (init_post), (gst_debug_help), (gst_deinit):
11894 * gst/gst_private.h:
11895 * gst/gstregistry.c: (gst_registry_finalize),
11896 (gst_registry_remove_features_for_plugin_unlocked),
11897 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11898 (gst_registry_scan_path),
11899 (_priv_gst_registry_remove_cache_plugins),
11900 (_priv_gst_registry_cleanup):
11901 * gst/gstregistry.h:
11902 Re-commit the registry changes, along with an extra fix:
11903 When a cached plugin is encountered at a different file path,
11904 update the stored path in the registry cache so that the parent
11905 process knows where it actually is now when it re-reads the registry
11906 cache. Fixes the thing that broke distcheck with the previous commit.
11908 * tests/check/Makefile.am:
11909 Clean up files named 'core' too when running make clean.
11911 * tests/examples/manual/Makefile.am:
11912 Set up a registry path for running these tests, and clean it properly
11915 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11918 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11919 want gmodule-no-export-2.0.pc instead so that we don't drag in
11920 --export-dynamic on every project that links to GStreamer.
11922 Also, make our export regex only match the start of symbols, rather
11923 than any symbol that contains '_gst' somewhere.
11925 * libs/gst/check/Makefile.am:
11926 The libgstcheck we build does however need export-dynamic, as it
11927 produces some symbols that don't match our _gst... style regex.
11930 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11932 * gst/gst.c: (init_pre), (scan_and_update_registry),
11933 (ensure_current_registry_nonforking),
11934 (ensure_current_registry_forking), (ensure_current_registry),
11935 (init_post), (gst_debug_help), (gst_deinit):
11936 * gst/gst_private.h:
11937 * gst/gstregistry.c: (gst_registry_finalize),
11938 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11939 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11940 (_gst_registry_cleanup):
11941 * gst/gstregistry.h:
11942 Revert previous change until I figure out why it breaks distcheck.
11944 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11946 * gst/gst.c: (init_pre), (scan_and_update_registry),
11947 (ensure_current_registry_nonforking),
11948 (ensure_current_registry_forking), (ensure_current_registry),
11949 (init_post), (gst_debug_help), (gst_deinit):
11951 Make init_pre and init_post take the full complement of GOptionFunc
11952 args so they can return useful GErrors. Make the registry updating
11955 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11956 ensure that the registry we're about to write out doesn't contain
11957 stale information about old-deleted plugin files.
11959 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11960 that deletion of plugin files is considered a registry change.
11962 * gst/gst_private.h:
11963 * gst/gstregistry.c: (gst_registry_finalize),
11964 (gst_registry_remove_features_for_plugin_unlocked),
11965 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11966 (gst_registry_scan_path),
11967 (_priv_gst_registry_remove_cache_plugins),
11968 (_priv_gst_registry_cleanup):
11969 * gst/gstregistry.h:
11970 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11971 by adding _priv prefix, so that they won't appear in the global
11972 symbol table. They still do atm though because of #318031. Move the
11973 prototypes to gst_private.h
11975 When removing a plugin, remove all features for that plugin too.
11978 2006-09-27 Wim Taymans <wim@fluendo.com>
11980 * docs/random/moving-plugins:
11981 Make it clear that the "compiled-in descriptions" really mean
11982 the element details.
11984 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11985 (gst_base_sink_wait_preroll):
11988 * docs/libs/gstreamer-libs-sections.txt:
11989 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11990 (gst_base_src_get_range), (gst_base_src_activate_push):
11991 * libs/gst/base/gstbasesrc.h:
11992 Added function to block while waiting for PLAYING, this function
11993 is used by live sources that block on the clock.
11994 API: gst_base_src_wait_playing()
11996 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11998 Patch by: Peter Kjellerstedt <pkj at axis com>
12001 gst-element-check.m4 is generated and should therefore be
12002 copied from the build dir rather than the source dir (#357593).
12003 'make distcheck' hasn't noticed this because we were disting
12004 the file as well, so stop doing that.
12006 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12008 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12009 Add some tests for gst_caps_intersect().
12011 * tools/gst-launch.c: (event_loop):
12012 Print all buffering percentages we get, even the 100% one.
12014 2006-09-26 Wim Taymans <wim@fluendo.com>
12016 * tools/gst-inspect.c: (print_element_properties_info),
12017 (print_signal_info):
12018 Fix printing of flags to match the look of enums.
12020 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12022 * gst/gstelementfactory.c:
12023 Fix typo in docs blurb.
12025 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12027 * gst/gsturi.c: (search_by_entry):
12028 Don't assert/crash here if a uri handler doesn't return any
12029 supported protocols. The list of protocols could be generated
12030 dynamically at runtime or at plugin registration, and an error
12031 in the underlying library shouldn't be fatal (#353301).
12033 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12036 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12037 (spotted by Peter Kjellerstedt).
12039 2006-09-23 Wim Taymans <wim@fluendo.com>
12041 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12043 * libs/gst/base/gstbasesrc.c:
12044 (gst_base_src_default_check_get_range), (gst_base_src_start),
12045 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12046 (gst_base_src_change_state):
12047 Match _start/_stop calls in the activate functions. Remove redundant
12048 _stop call from the state change function. Fixes #356910.
12049 Turn failure DEBUG into ERROR.
12051 2006-09-22 Wim Taymans <wim@fluendo.com>
12053 * docs/design/part-buffering.txt:
12054 * gst/gstmessage.c: (gst_message_new_buffering),
12055 (gst_message_parse_buffering):
12056 Update docs about buffering.
12058 * docs/design/part-trickmodes.txt:
12061 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12063 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12064 (gst_controller_new_list):
12065 Ref instances when returning them again (fixes #357180)
12067 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12069 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12070 Don't forget to release proxy lock when there's an error.
12072 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12075 Add extra initialisers for Caps things, to fix some plugin warnings
12078 2006-09-18 Wim Taymans <wim@fluendo.com>
12080 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12081 Also set template on the internal pad so that a getcaps from the
12082 target pad returns the template caps.
12084 2006-09-18 Wim Taymans <wim@fluendo.com>
12086 * gst/gstelement.c: (gst_element_post_message),
12087 (gst_element_dispose):
12088 Use _DEBUG_OBJECT some more.
12090 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12093 * tools/gst-launch.c: (main):
12094 If the toplevel element is not a GstPipeline, it must be put in a
12095 pipeline so that a bus and clock is selected.
12097 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12099 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12100 JITTER, RATE, and LATENCY query should be handled by the
12101 default case and not by the CONVERT query code.
12103 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12105 * gst/gstformat.c: (gst_format_register):
12106 Fix locking order (must take lock before using n_values).
12108 * gst/gstvalue.c: (gst_value_serialize_enum),
12109 (gst_value_deserialize_enum_iter_cmp),
12110 (gst_value_deserialize_enum):
12111 Fix serialisation/deserialisation of custom registered GstFormats.
12113 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12114 Unit test for custom format serialisation/deserialisation.
12116 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12118 * docs/pwg/building-boiler.xml:
12119 * plugins/elements/gstcapsfilter.c:
12120 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12123 2006-09-16 Edward Hervey <edward@fluendo.com>
12125 * libs/gst/base/gstbasetransform.c:
12126 (gst_base_transform_buffer_alloc):
12127 Check if requested caps are the same as the sinks caps IF
12128 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12130 This fixes the renegotiation issues stated in #352827.
12132 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12135 * docs/manual/advanced-autoplugging.xml:
12136 * tests/examples/Makefile.am:
12137 * tests/examples/manual/.cvsignore:
12138 * tests/examples/manual/Makefile.am:
12139 * tests/examples/manual/extract.pl:
12140 Extract the manual examples again like we used to do.
12143 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12145 * win32/common/config.h:
12148 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12151 Documents how to receive errors.
12153 2006-09-15 Wim Taymans <wim@fluendo.com>
12155 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12156 (event_loop), (main):
12157 Added some comments here and there.
12158 Post an application message when an interrupt is caught instead of doing
12159 an uncontrolled state change.
12160 Clean up the event loop.
12161 Handle buffering messages, pause/resume the pipeline.
12162 Make shutdown because of an interrupt more reliable.
12164 2006-09-15 Wim Taymans <wim@fluendo.com>
12166 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12167 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12168 (gst_base_sink_preroll_object):
12169 Make sure that our internal state is correct when we commit our state
12170 asynchronously. This solves a race where a state change to PLAYING
12171 could cause the sink to remain blocked in preroll in some situations.
12173 2006-09-15 Wim Taymans <wim@fluendo.com>
12175 * tools/gst-inspect.c: (print_element_properties_info),
12176 (print_signal_info):
12177 List flags as hex so it's easier to deal with.
12179 2006-09-15 Wim Taymans <wim@fluendo.com>
12181 * docs/libs/gstreamer-libs-sections.txt:
12182 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12183 (gst_base_sink_do_sync):
12184 * libs/gst/base/gstbasesink.h:
12185 Expose logic to wait for preroll so that subclasses such as audiosink
12186 can also use this method.
12187 API: gst_base_sink_wait_preroll()
12189 2006-09-15 Wim Taymans <wim@fluendo.com>
12191 * gst/gstobject.c: (gst_object_set_parent):
12192 * gst/gstpipeline.c: (do_pipeline_seek):
12193 Small cleanups in docs and code.
12195 * gst/gstsegment.c: (gst_segment_clip):
12196 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12197 if stop == start and start is in the segment, no clipping should be
12198 done. Also add a test for this.
12200 2006-09-15 Wim Taymans <wim@fluendo.com>
12202 * docs/design/part-buffering.txt:
12203 * docs/gst/gstreamer-sections.txt:
12204 * gst/gstmessage.c: (gst_message_new_buffering),
12205 (gst_message_parse_buffering):
12206 * gst/gstmessage.h:
12207 Added methods to create and parse BUFFERING messages.
12208 Added preliminary docs about buffering.
12209 API: gst_message_new_buffering
12210 API: gst_message_parse_buffering
12212 2006-09-06 Wim Taymans <wim@fluendo.com>
12215 Update documentation.
12217 * gst/gstelement.c: (gst_element_class_init),
12218 (gst_element_release_request_pad), (gst_element_set_clock),
12219 (gst_element_get_index), (gst_element_add_pad),
12220 (gst_element_remove_pad), (gst_element_get_random_pad),
12221 (gst_element_send_event), (gst_element_get_query_types),
12222 (gst_element_query), (gst_element_post_message),
12223 (gst_element_message_full), (gst_element_continue_state),
12224 (gst_element_lost_state), (gst_element_save_thyself),
12225 (gst_element_restore_thyself):
12226 Documentation updates.
12227 Rename last bit of the new-pad -> pad-added signal rename.
12228 Fix the case where an element query would only work if the source
12230 Avoid some useless type checking in message handling.
12235 Documentation updates.
12237 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12239 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12240 add an INFO line for when we actually update the fd
12242 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12247 === release 0.10.10 ===
12249 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12252 releasing 0.10.10, "Pais"
12254 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12256 * docs/manual/advanced-position.xml:
12257 Fix typo in sample code.
12259 2006-09-05 Wim Taymans <wim@fluendo.com>
12261 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12262 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12263 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12264 * libs/gst/net/gstnetclientclock.h:
12265 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12266 * libs/gst/net/gstnettimepacket.h:
12267 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12268 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12269 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12270 * libs/gst/net/gstnettimeprovider.h:
12271 Make stuff compile on windows. Fixes #345295.
12273 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12275 * gst/gst.c: (ensure_current_registry_forking):
12276 Print better details when child was terminated by signal.
12278 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12280 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12281 Print a warning rather than g_assert() if a plugin feature
12282 is a URI handler but returns no protocols (#353976).
12284 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12286 * docs/random/moving-plugins:
12289 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12291 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12292 Fix locking order, handle NULL function values properly.
12297 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12298 Initialise variable before using it and fix debug statement to
12299 print the address of the function rather than the address of the
12300 variable on the stack holding the address of the function.
12302 2006-09-01 Wim Taymans <wim@fluendo.com>
12304 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12305 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12306 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12307 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12308 (gst_ghost_pad_parent_unset),
12309 (gst_ghost_pad_internal_do_activate_push),
12310 (gst_ghost_pad_internal_do_activate_pull),
12311 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12312 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12313 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12314 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12315 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12316 (gst_ghost_pad_new_no_target_from_template),
12317 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12319 Avoid needless typechecking in macros.
12320 Since the internal pad is always present and never changes, there is
12321 no need to locking or ref when retrieving it.
12322 Improve debugging a bit.
12323 Handle link errors when setting the target. Fixes #341029.
12325 2006-09-01 Wim Taymans <wim@fluendo.com>
12327 * docs/libs/gstreamer-libs-sections.txt:
12328 * docs/plugins/gstreamer-plugins-sections.txt:
12329 Fix docs some more.
12331 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12332 (gst_collect_pads_event):
12333 * libs/gst/base/gstcollectpads.h:
12334 Documentation updates.
12335 Free queued buffer when removing a pad.
12337 2006-08-31 Michael Smith <msmith@fluendo.com>
12339 * gst/gstutils.c: (gst_element_link_pads),
12340 (gst_element_link_pads_filtered):
12341 Ensure that we set a capsfilter to NULL if we failed to link it
12342 when doing filtered linking, to avoid criticals.
12344 No need to check for unreffing srcpad, which is explicly NULLed
12345 above (a trivial code cleanup).
12347 2006-08-31 Wim Taymans <wim@fluendo.com>
12349 * docs/design/part-gstghostpad.txt:
12350 Update ascii art in documentation.
12352 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12353 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12354 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12355 (gst_ghost_pad_internal_do_activate_push),
12356 (gst_ghost_pad_internal_do_activate_pull),
12357 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12358 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12359 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12360 (gst_ghost_pad_set_target):
12361 Small cleanups and leak fixes.
12362 Remove some checks now that the internal pad is never NULL.
12363 Fix the case where linking pads without a target would create nasty
12364 criticals. Fixes #341029.
12365 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12366 value of _set_target().
12368 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12369 (gst_ghost_pad_suite):
12370 Some more tests for creating and linking untargeted ghostpads.
12372 2006-08-31 Edward Hervey <edward@fluendo.com>
12374 * docs/gst/gstreamer-sections.txt:
12375 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12376 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12377 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12378 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12379 (gst_ghost_pad_new_from_template),
12380 (gst_ghost_pad_new_no_target_from_template):
12381 * gst/gstghostpad.h:
12382 Refactored *_new() functions.
12383 Templates are now used as a g_object_new() parameter.
12384 Use template in _do_getcaps() if we don't have a target.
12385 Small documentation cleanups.
12386 Added two new constructors:
12387 gst_ghost_pad_new_from_template()
12388 gst_ghost_pad_new_no_target_from_template()
12389 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12390 (gst_ghost_pad_suite):
12391 Added tests for new ghostpad instanciation functions.
12393 API additions: gst_ghost_pad_new_from_template,
12394 gst_ghost_pad_new_no_target_from_template
12396 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12398 * docs/random/ensonic/profiling.txt:
12399 Ideas about qos profiling.
12401 2006-08-29 Wim Taymans <wim@fluendo.com>
12403 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12407 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12410 Improve and detypofy docs.
12412 * tests/check/Makefile.am:
12413 * tests/check/gst/.cvsignore:
12414 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12415 Add a basic test suite for GstXML.
12417 2006-08-29 Wim Taymans <wim@fluendo.com>
12419 * gst/gstelement.c: (activate_pads), (clear_caps),
12420 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12421 Clear the pad caps when the element shut down all of the pads and
12422 is not streaming data that could modify the caps.
12425 2006-08-28 Michael Smith <msmith@fluendo.com>
12427 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12428 Revert previous change; I misunderstood single-segment mode.
12430 2006-08-28 Michael Smith <msmith@fluendo.com>
12432 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12433 Unset DISCONT on buffers when using single-segment mode.
12435 2006-08-28 Wim Taymans <wim@fluendo.com>
12437 * gst/gstcaps.c: (gst_caps_merge_structure):
12439 Fix docs and indentation again.
12441 * tests/check/gst/gstquery.c: (GST_START_TEST):
12442 Fix leak in tests and add some more tests.
12444 2006-08-28 Edward Hervey <edward@fluendo.com>
12446 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12447 Inform GstSegment of the last stop position in order for the current
12448 segment to have a proper duration if it doesn't have a specific stop
12449 position from which a duration could be calculated.
12450 This bug was noticeable when a non-flushing, non-update new segment was
12451 followed by another segment (all buffers from the new segment were being
12454 2006-08-28 Wim Taymans <wim@fluendo.com>
12456 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12457 Small comment update.
12459 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12460 (gst_identity_transform_ip):
12461 Drop-probability is broken, mention this in the code with a
12462 FIXME and also in the property description.
12463 Make silent also be silent about the drop messages.
12465 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12467 * docs/manual/appendix-win32.xml:
12468 Remove mention of popt, we don't depend on that any
12469 longer (#353136). Add some comments pointing out that
12470 this section is slightly outdated.
12472 2006-08-28 Wim Taymans <wim@fluendo.com>
12474 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12476 * gst/gstquery.c: (gst_query_new_segment):
12477 * tests/check/gst/gstquery.c: (GST_START_TEST):
12478 Initialize variables when creating a new segment query.
12481 2006-08-28 Wim Taymans <wim@fluendo.com>
12483 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12485 * gst/gstelement.c: (gst_element_get_bus):
12486 * tests/check/gst/gstelement.c: (GST_START_TEST):
12487 Check for NULL before _reffing the bus. Fixes #353122.
12489 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12491 * docs/manual/basics-bus.xml:
12492 Docs update: fix wrong callback return value explanation; add
12493 some lines about the implicit relationship between main loop
12494 and main context; remove duplicate main loop variable declaration.
12496 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12498 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12499 Don't leak caps in unit test; add a few more simple
12502 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12504 * docs/gst/gstreamer-sections.txt:
12505 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12506 (gst_caps_structure_is_subset), (gst_caps_merge),
12507 (gst_caps_merge_structure):
12509 * libs/gst/base/gstbasetransform.c:
12510 (gst_base_transform_transform_caps):
12511 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12512 implement caps merging (fixes #352580)
12514 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12516 * tools/Makefile.am:
12517 * tools/gst-plot-timeline.py:
12518 add debug-log plotting developer tool (#340674)
12520 2006-08-23 Wim Taymans <wim@fluendo.com>
12522 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12523 (gst_pad_stop_task):
12524 Improve debugging for task functions.
12526 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12527 (gst_task_start), (gst_task_pause), (gst_task_join):
12528 Make sure that the task function started and finished after a
12530 Don't try to push the task function on the threadpool multiple
12532 Improve the g_warning message with some useful suggestions
12533 about how to fix the problem.
12535 2006-08-23 Wim Taymans <wim@fluendo.com>
12537 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12538 Handle RESYNC correctly in _proxy_getcaps.
12540 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12542 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12543 (gst_xml_parse_memory), (gst_xml_get_element):
12544 Chain up to parent class in dispose function and also
12545 unref the elements in the toplevel_elements GList.
12546 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12547 Always return a reference in gst_xml_get_element() rather
12548 than only sometimes.
12550 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12551 Don't leak GstXml object.
12553 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12555 * docs/gst/gstreamer-sections.txt:
12556 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12559 * libs/gst/base/gstbasetransform.c:
12560 (gst_base_transform_transform_caps):
12561 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12564 2006-08-21 Edward Hervey <edward@fluendo.com>
12566 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12567 Implement GObject::dispose virtual method in GstXML so we can free the
12568 top_elements GList.
12570 2006-08-21 Wim Taymans <wim@fluendo.com>
12572 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12573 (gst_buffer_create_sub):
12574 Copy duration/offset_end/caps when creating a subbuffer of the
12576 Make the subbuffer read-only when we make the metadata writable for
12577 now. Fixes #351768.
12579 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12580 Added check for metadata copy when creating subbuffers.
12582 2006-08-21 Edward Hervey <edward@fluendo.com>
12584 * libs/gst/base/gstbasetransform.c:
12585 (gst_base_transform_buffer_alloc):
12586 Only call downstream buffer_alloc if transform element is passthrough
12587 or always_in_place. Closes #350449.
12589 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12592 ChangeLog surgery to add comments to previous changes
12594 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12599 * gst/gstpad.c: (gst_pad_set_active):
12600 Be more verbose in the log
12602 * libs/gst/base/gstbasetransform.c:
12603 (gst_base_transform_transform_caps):
12604 Simplify caps to get rid of duplicates, fixes #345444
12606 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12610 Use these optimizations only internally.
12612 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12614 * gst/gstvalue.c: (gst_value_compare_list),
12615 (gst_value_compare_fraction_range),
12616 (gst_value_intersect_fraction_fraction_range),
12617 (gst_value_intersect_fraction_range_fraction_range),
12618 (gst_value_subtract_fraction_fraction_range),
12619 (gst_value_subtract_fraction_range_fraction_range),
12620 (gst_value_get_compare_func), (gst_value_compare),
12621 (gst_value_compare_with_func):
12623 Saves the expensive lookup of the compare function in many cases
12626 2006-08-18 Edward Hervey <edward@fluendo.com>
12628 * tests/check/gst/gstinfo.c: (gst_info_suite):
12629 Disable test that require gstdebug if it wasn't built in core.
12631 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12633 * docs/random/ensonic/logging.txt:
12636 * gst/gstinfo.c: (gst_debug_log_default):
12637 reorder fields, save some columns, add optional color codes for log
12640 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12642 * docs/random/ensonic/logging.txt:
12643 add ideas about making the logs a bit more useful
12645 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12647 * docs/pwg/advanced-events.xml:
12648 * docs/pwg/titlepage.xml:
12649 Update for 0.10 API (#340627). Add myself
12652 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12654 * docs/libs/gstreamer-libs-docs.sgml:
12655 * docs/libs/gstreamer-libs-sections.txt:
12656 * libs/gst/check/gstbufferstraw.c:
12657 Make gstcheck stuff show up in docs (still needs to
12658 be documented properly though).
12660 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12662 * docs/gst/gstreamer-sections.txt:
12664 * gst/gst.c: (init_post):
12665 * gst/gst_private.h:
12666 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12668 * gst/gstquery.c: (gst_query_new_position),
12669 (gst_query_set_position), (gst_query_parse_position),
12670 (gst_query_new_duration), (gst_query_set_duration),
12671 (gst_query_parse_duration), (gst_query_new_convert),
12672 (gst_query_set_convert), (gst_query_parse_convert),
12673 (gst_query_new_segment), (gst_query_set_segment),
12674 (gst_query_parse_segment), (gst_query_new_seeking),
12675 (gst_query_set_seeking), (gst_query_parse_seeking):
12676 Add internal helpers for pre-registering quarks from static strings
12677 and using the quark values directly instead of looking them up when
12678 creating and parsing queries. Can be used for event construction too.
12681 2006-08-16 Wim Taymans <wim@fluendo.com>
12686 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12688 * gst/gstutils.c: (gst_util_set_value_from_string):
12689 Fix memleak (#351502).
12691 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12692 Add unit test for most of gst_util_set_value_from_string()
12693 (not that one would want to encourage use of this function).
12695 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12697 * libs/gst/check/gstcheck.h:
12698 Use const gchar * variables in fail_unless_equals_string
12699 macro to avoid compiler warnings (and don't use tabs for
12702 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12704 * tools/gst-launch.c: (print_tag):
12705 More space on the left for the tag names, to cater
12706 for the 'extended comment' tag (not touching the
12707 string for the first line since it's translated).
12709 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12711 * libs/gst/check/gstcheck.h:
12712 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12713 print something when they fail.
12715 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12717 * docs/gst/gstreamer-sections.txt:
12718 * gst/gsttaglist.c: (_gst_tag_initialize):
12719 * gst/gsttaglist.h:
12720 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12721 Also change merge function for GST_TAG_COMMENT to
12724 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12726 * gst/gstinfo.c: (gst_debug_print_object):
12727 Make GST_PTR_FORMAT print messages as well.
12729 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12730 (GST_START_TEST), (gst_info_suite):
12733 2006-08-14 Edward Hervey <edward@fluendo.com>
12735 * gst/gstelementfactory.c: (gst_element_register):
12736 If the GstElementClass doesn't have a GstElementDetails with all fields
12737 filled up correctly (longname, description AND author), then error out
12738 nicely instead of crashing.
12740 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12742 * gst/gststructure.c:
12743 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12746 Expand on the difference between arrays and lists as we use them.
12748 2006-08-14 Wim Taymans <wim@fluendo.com>
12750 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12751 If the parent state change function failed, don't assume we can safely
12752 stop the source, this will be done when the pads are deactivated.
12754 2006-08-14 Wim Taymans <wim@fluendo.com>
12757 * gst/gsttask.c: (gst_task_join):
12760 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12761 (gst_pad_stop_task):
12762 When pad (de)activation failed for some reason, restore the old
12763 activation mode and set the pad to flushing instead of assuming the
12764 pad is deactivated.
12765 If the _task_join() failed, reinstall the task on the pad so that it can
12766 be stopped later and return an error.
12768 2006-08-11 Andy Wingo <wingo@pobox.com>
12771 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12772 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12773 is only for users of API that don't want to see deprecated
12774 functions in the headers; people that want to compile out
12775 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12776 CFLAGS. Fixes the build of multifdsink, or will soon..
12778 2006-08-11 Wim Taymans <wim@fluendo.com>
12780 * docs/gst/gstreamer-sections.txt:
12781 Add GstClockClass vmethod docs.
12784 Mark #endif with comment for associated #if
12786 * gst/gstclock.c: (gst_clock_id_wait):
12788 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12789 most clock implementations.
12791 Flesh out docs about resolution methods.
12792 API: GstClockClass::wait_jitter
12794 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12795 (gst_system_clock_async_thread),
12796 (gst_system_clock_id_wait_jitter_unlocked),
12797 (gst_system_clock_id_wait_jitter):
12798 Use base class wait_jitter variant for improved performance
12799 due to less clock polling.
12801 2006-08-11 Edward Hervey <edward@fluendo.com>
12803 * gst/gst.c: (gst_init_check), (init_post):
12804 Set gst as being initialized before scanning/updating the registry,
12805 since there might be my python plugin loader that calls gst_init() and
12806 we don't want to loop back in.
12809 2006-08-11 Wim Taymans <wim@fluendo.com>
12811 * docs/design/part-qos.txt:
12812 Bring docs in line with the code. Mostly the sign of the jitter was
12813 wrong in the docs. Fixes #349943.
12816 Fix the docs for the jitter.
12818 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12819 (gst_event_parse_tag), (gst_event_new_buffer_size),
12820 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12821 (gst_event_new_seek), (gst_event_parse_seek),
12822 (gst_event_new_navigation):
12823 Make sure the GstStructure has no parent when creating custom
12825 Add some more argument checking so that we avoid 0.0 rates.
12826 Flesh out the docs for the QoS event some more.
12828 2006-08-11 Wim Taymans <wim@fluendo.com>
12830 * docs/gst/gstreamer-sections.txt:
12831 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12832 (ensure_current_registry_forking), (ensure_current_registry),
12833 (parse_one_option), (parse_goption_arg), (gst_deinit),
12834 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12837 Added API and command line option to disable registry forking in
12838 addition to the environment variable.
12839 Constify some static arrays.
12840 Added some more debug.
12841 Don't deinit twice.
12842 API: gst_registry_fork_is_enabled()
12843 API: gst_registry_fork_set_enabled()
12844 API: --gst-disable-registry-fork command line option
12847 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12849 * gst/gst.c: (gst_init):
12850 Fix typo in error message.
12852 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12854 * libs/gst/controller/gstcontroller.h:
12855 fix ABI size-correction
12857 * tests/check/libs/gdp.c: (gst_dp_suite):
12858 make tests that use deprecated API conditional
12860 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12862 * docs/libs/gstreamer-libs-sections.txt:
12863 * libs/gst/controller/gstcontroller.c:
12864 (_gst_controller_get_property), (_gst_controller_set_property),
12865 (_gst_controller_init), (_gst_controller_class_init):
12866 * libs/gst/controller/gstcontroller.h:
12867 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12868 (gst_object_set_control_rate):
12869 API: add gst_object_{s,g}et_control_rate(), add private data section,
12872 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12873 * libs/gst/dataprotocol/dataprotocol.h:
12874 add deprecation guards to make gtk-doc happy and allow disabling cruft
12876 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12878 * tests/check/Makefile.am:
12879 * tests/check/gst/.cvsignore:
12880 Let's enable the new unit test as well.
12882 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12885 * docs/gst/gstreamer-sections.txt:
12886 * gst/gstconfig.h.in:
12887 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12888 (_gst_info_printf_extension_ptr),
12889 (_gst_info_printf_extension_segment):
12890 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12891 register that lets us easily dump GstSegments into debug
12894 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12895 (info_segment_format_printf_extension), (gst_info_suite):
12896 Add simple unit test that logs a bunch of different segments (not
12897 valgrinded at the moment because of leaks in
12898 gst_debug_add_log_function).
12900 2006-08-09 Edward Hervey <edward@fluendo.com>
12902 * libs/gst/base/gstbasetransform.c:
12903 (gst_base_transform_buffer_alloc):
12904 Even if we can't figure out the proper format to request downstream,
12905 call buffer_alloc() downstream with the input parameters without setting
12906 the caps on the srcpad. This will force negotiation in the chain
12910 2006-08-08 Edward Hervey <edward@fluendo.com>
12912 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12913 Unlinking from a pad without a target is now a perfectly valid case
12914 which should NOT raise an assertion.
12915 This case would happen if a linked ghostpad its target set to NULL after
12916 it was previously linked.
12918 2006-08-08 Edward Hervey <edward@fluendo.com>
12920 * tests/check/libs/gdp.c:
12921 Also comment out the test (see below).
12923 2006-08-08 Edward Hervey <edward@fluendo.com>
12925 * tests/check/libs/gdp.c: (gst_dp_suite):
12926 Use the architecture information from config.h and not gcc macros
12927 in order to properly disable a test that fails on PPC64.
12929 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12931 * gst/gstelement.c: (gst_element_remove_pad):
12932 Don't crash printing the warning if the pad has no parent.
12934 2006-08-02 Wim Taymans <wim@fluendo.com>
12936 * libs/gst/dataprotocol/dataprotocol.c:
12937 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12938 (gst_dp_crc), (gst_dp_header_payload_length),
12939 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12940 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12941 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12942 (gst_dp_event_from_packet), (gst_dp_validate_header),
12943 (gst_dp_validate_payload):
12944 Make debug category static
12945 Constify the crc table.
12946 Do some more arg checking in public functions.
12947 Fix some docs and do some small cleanups.
12949 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12950 Add some more checks to see if GDP deals with bogus input.
12952 2006-07-31 Wim Taymans <wim@fluendo.com>
12954 * gst/gstvalue.c: (gst_value_compare_list):
12955 Fix GstValueList comparison code. Fixes #347293.
12957 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12958 Check to test GstValueList comparison.
12960 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12962 * gst/gstelementfactory.c: (gst_element_factory_create):
12963 Remove unnecessary ref/unref pair
12965 * gst/parse/grammar.y:
12966 Make sure to free the parse buffer on all code paths.
12967 Move a g_free up to the error handler where it's easier to see.
12969 * tests/check/gst/gstevent.c: (test_event):
12970 Extending timeout for downstream travelling events to 10 seconds to
12971 hopefully avoid intermittent failure on the buildbots.
12973 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12974 Don't manually set the state of the src element - it will happen as a
12975 natural consequence of the pipeline changing state, and that way it
12976 will do it in the right order too.
12978 2006-07-31 Wim Taymans <wim@fluendo.com>
12980 * libs/gst/base/gstbasetransform.c:
12981 (gst_base_transform_buffer_alloc):
12982 Use OBJECT_LOCK and refcounting to get the pad caps in the
12983 buffer_alloc function because the caps could change while we are
12984 busy with them. Fixes #349105
12986 2006-07-31 Wim Taymans <wim@fluendo.com>
12988 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12989 Protect _PAD_CAPS with OBJECT_LOCK.
12991 2006-07-31 Wim Taymans <wim@fluendo.com>
12993 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12994 (gst_pad_get_property), (gst_pad_activate_pull),
12995 (gst_pad_activate_push), (gst_pad_set_blocked_async),
12996 (gst_pad_set_activate_function),
12997 (gst_pad_set_activatepull_function),
12998 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12999 (gst_pad_set_getrange_function),
13000 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13001 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13002 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13003 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13004 (gst_pad_set_acceptcaps_function),
13005 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13006 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13007 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13008 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13009 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13010 (gst_pad_configure_sink), (gst_pad_configure_src),
13011 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13012 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13013 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13014 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13015 (gst_pad_send_event):
13016 Use _DEBUG_OBJECT when it makes sense.
13017 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13018 Small cleanups and code reflows.
13019 Avoid caps refcounting in _accept_caps.
13020 Refactor alloc_buffer so that the code performed on the peer is in a
13021 separate function. Also if the pad does not implement a buffer alloc
13022 function, we should still check if the pad is flushing before falling
13023 back to the default allocator.
13025 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13027 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13028 Make all uses of identity and fakesink have silent=true to avoid
13029 serialising every passing data structure, which is breaking tests
13030 on FC4 for some unknown reason.
13032 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13034 * gst/parse/Makefile.am:
13035 * gst/parse/grammar.y:
13036 * gst/parse/parse.l:
13037 Reverted previous patch as it required to bump the flex dependency to
13038 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13040 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13042 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13044 * gst/parse/Makefile.am:
13045 * gst/parse/grammar.y:
13046 * gst/parse/parse.l:
13047 push & pop the state of the lexer for reentrant use case
13050 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13052 * libs/gst/base/gstbasesrc.h:
13053 Note in the docs that the ::newsegment vfunc is not actually used by
13056 2006-07-28 Wim Taymans <wim@fluendo.com>
13058 * libs/gst/base/gstcollectpads.c:
13059 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13060 (gst_collect_pads_clear), (gst_collect_pads_flush),
13061 (gst_collect_pads_event), (gst_collect_pads_chain):
13062 When flushing a pad, also clear the queued buffer so that we don't
13063 accidentally use it when we shouldn't.
13064 Fix leaks by inreffing incomming buffer.
13065 Flush out queued buffers in case of errors.
13068 2006-07-28 Wim Taymans <wim@fluendo.com>
13070 * docs/random/phonon-gst:
13071 Random notes about a Phonon backend.
13073 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13075 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13077 * tests/check/libs/gdp.c: (gst_dp_suite):
13078 Take a whack at fixing the ppc compile using a different define to
13079 disable the broken test.
13081 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13082 Remove excess g_print()
13084 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13086 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13087 Oops, meant to uncomment this line too to dampen the noise a bit.
13089 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13091 * gst/parse/grammar.y:
13092 * gst/parse/parse.l:
13093 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13094 (GST_START_TEST), (parse_suite):
13095 Fix some of the leaks exposed by extending the parse-launch testsuite,
13096 and move the 3 I can't figure out into a separate test that won't run
13097 the pipelines unless the appropriate line is uncommented.
13099 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13101 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13102 Requesting 0 bytes before the end of the file should result in
13103 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13106 2006-07-27 Wim Taymans <wim@fluendo.com>
13108 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13109 Fix useless assert, a uint is always positive.
13111 * gst/gststructure.c: (gst_structure_nth_field_name),
13112 (gst_structure_foreach), (gst_structure_map_in_place):
13113 Check input arguments for public functions to avoid obvious crashes.
13115 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13116 * plugins/elements/gstfakesink.h:
13117 Do less useless typechecking.
13119 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13121 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13122 Do not use mmap() by default since there are a number of error
13123 conditions that we would like to handle in a non-fatal way that
13124 will result in a SIGBUS if we use mmap(). Examples: external
13125 devices (USB harddrive, portable music player) being unplugged
13126 while in use; file on mounted CD/DVD that can't be read because
13127 the medium is partly damaged. Fixes #348455 and #348475.
13129 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13132 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13133 rates are a gdouble
13135 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13137 * gst/gstregistry.c:
13138 Move big documentation comment into class section header, so that it
13139 appears in the API docs.
13141 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13143 * docs/gst/gstreamer-sections.txt:
13144 Oops. Commit the docs additions too for new API.
13145 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13147 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13149 * gst/gststructure.c: (gst_structure_id_set),
13150 (gst_structure_id_set_valist):
13151 * gst/gststructure.h:
13152 Add API for setting values into structures without performing
13153 a quark lookup, if the appropriate quark is already known.
13155 API: gst_structure_id_set
13156 API: gst_structure_id_set_valist
13158 * gst/parse/grammar.y:
13159 * gst/parse/parse.l:
13160 Remove some dead code shown by the coverage information.
13161 Don't throw a critical g_warning when encountering a syntax error,
13162 just warn and let the normal error path handle it.
13164 * plugins/elements/gstelements.c:
13165 Bump the rank of filesink up to PRIMARY so that it is preferred over
13166 gnomevfssink for file:// sink uri's
13168 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13169 (GST_START_TEST), (run_delayed_test),
13170 (gst_parse_test_element_base_init),
13171 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13172 (gst_parse_test_element_change_state),
13173 (gst_register_parse_element), (parse_suite):
13174 Beef up the tests for parse syntax to check that more error cases
13175 fail as they are supposed to. Increases the test coverage a bit.
13177 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13179 * docs/manual/basics-elements.xml:
13180 Fix gst_element_link() example.
13183 Mention in API docs that one should usually gst_bin_add()
13184 elements to a bin or pipeline before doing the linking.
13186 2006-07-26 Wim Taymans <wim@fluendo.com>
13188 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13189 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13190 Avoid function call for known types by keeping the buffer and
13191 subbuffer GType global.
13193 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13194 Random silly optimisations in read() path.
13196 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13198 * tools/gst-launch.c: (main):
13199 If the top-level of the parse is a normal bin, it doesn't do the
13200 right logic to run as a top-level element, so place it inside a
13203 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13205 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13206 Remove superfluous g_object_notify() calls, GObject does
13207 that for us automatically.
13209 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13212 on Win32, use dllspec to export the debug category symbols
13214 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13216 * gst/gsttaglist.c: (_gst_tag_initialize):
13217 Allow more than one GST_TAG_IMAGE per taglist.
13219 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13221 * gst/gstminiobject.c:
13223 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13224 (gst_fd_src_create):
13225 log recurring events at LOG level
13226 add more debug for when the fd gets set
13228 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13230 * gst/gstparse.c: (gst_parse_launch):
13231 Also remove reentrance checks if flex is MT safe (#348179)
13232 Fix my empty ChangeLog entry below
13234 2006-07-21 Andy Wingo <wingo@pobox.com>
13236 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13238 * libs/gst/check/Makefile.am
13239 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13240 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13241 * libs/gst/check/gstbufferstraw.h:
13242 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13243 functions, thus proving I am still a GStreamer haxor. OK I wrote
13244 them a long time ago, but anyways.
13246 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13249 * gst/gstparse.c: (gst_parse_launch):
13250 Check for flex version and omit mutex if we have a MT save flex
13253 2006-07-21 Wim Taymans <wim@fluendo.com>
13255 * gst/gstparse.c: (gst_parse_launch):
13256 Protect recursive calls to _parse with a recursive mutex
13259 2006-07-21 Wim Taymans <wim@fluendo.com>
13261 * tests/check/gst/gstpad.c: (GST_START_TEST):
13264 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13266 * gst/gstparse.c: (gst_parse_launch):
13267 Do not hang on recursive usage of gst_parse_launch()
13269 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13271 * gst/gsttaglist.c:
13272 Add some more docs, comments and FIXME 0.11s here and there
13273 and also fix some typos.
13275 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13277 * gst/gstsegment.h:
13278 Convert tabs to spaces for better readability.
13280 2006-07-20 Edward Hervey <edward@fluendo.com>
13282 * tests/check/libs/gdp.c: (gst_dp_suite):
13283 the test_buffer test fails at line 140 on ppc64 at the following
13285 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13286 GST_BUFFER_FLAG_IN_CAPS),
13287 "GST_BUFFER_IN_CAPS flag should have been copied !");
13288 See bug #348114 for more details.
13290 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13292 * docs/pwg/advanced-scheduling.xml:
13294 Fix typos (#348000).
13296 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13298 * docs/pwg/intro-basics.xml:
13299 Fix wrong links (#347927).
13301 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13303 * gst/gstregistry.h:
13304 * gst/gstregistryxml.c: (load_feature),
13305 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13306 * win32/common/config.h:
13307 make --disable-index work (#342564)
13309 2006-07-18 Wim Taymans <wim@fluendo.com>
13311 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13315 The attached patch adds two missing defines to gsttrace.h when tracing
13316 is disabled. It also corrects one existing define.
13319 2006-07-17 Wim Taymans <wim@fluendo.com>
13321 * docs/gst/gstreamer-sections.txt:
13322 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13324 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13325 Add two functions to check and change the SIGSEGV behaviour
13326 when loading plugins.
13327 Don't mess with the SIGSEGV handler when we were told not to.
13329 API: gst_segtrap_is_enabled
13330 API: gst_segtrap_set_enabled
13332 2006-07-14 Wim Taymans <wim@fluendo.com>
13334 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13335 * tests/check/elements/filesrc.c: (GST_START_TEST):
13336 Revert fix for regression in #347408 after release.
13338 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13340 Patch by: Antoine Tremblay <hexa00 at gmail com>
13342 * gst/gstutils.c: (gst_element_unlink):
13343 Free iterator when done (#347311).
13345 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13346 And add a test case for this.
13348 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13351 Bump nano back to CVS
13353 === release 0.10.9 ===
13355 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13358 releasing 0.10.9, "On the road again"
13360 2006-07-13 Wim Taymans <wim@fluendo.com>
13362 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13363 * tests/check/elements/filesrc.c: (GST_START_TEST):
13364 Revert pull-0 fix for release. Disable check. Fixes #347408.
13366 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13368 * libs/gst/dataprotocol/dataprotocol.c:
13369 (gst_dp_event_from_packet_1_0):
13370 Fixes #347337: failure to deserialize event packets with
13371 empty payload (only event type)
13373 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13376 do not install a .c file in the header directory
13378 2006-07-13 Edward Hervey <edward@fluendo.com>
13380 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13381 GhostPad no longer implicitely use the padtemplates of the targets.
13384 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13386 * gst/gstvalue.c: (gst_value_compare_list),
13387 (gst_value_compare_array), (_gst_value_initialize):
13388 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13389 Make GstValueArray comparison be order dependent as designed.
13390 Add checks for value lists and value array comparisons.
13393 2006-07-11 Edward Hervey <edward@fluendo.com>
13395 * gst/gstbin.c: (activate_pads),
13396 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13397 (gst_bin_change_state_func):
13398 (de)activate src pads before calling state_change on the childs.
13399 This is to avoid the case where a src ghostpad is blocked (holding the
13400 stream lock), which would block the deactivation of the ghostpad's
13402 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13403 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13404 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13405 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13406 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13407 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13408 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13409 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13410 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13411 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13412 (gst_ghost_pad_class_init),
13413 (gst_ghost_pad_internal_do_activate_push),
13414 (gst_ghost_pad_internal_do_activate_pull),
13415 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13416 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13417 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13418 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13419 GhostPads now create their internal GstProxyPad at creation (and not
13420 when they're linked, as it was being done previously).
13421 The internal and target pads are linked straight away.
13422 The data will also travel through the other pad in order to make
13423 pad blocking and probes non-hackish (the probe/block now really happens
13424 on the GhostPad and not on the target).
13425 * gst/gstpad.c: (gst_pad_set_blocked_async),
13426 (gst_pad_link_prepare), (gst_pad_push_event):
13427 Remove previous ghostpad cruft.
13428 * gst/gstutils.c: (gst_pad_add_data_probe),
13429 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13430 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13431 (gst_pad_remove_buffer_probe):
13432 Remove previous ghost pad cruft.
13433 Added more detailed debug statements.
13434 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13435 Fix the testsuite for refcounting changes.
13436 The comments about who has references were correct, but the refcount
13437 being checked wasn't the same (!?!).
13441 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13443 * docs/gst/gstreamer-sections.txt:
13444 * gst/gstconfig.h.in:
13445 More docs for configuration options, add docs to gtk-doc.
13447 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13450 * gst/gstconfig.h.in:
13451 * win32/common/config.h:
13452 Fix build when disabling tracing (fixes #344016). Also start to document
13453 the defines that disable the sub-systems.
13455 2006-07-10 Edward Hervey <edward@fluendo.com>
13457 * gst/gst.c: (ensure_current_registry_forking):
13458 let's make valgrind happy...
13460 2006-07-09 Wim Taymans <wim@fluendo.com>
13462 * gst/gstelement.c: (activate_pads),
13463 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13464 Better pad activation code: Reset the collect value too on resync.
13467 2006-07-09 Wim Taymans <wim@fluendo.com>
13469 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13470 (gst_pad_activate_push):
13471 Use some more macros where it makes sense.
13472 Allow pad mode switching instead of asserting. When a pad
13473 is activated in one mode and we activate it in another,
13474 deactivate it first before activating it in a different mode.
13477 2006-07-08 Andy Wingo <wingo@pobox.com>
13479 * tools/gst-launch.c (main): Handle err == NULL.
13481 * gst/gst.c (init_post, ensure_current_registry)
13482 (ensure_current_registry_forking)
13483 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13484 factoring out the registry scanning into separate functions. Don't
13485 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13486 Better environment var name/interface suggestions accepted.
13488 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13490 * gst/gstobject.c: (gst_object_set_name_default),
13491 (gst_object_set_name):
13492 Random micro-optimisation: don't use a hash table
13493 with strings as keys and the usual strdup/strcmp
13494 involved, but rather just use the GQuark of the
13495 type name as key, since it needs to be looked up
13496 anyway to get the type name string.
13498 * tests/check/gst/gstobject.c: (GST_START_TEST):
13501 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13503 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13504 (gst_bin_iterate_all_by_interface):
13505 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13506 GTypes are gulongs and thus the top 4 bytes might be cut
13507 off on some platforms when doing GPOINTER_TO_INT, leading
13508 to invalid GTypes and bad things happening (see RH bug #179654).
13509 Also add a check to make sure the type passed in is really
13512 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13517 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13521 * gst-element-check.m4:
13522 * gst-element-check.m4.in:
13523 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13524 instead of the unversioned gst-inspect (#324176, #168659).
13526 2006-07-06 Wim Taymans <wim@fluendo.com>
13528 * gst/gstmessage.h:
13529 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13532 2006-07-06 Wim Taymans <wim@fluendo.com>
13534 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13535 (gst_base_src_wait), (gst_base_src_update_length),
13536 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13537 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13538 (gst_base_src_loop), (gst_base_src_start),
13539 (gst_base_src_activate_pull):
13541 blocksize == 0 now means the default blocksize when working in push
13543 Remove some pointless asserts in _wait function.
13544 Fix offset/length calculations and EOS handling. We can now pull 0
13545 bytes as well, which is allowed.
13546 use _check_get_range() to decide if we can operate in _pull based
13548 Fix refcounting leak when check_get_range function was not
13550 API GstBaseSrc::blocksize range can be 0 too now (default)
13552 * tests/check/elements/filesrc.c: (GST_START_TEST),
13554 Added check to test _get_range() behaviour.
13556 2006-07-06 Wim Taymans <wim@fluendo.com>
13558 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13559 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13560 (gst_pad_pull_range):
13562 Lots of comments and docs added to the pad functions.
13563 Flesh out the expected behaviour of the get_range() functions.
13565 2006-07-06 Wim Taymans <wim@fluendo.com>
13570 * gst/gstiterator.h:
13574 Remove comma at end of enumerator list.
13576 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13578 * win32/common/libgstbase.def:
13579 * win32/common/libgstdataprotocol.def:
13580 * win32/common/libsgtreamer.def:
13581 Add new exported functions.
13583 2006-07-05 Wim Taymans <wim@fluendo.com>
13585 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13586 Add some more docs here and there.
13588 2006-07-05 Wim Taymans <wim@fluendo.com>
13590 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13591 (gst_base_sink_loop), (gst_base_sink_get_position):
13592 When operating in pull mode update the offset so that we
13595 2006-07-05 Wim Taymans <wim@fluendo.com>
13597 * gst/gstregistryxml.c: (read_string):
13598 Avoid strdup. (will happen in libxml, but hey!)
13601 Add some more docs.
13603 2006-07-05 Wim Taymans <wim@fluendo.com>
13605 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13606 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13607 (gst_buffer_suite):
13608 No point in checking if the size of the subbuffer > 0, the
13609 code handles it correclty as demonstrated by unit test.
13610 Also add a unit test for the zero sized _new_and_alloc and
13611 _copy. Fixes #346663.
13613 2006-07-05 Wim Taymans <wim@fluendo.com>
13615 * libs/gst/base/gstbasetransform.c:
13616 (gst_base_transform_prepare_output_buffer),
13617 (gst_base_transform_buffer_alloc),
13618 (gst_base_transform_handle_buffer):
13619 Make sure the buffer we pass to transform_ip has a refcount of
13620 1 and thus is writable. Fixes #343196
13622 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13624 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13625 (gst_file_src_init), (gst_file_src_set_property),
13626 (gst_file_src_get_property), (gst_file_src_map_region):
13627 * plugins/elements/gstfilesrc.h:
13628 Add "sequential" property, off by default, to use madvise and hint
13629 to the kernel that sequential access is desired.
13630 Touch all retrieved pages by default to ensure they are pulled
13631 into memory. (Closes #345720)
13633 2006-07-03 Wim Taymans <wim@fluendo.com>
13635 * docs/design/part-block.txt:
13636 * docs/design/part-dynamic.txt:
13637 Small docs updates.
13639 2006-07-03 Wim Taymans <wim@fluendo.com>
13641 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13642 (gst_caps_unref), (gst_static_caps_get),
13643 (gst_caps_append_structure):
13644 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13645 Use GSlice when the glib we build against is >= 2.10
13647 2006-07-03 Wim Taymans <wim@fluendo.com>
13649 * gst/gstelement.c: (gst_element_pads_activate):
13650 Small cleanup in pad activation code.
13652 2006-07-03 Wim Taymans <wim@fluendo.com>
13654 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13656 * gst/gst-i18n-app.h:
13657 * gst/gst-i18n-lib.h:
13658 * tools/gst-inspect.c: (print_signal_info):
13659 The attached patch will make the inclusion of gettext.h unconditional in
13660 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13661 libintl.h in tools/gst-inspect.c.
13662 This allows use of --disable-nls again and fixes #344642.
13664 2006-07-03 Edward Hervey <edward@fluendo.com>
13666 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13667 Implement pad blocking on events according to part-block.txt.
13668 More comments on behaviour.
13669 * tests/check/gst/gstevent.c: (test_event):
13670 Send event to peer pad of blocked pad (else it will block).
13672 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13674 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13675 (gst_check_run_suite):
13676 if we get the wrong message, give us the types as string
13677 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13679 * tests/check/elements/filesrc.c: (GST_START_TEST):
13680 add a test for trying to open a non-existing file
13682 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13684 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13685 add a test for adding self
13687 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13689 * libs/gst/check/gstcheck.h:
13690 add some assert_ as alias for fail_unless_*
13691 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13692 increase test coverage
13694 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13697 include lcov.mak for lcov coverage generation
13698 * tools/Makefile.am:
13701 2006-07-02 Edward Hervey <edward@fluendo.com>
13703 * tests/check/elements/.cvsignore:
13706 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13709 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13710 * tests/check/Makefile.am:
13711 clean up gcov files
13713 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13715 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13716 remove gst_caps_simplify; it was not declared and not used
13717 and deprecated in 0.8
13719 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13721 * docs/faq/gst-uninstalled:
13722 don't put empty paths on PYTHONPATH
13723 * docs/gst/gstreamer-sections.txt:
13724 remove some symbols that are not there
13726 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13728 * gst/gstcaps.c: (gst_caps_compare_structures):
13730 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13731 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13734 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13736 * libs/gst/dataprotocol/Makefile.am:
13737 build dataprotocol test by linking to the lib, instead of
13738 compiling the source, so we get coverage
13739 * tests/check/Makefile.am:
13740 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13741 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13742 add a test for filesrc
13744 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13746 * tests/check/gst/gststructure.c: (GST_START_TEST),
13747 (gst_structure_suite):
13748 Push coverage from 59.04% to 70.00%
13750 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13752 * tests/check/Makefile.am:
13753 gst-inspect every element; this makes sure that we also get
13754 coverage on element's get/set functions
13756 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13759 set CFLAGS and friends to -O0 if gcov is being used
13762 * libs/gst/base/Makefile.am:
13763 * libs/gst/check/Makefile.am:
13764 * libs/gst/controller/Makefile.am:
13765 * libs/gst/dataprotocol/Makefile.am:
13766 * libs/gst/net/Makefile.am:
13767 * plugins/elements/Makefile.am:
13768 * plugins/indexers/Makefile.am:
13769 add makefile rules to generate gcov data and clean up
13770 * tests/check/Makefile.am:
13771 add a coverage target that generates an html overview
13774 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13776 * tests/check/elements/fakesink.c:
13777 * tests/check/elements/fakesrc.c:
13778 * tests/check/elements/fdsrc.c:
13779 * tests/check/elements/identity.c:
13780 * tests/check/generic/sinks.c: (gst_sinks_suite):
13781 * tests/check/generic/states.c:
13782 * tests/check/gst/gst.c:
13783 * tests/check/gst/gstabi.c:
13784 * tests/check/gst/gstbin.c:
13785 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13786 * tests/check/gst/gstbus.c: (gst_bus_suite):
13787 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13788 * tests/check/gst/gstelement.c:
13789 * tests/check/gst/gstevent.c: (gst_event_suite):
13790 * tests/check/gst/gstghostpad.c:
13791 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13792 * tests/check/gst/gstmessage.c: (gst_message_suite):
13793 * tests/check/gst/gstminiobject.c:
13794 * tests/check/gst/gstobject.c:
13795 * tests/check/gst/gstpad.c:
13796 * tests/check/gst/gstpipeline.c:
13797 * tests/check/gst/gstplugin.c:
13798 * tests/check/gst/gstquery.c: (gst_query_suite):
13799 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13800 * tests/check/gst/gststructure.c:
13801 * tests/check/gst/gstsystemclock.c:
13802 * tests/check/gst/gsttag.c:
13803 * tests/check/gst/gsttask.c: (gst_task_suite):
13804 * tests/check/gst/gstutils.c:
13805 * tests/check/gst/gstvalue.c:
13806 * tests/check/libs/adapter.c:
13807 * tests/check/libs/basesrc.c:
13808 * tests/check/libs/collectpads.c:
13809 * tests/check/libs/controller.c:
13810 * tests/check/libs/gdp.c: (gst_dp_suite):
13811 * tests/check/libs/gstnetclientclock.c:
13812 * tests/check/libs/gstnettimeprovider.c:
13813 * tests/check/libs/libsabi.c: (libsabi_suite):
13814 * tests/check/libs/typefindhelper.c:
13815 * tests/check/pipelines/cleanup.c:
13816 * tests/check/pipelines/parse-launch.c:
13817 * tests/check/pipelines/simple-launch-lines.c:
13818 * tests/check/pipelines/stress.c: (stress_suite):
13821 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13823 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13824 * libs/gst/check/gstcheck.h:
13825 create a macro and function so that the simple unit test
13826 case can be just one macro to create main()
13828 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13830 * gst/gstbin.c: (gst_bin_restore_thyself):
13831 * gst/gstxml.c: (gst_xml_make_element):
13832 Fix deserialisation from XML. Set parent manually
13833 instead of using gst_bin_add(), since gst_bin_add()
13834 will unlink all pads of the element being added.
13837 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13839 Patch by: Peter Kjellerstedt <pkj at axis com>
13841 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13842 Fix missing g_strdup() and double free when using the
13843 --gst-plugin-load command line option (#346097).
13845 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13848 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13850 * libs/gst/net/gstnetclientclock.c:
13851 * libs/gst/net/gstnettimeprovider.c:
13852 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13854 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13856 * docs/manual/advanced-dataaccess.xml:
13857 Fix buffer probe example compilation in
13860 2006-06-22 Edward Hervey <edward@fluendo.com>
13862 * gst/gstelement.c: (gst_element_pads_activate):
13863 We need to deactivate src pads first and then sink pads.
13864 The reason is the src pads might be blocking while holding the streaming
13865 lock, so we need to deactivate them first so that deactivating the sink
13866 pads doesn't block (since it will require the streaming lock).
13868 2006-06-22 Wim Taymans <wim@fluendo.com>
13870 * libs/gst/base/gstbasetransform.c:
13871 (gst_base_transform_buffer_alloc):
13872 Forgot to remove two unneeded unrefs.
13873 Simplify a check _is_equal allready checks the obvious case.
13875 2006-06-22 Wim Taymans <wim@fluendo.com>
13877 * docs/design/part-block.txt:
13878 Some docs about what pad_block should do.
13880 2006-06-22 Wim Taymans <wim@fluendo.com>
13882 * gst/gstcaps.c: (gst_caps_replace):
13883 Fix crasher when passed NULL. Doc clarification.
13884 Optimize for the trivial case.
13886 * gst/gstpipeline.c: (gst_pipeline_change_state):
13889 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13890 Small documentation cleanup.
13892 * libs/gst/base/gstbasetransform.c:
13893 (gst_base_transform_buffer_alloc):
13894 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13895 is what we need and it avoids a whole lot of redundant
13896 refcount operations.
13898 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13900 Patch by: Philip Jägenstedt <philip at lysator liu se>
13902 * docs/manual/advanced-dataaccess.xml:
13903 Fix 'Embedding static elements' section to use
13904 GST_PLUGIN_DEFINE_STATIC (#345607).
13906 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13908 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13909 Attempt to 'fix' spuriously failing test case: it seems like the
13910 timeout of half a second is simply too small when the system is under
13911 load otherwise, and the timeout doesn't really seem to serve any
13912 particular purpose here. Give the pipeline a few seconds to preroll
13913 first, and then give it another half a second to go from PAUSED to
13914 PLAYING and marshal the message into the main thread.
13916 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13918 * tools/gst-feedback-m.m:
13919 Don't only use unversioned tools, try versioned tools as well
13922 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13924 * gst/gstbus.c: (gst_bus_class_init):
13925 Fix some typos, make docs more explicit.
13927 2006-06-20 Wim Taymans <wim@fluendo.com>
13929 * tests/check/gst/gstghostpad.c: (block_callback),
13930 (GST_START_TEST), (gst_ghost_pad_suite):
13931 Added some more ghostpad tests, mainly blocking
13934 2006-06-16 Wim Taymans <wim@fluendo.com>
13936 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13937 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13938 (gst_file_sink_event), (gst_file_sink_render):
13939 * plugins/elements/gstfilesink.h:
13940 Check if we can seek in the file instead of assuming
13941 we always can. Post an error when we are asked to seek in a
13942 non-seekable file (like a fifo). Fixes #343312.
13945 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13947 * tools/gst-launch.1.in:
13948 Un-garble (fourcc) bit in filtered caps section.
13950 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13952 * docs/manual/advanced-autoplugging.xml:
13953 * docs/manual/basics-helloworld.xml:
13954 * docs/manual/highlevel-components.xml:
13955 Don't leak bus reference in sample code.
13957 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13960 Add default for new --enable-plugin-docs switch.
13963 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13966 * docs/Makefile.am:
13967 Use new ENABLE_PLUGIN_DOCS conditional.
13969 2006-06-14 Wim Taymans <wim@fluendo.com>
13971 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13972 Make it clear with a FIXME and a real define what the #if 0
13973 previously disabled.
13975 2006-06-14 Wim Taymans <wim@fluendo.com>
13977 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13978 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13979 * libs/gst/base/gstbasetransform.c:
13980 (gst_base_transform_sink_eventfunc):
13981 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13982 Don't randomly and silently reset a segment when the format
13983 changes as this is a bug somewhere upstream. Fixes #330379.
13985 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13987 Patch by: Wouter Paesen <wouter at kangaroot net>
13989 * libs/gst/controller/gstcontroller.c:
13990 (gst_controlled_property_new):
13991 Fix controlling of float properties (#344849).
13993 * tests/check/libs/controller.c:
13994 (gst_test_mono_source_get_property),
13995 (gst_test_mono_source_set_property),
13996 (gst_test_mono_source_class_init), (GST_START_TEST):
13997 While we're at it, add some float stuff to unit test.
13999 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14002 * docs/images/gdp-header.svg:
14004 * docs/libs/Makefile.am:
14005 * docs/libs/gdp-header.png:
14006 * libs/gst/dataprotocol/dataprotocol.c:
14007 add it to the API docs
14008 * docs/manual/intro-motivation.xml:
14011 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14013 * gst/gst.c: (scan_and_update_registry), (init_post):
14014 If the fork()'ed child process can't write the updated registry cache
14015 file to disk for some reason, make it exit with a failure exit code,
14016 so that the parent can then re-scan the plugins itself and update the
14017 registry structures in memory and work with that (rather than failing
14018 when creating elements because seemingly no plugins are available).
14019 Refactor registry scanning code into separate function for this and
14020 also separate fork() and non-fork() code paths. Fixes #344748.
14022 2006-06-13 Wim Taymans <wim@fluendo.com>
14024 * docs/manual/advanced-dataaccess.xml:
14025 Fix wrong PluginDesc. Fixes #344755.
14027 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14029 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14030 Fix silly bug that prevented us from creating
14031 ~/.gstreamer-0.10 and writing the registry in one
14032 go (the first call to g_mkstemp() would overwrite the
14033 placeholder in the template string, so the second call
14034 to g_mkstemp() after creating the missing directory
14035 would then error out with 'invalid argument').
14037 2006-06-13 Edward Hervey <edward@fluendo.com>
14039 * gst/gst.c: (init_post):
14042 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14044 * gst/glib-compat-private.h:
14045 * gst/glib-compat.c:
14046 * gst/glib-compat.h:
14047 * gst/gstvalue.c: (gst_value_serialize_flags):
14048 remove GLib 2.6 compatibility code
14050 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14052 * gst/parse/Makefile.am:
14053 Fix build with 'make -j N' even more (#340016).
14055 2006-06-12 Wim Taymans <wim@fluendo.com>
14057 * docs/gst/gstreamer-sections.txt:
14060 2006-06-12 Wim Taymans <wim@fluendo.com>
14062 * gst/gstsegment.c: (gst_segment_set_duration),
14063 (gst_segment_set_last_stop), (gst_segment_set_seek),
14064 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14065 (gst_segment_to_running_time), (gst_segment_clip):
14066 Use G_UNLIKELY to help the compiler a bit.
14068 2006-06-12 Wim Taymans <wim@fluendo.com>
14070 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14072 * gst/gstevent.c: (gst_event_get_type):
14073 * gst/gstmessage.c:
14074 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14076 constify quark registration strings. Fixes #344115
14077 Avoid unneeded type checking is _pad_push() by internally
14078 calling gst_pad_chain_unchecked().
14080 2006-06-12 Wim Taymans <wim@fluendo.com>
14082 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14083 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14084 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14085 (gst_buffer_is_span_fast), (gst_buffer_span):
14086 Init _type for consistency.
14087 Use _FLAGS macro to avoid type check.
14088 Avoid unneeded type checks in subbufer code.
14090 2006-06-12 Wim Taymans <wim@fluendo.com>
14092 * gst/gst.c: (gst_debug_help):
14093 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14094 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14095 (gst_plugin_feature_list_free):
14096 * gst/gstregistry.c: (gst_registry_add_plugin),
14097 (gst_registry_add_feature), (gst_registry_plugin_filter),
14098 (gst_registry_feature_filter), (gst_registry_find_plugin),
14099 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14100 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14101 * gst/gstregistryxml.c: (load_feature),
14102 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14103 * gst/gstminiobject.c: (gst_mini_object_unref),
14104 (gst_mini_object_replace), (gst_value_mini_object_free),
14105 (gst_value_mini_object_copy):
14106 Use _CAST macros to avoid unneeded type checking.
14107 Added some more G_UNLIKELY.
14109 2006-06-12 Wim Taymans <wim@fluendo.com>
14112 Avoid unneeded type checking.
14113 API: GST_BUFFER_IS_DISCONT
14115 * gst/gstminiobject.h:
14116 Avoid type check in flag accessor.
14118 * gst/gstelementfactory.h:
14120 * gst/gstpluginfeature.h:
14122 API: GST_ELEMENT_FACTORY_CAST
14123 API: GST_PLUGIN_CAST
14124 API: GST_PLUGIN_FEATURE_CAST
14126 2006-06-12 Wim Taymans <wim@fluendo.com>
14128 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14129 (gst_object_unref):
14130 Add G_UNLIKELY in type registration.
14131 Avoid type check in _ref/_unref since that is also
14134 2006-06-12 Wim Taymans <wim@fluendo.com>
14136 * gst/gsterror.c: (gst_g_error_get_type):
14137 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14138 (gst_static_pad_template_get_type):
14139 * gst/gsttaglist.c: (gst_tag_list_get_type):
14140 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14141 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14142 * gst/gsturi.c: (gst_uri_handler_get_type):
14143 * gst/gstvalue.c: (gst_date_get_type):
14144 * gst/gstxml.c: (gst_xml_get_type):
14145 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14146 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14147 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14148 Add G_UNLIKELY in type registration.
14150 2006-06-12 Wim Taymans <wim@fluendo.com>
14152 * tools/gst-inspect.c: (print_signal_info):
14153 Properly print enum values.
14155 2006-06-12 Wim Taymans <wim@fluendo.com>
14157 * gst/gstinfo.c: (gst_debug_set_active),
14158 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14160 Add some G_[UN]LIKELY.
14161 Maintain __gst_debug_min to avoid formatting the arguments of
14162 debug messages that will be dropped anyway to avoid a lot of
14163 overhead from the debugging system.
14165 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14168 * po/POTFILES.skip:
14169 add missing files containing translatable strings, tell intltool about
14172 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14174 * tests/check/libs/.cvsignore:
14175 add test-binary to ignore list
14177 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14179 * docs/libs/gstreamer-libs-docs.sgml:
14180 reorder (put dp into a chapter) and indent
14182 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14187 === release 0.10.8 ===
14189 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14192 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14194 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14196 * gst/gst.c: (init_post):
14197 move pid declaration to declaration block
14199 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14201 * gst/gst.c: (init_post):
14202 use _exit() instead of exit() in our forked child; this ensures
14203 that none of the registered exit handlers from whatever is using
14204 GStreamer get executed. This fixes gnome-mixer-applet failing
14205 to load, because ORBit would shut down.
14206 Spotted by: Edward Hervey <edward@fluendo.com>
14207 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14210 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14215 === release 0.10.7 ===
14217 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14220 releasing 0.10.7, "Soepeke, ik zie ou"
14222 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14245 * win32/common/config.h:
14246 0.10.6.2 prerelease
14248 2006-06-07 Wim Taymans <wim@fluendo.com>
14250 * gst/gstindex.c: (gst_index_gtype_resolver):
14251 * tools/gst-xmlinspect.c: (print_plugin_info):
14252 Fix leak spotted by coverity checker. Fixes #343827
14253 Fix another other leak found by paolo borelli.
14255 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14257 * libs/gst/dataprotocol/dataprotocol.c:
14258 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14259 (gst_dp_version_get_type), (gst_dp_init),
14260 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14261 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14262 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14263 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14264 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14265 (gst_dp_packetizer_free):
14266 * libs/gst/dataprotocol/dataprotocol.h:
14267 API: add a GstDPPacketizer object, and create/free functions
14268 API: add GstDPVersion enum
14269 Add 1.0 event function that uses the string serialization
14270 Serialize more useful buffer flags
14273 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14275 * tests/check/Makefile.am:
14276 * tests/check/gst/gstabi.c:
14277 * tests/check/gst/struct_ppc64.h:
14278 * tests/check/libs/libsabi.c:
14279 * tests/check/libs/struct_ppc64.h:
14280 add ppc64 structure sizes
14282 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14284 * tests/check/Makefile.am:
14285 * tests/check/gst/gstabi.c:
14286 * tests/check/gst/struct_x86_64.h:
14287 * tests/check/libs/libsabi.c:
14288 * tests/check/libs/struct_x86_64.h:
14289 generate and add structure size lists for x86_64
14291 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14293 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14294 * libs/gst/check/gstcheck.h:
14295 factor out the method from tests that checks size of structures,
14296 and add code to generate the header containing these sizes
14297 * tests/check/gst/gstabi.c: (GST_START_TEST):
14298 * tests/check/gst/struct_i386.h:
14299 * tests/check/libs/libsabi.c: (GST_START_TEST):
14300 * tests/check/libs/struct_i386.h:
14303 2006-06-06 Michael Smith <msmith@fluendo.com>
14305 * gst/gstsegment.h:
14306 Don't use c++-style comments, fixes #343929
14308 2006-06-05 Edward Hervey <edward@fluendo.com>
14311 plugin_paths is not used if we build without registry support.
14313 * gst/gstsegment.c: (gst_segment_copy):
14314 _copy() was always returning NULL...
14316 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14318 * libs/gst/dataprotocol/dataprotocol.c:
14319 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14320 (gst_dp_packet_from_event):
14321 factor out CRC code
14323 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14325 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14326 make sure we unset caps
14328 2006-06-02 Michael Smith <msmith@fluendo.com>
14330 * libs/gst/check/gstcheck.c: (gst_check_init),
14331 (gst_check_chain_func):
14332 * libs/gst/check/gstcheck.h:
14333 Add a cond/mutex to the check support lib, signal this whenever we
14334 add to the buffers list. This will allow tests to not busy-wait on
14337 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14339 * libs/gst/dataprotocol/dataprotocol.c:
14340 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14341 (gst_dp_packet_from_event):
14342 factor out some common header init code
14344 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14346 * docs/libs/gstreamer-libs-sections.txt:
14347 * docs/libs/tmpl/gstdataprotocol.sgml:
14348 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14349 * libs/gst/dataprotocol/dataprotocol.h:
14350 API: make gst_dp_crc() public
14352 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14354 * plugins/indexers/gstindexers.c: (plugin_init):
14355 conditionally register fileindexer (fixes #343598)
14357 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14359 * gst/gsttagsetter.h:
14360 Can't cast ifaces to a class
14362 * libs/gst/net/gstnetclientclock.h:
14363 * libs/gst/net/gstnettimeprovider.h:
14364 * plugins/elements/gstfakesink.h:
14365 * plugins/elements/gstfakesrc.h:
14366 * plugins/elements/gstfdsink.h:
14367 * plugins/elements/gstfdsrc.h:
14368 * plugins/elements/gstfilesink.h:
14369 * plugins/elements/gstfilesrc.h:
14370 * plugins/elements/gstidentity.h:
14371 * plugins/elements/gstqueue.h:
14372 * plugins/elements/gsttee.h:
14373 * plugins/indexers/gstfileindex.c:
14374 * plugins/indexers/gstmemindex.c:
14375 * tests/old/examples/plugins/example.h:
14376 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14378 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14380 * libs/gst/dataprotocol/dataprotocol.c:
14381 (gst_dp_header_from_buffer):
14382 make sure we zero the whole ABI-compatible area
14384 2006-06-01 Wim Taymans <wim@fluendo.com>
14386 Patch by: Alessandro Decina <alessandro at nnva dot org>
14388 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14389 Make sure the EOS flag is cleared from pads after a flush
14390 or stop. Fixes #343538.
14392 * tests/check/libs/collectpads.c: (GST_START_TEST),
14393 (gst_collect_pads_suite):
14394 Added test for collectpads reusage after EOS.
14396 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14399 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14400 * win32/common/libgstbase.def:
14401 export gst_collect_pads_set_flushing
14402 * win32/common/libgstreamer.def:
14403 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14404 gst_value_fraction_multiply
14405 * win32/vs6/gst_inspect.dsp:
14406 add a link to intl.lib
14408 2006-05-30 Wim Taymans <wim@fluendo.com>
14410 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14411 (gst_collect_pads_chain):
14412 Handle the case where a pad is removed from the collection
14413 that could cause the other pads to become collectable.
14415 2006-05-30 Wim Taymans <wim@fluendo.com>
14417 * gst/gstelement.c:
14418 Clarify the use of _release_request_pad() and
14419 _get_request_pad() a bit better.
14421 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14422 (gst_adapter_take_buffer):
14423 Fix some doc and comment typos.
14425 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14427 * docs/gst/gstreamer-sections.txt:
14428 * docs/libs/gstreamer-libs-sections.txt:
14429 add declared symbols
14431 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14433 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14434 Add debug that can be enabled using a #define at the top of the file,
14435 for dumping stats about how late/early we were when waking up from
14436 waiting on the clock.
14438 2006-05-30 Wim Taymans <wim@fluendo.com>
14440 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14441 When rebuilding the pad list, don't leak the previous list.
14443 2006-05-30 Wim Taymans <wim@fluendo.com>
14445 Patch by: Lutz Mueller <lutz at topfrose dot de>
14447 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14448 (gst_base_src_get_query_types), (gst_base_src_update_length):
14449 Publish supported query types.
14450 Update last_stop field in get_range mode so the position
14451 query works. Fixes #342321.
14453 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14455 * docs/gst/gstreamer-sections.txt:
14456 * gst/gsttaglist.c: (_gst_tag_initialize):
14457 * gst/gsttaglist.h:
14458 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14460 2006-05-30 Wim Taymans <wim@fluendo.com>
14462 Patch by: Alessandro Decina <alessandro at nnva dot org>
14464 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14465 Unlock mutex when removing an unknown pad.
14468 * tests/check/Makefile.am:
14469 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14470 (push_event), (setup), (teardown), (GST_START_TEST),
14471 (gst_collect_pads_suite), (main):
14472 Added collecpads check, disabled for now as check crashes for
14475 2006-05-29 Wim Taymans <wim@fluendo.com>
14477 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14478 Don't leak pads lists.
14480 2006-05-29 Wim Taymans <wim@fluendo.com>
14482 * docs/libs/gstreamer-libs-sections.txt:
14483 * libs/gst/base/gstcollectpads.c:
14484 (gst_collect_pads_set_flushing_unlocked),
14485 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14486 (gst_collect_pads_stop):
14487 * libs/gst/base/gstcollectpads.h:
14488 API: gst_collect_pads_set_flushing()
14489 Added api to set the pads to flushing, useful for seeking
14490 code in elements using collectpads.
14491 Clear segment when receiving a flush.
14493 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14495 * gst/gst.c: (add_path_func), (init_post):
14496 Don't scan registry paths passed via --gst-plugin-path immediately
14497 (will crash, because absolutely nothing is set up and no types are
14498 registered etc.); do this later in init_post(). Fixes #343057.
14500 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14502 * gst/gst.c: (init_post):
14503 if we have fork, fork while reading/rebuilding the registry
14504 so the parent doesn't take the hit of having all plugins loaded
14505 in memory. Fixes #342777.
14507 Check if we have fork()
14508 * win32/common/config.h.in:
14511 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14513 * plugins/elements/gstelements.c:
14514 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14515 (gst_file_src_init), (gst_file_src_set_property),
14516 (gst_file_src_get_property), (gst_file_src_start):
14517 * plugins/elements/gstfilesrc.h:
14518 API: GstFileSrc::use-mmap
14520 Add a use-mmap property to enable easier testing of all code paths.
14521 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14522 in the absence of gnomevfssrc. (Closes #340501)
14524 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14526 * tools/gst-inspect.c:
14527 Add missing include, removes warning of ngettext not being defined on
14530 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14532 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14533 Handle NULL input and output pointers silently as a failed conversion,
14534 rather than g_warnings.
14536 2006-05-25 Wim Taymans <wim@fluendo.com>
14538 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14539 Initialize variable before using. Fixes #342820.
14541 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14543 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14544 Fix off-by-one bug that would only allow peeks of N-1 bytes
14545 from the start even if the buffer to typefind on contains
14546 in fact N bytes of data (makes vorbis typefinding from a
14547 vorbis identification header buffer work).
14549 * tests/check/Makefile.am:
14550 * tests/check/libs/.cvsignore:
14551 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14552 (gst_typefindhelper_suite), (main), (foobar_typefind),
14554 Add very basic unit test for gst_type_find_helper_for_buffer()
14555 that checks for the problem fixed above.
14557 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14559 * tools/gst-inspect.c: (print_interfaces),
14560 (print_element_properties_info), (print_element_list), (main):
14561 add more translatable strings
14563 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14565 Patch by: Julien Moutte <julien at moutte net>
14567 * docs/gst/gstreamer-sections.txt:
14568 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14570 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14571 (gst_fake_sink_preroll):
14572 * plugins/elements/gstfakesink.h:
14573 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14575 2006-05-23 Wim Taymans <wim@fluendo.com>
14577 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14579 Added _CUSTOM error and success GstFlowReturn that can be
14580 used be elements internally.
14581 Added macro to check for SUCCESS flowreturns.
14582 API: GST_FLOW_CUSTOM_SUCCESS
14583 API: GST_FLOW_CUSTOM_ERROR
14584 API: GST_FLOW_IS_SUCCESS
14586 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14587 Added check for GstFlowReturn sanity.
14589 2006-05-23 Wim Taymans <wim@fluendo.com>
14591 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14593 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14594 (gst_collect_pads_event):
14595 clear/reset segment info in FLUSH_STOP.
14598 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14600 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14601 (gst_collect_pads_check_collected):
14602 Flush queued buffer on _stop(), fixes playing again (#342454)
14604 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14606 * tests/check/gst/gststructure.c: (GST_START_TEST),
14607 (gst_structure_suite):
14608 add a test for a complete structure
14610 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14612 * docs/faq/developing.xml:
14613 * docs/faq/faq.xml:
14614 * docs/faq/troubleshooting.xml:
14615 * docs/faq/using.xml:
14616 Some minor FAQ updates that won't change the fact that
14617 our FAQ is badly structured, full of information hardly
14618 anyone new to GStreamer needs to know and lacking lots
14619 of information people constantly ask for.
14621 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14623 * gst/gstpad.c: (gst_pad_set_caps):
14624 Short-circuit gst_pad_set_caps if setting the existing
14625 caps pointer again, and avoid printing debug and
14626 reffing/unreffing the caps.
14628 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14629 There's actually no need to set the caps before pushing -
14630 the acceptcaps method will handle it anyway.
14632 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14634 * docs/gst/gstreamer-sections.txt:
14635 * win32/common/libgstreamer.def:
14636 * gst/gstutils.c: (gst_element_seek_simple):
14638 API: add gst_element_seek_simple() (#342238).
14640 2006-05-18 Edward Hervey <edward@fluendo.com>
14642 * gst/gsttypefind.c: (gst_type_find_get_type):
14643 * gst/gsttypefind.h:
14644 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14645 registered for GstTypeFind pointers. This allows wrapping the structure
14646 in bindings (i.e. gst-python).
14648 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14650 * gst/gsttagsetter.c:
14651 Docs additions and fixes (see #339918).
14653 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14655 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14656 The caps intersection algorithm can produce multiple copies of the
14657 caps. Until that is fixed, we need to simplify the result to be
14658 sure whether the allowed caps are fixed or not.
14660 * plugins/elements/gstqueue.c: (gst_queue_init),
14661 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14662 (gst_queue_push_one):
14663 Proxied buffer alloc should not set the caps on the source pad.
14664 When pushing buffers, we always accept the caps change that triggers.
14665 This prevents negotiation errors caused by caps changing mid-stream
14666 and then being refused on our source pad (because upstream is now
14667 refusing those caps).
14669 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14671 * tests/examples/helloworld/helloworld.c: (main):
14672 Must plug audioconvert and audioresample between decoder
14675 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14677 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14678 (load_feature), (load_plugin):
14679 Allow empty strings for some of the plugin fields so we don't
14680 drop valid plugin entries that were written out correctly
14683 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14685 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14686 Use g_remove and g_rename instead of remove and rename that don't
14687 handle utf8 characters. rename was failing for users who had specific
14688 characters in their name then the registry was built at each
14690 * win32/vs6/gst_inspect.dsp:
14691 * win32/vs6/gst_launch.dsp:
14692 * win32/vs6/libgstbase.dsp:
14693 * win32/vs6/libgstcoreelements.dsp:
14694 * win32/vs6/libgstreamer.dsp:
14695 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14696 build of libgstreamer and clean unused libraries in projects link
14699 2006-05-17 Edward Hervey <edward@fluendo.com>
14701 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14702 The queue is not responsible for pushing an EOS when receiving a fatal
14703 flow error. It's up to the real element driving the pipeline to do that.
14705 2006-05-16 Edward Hervey <edward@fluendo.com>
14707 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14708 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14709 buffer returned a fatal error. It should just send an EOS and stop
14711 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14712 when pushing buffers on the queue and will be able to handle the event.
14714 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14716 * docs/manual/basics-bins.xml:
14717 * docs/manual/basics-init.xml:
14718 Fix typos and minor errors in sample code (#341856).
14720 2006-05-16 Wim Taymans <wim@fluendo.com>
14722 * docs/design/part-qos.txt:
14723 Fix indexes in formulas to make more sense.
14725 2006-05-15 Wim Taymans <wim@fluendo.com>
14727 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14728 Don't report POSITION based on clock time if sync is
14729 disabled in a sink.
14731 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14734 Add cast to make compiler happy - refcount variable was a gint
14735 in GstObject but is a guint in GObject and g_atomic_int_get()
14738 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14740 * gst/parse/Makefile.am:
14741 chain commands using &&, which also makes parallel make work
14743 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14745 * docs/gst/gstreamer-sections.txt:
14748 * gst/gstmessage.h:
14751 === release 0.10.6 ===
14753 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14756 releasing 0.10.6, "Take the cannoli"
14758 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14760 * tools/gst-launch.c: (print_tag):
14761 Fix use of uninitialized variable in the hypothetical
14762 case that some broken plugin creates a GST_TAG_IMAGE
14763 tag containing a NULL buffer (#341667).
14765 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14767 * tools/gst-launch.c: (print_tag):
14768 Print something more intelligible for image tags when
14769 using the -t switch (#341556).
14771 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14776 define GST_MAJORMINOR so we have it available in win32/common/config.h
14777 Possibly remove it from our Makefile.am files later
14778 * win32/common/config.h:
14779 * win32/common/config.h.in:
14780 added GST_MAJORMINOR
14781 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14782 * win32/common/gstversion.h:
14785 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14788 Update win32 files listing.
14789 * win32/common/gstversion.h:
14790 Add GST_MAJORMINOR definition.
14791 * win32/common/libgstreamer.def:
14792 Add new exported functions.
14794 2006-05-12 Michael Smith <msmith@fluendo.com>
14796 * gst/gstplugin.c: (gst_plugin_load_file):
14797 If an so file has no plugin entry point, unload the module.
14799 2006-05-11 Wim Taymans <wim@fluendo.com>
14801 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14802 (gst_queue_set_property):
14803 Don't forget to signal the _chain or _loop function
14804 when the queue size or thresholds change since that might
14805 cause them to make progres again.
14807 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14809 * gst/gstclock.c: (gst_clock_class_init):
14810 * gst/gstindex.c: (gst_index_class_init):
14811 * gst/gstobject.c: (gst_object_class_init):
14812 * gst/gstpad.c: (gst_pad_class_init):
14813 * gst/gstpipeline.c: (gst_pipeline_class_init):
14814 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14815 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14816 * libs/gst/base/gstbasetransform.c:
14817 (gst_base_transform_class_init):
14818 * libs/gst/net/gstnetclientclock.c:
14819 (gst_net_client_clock_class_init):
14820 * libs/gst/net/gstnettimeprovider.c:
14821 (gst_net_time_provider_class_init):
14822 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14823 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14824 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14825 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14826 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14827 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14828 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14829 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14830 * plugins/elements/gsttee.c: (gst_tee_class_init):
14831 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14832 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14833 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14835 2006-05-11 Wim Taymans <wim@fluendo.com>
14837 * gst/gstbuffer.c: (_gst_buffer_initialize):
14838 Register subbufer along with the buffer type so that
14839 it does not accidentally gets registered from N
14840 different streaming threads in a non threadsafe way.
14842 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14846 * gst/gstmessage.h:
14847 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14848 gst_event_ref() and gst_message_ref() functions again
14849 (ugly hack, please do fix if there's a better way besides
14850 overrides.txt, which doesn't seem to work).
14852 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14854 * libs/gst/check/gstcheck.h:
14855 add an assert for setting state to avoid lots of repetitive code
14858 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14860 * gst/gstvalue.c: (gst_value_serialize_flags):
14861 fix a leak if no flags are set
14862 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14865 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14867 * docs/manual/basics-pads.xml:
14868 Expand a bit on caps and filtered links and update
14869 examples that were still using the no longer existing
14870 gst_pad_link_filtered() (#338206).
14872 2006-05-10 Wim Taymans <wim@fluendo.com>
14874 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14875 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14876 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14877 (gst_collect_pads_stop):
14878 * libs/gst/base/gstcollectpads.h:
14879 No need to call _stop in _finalize.
14880 Iterate the main pad list in _finalize.
14881 Added some more debug.
14882 Free lists and data in the right order.
14883 Also free data whem doing _remove_pad when stopped for
14884 backward compatibility protect ::started with PAD_LOCK as
14887 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14889 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14890 (gst_structure_parse_value):
14892 rename a method so that it actually says what it does better
14894 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14896 * gst/gstevent.c: (_gst_event_initialize):
14897 * gst/gstformat.c: (_gst_format_initialize):
14898 make sure some essential types used by events are registered
14899 as part of gst_init()
14900 * gst/gstvalue.c: (gst_value_serialize_flags):
14901 if no flags are set, serialize them to a value that represents NONE
14902 so that deserializing them works
14903 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14904 add tests for serialization and deserialization of flags
14906 2006-05-10 Wim Taymans <wim@fluendo.com>
14908 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14909 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14910 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14911 (gst_collect_pads_event), (gst_collect_pads_chain):
14914 Catch and return errors from the collect function
14915 Refuse data on eos pads.
14917 2006-05-10 Edward Hervey <edward@fluendo.com>
14919 * gst/gstinterface.h:
14920 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14921 GInterface type checking.
14922 They were previously using non-defined macros.
14924 2006-05-09 Wim Taymans <wim@fluendo.com>
14926 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14927 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14928 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14929 (gst_collect_pads_start), (gst_collect_pads_stop),
14930 (gst_collect_pads_peek), (gst_collect_pads_pop),
14931 (gst_collect_pads_available), (gst_collect_pads_read),
14932 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14933 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14934 (gst_collect_pads_chain):
14935 * libs/gst/base/gstcollectpads.h:
14936 Clean up the mess that is collectpads, add comments and
14937 FIXMEs where needed.
14938 Maintain a separate pad list so we can add pads while
14939 collecting the other ones. For this we need a new separate
14941 Fix memory leak in finalize.
14942 Refactor some weird code to set/unset pad flushing flags, mark
14944 Don't crash in _available, _read, _flush when we're EOS.
14946 * tests/check/libs/.cvsignore:
14947 Ignore adapter check binary.
14949 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14951 * gst/gstindex.c: (gst_index_resolver_get_type):
14952 * plugins/elements/gstfakesink.c:
14953 (gst_fake_sink_state_error_get_type):
14954 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14955 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14956 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14957 Const-ify GEnumValue arrays.
14959 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14961 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14962 Add test case for flags + gst_buffer_make_metadata_writable().
14964 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14966 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14967 gst_buffer_make_metadata_writable() should maintain the
14968 buffer flags (those that make sense at least) (see #340859).
14970 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14972 * tools/gst-inspect.c:
14973 * tools/gst-launch.c:
14974 * tools/gst-typefind.c:
14975 * tools/gst-xmlinspect.c:
14977 Fix up includes: need to include stdlib.h in tools.h for exit().
14979 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14981 * gst/gsttaglist.c: (_gst_tag_initialize):
14982 * gst/gsttaglist.h:
14983 API: add GST_TAG_IMAGE tag (#340721).
14985 2006-05-08 Wim Taymans <wim@fluendo.com>
14988 Added some docs for the segment query.
14990 2006-05-08 Wim Taymans <wim@fluendo.com>
14992 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14993 (gst_base_src_loop), (gst_base_src_change_state):
14994 Always push non-flushing serialized events in the streaming
14997 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
14999 * gst/gsterror.c: (_gst_stream_errors_init):
15000 Add a missing error string.
15002 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15004 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15005 Add applied_rate to the debug
15007 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15008 Copy applied_rate into the outgoing NEWSEGMENT event
15010 2006-05-08 Wim Taymans <wim@fluendo.com>
15012 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15014 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15015 (gst_base_sink_change_state):
15016 call ::unlock before taking the PREROLL_LOCK so we can safely
15017 handle elements that lock in ::render.
15020 2006-05-08 Edward Hervey <edward@fluendo.com>
15022 * autogen.sh: (CONFIGURE_DEF_OPT):
15023 Darwin's libtoolize is in fact called glibtoolize.
15024 Adding glibtoolize to the list of accepted names for libtoolize.
15026 2006-05-08 Wim Taymans <wim@fluendo.com>
15028 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15029 Unify error handling, don't post an error message
15030 when a push() returns EOS but perform our normal EOS
15031 handling code. Fixes #340772.
15033 2006-05-08 Wim Taymans <wim@fluendo.com>
15035 * docs/design/part-overview.txt:
15036 Make upsteam/downstream concepts more clear.
15037 Give an example of serialized/non-serialized events.
15039 * docs/design/part-events.txt:
15040 * docs/design/part-streams.txt:
15041 Mention applied_rate.
15043 * docs/design/part-trickmodes.txt:
15044 Mention applied rate, flesh out some more use cases.
15046 * gst/gstevent.c: (gst_event_new_new_segment),
15047 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15048 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15049 (gst_event_parse_tag), (gst_event_new_buffer_size),
15050 (gst_event_parse_buffer_size), (gst_event_new_qos),
15051 (gst_event_parse_qos), (gst_event_parse_seek),
15052 (gst_event_new_navigation):
15054 Add applied_rate field to NEWSEGMENT event.
15055 API: gst_event_new_new_segment_full()
15056 API: gst_event_parse_new_segment_full()
15058 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15059 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15060 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15061 * gst/gstsegment.h:
15062 Add applied_rate to GstSegment structure.
15063 Make calculation of stream_time and running_time more correct
15064 wrt rate/applied_rate.
15065 Add some more docs.
15066 API: GstSegment::applied_rate field
15067 API: gst_segment_set_newsegment_full();
15069 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15070 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15071 * libs/gst/base/gstbasetransform.c:
15072 (gst_base_transform_sink_eventfunc),
15073 (gst_base_transform_handle_buffer):
15074 Parse and use applied_rate in the GstSegment field.
15076 * tests/check/gst/gstevent.c: (GST_START_TEST):
15077 Add check for applied_rate field.
15079 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15080 (gstsegments_suite):
15081 Add more checks for various GstSegment operations.
15083 2006-05-08 Wim Taymans <wim@fluendo.com>
15085 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15086 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15087 (gst_base_sink_get_position), (gst_base_sink_change_state):
15088 Store the sync time of the buffer end position separatly in a
15089 new variable eos_rtime so we can properly sync the EOS event.
15091 Fix the docs for gst_base_sink_set_qos_enabled().
15092 Don't set segment start to invalid value when we receive a
15093 non TIME newsegment.
15094 get closer to handling position reporting for negative rates
15097 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15100 Docs about how to print caps for debug purposes.
15102 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15103 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15105 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15107 * gst/gstelement.c:
15108 use full enum names and preprend a '%' in docs strings to make recent
15109 gtk-doc turn that into a link
15111 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15113 * docs/manual/basics-bins.xml:
15114 * docs/manual/basics-bus.xml:
15115 * docs/manual/basics-pads.xml:
15116 Some typo fixes, some additions, some clarifications.
15118 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15120 * tools/gst-inspect.c: (main):
15121 * tools/gst-launch.c: (main):
15122 * tools/gst-run.c: (main):
15123 * tools/gst-typefind.c: (main):
15124 * tools/gst-xmlinspect.c: (main):
15125 Use the string passed to g_option_context_new() for
15126 what it's intended for - the program name is already
15129 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15131 * tools/Makefile.am:
15132 * tools/gst-inspect.c: (main):
15133 * tools/gst-launch.c: (main):
15134 * tools/gst-xmlinspect.c: (main):
15136 Add back --version command line option (#340460).
15138 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15139 Add --version option and use GOption for argument parsing; refactor a
15140 bit; accept directories as arguments and recurse into them; lastly,
15141 print a decent error message when things go wrong.
15143 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15145 * docs/manual/basics-bins.xml:
15146 Don't mention GstThread (#340611)
15147 * docs/manual/basics-elements.xml:
15148 Update link to GObject tutorial (#340607)
15150 2006-05-05 Wim Taymans <wim@fluendo.com>
15153 * gst/gstminiobject.c:
15154 Add note about refcounting and miniobject/buffer writeability
15155 to docs. Fixes #340604
15157 * gst/gstelementfactory.h:
15158 Added some explanation about @klass.
15160 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15162 * docs/manual/intro-motivation.xml:
15163 * docs/manual/manual.xml:
15164 Avoid CORBA & Bonobo references (#340598)
15166 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15168 * docs/manual/basics-bus.xml:
15169 * docs/manual/basics-pads.xml:
15170 Fix up some inaccuracies and omissions (#340609)
15172 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15174 * gst/gstghostpad.c:
15175 Small typo in docs (#340625)
15177 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15179 * gst/parse/Makefile.am:
15180 Make 'make -j' proof (see #340698).
15182 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15185 Require GLib-2.8 here as well.
15187 2006-05-05 Wim Taymans <wim@fluendo.com>
15189 * gst/glib-compat.c:
15190 * gst/gst.c: (init_pre):
15191 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15192 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15193 (gst_object_dispatch_properties_changed):
15195 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15196 * gst/gststructure.c: (gst_structure_set_valist):
15197 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15198 Remove pre glib2.8 compatibility, fixes #340508
15200 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15202 * gst/gsttaglist.h:
15203 Mention type of tags in doc blurbs.
15205 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15207 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15208 (gst_pad_configure_src), (gst_pad_push):
15209 Restore acceptcaps checking behaviour now that good plugins have
15212 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15214 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15221 * gst/gstmessage.c:
15225 * gst/parse/Makefile.am:
15226 * libs/gst/base/gstadapter.c:
15227 * libs/gst/base/gstbasesrc.c:
15228 * libs/gst/base/gstpushsrc.c:
15229 * libs/gst/base/gsttypefindhelper.c:
15230 * plugins/elements/gstfakesrc.c:
15231 * plugins/elements/gstidentity.c:
15232 Make sure gstprivate.h and/or config.h are
15233 always included first, otherwise some of our
15234 defines (like _FILE_OFFSET_BITS) might be
15235 redefined in the system headers. Fixes build
15236 on opensolaris (#340016).
15238 2006-05-04 Wim Taymans <wim@fluendo.com>
15240 * docs/libs/gstreamer-libs-sections.txt:
15241 API: addition: gst_adapter_take_buffer()
15243 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15244 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15245 (gst_adapter_available_fast):
15246 * libs/gst/base/gstadapter.h:
15247 Prepare for optimizing the hell out of this hugely inefficient
15249 Added gst_adapter_take_buffer() so we can at least start thinking
15250 about subbuffering and merging.
15251 Added some comments.
15253 * tests/check/Makefile.am:
15254 * tests/check/libs/adapter.c: (GST_START_TEST),
15255 (gst_adapter_suite), (main):
15256 Added GstAdapter check.
15258 2006-05-04 Wim Taymans <wim@fluendo.com>
15260 * docs/design/part-overview.txt:
15261 Fix some typos, add blurb about buffer flags.
15263 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15265 * docs/libs/gstreamer-libs-sections.txt:
15266 make sure GstBaseTransformClass shows up in the docs
15267 * libs/gst/base/gstbasetransform.c:
15268 * libs/gst/base/gstbasetransform.h:
15269 move docs so gtk-doc picks it up now
15271 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15273 * docs/libs/gstreamer-libs-sections.txt:
15274 add missing symbols to docs
15276 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15278 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15279 back out the newsegment handling change, see #340060 for ongoing
15282 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15284 * tools/gst-run.c: (get_candidates), (main):
15285 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15286 work); fix typo in error message. Fixes #340079.
15288 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15290 * common/Makefile.am:
15291 * docs/Makefile.am:
15292 * docs/faq/Makefile.am:
15293 * docs/gst/Makefile.am:
15294 * docs/libs/Makefile.am:
15295 * docs/manual/Makefile.am:
15296 * docs/plugins/Makefile.am:
15297 * docs/pwg/Makefile.am:
15298 * docs/slides/Makefile.am:
15300 * common/upload.mak:
15301 move upload.mak to common
15303 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15305 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15306 add more asserts on refcounts
15307 do more cleanup at end of tests
15308 fix test leaks showing in FC5
15310 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15312 * plugins/elements/gsttypefindelement.c:
15313 (gst_type_find_element_handle_event):
15314 reverted wrong change and reflowed code to avoid others falling into
15317 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15319 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15320 fix changelog entry about last collectpads change,
15321 add notes about proper fix
15323 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15326 * gst/gstregistry.c: (gst_registry_scan_path_level),
15327 (gst_registry_scan_path):
15328 * gst/gstregistry.h:
15329 only write out registry if it has changed, fixes #338339
15331 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15334 * gst/gstpipeline.c:
15335 * plugins/elements/gstcapsfilter.c:
15336 * plugins/elements/gstfakesink.c:
15337 * plugins/elements/gstfakesrc.c:
15338 * plugins/elements/gstfdsink.c:
15339 * plugins/elements/gstfdsrc.c:
15340 * plugins/elements/gstfilesink.c:
15341 * plugins/elements/gstfilesrc.c:
15342 * plugins/elements/gstidentity.c:
15343 * plugins/elements/gstqueue.c:
15344 * plugins/elements/gsttee.c:
15345 * plugins/elements/gsttypefindelement.c:
15346 (gst_type_find_element_handle_event):
15347 make GstElementDetails const
15349 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15351 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15352 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15353 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15354 more detailed debug and formatting cleanup,
15355 forward newsegments to src-pad (so that e.g. adder not eats them)
15357 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15359 * gst/gstutils.c: (gst_element_link_pads):
15360 cleanup double code
15362 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15364 * libs/gst/controller/gstcontroller.c:
15365 (gst_controller_sync_values):
15367 * tests/check/libs/controller.c: (GST_START_TEST),
15368 (gst_controller_suite):
15369 a new test for live value handling
15371 2006-04-28 Wim Taymans <wim@fluendo.com>
15373 * gst/gstutils.c: (push_and_ref):
15374 Added some more docs.
15375 Fix refcount issue whith gst_element_found_tags() helper
15376 function. Fixes #338335
15378 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15379 Added testsuite for gst_element_found_tags().
15381 2006-04-28 Michael Smith <msmith@fluendo.com>
15383 * gst/gstvalue.c: (gst_value_serialize_flags):
15384 Avoid NULL dereference when trying to serialize flags containing
15387 2006-04-28 Michael Smith <msmith@fluendo.com>
15389 * plugins/elements/gsttypefindelement.c:
15390 (gst_type_find_element_handle_event):
15391 If we get EOS before any data is accumulated, don't use
15392 uninitialised local variables.
15394 2006-04-28 Michael Smith <msmith@fluendo.com>
15396 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15397 (gst_dp_event_from_packet):
15398 Fixes in reading/writing events over GDP (not currently used?) -
15399 dereferencing NULL events for unknown/invalid event types, memory
15400 leak, and change g_warning to GST_WARNING.
15402 2006-04-28 Wim Taymans <wim@fluendo.com>
15404 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15405 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15406 (gst_base_sink_get_position), (gst_base_sink_change_state):
15407 When frame dropping is enabled, we should not ignore frames
15408 without a duration.
15409 Update some documentation.
15411 2006-04-28 Wim Taymans <wim@fluendo.com>
15413 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15414 (gst_base_src_send_event), (gst_base_src_change_state):
15415 Documentation updates.
15417 2006-04-28 Wim Taymans <wim@fluendo.com>
15419 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15420 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15421 handle EAGAIN, EINTR and short writes correctly. Also clean
15422 up some error cases, avoid a deadlock on bad file descriptors and
15423 use GST_DEBUG_OBJECT.
15426 2006-04-28 Wim Taymans <wim@fluendo.com>
15428 * gst/gstvalue.c: (gst_value_serialize_buffer),
15429 (gst_value_deserialize_buffer):
15430 Don't try to serialize a GValue with a NULL buffer.
15433 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15434 Added check for serialisation of NULL buffers.
15436 2006-04-28 Wim Taymans <wim@fluendo.com>
15438 * gst/gstminiobject.c: (gst_value_take_mini_object):
15439 Taking a NULL miniobject is valid, fix the case where
15440 we try to unref the NULL miniobject.
15442 2006-04-28 Wim Taymans <wim@fluendo.com>
15444 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15446 * gst/gstbin.c: (gst_bin_handle_message_func):
15448 Don't leak bin refcount when a state recalc is
15449 in progress and we delay another one #339808.
15451 2006-04-28 Wim Taymans <wim@fluendo.com>
15453 * docs/design/part-TODO.txt:
15454 Mention QoS as an ongoing work item.
15456 * docs/design/part-buffering.txt:
15457 New doc about buffering that needs to be fleshed out
15460 * docs/design/part-qos.txt:
15461 More QoS policy for decoders/demuxers/transforms
15463 * docs/design/part-trickmodes.txt:
15466 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15471 === release 0.10.5 ===
15473 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15476 releasing 0.10.5, "Fogo"
15478 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15480 patch by: Wim Taymans
15482 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15483 (gst_pad_configure_src), (gst_pad_push):
15484 * gst/gstpipeline.c: (gst_pipeline_init):
15485 Fix internal data flow errors. Fixes #338711.
15487 2006-04-12 Wim Taymans <wim@fluendo.com>
15489 * tests/check/gst/gstelement.c: (GST_START_TEST):
15490 Don't leak the factory.
15492 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15495 * win32/common/config.h:
15498 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15500 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15501 (gst_controller_unset_all):
15502 Free allocated GstTimedValues when freeing list nodes.
15503 Should fix leaks 'make check-valgrind' complains about.
15505 * win32/common/libgstcontroller.def:
15506 Add gst_controller_unset_all.
15508 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15510 * docs/libs/gstreamer-libs-sections.txt:
15511 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15512 (gst_controller_unset_all):
15513 * libs/gst/controller/gstcontroller.h:
15514 API: Added new method gst_controller_unset_all()
15515 fixed gst_controller_unset()
15516 * tests/check/libs/controller.c: (GST_START_TEST),
15517 (gst_controller_suite):
15518 Added two testcases for new and fixed method
15520 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15522 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15523 MSG_DONTWAIT is not defined on Cygwin, so work
15524 around that (fixes #317048).
15526 2006-04-11 Wim Taymans <wim@fluendo.com>
15528 * gst/gstelementfactory.c: (gst_element_register),
15529 (gst_element_factory_create), (gst_element_factory_make):
15532 Updated docs (Fixes #131079)
15534 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15537 * tests/check/gst/gstelement.c: (GST_START_TEST),
15538 (gst_element_suite):
15539 Added testcase for elementfactory class field.
15541 2006-04-10 Wim Taymans <wim@fluendo.com>
15543 * gst/gstsegment.c:
15544 Added some more docs.
15546 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15547 (gst_base_sink_reset_qos):
15548 Calculate more accurate rate values.
15550 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15552 * gst/gst_private.h:
15553 add a new #ifdef to use __declspec(dllimport) only for
15554 other modules and not for gstreamer core
15555 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15556 use gst_guint64_to_gdouble for conversion
15557 * win32/common/libgstreamer.def:
15558 add new exported functions
15559 * win32/vs6/gst_inspect.dsp:
15560 * win32/vs6/gst_launch.dsp:
15561 * win32/vs6/libgstbase.dsp:
15562 * win32/vs6/libgstcontroller.dsp:
15563 * win32/vs6/libgstcoreelements.dsp:
15564 * win32/vs6/libgstdataprotocol.dsp:
15565 * win32/vs6/libgstnet.dsp:
15566 update project files
15568 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15570 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15571 * gst/gstclock.c: (gst_clock_class_init):
15572 * gst/gstelement.c: (gst_element_class_init):
15573 * gst/gstindex.c: (gst_index_class_init):
15574 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15575 * gst/gstobject.c: (gst_object_class_init),
15576 (gst_signal_object_class_init):
15577 * gst/gstpad.c: (gst_pad_class_init):
15578 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15579 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15580 * gst/gstregistry.c: (gst_registry_class_init):
15581 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15582 * gst/gsttask.c: (gst_task_class_init):
15583 * gst/gstxml.c: (gst_xml_class_init):
15584 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15585 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15586 (gst_base_src_loop):
15587 * libs/gst/controller/gstcontroller.c:/
15588 (_gst_controller_class_init):
15589 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15590 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15591 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15592 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15593 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15594 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15596 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15598 * gst/gstpad.c: (gst_pad_link):
15599 Must set peer pads before calling the link function, otherwise
15600 a task started from a link function might get a flow-not-linked
15601 result when trying to push because the other thread where the
15602 linking happens hasn't had a chance to set the peers yet. This
15603 might happen for example when a queue gets linked to a downstream
15604 element, as queue starts a streaming task when its source pad
15605 gets linked. Happens in real life when playing back flac/musepack
15606 files in playbin (#332390).
15608 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15612 * libs/gst/base/gstadapter.h:
15613 * libs/gst/base/gstbasesink.h:
15614 * libs/gst/base/gstbasesrc.h:
15615 * libs/gst/base/gstbasetransform.h:
15616 * libs/gst/base/gstcollectpads.h:
15617 * libs/gst/base/gstpushsrc.h:
15618 Fix broken GObject macros
15620 2006-04-07 Wim Taymans <wim@fluendo.com>
15622 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15623 Initialize start and stop times, thanks valgrind.
15625 2006-04-07 Wim Taymans <wim@fluendo.com>
15627 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15628 Be a bit nicer to badly behaving upstream elements that expect
15629 us to deal with non TIME segments and timestamps (such as fakesrc
15632 2006-04-07 Wim Taymans <wim@fluendo.com>
15635 Small documentation clarification about the signal watch.
15637 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15638 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15639 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15640 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15641 (gst_base_sink_get_position_last),
15642 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15643 Convert and store timestamps in stream time and running time, the
15644 raw timestamps are not useful, also document this better.
15645 Use different window sizes for good and bad QoS observations so
15646 we react to badness a little quicker.
15647 Keep track of the amount of rendered and dropped buffers.
15648 Send QoS timestamps in running time.
15650 * libs/gst/base/gstbasetransform.c:
15651 (gst_base_transform_sink_eventfunc),
15652 (gst_base_transform_handle_buffer):
15653 Compare QoS timestamps against running time.
15655 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15658 Typo fixes in docs.
15660 2006-04-06 Michael Smith <msmith@fluendo.com>
15662 * gst/gstpad.c: (gst_pad_set_property):
15663 Use g_value_get_object() instead of g_value_dup_gst_object(),
15664 to avoid double-reffing the pad template (which we then sink,
15665 so this worked previously if (and only if) the pad template
15668 * gst/gstpadtemplate.c: (gst_pad_template_init),
15669 (gst_pad_template_pad_created):
15670 Never return floating references to pad templates, create
15671 them as initially-sunken.
15673 Document an extra function (and make this stop sinking our
15674 pad template, since that is now guaranteed to do nothing,
15675 since we created it sunken).
15677 * gst/gstghostpad.c:
15680 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15682 * gst/gstinfo.c: (__gst_in_valgrind):
15685 * plugins/elements/gsttypefindelement.c:
15686 (gst_type_find_element_chain):
15687 Don't leak buffer caps.
15689 2006-04-06 Michael Smith <msmith@fluendo.com>
15691 * gst/parse/grammar.y:
15692 Fix a leak in parse-launch for any source-or-sink named element
15695 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15696 Unref the pipeline if it exists after we've failed parsing.
15698 2006-04-05 Michael Smith <msmith@fluendo.com>
15700 * gst/gstpipeline.c: (gst_pipeline_init):
15701 When we create a pipeline bus, initially create it in flushing mode.
15702 Fixes leaks in at least one test, and makes a new pipeline work the
15703 same as one that has gone to READY and then back to NULL.
15705 * gst/gstelement.c:
15708 2006-04-05 Michael Smith <msmith@fluendo.com>
15710 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15711 Unref a pad we reffed.
15712 * tests/check/gst/gstutils.c: (GST_START_TEST):
15715 2006-04-05 Michael Smith <msmith@fluendo.com>
15717 * gst/gstquery.c: (gst_query_set_formats),
15718 (gst_query_set_formatsv):
15719 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15721 2006-04-05 Michael Smith <msmith@fluendo.com>
15723 * tests/check/generic/sinks.c: (GST_START_TEST):
15724 Fix a variety of memleaks in sinks check, which are only sometimes
15725 shown by running the tests under valgrind (weird?).
15727 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15729 * docs/version.entities.in:
15730 Fix the substituted entity name after thomas' changes on the
15733 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15735 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15738 2006-04-05 Andy Wingo <wingo@pobox.com>
15740 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15742 * libs/gst/base/gstbasetransform.c
15743 (gst_base_transform_sink_eventfunc): When resetting our segment on
15744 FLUSH_STOP, also update the flag saying we haven't seen a
15747 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15749 Patch by: Paolo Borelli <pborelli at katamail dot com>
15751 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15752 (gst_plugin_check_license):
15753 minor clean-ups: G_DEFINE_TYPE already takes care of the
15754 parent_class stuff, no need to do it twice. Mark array of
15755 license strings as constant. (#337103)
15757 2006-04-04 Michael Smith <msmith@fluendo.com>
15759 * tools/gst-inspect.c: (print_element_list):
15760 Free the right plugin list; fixes a memory leak.
15762 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15764 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15766 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15767 Don't error out on empty buffers (#336945).
15769 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15771 * docs/libs/gstreamer-libs-sections.txt:
15772 * gst/gsttaglist.c:
15773 * libs/gst/base/gstbasesink.c:
15774 * libs/gst/base/gstbasesink.h:
15775 * libs/gst/base/gstbasesrc.c:
15776 * libs/gst/base/gstbasesrc.h:
15777 Documentation updates. Make BaseSink and BaseSrc docs contain the
15778 class structure so that people can actually see the prototypes for
15779 virtual functions they're supposed to be overriding.
15781 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15783 * plugins/elements/gsttypefindelement.c:
15784 (gst_type_find_element_chain):
15785 More debug info; when skipping typefinding, send cached
15786 events in all cases.
15788 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15791 use new AS_VERSION and AS_NANO macros
15792 * gst/gst-i18n-lib.h:
15795 * gst/gstversion.h.in:
15796 * win32/common/config.h:
15797 * win32/common/config.h.in:
15800 2006-03-31 Michael Smith <msmith@fluendo.com>
15802 * plugins/elements/gsttypefindelement.c:
15803 (gst_type_find_element_chain):
15804 Do not typefind content if the buffers already have caps.
15805 Neccesary for icydemux (#333657), and the right thing to do anyway.
15807 2006-03-30 Wim Taymans <wim@fluendo.com>
15809 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15810 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15811 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15812 (gst_base_sink_record_qos_observation),
15813 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15814 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15815 (gst_base_sink_change_state):
15816 More QoS measurements as described in the design doc.
15817 Get rid of ringbuffer with observations, running average is
15818 more simple and equally good.
15819 Calculates valid proportion now.
15820 Added beginning of flood measurement.
15822 2006-03-29 Wim Taymans <wim@fluendo.com>
15824 * docs/design/part-qos.txt:
15826 Small documentation updates and additions.
15828 2006-03-29 Wim Taymans <wim@fluendo.com>
15830 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15831 (gst_base_src_send_event), (gst_base_src_loop),
15832 (gst_base_src_change_state):
15833 Perform the EOS logic when we reach the segment stop position.
15834 Fix compilation on gcc4.1
15836 2006-03-29 Wim Taymans <wim@fluendo.com>
15838 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15840 * plugins/elements/gstqueue.c: (gst_queue_init),
15841 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15842 (gst_queue_set_property):
15843 * plugins/elements/gstqueue.h:
15844 In queue, when EOS is received, if minimum threshold > max_size -
15845 current_level, there is chance that queue blocks forever in conditional
15846 item del wait. This is because the queue is not emptied completely due
15847 to minimum threshold. Here is another approach. Instead of setting
15848 cur_levels to max in EOS, just zero all minimum threshold levels. This
15849 should make sure that queue gives out all data. When going to READY
15850 (stop) state, just reset the original minimum threshold levels.
15853 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15855 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15856 (gst_type_find_element_handle_event),
15857 (gst_type_find_element_send_cached_events),
15858 (gst_type_find_element_change_state):
15859 * plugins/elements/gsttypefindelement.h:
15860 When typefinding is done in push mode, we should cache
15861 events we receive during typefinding instead of just
15862 dropping them (e.g. newsegment, custom events from
15863 dvdreadsrc etc.) and then send them out once we've
15864 determined the type of the stream (and decodebin
15865 has had a chance to plug in a decoder/demuxer).
15867 2006-03-27 Wim Taymans <wim@fluendo.com>
15869 * docs/design/part-qos.txt:
15872 2006-03-27 Wim Taymans <wim@fluendo.com>
15874 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15876 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15877 (gst_base_src_send_event), (gst_base_src_change_state):
15878 Handle element seek correctly when we are streaming.
15881 2006-03-24 Michael Smith <msmith@fluendo.com>
15883 * docs/faq/gst-uninstalled:
15884 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15885 allow you to correctly run intalled applications built against old
15886 core, using plugins that require updated core (e.g. running
15887 installed totem against a full uninstalled gstreamer stack)
15889 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15891 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15894 2006-03-24 Wim Taymans <wim@fluendo.com>
15896 * docs/gst/gstreamer-sections.txt:
15897 Rearrange the order of the methods so that related methods
15898 are grouped together in sections.
15900 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15902 * gst/gstelement.c:
15903 Little clarification in the docs
15905 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15909 * plugins/elements/gstidentity.c:
15910 * plugins/elements/gstqueue.c:
15911 * plugins/elements/gsttee.c:
15912 * plugins/elements/gsttypefindelement.c:
15913 GST_ELEMENT_DETAILS formatting
15915 2006-03-24 Wim Taymans <wim@fluendo.com>
15917 * libs/gst/base/gstbasesink.h:
15918 Only add fields, not insert or we break ABI.
15920 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15922 * win32/common/libgstbase.def:
15923 * win32/common/libgstreamer.def:
15924 Update, add recently added functions.
15926 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15928 * docs/gst/gstreamer-sections.txt:
15929 * gst/gstutils.c: (gst_pad_query_peer_position),
15930 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15932 API: add some new utility functions:
15933 - gst_pad_query_peer_position()
15934 - gst_pad_query_peer_duration()
15935 - gst_pad_query_peer_convert()
15937 2006-03-23 Wim Taymans <wim@fluendo.com>
15939 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15940 (gst_base_sink_init), (gst_base_sink_finalize),
15941 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15942 (gst_base_sink_set_property), (gst_base_sink_get_property),
15943 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15944 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15945 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15946 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15947 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15948 (gst_base_sink_preroll_object), (gst_base_sink_event),
15949 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15950 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15951 (gst_base_sink_query), (gst_base_sink_change_state):
15952 Decouple max-lateness and the fact that QoS messages are generated
15953 with a new property (qos).
15954 added API: GstBaseSink::async_play()
15955 Add vmethod so subclasses can be notified of ASYNC playing
15957 Collect timestamp start and stop to report better current
15958 position in EOS/PLAYING/PAUSED/READY/NULL.
15959 Refactor QoS/frame dropping and other measurements.
15960 API: GstBaseSrc::qos
15963 * libs/gst/base/gstbasesink.h:
15964 Added Private struct.
15965 API: gst_base_sink_set_qos_enabled()
15966 API: gst_base_sink_is_qos_enabled()
15968 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15970 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15971 If compiling against GLib-2.8 or newer, try to read the
15972 registry file using GMappedFile first before falling back
15973 to fopen() + fread() (#332151).
15975 2006-03-22 Wim Taymans <wim@fluendo.com>
15977 * gst/gstinfo.c: (gst_debug_set_active),
15978 (gst_debug_category_set_threshold):
15979 Disable debugging unless explicitly activated.
15982 2006-03-22 Wim Taymans <wim@fluendo.com>
15984 * gst/gstelement.c: (gst_element_set_locked_state),
15985 (gst_element_dispose):
15986 Cleanup the error case.
15988 * gst/gstobject.c: (gst_object_dispose):
15989 print a critical when some object was disposed with
15990 a parent, also revive the object since it might
15993 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
15995 * tools/gst-launch.1.in:
15998 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16001 * tests/check/Makefile.am:
16002 disable some tests when we don't have a registry
16003 * tests/check/gst/gstutils.c: (gst_utils_suite):
16004 don't build the part that needs parsing
16006 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16009 * tests/examples/Makefile.am:
16010 fix --disable-parse build
16012 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16014 * tools/gst-feedback.1.in:
16015 Fix typo: s/feeback/feedback/ (#133494).
16017 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16019 * tools/Makefile.am:
16020 * tools/gst-launch.1.in:
16021 Add FILES section and correct entry about GST_REGISTRY_PATH
16022 environment variable (#133495; #133494).
16024 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16026 * tools/Makefile.am:
16027 * tools/gst-md5sum.1.in:
16028 * tools/gst-md5sum.c:
16029 Remove gst-md5sum and man page (the md5sink element
16030 required was removed ages ago)
16032 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16034 * gst/gststructure.c: (gst_structure_id_set_value):
16035 Make sure that string fields in structures/taglists
16036 contain valid UTF-8 - we don't want to pass rubbish to
16037 applications because of a buggy plugin (cp. #334167).
16039 2006-03-21 Edward Hervey <edward@fluendo.com>
16041 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16042 (gst_bin_handle_message_func):
16043 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16044 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16045 (gst_element_set_bus_func):
16046 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16047 * gst/gstminiobject.c: (gst_value_set_mini_object),
16048 (gst_value_take_mini_object):
16049 * gst/gstpad.c: (gst_pad_set_pad_template):
16050 * gst/gstpipeline.c: (gst_pipeline_dispose),
16051 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16053 (gst_collect_pads_chain):
16054 * libs/gst/net/gstnettimeprovider.c:
16055 (gst_net_time_provider_set_property):
16056 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16057 It's in fact all issues with gst_*object_replace().
16059 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16061 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16063 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16064 * pkgconfig/gstreamer-check.pc.in:
16065 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16067 2006-03-21 Edward Hervey <edward@fluendo.com>
16071 * gst/gstmessage.h:
16072 gst_[buffer|event|message]_ref() macros are replaced by a static
16073 inline functions because gcc-4.1 will about if the return value
16075 * tests/check/gst/gstevent.c: (event_probe):
16076 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16078 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16081 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16082 the type' case. (Closes: #335195 for now). In the future, when we
16083 depend on GLib 2.10, we could also intern the type name using
16084 g_intern_static_string()
16086 2006-03-20 Wim Taymans <wim@fluendo.com>
16088 * gst/gstbin.c: (gst_bin_handle_message_func),
16089 (bin_query_max_init), (bin_query_position_fold),
16090 (bin_query_position_done), (gst_bin_query):
16091 Position query should also take max of all streams.
16093 2006-03-20 Wim Taymans <wim@fluendo.com>
16095 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16096 (gst_fake_src_finalize):
16097 Fix leaks in fakesrc.
16099 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16100 Fix leaks in the testcase.
16102 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16104 * gst/gst_private.h:
16105 add win32 specific import decoration(__declspec(dllimport))
16106 for all extern GstDebugCategory * variables
16107 * win32/common/libgstbase.def:
16108 * win32/common/libgstcontroller.def:
16109 * win32/common/libgstreamer.def:
16110 Add some exports, remove empty lines
16111 * win32/common/libgstdataprotocol.def:
16112 * win32/common/libgstdataprotocol.dsp:
16113 * win32/common/libgstnet.def:
16114 * win32/common/libgstnet.dsp:
16115 new project files and exportation files added
16117 2006-03-19 Wim Taymans <wim@fluendo.com>
16119 * tests/check/libs/basesrc.c: (eos_event_counter):
16120 Use proper return value for probe.
16122 2006-03-17 Wim Taymans <wim@fluendo.com>
16124 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16126 Don't leak buffers, caps and pads on negotiation errors.
16128 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16130 * docs/faq/cvs.xml:
16131 * docs/faq/dependencies.xml:
16132 * docs/faq/developing.xml:
16133 * docs/faq/faq.xml:
16134 * docs/faq/general.xml:
16135 * docs/faq/getting.xml:
16136 * docs/faq/legal.xml:
16137 * docs/faq/troubleshooting.xml:
16138 * docs/faq/using.xml:
16139 Faq review and update.
16141 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16143 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16145 Don't pound the cpu to pieces by checking get_caps when accept_caps
16146 is called with the same caps as the pad already has.
16147 Use GST_DEBUG_OBJECT when outputting caps change information.
16149 2006-03-15 Wim Taymans <wim@fluendo.com>
16151 * gst/gstclock.c: (gst_clock_class_init):
16154 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16159 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16160 (gst_pad_accept_caps), (gst_pad_configure_sink),
16161 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16162 Make the default acceptcaps behaviour be to check the requested
16163 caps against the gst_pad_get_caps output.
16165 Ensure that gst_pad_accept_caps is used to check caps when a pad
16166 doesn't have a setcaps function, so that pads automatically refuse
16167 caps that they don't allow in their pad template. (Fixes #332986)
16169 When a buffer with attached caps is pushed, ensure that the source
16170 pad receives those caps even if the element didn't call
16171 gst_pad_set_caps first.
16173 2006-03-15 Wim Taymans <wim@fluendo.com>
16175 * libs/gst/base/gstadapter.c:
16178 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16180 * win32/common/libgstbase.def:
16181 * win32/common/libgstcontroller.def:
16182 * win32/common/libgstreamer.def:
16183 Add a whole bunch of missing functions (#334434).
16185 2006-03-14 Wim Taymans <wim@fluendo.com>
16187 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16188 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16189 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16190 Better debug info when we receive a segment event.
16191 Reorganize a bit so we can pass the get_times() results around.
16192 Use the segment format when calculating the running time.
16193 Don't do QoS is sync is disabled or we have no clock or the
16194 element does not want us to sync to the clock.
16195 Don't drop buffers if QoS is disabled for now.
16197 2006-03-14 Wim Taymans <wim@fluendo.com>
16199 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16200 Marked the stats property as unimplemented so people don't get
16202 Add debug message when regression goes wrong.
16203 Added some more docs.
16205 2006-03-14 Wim Taymans <wim@fluendo.com>
16207 * gst/gstsegment.c: (gst_segment_to_stream_time):
16208 Return correct return type in case of errors.
16210 2006-03-14 Wim Taymans <wim@fluendo.com>
16212 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16213 Don't segfault on invalid formats.
16215 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16217 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16218 Can't use gst_segment_to_running_time() when the segment
16219 is not in GST_TIME_FORMAT (like with filesink, for example).
16220 Stops flac encoding pipelines from spewing critical warnings
16223 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16225 * gst/gstpipeline.c: (gst_pipeline_class_init):
16226 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16228 * plugins/elements/gsttypefindelement.c:
16229 (gst_type_find_element_handle_event):
16230 Don't try to typefind empty streams.
16232 2006-03-14 Wim Taymans <wim@fluendo.com>
16234 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16235 (gst_base_sink_do_qos):
16236 Separate QoS calculation.
16237 Only drop buffers when lateness is bigger than the
16238 duration of the buffer.
16240 2006-03-13 Wim Taymans <wim@fluendo.com>
16242 * gst/gstpipeline.c: (gst_pipeline_set_property),
16243 (gst_pipeline_get_property), (do_pipeline_seek),
16244 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16245 (gst_pipeline_get_delay):
16246 Don't deadlock when reading properties.
16248 2006-03-13 Wim Taymans <wim@fluendo.com>
16250 * libs/gst/base/gstbasetransform.c:
16251 (gst_base_transform_class_init), (gst_base_transform_init),
16252 (gst_base_transform_sink_event),
16253 (gst_base_transform_sink_eventfunc),
16254 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16255 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16256 (gst_base_transform_set_property),
16257 (gst_base_transform_get_property),
16258 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16259 (gst_base_transform_set_qos_enabled),
16260 (gst_base_transform_is_qos_enabled):
16261 * libs/gst/base/gstbasetransform.h:
16262 Make basetransform virtual method for src events too.
16263 Handle QOS in basetransform.
16264 API: gst_base_transform_update_qos()
16265 API: gst_base_transform_set_qos_enabled()
16266 API: gst_base_transform_is_qos_enabled()
16268 2006-03-13 Wim Taymans <wim@fluendo.com>
16270 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16271 (gst_base_sink_do_sync):
16273 Use QOS debug category.
16275 2006-03-13 Wim Taymans <wim@fluendo.com>
16277 * plugins/elements/gstqueue.c:
16278 Very small doc update.
16280 2006-03-13 Wim Taymans <wim@fluendo.com>
16282 * gst/gst_private.h:
16283 * gst/gstinfo.c: (_gst_debug_init):
16284 Added QOS debug category
16286 2006-03-13 Wim Taymans <wim@fluendo.com>
16288 * docs/gst/gstreamer-sections.txt:
16289 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16291 * gst/gstbus.c: (gst_bus_class_init):
16294 * gst/gstelement.c: (gst_element_set_locked_state):
16295 * gst/gstsegment.c:
16296 Documentation updates.
16298 * gst/gstpipeline.c: (gst_pipeline_get_type),
16299 (gst_pipeline_class_init), (gst_pipeline_init),
16300 (gst_pipeline_dispose), (gst_pipeline_set_property),
16301 (gst_pipeline_get_property), (do_pipeline_seek),
16302 (gst_pipeline_send_event), (gst_pipeline_change_state),
16303 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16304 (gst_pipeline_get_delay):
16305 * gst/gstpipeline.h:
16306 Added methods for setting the delay.
16307 API: gst_pipeline_set_delay()
16308 API: gst_pipeline_get_delay()
16309 Add pipeline debug category
16312 Don't reset stream time when seek failed.
16314 2006-03-13 Wim Taymans <wim@fluendo.com>
16316 * docs/design/draft-klass.txt:
16317 * docs/design/part-clocks.txt:
16318 * docs/design/part-events.txt:
16319 * docs/design/part-gstbin.txt:
16320 * docs/design/part-gstpipeline.txt:
16321 * docs/design/part-messages.txt:
16322 * docs/design/part-negotiation.txt:
16323 * docs/design/part-overview.txt:
16324 * docs/design/part-preroll.txt:
16325 * docs/design/part-seeking.txt:
16326 * docs/design/part-states.txt:
16327 * docs/design/part-streams.txt:
16328 Documentation updates.
16330 2006-03-12 Julien MOUTTE <julien@moutte.net>
16332 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16333 us to leak strings...
16335 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16337 * libs/gst/net/gstnettimeprovider.c:
16339 * win32/common/config.h:
16342 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16344 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16347 Don't check for libgnomeui (leftover from old examples
16348 that aren't built or disted any longer) (#334303).
16350 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16352 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16353 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16354 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16355 there's no space left on the device.
16357 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16360 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16361 to cast the input to GstClockTime before comparing with
16362 another GstClockTime value.
16364 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16369 === release 0.10.4 ===
16371 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16374 releasing 0.10.4, "Light"
16376 2006-03-10 Michael Smith <msmith@fluendo.com>
16378 * libs/gst/dataprotocol/dataprotocol.c:
16379 Fix docs for dataprocotol to not get the return types completely
16380 wrong for a few functions.
16382 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16384 * docs/gst/gstreamer-sections.txt:
16385 * gst/gstpipeline.c: (gst_pipeline_class_init),
16386 (gst_pipeline_init), (gst_pipeline_set_property),
16387 (gst_pipeline_get_property), (gst_pipeline_change_state),
16388 (gst_pipeline_set_auto_flush_bus),
16389 (gst_pipeline_get_auto_flush_bus):
16390 * gst/gstpipeline.h:
16391 Add new API: gst_pipeline_set_auto_flush_bus() and
16392 gst_pipeline_get_auto_flush_bus() to disable automatic
16393 flushing of the pipeline's GstBus when going from READY
16394 to NULL state (#332045).
16396 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16398 * docs/gst/gstreamer-sections.txt:
16399 * gst/gsturi.c: (gst_uri_has_protocol):
16401 Add new API: gst_uri_has_protocol() (#333779).
16403 2006-03-09 Wim Taymans <wim@fluendo.com>
16405 * gst/gstclock.c: (gst_clock_entry_new),
16406 (gst_clock_id_compare_func), (gst_clock_id_wait),
16407 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16408 (gst_clock_init), (gst_clock_get_internal_time),
16409 (gst_clock_set_master), (do_linear_regression),
16410 (gst_clock_add_observation), (gst_clock_set_property):
16414 Fix a possible segfault when the window-size is made smaller.
16415 Calculate jitter before performing the clock wait. Ideally
16416 the clock implementation should calculate jitter but we need
16417 API breakage for that.
16419 * gst/gstsystemclock.c: (gst_system_clock_init):
16422 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16423 Remove leftover else
16425 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16426 (gst_systemclock_suite):
16427 Added check to test GST_CLOCK_DIFF.
16429 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16431 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16432 (gst_type_find_helper_get_range):
16433 If we are provided with the size, we should implement
16434 GstTypeFind::get_length, so that typefind functions who
16435 want to can actually peek at the middle of a file.
16437 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16439 * docs/manual/advanced-dataaccess.xml:
16440 Add some very very basic error checking.
16442 * docs/pwg/appendix-checklist.xml:
16443 Some updates to the list of things to check when writing an element.
16445 2006-03-08 Wim Taymans <wim@fluendo.com>
16447 * docs/design/part-element-transform.txt:
16448 Added some docs about the design of tranform elements.
16450 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16451 (gst_base_src_loop), (gst_base_src_change_state):
16452 Mark buffers with the DISCONT flag.
16454 2006-03-08 Michael Smith <msmith@fluendo.com>
16456 * gst/gstregistry.h:
16457 * gst/gstregistryxml.c: (gst_registry_save),
16458 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16459 (gst_registry_xml_save_pad_template),
16460 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16461 (gst_registry_xml_write_cache):
16462 Rewrite registry-saving to avoid race conditions and check for
16465 2006-03-08 Wim Taymans <wim@fluendo.com>
16467 * libs/gst/base/gstbasetransform.c:
16468 (gst_base_transform_transform_caps),
16469 (gst_base_transform_transform_size),
16470 (gst_base_transform_prepare_output_buffer),
16471 (gst_base_transform_get_unit_size),
16472 (gst_base_transform_buffer_alloc),
16473 (gst_base_transform_handle_buffer),
16474 (gst_base_transform_change_state):
16475 Cleanups, separate normal flow from errors, add sensible
16477 Don't try to renegotiate when allocating an output buffer.
16478 Also copy DISCONT buffer flag when copying a buffer.
16479 Reset the transform after we finish streaming, not during.
16481 2006-03-08 Wim Taymans <wim@fluendo.com>
16483 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16484 Use last buffer timestamp in qos message.
16486 2006-03-07 Wim Taymans <wim@fluendo.com>
16488 Patch by: Christophe Fergeau
16490 * docs/pwg/advanced-tagging.xml:
16491 * docs/pwg/building-pads.xml:
16494 2006-03-07 Wim Taymans <wim@fluendo.com>
16496 * docs/libs/gstreamer-libs-sections.txt:
16497 Added basesink new methods.
16501 Docs updates. Flesh out the QoS docs.
16503 * libs/gst/base/gstadapter.c:
16504 Small doc clarification about ownership and flushing.
16506 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16507 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16508 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16509 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16510 * libs/gst/base/gstbasesink.h:
16512 Added new methods to allow subclass to control max-lateness
16514 Generate very basic QoS events based on last sync observation.
16515 Updated docs, fix typo, added some QoS blurb.
16517 * libs/gst/base/gstbasesrc.c:
16518 Remove obsolete _get_state() calls from docs.
16520 2006-03-07 Wim Taymans <wim@fluendo.com>
16522 * docs/libs/gstreamer-libs-sections.txt:
16523 * libs/gst/base/gstbasetransform.h:
16524 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16525 Fix docs for GstBaseSrc.
16527 2006-03-07 Wim Taymans <wim@fluendo.com>
16529 * docs/gst/gstreamer-sections.txt:
16532 * libs/gst/base/gstbasetransform.h:
16533 Small documentation fixes.
16535 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16538 Document thread-unsafety of gst_value_register_foo_func()
16539 when used at the same time as gst_value_foo() (#322628).
16541 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16543 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16544 (gst_push_src_check_get_range):
16545 Push sources don't support pull mode by default.
16547 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16549 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16550 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16551 (gst_base_src_default_check_get_range):
16552 * libs/gst/base/gstbasesrc.h:
16553 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16554 provide default implementation, and rename
16555 gst_base_src_check_get_range() to
16556 gst_base_src_pad_check_get_range() for clarity.
16558 2006-03-06 Wim Taymans <wim@fluendo.com>
16560 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16561 Make property overridable.
16563 2006-03-06 Wim Taymans <wim@fluendo.com>
16565 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16566 (gst_base_sink_init), (gst_base_sink_set_property),
16567 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16568 * libs/gst/base/gstbasesink.h:
16569 API addition: Make max-lateness a property.
16571 2006-03-06 Wim Taymans <wim@fluendo.com>
16573 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16574 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16575 Don't ever draw a frame that is >10ms late.
16577 2006-03-06 Michael Smith <msmith@fluendo.com>
16579 * gst/gstmessage.c: (_gst_message_copy):
16580 When copying a message, set the parent_refcount of the enclosed
16581 structure to point at the copy, not the original message.
16583 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16585 Patch by: Christophe Fergeau
16588 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16589 usable in c++ code (#333417)
16591 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16594 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16596 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16598 * libs/gst/base/gstbasetransform.c:
16599 (gst_base_transform_transform_caps):
16600 Make sure caps are writable before passing them to
16603 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16606 Fix some minor docs errors.
16608 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16610 Patch by: Ross Burton <ross at burtonini dot com>
16612 * gst/gsterror.c: (_gst_resource_errors_init):
16614 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16616 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16619 Add a check and output a g_warning when GStreamer is built
16620 against GLib 2.6 but running against 2.8 or higher, and vice
16621 versa. (Closes: #323542)
16623 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16625 * gst/parse/parse.l:
16626 Commit patch for parse_launch syntax from #331255. Removes
16627 support for quoted strings and mimetypes when writing filtered
16628 caps. See the bug report for more details - I'm pretty sure this
16629 obscure feature is not in use by _anyone_ anywhere.
16631 With this simple change, the size of the gstreamer.so here
16632 drops from 2193KB to 1565KB.
16634 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16636 * plugins/elements/gsttypefindelement.h:
16637 * plugins/elements/gsttypefindelement.c:
16638 (gst_type_find_element_src_event), (start_typefinding),
16639 (stop_typefinding), (gst_type_find_element_handle_event),
16640 (gst_type_find_element_chain),
16641 (gst_type_find_element_chain_do_typefinding):
16642 Use gst_type_find_helper_for_buffer() for chain-based
16645 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16647 * plugins/elements/gsttypefindelement.c:
16648 (gst_type_find_element_class_init),
16649 (gst_type_find_element_set_property),
16650 (gst_type_find_element_get_property):
16651 Deprecate "maximum" property (not only was it only taken into
16652 account for typefinding in push-mode anyway, it also was never
16653 actually possible to set it in the first place because the
16654 property was registered with the numeric property ID for the
16655 "minimum" property). Register "maximum" property correctly,
16656 for the sake of future copy'n'pasters. Remove some cruft
16657 from property get/set functions.
16659 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16661 * plugins/elements/gsttypefindelement.c:
16662 (gst_type_find_element_activate):
16663 Use gst_type_find_helper_get_range() here, so we
16664 can honour the "minimum" property and also emit
16665 the signal with the correct probability of the found caps.
16667 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16669 * docs/libs/gstreamer-libs-sections.txt:
16670 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16671 (helper_find_suggest), (gst_type_find_helper_get_range),
16672 (gst_type_find_helper):
16673 * libs/gst/base/gsttypefindhelper.h:
16674 New API: gst_type_find_helper_get_range() (#333042).
16676 2006-03-02 Michael Smith <msmith@fluendo.com>
16678 * gst/gstregistryxml.c: (load_feature):
16679 Asserting on a failure to read part of the registry is Not Cool.
16680 Just log a warning and return NULL (which is already handled)
16682 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16684 * win32/common/libgstbase.def:
16685 added export of gst_type_find_helper_for_buffer
16686 * win32/common/libgstbase.def:
16687 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16688 gst_ghost_pad_get_target
16690 2006-02-28 Wim Taymans <wim@fluendo.com>
16692 * docs/design/draft-klass.txt:
16694 Added Connector to mark elements that are only used to
16695 allow pipeline connections.
16696 Moved Debug to extra feature since most of them are
16697 functionally something else.
16699 2006-02-28 Wim Taymans <wim@fluendo.com>
16701 * docs/design/draft-klass.txt:
16702 Some updates and clarifications.
16704 2006-02-28 Wim Taymans <wim@fluendo.com>
16706 * docs/design/draft-klass.txt:
16707 Proposal for klass field values.
16709 * docs/design/part-streams.txt:
16710 Start of a doc describing stream anatomy.
16712 2006-02-28 Wim Taymans <wim@fluendo.com>
16714 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16715 Help the compiler a bit with type registration.
16716 Use existing forward cod path instead of duplicating it when
16717 handling a message.
16719 * gst/gstbus.c: (gst_bus_get_type):
16720 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16721 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16722 * gst/gstclock.c: (gst_clock_get_type):
16723 * gst/gstelement.c: (gst_element_get_type),
16724 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16725 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16726 * gst/gstminiobject.c: (gst_mini_object_get_type):
16727 * gst/gstpad.c: (gst_pad_get_type):
16728 * gst/gstsegment.c: (gst_segment_get_type):
16729 * gst/gststructure.c: (gst_structure_get_type):
16730 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16731 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16733 Help compiler with type registration.
16735 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16738 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16740 * plugins/elements/gsttypefindelement.c:
16741 (gst_type_find_element_handle_event):
16742 When we get an EOS event and have not found a type yet
16743 (most likely because we had not yet accumulated
16744 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16745 type given the data we have so far. Fixes typefinding
16746 for very short streams again, most notably quicktime
16747 redirections as used on Apple's trailer site (#331701).
16749 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16751 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16752 (gst_type_find_helper):
16753 Try typefinding factories with the highest rank first.
16755 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16757 * docs/libs/gstreamer-libs-docs.sgml:
16758 * docs/libs/gstreamer-libs-sections.txt:
16759 * libs/gst/base/gsttypefindhelper.c:
16760 Add section for typefind helper and add documentation
16761 for the old and the new function.
16763 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16765 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16766 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16767 (gst_type_find_helper_for_buffer):
16768 * libs/gst/base/gsttypefindhelper.h:
16769 New API: gst_type_find_helper_for_buffer() (#332723).
16771 2006-02-27 Michael Smith <msmith@fluendo.com>
16773 Patch by: Loïc Minier
16776 * docs/Makefile.am:
16777 * docs/slides/Makefile.am:
16778 prevent CVS directories getting disted.
16780 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16782 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16783 Use the REFCOUNTING category for caps refcounting.
16785 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16787 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16788 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16790 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16792 * plugins/elements/gsttypefindelement.c:
16793 (gst_type_find_element_activate):
16794 Use gst_pad_check_pull_range() before _activate_pull()
16795 to avoid unnecessary open/close (see #331690).
16797 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16800 Docs enhancement: make it crystal clear what the
16801 gst_pad_add_*_probe() callbacks should look like.
16803 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16805 * libs/gst/base/gstbasesrc.c:
16806 Document how applications can stop recording from
16807 live sources (see #330996).
16809 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16811 * tests/check/Makefile.am:
16812 * tests/check/libs/basesrc.c: (eos_event_counter),
16813 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16814 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16815 (gst_basesrc_suite), (main):
16816 ... and add some tests for the base source EOS stuff.
16818 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16820 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16821 Test case originally showed the problem fixed below,
16822 but was then amended. Add checks back at the place
16823 where they used to be.
16825 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16827 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16828 (gst_base_src_init), (gst_base_src_loop),
16829 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16830 (gst_base_src_change_state):
16831 * libs/gst/base/gstbasesrc.h:
16832 Don't unconditionally send EOS when going from PAUSED to
16833 READY state, esp. make sure we don't send two EOS events
16834 in some cases (e.g. one when reaching EOS and one when
16835 going from PAUSED to READY). Also, we don't want to send
16836 EOS events when operating in pull mode. However, we do
16837 want to send an EOS event when shutting down a live
16838 source explicitly, for example (fixes #330996).
16840 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16842 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16843 Update src->read_position after a seek when not using mmap.
16844 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16846 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16852 Make things work with --disable-parse as they do with
16853 --disable-load-save - the symbols involved disappear, but the
16854 header is still installed and GST_DISABLE_PARSE is included via
16857 2006-02-20 Julien MOUTTE <julien@moutte.net>
16859 * libs/gst/base/gstbasetransform.c:
16860 (gst_base_transform_change_state): Fix a stupid bug. I was
16861 sure I compiled that.
16863 2006-02-20 Julien MOUTTE <julien@moutte.net>
16865 * gst/gstpad.c: (gst_pad_set_blocked_async):
16866 * gst/gstutils.c: (gst_pad_add_data_probe),
16867 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16868 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16869 (gst_pad_remove_buffer_probe): Make those function act on the
16870 ghostpad target when it's a ghostpad. (Closes #331727)
16872 2006-02-20 Julien MOUTTE <julien@moutte.net>
16874 * libs/gst/base/gstbasetransform.c:
16875 (gst_base_transform_change_state): Make basetransform reusable.
16878 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16880 * docs/random/release:
16881 Move the current documentation of how to do a release to the top
16884 * gst/gstbin.c: (gst_bin_class_init),
16885 (gst_bin_handle_message_func):
16886 Allow multiple state-recalculation threads. (Closes #328873)
16888 2006-02-19 Julien MOUTTE <julien@moutte.net>
16890 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16891 * gst/gstpad.c: (gst_pad_set_event_function),
16892 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16893 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16894 2 strings. You can't use the STR_NULL macro on that.
16896 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16898 * gst/gstpad.c: (gst_pad_set_event_function),
16899 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16900 (gst_pad_set_getcaps_function)
16901 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16902 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16903 So now, we can use --gst-debug-level=5 on Windows
16904 * win32/common/libgstcontroller.def:
16905 Added export of gst_controller_init
16906 * win32/vs6/libgstcontroller.dsp:
16907 Fixed Release post build configuration
16909 2006-02-17 Wim Taymans <wim@fluendo.com>
16911 * tests/check/gst/gstquery.c: (GST_START_TEST):
16912 Added another check.
16914 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16916 * plugins/elements/gsttypefindelement.c: (find_peek):
16917 We can do peeks at non-zero offsets, as long as they
16918 fall within the buffer we have.
16920 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16922 * tests/check/Makefile.am:
16923 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16924 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16925 (parse_suite), (main):
16926 Add testsuite for parse launch syntax
16928 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16930 * plugins/elements/gsttypefindelement.c:
16931 (gst_type_find_element_chain):
16932 When typefinding is unsuccessful in the chain function, don't
16933 error out immediately. Only error out with NO_CAPS_FOUND if
16934 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16935 otherwise simply wait for more data so we can try typefinding
16936 again with more data later. Also, don't attempt to typefind
16937 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16938 this should improve typefinding from network sources where the
16939 size of the first buffer can be somewhat random.
16941 2006-02-14 Wim Taymans <wim@fluendo.com>
16943 * docs/gst/gstreamer-sections.txt:
16944 * gst/gstpadtemplate.c:
16945 * gst/gstpadtemplate.h:
16946 Fix padtemplate docs, fixes #328805.
16948 2006-02-14 Wim Taymans <wim@fluendo.com>
16950 * tools/gst-launch.c: (main):
16951 NO_PREROLL is not an ERROR so don't send confusing messages
16954 2006-02-14 Wim Taymans <wim@fluendo.com>
16956 Patch by: Torsten Schoenfeld
16958 * gst/gstregistry.c: (gst_registry_get_default),
16959 (_gst_registry_cleanup):
16960 Protect default registry with lock and ref/sink it.
16963 2006-02-14 Wim Taymans <wim@fluendo.com>
16966 * gst/gstquery.c: (gst_query_list_add_format),
16967 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16968 (gst_query_parse_formats_nth):
16969 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16972 2006-02-14 Wim Taymans <wim@fluendo.com>
16974 * docs/gst/gstreamer-sections.txt:
16975 Reworked query docs.
16977 * gst/gstquery.c: (gst_query_new_formats),
16978 (gst_query_list_add_format), (gst_query_set_formats),
16979 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16980 (gst_query_parse_formats_nth):
16982 Flesh out formats query, added some new methods.
16983 Fix part of #324398.
16985 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16986 Added query creation tests.
16988 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16990 * gst/gstpad.c: (fixate_value):
16991 Add a default fixation for fraction lists.
16993 2006-02-13 Wim Taymans <wim@fluendo.com>
16995 * gst/gsttask.c: (gst_task_init), (gst_task_func),
16996 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16999 Detect and warn for obvious deadlocks. fixes #320340
17000 Fix error case where lock was not released.
17002 * tests/check/Makefile.am:
17003 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17004 (task_func), (gst_element_suite), (main):
17007 2006-02-13 Wim Taymans <wim@fluendo.com>
17009 * docs/gst/gstreamer-sections.txt:
17011 Add new functions to docs.
17013 2006-02-13 Wim Taymans <wim@fluendo.com>
17015 * docs/design/part-TODO.txt:
17016 Updated TODO list, basesrc supports seeking to non-bytes
17019 * docs/design/part-element-sink.txt:
17022 * gst/gstbin.c: (bin_replace_message),
17023 (gst_bin_handle_message_func):
17024 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17025 * gst/gstevent.c: (gst_event_finalize):
17026 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17027 (gst_pad_send_event):
17028 Use shiny new _TYPE_NAME macros.
17030 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17031 Move debug statement up.
17033 * gst/gstelement.c: (gst_element_set_locked_state):
17034 Add some debugging.
17036 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17038 * docs/gst/gstreamer-sections.txt:
17039 * gst/gstmessage.h:
17041 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17042 macros (#330906). Also, document the already existing
17043 GST_QUERY_TYPE macro.
17045 2006-02-13 Wim Taymans <wim@fluendo.com>
17047 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17048 (event_probe), (GST_START_TEST):
17049 Only events up to the pipeline EOS are counted, there are
17050 some more when going to NULL currently which we don't care
17053 2006-02-13 Wim Taymans <wim@fluendo.com>
17055 * gst/gstpad.c: (gst_pad_send_event):
17056 Correctly check flushing and emit probes. fixes #330125
17058 2006-02-10 Andy Wingo <wingo@pobox.com>
17060 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17062 (gst_bus_init): Cache the location of the private data in the
17063 instance structure.
17064 (gst_bus_enable_sync_message_emission)
17065 (gst_bus_disable_sync_message_emission): Implement new public
17067 (gst_bus_post): Emit the sync-message signal if the user asked for
17070 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17071 location of the bus-private structure.
17072 (gst_bus_enable_sync_message_emission)
17073 (gst_bus_disable_sync_message_emission): API addition
17075 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17077 Patch by: Vincent Torri
17079 * docs/pwg/building-boiler.xml:
17080 PWG patch from #326800
17082 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17085 * docs/Makefile.am:
17086 * docs/design/Makefile.am:
17089 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17094 === release 0.10.3 ===
17096 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17099 releasing 0.10.3, "Like a virgin"
17101 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17104 2nd prerelease of 0.10.3
17105 Bump libtool versioning.
17107 2006-02-07 Andy Wingo <wingo@pobox.com>
17109 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17110 update last_stop if we're in TIME format and the timestamp is
17113 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17114 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17115 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17116 If we get a new newsegment with a different format, adapt
17119 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17120 of 0. Not a problem, really.
17122 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17125 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17130 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17133 project files updated to the default vs7 configuration
17134 * win32/common/libgstbase.def:
17135 * win32/common/libgstreamer.def:
17137 removed empty lines,
17138 sorted all exported symbols alphabetically
17139 * win32/common/dirent.c:
17140 * win32/common/dirent.h:
17141 * win32/common/gchar.h:
17142 use windows line end.
17144 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17146 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17147 Send EOS event when stopping.
17149 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17152 Tell folks what to do if the plugin-foobar.xml file
17153 hasn't been generated for a newly-added plugin.
17155 2006-02-05 Julien MOUTTE <julien@moutte.net>
17157 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17158 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17159 (gst_collect_pads_start), (gst_collect_pads_stop),
17160 (gst_collect_pads_event): Collectpads now holds a reference
17161 to the GstPad that was added. Indeed we don't want to look
17162 at pads that might just go away with no warning...
17164 2006-02-05 Julien MOUTTE <julien@moutte.net>
17166 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17167 (gst_collect_pads_start), (gst_collect_pads_stop),
17168 (gst_collect_pads_event), (gst_collect_pads_chain):
17169 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17170 Mark Nauwelaerts's patch on bug #328491.
17172 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17174 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17176 Add some simple tests for gst_parse_bin_from_description() and
17177 gst_bin_find_unconnected_pad() (#329069).
17179 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17181 * tools/gst-launch.c: (event_loop), (main):
17182 Catch errors during preroll (#320084).
17184 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17186 * plugins/elements/gsttypefindelement.c:
17187 (gst_type_find_element_activate):
17188 Post TYPE_NOT_FOUND error message when typefinding
17189 is unsuccessful in the activate function as well.
17191 2006-02-02 Wim Taymans <wim@fluendo.com>
17193 * docs/design/part-element-sink.txt:
17196 2006-02-02 Wim Taymans <wim@fluendo.com>
17198 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17199 (gst_base_sink_render_object),
17200 (gst_base_sink_queue_object_unlocked):
17201 Only keep track of prerollable items when we are
17203 Before rendering after preroll, always check if we
17205 Added some more debugging.
17207 2006-02-02 Wim Taymans <wim@fluendo.com>
17209 * gst/gstelement.c: (gst_element_continue_state),
17210 (gst_element_set_state_func), (gst_element_change_state):
17211 Fixed #326576, been running this for quite some time with
17212 no regressions at all.
17214 2006-02-02 Wim Taymans <wim@fluendo.com>
17217 Added more suppressions
17219 2006-02-02 Wim Taymans <wim@fluendo.com>
17221 * docs/design/part-element-sink.txt:
17224 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17225 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17226 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17227 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17228 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17229 (gst_base_sink_preroll_object),
17230 (gst_base_sink_queue_object_unlocked),
17231 (gst_base_sink_queue_object), (gst_base_sink_event),
17232 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17233 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17234 (gst_base_sink_get_position), (gst_base_sink_change_state):
17235 * libs/gst/base/gstbasesink.h:
17236 Totally refactored matching the design doc.
17237 Use two segments, one to clip incomming buffers and another to
17239 Handle queueing correctly, bypass the queue when playing.
17240 Make EOS cancelable.
17241 Handle errors correctly when operating in pull based mode.
17243 * tests/check/elements/fakesink.c: (GST_START_TEST),
17245 Added new check for sinks.
17247 2006-02-02 Wim Taymans <wim@fluendo.com>
17249 * gst/gstsegment.c: (gst_segment_clip):
17250 No reason to refuse to clip when start == -1
17252 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17255 * docs/manual/intro-basics.xml:
17256 * docs/manual/intro-preface.xml:
17257 * docs/manual/manual.xml:
17258 * docs/pwg/advanced-dparams.xml:
17259 * docs/pwg/intro-basics.xml:
17260 * docs/pwg/intro-preface.xml:
17261 * docs/pwg/pwg.xml:
17262 describe dparams (controller) for plugins
17263 unify docs a little more
17265 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17267 * docs/gst/gstreamer-sections.txt:
17268 * gst/gstutils.c: (element_find_unconnected_pad),
17269 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17271 Add new API: gst_parse_bin_from_description() and
17272 gst_bin_find_unconnected_pad() (#329069).
17274 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17276 * docs/manual/README:
17277 uncover a nasty detail of the docs build
17279 2006-01-31 Wim Taymans <wim@fluendo.com>
17281 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17282 Don't cache duration messages if we're not going to use or
17285 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17287 * docs/manual/advanced-dparams.xml:
17288 * docs/pwg/advanced-dparams.xml:
17292 * libs/gst/controller/lib.c: (gst_controller_init):
17295 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17297 * gst/gstelement.c: (gst_element_message_full):
17298 also show file/line/func if no additional debug was given
17300 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17302 * win32/vs7/grammar.vcproj:
17303 activate copy of autogenerated files for Release mode
17305 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17307 * win32/common/libgstreamer.def:
17308 export gst_value_compare
17310 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17312 * plugins/elements/Makefile.am:
17313 * plugins/elements/gstelements.c:
17314 * plugins/elements/gstfdsink.c: (_do_init),
17315 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17316 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17317 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17318 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17319 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17320 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17321 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17322 * plugins/elements/gstfdsink.h:
17323 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17325 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17327 * docs/manual/advanced-dparams.xml:
17328 describe controller
17329 * docs/manual/advanced-position.xml:
17330 * docs/manual/basics-init.xml:
17331 * docs/manual/manual.xml:
17332 * docs/manual/titlepage.xml:
17333 * docs/pwg/pwg.xml:
17334 * docs/pwg/titlepage.xml:
17335 cleanup xml (more to come)
17336 * libs/gst/controller/gstcontroller.c:
17339 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17341 * win32/vs6/grammar.dsp:
17342 add autogen of gstmarshal.c,h for Release mode
17344 2006-01-30 Wim Taymans <wim@fluendo.com>
17346 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17347 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17348 (gst_base_sink_handle_object), (gst_base_sink_event),
17349 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17350 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17351 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17352 (gst_base_sink_deactivate), (gst_base_sink_activate),
17353 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17354 (gst_base_sink_query), (gst_base_sink_change_state):
17355 Basesink cleanups, remove some old code.
17356 Handle the case where a subclass can preroll in the render
17357 method (mostly audiosinks).
17358 Handle more events.
17359 Remove some locks around variables that are now protected
17360 with the PREROLL_LOCK (clock_id, flushing, ..).
17361 Optimize position query some more, do correct locking.
17362 Remove old code to push queue in state change, this is not
17363 needed anymore since preroll blocks on all prerollable items
17365 Almost implemented as described in design doc.
17367 2006-01-30 Wim Taymans <wim@fluendo.com>
17369 * tests/check/gst/gstbin.c: (GST_START_TEST):
17370 Wait for refcount to settle down before checking.
17372 2006-01-30 Wim Taymans <wim@fluendo.com>
17374 * docs/design/part-element-sink.txt:
17375 Pseudo code overview of desired sink behaviour regarding
17378 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17379 * win32/vs6/grammar.dsp:
17380 fix some bugs in Release mode for autogenerated files
17382 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17383 * win32/common/libgstbase.def:
17384 * win32/common/libgstreamer.def:
17385 export some new symbols: gst_base_src_set_format,
17386 gst_iterator_next, gst_structure_set_valist
17388 2006-01-29 Julien MOUTTE <julien@moutte.net>
17390 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17391 Set pad functions unconditionally. Fixes #329105.
17393 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17395 add vs8 project files created by Sergey Scobich
17397 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17399 * gst/gstutils.c: (gst_element_unlink_pads):
17400 Don't leak pad references.
17402 * tests/check/elements/fakesink.c: (GST_START_TEST):
17403 * tests/check/generic/sinks.c: (GST_START_TEST):
17404 * tests/check/generic/states.c: (GST_START_TEST):
17405 * tests/check/gst/gstbin.c: (GST_START_TEST):
17406 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17407 * tests/check/gst/gstelement.c: (GST_START_TEST):
17408 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17409 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17410 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17411 Fix a bunch of leaks. Make generic/sinks.c
17412 use a bit less cpu by slowing the buffer rate
17413 between fakesrc and fakesink.
17415 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17417 * gst/gstelement.c: (gst_element_send_event):
17420 * gst/gstiterator.c:
17421 * gst/gstiterator.h:
17422 * gst/gstpad.c: (gst_pad_send_event):
17423 * gst/gststructure.c:
17427 * libs/gst/base/gstadapter.c:
17428 doc fixes, to link to function, just write gst_cool_function(), don't
17431 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17433 * plugins/elements/gsttee.c: (gst_tee_do_push),
17434 (gst_tee_handle_buffer):
17435 Always prefer an actual return value from a src
17436 pad in place of NOT_LINKED. This means we return
17437 WRONG_STATE when all src pads are WRONG_STATE
17438 instead of NOT_LINKED.
17440 Lock when replacing the last message to prevent
17441 racing with the get_property method.
17445 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17447 * tests/check/Makefile.am:
17448 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17450 Add a very simple check that should have caught the memleak I fixed
17451 last night (if not for the slice allocator hiding it)
17453 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17455 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17456 (gst_bin_remove_func), (gst_bin_handle_message_func),
17457 (bin_query_duration_fold), (bin_query_generic_fold):
17458 Clean up references to the clock provider when disposed or when
17459 handling a clock-lost message from it.
17461 Unref sinks when performing a query via gst_iterator_fold, as the
17462 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17464 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17465 (gst_clock_set_master):
17466 Drop our reference to the master clock, if any, when we are disposed.
17468 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17469 Chain up in dispose.
17471 2006-01-26 Wim Taymans <wim@fluendo.com>
17473 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17474 Add some debugging.
17476 2006-01-26 Julien MOUTTE <julien@moutte.net>
17478 * plugins/elements/gsttee.c: (gst_tee_do_push),
17479 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17480 handles pad being NOT_LINKED or in WRONG_STATE.
17482 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17487 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17490 remove obsolete entry
17492 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17494 * docs/gst/gstreamer-sections.txt:
17495 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17496 (gst_bin_iterate_sources), (gst_bin_send_event):
17498 * gst/gstelement.c: (gst_element_send_event):
17500 * gst/gstpad.c: (gst_pad_send_event):
17501 added code for downstream events, reviewed docs in gstevent.c
17503 2006-01-25 Julien MOUTTE <julien@moutte.net>
17505 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17506 We only query position using the clock in the playing state.
17507 Query peer in the other cases.
17508 * win32/common/config.h: Updates.
17510 2006-01-24 Wim Taymans <wim@fluendo.com>
17512 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17513 A clock entry that is scheduled for the exact time of the
17514 clock is still in time.
17516 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17517 (gst_base_sink_do_sync):
17518 Add some more debug info.
17520 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17523 Add new vs7 project files and solution.
17525 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17528 all files removed as they were out-dated.
17530 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17532 * docs/random/release:
17534 * gst/gstbin.c: (gst_bin_init):
17535 * gst/gstbus.c: (gst_bus_new):
17537 * gst/gstpipeline.c: (gst_pipeline_init):
17538 use gst_bus_new(), improve logging, fix docs
17539 * win32/common/config.h:
17540 update for cvs build
17542 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17545 up required version of automake to 1.7
17547 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17549 * win32/common/libgstreamer.def:
17550 export gst_buffer_is_metadata_writable
17552 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17554 * docs/gst/gstreamer-sections.txt:
17556 Add gst_event_replace() (#327001)
17558 2006-01-20 Wim Taymans <wim@fluendo.com>
17560 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17561 Make it actually compile too..
17563 2006-01-20 Wim Taymans <wim@fluendo.com>
17566 Clarify behaviour of _is_equal() when passing NULL parameters.
17568 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17569 (gst_pad_set_caps):
17570 Cleanups. Don't unref NULL caps.
17571 When setting the same caps, protect caps of the pad with
17573 Use full functionality of _is_equal() when comparing caps.
17575 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17577 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17578 Don't loop infinitely if there are no buffers to present. Partially
17579 fixes #327197, but collectpads is just broken for reusing elements
17580 to do multiple encodes atm.
17582 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17584 * tools/gst-inspect.c: (print_element_features):
17585 * tools/gst-xmlinspect.c: (main):
17586 URL_HANDLER is not a plugin feature we can search for in
17589 2006-01-19 Edward Hervey <edward@fluendo.com>
17591 * gst/gstelement.c: (gst_element_pads_activate):
17592 When activating, do src pads first, then sink pads.
17593 When de-activating, do sink pads first, then src pads.
17595 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17597 * docs/gst/gstreamer-sections.txt:
17598 Add gst_index_add_associationv to the docs
17600 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17605 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17606 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17607 Do some refactoring. Doesn't actually change functionality,
17608 but makes landing the DRAIN event easier later.
17610 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17612 * docs/pwg/advanced-scheduling.xml:
17613 Update from 0.9.x to 0.10 API and make example a bit
17616 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17618 * docs/gst/gstreamer-sections.txt:
17619 Add gst_buffer_(is|make)_metadata_writable methods.
17621 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17623 * docs/design/part-sparsestreams.txt:
17624 Update sparse streams doc, hopefully for greater clarity
17626 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17628 * docs/design/part-events.txt:
17629 Remove mention of FILLER events.
17632 * docs/design/part-sparsestreams.txt:
17633 Write some things about using NEWSEGMENT to keep sparse streams
17636 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17638 * gst/gstbin.c: (gst_bin_dispose):
17639 Guard gst_object_unref call against a NULL object (dispose
17640 can theoretically be called multiple times).
17642 2006-01-18 Wim Taymans <wim@fluendo.com>
17644 * gst/gstbin.c: (gst_bin_element_set_state):
17645 * gst/gstclock.c: (gst_clock_id_wait):
17646 Added some more debug info.
17648 * libs/gst/base/gstadapter.c:
17651 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17652 (gst_base_sink_do_sync), (gst_base_sink_chain):
17653 Added some comments.
17655 2006-01-18 Wim Taymans <wim@fluendo.com>
17657 * tests/check/Makefile.am:
17658 * tests/check/elements/fakesink.c: (chain_async_buffer),
17659 (chain_async), (chain_async_return), (GST_START_TEST),
17660 (fakesink_suite), (main):
17661 Added fakesink test that checks prerolling and clipping
17664 * tests/check/gst/gstutils.c: (GST_START_TEST):
17665 Make check run faster so that buildbots don't timeout.
17667 2006-01-18 Wim Taymans <wim@fluendo.com>
17669 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17670 (gst_base_sink_do_sync):
17672 When the sink finishes blocking on the preroll buffer, it can
17673 immediatly render it instead of rendering when the next buffer
17676 2006-01-18 Wim Taymans <wim@fluendo.com>
17678 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17679 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17680 (gst_base_sink_chain):
17682 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17683 Don't store _last_stop if the buffer is dropped.
17685 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17687 * plugins/elements/gsttypefindelement.c:
17688 (gst_type_find_element_class_init):
17689 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17690 object method handler that sets the caps on the pad and we want
17691 that to happen before we emit the signal (fixes e.g. feeding a
17692 plain text file to decodebin).
17694 2006-01-18 Christian Schaller <Christian@fluendo.com>
17696 * gst/gstplugin.c: Add MPL and Proprietary as license options
17698 2006-01-18 Andy Wingo <wingo@pobox.com>
17700 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17701 symbol was exported before, it appears this was just an oversight.
17703 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17705 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17706 prototype to gint. OK since this prototype was not in the header.
17708 2006-01-17 Andy Wingo <wingo@pobox.com>
17710 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17711 registry while we remove plugins.
17713 * tools/gst-inspect.c (print_element_info): Don't unref the
17714 factory arg, that should be the responsibility of whatever code
17715 received the ref. Fixes a double-free when called from
17716 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17717 (main): Unref the factory if we have one.
17718 (print_element_list): No change -- relies on the
17719 plugin_feature_list_free to free the list of features.
17721 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17723 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17724 (gst_buffer_make_metadata_writable):
17726 * libs/gst/base/gstbasetransform.c:
17727 (gst_base_transform_prepare_output_buf):
17728 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17729 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17730 Replace gst_buffer_(make|is)_metadata_writable patch now
17731 that the release is out.
17733 2006-01-17 Andy Wingo <wingo@pobox.com>
17735 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17736 in the present tense without reference to versions.
17738 * gst/gstregistry.c (gst_registry_add_plugin)
17739 (gst_registry_remove_plugin, gst_registry_remove_feature)
17740 (gst_registry_find_feature, gst_registry_get_feature_list)
17741 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17742 (gst_registry_lookup, gst_registry_scan_path)
17743 (_gst_registry_remove_cache_plugins)
17744 (gst_registry_get_feature_list_by_plugin): Add argument
17747 === release 0.10.2 ===
17749 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17752 releasing 0.10.2, "If man is five"
17754 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17758 * libs/gst/base/gstbasetransform.c:
17759 (gst_base_transform_prepare_output_buf):
17760 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17761 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17762 Back out patch until after the release.
17764 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17766 * gst/gstminiobject.c:
17767 Spelling fix in docs.
17768 * ChangeLog - remove conflict indicator
17770 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17772 Reviewed By: Andy Wingo
17774 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17775 (gst_buffer_make_metadata_writable):
17777 Add gst_buffer_(is|make)_metadata_writable as analogues of
17778 gst_buffer_(is|make)_writable.
17780 * libs/gst/base/gstbasetransform.c:
17781 (gst_base_transform_prepare_output_buf):
17782 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17783 Use name gst_buffer_(is|make)_metadata_writable functions.
17785 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17786 Test gst_buffer_(is|make)_metadata_writable
17790 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17792 * docs/manual/Makefile.am:
17793 don't do parallel make
17796 * win32/common/config.h.in:
17797 add generations for HOST_CPU and GST_MAJORMINOR
17798 * win32/common/config.h:
17799 commit generated result
17801 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17803 * docs/manual/appendix-integration.xml:
17804 Update GNOME integration section to use gst_init_get_option_group()
17805 instead of the old popt stuff (#322911). Also, GNOME applications
17806 should now use gconf*sink and gconf*src instead of the old gconf
17809 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17812 * docs/gst/gstreamer-docs.sgml:
17813 * docs/gst/gstreamer-sections.txt:
17814 * docs/libs/gstreamer-libs-sections.txt:
17815 add new API entries to the docs
17816 * libs/gst/controller/Makefile.am:
17817 * libs/gst/controller/gstcontroller.c:
17818 * libs/gst/controller/gstcontroller.h:
17819 * libs/gst/controller/gstcontrollerprivate.h:
17820 * libs/gst/controller/gsthelper.c:
17821 * libs/gst/controller/gstinterpolation.c:
17822 move private structs to private header
17824 gstreamer-0.7 -> gstreamer-0.10
17825 * tests/check/libs/struct_i386.h:
17826 remove private structs
17828 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17830 * plugins/indexers/Makefile.am:
17831 Fixes as part of #317048
17833 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17835 * plugins/indexers/Makefile.am:
17836 fix #316086 - compilation when mmap is missing
17838 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17840 * libs/gst/base/gstbasesink.c:
17841 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17842 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17843 * win32/common/config.h:
17844 added some defines GST_MAJORMINOR and HOST_CPU
17845 * win32/common/libgstbase.def:
17846 * win32/common/libgstreamer.def:
17847 added some exported functions.
17849 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17851 * libs/gst/controller/gstcontroller.c:
17852 (gst_controlled_property_set_interpolation_mode),
17853 (gst_controlled_property_new):
17854 * libs/gst/controller/gstcontroller.h:
17855 * libs/gst/controller/gstinterpolation.c:
17856 (interpolate_none_get_string_value_array):
17857 make G_TYPE_STRING controlable
17859 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17862 * tools/gst-feedback.1.in:
17863 * tools/gst-inspect.1.in:
17864 * tools/gst-launch.1.in:
17865 * tools/gst-md5sum.1.in:
17866 * tools/gst-typefind.1.in:
17867 * tools/gst-xmlinspect.1.in:
17868 * tools/gst-xmllaunch.1.in:
17869 cleanup man-pages, remove reference to gst-register, document env-vars
17871 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17873 * gst/gstbuffer.c: (gst_buffer_span):
17874 gst_buffer_span should copy the timestamp of the first buffer
17875 if they were both originally overlapping subbuffers of the
17876 same parent, using the same logic as the 'slow copy' case.
17878 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17880 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17881 Need to awaken ALL the pads when we pop a buffer, otherwise
17882 collectpads only works when there is 2 input streams.
17884 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17886 * docs/random/ensonic/media-device-daemon.txt:
17889 fix doc example, add clarification
17890 * tools/gst-launch.1.in:
17891 add initial info about GST_PLUGIN_PATH, needs more work
17893 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17895 * docs/manual/basics-bins.xml:
17896 * docs/manual/basics-elements.xml:
17897 * docs/manual/intro-basics.xml:
17898 Some more minor docs additions and updates.
17900 2006-01-11 Wim Taymans <wim@fluendo.com>
17902 * docs/manual/basics-bins.xml:
17903 * docs/manual/basics-elements.xml:
17904 Some small fixes as pointed out by Ser-ver on IRC.
17906 2006-01-10 Edward Hervey <edward@fluendo.com>
17908 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17909 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17910 the single-segment mode.
17912 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17914 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17916 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17917 (gst_base_src_perform_seek), (gst_base_src_send_event),
17918 (gst_base_src_set_property), (gst_base_src_get_property),
17919 (gst_base_src_loop), (gst_base_src_start),
17920 (gst_base_src_activate_push):
17921 * libs/gst/base/gstbasesrc.h:
17922 Name (private) union; makes Sun's Forte compiler happy (#324900).
17924 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17927 gst-register is gone.
17929 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17931 * gst/gstvalue.c: (_gst_value_initialize):
17932 make the G_TYPE_DATE instantiation work if debug is disabled
17934 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17936 * gst/gstmessage.c: (gst_message_parse_tag),
17937 (gst_message_parse_error), (gst_message_parse_warning):
17938 Don't crash when return location for error/warning debug
17939 string is NULL; add fact that return locations can be
17940 NULL to docs where appropriate.
17942 2006-01-05 Wim Taymans <wim@fluendo.com>
17944 * gst/gstplugin.c: (gst_plugin_load_file):
17945 Replace strdup by g_strdup.
17947 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17949 * docs/pwg/advanced-types.xml:
17952 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17954 submitted by: Abel Cheung
17958 Added Chinese (traditional) translation
17960 2006-01-04 Wim Taymans <wim@fluendo.com>
17962 * docs/manual/basics-pads.xml:
17963 * docs/plugins/Makefile.am:
17964 * docs/plugins/gstreamer-plugins-docs.sgml:
17965 * docs/plugins/gstreamer-plugins-sections.txt:
17966 * docs/pwg/advanced-clock.xml:
17967 * docs/pwg/advanced-scheduling.xml:
17968 * docs/pwg/advanced-types.xml:
17969 * plugins/elements/gstfdsink.c:
17970 * plugins/elements/gstfdsrc.c:
17971 * plugins/elements/gstfdsrc.h:
17972 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17973 * plugins/elements/gstidentity.h:
17974 * plugins/elements/gstqueue.h:
17975 * plugins/elements/gsttee.c:
17976 * plugins/elements/gsttee.h:
17977 * plugins/elements/gsttypefindelement.c:
17978 (gst_type_find_element_class_init):
17979 * plugins/elements/gsttypefindelement.h:
17980 Small updates to various docs.
17981 Added core plugins to docs.
17983 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17986 add a suppression for liboil's uninitialized variable
17988 2006-01-02 James Livingston <jrl at ids dot org dot au>
17990 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17993 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17994 macro, so that gcc doesn't complain if the -Wmissing-prototypes
17995 compiler switch is being used (#325429).
17997 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
17999 * gst/gstbin.c: (gst_bin_query):
18000 Disable duration query caching in bins until it gets
18001 fixed (see #324807).
18003 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18005 * tools/gst-inspect.c: (print_element_properties_info):
18006 Handle properties of POINTER and BOXED type.
18008 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18010 * gst/gst.c: (init_post):
18011 Init tags stuff and some other things before loading
18012 any static plugins (there may be other static plugins
18013 than just the GStreamer ones, and they may want to
18014 register their own tags or formats or whatever, and
18015 preferably without segfaulting).
18017 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18018 Print at least a warning in the debug logs if we drop a
18019 query just because we don't know how to adjust the value
18020 in the particular format.
18022 2005-12-24 David Schleef <ds@schleef.org>
18024 * tools/gstreamer-completion:
18025 Replacement for gst-complete written in sh and sed. Only
18026 completes names of features, but that's 90% of what I want
18027 it for. Properties are not available in registry.xml. (Maybe
18030 === release 0.10.1 ===
18032 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18035 releasing 0.10.1, "Nollaig chridheil"
18037 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18039 * docs/faq/cvs.xml:
18040 Add missing quote, should be make ERROR_CFLAGS="".
18042 2005-12-20 Wim Taymans <wim@fluendo.com>
18044 * docs/design/part-trickmodes.txt:
18045 More documentation on trickmodes.
18047 2005-12-20 Edward Hervey <edward@fluendo.com>
18049 * gst/gstcaps.c: (gst_static_caps_get_type):
18051 API addition: GST_TYPE_STATIC_CAPS
18052 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18053 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18054 * gst/gstpadtemplate.h:
18055 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18056 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18059 2005-12-18 Wim Taymans <wim@fluendo.com>
18061 * libs/gst/base/gstadapter.c:
18062 * libs/gst/base/gstadapter.h:
18063 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18064 (gst_base_sink_get_position):
18065 * libs/gst/base/gstbasesink.h:
18066 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18067 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18068 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18069 (gst_base_src_send_event), (gst_base_src_update_length),
18070 (gst_base_src_get_range), (gst_base_src_loop),
18071 (gst_base_src_start):
18072 * libs/gst/base/gstbasesrc.h:
18073 * libs/gst/base/gstbasetransform.h:
18074 * libs/gst/base/gstcollectpads.h:
18075 * libs/gst/base/gstpushsrc.c:
18076 * libs/gst/base/gstpushsrc.h:
18077 * libs/gst/dataprotocol/dataprotocol.c:
18078 * libs/gst/dataprotocol/dataprotocol.h:
18079 * libs/gst/net/gstnetclientclock.h:
18080 * libs/gst/net/gstnettimeprovider.h:
18081 Documentation updates.
18083 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18085 * docs/manual/basics-helloworld.xml:
18086 Remove superfluous closing bracket in helloworld example.
18088 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18090 * tools/gst-launch.1.in:
18091 Update gst-launch man page; add a section with useful
18092 environment variables. Fixes #323882.
18094 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18097 * gst/gst_private.h:
18098 change some char* into char[]
18100 2005-12-16 Wim Taymans <wim@fluendo.com>
18102 * gst/gstregistryxml.c: (load_feature):
18104 Don't use g_object_unref on GstObjects so that we avoid
18105 leaks on unsafe glibs.
18107 2005-12-16 Wim Taymans <wim@fluendo.com>
18109 * gst/gstbin.c: (gst_bin_recalc_state):
18112 2005-12-16 Wim Taymans <wim@fluendo.com>
18114 * common/check.mak:
18115 Added make forever target for check.
18117 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18119 * gst/gst.c: (init_post):
18120 make the registry cache file HOST_CPU-dependent
18122 2005-12-16 Andy Wingo <wingo@pobox.com>
18124 * plugins/elements/gstbufferstore.c
18125 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18128 * tests/check/gst/gstobject.c
18129 (test_fake_object_name_threaded_unique): Pay attention to
18130 g_list_sort return value.
18132 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18134 * tools/gst-feedback-m.m:
18135 Update for 0.9/0.10 (fixes #323870).
18137 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18139 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18140 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18142 * tests/check/gst/gstminiobject.c: (my_foo_init),
18143 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18144 (test_value_collection), (gst_mini_object_suite):
18145 Add test to ensure refcounts end up as expected when passing
18146 GstMiniObjects through g_object_get() and g_object_set().
18148 2005-12-14 Julien MOUTTE <julien@moutte.net>
18150 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18151 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18152 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18153 of collectpads. This version removes a lot of races without
18154 touching API/ABI. Yay !
18156 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18158 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18159 Don't allow activation of a srcpad in pull_range if it has no
18161 Change some debug statements to be a little clearer
18163 * plugins/elements/gsttypefindelement.c:
18164 (gst_type_find_handle_src_query):
18165 Check that we have a peer before executing queries thereupon.
18167 * tests/examples/metadata/read-metadata.c: (message_loop):
18168 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18169 immediately return us any available message with 0 timeout.
18171 2005-12-12 Michael Smith <msmith@fluendo.com>
18173 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18174 Don't unref factories after calling them.
18175 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18176 * plugins/elements/gsttypefindelement.c:
18177 (gst_type_find_element_chain):
18178 Free lists of factories after using them. Fixing typefinding memory
18181 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18183 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18184 (gst_plugin_feature_load):
18185 more meaningful debug output
18187 * tests/Makefile.am:
18188 * tests/old/examples/Makefile.am:
18189 make make distcheck happy again
18191 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18193 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18194 Catch the special case where we are operating chain-based,
18195 but the downstream peer pad has no chain function. Emit a
18196 custom error message in this case instead of letting the
18197 core generate one implying that this is some sort of core
18198 bug. It's not, it just means that whatever got plugged
18199 into the pipeline downstream when we announced the type
18200 can only operate pull-based, while our source can only
18201 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18202 Error string has not been marked for translation yet, as
18203 it probably needs some more work first.
18205 (gst_type_find_element_get_best_possibility):
18206 Add helper function to find the best of all available
18207 found possibilities that qualify given the min. threshold.
18209 (gst_type_find_element_handle_event):
18210 Fix the case where we get an EOS while still in TYPEFIND
18211 mode (we want to chose the best of all possible types,
18212 not just the first type that happens to be in our unsorted
18213 list of possible types).
18215 (gst_type_find_element_chain):
18216 Make sure we return GST_FLOW_ERROR when we errored out
18217 in stop_typefinding(); also, don't just find the best of
18218 all found type entries and then use the last examined
18219 type entry, but actually use the best entry.
18221 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18223 * tests/examples/typefind/typefind.c: (type_found):
18224 * tests/examples/xml/runxml.c: (xml_loaded):
18225 More gcc4 fixes and a mem leak fix.
18227 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18229 * tests/examples/xml/createxml.c: (object_saved):
18232 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18234 * tests/Makefile.am:
18235 enable the examples even more
18237 2005-12-12 Andy Wingo <wingo@pobox.com>
18239 * libs/gst/net/gstnettimeprovider.c
18240 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18241 (gst_net_time_provider_set_property)
18242 (gst_net_time_provider_get_property):
18243 API addition: Export "active" as a GObject property.
18244 (gst_net_time_provider_thread): Only respond to time queries if
18245 the time provider is active.
18247 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18248 NetTimeProvider, preserving binary compat.
18250 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18252 * tests/examples/controller/audio-example.c: (main):
18253 * tests/examples/launch/Makefile.am:
18254 convert comments again
18256 2005-12-12 Wim Taymans <wim@fluendo.com>
18258 * libs/gst/base/gstpushsrc.c:
18261 2005-12-12 Wim Taymans <wim@fluendo.com>
18263 * docs/libs/gstreamer-libs-sections.txt:
18264 Added new symbol to docs.
18266 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18267 (gst_base_src_init), (gst_base_src_set_format),
18268 (gst_base_src_default_query), (gst_base_src_query),
18269 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18270 (gst_base_src_perform_seek), (gst_base_src_send_event),
18271 (gst_base_src_default_event), (gst_base_src_event_handler),
18272 (gst_base_src_set_property), (gst_base_src_get_property),
18273 (gst_base_src_wait), (gst_base_src_do_sync),
18274 (gst_base_src_update_length), (gst_base_src_get_range),
18275 (gst_base_src_check_get_range), (gst_base_src_loop),
18276 (gst_base_src_default_negotiate), (gst_base_src_start),
18277 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18278 (gst_base_src_change_state):
18279 * libs/gst/base/gstbasesrc.h:
18280 Implement seeking to other formats than _BYTES.
18281 Implement more seeking methods correctly.
18283 Added query vmethod.
18284 Added do_seek vmethod to make life easier for subclasses
18286 API addition: gst_base_src_set_format()
18288 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18290 * tests/examples/Makefile.am:
18293 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18296 * docs/random/ensonic/media-device-daemon.txt:
18297 * tests/examples/controller/.cvsignore:
18298 * tests/examples/controller/Makefile.am:
18299 * tests/examples/controller/audio-example.c: (main):
18300 * tests/examples/helloworld/.cvsignore:
18301 * tests/examples/helloworld/Makefile.am:
18302 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18303 * tests/examples/launch/.cvsignore:
18304 * tests/examples/launch/Makefile.am:
18305 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18306 * tests/examples/metadata/.cvsignore:
18307 * tests/examples/metadata/Makefile.am:
18308 * tests/examples/metadata/read-metadata.c: (message_loop),
18309 (make_pipeline), (print_tag), (main):
18310 * tests/examples/queue/.cvsignore:
18311 * tests/examples/queue/Makefile.am:
18312 * tests/examples/queue/queue.c: (event_loop), (main):
18313 * tests/examples/typefind/.cvsignore:
18314 * tests/examples/typefind/Makefile.am:
18315 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18317 * tests/examples/xml/.cvsignore:
18318 * tests/examples/xml/Makefile.am:
18319 * tests/examples/xml/createxml.c: (object_saved), (main):
18320 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18321 * tests/old/examples/Makefile.am:
18322 * tests/old/examples/TODO:
18323 * tests/old/examples/controller/.cvsignore:
18324 * tests/old/examples/controller/Makefile.am:
18325 * tests/old/examples/controller/audio-example.c:
18326 * tests/old/examples/helloworld/.cvsignore:
18327 * tests/old/examples/helloworld/Makefile.am:
18328 * tests/old/examples/helloworld/helloworld.c:
18329 * tests/old/examples/launch/.cvsignore:
18330 * tests/old/examples/launch/Makefile.am:
18331 * tests/old/examples/launch/mp3parselaunch.c:
18332 * tests/old/examples/launch/mp3play:
18333 * tests/old/examples/manual/Makefile.am:
18334 * tests/old/examples/metadata/Makefile.am:
18335 * tests/old/examples/metadata/read-metadata.c:
18336 * tests/old/examples/queue/.cvsignore:
18337 * tests/old/examples/queue/Makefile.am:
18338 * tests/old/examples/queue/queue.c:
18339 * tests/old/examples/typefind/.cvsignore:
18340 * tests/old/examples/typefind/Makefile.am:
18341 * tests/old/examples/typefind/typefind.c:
18342 * tests/old/examples/xml/.cvsignore:
18343 * tests/old/examples/xml/Makefile.am:
18344 * tests/old/examples/xml/createxml.c:
18345 * tests/old/examples/xml/runxml.c:
18346 applied some simple fixing to some examples
18347 re-enabled the working examples
18349 2005-12-12 Wim Taymans <wim@fluendo.com>
18351 * gst/gstsegment.c: (gst_segment_init),
18352 (gst_segment_set_last_stop), (gst_segment_set_seek),
18353 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18354 (gst_segment_to_running_time):
18355 Added more documentation.
18356 Make sure the last_pos value is updated properly.
18357 Make sure to_stream_time and to_running_time don't
18358 operate on wrong values.
18360 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18363 2005-12-12 Michael Smith <msmith@fluendo.com>
18365 * plugins/elements/gsttypefindelement.c: (free_entry),
18366 (gst_type_find_element_chain):
18367 Now that we're not leaking factories, make sure we keep references
18368 to them while we need them.
18370 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18372 * tests/check/gst/struct_i386.h:
18373 ifdef out the XML structs
18375 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18377 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18378 floor is not needed, F is always positive; this obviates the
18379 need for adding -lm when building without libxml
18381 2005-12-12 Wim Taymans <wim@fluendo.com>
18383 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18384 Take current playback rate into account when reporting
18387 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18389 * docs/manual/mime-world.fig:
18390 Let's try this again, this time with a file that is
18391 actually in XFig format.
18393 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18395 * docs/manual/mime-world.fig:
18396 Add audioconvert element to diagram so that it
18397 matches the text and the code (fixes #319526).
18399 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18401 * docs/pwg/building-chainfn.xml:
18402 * docs/pwg/building-pads.xml:
18403 * docs/pwg/building-state.xml:
18404 * docs/pwg/other-source.xml:
18405 Update state change stuff for 0.10 (fixes #322969).
18407 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18409 * docs/manual/advanced-dataaccess.xml:
18410 * docs/manual/appendix-checklist.xml:
18411 * docs/manual/appendix-programs.xml:
18412 * docs/manual/basics-pads.xml:
18413 * docs/manual/highlevel-components.xml:
18414 * docs/manual/manual.xml:
18415 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18416 add converters in front of pipelines; remove curly
18417 brackets for threads stuff, they no longer exist; use
18418 GST_TYPE_FRACTION for framerates; update some pieces of
18419 code to 0.10, but there's plenty more to do.
18421 * docs/manual/appendix-porting.xml:
18422 Expand on asynchroneous state changes; s/0.9/0.10/;
18423 mention disappearance of gst_init_get_popt_table()
18426 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18428 * docs/faq/using.xml:
18429 Spider no longer exists, and neither does gst-launch-ext.
18430 Update examples to use decodebin and playbin and put
18431 converters in front of sinks (fixes #323726).
18433 2005-12-09 Michael Smith <msmith@fluendo.com>
18435 * plugins/elements/gsttypefindelement.c: (find_peek),
18436 (gst_type_find_element_chain):
18437 Fix leaking element factories in typefinding.
18438 Fix problem where we forgot about a probable type on non-seekable
18439 files, and thus later mis-typefound it.
18441 2005-12-09 Michael Smith <msmith@fluendo.com>
18443 * common/m4/gst-makecontext.m4:
18444 * common/m4/gst-mcsc.m4:
18446 * win32/common/config.h:
18447 * win32/common/config.h.in:
18448 Remove makecontext stuff; not used in 0.10 and causes problems on
18449 HPUX according to bug #322441
18451 2005-12-07 Wim Taymans <wim@fluendo.com>
18453 * tests/check/Makefile.am:
18454 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18456 * tests/check/libs/struct_i386.h:
18457 Added ABI check for libs
18459 2005-12-07 Wim Taymans <wim@fluendo.com>
18461 * tests/check/Makefile.am:
18462 And add the struct_i386.h to dist.
18464 2005-12-07 Wim Taymans <wim@fluendo.com>
18466 * tests/check/Makefile.am:
18467 * tests/check/gst/.cvsignore:
18468 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18470 * tests/check/gst/struct_i386.h:
18471 Added check for ABI compatibility.
18473 2005-12-07 Wim Taymans <wim@fluendo.com>
18475 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18476 (gst_fake_src_get_times), (gst_fake_src_create):
18477 Fix broken sync option, fixes #323259
18479 2005-12-07 Wim Taymans <wim@fluendo.com>
18484 * gst/gstcaps.c: (gst_caps_is_equal):
18485 Don't assert on NULL <--> X. Fixes #323260
18487 * gst/gstminiobject.c: (gst_mini_object_replace):
18488 If we're doing atomic operations, we might just as well use
18489 the proper way to get an atomic pointer.
18491 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18492 Clean up debugging.
18494 2005-12-07 Michael Smith <msmith@fluendo.com>
18496 * gst/parse/grammar.y:
18497 Remove handling of { } for threads.
18499 2005-12-06 David Schleef <ds@schleef.org>
18501 * libs/gst/base/gstbasetransform.c: speling fix.
18503 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18505 * docs/libs/tmpl/gstdataprotocol.sgml:
18506 * docs/random/omega/testing/gstobject.c:
18509 * gst/gstelement.c:
18510 * gst/gstelementfactory.c:
18513 * gst/gstghostpad.c:
18515 * gst/gstpadtemplate.c:
18516 * gst/gstregistryxml.c:
18517 * gst/gsttaglist.c:
18518 * gst/gsttagsetter.c:
18519 * gst/gsttypefind.c:
18521 * libs/gst/base/gstbasesrc.c:
18522 * libs/gst/net/gstnetclientclock.c:
18523 * libs/gst/net/gstnettimeprovider.c:
18524 * plugins/elements/gstfakesrc.c:
18525 * plugins/elements/gstfdsrc.c:
18526 * plugins/elements/gstfilesrc.c:
18527 * plugins/elements/gstidentity.c:
18528 * plugins/elements/gstqueue.c:
18529 * plugins/elements/gsttypefindelement.c:
18530 * plugins/indexers/gstfileindex.c:
18531 * plugins/indexers/gstmemindex.c:
18532 * tests/check/gst/gsttag.c:
18533 * tests/old/examples/cutter/cutter.c:
18534 * tests/old/examples/mixer/mixer.c:
18535 * tests/old/examples/xml/runxml.c: (main):
18536 * tests/old/testsuite/caps/normalisation.c:
18537 * tests/old/testsuite/debug/global.c:
18538 * tests/old/testsuite/parse/parse1.c:
18539 * tools/gst-xmlinspect.c:
18540 * win32/common/dirent.c:
18543 === release 0.10.0 ===
18545 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18548 releasing 0.10.0, "Maroilles"
18550 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18552 submitted by: Funda Wang <fundawang@linux.net.cn>
18556 added Chinese (Traditional) translation
18558 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18560 * docs/gst/gstreamer-sections.txt:
18561 * docs/libs/tmpl/gstdataprotocol.sgml:
18562 * docs/random/thomasvs/TODO:
18567 2005-12-05 Andy Wingo <wingo@pobox.com>
18569 patch by: Wim Taymans <wim@fluendo.com>
18571 * libs/gst/base/gstbasetransform.c
18572 (gst_base_transform_prepare_output_buf)
18573 (gst_base_transform_buffer_alloc):
18574 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18575 alloc_buffer_and_set_caps.
18577 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18578 set_caps on the source pad.
18579 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18580 alloc_buffer used to do. Fixes #322874.
18582 * docs/gst/gstreamer-sections.txt:
18583 * docs/design/part-negotiation.txt:
18584 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18587 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18589 patch by: Sebastien Moutte
18592 * win32/common/config.h.in:
18593 * win32/vs6/libgstcontroller.dsp:
18596 2005-12-05 Wim Taymans <wim@fluendo.com>
18598 * gst/gstcaps.c: (gst_caps_is_equal):
18599 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18600 (gst_fake_src_create):
18601 Back out previous code changes, leave doc updates, file bugs
18604 2005-12-05 Wim Taymans <wim@fluendo.com>
18606 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18607 (gst_fake_src_get_times), (gst_fake_src_create):
18608 * plugins/elements/gstfakesrc.h:
18609 Fix broken sync code.
18611 2005-12-05 Wim Taymans <wim@fluendo.com>
18613 * gst/gstcaps.c: (gst_caps_is_equal):
18614 Comparing NULL against !NULL yields different caps, not a
18617 2005-12-05 Wim Taymans <wim@fluendo.com>
18619 * gst/gstpipeline.c:
18620 Fix small typo in docs.
18622 2005-12-05 Andy Wingo <wingo@pobox.com>
18624 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18626 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18627 registries/plugins with a MAJORMINOR one.
18628 (plugin_desc): Rename library from gstcoreleements to
18629 staticelements. Fixes #323222.
18631 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18633 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18634 Change debug category to 'collectpads' from 'collect_pads'
18637 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18639 patch by: Sebastien Moutte
18641 * libs/gst/controller/gstinterpolation.c:
18642 use convert function for uint64/double
18643 * win32/vs6/libgstcontroller.dsp:
18646 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18648 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18649 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18651 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18652 add tests that seem to show that the guint64/gdouble conversions
18655 2005-12-02 Wim Taymans <wim@fluendo.com>
18657 * gst/gstregistry.c: (gst_registry_add_path):
18658 * gst/gstregistry.h:
18659 * gst/gstregistryxml.c:
18662 2005-12-02 Wim Taymans <wim@fluendo.com>
18664 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18665 (gst_util_uint64_scale_int):
18668 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18669 Add debug log line.
18671 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18674 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18677 * win32/common/config.h:
18678 * win32/vs6/gstreamer.dsw:
18679 * win32/vs6/libgstcoreelements.dsp:
18680 * win32/vs6/libgstelements.dsp:
18681 renamed core elements plugin
18683 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18685 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18687 do piece-wise major/minor comparison so 0.9 < 0.10
18688 also allow .exe extensions for tools
18690 2005-12-02 Michael Smith <msmith@fluendo.com>
18693 Escape a % to make gtkdoc happier; bug 322958.
18695 === release 0.9.7 ===
18697 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18700 releasing 0.9.7, "My Dog Has No Nose"
18702 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18704 * common/gst-xmlinspect.py:
18706 * docs/libs/tmpl/gstdataprotocol.sgml:
18707 * docs/random/release:
18726 * win32/common/config.h:
18727 * win32/common/config.h.in:
18728 * win32/vs6/gst_inspect.dsp:
18729 * win32/vs6/gst_launch.dsp:
18730 * win32/vs6/libgstbase.dsp:
18731 * win32/vs6/libgstelements.dsp:
18732 * win32/vs6/libgstreamer.dsp:
18733 * win32/vs7/GStreamer.vcproj:
18734 * win32/vs7/gst-inspect.vcproj:
18735 * win32/vs7/gst-launch.vcproj:
18736 * win32/vs7/libgstbase.vcproj:
18737 bump GST_MAJORMINOR to 0.10
18738 reset libtool version
18740 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18744 Added Bulgarian translation by (Alexander Shopov)
18746 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18748 * tests/check/gst/gstplugin.c:
18751 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18753 * common/gst-xmlinspect.py:
18754 * common/gtk-doc-plugins.mak:
18756 * docs/Makefile.am:
18757 * docs/gst/Makefile.am:
18758 * docs/gst/gstreamer-docs.sgml:
18759 * docs/gst/gstreamer-sections.txt:
18760 * docs/gst/gstreamer.types:
18761 * docs/gst/gstreamer.types.in:
18762 * docs/plugins/Makefile.am:
18763 * docs/plugins/gstreamer-plugins-docs.sgml:
18764 * docs/plugins/gstreamer-plugins-sections.txt:
18765 * docs/plugins/gstreamer-plugins.types:
18766 * docs/plugins/inspect.stamp:
18767 * docs/plugins/inspect/plugin-coreelements.xml:
18768 * docs/plugins/inspect/plugin-coreindexers.xml:
18769 * docs/plugins/scanobj-build.stamp:
18770 * gstreamer.spec.in:
18771 * plugins/elements/Makefile.am:
18772 * plugins/elements/gstelements.c:
18773 * plugins/elements/gstfakesink.c:
18774 * plugins/elements/gstfakesrc.c:
18775 * plugins/elements/gstfilesink.c:
18776 * plugins/elements/gstfilesrc.c:
18777 * plugins/elements/gstqueue.c:
18778 * plugins/indexers/Makefile.am:
18779 * plugins/indexers/gstindexers.c:
18780 document core plugins in a separate document just like all the
18782 rename these plugins to something starting with core
18784 2005-12-01 Andy Wingo <wingo@pobox.com>
18786 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18787 padding here before, but it missed the commit.
18789 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18791 * libs/gst/controller/gstinterpolation.c:
18792 whitespace prices have crashed, we should feel free to use some now
18793 use gst_guint64_to_gdouble
18795 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18797 * libs/gst/controller/gstcontroller.c:
18798 * libs/gst/controller/gsthelper.c:
18799 * libs/gst/controller/gstinterpolation.c:
18800 * libs/gst/controller/lib.c:
18801 wrap config.h include
18803 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18805 * docs/gst/gstreamer-sections.txt:
18808 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18810 * plugins/elements/gstelements.c:
18811 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18812 (gst_fd_sink__class_init), (gst_fd_sink__init),
18813 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18814 (gst_fd_sink__get_property):
18815 * plugins/elements/gstfdsink.h:
18816 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18817 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18818 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18819 (gst_fd_src_unlock), (gst_fd_src_set_property),
18820 (gst_fd_src_get_property), (gst_fd_src_create),
18821 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18822 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18823 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18824 (gst_fd_src_uri_handler_init):
18825 * plugins/elements/gstfdsrc.h:
18826 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18829 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18831 * docs/gst/Makefile.am:
18832 * docs/gst/gstreamer.types.in:
18836 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18842 * gst/gstregistry.h:
18843 * tests/benchmarks/complexity.c:
18844 * tests/benchmarks/mass-elements.c:
18845 * tests/check/Makefile.am:
18846 * tools/Makefile.am:
18847 * tools/gst-inspect.c:
18848 * tools/gst-xmlinspect.c:
18849 various fixes to make
18850 --disable-nls --disable-registry --disable-loadsave
18851 --disable-parse --disable-gst-debug
18852 work and get the core .so down to 360444 bytes after stripping
18854 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18859 * docs/random/thomasvs/TODO:
18860 * tests/Makefile.am:
18864 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18866 * win32/GStreamer.vcproj:
18869 * win32/Makefile.inspect:
18870 * win32/Makefile.launch:
18871 * win32/Makefile.register:
18872 * win32/README.txt:
18873 * win32/gst-inspect.vcproj:
18874 * win32/gst-launch.vcproj:
18875 * win32/gst-register.vcproj:
18876 * win32/gstelements.vcproj:
18877 * win32/gstgetbits.def:
18878 * win32/gstgetbits.vcproj:
18879 * win32/gstreamer-dbg.def:
18880 * win32/gstreamer.def:
18881 * win32/libgstbase.def:
18882 * win32/libgstbase.vcproj:
18883 * win32/link_oldruntime.c:
18887 * win32/msvc71.sln:
18888 move even more stuff, win32/ is nice and clean now
18890 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18892 * libs/gst/control/.cvsignore:
18897 * win32/gstbytestream.def:
18898 * win32/gstbytestream.vcproj:
18899 * win32/gstconfig.h:
18900 * win32/gstenumtypes.c:
18901 * win32/gstenumtypes.h:
18902 * win32/gstoptimalscheduler.vcproj:
18903 * win32/gstversion.h:
18905 * win32/testsuite/bins.vcproj:
18906 * win32/testsuite/bytestream.vcproj:
18907 * win32/testsuite/caps.vcproj:
18908 * win32/testsuite/cleanup.vcproj:
18909 * win32/testsuite/clock.vcproj:
18910 * win32/testsuite/debug.vcproj:
18911 * win32/testsuite/dlopen.vcproj:
18912 * win32/testsuite/dynparams.vcproj:
18913 * win32/testsuite/elements.vcproj:
18914 * win32/testsuite/ghostpads.vcproj:
18915 * win32/testsuite/indexers.vcproj:
18916 * win32/testsuite/negotiation.vcproj:
18917 * win32/testsuite/parse.vcproj:
18918 * win32/testsuite/plugin.vcproj:
18919 * win32/testsuite/refcounting.vcproj:
18920 * win32/testsuite/schedulers.vcproj:
18921 * win32/testsuite/states.vcproj:
18922 * win32/testsuite/tags.vcproj:
18923 * win32/testsuite/threads.vcproj:
18924 remove old win32 stuff that isn't maintained and should be
18927 2005-11-30 Andy Wingo <wingo@pobox.com>
18929 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18930 loading the gst.interfaces python module bork.
18932 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18933 available since GLib 2.2. Fixes #318031.
18935 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18938 * check/.cvsignore:
18939 * check/Makefile.am:
18940 * check/elements/.cvsignore:
18941 * check/elements/fakesrc.c:
18942 * check/elements/fdsrc.c:
18943 * check/elements/identity.c:
18944 * check/generic/.cvsignore:
18945 * check/generic/states.c:
18946 * check/gst-libs/.cvsignore:
18947 * check/gst-libs/controller.c:
18948 * check/gst-libs/gdp.c:
18949 * check/gst/.cvsignore:
18950 * check/gst/capslist.h:
18952 * check/gst/gstbin.c:
18953 * check/gst/gstbuffer.c:
18954 * check/gst/gstbus.c:
18955 * check/gst/gstcaps.c:
18956 * check/gst/gstelement.c:
18957 * check/gst/gstevent.c:
18958 * check/gst/gstghostpad.c:
18959 * check/gst/gstiterator.c:
18960 * check/gst/gstmessage.c:
18961 * check/gst/gstminiobject.c:
18962 * check/gst/gstobject.c:
18963 * check/gst/gstpad.c:
18964 * check/gst/gstpipeline.c:
18965 * check/gst/gstplugin.c:
18966 * check/gst/gstsegment.c:
18967 * check/gst/gststructure.c:
18968 * check/gst/gstsystemclock.c:
18969 * check/gst/gsttag.c:
18970 * check/gst/gstutils.c:
18971 * check/gst/gstvalue.c:
18972 * check/net/.cvsignore:
18973 * check/net/gstnetclientclock.c:
18974 * check/net/gstnettimeprovider.c:
18975 * check/pipelines/.cvsignore:
18976 * check/pipelines/cleanup.c:
18977 * check/pipelines/simple_launch_lines.c:
18978 * check/pipelines/stress.c:
18979 * check/states/.cvsignore:
18980 * check/states/sinks.c:
18982 * examples/Makefile.am:
18983 * examples/appreader/.cvsignore:
18984 * examples/appreader/Makefile.am:
18985 * examples/appreader/appreader.c:
18986 * examples/controller/.cvsignore:
18987 * examples/controller/Makefile.am:
18988 * examples/controller/audio-example.c:
18989 * examples/cutter/.cvsignore:
18990 * examples/cutter/Makefile.am:
18991 * examples/cutter/cutter.c:
18992 * examples/cutter/cutter.h:
18993 * examples/events/Makefile.am:
18994 * examples/events/seek.c:
18995 * examples/helloworld/.cvsignore:
18996 * examples/helloworld/Makefile.am:
18997 * examples/helloworld/helloworld.c:
18998 * examples/helloworld2/.cvsignore:
18999 * examples/helloworld2/Makefile.am:
19000 * examples/helloworld2/helloworld2.c:
19001 * examples/launch/.cvsignore:
19002 * examples/launch/Makefile.am:
19003 * examples/launch/mp3parselaunch.c:
19004 * examples/launch/mp3play:
19005 * examples/manual/.cvsignore:
19006 * examples/manual/Makefile.am:
19007 * examples/manual/extract.pl:
19008 * examples/metadata/Makefile.am:
19009 * examples/metadata/read-metadata.c:
19010 * examples/mixer/.cvsignore:
19011 * examples/mixer/Makefile.am:
19012 * examples/mixer/mixer.c:
19013 * examples/mixer/mixer.h:
19014 * examples/pingpong/.cvsignore:
19015 * examples/pingpong/Makefile.am:
19016 * examples/pingpong/pingpong.c:
19017 * examples/plugins/.cvsignore:
19018 * examples/plugins/Makefile.am:
19019 * examples/plugins/example.c:
19020 * examples/plugins/example.h:
19021 * examples/pwg/.cvsignore:
19022 * examples/pwg/Makefile.am:
19023 * examples/pwg/extract.pl:
19024 * examples/queue/.cvsignore:
19025 * examples/queue/Makefile.am:
19026 * examples/queue/queue.c:
19027 * examples/queue2/.cvsignore:
19028 * examples/queue2/Makefile.am:
19029 * examples/queue2/queue2.c:
19030 * examples/queue3/.cvsignore:
19031 * examples/queue3/Makefile.am:
19032 * examples/queue3/queue3.c:
19033 * examples/queue4/.cvsignore:
19034 * examples/queue4/Makefile.am:
19035 * examples/queue4/queue4.c:
19036 * examples/retag/.cvsignore:
19037 * examples/retag/Makefile.am:
19038 * examples/retag/retag.c:
19039 * examples/retag/transcode.c:
19040 * examples/thread/.cvsignore:
19041 * examples/thread/Makefile.am:
19042 * examples/thread/thread.c:
19043 * examples/typefind/.cvsignore:
19044 * examples/typefind/Makefile.am:
19045 * examples/typefind/typefind.c:
19046 * examples/xml/.cvsignore:
19047 * examples/xml/Makefile.am:
19048 * examples/xml/createxml.c:
19049 * examples/xml/runxml.c:
19050 * tests/Makefile.am:
19051 * tests/check/Makefile.am:
19052 * testsuite/.cvsignore:
19053 * testsuite/Makefile.am:
19055 * testsuite/caps/.cvsignore:
19056 * testsuite/caps/Makefile.am:
19057 * testsuite/caps/app_fixate.c:
19058 * testsuite/caps/audioscale.c:
19059 * testsuite/caps/caps.c:
19060 * testsuite/caps/caps.h:
19061 * testsuite/caps/caps_strings:
19062 * testsuite/caps/compatibility.c:
19063 * testsuite/caps/deserialize.c:
19064 * testsuite/caps/enumcaps.c:
19065 * testsuite/caps/eratosthenes.c:
19066 * testsuite/caps/filtercaps.c:
19067 * testsuite/caps/fixed.c:
19068 * testsuite/caps/fraction-convert.c:
19069 * testsuite/caps/fraction-multiply-and-zero.c:
19070 * testsuite/caps/intersect2.c:
19071 * testsuite/caps/intersection.c:
19072 * testsuite/caps/normalisation.c:
19073 * testsuite/caps/random.c:
19074 * testsuite/caps/renegotiate.c:
19075 * testsuite/caps/sets.c:
19076 * testsuite/caps/simplify.c:
19077 * testsuite/caps/string-conversions.c:
19078 * testsuite/caps/structure.c:
19079 * testsuite/caps/subtract.c:
19080 * testsuite/caps/union.c:
19081 * testsuite/debug/.cvsignore:
19082 * testsuite/debug/Makefile.am:
19083 * testsuite/debug/category.c:
19084 * testsuite/debug/commandline.c:
19085 * testsuite/debug/global.c:
19086 * testsuite/debug/output.c:
19087 * testsuite/debug/printf_extension.c:
19088 * testsuite/dlopen/.cvsignore:
19089 * testsuite/dlopen/Makefile.am:
19090 * testsuite/dlopen/dlopen_gst.c:
19091 * testsuite/dlopen/loadgst.c:
19092 * testsuite/elements/.cvsignore:
19093 * testsuite/elements/Makefile.am:
19094 * testsuite/elements/gst-inspect-check.in:
19095 * testsuite/elements/struct_i386.h:
19096 * testsuite/elements/struct_size.c:
19097 * testsuite/indexers/.cvsignore:
19098 * testsuite/indexers/Makefile.am:
19099 * testsuite/indexers/cache1.c:
19100 * testsuite/indexers/indexdump.c:
19101 * testsuite/parse/.cvsignore:
19102 * testsuite/parse/Makefile.am:
19103 * testsuite/parse/parse1.c:
19104 * testsuite/parse/parse2.c:
19105 * testsuite/plugin/.cvsignore:
19106 * testsuite/plugin/Makefile.am:
19107 * testsuite/plugin/README:
19108 * testsuite/plugin/dynamic.c:
19109 * testsuite/plugin/linked.c:
19110 * testsuite/plugin/loading.c:
19111 * testsuite/plugin/registry.c:
19112 * testsuite/plugin/static.c:
19113 * testsuite/plugin/static2.c:
19114 * testsuite/plugin/testplugin.c:
19115 * testsuite/plugin/testplugin2.c:
19116 * testsuite/plugin/testplugin2_s.c:
19117 * testsuite/plugin/testplugin_s.c:
19118 * testsuite/refcounting/.cvsignore:
19119 * testsuite/refcounting/Makefile.am:
19120 * testsuite/refcounting/bin.c:
19121 * testsuite/refcounting/element.c:
19122 * testsuite/refcounting/element_pad.c:
19123 * testsuite/refcounting/mainloop.c:
19124 * testsuite/refcounting/mem.c:
19125 * testsuite/refcounting/mem.h:
19126 * testsuite/refcounting/object.c:
19127 * testsuite/refcounting/pad.c:
19128 * testsuite/refcounting/sched.c:
19129 * testsuite/refcounting/thread.c:
19130 * testsuite/states/.cvsignore:
19131 * testsuite/states/Makefile.am:
19132 * testsuite/states/bin.c:
19133 * testsuite/states/locked.c:
19134 * testsuite/states/parent.c:
19135 * testsuite/threads/.cvsignore:
19136 * testsuite/threads/159566.c:
19137 * testsuite/threads/159852.c:
19138 * testsuite/threads/Makefile.am:
19139 * testsuite/threads/queue.c:
19140 * testsuite/threads/signals.c:
19141 * testsuite/threads/staticrec.c:
19142 * testsuite/threads/thread.c:
19143 * testsuite/threads/threadb.c:
19144 * testsuite/threads/threadc.c:
19145 * testsuite/threads/threadd.c:
19146 * testsuite/threads/threade.c:
19147 * testsuite/threads/threadf.c:
19148 * testsuite/threads/threadg.c:
19149 * testsuite/threads/threadh.c:
19150 * testsuite/threads/threadi.c:
19151 move all of these under tests
19153 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19156 * tests/Makefile.am:
19159 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19161 * docs/gst/gstreamer-sections.txt:
19162 * tests/sched/.cvsignore:
19163 * tests/sched/Makefile.am:
19164 * tests/sched/cases/(fs-fs).xml:
19165 * tests/sched/cases/(fs-i-fs).xml:
19166 * tests/sched/cases/(fs-i-i-fs).xml:
19167 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19168 * tests/sched/dynamic-pipeline.c:
19169 * tests/sched/interrupt1.c:
19170 * tests/sched/interrupt2.c:
19171 * tests/sched/interrupt3.c:
19172 * tests/sched/runtestcases:
19173 * tests/sched/runxml.c:
19174 * tests/sched/sched-stress.c:
19175 * tests/sched/sort.c:
19176 * tests/sched/testcases:
19177 * tests/sched/testcases1.tc:
19178 * tests/seeking/.cvsignore:
19179 * tests/seeking/Makefile.am:
19180 * tests/seeking/seeking1.c:
19181 * tests/threadstate/.cvsignore:
19182 * tests/threadstate/Makefile.am:
19183 * tests/threadstate/test1.c:
19184 * tests/threadstate/test2.c:
19185 * tests/threadstate/threadstate1.c:
19186 * tests/threadstate/threadstate2.c:
19187 * tests/threadstate/threadstate3.c:
19188 * tests/threadstate/threadstate4.c:
19189 * tests/threadstate/threadstate5.c:
19190 remove obsolete tests
19192 * tests/bench-complexity.scm:
19193 * tests/bench-mass_elements.scm:
19194 * tests/complexity.c:
19195 * tests/complexity.gnuplot:
19196 * tests/instantiate/.cvsignore:
19197 * tests/instantiate/Makefile.am:
19198 * tests/instantiate/caps.c:
19199 * tests/mass_elements.c:
19200 * tests/network-clock-utils.scm:
19201 * tests/network-clock.scm:
19203 First pass at cleaning up tests/ dir before moving the rest
19204 Combined with CVS surgery
19206 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19209 queue has moved, update
19211 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19213 * docs/gst/gstreamer-sections.txt:
19214 remove double entries from the docs
19215 * gst/gst_private.h:
19216 * gst/gstinfo.c: (_gst_debug_init):
19217 remove the THREAD debug category
19221 * docs/gst/gstreamer.types:
19222 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19223 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19224 completely move queue and fix up debugging categories
19226 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19228 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19229 make initialization portable, using LL is not
19231 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19233 * win32/common/gstconfig.h:
19236 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19238 * win32/common/libgstreamer.def:
19239 rename symbols; sort base section
19241 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19243 * gst/gstclock.c: (do_linear_regression):
19244 remove crack non-portable handrolled DEBUG macro
19246 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19248 * docs/random/release:
19250 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19251 (gst_object_flags_get_type), (register_gst_bin_flags),
19252 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19253 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19254 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19255 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19256 (gst_caps_flags_get_type), (register_gst_clock_return),
19257 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19258 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19259 (gst_clock_flags_get_type), (register_gst_state),
19260 (gst_state_get_type), (register_gst_state_change_return),
19261 (gst_state_change_return_get_type), (register_gst_state_change),
19262 (gst_state_change_get_type), (register_gst_element_flags),
19263 (gst_element_flags_get_type), (register_gst_core_error),
19264 (gst_core_error_get_type), (register_gst_library_error),
19265 (gst_library_error_get_type), (register_gst_resource_error),
19266 (gst_resource_error_get_type), (register_gst_stream_error),
19267 (gst_stream_error_get_type), (register_gst_event_type_flags),
19268 (gst_event_type_flags_get_type), (register_gst_event_type),
19269 (gst_event_type_get_type), (register_gst_seek_type),
19270 (gst_seek_type_get_type), (register_gst_seek_flags),
19271 (gst_seek_flags_get_type), (register_gst_format),
19272 (gst_format_get_type), (register_gst_index_certainty),
19273 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19274 (gst_index_entry_type_get_type),
19275 (register_gst_index_lookup_method),
19276 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19277 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19278 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19279 (gst_index_flags_get_type), (register_gst_debug_level),
19280 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19281 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19282 (gst_iterator_result_get_type), (register_gst_iterator_item),
19283 (gst_iterator_item_get_type), (register_gst_message_type),
19284 (gst_message_type_get_type), (register_gst_mini_object_flags),
19285 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19286 (gst_pad_link_return_get_type), (register_gst_flow_return),
19287 (gst_flow_return_get_type), (register_gst_activate_mode),
19288 (gst_activate_mode_get_type), (register_gst_pad_direction),
19289 (gst_pad_direction_get_type), (register_gst_pad_flags),
19290 (gst_pad_flags_get_type), (register_gst_pad_presence),
19291 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19292 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19293 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19294 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19295 (gst_plugin_flags_get_type), (register_gst_rank),
19296 (gst_rank_get_type), (register_gst_query_type),
19297 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19298 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19299 (gst_tag_flag_get_type), (register_gst_task_state),
19300 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19301 (gst_alloc_trace_flags_get_type),
19302 (register_gst_type_find_probability),
19303 (gst_type_find_probability_get_type), (register_gst_uri_type),
19304 (gst_uri_type_get_type), (register_gst_parse_error),
19305 (gst_parse_error_get_type):
19306 * win32/common/gstenumtypes.h:
19307 * win32/common/gstversion.h:
19308 update visual studio generated files
19310 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19312 * win32/vs6/libgstbase.dsp:
19313 * win32/vs6/libgstelements.dsp:
19314 update project files for new locations
19316 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19321 reinstate and update
19326 * docs/random/LICENSE:
19329 2005-11-30 Edward Hervey <edward@fluendo.com>
19331 * gst/gsttypefind.c: (gst_type_find_register):
19332 * gst/gsttypefind.h:
19333 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19334 (gst_type_find_factory_dispose):
19335 * gst/gsttypefindfactory.h:
19336 Fix memory leak in GstTypeFindFactory.
19338 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19341 * plugins/elements/Makefile.am:
19342 * plugins/elements/gstelements.c:
19343 * plugins/elements/gstqueue.c:
19344 move queue from core to the elements plugin
19346 2005-11-29 Andy Wingo <wingo@pobox.com>
19348 * libs/gst/base/gstbasetransform.h:
19349 * libs/gst/base/gstbasesrc.h:
19350 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19352 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19353 of pointers by which to pad very extensible base classes (like the
19354 ones in libs/gst/base).
19356 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19358 * docs/gst/gstreamer-docs.sgml:
19359 * docs/gst/gstreamer-sections.txt:
19360 * docs/libs/gstreamer-libs-docs.sgml:
19361 * docs/libs/gstreamer-libs-sections.txt:
19362 moving documentation from core to lib
19364 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19366 * check/Makefile.am:
19368 * docs/gst/Makefile.am:
19370 * gst/base/.cvsignore:
19371 * gst/base/Makefile.am:
19373 * gst/base/gstadapter.c:
19374 * gst/base/gstadapter.h:
19375 * gst/base/gstbasesink.c:
19376 * gst/base/gstbasesink.h:
19377 * gst/base/gstbasesrc.c:
19378 * gst/base/gstbasesrc.h:
19379 * gst/base/gstbasetransform.c:
19380 * gst/base/gstbasetransform.h:
19381 * gst/base/gstcollectpads.c:
19382 * gst/base/gstcollectpads.h:
19383 * gst/base/gstpushsrc.c:
19384 * gst/base/gstpushsrc.h:
19385 * gst/base/gsttypefindhelper.c:
19386 * gst/base/gsttypefindhelper.h:
19387 * gst/check/Makefile.am:
19388 * gst/check/gstcheck.c:
19389 * gst/check/gstcheck.h:
19390 * gst/net/Makefile.am:
19391 * gst/net/gstnet.h:
19392 * gst/net/gstnetclientclock.c:
19393 * gst/net/gstnetclientclock.h:
19394 * gst/net/gstnettimepacket.c:
19395 * gst/net/gstnettimepacket.h:
19396 * gst/net/gstnettimeprovider.c:
19397 * gst/net/gstnettimeprovider.h:
19398 * libs/gst/Makefile.am:
19399 * libs/gst/base/Makefile.am:
19400 * libs/gst/base/gstbasetransform.c:
19401 * libs/gst/check/Makefile.am:
19402 * plugins/elements/Makefile.am:
19404 CVS surgery + support to move base, check, and net out of gst
19407 2005-11-29 Andy Wingo <wingo@pobox.com>
19409 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19411 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19414 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19416 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19418 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19420 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19421 padding; reduces object size by about 30%. We don't expect
19422 anything else to go into gstobject.
19424 * gst/gstminiobject.h (struct _GstMiniObject)
19425 (struct _GstMiniObjectClass): Only one pointer of padding; the
19426 payload is only a pointer and two ints anyway. For the class there
19427 are only two methods as well.
19429 * gst/gstelement.h (struct _GstElementClass): Removed
19430 the state_changed signal callback, it is not used.
19432 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19434 * docs/gst/gstreamer.types:
19435 fix includes, though they are a little dinky
19437 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19439 * check/Makefile.am:
19440 look in the right place for elements, a lot more chance of
19443 remove indexers and elements subdirs
19444 * plugins/Makefile.am:
19445 make indexers conditional
19447 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19451 * plugins/elements/Makefile.am:
19452 * plugins/elements/gstcapsfilter.c:
19453 * plugins/elements/gstfilesink.c:
19454 * plugins/elements/gstfilesrc.c:
19455 * plugins/elements/gstidentity.c:
19456 * plugins/indexers/Makefile.am:
19457 do CVS surgery and related build fixery to move elements
19458 and indexers in a new gstreamer/plugins directory, out of the
19461 2005-11-29 Andy Wingo <wingo@pobox.com>
19463 * check/Makefile.am:
19464 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19465 * pkgconfig/gstreamer-net.pc.in:
19466 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19469 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19471 * tools/Makefile.am:
19472 * tools/gst-complete.1.in:
19473 * tools/gst-complete.c:
19474 * tools/gst-compprep.1.in:
19475 * tools/gst-compprep.c:
19476 removing -compprep and -complete
19478 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19480 * gst/gstevent.c: (gst_event_new_new_segment),
19481 (gst_event_parse_new_segment):
19483 fix #320529 - clean up new_segment API and structure.
19484 Let's hope everyone was using the methods, and not the structure.
19486 2005-11-29 Edward Hervey <edward@fluendo.com>
19488 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19489 (gst_base_sink_event), (gst_base_sink_do_sync),
19490 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19491 Properly handle non GST_FORMAT_TIME segment
19492 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19493 Properly handle non GST_FORMAT_TIME segment
19494 * gst/gstsegment.c:
19495 This function is valid if the accumulator is 0 and the format
19496 is different from the requested format.
19498 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19500 * docs/gst/gstreamer-sections.txt:
19501 Add gst_query_new_seeking and gst_query_parse_seeking to the
19504 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19506 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19507 Treat a pad alloc with new caps the same as if we were not
19508 negotiated, in order to allow a changing upstream output
19509 to produce a new format of data.
19511 2005-11-29 Edward Hervey <edward@fluendo.com>
19513 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19514 (gst_base_transform_event), (gst_base_transform_eventfunc):
19515 The event virtual method is now properly implemented, with a default
19517 Sub classes should call the parent_class event method. They should
19518 return FALSE if they had a problem handling the given event, or don't
19519 want GstBaseTransform to send that even downstream
19520 * gst/elements/gstidentity.c: (gst_identity_class_init),
19521 (gst_identity_init), (gst_identity_event),
19522 (gst_identity_transform_ip), (gst_identity_set_property),
19523 (gst_identity_get_property):
19524 * gst/elements/gstidentity.h:
19525 Added the single-segment boolean property.
19526 If set to TRUE, it will output a single segment of data, starting from
19527 0, will eat up all incoming newsegment, and modify the timestamp of the
19528 buffers accordingly
19530 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19532 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19533 Don't ref NULL target pad (#322751). Improve docs.
19535 2005-11-29 Michael Smith <msmith@fluendo.com>
19537 * gst/gstregistryxml.c: (load_plugin):
19538 Don't crash if we failed to load a feature from a plugin.
19540 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19542 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19544 use more check API and less GLib API
19546 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19549 don't run checks if we don't have check
19550 * common/check.mak:
19551 remove the registry when running make torture
19552 * docs/gst/gstreamer-sections.txt:
19553 remove second multiply
19554 * gst/gstqueue.c: (gst_queue_loop):
19555 fix a compile warning when disabling debug
19557 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19560 Hey! Let's print the pad name if the pointer != NULL instead
19561 of when it == NULL :-)
19563 2005-11-28 Wim Taymans <wim@fluendo.com>
19565 * check/gst/gstutils.c: (GST_START_TEST):
19566 Updated check, add some scaling accuracy checking code.
19568 * gst/gstutils.c: (gst_util_div128_64),
19569 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19570 (gst_util_uint64_scale_int):
19571 Fix 6 times faster division code. Optimize for common
19572 1/1 and less common X/1 cases.
19574 2005-11-28 Wim Taymans <wim@fluendo.com>
19576 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19579 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19580 (do_linear_regression), (gst_clock_add_observation):
19582 Release lock when the clock cannot be slaved.
19583 Catch the case where the regression returned an invalid denominator.
19585 * gst/gstutils.c: (gst_util_div128_64_iterate),
19586 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19587 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19588 Add protentially more performant non-iterative 128/64 divide function
19589 that unfortunatly does not work yet.
19590 Shortcut the trivial 0/X = 0 case.
19591 Remove the warnings on overflow.
19593 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19595 * gst/gstplugin.c: (gst_plugin_register_func):
19596 everything causing a plugin not to load should be at least a WARNING
19598 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19600 * docs/random/ensonic/dparams.txt:
19601 some TODOs for the next dev cycle
19602 * libs/gst/controller/gstcontroller.c:
19603 (gst_controlled_property_set_interpolation_mode),
19604 (gst_controlled_property_new):
19605 * libs/gst/controller/gstcontroller.h:
19606 use base type to assign acccessor functions
19608 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19610 * check/Makefile.am:
19611 Oops, that should have been top_srcdir
19613 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19615 * check/Makefile.am:
19616 * check/elements/fdsrc.c: (GST_START_TEST):
19617 Use a cmdline define to specify the location of a file to use for
19618 testing, to avoid breaking distcheck.
19620 2005-11-28 Andy Wingo <wingo@pobox.com>
19622 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19624 2005-11-28 Edward Hervey <edward@fluendo.com>
19626 * tools/gst-launch.c: (main):
19627 Clarify the output strings, makes it easier to translate.
19630 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19633 don't try and build net if we don't even have <sys/socket.h>
19635 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19637 * check/Makefile.am:
19638 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19639 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19640 Add tests for fdsrc seekability
19642 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19643 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19644 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19645 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19646 * gst/elements/gstfdsrc.h:
19647 fdsrc should not be a 'live' source.
19648 Implement seeking on seekable fd's.
19650 * gst/gstquery.c: (gst_query_new_seeking),
19651 (gst_query_parse_seeking):
19653 Implement SEEKING query functions:
19654 *_new_seeking and *_parse_seeking
19656 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19658 * gst/gstelement.c: (gst_element_dispose):
19661 * gst/gstiterator.c:
19662 * gst/gststructure.c:
19665 * libs/gst/controller/gstcontroller.c:
19666 (gst_controlled_property_set_interpolation_mode):
19667 * libs/gst/controller/gstcontroller.h:
19668 * libs/gst/controller/gstinterpolation.c:
19669 (interpolate_none_get_enum_value_array):
19670 support controlling enums
19672 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19675 Improve documentation for gst_value_union().
19678 Change return value for union, intersect and subtract functions
19679 from gint to gboolean.
19681 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19683 * gst/gstvalue.c: (gst_value_serialize_any_list),
19684 (gst_value_transform_any_list_string),
19685 (gst_value_deserialize_list), (gst_value_deserialize_array),
19686 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19687 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19688 (gst_value_set_fraction_range_full),
19689 (gst_value_deserialize_fraction_range),
19690 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19691 (gst_value_deserialize_boolean),
19692 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19693 (gst_value_serialize_float), (gst_value_deserialize_float),
19694 (gst_string_wrap), (gst_value_deserialize_string),
19695 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19696 (gst_value_union_int_range_int_range),
19697 (gst_value_intersect_int_range_int_range),
19698 (gst_value_intersect_double_range_double_range),
19699 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19700 (gst_value_subtract_int_range_int_range),
19701 (gst_value_subtract_double_double_range),
19702 (gst_value_subtract_double_range_double_range),
19703 (gst_value_deserialize_fraction):
19705 Use gint, gdouble and gchar in our API instead of int, double and
19706 char (and make usage in gstvalue.c more consistent).
19708 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19710 * check/Makefile.am:
19711 * libs/gst/controller/Makefile.am:
19712 * libs/gst/dataprotocol/Makefile.am:
19713 fix up Makefile.am and remove GST_ENABLE_NEW
19715 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19719 * gst/base/Makefile.am:
19720 * gst/check/Makefile.am:
19721 * gst/elements/Makefile.am:
19722 * gst/net/Makefile.am:
19723 update LDFLAGS use some more
19725 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19727 * common/m4/gst-doc.m4:
19730 2005-11-26 Edward Hervey <edward@fluendo.com>
19732 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19733 This shouldn't issue a g_warning since it returns NULL if it
19734 couldn't find the plugin, and all functions using this behave
19735 properly on a NULL return. Switching to a GST_WARNING.
19737 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19739 * gst/gstbin.c: (gst_bin_handle_message_func):
19740 Don't leak clock messages.
19742 2005-11-25 Wim Taymans <wim@fluendo.com>
19744 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19745 (gst_util_uint64_scale_int):
19746 Optimisations, remove unneeded vars.
19748 2005-11-25 Wim Taymans <wim@fluendo.com>
19750 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19751 Added more checks for the high precision uint64 cases.
19753 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19754 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19755 Implement high precision (guint64 * guint64) / guint64.
19757 2005-11-24 Wim Taymans <wim@fluendo.com>
19759 * gst/base/gstbasesrc.c: (gst_base_src_query):
19760 Fix wrong percentage query.
19762 * gst/gstutils.c: (gst_util_uint64_scale),
19763 (gst_util_uint64_scale_int):
19764 Add some more common cases that can be handled
19765 efficiently to _scale.
19767 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19769 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19770 (gst_mini_object_suite):
19771 don't use check calls from threads; check probably isn't
19772 threadsafe and using a lock to make it threadsafe would
19773 defeat the purpose of this check
19774 * gst/check/gstcheck.c:
19775 * gst/check/gstcheck.h:
19776 use GST_DEBUG some more
19778 2005-11-24 Wim Taymans <wim@fluendo.com>
19780 * gst/gstutils.c: (gst_util_uint64_scale),
19781 (gst_util_uint64_scale_int):
19782 Chain trivial case to _scale_int.
19784 2005-11-24 Wim Taymans <wim@fluendo.com>
19786 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19787 Added test for scaling.
19792 * gst/gstutils.c: (gst_util_uint64_scale_int):
19793 Implemented high precision scaling code.
19795 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19798 do not crash on pad==NULL
19800 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19802 Patch by: Stefan Kost
19804 * common/gtk-doc.mak:
19805 * docs/gst/Makefile.am:
19806 * docs/libs/Makefile.am:
19807 Fix distcheck issues for the libraries docs build
19810 2005-11-24 Michael Smith <msmith@fluendo.com>
19812 * docs/manual/basics-helloworld.xml:
19813 Fix bug #315027: memory leak in example code in docs.
19815 2005-11-24 Michael Smith <msmith@fluendo.com>
19817 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19818 Unlock the PREROLL_LOCK in a failure case.
19820 2005-11-24 Wim Taymans <wim@fluendo.com>
19822 * docs/gst/gstreamer-sections.txt:
19823 * gst/base/gstadapter.h:
19824 * gst/base/gstbasesink.h:
19825 * gst/base/gstbasesrc.h:
19826 * gst/base/gstbasetransform.h:
19827 * gst/base/gstpushsrc.h:
19828 * gst/elements/gstfakesink.h:
19829 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19830 * gst/elements/gstfakesrc.h:
19831 * gst/elements/gstfilesink.h:
19832 * gst/elements/gstfilesrc.h:
19835 * gst/gstbuffer.c: (_gst_buffer_copy):
19838 * gst/gstchildproxy.c:
19840 * gst/gstelement.c:
19841 * gst/gstelementfactory.c:
19842 * gst/gstelementfactory.h:
19844 * gst/gstghostpad.h:
19846 * gst/gstinterface.h:
19847 * gst/gstminiobject.c:
19848 * gst/gstminiobject.h:
19851 * gst/gstpadtemplate.h:
19852 * gst/gstpipeline.h:
19853 * gst/gstpluginfeature.h:
19856 * gst/gsttaglist.c:
19857 * gst/gsttaglist.h:
19858 * gst/gsttagsetter.c:
19859 * gst/gsttagsetter.h:
19862 * gst/gsttypefind.h:
19865 * gst/net/gstnetclientclock.c:
19866 * gst/net/gstnetclientclock.h:
19867 * gst/net/gstnettimepacket.c:
19868 * gst/net/gstnettimeprovider.c:
19869 * gst/net/gstnettimeprovider.h:
19872 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19874 * configure.ac: back to HEAD
19876 === release 0.9.6 ===
19878 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19881 releasing 0.9.6, "Always On Time"
19883 2005-11-23 Wim Taymans <wim@fluendo.com>
19885 * docs/gst/gstreamer-sections.txt:
19886 * gst/glib-compat.c:
19887 * gst/gsttagsetter.c:
19889 * gst/net/gstnetclientclock.c:
19890 * gst/net/gstnettimepacket.h:
19893 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19895 * docs/faq/using.xml:
19896 * docs/libs/tmpl/gstcontrol.sgml:
19897 * docs/manual/advanced-dparams.xml:
19898 * docs/manual/appendix-checklist.xml:
19899 * docs/manual/basics-elements.xml:
19900 * docs/pwg/other-source.xml:
19901 * docs/random/moving-plugins:
19903 * tools/gst-launch.1.in:
19904 remove mentions of sinesrc
19906 2005-11-23 Michael Smith <msmith@fluendo.com>
19908 * docs/gst/gstreamer-sections.txt:
19909 Update for new API and API changes.
19911 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19913 Documentation typo fix.
19914 * gst/net/gstnettimepacket.c:
19915 Documentation fixes for arguments.
19917 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19919 * gst/gststructure.c: (gst_structure_get_fraction),
19920 (gst_structure_parse_value),
19921 (gst_structure_fixate_field_nearest_fraction):
19922 * gst/gststructure.h:
19923 * gst/gstutils.c: (gst_util_uint64_scale_int):
19925 * scripts/update-funcnames:
19927 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19928 Make gst_structure_fixate_field_nearest_fraction take a numerator
19929 and denominator argument instead of a GValue
19930 add gst_structure_get_fraction helper function.
19932 2005-11-23 Wim Taymans <wim@fluendo.com>
19934 * docs/design/part-TODO.txt:
19937 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19938 * gst/net/gstnetclientclock.h:
19939 Use parent fields for timeout and window_size.
19941 2005-11-23 Andy Wingo <wingo@pobox.com>
19943 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19944 rate_num/rate_denom change.
19946 * gst/net/gstnetclientclock.c
19947 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19948 OBJECT_LOCK. Don't call add_observation with the lock.
19950 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19952 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19954 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19955 deal with rate as a fraction whose numerator and denominator are
19956 GstClockTime values.
19957 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19958 master; the other fields are protected by the SLAVE_LOCK.
19959 (do_linear_regression): Note that this must be called with the
19961 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19962 OBJECT_LOCK. Call set_calibration instead of touching the
19963 variables directly.
19964 (gst_clock_set_property, gst_clock_get_property): Protect
19965 master/slave parameters with the SLAVE_LOCK.
19967 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19968 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19969 note that all of the instance variables that add_observation and
19970 the set_master functions use are protected by that lock and not
19972 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19974 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19975 the caller to take the object lock.
19977 2005-11-23 Wim Taymans <wim@fluendo.com>
19979 * gst/gsterror.c: (_gst_core_errors_init):
19981 Add error for clock stuff.
19983 * gst/gstpipeline.c: (gst_pipeline_change_state),
19984 (gst_pipeline_set_clock):
19985 Post clock error when clock cannot be used in a pipeline.
19987 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19989 * docs/gst/gstreamer-sections.txt:
19990 make two symbols from gstinfo private for the docs
19991 * gst/base/gstcollectpads.h:
19993 fix doc typos, update docs
19995 2005-11-22 Wim Taymans <wim@fluendo.com>
19997 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19998 (gst_base_sink_wait), (gst_base_sink_do_sync),
19999 (gst_base_sink_handle_event):
20000 * gst/base/gstbasesink.h:
20001 No need to store the clock, the parent element class already
20004 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20005 Updates for clock_set returning a gboolean
20007 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20008 (gst_clock_id_wait_async), (gst_clock_class_init),
20009 (gst_clock_init), (gst_clock_finalize),
20010 (gst_clock_get_internal_time), (gst_clock_get_time),
20011 (gst_clock_slave_callback), (gst_clock_set_master),
20012 (gst_clock_get_master), (do_linear_regression),
20013 (gst_clock_add_observation), (gst_clock_set_property),
20014 (gst_clock_get_property):
20016 Implement master/slave. When setting a clock as a slave, a
20017 periodic timeout is scheduled to sample master and slave times.
20018 Then the slave clock is recalibrated to match offset and rate
20019 of the master clock.
20020 Update logging a bit.
20021 Add flag so that a clock can state that is cannot be slaved to
20024 * gst/gstelement.c: (gst_element_set_clock):
20025 * gst/gstelement.h:
20026 The set clock returns a gboolean for when an element cannot
20027 deal with the selected clock in the pipeline.
20029 * gst/gstpipeline.c: (gst_pipeline_change_state),
20030 (gst_pipeline_set_clock):
20031 * gst/gstpipeline.h:
20032 Handle the case where the selected clock cannot be set on
20035 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20036 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20037 (gst_net_client_clock_set_property),
20038 (gst_net_client_clock_get_property),
20039 (gst_net_client_clock_observe_times):
20040 * gst/net/gstnetclientclock.h:
20041 Use regression code in GstClock parent, remove duplicated
20044 2005-11-22 Michael Smith <msmith@fluendo.com>
20046 * gst/gstutils.c: (gst_util_clock_time_scale):
20048 * docs/gst/gstreamer-sections.txt:
20049 Rename method to have extra underscore.
20051 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20053 * gst/elements/Makefile.am:
20054 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20055 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20056 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20057 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20058 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20059 * gst/elements/gstfakesrc.h:
20060 * gst/gstqueue.c: (queue_leaky_get_type):
20061 correctly fix GEnumValues so that nick is the short lowercase
20063 * tools/gst-inspect.c: (print_element_properties_info):
20064 also show the nick, since it's useful to use from parse_launch
20068 2005-11-22 Michael Smith <msmith@fluendo.com>
20070 * gst/gstutils.c: (gst_util_clocktime_scale):
20072 * docs/gst/gstreamer-sections.txt:
20073 Add util method for scaling a clocktime by a fraction. Useful
20074 implementation is left as an exercise for the reader.
20076 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20078 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20079 If needed, allocate storage in the destination value during
20082 2005-11-22 Edward Hervey <edward@fluendo.com>
20084 * docs/gst/gstreamer-sections.txt:
20087 * gst/gsturitype.c:
20088 * gst/gsturitype.h:
20089 * gst/gstutils.c: (gst_util_set_object_arg):
20090 * tools/gst-compprep.c: (main):
20091 * tools/gst-inspect.c: (print_element_properties_info):
20092 Removed GstURI, closes bug #321061
20094 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20096 * check/gst/gststructure.c: (GST_START_TEST):
20097 * gst/gststructure.c: (gst_structure_parse_value):
20098 Oops, broke automatic string type parsing.
20099 Add a test to catch it in future.
20101 2005-11-22 Andy Wingo <wingo@pobox.com>
20103 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20104 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20105 Actually rename the function implementations. Grr.
20107 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20109 * check/gst/capslist.h:
20111 * check/gst/gststructure.c: (GST_START_TEST),
20112 (gst_structure_suite):
20113 Test automatic value type detection in gst_structure_from_string.
20114 * gst/gststructure.c: (gst_structure_parse_value):
20115 Add fraction as a type we try and guess automatically in
20116 caps/structure strings.
20118 2005-11-22 Andy Wingo <wingo@pobox.com>
20120 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20122 * gst/gsttagsetter.h:
20123 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20124 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20125 (gst_tag_setter_add_tag_valist)
20126 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20127 _add_values, _add_valist, and _add_valist_values. Since this is an
20128 interface the function suffixes should be more explicit so
20129 language binding don't end up with element.add_valist ->
20130 gst_tag_setter_add_valist, for example. Fixes #322069.
20132 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20134 * check/gst/gstcaps.c: (GST_START_TEST):
20135 Extend caps string tests to check that a caps to string
20136 conversion is reversible and produces the same caps.
20138 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20139 Output "fraction" as the generic type fraction range, so caps
20140 serialisation and deserialisation works.
20141 * check/gst/capslist.h:
20142 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20143 Support 'MIN' and 'MAX' for deserialising fractions.
20145 2005-11-22 Andy Wingo <wingo@pobox.com>
20147 * gst/gstevent.h (gst_event_new_new_segment)
20148 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20149 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20150 Renamed from *_newsegment, *_buffersize, *_notarget.
20152 * scripts/update-funcnames: New script, performs the changes
20155 2005-11-22 Wim Taymans <wim@fluendo.com>
20157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20158 Make sure the GstFlowReturn is returned.
20160 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20161 (gst_bus_add_signal_watch):
20163 add gst_bus_add_signal_watch_full.
20165 * gst/gstplugin.c: (gst_plugin_load_file):
20166 Small style cleanup.
20168 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20170 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20171 Block the fakesrc srcpad when we send an event, to avoid
20172 contention on the stream_lock causing random test failures.
20174 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20176 * check/gst/gstvalue.c: (GST_START_TEST):
20177 * gst/gstvalue.c: (gst_value_fraction_subtract):
20180 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20183 include "gstchildproxy.h"
20184 * gst/gstchildproxy.h:
20185 * libs/gst/controller/gstcontroller.h:
20186 use G_GNUC_NULL_TERMINATED
20188 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20190 * check/gst/capslist.h:
20191 * check/gst/gstcaps.c: (GST_START_TEST):
20192 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20193 * gst/gststructure.c: (gst_structure_parse_range),
20194 (gst_structure_fixate_field_nearest_fraction):
20195 * gst/gststructure.h:
20196 * gst/gstvalue.c: (gst_value_init_fraction_range),
20197 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20198 (gst_value_collect_fraction_range),
20199 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20200 (gst_value_set_fraction_range_full),
20201 (gst_value_get_fraction_range_min),
20202 (gst_value_get_fraction_range_max),
20203 (gst_value_serialize_fraction_range),
20204 (gst_value_transform_fraction_range_string),
20205 (gst_value_compare_fraction_range),
20206 (gst_value_deserialize_fraction_range),
20207 (gst_value_intersect_fraction_fraction_range),
20208 (gst_value_intersect_fraction_range_fraction_range),
20209 (gst_value_subtract_fraction_fraction_range),
20210 (gst_value_subtract_fraction_range_fraction),
20211 (gst_value_subtract_fraction_range_fraction_range),
20212 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20213 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20214 (gst_value_transform_string_fraction), (_gst_value_initialize):
20216 Implement fraction ranges and extend GstFraction to support
20217 arithmetic subtraction, as well as deserialization from integer
20218 strings such as "100"
20219 Add a testsuite as for int and double range set operations
20221 2005-11-21 Andy Wingo <wingo@pobox.com>
20223 * gst/gsttaglist.h:
20225 * gst/gststructure.h: Add glib-compat.h.
20227 2005-11-21 Wim Taymans <wim@fluendo.com>
20229 * gst/gstbin.c: (gst_bin_change_state_func):
20232 2005-11-21 Wim Taymans <wim@fluendo.com>
20234 * gst/gstsegment.h:
20235 And add a nice define too.
20237 2005-11-21 Wim Taymans <wim@fluendo.com>
20239 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20240 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20241 (gst_segment_set_duration), (gst_segment_set_last_stop),
20242 (gst_segment_set_seek), (gst_segment_set_newsegment),
20243 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20244 (gst_segment_clip):
20245 * gst/gstsegment.h:
20246 Make binding friendly.
20248 2005-11-21 Andy Wingo <wingo@pobox.com>
20250 * gst/gsttagsetter.h:
20251 * gst/gsttaglist.h:
20252 * gst/gststructure.h:
20254 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20257 * gst/gsterror.c (_gst_core_errors_init):
20258 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20261 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20262 (noinst_HEADERS): noinst the -private.
20264 2005-11-21 Michael Smith <msmith@fluendo.com>
20267 * gst/gstregistry.h:
20268 Remove unimplemented declarations for which we can see no sensible
20271 2005-11-21 Andy Wingo <wingo@pobox.com>
20273 * gst/gst.h: Include glib-compat.h.
20275 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20277 * gst/glib-compat.c: Include the public and the private header.
20279 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20283 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20285 * check/gst/gstevent.c (create_custom_events): Check that
20286 FLUSH_STOP is serialized.
20288 * check/elements/identity.c (event_func):
20289 * check/elements/fakesrc.c (event_func): No stream lock, the core
20292 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20293 stream lock taking, yay.
20295 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20296 ensure that core takes the stream lock.
20298 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20301 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20302 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20303 it already. For the flush start we do take it though so we get the
20304 right preroll state change messages.
20306 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20307 the stream lock here, the core does it for us.
20309 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20310 GST_STREAM_GET_LOCK.
20311 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20312 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20313 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20314 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20315 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20316 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20318 * gst/gstpad.c: Update for stream lock name change.
20320 * gst/base/gstbasesink.c: Update for preroll lock name change.
20322 2005-11-21 Wim Taymans <wim@fluendo.com>
20324 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20325 (gst_clock_get_master):
20327 * gst/gstsystemclock.c: (gst_system_clock_init):
20328 Convert Clock flags to object flags.
20329 Added methods to manage master/slave clocks.
20331 2005-11-21 Wim Taymans <wim@fluendo.com>
20333 * check/gst/gstsegment.c: (GST_START_TEST):
20334 * docs/design/part-TODO.txt:
20335 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20336 (gst_base_sink_event), (gst_base_sink_do_sync),
20337 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20338 (gst_base_sink_query), (gst_base_sink_change_state):
20339 * gst/base/gstbasesink.h:
20340 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20341 (gst_base_src_default_newsegment),
20342 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20343 (gst_base_src_get_range), (gst_base_src_loop),
20344 (gst_base_src_change_state):
20345 * gst/base/gstbasesrc.h:
20346 * gst/base/gstbasetransform.c:
20347 (gst_base_transform_prepare_output_buf),
20348 (gst_base_transform_event), (gst_base_transform_change_state):
20349 * gst/base/gstbasetransform.h:
20350 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20351 (gst_collect_pads_event):
20352 * gst/base/gstcollectpads.h:
20353 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20354 (gst_fake_src_create):
20355 * gst/elements/gstfakesrc.h:
20356 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20357 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20358 (gst_segment_set_last_stop), (gst_segment_set_seek),
20359 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20360 (gst_segment_to_running_time), (gst_segment_clip):
20361 * gst/gstsegment.h:
20362 More segment updates, replace code in plugins with segment
20365 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20367 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20368 Don't ignore sscanf results
20370 2005-11-21 Andy Wingo <wingo@pobox.com>
20372 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20375 * *.c: Ran scripts/update-macros. Oh yes.
20377 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20378 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20381 * scripts/update-macros: New script. Run it on your files to
20382 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20385 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20387 * docs/gst/Makefile.am:
20388 * docs/gst/gstreamer-docs.sgml:
20389 * docs/gst/gstreamer-sections.txt:
20390 * docs/gst/gstreamer.types:
20392 more docs fixes, add new api to the docs
20394 2005-11-21 Andy Wingo <wingo@pobox.com>
20396 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20397 state_broadcast call.
20399 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20401 2005-11-21 Julien MOUTTE <julien@moutte.net>
20403 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20404 function calls for arrays.
20406 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20408 * docs/random/ensonic/media-device-daemon.txt:
20409 wild idea, can this be done?
20410 * docs/gst/gstreamer-sections.txt:
20415 * gst/gstpluginfeature.c:
20419 doc fixes and additions
20421 2005-11-21 Andy Wingo <wingo@pobox.com>
20423 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20424 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20425 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20426 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20427 private to the basesrc implementation.
20429 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20430 behalf of event function if necessary. It should no longer be
20431 necessary to take the stream lock in pad's event functions. Fixes
20434 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20435 * docs/gst/gstreamer-sections.txt:
20436 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20437 (gst_structure_fixate_field_nearest_double),
20438 (gst_structure_fixate_field_boolean):
20439 * gst/gststructure.h:
20440 * win32/common/libgstreamer.def:
20441 * win32/gstreamer.def:
20443 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20446 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20448 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20449 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20450 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20451 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20452 (gst_fdsrc_uri_handler_init):
20453 * gst/elements/gstfdsrc.h:
20454 Port fd:// URI handler from 0.8 to fdsrc
20456 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20458 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20459 (gst_value_serialize_fourcc):
20461 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20462 consistent with our other format defines (#320324).
20464 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20466 * gst/gstvalue.c: (gst_value_is_fixed):
20467 Revert previous commit. Value lists are by definition
20468 not fixed, as they are a list of possible values.
20470 2005-11-21 Andy Wingo <wingo@pobox.com>
20472 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20473 during the stable series if we need it. Fixes #319178.
20475 * gst/gstevent.c (gst_event_new_filler): Removed.
20477 * check/gst/gstevent.c: Update comment about filler events.
20479 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20481 * gst/gstvalue.c: (gst_value_is_fixed):
20482 Should handle both value arrays and value lists.
20484 2005-11-21 Andy Wingo <wingo@pobox.com>
20486 patch by: Alessandro Dessina <alessandro nnva org>
20488 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20489 functions to access arrays. Fixes #321962.
20491 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20493 * docs/gst/gstreamer.types:
20494 gst_collectpads_get_type => gst_collect_pads_get_type.
20496 * gst/base/gstbasetransform.c:
20497 Remove unused SIGNAL_HANDOFF enum.
20499 2005-11-21 Andy Wingo <wingo@pobox.com>
20501 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20502 the event type (upstream, downstream, serialized). Renamed
20503 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20504 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20505 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20507 * gst/gstevent.c: Update for new CUSTOM event names.
20509 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20512 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20515 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20517 * docs/gst/gstreamer-sections.txt:
20518 * win32/common/libgstbase.def:
20519 * win32/libgstbase.def:
20520 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20521 (gst_collect_pads_class_init), (gst_collect_pads_init),
20522 (gst_collect_pads_finalize), (gst_collect_pads_new),
20523 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20524 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20525 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20526 (gst_collect_pads_start), (gst_collect_pads_stop),
20527 (gst_collect_pads_peek), (gst_collect_pads_pop),
20528 (gst_collect_pads_available), (gst_collect_pads_read),
20529 (gst_collect_pads_flush), (gst_collect_pads_event),
20530 (gst_collect_pads_chain):
20531 * gst/base/gstcollectpads.h:
20532 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20533 unimplemented functions as unimplemented. Add padding to
20534 GstCollectData. (#320766, #320423)
20536 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20538 * gst/gstmessage.c:
20539 Improve docs for DURATION message (usage of duration parameter)
20542 2005-11-20 Wim Taymans <wim@fluendo.com>
20544 * check/Makefile.am:
20545 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20549 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20550 (gst_segment_set_seek), (gst_segment_set_newsegment),
20551 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20552 (gst_segment_clip):
20553 * gst/gstsegment.h:
20554 Added segment helper structure and methods. Not fully implemented
20556 Added segment check.
20558 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20560 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20561 Add a deserialisation test for fractions
20562 * examples/metadata/read-metadata.c: (message_loop),
20563 (make_pipeline), (main):
20564 Fix up metadata reading sample.
20565 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20567 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20568 Don't try and fixate empty caps
20569 * gst/gst_private.h:
20570 Wrap in G_BEGIN_DECLS/G_END_DECLS
20571 * gst/gstvalue.c: (gst_value_collect_fraction),
20572 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20573 (gst_value_transform_string_fraction),
20574 (gst_value_compare_fraction):
20575 Add some extra guards to ensure that we don't end up
20576 with an invalid denominator of 0 in a gstfraction and
20577 that fractions always get reduced.
20579 2005-11-20 Wim Taymans <wim@fluendo.com>
20581 * docs/gst/gstreamer-sections.txt:
20583 * gst/gstelement.c:
20592 2005-11-20 Wim Taymans <wim@fluendo.com>
20594 * docs/design/part-TODO.txt:
20596 Make a proper enum of the flag.
20598 2005-11-19 Wim Taymans <wim@fluendo.com>
20600 * docs/design/part-TODO.txt:
20601 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20602 (gst_format_to_quark), (gst_format_register):
20604 * gst/gstquery.c: (_gst_query_initialize),
20605 (gst_query_type_get_name), (gst_query_type_to_quark),
20606 (gst_query_type_register):
20608 Add type to quark and type to string conversions.
20610 2005-11-19 Andy Wingo <wingo@pobox.com>
20612 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20615 2005-11-19 Wim Taymans <wim@fluendo.com>
20617 * docs/design/part-TODO.txt:
20618 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20619 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20620 (gst_bin_handle_message_func):
20622 Make message handling overridable.
20624 2005-11-19 Andy Wingo <wingo@pobox.com>
20626 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20629 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20631 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20632 is a GstClockTime. Fixes #321710.
20634 * gst/gstclock.h (GstClock): Remove offset property. Add
20635 internal_calibration and external_calibration. Fix padding. Pad
20636 also by GstClockTime so we don't run into problems.
20638 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20639 (gst_clock_get_rate_offset): Remove.
20640 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20643 * gst/gstutils.c (g_static_rec_cond_wait)
20644 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20646 * gst/gstbin.c: Remove terrible continue_state prototype.
20648 * gst/gstelement.h (gst_element_continue_state): Make public.
20650 * gst/gstelement.h:
20651 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20652 by continue_state. Fixes #319389.
20654 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20655 Really fixes #168438. However I don't see anywhere where the
20656 filter function is called... stupid GStreamer...
20658 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20659 don't have a dispose function, so it won't get called when the
20660 object is unreffed, but oh well!
20662 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20663 allows a destroy function to be set so user_data can be freed.
20665 (gst_index_set_filter): Call gst_index_set_filter_full.
20667 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20669 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20670 string should produce an error, given the lack of a way to
20671 represent NULL strings. Fixes #165650.
20674 * gst/gstvalue.c (gst_value_array_append_value)
20675 (gst_value_array_prepend_value, gst_value_array_get_size)
20676 (gst_value_array_get_value): New API, copied from
20677 gst_value_list_*, only operates on arrays.
20678 (gst_value_list_append_value, gst_value_list_prepend_value)
20679 (gst_value_list_concat, gst_value_list_get_size)
20680 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20682 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20683 init_list, because it works on both.
20684 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20685 (gst_value_copy_list_or_array): Renamed from copy_list.
20686 (gst_value_free_list_or_array): Renamed from free_list.
20687 (gst_value_collect_list_or_array): Renamed from collect_list.
20688 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20689 (gst_value_list_or_array_peek_pointer): Renamed from
20691 (_gst_value_array_value_table, _gst_value_list_value_table):
20692 Update value table functions.
20693 (gst_value_compare_list_or_array): Renamed from compare_list.
20695 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20698 * gst/gsttaglist.c:
20699 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20700 GstTagList*. Fixes #143472.
20702 * gst/gststructure.h: Clarify what the foreach/map functions can
20703 or can't do to their arguments.
20705 2005-11-18 Wim Taymans <wim@fluendo.com>
20707 * gst/gstclock.c: (gst_clock_set_calibration),
20708 (gst_clock_get_calibration):
20710 Calibration can be set with internal time equal to current
20713 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20719 2005-11-18 Andy Wingo <wingo@pobox.com>
20722 * pkgconfig/gstreamer-net.pc.in:
20723 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20724 * pkgconfig/Makefile.am: Add net pkgconfig files.
20726 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20729 * gst/gstghostpad.c:
20735 2005-11-18 Andy Wingo <wingo@pobox.com>
20737 * gst/net/gstnetclientclock.c: Turn off debugging.
20739 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20740 times connverge somewhat. Can't make a real test.
20742 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20743 integer arithmetic. Return the minimum of the domain, which can be
20744 set as "internal" for gst_clock_set_calibration.
20745 (gst_net_client_clock_observe_times): Call _set_calibration.
20746 (gst_net_client_clock_new): Call _set_calibration instead of
20749 * check/net/gstnetclientclock.c (test_functioning): Use the right
20753 * gst/gstclock.c (gst_clock_get_calibration)
20754 (gst_clock_set_calibration): New functions, obsolete the ones I
20755 added yesterday. Doh. Precision issues mean we have to extrapolate
20756 from a point in the more recent past than 1970.
20757 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20759 (gst_clock_adjust_unlocked): Use the right calibration data.
20761 2005-11-18 Edward Hervey <edward@fluendo.com>
20763 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20764 Also reset the ->current_* values in READY->PAUSED
20766 2005-11-18 Andy Wingo <wingo@pobox.com>
20768 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20769 Whoops, check the right fd. Also add some debugging.
20770 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20771 (do_linear_regression): Add a crapload of debugging. Subtract off
20772 the minimum values from the input series to discard unneeded bits.
20773 Use only int arithmetic. There is still double arithmetic when
20774 calculating the intercept that needs fixing. Return boolean to
20775 indicate success; FALSE would mean the domain or range is too
20776 great. Still needs fixes.
20778 2005-11-18 Wim Taymans <wim@fluendo.com>
20780 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20781 For the current position in stream time, we need to subtract
20784 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20785 Release lock before calling the callback function of async
20788 2005-11-18 Andy Wingo <wingo@pobox.com>
20790 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20791 Port goes all the way to MAXUINT16.
20793 * gst/net/gstnettimeprovider.c: Make the port range the same as
20794 for the kernel: 0 assigns, otherwise ports are less than
20797 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20800 * check/net/gstnetclientclock.c (test_functioning): Add the start
20803 2005-11-18 Wim Taymans <wim@fluendo.com>
20805 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20806 (gst_bin_remove_func), (bin_bus_handler):
20808 Removing a clock provider from a bin, triggers a clock lost message
20809 so that a new clock will be selected.
20810 Adding a clock to a bin triggers a clock provider message.
20811 Make sure we reselect a clock when we received a clock lost message.
20812 Keep a reference to the element that provided the clock.
20814 2005-11-18 Andy Wingo <wingo@pobox.com>
20816 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20817 the clock initially so it produces values around the base time.
20818 (gst_net_client_clock_class_init): Typo fix.
20819 (gst_net_client_clock_thread): Add note on when the socket gets
20822 2005-11-17 Wim Taymans <wim@fluendo.com>
20824 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20825 Free remote and local time arrays.
20827 2005-11-17 Wim Taymans <wim@fluendo.com>
20829 * gst/net/gstnetclientclock.c: (do_linear_regression),
20830 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20831 Fix compilation, uninitialized vars and a forgotten continue.
20833 2005-11-17 Andy Wingo <wingo@pobox.com>
20835 * check/Makefile.am (check_PROGRAMS):
20836 * check/net/gstnetclientclock.c: Add a most minimal test for the
20837 net client clock. More to come later.
20839 * gst/net/gstnet.h:
20840 * gst/net/Makefile.am: Add netclientclock.
20842 * gst/net/gstnetclientclock.h:
20843 * gst/net/gstnetclientclock.c: New files, implement an untested
20844 GstClock that takes its time from a network time provider.
20845 Implements the algorithm in network-clock.scm.
20847 * tests/network-clock.scm (*window-size*): Rename from
20849 * tests/network-clock.scm (network-time):
20850 * tests/network-clock-utils.scm (q-push): Update callers.
20852 2005-11-17 Wim Taymans <wim@fluendo.com>
20854 * gst/gstbin.c: (gst_bin_provide_clock_func),
20855 (gst_bin_sort_iterator_new):
20856 And unref the child too..
20858 2005-11-17 Wim Taymans <wim@fluendo.com>
20860 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20861 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20862 Refactor the sort iterator so it can be used while holding the
20864 Make clock selection select a clock closest to the source.
20866 2005-11-17 Michael Smith <msmith@fluendo.com>
20868 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20869 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20871 Anonymous structs are a gcc (and some other compilers) extension, so
20872 don't use them. Since this is only for ABI-compatibility, and our
20873 API/ABI freeze is over in a few days, this whole thing will only
20874 last a few days, so don't bother trying to think up a meaningful
20875 name for the struct.
20877 2005-11-17 Andy Wingo <wingo@pobox.com>
20879 * gst/gstclock.h (GstClock): Add rate and offset properties,
20880 preserving ABI stability. Add rate/offset accessors. Will file bug
20881 for the freeze break.
20883 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20884 and offset, trying to keep precision and avoiding
20885 underflow/overflow.
20886 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20887 functions. Make gst_clock_set_time_adjust obsolete.
20888 (gst_clock_set_time_adjust): Note that this function is obsolete.
20889 Will file bug soon.
20891 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20892 greppable by using GST_PADDING-1+1.
20894 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20896 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20898 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20899 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20901 * gst/gstpadtemplate.h:
20902 * gst/gstpluginfeature.h:
20903 Don't use c++ style comments in headers (#321638).
20905 2005-11-16 Andy Wingo <wingo@pobox.com>
20907 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20910 * check/net/gstnettimeprovider.c: Check to see that the time
20911 provider actually provides times. Works, yo!
20913 2005-11-16 Wim Taymans <wim@fluendo.com>
20915 * check/Makefile.am:
20918 * check/elements/fakesrc.c: (GST_START_TEST):
20919 Set element to NULL before disposing it.
20921 2005-11-16 Andy Wingo <wingo@pobox.com>
20923 * gst/net/Makefile.am:
20924 * gst/net/gstnet.h:
20925 * gst/net/gstnettimeprovider.c:
20926 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20927 provider, include it from gstnet.h, and add it to the build.
20929 * gst/net/gstnettimepacket.h:
20930 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20931 sending and receiving.
20933 2005-11-16 Wim Taymans <wim@fluendo.com>
20935 * check/Makefile.am:
20936 Enable valgrind check.
20938 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20939 (gst_fake_src_alloc_buffer):
20942 2005-11-16 Wim Taymans <wim@fluendo.com>
20944 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20945 Call parent finalize too.
20947 2005-11-16 Wim Taymans <wim@fluendo.com>
20949 * check/Makefile.am:
20950 Enable valgrind check that should work fine now.
20952 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20953 * gst/gstqueue.c: (gst_queue_init):
20954 Fix memleaks in pad allocation.
20956 2005-11-16 Andy Wingo <wingo@pobox.com>
20958 * gst/net/Makefile.am:
20959 * gst/net/gstnet.h: New part of core to hold network elements and
20960 objects. Put in core because it exposes API that applications want
20961 to use. The library is named libgstnet-tempname right now because
20962 of the existing libgstnet in gst-plugins-base. Solution is
20963 probably to rename the one in plugins-base; will file a bug for
20966 * gst/net/gstnettimeprovider.c:
20967 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20968 get_time call over the network.
20971 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20973 * check/Makefile.am:
20974 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20975 get additions shortly.
20977 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20979 * gst/gstpad.c: (gst_pad_new_from_static_template):
20981 add gst_pad_new_from_static_template functions
20982 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20983 (gst_check_setup_sink_pad):
20984 * gst/elements/gsttee.c: (gst_tee_init):
20987 2005-11-16 Wim Taymans <wim@fluendo.com>
20989 * gst/gstpad.c: (gst_pad_pause_task):
20990 Removed warning, it's not really an error either.
20992 2005-11-16 Wim Taymans <wim@fluendo.com>
20994 * gst/base/gstbasetransform.c:
20995 (gst_base_transform_prepare_output_buf),
20996 (gst_base_transform_event):
20997 Check if the caps are NULL, this can happen if the element
20998 is shutting down and the pad caps are set to NULL.
21000 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21002 * gst/elements/gsttee.c: (gst_tee_init):
21003 fix pad template leak in tee
21005 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21007 * gst/glib-compat.c: (g_value_dup_gst_object):
21008 * gst/glib-compat.h:
21009 * gst/gstpad.c: (gst_pad_set_property):
21010 use gst_object_ref when setting the pad template; this will
21011 trigger the pad template leaks on GLib 2.6 and the slaves
21013 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21015 * gst/glib-compat.c: (gst_flags_get_first_value):
21016 * gst/glib-compat.h:
21017 * gst/gstregistryxml.c:
21018 remove functions copied from GLib 2.6
21020 2005-11-16 Michael Smith <msmith@fluendo.com>
21023 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21024 do, but only breaks with newer valgrind versions. We're not a
21025 valgrind tool, we have no link-time dependencies on libcoregrind.
21027 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21029 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21031 * gst/gstmessage.h:
21034 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21036 * gst/base/gstbasesrc.c: (gst_base_src_init):
21037 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21038 * gst/gstqueue.c: (gst_queue_init):
21039 * gst/gstregistryxml.c: (load_feature):
21040 Revert all these unrefs, they don't even pass make check !
21042 2005-11-15 Johan Dahlin <johan@gnome.org>
21044 * gst/base/gstbasesrc.c: (gst_base_src_init):
21045 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21046 * gst/gstqueue.c: (gst_queue_init):
21047 Free pad templates, fixes a couple of leaks.
21049 2005-11-15 Daniel Fischer <dan at f3c dot com>
21051 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21053 * gst/gstpad.c: (gst_pad_get_property):
21054 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21055 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21058 2005-11-15 Wim Taymans <wim@fluendo.com>
21063 2005-11-15 Andy Wingo <wingo@pobox.com>
21065 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21067 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21068 using GST_CLOCK_TIME_NONE to disable base time management.
21069 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21070 time if it was NONE before.
21071 (gst_pipeline_change_state): Only munge the base time if
21072 stream_time != GST_CLOCK_TIME_NONE.
21074 * check/gst/gstpipeline.c (test_base_time): Punt around the
21075 problem of the probe not being called, because that's not the
21076 issue I'm looking at. Add a check that setting stream_time to NONE
21077 disables base time management.
21079 2005-11-15 Wim Taymans <wim@fluendo.com>
21081 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21082 segment_stop == -1 at startup.
21084 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21085 (gst_base_transform_change_state):
21086 Init segment values at start.
21088 2005-11-15 Wim Taymans <wim@fluendo.com>
21090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21091 0 segment values are 0 in any format.
21093 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21094 * gst/base/gstbasetransform.h:
21095 Parse newsegment correctly in basetransform
21097 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21098 Sync to clock using updated segment values.
21100 2005-11-15 Andy Wingo <wingo@pobox.com>
21102 * check/gst/gstpipeline.c (test_base_time): Add check that the
21103 base time and stream time are reset correctly.
21105 2005-11-15 Wim Taymans <wim@fluendo.com>
21107 * docs/design/part-TODO.txt:
21108 Some more TODO items.
21110 2005-11-15 Andy Wingo <wingo@pobox.com>
21112 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21113 error if the user selected "no clock" as the clocking method.
21115 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21116 timestamps with live capture.
21118 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21119 is 0 but we are a live source, timestamp the buffers using the
21122 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21124 * docs/gst/gstreamer-sections.txt:
21126 * gst/gstghostpad.c:
21131 2005-11-14 Wim Taymans <wim@fluendo.com>
21134 add suppressions from Wim's Debian machine
21136 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21139 add suppressions from Andy's AMD64 Ubuntu machine
21141 2005-11-14 Andy Wingo <wingo@pobox.com>
21143 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21144 STATE_LOCK not necessary. Fixes #311489.
21146 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21149 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21150 this function is not implemented.
21152 2005-11-14 Julien MOUTTE <julien@moutte.net>
21154 * gst/base/gstbasetransform.c:
21155 (gst_base_transform_prepare_output_buf):
21156 Ref the source pad caps while we need them.
21159 2005-11-11 Wim Taymans <wim@fluendo.com>
21161 * docs/gst/gstreamer-sections.txt:
21162 Added some docs for GstCollectData.
21164 * gst/base/gstadapter.c:
21165 Some small code example fix.
21167 * gst/base/gstcollectpads.c:
21168 * gst/base/gstcollectpads.h:
21169 Document some more.
21171 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21173 * configure.ac: back to HEAD
21175 === release 0.9.5 ===
21177 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21180 releasing 0.9.5, "Bike Lunch Day"
21182 2005-11-11 Wim Taymans <wim@fluendo.com>
21184 * gst/gstbuffer.c: (_gst_buffer_copy):
21187 * gst/gstcaps.c: (gst_caps_is_equal):
21189 Make _is_equal fast in the trivial cases.
21191 * gst/gstminiobject.c:
21192 * gst/gstminiobject.h:
21193 More docs. Spifify .h file.
21198 2005-11-11 Wim Taymans <wim@fluendo.com>
21200 * gst/base/gstbasetransform.c:
21201 (gst_base_transform_prepare_output_buf),
21202 (gst_base_transform_handle_buffer):
21204 If we're processing a buffer and need to allocate an output
21205 buffer, we cannot accept a format change. If we did get a
21206 format change, we have to alloc a buffer ourselves of the
21209 2005-11-11 Wim Taymans <wim@fluendo.com>
21211 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21212 While checking the flag for reentrancy in the gstcaps function
21213 is nice to detect recursive invocations, it also makes it
21214 impossible to call getcaps from multiple threads, which must be
21215 possible. So, checking for recursive calls has to go.
21217 2005-11-11 Michael Smith <msmith@fluendo.com>
21219 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21220 Don't sync on buffers that fall partially outside our current
21221 segment. Prevents an assertion failure/abort playing some files.
21223 2005-11-10 Andy Wingo <wingo@pobox.com>
21225 * check/gst/gstbin.c (test_message_state_changed_children): Style
21228 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21229 gst_bus_poll with the signal watch. Ensures that poll and a signal
21230 watch see the same messages.
21232 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21233 a poll and a watch at the same time get the same messages.
21235 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21237 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21238 * gst/gstcaps.c: (gst_caps_intersect):
21239 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21240 and it's not needed.
21242 2005-11-10 Wim Taymans <wim@fluendo.com>
21244 * docs/design/part-TODO.txt:
21247 2005-11-10 Wim Taymans <wim@fluendo.com>
21249 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21250 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21251 (gst_base_src_do_sync), (gst_base_src_get_range):
21252 Implement clock sync in base class.
21254 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21256 patch by: Tim-Philipp Müller <tim at centricular dot net>
21258 * gst/gststructure.c: (gst_structure_parse_field),
21259 (gst_structure_from_string):
21260 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21261 so that gst_parse_launch() can deal with spaces in filtered link
21262 caps (fixes #164479)
21263 * check/gst/capslist.h:
21264 * check/gst/gststructure.c: (GST_START_TEST):
21265 add unit tests for this change
21267 2005-11-10 Wim Taymans <wim@fluendo.com>
21269 * docs/gst/gstreamer-sections.txt:
21270 * gst/gstelement.c:
21271 * gst/gstelement.h:
21272 Fix docs, move some STATE macros to private.
21274 2005-11-10 Wim Taymans <wim@fluendo.com>
21276 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21277 Added check for bug #317341
21281 Some more spiffifying.
21283 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21284 Call peer linkfunction if we are a source pad. Totally fixes
21288 Update docs, source pads should call the peer linkfunction
21289 so they can atomically perform the pad link.
21291 2005-11-09 Wim Taymans <wim@fluendo.com>
21295 Uber-spiffy-spiffify some more.
21297 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21299 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21300 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21301 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21302 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21303 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21304 * gst/gstpad.c: (gst_pad_init):
21305 Use GST_DEBUG_FUNCPTR() more extensively.
21307 2005-11-09 Wim Taymans <wim@fluendo.com>
21309 * gst/gstobject.c: (gst_object_class_init):
21311 Documentation fixes.
21313 2005-11-09 Edward Hervey <edward@fluendo.com>
21315 * gst/gsttypefindfactory.c:
21318 2005-11-09 Edward Hervey <edward@fluendo.com>
21320 * gst/base/gsttypefindhelper.c:
21321 * gst/gsttypefind.c:
21322 * gst/gsttypefind.h:
21325 2005-11-09 Wim Taymans <wim@fluendo.com>
21327 * gst/gstiterator.c:
21334 2005-11-09 Wim Taymans <wim@fluendo.com>
21340 2005-11-09 Wim Taymans <wim@fluendo.com>
21342 * docs/gst/gstreamer-sections.txt:
21343 Moved the message async delivery private lock and cond
21344 to the private section.
21346 * gst/gstmessage.c:
21347 * gst/gstmessage.h:
21350 2005-11-09 Edward Hervey <edward@fluendo.com>
21352 * docs/gst/gstreamer-sections.txt:
21355 Document GstURIHandler
21357 2005-11-09 Wim Taymans <wim@fluendo.com>
21359 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21360 (gst_iterator_find_custom):
21361 * gst/gstiterator.h:
21364 2005-11-09 Wim Taymans <wim@fluendo.com>
21367 Document another field.
21369 * gst/gststructure.c:
21370 * gst/gststructure.h:
21373 2005-11-09 Wim Taymans <wim@fluendo.com>
21376 Documented structs.
21378 2005-11-09 Wim Taymans <wim@fluendo.com>
21380 * docs/gst/gstreamer-sections.txt:
21381 Added some new macros.
21388 2005-11-09 Wim Taymans <wim@fluendo.com>
21390 * docs/design/part-TODO.txt:
21391 Some more items for the TODO
21397 2005-11-09 Andy Wingo <wingo@pobox.com>
21399 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21400 to work on something else now tho...
21402 * gst/base/gstadapter.c: More adapter docs.
21404 * gst/elements/gstfilesink.c (gst_file_sink_start)
21405 (gst_file_sink_stop): New functions, replace the state change
21407 (gst_file_sink_class_init): Hook up the start and stop functions.
21408 (gst_file_sink_base_init): Don't set the state change handler any
21409 more. It was a bit ugly too, being set from here...
21410 (gst_file_sink_get_property, gst_file_sink_set_property):
21412 (gst_file_sink_set_location): More robust check that doesn't call
21413 GST_STATE. Ugggggg.
21415 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21417 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21418 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21420 2005-11-08 Wim Taymans <wim@fluendo.com>
21422 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21423 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21424 (gst_base_sink_chain), (gst_base_sink_change_state):
21425 * gst/base/gstbasesink.h:
21426 * gst/base/gstbasesrc.h:
21427 * gst/gstelement.h:
21429 Avoid excessive typechecking in macros.
21431 * gst/gstminiobject.c: (gst_mini_object_get_type),
21432 (gst_mini_object_init), (gst_mini_object_new),
21433 (gst_mini_object_free):
21434 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21435 (gst_object_finalize):
21436 Remove cruft code, optimize alloc_trace.
21438 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21440 * docs/faq/gst-uninstalled:
21441 fix up PS1 for systems that try to reset it
21443 2005-11-07 Wim Taymans <wim@fluendo.com>
21445 * gst/base/gstbasesrc.c: (gst_base_src_init),
21446 (gst_base_src_get_range):
21447 Set the segment_end to -1 initially. Fixed typefind.
21449 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21451 * gst/base/gstadapter.c:
21452 Debug category should be 'adapter', not 'GstAdapter'.
21454 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21455 (gst_collectpads_class_init), (gst_collectpads_init),
21456 (gst_collectpads_peek), (gst_collectpads_pop),
21457 (gst_collectpads_event), (gst_collectpads_chain):
21458 Add debug category and some debugging output. Use boilerplate
21459 macros. Remove some extraneous words from docs.
21461 2005-11-05 Andy Wingo <wingo@pobox.com>
21463 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21466 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21468 * docs/gst/gstreamer-sections.txt:
21471 * gst/gstminiobject.h:
21476 2005-11-04 Wim Taymans <wim@fluendo.com>
21478 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21479 Small update to stop at the configured segment_end
21482 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21484 * gst/gstregistry.c:
21485 * gst/gstregistry.h:
21488 2005-11-04 Edward Hervey <edward@fluendo.com>
21490 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21491 Check if we are doing a segment seek and have arrived at the
21492 end of that segment.
21494 2005-11-04 Wim Taymans <wim@fluendo.com>
21496 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21497 Don't leak a mutex unlock in case of an error.
21502 2005-11-04 Wim Taymans <wim@fluendo.com>
21504 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21506 Get the context to wake up only once.
21508 2005-11-03 Wim Taymans <wim@fluendo.com>
21510 * check/states/sinks.c: (GST_START_TEST):
21511 Uncomment fixed check.
21513 * docs/design/part-TODO.txt:
21516 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21517 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21518 (gst_base_sink_get_position):
21519 If we are going to PLAYING, post the right pending state
21520 when we post the intermediate paused message.
21522 * gst/gstelement.c: (gst_element_continue_state),
21523 (gst_element_set_state_func), (gst_element_change_state):
21524 Don't post state changes that were between the same state
21525 and were not ASYNC.
21527 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21529 * docs/gst/gstreamer-sections.txt:
21532 * gst/gstminiobject.h:
21535 more docs and doc style fixes
21537 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21539 * docs/gst/gstreamer-sections.txt:
21540 * gst/gstelement.c:
21541 * gst/gstminiobject.c:
21544 2005-11-03 Andy Wingo <wingo@pobox.com>
21546 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21547 state-changed messages actually have the right order and the right
21550 2005-11-03 Wim Taymans <wim@fluendo.com>
21552 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21553 Added some more checks. Specifically the case where NO_PREROLL
21554 elements are in the pipeline.
21556 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21557 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21558 (gst_base_sink_get_position):
21559 Post READY->PAUSED state change messages too.
21560 Fix bug where VOID was posted as pending state...
21562 * gst/gstbin.c: (gst_bin_recalc_state):
21563 use _element_continue_state() to continue the state change.
21565 * gst/gstelement.c: (gst_element_continue_state),
21566 (gst_element_commit_state), (gst_element_set_state_func),
21567 (gst_element_change_state), (gst_element_change_state_func):
21568 Lots of state change cleanups, assign the STATE_RETURN in
21569 a new continue_state() function that also propagates the
21570 last return value from a state change to the app.
21571 Update some debug statements with proper category.
21573 2005-11-03 Wim Taymans <wim@fluendo.com>
21575 * docs/design/part-events.txt:
21576 * docs/design/part-gstpipeline.txt:
21577 * docs/design/part-messages.txt:
21578 * docs/design/part-overview.txt:
21579 * docs/design/part-seeking.txt:
21580 * docs/design/part-states.txt:
21581 * docs/design/part-trickmodes.txt:
21582 * docs/manual/advanced-position.xml:
21583 Small docs updates.
21586 People think !! is ugly, this looks better.
21588 * gst/gstpad.c: (gst_pad_set_blocked_async):
21589 Remove !! since it's fixed elsewhere now.
21591 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21593 * gst/gstminiobject.h:
21595 Add !! to _FLAG_IS_SET macros to make the result boolean.
21597 2005-11-03 Edward Hervey <edward@fluendo.com>
21599 * gst/gstpad.c: (gst_pad_set_blocked_async):
21600 comparing a flag and a gboolean rarely returns coherent results...
21601 Added two characters (!!) to make that work correctly.
21603 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21605 * gst/gstbus.c: (gst_bus_class_init):
21608 * gst/gstqueue.c: (gst_queue_loop):
21609 Don't assume a miniobject that isn't a buffer is an
21610 event (it could be that there is a refcounting
21611 problem somewhere and the pointer is stale and
21612 refers to an already destroyed miniobject).
21614 2005-11-03 Julien MOUTTE <julien@moutte.net>
21616 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21618 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21620 * docs/manual/advanced-position.xml:
21621 Update seek example and explanations to current 0.9 API.
21623 * gst/elements/gsttypefindelement.c:
21624 (gst_type_find_element_activate):
21625 Remove FIXME comment now that the found caps
21628 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21630 * gst/gstregistryxml.c: (load_feature):
21631 Add another GST_STR_NULL instance
21633 2005-11-02 Edward Hervey <edward@fluendo.com>
21635 * gst/gstpad.c: (handle_pad_block):
21636 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21638 2005-11-02 Wim Taymans <wim@fluendo.com>
21643 * gst/gstelement.c: (gst_element_commit_state):
21644 Remove unused value.
21646 * gst/gstiterator.c:
21647 Mention that the returned element is reffed in the docs.
21649 2005-11-02 Wim Taymans <wim@fluendo.com>
21651 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21652 (gst_pad_push), (gst_pad_push_event):
21653 Unlock blocked pads when they are flushed.
21655 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21658 * docs/gst/gstreamer-sections.txt:
21661 * gst/gstregistry.c: (gst_registry_scan_path_level):
21662 fix for a nasty little missed situation where an installed plug-in
21663 which was in the cache did not get overridden by an uninstalled one
21664 which was earlier in the plugin path because the newly created plugin
21665 for the uninstalled one (not in the registry) didn't get its
21666 ->registered set to TRUE
21668 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21670 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21671 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21672 (gst_collectpads_is_active), (gst_collectpads_collect),
21673 (gst_collectpads_collect_range), (gst_collectpads_start),
21674 (gst_collectpads_stop), (gst_collectpads_peek),
21675 (gst_collectpads_pop), (gst_collectpads_available),
21676 (gst_collectpads_read), (gst_collectpads_flush):
21677 Guard public API with assertions.
21680 Fix docs for gst_pad_set_link_function().
21682 2005-11-02 Johan Dahlin <johan@gnome.org>
21684 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21685 Unref found_caps after we used it.
21687 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21689 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21690 Don't try to ref NULL.
21692 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21694 * win32/common/config.h.in:
21695 provide a GST_FUNCTION that just gives a string for now
21697 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21699 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21700 (gst_object_flags_get_type), (register_gst_bin_flags),
21701 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21702 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21703 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21704 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21705 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21706 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21707 (gst_clock_flags_get_type), (register_gst_state),
21708 (gst_state_get_type), (register_gst_state_change_return),
21709 (gst_state_change_return_get_type), (register_gst_state_change),
21710 (gst_state_change_get_type), (register_gst_element_flags),
21711 (gst_element_flags_get_type), (register_gst_core_error),
21712 (gst_core_error_get_type), (register_gst_library_error),
21713 (gst_library_error_get_type), (register_gst_resource_error),
21714 (gst_resource_error_get_type), (register_gst_stream_error),
21715 (gst_stream_error_get_type), (register_gst_event_type),
21716 (gst_event_type_get_type), (register_gst_seek_type),
21717 (gst_seek_type_get_type), (register_gst_seek_flags),
21718 (gst_seek_flags_get_type), (register_gst_format),
21719 (gst_format_get_type), (register_gst_index_certainty),
21720 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21721 (gst_index_entry_type_get_type),
21722 (register_gst_index_lookup_method),
21723 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21724 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21725 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21726 (gst_index_flags_get_type), (register_gst_debug_level),
21727 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21728 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21729 (gst_iterator_result_get_type), (register_gst_iterator_item),
21730 (gst_iterator_item_get_type), (register_gst_message_type),
21731 (gst_message_type_get_type), (register_gst_mini_object_flags),
21732 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21733 (gst_pad_link_return_get_type), (register_gst_flow_return),
21734 (gst_flow_return_get_type), (register_gst_activate_mode),
21735 (gst_activate_mode_get_type), (register_gst_pad_direction),
21736 (gst_pad_direction_get_type), (register_gst_pad_flags),
21737 (gst_pad_flags_get_type), (register_gst_pad_presence),
21738 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21739 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21740 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21741 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21742 (gst_plugin_flags_get_type), (register_gst_rank),
21743 (gst_rank_get_type), (register_gst_query_type),
21744 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21745 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21746 (gst_tag_flag_get_type), (register_gst_task_state),
21747 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21748 (gst_alloc_trace_flags_get_type),
21749 (register_gst_type_find_probability),
21750 (gst_type_find_probability_get_type), (register_gst_uri_type),
21751 (gst_uri_type_get_type), (register_gst_parse_error),
21752 (gst_parse_error_get_type):
21753 * win32/common/gstversion.h:
21754 update win32 copies
21756 2005-11-01 Luca Ognibene <luogni@tin.it>
21759 fix docs. popt is dead, long live GOption.
21761 2005-10-31 Wim Taymans <wim@fluendo.com>
21766 2005-10-31 Andy Wingo <wingo@pobox.com>
21770 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21772 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21773 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21774 the possibility of deadlocks here if code calling notify() or
21775 set() has a lock that can be taken in another notify handler (ABBA
21776 with class lock and e.g. python GIL state lock).
21778 2005-10-28 Julien MOUTTE <julien@moutte.net>
21780 * gst/gstbus.c: Doc updates.
21782 2005-10-28 Wim Taymans <wim@fluendo.com>
21784 * docs/design/part-TODO.txt:
21785 * gst/gstiterator.c:
21786 * gst/gstsystemclock.c:
21787 * gst/gstsystemclock.h:
21790 2005-10-28 Edward Hervey <edward@fluendo.com>
21792 * docs/gst/gstreamer-docs.sgml:
21793 * docs/gst/gstreamer-sections.txt:
21794 the GstURIType documentation page is private, it only defines GstURIType
21795 which should be defined in the GstURIHandler page
21797 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21799 * gst/gstbin.c: (gst_bin_class_init):
21802 Documentation updates.
21804 2005-10-28 Wim Taymans <wim@fluendo.com>
21806 * docs/gst/gstreamer-sections.txt:
21809 Documented the clocks.
21811 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21813 * docs/gst/gstreamer-sections.txt:
21814 move some macros to private sections
21815 * gst/gstminiobject.c:
21816 * gst/gstminiobject.h:
21817 add descriptions provided by ds and some more
21819 mark macro as to be removed
21821 2005-10-28 Wim Taymans <wim@fluendo.com>
21823 * docs/design/part-TODO.txt:
21824 Add an item to TODO.
21826 * gst/gstiterator.c: (gst_iterator_fold),
21827 (gst_iterator_find_custom):
21828 * gst/gstiterator.h:
21831 2005-10-28 Wim Taymans <wim@fluendo.com>
21833 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21834 (gst_base_transform_init):
21837 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21838 An EOS event marks the queue as completely filled.
21840 2005-10-27 Wim Taymans <wim@fluendo.com>
21842 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21843 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21844 Some more debugging.
21846 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21847 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21848 (gst_base_transform_event), (gst_base_transform_getrange),
21849 (gst_base_transform_chain):
21850 * gst/base/gstbasetransform.h:
21852 Protect transform and concurrent buffer alloc with a new lock.
21853 Try not to break ABI/API.
21855 2005-10-27 Wim Taymans <wim@fluendo.com>
21857 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21858 (gst_base_src_init), (gst_base_src_query),
21859 (gst_base_src_default_newsegment),
21860 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21861 (gst_base_src_send_event), (gst_base_src_event_handler),
21862 (gst_base_src_pad_get_range), (gst_base_src_loop),
21863 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21864 (gst_base_src_start), (gst_base_src_deactivate),
21865 (gst_base_src_activate_push), (gst_base_src_change_state):
21866 Move some stuff around and cleanup things.
21868 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21870 * gst/base/gstbasesrc.c: (gst_base_src_query):
21871 Add missing break statements.
21873 2005-10-27 Wim Taymans <wim@fluendo.com>
21875 * check/gst/gstbin.c: (GST_START_TEST):
21876 An extra refcount is taken in basesrc.
21878 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21879 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21880 (gst_base_src_loop):
21881 Small cleanups, check for flushing after being unlocked from the
21882 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21883 Don't send out EOS when going to READY.
21885 2005-10-27 Wim Taymans <wim@fluendo.com>
21887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21888 (gst_base_sink_get_position):
21891 * gst/gstbin.c: (message_check), (bin_replace_message),
21892 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21893 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21894 (bin_query_duration_init), (bin_query_duration_fold),
21895 (bin_query_duration_done), (bin_query_generic_fold),
21897 * tools/gst-launch.c: (main):
21900 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21902 * examples/controller/audio-example.c: (main):
21903 * examples/queue/queue.c: (event_loop):
21904 * gst/base/gstbasetransform.h:
21905 * gst/gstelement.c: (gst_element_send_event):
21907 * gst/gstpad.c: (gst_pad_send_event):
21910 changing log priority in error situations
21912 2005-10-25 Wim Taymans <wim@fluendo.com>
21914 * gst/gstbin.c: (message_check), (bin_replace_message),
21915 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21916 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21917 (bin_query_duration_init), (bin_query_duration_fold),
21918 (bin_query_duration_done), (bin_query_generic_fold),
21920 Some doc and debug updates.
21921 Cache previously requested query DURATION for speed. invalidate
21922 cached duration if element posts a DURATION message.
21924 2005-10-25 Wim Taymans <wim@fluendo.com>
21926 * docs/design/part-TODO.txt:
21929 * gst/gstbin.c: (message_check), (bin_replace_message),
21930 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21931 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21932 (bin_query_duration_init), (bin_query_duration_fold),
21933 (bin_query_duration_done), (bin_query_generic_fold),
21935 Handle SEGMENT_START/DONE messages correctly.
21936 More evolved query algorithm that handles duration queries
21939 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21940 (gst_element_get_state_func), (gst_element_abort_state),
21941 (gst_element_commit_state), (gst_element_lost_state):
21942 Some more debugging.
21944 * gst/gstmessage.h:
21947 2005-10-25 Wim Taymans <wim@fluendo.com>
21949 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21950 Don't use invalid stream_time.
21952 * gst/gstevent.c: (gst_event_new_newsegment):
21953 stream_time in newsegment cannot be undefined.
21955 2005-10-24 Wim Taymans <wim@fluendo.com>
21960 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21962 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21964 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21966 * docs/libs/tmpl/gstdparam.sgml:
21967 * docs/libs/tmpl/gstdplinint.sgml:
21968 * docs/libs/tmpl/gstdpman.sgml:
21969 * docs/libs/tmpl/gstdpsmooth.sgml:
21970 * docs/libs/tmpl/gstunitconvert.sgml:
21973 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21978 === release 0.9.4 ===
21980 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21983 releasing 0.9.4, "Tyrannosaurus Rex"
21985 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21987 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21988 (gst_file_sink_get_current_offset):
21989 Use fseeko() and ftello() if available. When falling back on
21990 lseek() to get the current offset, fflush() first to make sure
21991 everything is up-to-date and we get the right offset.
21993 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21996 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21997 * gst/gsterror.c: (_gst_stream_errors_init):
21999 * gst/gstqueue.c: (gst_queue_loop):
22001 remove prematurely added error category and clean up the instances
22003 2005-10-21 Wim Taymans <wim@fluendo.com>
22005 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22006 (gst_base_sink_get_position), (gst_base_sink_query),
22007 (gst_base_sink_change_state):
22008 Simply set the right flag when going to playing, that's all
22009 we need to do instead of calling a function inside the object
22010 lock (that could take the lock as well and deadlock)
22012 2005-10-21 Wim Taymans <wim@fluendo.com>
22014 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22015 (gst_base_src_loop):
22016 Don't warn, the peer element knows what to do best when
22017 the seek failed, it might try something else.
22019 2005-10-21 Wim Taymans <wim@fluendo.com>
22021 * gst/base/gstbasesrc.c: (gst_base_src_init),
22022 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22025 2005-10-21 Wim Taymans <wim@fluendo.com>
22027 * docs/design/part-segments.txt:
22030 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22031 Correctly set caps, even on the subbufer.
22033 2005-10-21 Wim Taymans <wim@fluendo.com>
22035 * docs/gst/gstreamer-docs.sgml:
22036 * docs/gst/gstreamer-sections.txt:
22037 * gst/gstelement.h:
22040 * gst/gstmessage.h:
22043 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22047 And 2% more doc coverage.
22049 2005-10-21 Andy Wingo <wingo@pobox.com>
22051 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22052 position reporting.
22054 2005-10-20 Wim Taymans <wim@fluendo.com>
22056 * gst/gsterror.c: (gst_error_get_message):
22059 * gst/gststructure.c:
22064 2005-10-20 Wim Taymans <wim@fluendo.com>
22069 Another 1% more coverage.
22071 2005-10-20 Wim Taymans <wim@fluendo.com>
22073 * docs/gst/gstreamer-sections.txt:
22074 * gst/gstelement.c: (gst_element_get_state_func),
22075 (gst_element_abort_state), (gst_element_commit_state),
22076 (gst_element_lost_state):
22078 * gst/gstquery.c: (gst_query_set_position),
22079 (gst_query_parse_position), (gst_query_set_duration),
22080 (gst_query_parse_duration), (gst_query_new_convert):
22082 Yay! 1% more docs coverage.
22084 2005-10-20 Wim Taymans <wim@fluendo.com>
22087 * gst/gstquery.c: (gst_query_set_position),
22088 (gst_query_parse_position), (gst_query_set_duration),
22089 (gst_query_parse_duration), (gst_query_new_convert):
22091 * gst/gstutils.c: (gst_element_query_convert):
22093 Docs and consistency fixes.
22095 2005-10-20 Wim Taymans <wim@fluendo.com>
22101 2005-10-20 Wim Taymans <wim@fluendo.com>
22103 * gst/gstbin.c: (message_check), (bin_replace_message),
22104 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22105 (update_degree), (gst_bin_sort_iterator_next),
22106 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22107 Reworked the message handling a bit, cache the messages instead of
22108 only the senders. alows us to do more in the future.
22110 2005-10-20 Wim Taymans <wim@fluendo.com>
22112 * docs/design/part-TODO.txt:
22115 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22116 (gst_base_sink_query):
22117 Don't use clock time to report position when in EOS.
22119 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22121 * tools/gst-inspect.c: (print_interfaces),
22122 (print_element_properties_info), (print_element_info):
22123 Fix interface output with gst-inspect -a; don't print
22124 newlines after double/float properties.
22126 2005-10-20 Wim Taymans <wim@fluendo.com>
22128 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22129 (gst_base_sink_query):
22130 Speed up current position calculation.
22132 * gst/base/gstbasesrc.c: (gst_base_src_query),
22133 (gst_base_src_default_newsegment):
22134 Correctly set stream position in newsegment.
22136 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22137 (update_degree), (gst_bin_sort_iterator_next),
22138 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22139 * gst/gstmessage.c: (gst_message_new_custom):
22140 Clean up debugging info
22142 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22143 (gst_queue_loop), (gst_queue_handle_src_query):
22146 2005-10-19 Wim Taymans <wim@fluendo.com>
22148 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22149 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22150 Fix query handling again.
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 * gst/base/gstbasesrc.c: (gst_base_src_query):
22157 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22158 * gst/elements/gsttypefindelement.c:
22159 (gst_type_find_handle_src_query), (find_element_get_length),
22160 (gst_type_find_element_activate):
22163 * gst/gstquery.c: (gst_query_new_position),
22164 (gst_query_set_position), (gst_query_parse_position),
22165 (gst_query_new_duration), (gst_query_set_duration),
22166 (gst_query_parse_duration), (gst_query_set_segment),
22167 (gst_query_parse_segment):
22169 Bundling query position/duration is not a good idea since duration
22170 does not change much and we don't want to recalculate it for every
22171 position query, so they are separated again..
22172 Base value in segment query is not needed.
22174 * gst/gstqueue.c: (gst_queue_handle_src_query):
22175 * gst/gstutils.c: (gst_element_query_position),
22176 (gst_element_query_duration), (gst_pad_query_position),
22177 (gst_pad_query_duration):
22179 Updates for query API change.
22180 Added some docs here and there.
22182 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22184 * check/gst/gstbin.c: (GST_START_TEST):
22185 * check/gst/gstghostpad.c: (GST_START_TEST):
22186 * check/pipelines/cleanup.c: (GST_START_TEST):
22187 wait on thread to die so we can check refcount correctly
22189 2005-10-18 Wim Taymans <wim@fluendo.com>
22191 * check/pipelines/stress.c: (GST_START_TEST):
22192 Make check a little more time consuming.
22194 2005-10-18 Wim Taymans <wim@fluendo.com>
22196 * check/Makefile.am:
22197 * check/pipelines/stress.c: (GST_START_TEST),
22198 (simple_launch_lines_suite), (main):
22199 Small state change torture test.
22201 * docs/design/part-states.txt:
22202 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22203 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22204 (gst_base_sink_change_state):
22205 Never take state lock from streaming thread, clean up ugly
22206 hacks. Unfortunatly core does not yet support nice ways to
22207 async commit state.
22209 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22211 Start state recalc if a STATE_DIRTY message is posted, but only
22212 on the toplevel bin.
22214 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22215 (gst_element_get_state_func), (gst_element_abort_state),
22216 (gst_element_commit_state), (gst_element_lost_state),
22217 (gst_element_set_state_func), (gst_element_change_state):
22218 * gst/gstelement.h:
22219 State variables are now protected with the LOCK, the state
22220 lock is only used to serialize _set_state().
22222 2005-10-18 Wim Taymans <wim@fluendo.com>
22224 * check/gst/gstbin.c: (GST_START_TEST):
22225 * check/gst/gstmessage.c: (GST_START_TEST):
22226 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22227 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22229 * gst/gstelement.c: (gst_element_abort_state),
22230 (gst_element_commit_state), (gst_element_lost_state):
22231 * gst/gstmessage.c: (gst_message_new_state_changed),
22232 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22233 (gst_message_new_segment_done), (gst_message_new_duration),
22234 (gst_message_parse_state_changed),
22235 (gst_message_parse_segment_start),
22236 (gst_message_parse_segment_done), (gst_message_parse_duration):
22237 * gst/gstmessage.h:
22238 * tools/gst-launch.c: (event_loop):
22239 Seriously, this is better than a previous commit as we only need
22240 to notify the fact that an element changed state in a streaming
22241 thread, marking the state of the parents dirty, hence the
22242 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22245 2005-10-18 Wim Taymans <wim@fluendo.com>
22247 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22248 (gst_bin_recalc_func):
22249 * gst/gstelement.c: (gst_element_set_clock),
22250 (gst_element_abort_state), (gst_element_lost_state):
22251 Cleanups, prepare for state change fixes.
22253 2005-10-18 Wim Taymans <wim@fluendo.com>
22256 * gst/gstelement.c: (gst_element_class_init),
22257 (gst_element_set_state), (gst_element_set_state_func):
22258 * gst/gstelement.h:
22259 Pending ABI changes.
22260 GThreadPool in GstBinClass to monitor async state changes.
22261 state_cookie in GstElement to detect concurrent gst/set state.
22262 set_state is now virtual too in case a very complicated element
22263 has to be constructed.
22265 2005-10-18 Wim Taymans <wim@fluendo.com>
22267 * check/gst/gstbin.c: (GST_START_TEST):
22268 * check/gst/gstmessage.c: (GST_START_TEST):
22269 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22270 * gst/gstbin.c: (bin_bus_handler):
22271 * gst/gstelement.c: (gst_element_commit_state),
22272 (gst_element_lost_state):
22273 * gst/gstmessage.c: (gst_message_new_state_changed),
22274 (gst_message_new_segment_start), (gst_message_new_segment_done),
22275 (gst_message_new_duration), (gst_message_parse_state_changed),
22276 (gst_message_parse_segment_start),
22277 (gst_message_parse_segment_done), (gst_message_parse_duration):
22278 * gst/gstmessage.h:
22279 * tools/gst-launch.c: (event_loop):
22280 Make messages future proof.
22281 state-change gets a flag if it was a message comming from the
22283 segment-start/stop can also be specified in other formats.
22284 A message to notify an app that a pipeline changed playback
22286 Also fix a GstMessage leak in -launch
22288 2005-10-18 Andy Wingo <wingo@pobox.com>
22290 * gst/gstelement.c (gst_element_dispose): More helpful message.
22292 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22294 reviewed by: <delete if not using a buddy>
22296 * common/gtk-doc.mak:
22298 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22300 * gst/gstregistry.c: (gst_registry_scan_path_level):
22301 unref a plug-in we get that was already initialized
22303 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22305 * docs/gst/gstreamer-sections.txt:
22306 * docs/libs/gstreamer-libs-sections.txt:
22307 * gst/gstelement.h:
22308 add new api entries
22309 hide internal macro
22311 2005-10-17 Andy Wingo <wingo@pobox.com>
22313 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22316 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22318 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22320 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22321 (gst_element_get_state_func): Better debug message.
22322 (gst_element_commit_state): s/INFO/DEBUG/.
22323 (gst_element_lost_state, gst_element_change_state):
22325 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22326 (gst_message_new_custom): s/INFO/LOG/.
22328 2005-10-17 Michael Smith <msmith@fluendo.com>
22330 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22331 Check if end time is valid using end time, not start time.
22333 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22335 * check/gst-libs/controller.c: (GST_START_TEST),
22336 (gst_controller_suite):
22337 * libs/gst/controller/gstcontroller.c:
22338 (gst_controlled_property_set_interpolation_mode):
22339 * libs/gst/controller/gstcontroller.h:
22340 * libs/gst/controller/gstinterpolation.c:
22341 * testsuite/controller/.cvsignore:
22342 * testsuite/controller/Makefile.am:
22343 * testsuite/controller/interpolator.c:
22344 merge controller testsuites
22346 remove mem-chunk from docs
22348 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22350 * gst/gstmemchunk.c:
22351 * gst/gstmemchunk.h:
22352 * gst/gsttrashstack.c:
22353 * gst/gsttrashstack.h:
22354 out. get out. you're fired. to the Attic !
22356 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22358 * gst/gstcaps.c: (gst_caps_intersect):
22359 fix signedness issues in a (hopefully) correct way
22360 * gst/gstelement.c: (gst_element_pads_activate):
22362 * gst/gstobject.c: (gst_object_set_parent):
22365 2005-10-17 Julien MOUTTE <julien@moutte.net>
22367 * gst/gstvalue.h: Fix prototypes.
22369 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22371 * docs/gst/gstreamer-sections.txt:
22372 * gst/gst.c: (gst_version_string):
22374 * gst/gstversion.h.in:
22375 * win32/common/libgstreamer.def:
22376 add gst_version_string ()
22378 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22382 * gst/gst.c: (init_post):
22383 * win32/common/config.h.in:
22385 * gst/gstcaps.c: (gst_caps_intersect):
22386 use gint64, the range could be bigger than a guint
22388 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22391 document potential problem in 2038
22393 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22395 * gst/gstcaps.c: (gst_caps_intersect):
22396 Fix guint j diving under 0
22398 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22401 * win32/common/config.h:
22402 * win32/common/config.h.in:
22403 check for process.h, declares getpid() on Windows
22405 include process.h if we have it
22406 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22407 * gst/gstmemchunk.h:
22408 fix signedness issues
22409 * win32/common/libgstreamer.def:
22412 2005-10-16 Julien MOUTTE <julien@moutte.net>
22414 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22415 fix. Because of unsigned ints, caps intersection was going nuts and
22416 trying to access structures with G_MAXUINT index. That fixes
22417 videotestsrc ! ffmpegcolorspace ! fakesink
22418 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22421 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22424 use the gettext macro
22425 * gst/elements/gstelements.c:
22427 * gst/indexers/gstindexers.c:
22428 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22429 * win32/common/config.h:
22431 * win32/common/config.h.in:
22432 add the template to generate config.h
22433 * win32/common/gstenumtypes.c:
22434 * win32/common/gstversion.h:
22437 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22439 * gst/gst.c: (gst_version):
22440 * gst/gstversion.h.in:
22443 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22446 Oops, add missing closing bracket.
22448 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22451 use common m4's for argument checking
22453 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22455 * docs/gst/gstreamer-sections.txt:
22457 Add GST_EVENT_TYPE_NAME() macro.
22459 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22462 * gst/gstpluginfeature.c:
22464 privatize more symbols
22466 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22469 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22470 everything that uses GStreamer API should have the includes
22472 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22474 * docs/gst/gstreamer-sections.txt:
22475 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22477 give each value a _get_type, removes the DATA exports
22479 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22483 remove _gst_registry_auto_load, not used anymore
22484 * gst/gstbin.c: (gst_bin_get_type):
22486 * gst/gstelement.c: (gst_element_get_type):
22487 * gst/gstelement.h:
22488 * gst/gstobject.c: (gst_object_get_type):
22490 * gst/gstpad.c: (gst_pad_get_type):
22492 make _get_type functions similar, fixes data export from library
22494 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22497 correctly make conditionals
22498 * gst/elements/Makefile.am:
22499 * gst/elements/gstelements.c:
22500 fix typo causing fdsrc not to build
22502 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22504 * testsuite/Makefile.am:
22505 * testsuite/bytestream/.cvsignore:
22506 * testsuite/bytestream/Makefile.am:
22507 * testsuite/bytestream/filepadsink.c:
22508 * testsuite/bytestream/gstbstest.c:
22509 * testsuite/bytestream/test1.c:
22510 * testsuite/bytestream/testfile1:
22511 * testsuite/caps/normalisation.c:
22512 * testsuite/caps/random.c: (main):
22513 * testsuite/cleanup/.cvsignore:
22514 * testsuite/cleanup/Makefile.am:
22515 * testsuite/cleanup/cleanup1.c:
22516 * testsuite/cleanup/cleanup2.c:
22517 * testsuite/cleanup/cleanup3.c:
22518 * testsuite/cleanup/cleanup4.c:
22519 * testsuite/cleanup/cleanup5.c:
22520 * testsuite/controller/interpolator.c:
22521 * testsuite/debug/printf_extension.c: (main):
22522 * testsuite/elements/tee.c:
22523 * testsuite/negotiation/.cvsignore:
22524 * testsuite/negotiation/Makefile.am:
22525 * testsuite/negotiation/pad_link.c:
22526 * testsuite/pad/Makefile.am:
22527 * testsuite/pad/chainnopull.c:
22528 * testsuite/pad/getnopush.c:
22529 * testsuite/pad/link.c:
22530 * testsuite/refcounting/sched.c: (create_pipeline):
22531 * testsuite/registry/Makefile.am:
22532 * testsuite/registry/gst-print-formats.c:
22533 * testsuite/schedulers/.cvsignore:
22534 * testsuite/schedulers/142183-2.c:
22535 * testsuite/schedulers/142183.c:
22536 * testsuite/schedulers/143777-2.c:
22537 * testsuite/schedulers/143777.c:
22538 * testsuite/schedulers/147713.c:
22539 * testsuite/schedulers/147819.c:
22540 * testsuite/schedulers/147894-2.c:
22541 * testsuite/schedulers/147894.c:
22542 * testsuite/schedulers/Makefile.am:
22543 * testsuite/schedulers/group_link.c:
22544 * testsuite/schedulers/queue_link.c:
22545 * testsuite/schedulers/relink.c:
22546 * testsuite/schedulers/unlink.c:
22547 * testsuite/schedulers/unref.c:
22548 * testsuite/schedulers/useless_iteration.c:
22549 * testsuite/states/bin.c:
22550 clean out/remove some stuff from the testsuite directories
22552 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22555 check for some headers
22556 * gst/elements/Makefile.am:
22557 * gst/elements/gstelements.c:
22558 don't compile fdsrc without sys/socket.h
22559 * gst/indexers/Makefile.am:
22560 * gst/indexers/gstindexers.c: (plugin_init):
22561 don't compile fileindex without mmap
22563 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22570 * check/Makefile.am:
22571 * docs/gst/Makefile.am:
22572 * examples/helloworld/Makefile.am:
22574 * gst/base/Makefile.am:
22575 * gst/check/Makefile.am:
22576 * gst/elements/Makefile.am:
22577 * gst/indexers/Makefile.am:
22578 * gst/parse/Makefile.am:
22579 * libs/gst/controller/Makefile.am:
22580 * libs/gst/dataprotocol/Makefile.am:
22581 * examples/helloworld/helloworld.c: (event_loop):
22582 compile fixes, though it's not being compiled currently
22584 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22586 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22587 Add some simple tests for the new taglist date API.
22589 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22591 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22592 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22593 Beautify 'last-message' output: print 'none' for buffer timestamps
22594 and durations if none is set; improve alignment with next messages.
22596 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22598 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22599 * gst/gstpluginfeature.h:
22600 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22601 * gst/gstregistry.h:
22602 * docs/gst/gstreamer-sections.txt:
22603 Add new API to check plugin feature version requirements.
22605 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22606 Some basic tests for the above.
22608 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22610 * gst/gststructure.c: (gst_structure_to_string):
22611 guard against NULL printf - happens when for example
22612 a message structure with GstClock gets serialized
22614 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22616 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22617 Fix presumable copy'n'pasto.
22619 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22621 * gst/elements/gstfakesrc.h:
22622 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22623 * gst/elements/gsttypefindelement.c:
22624 fix some signedness
22625 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22626 I wonder if this could actually write +2GB files before
22628 2005-10-13 Andy Wingo <wingo@pobox.com>
22630 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22631 Fix Timmeke Waymans bug.
22632 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22633 string of the proper length to gst_caps_from_string. There's a
22634 potential for, before this fix, that this could cause someone
22635 connecting over the network to cause a segfault if the payload is
22636 not NUL-terminated.
22638 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22640 * docs/design/draft-push-pull.txt:
22641 * docs/design/part-overview.txt:
22642 * docs/random/TODO-pre-0.9:
22643 * docs/random/old/ChangeLog.gstreamer:
22644 * gst/base/gstpushsrc.c:
22648 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22650 * gst/glib-compat.c: (gst_flags_get_first_value):
22651 * gst/glib-compat.h:
22652 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22653 (gst_value_compare_double), (gst_value_serialize_flags):
22654 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22657 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22660 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22662 * tools/gst-launch.c: (event_loop):
22663 print out clock nicely
22665 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22667 * docs/gst/gstreamer-sections.txt:
22668 * gst/gsttaglist.h:
22669 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22670 (gst_tag_list_get_date_index):
22671 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22672 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22674 2005-10-13 Julien MOUTTE <julien@moutte.net>
22676 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22677 (gst_collectpads_chain):
22678 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22681 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22683 * docs/gst/gstreamer-sections.txt:
22686 * tools/gst-inspect.c: (main):
22687 * tools/gst-launch.c: (main):
22688 * tools/gst-run.c: (main):
22689 * tools/gst-xmlinspect.c: (main):
22690 fix GOption context leaks
22693 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22697 * win32/common/config.h:
22699 * win32/vs6/grammar.dsp:
22700 * win32/vs6/libgstelements.dsp:
22701 * win32/vs6/libgstreamer.dsp:
22704 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22706 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22707 * gst/base/gstbasesrc.c: (gst_base_src_query):
22708 fix more guint64<->gdouble conversions
22710 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22713 add win32-update target
22714 * win32/common/gstconfig.h:
22715 * win32/common/gstenumtypes.c:
22716 * win32/common/gstenumtypes.h:
22717 * win32/common/gstversion.h:
22718 add files that visual studio can't generate
22720 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22723 add a win32-update target
22726 2005-10-12 Wim Taymans <wim@fluendo.com>
22728 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22729 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22730 * gst/gstelement.c: (gst_element_commit_state),
22731 (gst_element_set_state):
22732 Protect flags with proper lock.
22733 unref provided cached clock in dispose.
22735 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22738 * gst/gstminiobject.h:
22740 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22741 removed unused flags from miniobject
22744 2005-10-12 Wim Taymans <wim@fluendo.com>
22746 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22747 (gst_file_sink_event), (gst_file_sink_render):
22748 Flush before seeking.
22750 2005-10-12 Andy Wingo <wingo@pobox.com>
22752 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22753 always been the case.
22755 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22757 * check/gst/gstbin.c: (GST_START_TEST):
22758 * docs/gst/gstreamer-sections.txt:
22759 * gst/base/gstbasesink.c: (gst_base_sink_init):
22760 * gst/base/gstbasesrc.c: (gst_base_src_init),
22761 (gst_base_src_get_range), (gst_base_src_check_get_range),
22762 (gst_base_src_start), (gst_base_src_stop):
22763 * gst/base/gstbasesrc.h:
22764 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22765 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22766 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22770 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22772 * gst/gstelement.c: (gst_element_is_locked_state),
22773 (gst_element_set_locked_state), (gst_element_commit_state),
22774 (gst_element_set_state):
22775 * gst/gstelement.h:
22776 * gst/gstindex.c: (gst_index_init):
22778 * gst/gstminiobject.h:
22779 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22780 (gst_object_set_parent):
22782 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22783 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22785 * gst/gstpadtemplate.h:
22786 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22787 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22788 * gst/gstpipeline.h:
22789 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22790 (gst_file_index_commit):
22791 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22792 * testsuite/pad/link.c: (gst_test_src_init),
22793 (gst_test_filter_init), (gst_test_sink_init):
22794 * testsuite/states/locked.c: (main):
22795 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22796 moved bitshift from macro to enum definition
22798 2005-10-12 Wim Taymans <wim@fluendo.com>
22800 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22801 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22802 (gst_file_sink_render):
22803 Some more debugging info.
22805 2005-10-12 Wim Taymans <wim@fluendo.com>
22807 * docs/design/part-states.txt:
22808 * tools/gst-launch.c: (main):
22810 Revert non-intentional change.
22812 2005-10-12 Wim Taymans <wim@fluendo.com>
22814 * check/gst/gstbin.c: (GST_START_TEST):
22815 * check/gst/gstelement.c: (GST_START_TEST):
22816 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22817 * check/gst/gstghostpad.c: (GST_START_TEST):
22818 * check/gst/gstpipeline.c: (GST_START_TEST):
22819 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22820 * check/states/sinks.c: (GST_START_TEST):
22821 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22822 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22823 (gst_bin_remove_func), (gst_bin_get_state_func),
22824 (gst_bin_recalc_state), (gst_bin_change_state_func),
22826 * gst/gstelement.c: (gst_element_get_state_func),
22827 (gst_element_get_state), (gst_element_abort_state),
22828 (gst_element_commit_state), (gst_element_set_state),
22829 (gst_element_change_state), (gst_element_change_state_func):
22830 * gst/gstelement.h:
22831 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22832 (gst_pipeline_provide_clock_func):
22833 * gst/gstutils.c: (gst_element_link_pads_filtered):
22834 * tools/gst-launch.c: (main):
22835 * tools/gst-typefind.c: (main):
22836 Use GstClockTime in _get_state() instead of GTimeVal.
22837 Remove old code in gstutils.c
22839 2005-10-12 Andy Wingo <wingo@pobox.com>
22841 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22844 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22845 there is no task. Shouldn't affect any code, as nothing in our
22846 plugins checks this return value.
22847 (gst_pad_stop_task): Also take the stream lock if the pad has no
22848 task. Docs updated.
22850 2005-10-12 Wim Taymans <wim@fluendo.com>
22852 * gst/gstpad.c: (pre_activate), (post_activate),
22853 (gst_pad_activate_pull), (gst_pad_activate_push):
22854 Cleanup activation code. Reset old state if
22857 2005-10-12 Wim Taymans <wim@fluendo.com>
22859 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22860 (gst_base_sink_change_state):
22861 No need to prerol after receiving EOS.
22863 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22864 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22865 * gst/elements/gstidentity.c: (gst_identity_event):
22866 Print events more verbosely.
22868 2005-10-12 Wim Taymans <wim@fluendo.com>
22870 * check/Makefile.am:
22871 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22872 * check/states/sinks2.c:
22873 Moved sinks2 testcode in sinks check.
22875 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22876 (gst_bin_remove_func), (gst_bin_recalc_state),
22877 (gst_bin_change_state_func), (bin_bus_handler):
22878 Fix potential race condition when _get_state() iterated over an
22879 ASYNC element right before it posted a state completion.
22882 Do proper cast here.
22884 * gst/gstevent.c: (gst_event_new_newsegment),
22885 (gst_event_parse_newsegment):
22886 A playback rate of 0.0 is not allowed.
22888 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22890 * win32/common/config.h:
22891 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22892 (_trewinddir), (_ttelldir), (_tseekdir):
22893 * win32/common/dirent.h:
22894 * win32/common/gtchar.h:
22895 * win32/common/libgstbase.def:
22896 * win32/common/libgstreamer.def:
22897 * win32/vs6/grammar.dsp:
22898 * win32/vs6/gst_inspect.dsp:
22899 * win32/vs6/gst_launch.dsp:
22900 * win32/vs6/gstreamer.dsw:
22901 * win32/vs6/libgstbase.dsp:
22902 * win32/vs6/libgstelements.dsp:
22903 * win32/vs6/libgstreamer.dsp:
22904 Visual Studio 6 project files, and a new common directory.
22907 2005-10-11 Wim Taymans <wim@fluendo.com>
22909 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22910 (gst_base_sink_do_sync), (gst_base_sink_query),
22911 (gst_base_sink_change_state):
22912 * gst/base/gstbasesink.h:
22913 Correctly parse newsegment info.
22915 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22917 * gst/gst.c: (init_post):
22918 split plugin paths correctly
22920 2005-10-11 Wim Taymans <wim@fluendo.com>
22922 * check/gst/gstevent.c: (GST_START_TEST):
22923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22924 (gst_base_sink_change_state):
22925 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22926 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22927 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22928 * gst/gstevent.c: (gst_event_new_newsegment),
22929 (gst_event_parse_newsegment):
22931 Added extra flag to newsegment for future API freeze.
22932 Updated check and base elements.
22934 2005-10-11 Julien MOUTTE <julien@moutte.net>
22936 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22937 (gst_collectpads_add_pad), (gst_collectpads_pop),
22938 (gst_collectpads_event), (gst_collectpads_chain):
22939 * gst/base/gstcollectpads.h: Handle EOS correctly.
22941 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22943 * tools/gst-launch.c: (main):
22944 more null protecting
22946 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22948 * gst/gst-i18n-lib.h:
22949 check for ENABLE_NLS, not GETTEXT_PACKAGE
22950 * gst/gstregistry.c: (gst_registry_add_plugin),
22951 (gst_registry_scan_path_level),
22952 (_gst_registry_remove_cache_plugins):
22953 protect possibly NULL strings
22954 * gst/parse/types.h:
22955 config.h already included before
22956 * tools/gst-inspect.c: (main):
22957 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22958 check for ENABLE_NLS, not GETTEXT_PACKAGE
22959 * tools/gst-launch.c: (main):
22960 check for ENABLE_NLS, not GETTEXT_PACKAGE
22962 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22965 if we don't have glib, fail before testing 2.8
22966 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22967 fix a leak, should fix plugins-base testsuite
22969 2005-10-11 Andy Wingo <wingo@pobox.com>
22971 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22972 take the mode we're going to as an arg. Go head and set the mode
22973 and flushing flags now, so that if the activate function starts a
22974 thread all the flags will be in the right state.
22975 (post_activate): Renamed also. Just handle making sure streaming
22976 finishes for the deactivation case, and setting the deactivated
22978 (gst_pad_set_active): Complain loudly if deactivation fails.
22979 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22980 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22981 remove the terrible hack.
22983 2005-10-11 Wim Taymans <wim@fluendo.com>
22985 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22986 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22987 (gst_bin_recalc_state), (gst_bin_change_state_func),
22988 (gst_bin_dispose), (bin_bus_handler):
22990 Prepare to make current EOS message queue more generic.
22993 * gst/gstevent.c: (gst_event_new_newsegment),
22994 (gst_event_parse_newsegment):
22996 Rename base to stream_time.
22998 * gst/gstmessage.h:
23001 2005-10-11 Wim Taymans <wim@fluendo.com>
23003 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23004 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23005 (gst_bin_change_state_func), (bin_bus_handler):
23007 Work on proper clock selection.
23009 2005-10-11 Edward Hervey <edward@fluendo.com>
23011 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23012 * libs/gst/controller/gstcontroller.h:
23013 Added GList* version of _remove_properties() in order to be able to wrap
23016 2005-10-11 Wim Taymans <wim@fluendo.com>
23018 * docs/design/part-states.txt:
23021 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23022 (gst_bin_change_state_func), (bin_bus_handler):
23023 Doc updates. Don't distribute the same clock over and over again.
23029 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23030 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23031 (gst_pad_send_event):
23033 Make probe emission threadsafe again.
23034 Register quarks and move _get_name() from utils.
23037 * gst/gstpipeline.c: (gst_pipeline_class_init),
23038 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23039 Only redistribute the clock of it changed.
23041 * gst/gstsystemclock.h:
23046 Moved the _flow_get_name() to GstPad.
23048 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23050 * check/gst-libs/gdp.c: (GST_START_TEST):
23051 * check/gst/gstcaps.c: (GST_START_TEST):
23052 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23053 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23054 (gst_dp_packet_from_caps):
23055 fix more valgrind warnings before turning up the heat
23057 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23059 * gst/parse/grammar.y:
23060 some cleanup before the hacking
23062 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23064 * gst/base/gstbasesrc.c: (gst_base_src_query):
23066 * gst/gstutils.c: (gst_guint64_to_gdouble),
23067 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23069 externalize, basesrc uses it
23070 obviously the implementation needs testing
23072 2005-10-10 Wim Taymans <wim@fluendo.com>
23074 * tests/sched/Makefile.am:
23075 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23076 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23078 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23080 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23081 apparently converting from guint64 to double is not implemented
23084 2005-10-10 Wim Taymans <wim@fluendo.com>
23086 * check/Makefile.am:
23087 * check/generic/states.c: (GST_START_TEST):
23088 * check/gst/gstbin.c: (GST_START_TEST):
23089 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23090 * check/states/sinks.c: (GST_START_TEST):
23091 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23093 Check fixes, use API as stated in design docs, remove hacks.
23095 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23096 (gst_base_sink_change_state):
23097 Catch stopping our task while we're shutting down.
23099 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23100 (gst_bin_remove_func), (gst_bin_get_state_func),
23101 (gst_bin_recalc_state), (gst_bin_change_state_func),
23104 * gst/gstelement.c: (gst_element_init),
23105 (gst_element_get_state_func), (gst_element_abort_state),
23106 (gst_element_commit_state), (gst_element_lost_state),
23107 (gst_element_set_state), (gst_element_change_state),
23108 (gst_element_change_state_func):
23109 * gst/gstelement.h:
23110 New state change algorithm (see #318116)
23112 * gst/gstpipeline.c: (gst_pipeline_class_init),
23113 (gst_pipeline_init), (gst_pipeline_set_property),
23114 (gst_pipeline_get_property), (do_pipeline_seek),
23115 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23116 * gst/gstpipeline.h:
23117 Remove crude state change hacks.
23120 Remove crude hacks.
23122 * tools/gst-launch.c: (main):
23123 Fixes for state change. Needs some more work to fully use the
23126 2005-10-10 Andy Wingo <wingo@pobox.com>
23128 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23130 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23131 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23134 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23136 * gst/gstiterator.c: (gst_iterator_new):
23137 Fix my previous commit: GTypes passed to gst_iterator_new()
23138 can be fundamental types.
23140 2005-10-10 Wim Taymans <wim@fluendo.com>
23142 * gst/gstelement.c: (gst_element_iterate_pad_list),
23143 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23144 (gst_element_iterate_sink_pads):
23145 Use src/sink pads lists for the respective iterators instead
23148 2005-10-10 Andy Wingo <wingo@pobox.com>
23150 Merged in popt removal + GOption addition patch from Ronald, bug
23153 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23154 GstElement macros around, remove popt-related symbols, add goption
23157 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23159 * docs/gst/Makefile.am:
23160 * docs/libs/Makefile.am: No POPT_CFLAGS.
23162 * examples/manual/Makefile.am:
23163 * docs/manual/basics-init.xml: Doc updates with an example.
23165 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23166 (gst_init), (parse_one_option), (parse_goption_arg):
23167 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23168 bit of hand merging and debugging to get the GOption stuff working
23171 * tests/Makefile.am:
23172 * tools/Makefile.am:
23173 * tools/gst-inspect.c: (main):
23174 * tools/gst-launch.c: (main):
23175 * tools/gst-run.c: (main):
23176 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23178 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23180 * gst/gstiterator.c: (gst_iterator_new):
23181 Add assertions to make sure passed GType is likely to really
23182 be a GType (as the compiler won't catch it if the size and
23183 GType arguments get mixed up, see #318447).
23185 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23187 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23189 * gst/gstbin.c: (gst_bin_iterate_sorted):
23190 Pass GType and size arguments to gst_iterator_new() in the right
23191 order (maybe we should make _new() take the GType as first argument
23192 just like _new_list()?) (#318447).
23195 2005-10-10 Wim Taymans <wim@fluendo.com>
23197 * gst/gstelement.c: (gst_element_finalize):
23198 And free the GStaticRecMutex too
23200 2005-10-10 Andy Wingo <wingo@pobox.com>
23202 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23203 Allocate and free the mutex properly.
23205 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23207 (GstElement): The state_lock is now recursive. Rebuild your
23208 plugins, suckers. Old macros adapted.
23210 * docs/gst/gstreamer-sections.txt: Doc updates.
23213 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23214 (g_static_rec_cond_wait): Ported from state changes patch, while
23215 we wait on bug #317802 to be solved in a well-distributed GLib.
23217 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23218 gst_element_change_state, variable name changes.
23219 (gst_element_change_state): Split out of gst_element_set_state in
23220 preparation for the state change merge. Doesn't pay attention to
23221 the 'transition' argument.
23222 (gst_element_set_state): Updates, hopefully purely cosmetic.
23223 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23224 state change patch.
23225 (gst_element_get_state_func): Renamed from get_state, cosmetic
23228 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23230 * gst/elements/gstelements.c:
23231 * win32/GStreamer.vcproj:
23233 * win32/dirent.c: (_tseekdir):
23234 * win32/gst-inspect.vcproj:
23235 * win32/gst-launch.vcproj:
23236 * win32/gstconfig.h:
23237 * win32/gstelements.vcproj:
23238 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23239 * win32/gstreamer.def:
23240 * win32/msvc71.sln:
23241 updates for the win32 build (patch from Sebastien Moutte)
23243 2005-10-10 Andy Wingo <wingo@pobox.com>
23245 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23246 gst_bin_get_state, cleaned up (but no logic changes).
23247 (bin_element_is_sink): Comment updates.
23248 (sink_iterator_filter): Remove needless cast.
23249 (gst_bin_iterate_sinks): Doc update.
23250 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23251 cleaned up (but no logic changes).
23253 * check/states/sinks.c (test_src_sink): Cleanups from the state
23255 (test_livesrc_sink): Sync on the state.
23257 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23258 the state change patch.
23260 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23263 * check/gst/gstbin.c: Merge in some style fixes and additional
23264 checks from Wim's state change patch.
23266 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23268 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23269 (gst_type_find_helper):
23270 Check whether we have the requested data already in our list of
23271 cached buffers before pulling a new buffer; also make the buffer
23272 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23274 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23279 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23280 don't use long long, it's not portable. Replacing with
23281 gint64 seems to work; let's hope no skeletons fall out of the closet.
23283 2005-10-10 Andy Wingo <wingo@pobox.com>
23285 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23287 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23289 * docs/gst/gstreamer-sections.txt:
23294 * gst/gstmessage.c: (gst_message_parse_state_changed):
23297 more docs, fix compilation
23299 2005-10-09 Philippe Khalaf <burger@speedy.org>
23300 * gst/gstmessage.c:
23301 Fixed a few forgotten variables on previous commit
23303 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23305 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23306 Fix evil typefind crasher: getrange() might return a short
23307 buffer at the end of a file, but gst_type_find_peek() must
23308 either return the full data as requested or NULL, but
23309 never a short buffer.
23311 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23313 * gst/gstmessage.c: (gst_message_new_state_changed),
23314 (gst_message_parse_state_changed):
23315 * gst/gstmessage.h:
23316 don't use "new", it's a C++ keyword
23318 2005-10-08 Wim Taymans <wim@fluendo.com>
23320 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23321 * gst/gstelement.c: (gst_element_post_message):
23322 * gst/gstpipeline.c: (gst_pipeline_change_state):
23323 Small docs and debug updates.
23325 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23327 * docs/gst/gstreamer-sections.txt:
23328 * gst/gstelementfactory.c:
23330 * gst/gsttaglist.c:
23333 2005-10-08 Wim Taymans <wim@fluendo.com>
23335 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23336 (gst_bin_dispose), (bin_bus_handler):
23337 Fix typos, add comments.
23338 Clear EOS list when going to PAUSED from any direction and do it
23339 in a threadsafe way.
23340 Get base time in a threadsafe way too.
23341 Fix confusing debug in the change_state function.
23342 Various other small cleanups.
23344 * gst/gstelement.c: (gst_element_post_message):
23345 Fix very verbose bus posting code.
23347 * gst/gstpipeline.c: (gst_pipeline_class_init),
23348 (gst_pipeline_set_property), (gst_pipeline_get_property),
23349 (gst_pipeline_change_state):
23350 Small ARG_ -> PROP_ cleanup
23352 2005-10-08 Wim Taymans <wim@fluendo.com>
23354 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23355 Do a less CPU demanding EOS check because we can.
23357 2005-10-08 Wim Taymans <wim@fluendo.com>
23359 * libs/gst/dataprotocol/dataprotocol.c:
23360 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23361 (gst_dp_packet_from_event):
23362 * libs/gst/dataprotocol/dataprotocol.h:
23363 * libs/gst/dataprotocol/dp-private.h:
23364 It's about time we bump the version number.
23365 Since event types don't fit in the guint8 anymore describing
23366 the payload type, make payload type 16 bits wide.
23368 2005-10-08 Wim Taymans <wim@fluendo.com>
23370 * docs/design/part-TODO.txt:
23371 * docs/design/part-clocks.txt:
23372 * docs/design/part-events.txt:
23373 * docs/design/part-gstbin.txt:
23374 * docs/design/part-gstelement.txt:
23375 * docs/design/part-gstpipeline.txt:
23376 * docs/design/part-live-source.txt:
23377 * docs/design/part-messages.txt:
23378 * docs/design/part-overview.txt:
23379 * docs/design/part-states.txt:
23382 2005-10-08 Wim Taymans <wim@fluendo.com>
23386 Fix event quark registration.
23387 Add some space between events so we can insert them in the
23390 2005-10-08 Wim Taymans <wim@fluendo.com>
23392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23393 (gst_base_sink_handle_buffer):
23394 Better log message.
23397 * gst/gstelement.h:
23400 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23401 (gst_queue_set_property), (gst_queue_get_property):
23403 Remove old unused properties.
23405 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23406 * docs/gst/gstreamer-sections.txt:
23407 * gst/gstmessage.c:
23408 * gst/gstmessage.h:
23409 * gst/gstminiobject.c:
23410 * gst/gstminiobject.h:
23414 lots of new docs and doc fixes
23416 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23418 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23420 * gst/gstregistry.c: (gst_registry_lookup_locked),
23421 (gst_registry_scan_path_level):
23422 * gst/gstregistryxml.c: (load_plugin):
23423 Only ever load one plugin for a given plugin basename.
23424 This ensures correct overriding of GST_PLUGIN_PATH over
23425 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23426 system installed plugins.
23428 2005-10-08 Wim Taymans <wim@fluendo.com>
23430 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23431 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23432 Prepare for doing QOS.
23434 2005-10-08 Wim Taymans <wim@fluendo.com>
23436 * check/gst/gstbin.c: (GST_START_TEST):
23437 * check/pipelines/cleanup.c: (GST_START_TEST):
23438 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23439 Allow new clock message too.
23441 2005-10-08 Wim Taymans <wim@fluendo.com>
23443 * gst/gstmessage.c: (gst_message_new_error),
23444 (gst_message_new_warning), (gst_message_new_tag),
23445 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23446 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23447 (gst_message_new_segment_start), (gst_message_new_segment_done),
23448 (gst_message_parse_state_changed),
23449 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23450 (gst_message_parse_new_clock):
23451 * gst/gstmessage.h:
23452 Also carry the clock in question.
23454 2005-10-08 Wim Taymans <wim@fluendo.com>
23456 * gst/gstmessage.c: (gst_message_new_custom),
23457 (gst_message_new_eos), (gst_message_new_error),
23458 (gst_message_new_warning), (gst_message_new_tag),
23459 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23460 (gst_message_new_new_clock), (gst_message_new_segment_start),
23461 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23462 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23463 * gst/gstmessage.h:
23465 Added clock related messages.
23467 * gst/gstpipeline.c: (gst_pipeline_change_state):
23468 Post message when the clock changed.
23470 * tools/gst-launch.c: (event_loop):
23473 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23475 * tools/gst-inspect.c: (print_element_properties_info):
23476 Can't pass NULL strings to g_print() on windows.
23478 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23480 * docs/Makefile.am:
23481 * docs/gst/Makefile.am:
23482 * docs/gst/gstreamer-docs.sgml:
23483 * docs/gst/running.xml:
23484 * docs/version.entities.in:
23485 add a chapter on running GStreamer.
23486 document GST_DEBUG and GST_PLUGIN* env vars
23488 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23493 remove PLUGINS_BUILDDIR stuff
23494 * gst/gst.c: (init_post):
23495 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23497 remove, it was condescending and not needed
23499 2005-10-08 Wim Taymans <wim@fluendo.com>
23501 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23502 (gst_base_sink_handle_object), (gst_base_sink_event),
23503 (gst_base_sink_wait), (gst_base_sink_handle_event),
23504 (gst_base_sink_change_state):
23505 * gst/base/gstbasesink.h:
23506 Repost EOS message while going to PLAYING if still EOS.
23507 Make sure that when receiving a FLUSH_START we don't attempt
23508 to sync on the clock anymore.
23510 2005-10-08 Wim Taymans <wim@fluendo.com>
23512 * tools/gst-launch.c: (event_loop):
23513 Better message printout.
23515 2005-10-08 Wim Taymans <wim@fluendo.com>
23517 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23518 (gst_bin_child_proxy_get_children_count):
23519 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23520 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23521 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23522 (gst_child_proxy_set_valist):
23523 * gst/parse/grammar.y:
23524 Make ChildProxy threadsafe and fix mem leaks.
23526 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23528 * gst/gst.c: (init_post):
23529 debug the GST_PLUGIN_ env vars
23531 2005-10-08 Wim Taymans <wim@fluendo.com>
23533 * check/gst/gstbin.c: (GST_START_TEST):
23534 * check/gst/gstmessage.c: (GST_START_TEST):
23535 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23536 * gst/gstelement.c: (gst_element_commit_state),
23537 (gst_element_lost_state):
23538 * gst/gstmessage.c: (gst_message_new_state_changed),
23539 (gst_message_parse_state_changed):
23540 * gst/gstmessage.h:
23541 * tools/gst-launch.c: (event_loop):
23542 Added extra field to STATE_CHANGE message with the pending
23543 state, which will be different from the new state soon.
23545 2005-10-08 Wim Taymans <wim@fluendo.com>
23547 * gst/gstbus.c: (gst_bus_pop):
23549 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23550 Small cleanups and doc updates.
23552 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23554 * gst/gst.c: (init_pre):
23555 * gst/gstbin.c: (gst_bin_add_func):
23556 log distributing clocks and base time
23557 * gst/gstregistry.c: (gst_registry_add_plugin),
23558 (gst_registry_scan_path_level), (gst_registry_scan_path):
23559 clean up the debugging output a little
23560 * gst/gstutils.c: (gst_element_state_get_name):
23561 warn about a memleak (I've actually seen this be used, though
23562 it was probably a bug)
23564 2005-10-07 Wim Taymans <wim@fluendo.com>
23566 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23567 (gst_base_src_init), (gst_base_src_default_newsegment),
23568 (gst_base_src_newsegment), (gst_base_src_do_seek),
23569 (gst_base_src_loop), (gst_base_src_start):
23570 * gst/base/gstbasesrc.h:
23571 Make the newsegment event customizable by subclasses.
23573 2005-10-07 Wim Taymans <wim@fluendo.com>
23575 * gst/gstevent.c: (gst_event_new_buffersize),
23576 (gst_event_parse_buffersize):
23578 New event for future idea.
23580 2005-10-07 Andy Wingo <wingo@pobox.com>
23582 * gst/gstelement.c (gst_element_post_message): Doc update.
23584 * docs/gst/gstreamer-sections.txt: Update.
23586 * gst/gstmessage.c (gst_message_new_application): Made into a
23587 function like honest API calls.
23588 (gst_message_new_element): New message type.
23590 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23592 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23593 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23596 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23597 NO_PREROLL from gst_element_change_state to fall through.
23599 2005-10-07 Wim Taymans <wim@fluendo.com>
23601 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23602 (gst_ghost_pad_do_activate_push):
23603 Activating a ghostpad with no internal pad in push mode
23606 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23609 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23610 Fixes compilation on Windows.
23612 2005-10-07 Michael Smith <msmith@fluendo.com>
23614 * tools/gst-inspect.c:
23615 Print out feature and plugin count at the end when printing out
23618 2005-10-04 Michael Smith <msmith@fluendo.com>
23620 * gst/gsterror.c: (_gst_stream_errors_init):
23621 Add another error string used in a few existing plugins.
23624 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23625 * tools/gst-inspect.c: (print_element_info):
23626 When a feature disappears from a plugin (and the feature exists in
23627 the cached registry file), things went horribly wrong. This isn't a
23628 complete fix, we should actually be removing the 'missing' features
23629 from the features list when we load the actual plugin. That's not
23632 2005-10-04 Johan Dahlin <johan@gnome.org>
23634 * check/gst/gstiterator.c: (GST_START_TEST):
23635 * gst/gstbin.c: (gst_bin_iterate_elements),
23636 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23637 * gst/gstelement.c: (gst_element_iterate_pads):
23638 * gst/gstformat.c: (gst_format_iterate_definitions):
23639 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23640 (gst_iterator_new_list), (gst_iterator_filter):
23641 * gst/gstiterator.h:
23642 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23643 Add a GType to GstIterator, update callsites and tests.
23645 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23647 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23648 give events a chance to be handled by event probes when the pad
23651 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23653 * gst/gstevent.c: (gst_event_type_get_name),
23654 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23656 add string representations for event types
23658 2005-10-06 Wim Taymans <wim@fluendo.com>
23660 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23661 Don't use NULL pointers.
23663 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23665 * gst/gst_private.h:
23667 * gst/gstelement.c:
23669 * gst/gstpluginfeature.c:
23670 widen the debug category in output to fit the biggest one we have
23671 add a bus category and use it
23672 play with the colors
23673 fix up some categories
23675 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23677 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23678 add push activation of sink ghost pads.
23679 Andye, please verify
23681 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23683 * gst/gstutils.c: (gst_element_link_pads):
23684 fix a bug in the case where neither element has a pad
23685 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23686 add a test for that case
23688 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23690 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23691 emit have-data before checking for peers. This allows
23692 for probe handlers to connect elements. This helps autopluggers.
23693 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23695 add six checks, linked/unlinked with no/true/false probe
23697 2005-10-04 Wim Taymans <wim@fluendo.com>
23699 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23700 (gst_fake_sink_event), (gst_fake_sink_preroll),
23701 (gst_fake_sink_render), (gst_fake_sink_change_state):
23702 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23703 (gst_fake_src_get_property), (gst_fake_src_create),
23704 (gst_fake_src_stop):
23705 * gst/elements/gstidentity.c: (gst_identity_stop):
23706 Protect last_message with lock.
23708 2005-10-04 Edward Hervey <edward@fluendo.com>
23711 Added precision in the comments for GST_FORMAT_DEFAULT
23713 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23715 * tools/gst-launch.c: (main):
23716 Don't try to run erroneous pipelines.
23718 2005-10-04 Julien MOUTTE <julien@moutte.net>
23720 * gst/gstbus.c: We don't need this header.
23722 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23725 back to development
23727 === release 0.9.3 ===
23729 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23733 Releasing 0.9.3, "Unregistered"
23735 2005-10-03 Andy Wingo <wingo@pobox.com>
23737 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23738 whereby calling a pad's activatepush() function can start a thread
23739 that starts to push or pull before the pad gets the FLUSHING flag
23740 unset. Hack around it by holding the stream lock until the flag is
23741 set. Need to replace this with a proper solution. Together with
23742 the ghost pad fixes, this fixes mp3 playing/tagreading.
23744 * docs/design/part-gstghostpad.txt: Add a note about activation of
23745 proxy pads outside of ghost pads.
23747 * gst/gstghostpad.c: Implement the ghost pad activation design.
23749 2005-10-02 Andy Wingo <wingo@pobox.com>
23751 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23752 It is volatile, after all.
23754 * docs/design/part-gstghostpad.txt: Flesh out activation with
23757 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23760 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23763 Fix (unused) AM_CONDITIONAL tests.
23765 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23767 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23769 * gst/gstutils.c: (gst_pad_query_convert):
23770 Add assertion that makes sure src_val is >=0, just like
23771 gst_query_new_convert() has. (#315895)
23773 2005-09-30 Edward Hervey <edward@fluendo.com>
23775 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23776 Let's not iterate pads we're not interested in, it avoids getting
23777 sky-high refcounts on sinkpad.
23779 2005-09-30 Wim Taymans <wim@fluendo.com>
23781 * gst/gstelement.c: (gst_element_set_state),
23782 (gst_element_change_state):
23783 Small tweak, element in ASYNC remains ASYNC.
23785 2005-09-30 Wim Taymans <wim@fluendo.com>
23787 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23788 Only error is an error.
23790 * gst/gstbin.c: (gst_bin_change_state):
23793 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23794 Also call pad_block in pad alloc.
23796 * gst/gstutils.c: (gst_flow_get_name):
23799 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23801 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23802 (gst_base_src_get_range):
23803 Fix documentation typos. Add some more debug info.
23805 2005-09-29 David Schleef <ds@schleef.org>
23807 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23808 more end-user friendly.
23809 * tools/gst-inspect.c: (main): Check if command-line argument is
23810 a file and attempt to load that file as a plugin.
23812 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23814 * check/gst/gstbin.c:
23815 * check/states/sinks.c:
23816 fix tests for the new warning
23817 * check/gst/gstpipeline.c:
23818 add a test for pipeline and bus interaction
23819 * gst/gstelement.c:
23820 elements should be NULL if they get disposed; add a warning if not
23822 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23825 for 2.6 refcounting, make debug log more correct by printing
23826 the actual refcounts at the time of swap (Wim)
23828 2005-09-29 Andy Wingo <wingo@pobox.com>
23830 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23831 removes signal watches previously added via
23832 gst_bus_add_signal_watch.
23833 (gst_bus_add_signal_watch): Don't return the source id, just store
23834 it on the bus if there wasn't an id already.
23836 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23837 add_signal_watch and remove_signal_watch.
23839 2005-09-29 Edward Hervey <edward@fluendo.com>
23841 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23842 Better if we actually iterate the list :)
23844 2005-09-29 Wim Taymans <wim@fluendo.com>
23846 * check/gst/gstbin.c: (GST_START_TEST):
23847 Change for new bus API.
23849 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23850 (send_messages), (GST_START_TEST), (gstbus_suite):
23851 Change for new bus signal API.
23853 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23854 (gst_bus_source_prepare), (gst_bus_source_check),
23855 (gst_bus_create_watch), (gst_bus_add_watch_full),
23856 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23857 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23859 Remove support for multiple GSources operating on different
23860 message types as it is too complex and unneeded when using
23862 Added support for receiving signals from the bus.
23864 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23866 * docs/libs/tmpl/gstdataprotocol.sgml:
23867 * docs/manual/advanced-dataaccess.xml:
23868 * gst/elements/gstcapsfilter.c:
23870 rename filter-caps to caps property
23872 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23874 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23875 More robust fraction string parsing.
23877 * docs/pwg/appendix-porting.xml:
23878 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23880 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23882 * gst/gstcaps.c: (gst_caps_do_simplify):
23883 Thou shalt not free a structure and then continue using it
23884 in the next loop iteration.
23886 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23888 Add test case for caps simplification.
23890 2005-09-29 Wim Taymans <wim@fluendo.com>
23892 * check/gst/gstbin.c: (GST_START_TEST):
23895 2005-09-29 Wim Taymans <wim@fluendo.com>
23897 * check/gst/gstbin.c: (GST_START_TEST):
23900 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23901 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23902 (find_element), (gst_bin_sort_iterator_next),
23903 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23904 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23905 (gst_bin_change_state), (gst_bin_dispose):
23906 A bin does not have a bus, it gets the bus from the parent.
23908 * gst/gstelement.c: (gst_element_requires_clock),
23909 (gst_element_provides_clock), (gst_element_is_indexable),
23910 (gst_element_is_locked_state), (gst_element_change_state),
23911 (gst_element_set_bus_func):
23914 * gst/gstpipeline.c: (gst_pipeline_class_init),
23915 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23916 The pipeline provides a bus.
23918 2005-09-28 Johan Dahlin <johan@gnome.org>
23920 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23921 gst_structure_get_enum instead of gst_structure_get_int
23923 * gst/gststructure.c (gst_structure_get_enum): Impl.
23925 * gst/gststructure.h (gst_structure_get_enum): Add
23927 * docs/gst/gstreamer-sections.txt: Ditto
23929 * gst/gstmessage.c (gst_message_new_state_changed): Use
23930 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23931 which does introspection.
23932 Reviewed by Christian Schaller
23934 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23936 * gst/gstinfo.c: (gst_debug_log_default):
23937 don't do dummy g_strdup()s
23938 * libs/gst/controller/gstcontroller.c:
23939 (on_object_controlled_property_changed),
23940 (gst_controlled_property_new), (gst_controller_new_valist),
23941 (gst_controller_new_list),
23942 (gst_controller_remove_properties_valist), (gst_controller_set),
23943 (gst_controller_get), (gst_controller_sync_values),
23944 (gst_controller_get_value_array), (_gst_controller_class_init),
23945 (gst_controller_get_type):
23946 * libs/gst/controller/gstcontroller.h:
23947 * libs/gst/controller/gstinterpolation.c:
23948 (gst_controlled_property_find_timed_value_node):
23949 convert // to /**/ comments
23951 2005-09-28 Wim Taymans <wim@fluendo.com>
23953 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23954 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23955 (gst_bus_sync_signal_handler):
23957 Added async-message and sync-message signals to the bus.
23958 Added helper BusFunc to emit signals for all posted messages.
23960 * gst/gstmessage.c: (gst_message_type_get_name),
23961 (gst_message_type_to_quark), (gst_message_get_type):
23962 * gst/gstmessage.h:
23963 Register quarks for message names.
23965 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23967 * docs/libs/gstreamer-libs-sections.txt:
23968 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23969 (gst_controller_new_list):
23970 * libs/gst/controller/gstcontroller.h:
23971 added another constructor for language bindings
23973 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23975 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23979 * gst/gstinfo.c: (_gst_debug_init):
23980 slightly more readable color for refcount debugging
23982 2005-09-28 Wim Taymans <wim@fluendo.com>
23984 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23985 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23986 (find_element), (gst_bin_sort_iterator_next),
23987 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23988 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23989 (gst_bin_change_state), (gst_bin_dispose):
23990 Small doc fixes. get_clock -> provide_clock.
23992 * gst/gstelement.c: (gst_element_class_init),
23993 (gst_element_provides_clock), (gst_element_provide_clock),
23994 (gst_element_get_clock), (gst_element_commit_state),
23995 (gst_element_lost_state):
23996 * gst/gstelement.h:
23997 Make get/set_clock() symetric. Add provide_clock vmethod since
23998 that is actually what this function does.
24000 * gst/gstpipeline.c: (gst_pipeline_class_init),
24001 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24002 (gst_pipeline_get_clock):
24003 get_clock -> provide_clock.
24005 2005-09-28 Andy Wingo <wingo@pobox.com>
24007 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24008 lieu of real docs...
24010 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24012 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24014 * gst/elements/gstcapsfilter.c:
24015 * gst/elements/gstfakesink.c:
24016 * gst/elements/gstfakesrc.c:
24017 * gst/elements/gstfdsink.c:
24018 * gst/elements/gstfdsrc.c:
24019 * gst/elements/gstfilesink.c:
24020 * gst/elements/gstfilesrc.c:
24021 * gst/elements/gstidentity.c:
24022 * gst/elements/gsttee.c:
24023 * gst/elements/gsttypefindelement.c:
24024 Make element details static.
24026 2005-09-28 Wim Taymans <wim@fluendo.com>
24028 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24029 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24030 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24031 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24032 (gst_bin_change_state), (gst_bin_dispose):
24033 Some documentation updates.
24034 Clean up dispose handlers.
24036 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24037 * gst/gstpad.c: (gst_pad_dispose):
24038 Clean up dispose handler.
24040 * gst/gstpipeline.c: (gst_pipeline_change_state):
24041 Removed spurious UNLOCK.
24043 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24045 * docs/gst/gstreamer-sections.txt:
24046 * gst/base/gstbasesrc.h:
24047 * gst/gstelement.h:
24051 * gst/gstpipeline.c:
24052 * gst/gstpipeline.h:
24055 added two new functions to the docs
24056 documents all undocumented GstXXXFlags
24057 completed some incomplete docs
24059 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24061 * gst/gstbin.c: (gst_bin_dispose):
24062 * gst/gstelement.c: (gst_element_dispose):
24063 remove now useless and leaky resurrection code in dispose
24064 * gst/base/gstbasesrc.c: (gst_base_src_init):
24065 * gst/gstelementfactory.c: (gst_element_factory_create):
24066 * gst/gstobject.c: (gst_object_set_parent):
24069 2005-09-27 Wim Taymans <wim@fluendo.com>
24071 * docs/design/part-TODO.txt:
24074 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24075 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24076 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24077 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24078 (gst_bin_change_state):
24079 * gst/gstelement.h:
24080 Remove element variable, we keep element info in the iterator now.
24082 2005-09-27 Andy Wingo <wingo@pobox.com>
24084 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24087 2005-09-27 Wim Taymans <wim@fluendo.com>
24089 * check/gst/gstbin.c: (GST_START_TEST):
24090 Enable check that works now.
24092 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24093 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24094 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24095 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24096 (gst_bin_change_state):
24098 Redid the state change algorithm using a topological sort algo.
24099 Handles all cases correctly.
24100 Exposed iterator for state change order.
24102 * gst/gstelement.h:
24103 Temp storage for state changes. Need to get rid of this soon.
24105 2005-09-27 Wim Taymans <wim@fluendo.com>
24107 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24108 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24109 (link_fold_func), (gst_pad_proxy_setcaps):
24110 Leak fixes, the fold functions need to unref the passed object and
24111 _get_parent_*() returns ref to parent.
24113 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24115 * check/gst/gstbuffer.c: (test_make_writable):
24116 Plug leak in test case and fix 'make check-valgrind'
24118 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24120 * gst/gstbuffer.c: (gst_subbuffer_init):
24121 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24122 works correctly in all circumstances (we could have just copied
24123 the parent buffer's readonly flag, but conceptually it seems
24124 cleaner to mark all subbuffers as read-only). (based on patch
24125 by Alessandro Decina, #314710).
24127 * check/gst/gstbuffer.c: (create_read_only_buffer),
24128 (test_make_writable), (test_subbuffer_make_writable),
24130 Add some tests for gst_buffer_make_writable().
24132 2005-09-27 Wim Taymans <wim@fluendo.com>
24134 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24135 use gst_object_has_ancestor().
24137 * gst/gstobject.c: (gst_object_has_ancestor):
24139 gst_object_has_ancestor() copied from gstbin.c as it is a
24142 * tests/instantiate/create.c: (create_all_elements):
24143 * tests/lat.c: (handoff_src), (handoff_sink):
24144 * tests/sched/runxml.c: (main):
24145 * tests/seeking/seeking1.c: (main):
24146 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24148 Fix compilation of some tests.
24150 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24153 Remove comment. GST_TYPE_G_ERROR is here to stay,
24154 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24155 (#316961, #300610).
24157 2005-09-26 Wim Taymans <wim@fluendo.com>
24159 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24160 Added check that shows error in state change order.
24162 2005-09-26 Wim Taymans <wim@fluendo.com>
24164 * gst/gstbin.c: (gst_bin_change_state):
24165 Make state change function use 3 queues again, we were
24166 adding elements in the wrong order.
24168 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24171 * gst/gstpad.c: (gst_pad_dispose):
24172 Added some debug info first.
24174 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24176 * docs/design/draft-push-pull.txt:
24177 * docs/design/part-events.txt:
24178 * docs/design/part-overview.txt:
24179 * docs/design/part-scheduling.txt:
24180 Replace all _pull_region() with _pull_range()
24182 2005-09-26 Andy Wingo <wingo@pobox.com>
24184 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24186 * check/gst-libs/controller.c: Update for controller api change.
24189 * tests/Makefile.am:
24190 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24191 over by GLib bug 118439.
24193 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24194 routines to a function.
24196 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24198 * libs/gst/controller/gsthelper.c:
24199 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24200 (gst_object_sync_values): Renamed from sink_values. Ugh.
24202 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24204 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24205 Renamed from controller_key, as it is exported.
24207 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24209 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24214 * gst/gstpadtemplate.h:
24217 * gst/gstqueryutils.c:
24218 * gst/gstqueryutils.h:
24219 remove queryutils headers after moving the two used functions
24220 to gstquery. also fixes build problem for gstsiddec
24222 2005-09-26 Michael Smith <msmith@fluendo.com>
24224 * tools/gst-launch.1.in:
24225 Correct documentation in manpage of debug syntax
24227 2005-09-26 Wim Taymans <wim@fluendo.com>
24229 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24230 (gst_base_src_is_seekable), (gst_base_src_change_state):
24231 Some more debugging info.
24233 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24235 * docs/gst/gstreamer-sections.txt:
24236 * gst/base/gstbasetransform.h:
24240 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24242 * docs/gst/.cvsignore:
24243 * docs/gst/tmpl/.cvsignore:
24244 * docs/gst/tmpl/gstpipeline.sgml:
24245 * docs/gst/tmpl/gstplugin.sgml:
24246 * gst/gstpipeline.c:
24249 inlined the last two docs files
24250 removed the tmpl directory from cvs (no more conflicts here!)
24252 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24254 * docs/gst/gstreamer-sections.txt:
24255 * docs/gst/tmpl/.cvsignore:
24256 * docs/gst/tmpl/gstpad.sgml:
24257 * docs/gst/tmpl/gstpadtemplate.sgml:
24259 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24260 (gst_pad_finalize), (gst_pad_set_pad_template):
24262 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24263 (gst_pad_template_class_init), (gst_pad_template_init),
24264 (gst_pad_template_dispose), (name_is_valid),
24265 (gst_static_pad_template_get), (gst_pad_template_new),
24266 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24267 (gst_pad_template_pad_created):
24268 * gst/gstpadtemplate.h:
24269 inlined two more docs
24270 factored gstpadtemplate out of gstpad
24272 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24274 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24275 (test_children_state_change_order_semi_sink):
24276 Fix test case: we can't rely on a fixed state change order when
24277 going from READY => PAUSED because the sink might commit its
24278 new state first when the first buffer created by the source
24279 reaches the sink before the source has finished its change state.
24280 (Test case still fails at times, see #316856, comment 5 onwards)
24282 2005-09-24 Wim Taymans <wim@fluendo.com>
24284 * docs/design/part-events.txt:
24285 * docs/design/part-gstbus.txt:
24286 * docs/design/part-gstpipeline.txt:
24287 * docs/design/part-messages.txt:
24288 * docs/design/part-overview.txt:
24289 * docs/design/part-segments.txt:
24293 * gst/gstelement.c:
24296 * gst/gstiterator.c:
24297 Various documentation updates.
24299 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24302 Well, that's embarassing. Luckily we weren't using
24303 GST_CLOCK_DIFF anywhere.
24305 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24307 * common/gtk-doc.mak:
24308 don't fail on building XML, FC4 slave shows a bunch of doc
24309 missing bits that I don't get
24311 * gst/gstpipeline.c:
24312 * gst/gststructure.c:
24315 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24317 * docs/design/part-gstbin.txt:
24318 * docs/design/part-gstbus.txt:
24320 Add blurb about how the bus goes into flushing mode and
24321 drops all messages when its bin goes from READY into NULL
24324 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24326 * docs/gst/gstreamer-sections.txt:
24327 * gst/gststructure.c: (gst_structure_get_clock_time):
24328 * gst/gststructure.h:
24329 add a method to get a GstClockTime out of a structure
24331 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24333 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24334 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24335 Added test to check state change order in bins (can still be made
24336 to fail here under heavy disk load; bails out with 'Push on pad
24337 fakesink:sink0, but it was not activated in push mode').
24339 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24340 Fix state change order when there is only a semi sink (#316856)
24342 * gst/gstbus.c: (gst_bus_class_init):
24343 Use _class_peek_parent(), not _class_ref(); fix docs to say
24344 'default main context' instead of 'mainloop' where that is
24347 * gst/gstelement.c: (gst_element_commit_state),
24348 (gst_element_set_state):
24349 Fix typos in debug messages
24351 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24354 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24355 * gst/gstpluginfeature.c:
24357 various doc updates
24358 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24359 change an assert into an error until it gets fixed properly
24361 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24363 * docs/gst/gstreamer-sections.txt:
24364 * docs/gst/tmpl/.cvsignore:
24365 * docs/gst/tmpl/gstelement.sgml:
24366 * docs/gst/tmpl/gstinfo.sgml:
24367 * docs/gst/tmpl/gstobject.sgml:
24368 * gst/gstelement.c:
24369 * gst/gstelement.h:
24372 * gst/gstobject.c: (gst_object_class_init):
24374 inlined 3 more biiiig doc files and added some missing docs on the fly
24376 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24378 * check/gst/.cvsignore:
24379 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24380 * gst/gstregistryxml.c: (load_plugin),
24381 (gst_registry_xml_save_plugin):
24382 put back source in registry. add checks for find_plugin.
24383 * testsuite/states/bin.c: (assert_state), (empty_bin),
24384 (test_adding_one_element), (main):
24385 * testsuite/states/locked.c: (main):
24386 some compile/run fixes
24388 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24390 * check/gst/gstvalue.c: (GST_START_TEST):
24391 fix leaks in the test itself
24393 2005-09-22 Wim Taymans <wim@fluendo.com>
24395 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24396 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24397 (gst_base_sink_query):
24398 Prepare for more accurate position reporting and query
24401 * gst/gstelement.c: (gst_element_send_event),
24402 (gst_element_set_state):
24405 2005-09-22 Wim Taymans <wim@fluendo.com>
24407 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24408 (gst_query_parse_segment):
24410 More documentation.
24411 Add segment query for future use.
24413 2005-09-22 Wim Taymans <wim@fluendo.com>
24415 * gst/gstbin.c: (gst_bin_add_func):
24416 Some more debug info.
24418 * gst/gstelement.c: (gst_element_send_event):
24419 Simplify send_event
24421 * gst/gstelement.h:
24422 Don't know how flags got broken.
24427 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24429 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24430 Add simplistic test suite for GST_TYPE_DATE serialisation and
24433 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24435 * docs/gst/gstreamer-sections.txt:
24436 * gst/gststructure.c: (gst_structure_set_valist),
24437 (gst_structure_get_date):
24438 * gst/gststructure.h:
24439 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24440 (gst_date_copy), (gst_value_compare_date),
24441 (gst_value_serialize_date), (gst_value_deserialize_date),
24442 (gst_value_transform_date_string),
24443 (gst_value_transform_string_date), (_gst_value_initialize):
24445 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24446 bunch of utility functions along with a hack that checks that
24447 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24448 is required. Part of the grand scheme in #170777.
24450 2005-09-22 Andy Wingo <wingo@pobox.com>
24452 * gst/gstconfig.h.in: Psych out gtk-doc.
24454 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24456 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24458 * tools/gst-inspect.c (print_element_list): Plug some
24459 inconsequential leaks.
24461 * gst/gstregistry.c (gst_registry_get_default): Doc.
24463 * check/gst/gstplugin.c:
24464 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24465 * gst/gstelementfactory.c (gst_element_factory_create):
24466 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24469 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24470 (gst_plugin_feature_load): Doc, don't eat refs.
24472 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24473 (gst_plugin_list_free): Doc.
24474 (gst_plugin_load_file): Doc updates.
24476 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24477 accessors returning refcounted objects, return a ref.
24479 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24480 accessor for caps. IDEMPOTENCE. Oh yes.
24482 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24484 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24486 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24487 (_gst_debug_register_funcptr):
24488 Add mutex to serialise access to the hash table with
24489 the function pointer => function name string mapping;
24490 make that hash table static scope (#316809).
24492 * gst/registries/.cvsignore:
24493 Remove left-over file.
24495 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24497 * docs/pwg/appendix-porting.xml:
24498 And something about newsegment events and caps-on-buffers to
24499 the porting guide (feel free to improve).
24501 2005-09-21 Andy Wingo <wingo@pobox.com>
24503 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24504 data and event probes on the same pad.
24505 (test_buffer_probe_once): Test that removing probes from within
24506 the probe functions works.
24508 2005-09-21 Andy Wingo <wingo@pobox.com>
24510 * check/gst/gstutils.c: New file.
24511 (test_buffer_probe_n_times): A simple buffer probe test. More to
24514 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24515 have-data::buffer, not have-data.
24516 (gst_pad_add_event_probe): Likewise for have-data::event.
24517 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24518 peer' isn't quite right yet though.
24519 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24520 (gst_pad_remove_data_probe): Change to take the guint handler_id
24521 as their arg, not the function+data, which is more glib-like.
24523 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24524 the signal emission to indicate if the data is a buffer or an
24526 (gst_pad_get_type): Initialize buffer and event quarks.
24527 (gst_pad_class_init): have-data is now a detailed signal, yes it
24530 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24532 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24533 * gst/gstutils.c: (gst_util_set_value_from_string),
24534 (gst_util_set_object_arg):
24535 Don't put functional code in g_return_if_fail() or
24536 g_return_val_if_fail() statements, otherwise things will
24537 break when G_DISABLE_CHECKS is defined during compilation.
24539 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24541 * docs/gst/tmpl/.cvsignore:
24542 * docs/gst/tmpl/gstvalue.sgml:
24545 inlied another one and added some obvious docs
24547 2005-09-21 Wim Taymans <wim@fluendo.com>
24549 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24550 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24551 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24552 (gst_fdsrc_get_property), (gst_fdsrc_create):
24553 * gst/elements/gstfdsrc.h:
24554 Properly implement fdsrc. Removed signal and timeout,
24555 better implemented somewhere else.
24557 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24559 * docs/gst/tmpl/.cvsignore:
24560 * docs/gst/tmpl/gstimplementsinterface.sgml:
24561 * gst/gstinterface.c:
24564 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24566 * docs/gst/gstreamer-sections.txt:
24567 * docs/gst/tmpl/.cvsignore:
24568 * docs/gst/tmpl/gstenumtypes.sgml:
24569 remove obsolete doc file
24571 2005-09-21 David Schleef <ds@schleef.org>
24573 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24574 little beer, fix a little leak.
24576 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24578 * docs/gst/gstreamer-docs.sgml:
24579 * docs/gst/gstreamer-sections.txt:
24580 * docs/gst/tmpl/.cvsignore:
24584 * gst/gstelement.h:
24585 * gst/gstindex.c: (gst_index_class_init):
24587 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24588 (gst_index_factory_class_init), (gst_index_factory_init),
24589 (gst_index_factory_finalize), (gst_index_factory_new),
24590 (gst_index_factory_destroy), (gst_index_factory_find),
24591 (gst_index_factory_create), (gst_index_factory_make):
24592 * gst/gstindexfactory.h:
24593 * gst/gstpluginfeature.c:
24594 * gst/gstpluginfeature.h:
24595 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24596 more docs inlined, splitted gstindex.{c,h}
24598 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24600 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24603 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24605 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24606 Set sync to FALSE by default.
24608 2005-09-20 Wim Taymans <wim@fluendo.com>
24610 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24611 (gst_base_sink_init):
24612 Make sync property settable from subclass.
24614 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24615 (gst_fake_sink_change_state):
24616 Set sync to FALSE by default.
24618 2005-09-20 Wim Taymans <wim@fluendo.com>
24620 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24621 * tools/gst-launch.c: (main):
24622 The timeout handler should have lower priority than the source
24623 so we don't timeout before popping a message with 0 timeout.
24624 Dump error messages after failed state change.
24626 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24628 * tools/gst-inspect.c: (print_element_properties_info):
24631 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24633 * check/gst/gstevent.c:
24634 * gst/elements/gstfakesink.c:
24635 * gst/elements/gstfakesink.h:
24636 remove the sync property from fakesink.
24637 has the side effect of setting sync TRUE
24638 for fakesink, which is a change. Anyone who knows how
24639 to fix this nicely in a GObject-y way, feel free.
24641 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24643 * docs/gst/gstreamer-docs.sgml:
24644 remove probe refsection
24646 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24648 * check/Makefile.am:
24649 disable valgrinding the controller test again
24650 * docs/gst/gstreamer-sections.txt:
24651 update for api-changes
24653 2005-09-20 Wim Taymans <wim@fluendo.com>
24655 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24656 (gst_base_sink_set_property), (gst_base_sink_get_property),
24657 (gst_base_sink_do_sync):
24658 * gst/base/gstbasesink.h:
24659 Added sync property to basesink to disable clock sync.
24661 2005-09-20 Andy Wingo <wingo@pobox.com>
24663 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24664 eating the caller's refcount.
24666 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24667 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24670 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24671 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24672 of GLib 2.8 public, so we can know which refcount to check in
24675 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24676 (gst_object_init): Only set the gst refcount if we're going ahead
24677 with the refcount hack.
24679 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24681 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24682 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24683 more leaks plumbed, added more debug-logging
24687 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24689 * gst/gstmessage.c:
24690 remove include of gstmemchunk.h
24692 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24694 * gst/gstclock.c: (_gst_clock_id_free):
24695 Commit from the Political Party For More Atomic CVS Commits,
24696 so that people don't waste too much of their day fishing
24697 out obvious leaks out of massive commits.
24698 Oh, and fix a pretty damn obvious leak in the memchunk
24701 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24703 * check/Makefile.am:
24704 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24705 plug mem-leak, re-add to valgrindable tests
24707 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24710 unbreak the build for those who have chronic arthritis
24711 and typing "make check" is just too taxing on the hands
24713 2005-09-20 Andy Wingo <wingo@pobox.com>
24715 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24716 really want it out, you should fix plugins at the same time.
24718 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24721 * docs/gst/gstreamer-sections.txt:
24723 added missing symbols to api docs
24724 disable ref-count hack if we have glib >= 2.8
24726 2005-09-19 David Schleef <ds@schleef.org>
24728 * docs/gst/Makefile.am: Ignore a few more internal headers
24729 * docs/gst/gstreamer-docs.sgml: Remove old sections
24730 * docs/gst/gstreamer-sections.txt: Remove old sections
24731 * docs/gst/tmpl/gstobject.sgml: update
24732 * docs/gst/tmpl/gstplugin.sgml: update
24733 * docs/gst/tmpl/gstpluginfeature.sgml: update
24734 * docs/random/ds/0.9-suggested-changes: update.
24735 * gst/Makefile.am: remove memchunk and trashstack, since they're
24737 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24738 * gst/gst.h: don't include some headers
24739 * gst/gstchildproxy.c: add gstmarshal.h
24740 * gst/gstclock.c: Don't use memchunks
24741 * gst/gstminiobject.c: Add some docs
24742 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24743 * gst/gstobject.h: same
24744 * gst/gstplugin.c: include gstmacros.h
24745 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24746 * gst/gstquery.c: don't use memchunks
24747 * gst/gstregistry.c: rename gst_registry_deinit()
24748 * gst/gstregistry.h: same
24750 2005-09-19 David Schleef <ds@schleef.org>
24752 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24753 * docs/libs/gstreamer-libs-sections.txt:
24754 * docs/libs/tmpl/gstgetbits.sgml:
24755 * docs/libs/tmpl/gstputbits.sgml:
24757 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24759 * win32/gstenumtypes.c:
24760 * win32/gstenumtypes.h:
24763 2005-09-19 Wim Taymans <wim@fluendo.com>
24765 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24766 Automatically PAUSE and RESUME a pipeline when a flushing seek
24769 2005-09-19 Andy Wingo <wingo@pobox.com>
24771 * gst/gstregistry.h: Spacing fixen.
24773 2005-09-19 Wim Taymans <wim@fluendo.com>
24775 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24776 Handle state change failure more correctly.
24778 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24780 * check/Makefile.am:
24781 * check/pipelines/cleanup.c: (run_pipeline):
24782 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24784 enable cleanup again after fixing the leak
24786 some more info on docs
24788 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24790 * check/Makefile.am:
24791 re-enable tests now that leaks are plugged
24793 * check/gst/gstbin.c:
24794 * check/gst/gstpipeline.c:
24795 add some more tests while fixing leaks
24796 * common/check.mak:
24797 make sure binaries are uptodate when valgrinding/gdbing
24799 * gst/gstelementfactory.c:
24800 remove a ref too many, and add a FIXME for when we get
24801 round to disposing of classes
24803 fix the refcounting when loading a plugin from a file and
24804 the code pretends that the pointer is the same even though
24805 of course it can change
24806 * gst/gstpluginfeature.c:
24807 unref plugins marked cached (a bit confusing as a name)
24808 as the docs state should be done
24809 various doc additions to explain refcounting
24810 * gst/gstregistry.c:
24811 * gst/gstregistryxml.c:
24814 2005-09-19 Wim Taymans <wim@fluendo.com>
24816 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24817 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24818 (send_messages), (GST_START_TEST), (gstbus_suite):
24819 * check/gst/gstpipeline.c: (GST_START_TEST):
24820 * check/pipelines/cleanup.c: (run_pipeline):
24821 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24823 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24824 (gst_bus_source_check), (gst_bus_source_dispatch),
24825 (gst_bus_create_watch), (gst_bus_add_watch_full),
24826 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24828 * tools/gst-launch.c: (event_loop):
24829 * tools/gst-md5sum.c: (event_loop):
24830 GstBusHandler -> GstBusFunc, return value has the same meaning as
24831 any other GSource (FALSE == remove source).
24832 _add_watch() and _add_watch_full() now take a MessageType mask to
24833 only handle specific types of messages.
24834 _poll() returns the GstMessage instead of the message type to avoid
24836 _have_pending() takes a MessageType mask now too.
24837 Added testsuite for multiple bus watches.
24838 Fix testsuites and applications for new bus API.
24840 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24842 * check/Makefile.am:
24843 mark a bunch of the tests as to fix until we fix them
24845 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24847 * common/check.mak:
24848 use GST_PLUGIN settings for valgrind tests as well, so we're
24849 valgrinding the correct thing
24850 * gst/gst.c: (init_post):
24853 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24855 * gst/gst.c: (init_post), (gst_deinit):
24856 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24857 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24858 * gst/gstindex.c: (gst_index_factory_class_init),
24859 (gst_index_factory_finalize):
24860 * gst/gstobject.c: (gst_object_dispose):
24861 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24862 (gst_plugin_load_file), (gst_plugin_desc_free):
24863 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24864 (gst_plugin_feature_finalize):
24865 * gst/gstregistry.c: (gst_registry_class_init),
24866 (gst_registry_init), (gst_registry_finalize),
24867 (gst_registry_get_default), (gst_registry_deinit):
24868 * gst/gstregistry.h:
24869 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24870 various cleanups and memleak plugging. make valgrind is happy now.
24872 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24874 * common/check.mak:
24875 add a check-valgrind target
24877 2005-09-18 David Schleef <ds@schleef.org>
24879 * tools/gst-inspect.c: Revert the GOption code.
24881 2005-09-17 David Schleef <ds@schleef.org>
24883 * check/Makefile.am: Fix environment variables.
24884 * check/gst/gstplugin.c: Fix for API changes.
24885 * tools/gst-inspect.c: Fix for API changes.
24886 * tools/gst-xmlinspect.c: Fix for API changes.
24887 * gst/gstelementfactory.c:
24890 * gst/gstpluginfeature.c:
24891 * gst/gstpluginfeature.h:
24892 * gst/gstregistry.c:
24893 * gst/gstregistry.h:
24894 * gst/gstregistryxml.c:
24895 * gst/gsttypefind.c:
24896 * gst/gsttypefindfactory.c:
24897 * gst/indexers/gstfileindex.c:
24898 * gst/indexers/gstmemindex.c:
24899 * gst/schedulers/Makefile.am:
24900 Change registry to keep track of both plugins and features,
24901 removing the feature tracking from plugins themselves.
24903 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24905 * check/Makefile.am:
24906 * tools/gst-register.1.in:
24907 remove gst-register
24909 2005-09-15 David Schleef <ds@schleef.org>
24911 * check/gst/gstplugin.c:
24912 * gst/gstelementfactory.c:
24914 * gst/gstpluginfeature.c:
24915 * gst/gstregistry.c:
24916 Getting tired of debugging. Disabled all the unreffing of
24917 plugins and features, which fixes the segfaults, but of
24918 course leaks like crazy. At least playbin works.
24920 2005-09-15 David Schleef <ds@schleef.org>
24922 * check/gst/gstplugin.c: (register_check_elements),
24923 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24925 * gst/elements/gsttypefindelement.c: Fix refcounting.
24926 * gst/gsttypefind.c:
24927 * gst/gsttypefindfactory.c:
24928 * gst/gsttypefindfactory.h:
24930 2005-09-15 David Schleef <ds@schleef.org>
24932 * gst/gstindex.c: get refcounting correct.
24933 * gst/gstregistry.c: Handle the case where a feature/plugin is
24936 2005-09-15 David Schleef <ds@schleef.org>
24938 * check/Makefile.am:
24939 * check/gst/gstplugin.c: Add test
24940 * gst/gstplugin.c: Fix problems noticed by testsuite
24942 * gst/gstregistry.c:
24943 * gst/gstregistry.h:
24945 2005-09-15 David Schleef <ds@schleef.org>
24947 * gst/gstplugin.c: Implement semi-decent recounting and locking
24948 in plugins and plugin features.
24950 * gst/gstpluginfeature.c:
24951 * gst/gstpluginfeature.h:
24952 * gst/gstregistry.c:
24954 2005-09-15 Michael Smith <msmith@fluendo.com>
24956 * gst/gstregistry.c: (gst_registry_get_feature_list):
24957 Implement this. Makes oggdemux work; decodebin still broken.
24959 2005-09-14 David Schleef <ds@schleef.org>
24961 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24963 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24964 * gst/check/Makefile.am:
24965 * libs/gst/controller/Makefile.am:
24966 * libs/gst/dataprotocol/Makefile.am:
24968 2005-09-14 David Schleef <ds@schleef.org>
24970 * configure.ac: Remove getbits library. Nothing uses it, and
24971 it should be in something like liboil if someone did want
24973 * libs/gst/Makefile.am:
24974 * libs/gst/getbits/Makefile.am:
24975 * libs/gst/getbits/gbtest.c:
24976 * libs/gst/getbits/getbits.c:
24977 * libs/gst/getbits/getbits.h:
24978 * libs/gst/getbits/gstgetbits_generic.c:
24979 * libs/gst/getbits/gstgetbits_i386.s:
24980 * libs/gst/getbits/gstgetbits_inl.h:
24982 2005-09-14 David Schleef <ds@schleef.org>
24984 * gst/Makefile.am: Dist glib-compat.h
24986 2005-09-14 David Schleef <ds@schleef.org>
24988 * configure.ac: Remove gst/registries, since it's no longer used.
24989 * gst/registries/Makefile.am:
24990 * gst/registries/gstlibxmlregistry.c:
24991 * gst/registries/gstlibxmlregistry.h:
24992 * gst/registries/gstxmlregistry.c:
24993 * gst/registries/gstxmlregistry.h:
24994 * gst/registries/registrytest.c:
24996 2005-09-14 David Schleef <ds@schleef.org>
24998 * gst/glib-compat.h:
24999 * gst/gstregistryxml.c:
25000 Convergence is near. Seriously.
25002 2005-09-14 David Schleef <ds@schleef.org>
25004 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25005 * gst/glib-compat.h:
25006 Attempt #4 to appease the buildbots.
25008 2005-09-14 David Schleef <ds@schleef.org>
25010 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25013 2005-09-14 David Schleef <ds@schleef.org>
25015 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25018 2005-09-14 David Schleef <ds@schleef.org>
25020 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25023 2005-09-14 David Schleef <ds@schleef.org>
25025 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25026 * gst/glib-compat.h: Add some functions that are in newer versions
25027 of glib than we care to require.
25028 * gst/gstregistryxml.c: Use them.
25030 2005-09-14 David Schleef <ds@schleef.org>
25032 * po/POTFILES.in: remove gst-register.c
25034 2005-09-14 David Schleef <ds@schleef.org>
25036 * docs/gst/gstreamer-docs.sgml:
25037 * docs/gst/gstreamer-sections.txt:
25038 * docs/gst/gstreamer.types:
25039 * docs/gst/tmpl/gstelement.sgml:
25040 * docs/gst/tmpl/gstplugin.sgml:
25041 * docs/gst/tmpl/gstpluginfeature.sgml:
25042 Documentation updates for registry changes.
25044 2005-09-14 David Schleef <ds@schleef.org>
25046 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25047 because we don't require glib-2.8.
25049 2005-09-14 David Schleef <ds@schleef.org>
25051 * gst/gstregistryxml.c: Added. Essentially moved out of the
25052 registries directory.
25054 2005-09-14 David Schleef <ds@schleef.org>
25056 * check/Makefile.am:
25057 * check/generic/states.c:
25061 * gst/gst_private.h:
25062 * gst/gstelementfactory.c:
25067 * gst/gstpluginfeature.c:
25068 * gst/gstpluginfeature.h:
25069 * gst/gstregistry.c:
25070 * gst/gstregistry.h:
25071 * gst/gstregistrypool.c: remove
25072 * gst/gstregistrypool.h: remove
25073 * gst/gsttypefind.c:
25074 * gst/gsttypefindfactory.c:
25076 * tools/Makefile.am:
25077 * tools/gst-compprep.c:
25078 * tools/gst-inspect.c:
25079 * tools/gst-register.c: remove
25080 * tools/gst-xmlinspect.c:
25081 Registry rewrite. Changes registry from being a file created
25082 by a tool into a simple cache file created automatically by
25083 libgstreamer. Removed gst-register (because it's no longer
25084 needed). Remove registry pools, because we only have one
25085 registry implementation (XML). Fix up other subsystems as
25088 2005-09-13 Michael Smith <msmith@fluendo.com>
25090 * gst/gstconfig.h.in:
25091 Don't Use windows linking attributes for MinGW. Fixes #316157
25093 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25095 * gst/gstutils.c: (set_state_async_thread_func),
25096 (gst_element_set_state_async):
25097 Apparently people think it's better if this function doesn't
25098 try to set the state to whatever state was asked for on the first
25099 call to this function for any object. Seriously.
25101 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25103 * check/gst/gstpipeline.c: (GST_START_TEST):
25104 * docs/gst/gstreamer-sections.txt:
25105 * gst/gstutils.c: (set_state_async_thread_func),
25106 (gst_element_set_state_async):
25108 add a "gst_element_set_state_async" method that
25109 sets the state and starts a thread to make sure the state
25110 change completes as best as it can
25112 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25114 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25115 codify design+behaviour in testsuite after discussion
25117 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25119 * docs/gst/tmpl/gstelement.sgml:
25120 * docs/manual/appendix-quotes.xml:
25122 * gst/gstelement.c: (gst_element_set_state):
25125 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25127 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25128 (gst_base_transform_prepare_output_buf),
25129 (gst_base_transform_handle_buffer):
25130 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25131 (gst_capsfilter_prepare_buf):
25132 Remove the requirement for sub-classes to call the parent
25133 implementation of prepare_output_buffer with a wrapper function.
25135 * gst/gsttaglist.h:
25136 * gst/gsttagsetter.h:
25137 Fix #define wrapper
25139 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25141 * docs/gst/gstreamer-sections.txt:
25144 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25146 * docs/gst/gstreamer-sections.txt:
25147 * docs/gst/tmpl/gstelement.sgml:
25148 * docs/gst/tmpl/gstplugin.sgml:
25149 * gst/gstminiobject.c:
25151 docs now stop throwing warnings
25153 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25155 * docs/gst/gstreamer-sections.txt:
25156 * docs/gst/gstreamer.types:
25157 * docs/gst/tmpl/gstpad.sgml:
25158 * docs/gst/tmpl/gsttypes.sgml:
25159 * gst/base/gstadapter.h:
25160 * gst/base/gstbasesink.h:
25161 * gst/base/gstbasesrc.h:
25167 * gst/gstelement.h:
25169 * gst/gstmessage.h:
25171 * gst/gststructure.c:
25172 * gst/registries/gstlibxmlregistry.h:
25173 various documentation fixes
25175 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25177 * docs/gst/gstreamer-sections.txt:
25178 * docs/gst/tmpl/gstvalue.sgml:
25179 rearrange gstvalue section
25180 * gst/gstutils.c: (gst_element_state_get_name):
25182 * gst/gstvalue.c: (_gst_value_initialize):
25186 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25188 * check/gst-libs/controller.c:
25189 Header include fix.
25190 * gst/base/gstbasetransform.c:
25191 (gst_base_transform_default_prepare_buf),
25192 (gst_base_transform_handle_buffer):
25193 * gst/base/gstbasetransform.h:
25194 Some more basetransform changes and fixes to enable sub-classes
25195 that modify buffer metadata only.
25196 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25197 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25198 (gst_capsfilter_prepare_buf):
25199 If the output pad has fixed allowed caps and input buffers
25200 don't have any, set the fixed caps on outgoing buffers.
25202 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25203 * check/elements/identity.c: (GST_START_TEST):
25204 Make the error a little clearer when the test fails because
25205 identity made a copy of the buffer.
25206 * docs/gst/gstreamer-sections.txt:
25207 New symbols in gstbasetransform.h
25208 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25209 (gst_base_transform_init), (gst_base_transform_transform_size),
25210 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25211 (gst_base_transform_default_prepare_buf),
25212 (gst_base_transform_get_unit_size),
25213 (gst_base_transform_buffer_alloc),
25214 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25215 (gst_base_transform_change_state),
25216 (gst_base_transform_set_passthrough),
25217 (gst_base_transform_set_in_place),
25218 (gst_base_transform_is_in_place):
25219 * gst/base/gstbasetransform.h:
25220 Change BaseTransform to separate in_place operate from same_caps
25221 output. in_place implies that the element can perform the transform
25222 on incoming buffers in-place, even if the caps on the output are
25224 Sub-class elements can now implement special buffer allocation
25225 methods for outgoing buffers if they wish to.
25226 Big documentation addition.
25227 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25228 * gst/elements/gstelements.c:
25229 Changes for basetransform modifications.
25230 * gst/elements/Makefile.am:
25231 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25232 Compile fix. Extra debug output.
25234 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25236 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25238 add tests for valid pad naming
25239 * gst/check/gstcheck.c: (gst_check_log_message_func),
25240 (gst_check_log_critical_func):
25242 remove printing of code, it is fragile when the code contains
25243 % and the line number is enough info
25244 * gst/check/gstcheck.h:
25245 * gst/gstpad.c: (gst_pad_template_new):
25248 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25251 say what CHECK flags we use
25252 * docs/libs/gstreamer-libs.types:
25253 * libs/gst/controller/Makefile.am:
25254 * libs/gst/controller/gst-controller.c:
25255 * libs/gst/controller/gst-controller.h:
25256 * libs/gst/controller/gst-helper.c:
25257 * libs/gst/controller/gst-interpolation.c:
25258 * libs/gst/controller/gstcontroller.c:
25259 * libs/gst/controller/gsthelper.c:
25260 * libs/gst/controller/gstinterpolation.c:
25261 * tools/gst-inspect.c: (print_plugin_info):
25262 we don't use dashes in header names
25264 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25266 * check/Makefile.am:
25267 * check/gst/.cvsignore:
25268 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25269 (gst_pipeline_suite), (main):
25270 adding a test for pipelines and state changes
25271 * gst/gstutils.c: (get_state_func):
25273 * gstreamer.spec.in:
25276 2005-09-08 Michael Smith <msmith@fluendo.com>
25278 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25279 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25280 (gst_file_src_is_seekable), (gst_file_src_get_size),
25281 (gst_file_src_start):
25282 * gst/elements/gstfilesrc.h:
25283 Various fixes for unseekable, unmmapable, and non-normal files, so
25284 that fallback to read() rather than mmap() works.
25285 * gst/gstevent.c: (gst_event_new_newsegment):
25286 Allow newsegment events with segment_start == segment_end, as will
25287 correctly happen if you use filesrc on a zero-size file, for
25290 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25292 * gst/gstplugin.c: (gst_plugin_load_file):
25293 Call g_module_close when we don't load the module
25295 * gst/registries/gstlibxmlregistry.c:
25296 (gst_xml_registry_get_property):
25297 Port leak fix from 0.8
25299 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25301 * docs/gst/gstreamer-docs.sgml:
25302 * docs/gst/tmpl/.cvsignore:
25303 * docs/gst/tmpl/gsttrace.sgml:
25304 * docs/gst/tmpl/gsttrashstack.sgml:
25307 * gst/gstelement.h:
25309 * gst/gstmessage.c:
25310 * gst/gstmessage.h:
25313 * gst/gsttaginterface.c:
25314 * gst/gsttaginterface.h:
25315 * gst/gsttaglist.c:
25316 * gst/gsttaglist.h:
25317 * gst/gsttagsetter.c:
25318 * gst/gsttagsetter.h:
25321 * gst/gsttrashstack.c:
25322 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25323 inlined docs for gsttrace, gsttrashstack
25325 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25328 * gst/elements/gstbufferstore.h:
25329 * gst/elements/gsttypefindelement.c:
25330 * gst/elements/gsttypefindelement.h:
25332 * gst/gsttypefind.c:
25333 * gst/gsttypefind.h:
25334 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25335 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25336 (gst_type_find_factory_dispose),
25337 (gst_type_find_factory_unload_thyself),
25338 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25339 (gst_type_find_factory_get_caps),
25340 (gst_type_find_factory_get_extensions),
25341 (gst_type_find_factory_call_function):
25342 * gst/gsttypefindfactory.h:
25343 * gst/registries/gstlibxmlregistry.c:
25344 * gst/registries/gstxmlregistry.c:
25345 splitted gsttypefind into gsttypefind, gsttypefindfactory
25347 2005-09-07 Andy Wingo <wingo@pobox.com>
25349 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25350 condition whereby the pad's task function is entered before the
25351 pad_mode variable was set.
25353 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25355 * gst/gstpad.c: (gst_pad_alloc_buffer):
25356 Catch misbehaving pad_alloc functions that don't
25357 set up caps and do it for them.
25359 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25361 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25362 test for pipe!=NULL
25363 * docs/gst/tmpl/.cvsignore:
25364 * docs/gst/tmpl/gstmemchunk.sgml:
25365 * docs/gst/tmpl/gstparse.sgml:
25366 * docs/gst/tmpl/gsttaglist.sgml:
25367 * docs/gst/tmpl/gsttagsetter.sgml:
25368 * docs/gst/tmpl/gsttypefind.sgml:
25369 * docs/gst/tmpl/gsttypefindfactory.sgml:
25370 * gst/gstmemchunk.c:
25373 * gst/gsttaginterface.c:
25374 * gst/gsttypefind.c:
25375 * gst/gsttypefind.h:
25378 === release 0.9.2 ===
25380 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25385 releasing 0.9.2, "South"
25387 2005-09-05 Andy Wingo <wingo@pobox.com>
25389 * gst/registries/gstxmlregistry.h:
25390 * gst/registries/gstxmlregistry.c: Um... resurrect...
25392 * gst/registries/gstxmlregistry.h:
25393 * gst/registries/gstxmlregistry.c: and update to newer API.
25394 Incidentally they should be a bit faster now that they don't have
25397 2005-09-05 Andy Wingo <wingo@pobox.com>
25399 * gst/registries/gstxmlregistry.h:
25400 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25401 replaced by the libxml registry a while back
25403 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25405 * docs/gst/tmpl/gstplugin.sgml:
25406 * gst/elements/gstelements.c:
25408 * gst/gstplugin.c: (gst_plugin_register_func),
25409 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25410 (gst_plugin_get_source):
25412 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25413 (gst_xml_registry_save_plugin):
25414 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25415 (gst_xml_registry_save_plugin):
25416 * tools/gst-inspect.c: (print_plugin_info):
25417 add a "source" plugin description field, to represent the source
25418 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25419 will set it to PACKAGE, which is automake's idea of the name of
25420 the source project.
25422 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25427 * docs/Makefile.am:
25428 * docs/faq/Makefile.am:
25429 * docs/gst/tmpl/gstelement.sgml:
25430 * docs/gst/tmpl/gsttypes.sgml:
25431 * docs/htmlinstall.mak:
25432 * docs/manual/Makefile.am:
25433 * docs/pwg/Makefile.am:
25434 reorganize doc build a little
25435 split out docbook and gtk-doc stuff
25436 have two separate --enable's and enable them through autogen
25437 but disable by default in configure (to be similar to other
25439 * gstreamer.spec.in:
25440 clean up docs install
25458 translation updates
25460 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25462 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25465 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25466 (gst_fake_sink_change_state):
25467 Make state change function thread-safe.
25469 * gst/gstpad.c: (gst_pad_alloc_buffer):
25470 Set offset on generic buffer allocated by fallback.
25472 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25474 * docs/gst/gstreamer-sections.txt:
25475 * docs/gst/tmpl/gstelement.sgml:
25477 * libs/gst/controller/gst-controller.c:
25478 (gst_controlled_property_set_interpolation_mode),
25479 (gst_controlled_property_new),
25480 (gst_controller_find_controlled_property):
25481 run the wingo-magic script against the docs
25483 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25485 * docs/gst/gstreamer-docs.sgml:
25486 * docs/gst/gstreamer-sections.txt:
25487 * docs/gst/tmpl/.cvsignore:
25488 * docs/gst/tmpl/gstelementdetails.sgml:
25489 * docs/gst/tmpl/gstelementfactory.sgml:
25492 * gst/gstelementfactory.c:
25493 * gst/gstelementfactory.h:
25494 merged elementdetails docs into elementfactory docs
25497 2005-09-02 Andy Wingo <wingo@pobox.com>
25499 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25500 consider this enum an enum and not a flags.
25502 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25504 * docs/gst/gstreamer-docs.sgml:
25505 * docs/gst/tmpl/.cvsignore:
25506 * docs/gst/tmpl/gstghostpad.sgml:
25507 * docs/gst/tmpl/gstiterator.sgml:
25508 * docs/gst/tmpl/gstmacros.sgml:
25509 * docs/gst/tmpl/gstrealpad.sgml:
25510 * docs/gst/tmpl/gstregistry.sgml:
25511 * docs/gst/tmpl/gstregistrypool.sgml:
25512 * docs/gst/tmpl/gststructure.sgml:
25513 * docs/gst/tmpl/gstsystemclock.sgml:
25514 * docs/gst/tmpl/gsttrace.sgml:
25515 * gst/gstghostpad.c:
25517 * gst/gstmemchunk.c:
25518 * gst/gstmemchunk.h:
25520 * gst/gstregistry.c:
25521 * gst/gstregistrypool.c:
25522 * gst/gststructure.c:
25523 * gst/gstsystemclock.c:
25526 2005-09-02 Andy Wingo <wingo@pobox.com>
25528 * gst/gstelement.h (GstState): Renamed from GstElementState,
25529 changed to be a normal enum instead of flags.
25530 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25531 munged to be GST_STATE_CHANGE_*.
25532 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25533 work with the new state representation.
25534 (GstStateChange): New enumeration of possible state transitions.
25535 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25536 (GstElementClass::change_state): Pass the GstStateChange along as
25537 an argument. Helps language bindings, so they don't have to use
25538 tricky lock-needing macros like GST_STATE_CHANGE ().
25540 * scripts/update-states (file): New script. Run it on a file to
25541 update it for state naming and API changes. Updates files in
25544 * All files updated for the new API.
25546 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25548 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25549 * gst/gstutils.c: (gst_util_set_value_from_string),
25550 (gst_util_set_object_arg):
25551 fix a bunch of unchecked return values
25552 * tools/gst-complete.c: (main):
25553 * gstreamer.spec.in:
25556 2005-09-01 Wim Taymans <wim@fluendo.com>
25558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25559 (gst_base_sink_event), (gst_base_sink_do_sync),
25560 (gst_base_sink_handle_event):
25561 * gst/base/gstbasesink.h:
25562 Handle newsegments more correctly.
25567 * gst/gstevent.c: (gst_event_new_newsegment):
25568 A newsegment cannot have a start_time of -1
25570 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25572 * win32/gstenumtypes.c:
25573 * win32/gstenumtypes.h:
25576 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25578 * libs/gst/controller/gst-controller.c:
25579 (gst_controlled_property_set_interpolation_mode),
25580 (gst_controlled_property_new):
25581 fixed boolean again
25583 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25585 * docs/faq/gst-uninstalled:
25590 * gst/gstutils.c: (gst_element_link_filtered):
25592 add gst_element_link_filtered
25594 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25596 * docs/gst/gstreamer-docs.sgml:
25597 * docs/gst/gstreamer-sections.txt:
25598 * docs/gst/tmpl/.cvsignore:
25599 * docs/gst/tmpl/gsterror.sgml:
25600 * docs/gst/tmpl/gstfilter.sgml:
25601 * docs/gst/tmpl/gsturihandler.sgml:
25602 * docs/gst/tmpl/gsturitype.sgml:
25603 * docs/gst/tmpl/gstutils.sgml:
25604 * docs/gst/tmpl/gstxml.sgml:
25609 * gst/gsturitype.c:
25612 inlined more docs, fixed double id-ref
25614 2005-08-31 Wim Taymans <wim@fluendo.com>
25616 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25617 (gst_base_transform_handle_buffer):
25618 Passthrough elements don't need the caps as they don't care.
25620 2005-08-31 Wim Taymans <wim@fluendo.com>
25622 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25623 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25624 Don't leak refcounts on buffers.
25626 2005-08-31 Wim Taymans <wim@fluendo.com>
25628 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25629 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25630 (gst_base_transform_chain), (gst_base_transform_change_state):
25631 * gst/base/gstbasetransform.h:
25632 Handle the case where we are not negotiated more gracefully.
25634 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25636 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25637 (gst_file_src_map_region):
25638 Set READONLY flag on mmap'ed buffers, otherwise
25639 gst_buffer_make_writable() won't work properly (#314708).
25641 2005-08-31 Wim Taymans <wim@fluendo.com>
25643 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25644 passthrough elements can even do inplace on non writable
25645 buffers (as they don't touch them).
25647 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25649 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25650 (gst_test_mono_source_set_property),
25651 (gst_test_mono_source_class_init), (GST_START_TEST),
25652 (gst_controller_suite):
25653 more tests (hehe I have the most)
25655 describe popping messages whenusing mulltiple sources
25656 * libs/gst/controller/gst-controller.c:
25657 (gst_controlled_property_set_interpolation_mode),
25658 (gst_controlled_property_new):
25659 * libs/gst/controller/gst-controller.h:
25660 * libs/gst/controller/gst-interpolation.c:
25661 implement boolean properties
25663 2005-08-31 Wim Taymans <wim@fluendo.com>
25665 * gst/gstminiobject.c: (gst_mini_object_ref):
25666 Cannot assert that the refcount has to be positive
25667 since a disposed object can be resurrected.
25669 2005-08-31 Wim Taymans <wim@fluendo.com>
25671 * gst/gstpad.c: (gst_pad_init):
25672 Revert change, need to first fix badly behaving
25675 2005-08-30 Wim Taymans <wim@fluendo.com>
25677 * check/elements/fakesrc.c: (setup_fakesrc):
25678 * check/elements/identity.c: (setup_identity):
25679 Activate pads before using them.
25681 2005-08-30 Wim Taymans <wim@fluendo.com>
25683 * gst/base/gstadapter.c: (gst_adapter_flush):
25684 Flushing out 0 bytes is ok for this function.
25686 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25687 no newsegment gives a warning and sets the start/stop to
25690 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25691 (gst_base_transform_set_passthrough):
25694 * gst/gstminiobject.c: (gst_mini_object_ref):
25695 Check refcount here too.
25697 * gst/gstpad.c: (gst_pad_init):
25698 Pads are initially flushing and refusing data.
25700 * gst/gstutils.c: (gst_element_link_pads_filtered):
25701 When adding a capsfilter element make sure it has the
25702 same state as the parent bin.
25704 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25706 * docs/gst/tmpl/.cvsignore:
25707 * docs/gst/tmpl/gstformat.sgml:
25708 * docs/gst/tmpl/gstversion.sgml:
25712 * gst/gstversion.h.in:
25713 more docs and two more inlined
25715 2005-08-30 Wim Taymans <wim@fluendo.com>
25717 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25718 Don't sync to clock.
25720 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25722 * docs/gst/gstreamer-sections.txt:
25723 ultral33t func10ns deserve to appear in the docs actually
25724 * docs/gst/tmpl/.cvsignore:
25725 * docs/gst/tmpl/gstcompat.sgml:
25726 * docs/gst/tmpl/gstconfig.sgml:
25727 * gst/check/gstcheck.c:
25729 * gst/gstconfig.h.in:
25732 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25734 * docs/gst/tmpl/.cvsignore:
25735 * docs/gst/tmpl/gstquery.sgml:
25736 * docs/gst/tmpl/gstutils.sgml:
25739 inlined and extended docs
25741 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25743 * check/gst-libs/controller.c: (GST_START_TEST),
25744 (gst_controller_suite):
25746 * docs/gst/tmpl/gstutils.sgml:
25747 * docs/libs/gstreamer-libs-sections.txt:
25748 * docs/libs/tmpl/gstdataprotocol.sgml:
25750 * examples/controller/audio-example.c: (main):
25751 controller example works now
25754 * tools/gst-inspect.c: (print_element_properties_info):
25755 show param spec flags
25757 2005-08-29 Andy Wingo <wingo@pobox.com>
25759 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25761 2005-08-28 Andy Wingo <wingo@pobox.com>
25763 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25764 as having two arguments instead of just one. Allows superclasses
25765 to access information on subclasses -- see the terrible for() loop
25766 in gtype.c:g_type_create_instance for the reason why. All callers
25769 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25771 * docs/design/part-messages.txt:
25773 * docs/gst/tmpl/.cvsignore:
25774 * docs/gst/tmpl/gstcaps.sgml:
25775 * docs/gst/tmpl/gstclock.sgml:
25781 * gst/gstmessage.c:
25782 added descriptions for bus and message
25783 inline caps and clock docs
25785 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25787 * gst/gstmessage.c:
25788 * gst/gstmessage.h:
25791 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25793 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25796 2005-08-26 Andy Wingo <wingo@pobox.com>
25798 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25799 element_set_state's return val.
25800 (test_2_elements): Add test that's been disabled for months.
25802 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25803 can-activate-pull properties.
25805 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25806 can-activate-pull properties. Implement is_seekable so fakesrc can
25807 operate in pull mode.
25809 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25811 (gst_base_sink_activate, gst_base_sink_activate_pull)
25812 (gst_base_sink_activate_push): Make activation mode choosing work.
25814 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25815 is right. Make pull mode work. Post an eos before pausing in pull
25817 (gst_base_sink_change_state): Pay attention to the core's
25818 change_state() return val.
25820 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25821 has-getrange properties. Cleanups.
25823 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25824 has_getrange and replace with can_activate_pull and
25827 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25828 locking comments. Remove has_loop, has_chain and replace with
25829 can_activate_pull and can_activate_push.
25831 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25834 * examples/Makefile.am:
25835 * examples/metadata/Makefile.am:
25836 * examples/metadata/read-metadata.c: (message_loop),
25837 (have_pad_handler), (make_pipeline), (print_tag), (main):
25838 Add metadata reading example that loops over a list of filenames,
25839 dumping any tags found.
25841 * gst/gstbus.c: (gst_bus_dispose):
25842 * gst/gstelement.c: (gst_element_dispose):
25843 Release a few potentially-held references in dispose.
25845 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25847 * docs/gst/tmpl/gstminiobject.sgml:
25848 do *not* add tmpl/*.sgml files to CVS!
25850 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25852 * libs/gst/bytestream/.cvsignore:
25853 * libs/gst/bytestream/Makefile.am:
25854 * libs/gst/bytestream/adapter.c:
25855 * libs/gst/bytestream/adapter.h:
25856 * libs/gst/bytestream/bytestream.c:
25857 * libs/gst/bytestream/bytestream.h:
25858 * libs/gst/bytestream/filepad.c:
25859 * libs/gst/bytestream/filepad.h:
25860 removing obsolete files
25862 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25864 * docs/gst/gstreamer-docs.sgml:
25865 * docs/libs/gstreamer-libs-docs.sgml:
25866 disabed additional index entries again, as this makes docs-gen just
25867 slow and they aren't useful yet
25868 * docs/libs/gstreamer-libs-sections.txt:
25869 little -section.txt cleanup for libs
25871 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25873 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25874 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25875 fix up some debugging
25876 (gst_base_transform_get_unit_size),
25877 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25878 (gst_base_transform_handle_buffer):
25879 * gst/base/gstbasetransform.h:
25880 handle and store timed NEWSEGMENT events so that subclasses that
25881 calculate time by counting samples have a segment_start time they
25882 need to add to their timestamps - see audioresample
25884 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25887 removed ';' from the end of macro defs
25888 * docs/gst/gstreamer-docs.sgml:
25889 * docs/gst/gstreamer-sections.txt:
25890 * docs/gst/tmpl/.cvsignore:
25892 * gst/gstelement.c: (gst_element_class_init),
25893 (gst_element_set_state), (activate_pads),
25894 (gst_element_save_thyself):
25895 * gst/gstevent.c: (gst_event_new_newsegment):
25897 * gst/gstiterator.c:
25898 * gst/gstiterator.h:
25901 * gst/gstutils.c: (gst_pad_query_convert):
25903 fixed parameter name mismatches between source, header and docs
25904 added some more docs, resolved the last batch of unused elements in
25905 docs (now someone needs to doc them)
25907 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25909 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25910 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25911 don't walk through the plugins backwards. Where is all this
25912 reversed logic coming from ?
25914 2005-08-25 Wim Taymans <wim@fluendo.com>
25916 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25917 (gst_base_transform_transform_size),
25918 (gst_base_transform_configure_caps),
25919 (gst_base_transform_get_unit_size),
25920 (gst_base_transform_buffer_alloc),
25921 (gst_base_transform_change_state):
25922 * gst/base/gstbasetransform.h:
25923 Cache caps unit_size.
25924 Make sure we cannot negotiate up and downstream at the
25927 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25929 * gst/gst.c: (init_pre), (init_post):
25930 register the installed plugin path after the env var
25931 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25932 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25933 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25934 directories, so the tests can prefer uninstalled over installed
25936 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25938 * gst/base/gstbasetransform.h:
25943 2005-08-25 Wim Taymans <wim@fluendo.com>
25945 * gst/gstbin.c: (bin_bus_handler):
25946 Be a bit more conservative about the posted message.
25948 * gst/gstbus.c: (gst_bus_post):
25949 Some cleanups, warn wrong return values.
25951 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25953 * check/gst/gstbin.c: (GST_START_TEST):
25954 * gst/gstbin.c: (bin_bus_handler):
25955 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25956 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25957 (gst_message_new_warning), (gst_message_new_tag),
25958 (gst_message_new_state_changed), (gst_message_new_segment_start),
25959 (gst_message_new_segment_done), (gst_message_new_custom):
25960 * gst/gstmessage.h:
25961 * tools/gst-launch.c: (event_loop):
25962 * tools/gst-md5sum.c: (event_loop):
25963 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25965 2005-08-25 Wim Taymans <wim@fluendo.com>
25967 * check/generic/states.c: (GST_START_TEST):
25968 Cleanup can be done at the end.
25970 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25971 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25972 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25973 Oh boy.. Thanks for finding this, Thomas.
25975 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25977 * docs/gst/gstreamer.types:
25978 added missing types
25980 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25982 * docs/gst/gstreamer-docs.sgml:
25983 * docs/gst/gstreamer-sections.txt:
25984 * docs/gst/tmpl/.cvsignore:
25986 * gst/gstiterator.c:
25988 * gst/registries/gstxmlregistry.h:
25989 added missing classes and symbols (123 more to go)
25990 removed removed symbols from section file
25991 fixed many doc-comments
25993 2005-08-24 Wim Taymans <wim@fluendo.com>
25995 * check/generic/states.c: (GST_START_TEST):
25996 Make sure all tasks are stopped.
25998 * check/gst/gstbin.c: (GST_START_TEST):
25999 Unref after usage for proper valgrinding.
26001 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26002 Really wait for the task to stop before destroying the
26005 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26006 (gst_queue_src_activate_push):
26007 Small cleanups. Don't stop the task when we did not start
26010 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26011 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26012 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26015 Protect the stream lock with the object lock.
26016 Disallow setting the stream lock when running.
26017 Add cleanup_all to wait for the threadpool to finish.
26018 Remove code to autoallocate a mutex if none was provided.
26019 Add _join() to wait for a task to stop.
26020 Protect the thread pool with a global lock.
26022 2005-08-24 Wim Taymans <wim@fluendo.com>
26024 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26025 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26026 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26027 * gst/base/gstbasesink.h:
26028 Handle newsegment events correctly.
26029 Drop buffers out of the segment range.
26031 2005-08-22 Andy Wingo <wingo@pobox.com>
26033 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26034 macro, implements an interface and gstimplementsinterface for a
26037 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26039 * check/Makefile.am:
26040 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26041 add a test that does a bunch of state changes on elements
26042 needs some fixing for valgrind
26043 * check/states/sinks.c: (gst_object_suite):
26046 add prototype for gst_caps_is_equal_fixed
26048 * gst/gstregistrypool.c:
26051 2005-08-24 Andy Wingo <wingo@pobox.com>
26053 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26054 convert a negative value. Doesn't make much sense. Mostly this is
26055 here to force callers to ensure -1 maps to -1.
26057 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26059 * docs/pwg/advanced-types.xml:
26060 Well done to Michael for catching my deliberate introduction
26061 of this spelling mistake.
26062 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26063 * gst/gstelement.h:
26064 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26065 unlink pads before removing the element from the bin.
26067 2005-08-24 Andy Wingo <wingo@pobox.com>
26069 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26070 the same thing as GST_DEBUG=*:4.
26071 (parse_debug_level, parse_debug_category): New helper parsers.
26073 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26075 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26076 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26077 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26078 (gst_base_transform_buffer_alloc),
26079 (gst_base_transform_handle_buffer):
26080 use gboolean return values and pointers to size so we can use the
26081 full GST_BUFFER_SIZE range (guint) for buffer sizes
26082 use GstPadDirection for transform_caps
26083 * gst/base/gstbasetransform.h:
26084 rename get_size to get_unit_size since that's what it is
26085 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26086 use GstPadDirection for transform_caps
26087 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26089 cleanup and debugging
26091 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26093 * gst/gstelement.c: (gst_element_class_init),
26094 (gst_element_set_state), (activate_pads),
26095 (gst_element_save_thyself):
26096 * tools/gst-compprep.c: (main):
26097 * tools/gst-inspect.c: (print_element_properties_info):
26098 * tools/gst-xmlinspect.c: (print_element_properties):
26099 Fixed long standing mem-leak
26101 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26103 * check/gst/gstbin.c: (GST_START_TEST):
26104 * gst/gstbin.c: (bin_bus_handler):
26105 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26106 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26107 (gst_message_new_warning), (gst_message_new_tag),
26108 (gst_message_new_state_changed), (gst_message_new_segment_start),
26109 (gst_message_new_segment_done), (gst_message_new_custom):
26110 * gst/gstmessage.h:
26111 * tools/gst-launch.c: (event_loop):
26112 * tools/gst-md5sum.c: (event_loop):
26113 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26114 that applications can sensibly post custom messages with references
26115 to their own objects.
26117 2005-08-24 Andy Wingo <wingo@pobox.com>
26119 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26122 2005-08-24 Wim Taymans <wim@fluendo.com>
26124 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26125 (gst_base_transform_transform_caps),
26126 (gst_base_transform_transform_size),
26127 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26128 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26129 (gst_base_transform_handle_buffer):
26130 * gst/base/gstbasetransform.h:
26131 Many fixes and new features added by Thomas. Can now also do
26132 transforms with variable sizes and a custom fixate_caps function.
26134 2005-08-24 Wim Taymans <wim@fluendo.com>
26136 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26140 Cast to ClockTime before formatting to time.
26145 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26147 * check/gst-libs/controller.c: (GST_START_TEST),
26148 (gst_controller_suite):
26149 * docs/gst/tmpl/gstcaps.sgml:
26150 * docs/gst/tmpl/gstghostpad.sgml:
26151 * docs/gst/tmpl/gstquery.sgml:
26152 * docs/gst/tmpl/gstutils.sgml:
26153 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26154 (gst_object_sink_values), (gst_object_get_value_arrays),
26155 (gst_object_get_value_array):
26156 gracefully handle helper method calls to objects that are not beeing
26157 controlled, added test case for that
26159 2005-08-23 Wim Taymans <wim@fluendo.com>
26161 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26162 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26163 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26164 (gst_event_parse_qos), (gst_event_new_seek),
26165 (gst_event_parse_seek):
26167 Some more debugging output and doc cleanups.
26169 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26170 Fix possible deadlock.
26172 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26174 * docs/gst/gstreamer-docs.sgml:
26175 * docs/gst/gstreamer-sections.txt:
26176 * docs/gst/gstreamer.types:
26177 * docs/gst/tmpl/.cvsignore:
26180 * gst/gstelement.c:
26182 added 100 symbols from gstreamer-unused.txt to the right sections
26183 fixed more broken comments
26184 added GstBus to docs
26186 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26188 * docs/gst/gstreamer-sections.txt:
26189 * docs/gst/tmpl/.cvsignore:
26190 * docs/gst/tmpl/gstbin.sgml:
26191 * docs/gst/tmpl/gstbuffer.sgml:
26192 * gst/base/gstbasesrc.c:
26193 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26196 * tools/gst-launch.1.in:
26197 inlined more doc comments, added missing comments and fixed comments
26200 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26202 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26206 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26208 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26209 * gst/gststructure.h:
26210 add a fixate function for booleans; add a FIXME that these func
26211 names should probably be gst_structure_fixate_*
26213 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26215 * docs/gst/gstreamer-docs.sgml:
26216 * docs/gst/gstreamer-sections.txt:
26218 * gst/gstbin.c: (gst_bin_get_type),
26219 (gst_bin_child_proxy_get_child_by_index),
26220 (gst_bin_child_proxy_get_children_count),
26221 (gst_bin_child_proxy_init):
26222 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26223 (gst_child_proxy_get_child_by_index),
26224 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26225 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26226 (gst_child_proxy_get), (gst_child_proxy_set_property),
26227 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26228 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26229 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26230 * gst/gstchildproxy.h:
26231 * gst/parse/grammar.y:
26232 * tools/gst-inspect.c: (print_interfaces),
26233 (print_element_properties_info), (print_element_info):
26234 ported gstchildproxy over from 0.8
26235 ported gst-inspect fixes and enhancements over from 0.8
26237 2005-08-22 Wim Taymans <wim@fluendo.com>
26239 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26240 (gst_base_transform_handle_buffer):
26241 Also call the transform function if we have ANY caps.
26243 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26246 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26248 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26249 Don't pretend to handle seek events if the source is not seekable
26251 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26253 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26254 Remove extra parameter to debug output
26256 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26257 (gst_base_src_do_seek), (gst_base_src_activate_push):
26258 Fix seek event handling.
26260 * gst/gstpipeline.c: (gst_pipeline_change_state):
26261 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26262 (gst_queue_src_activate_push):
26263 Don't start the src pad task on FLUSH_STOP if the pad
26267 2005-08-22 Wim Taymans <wim@fluendo.com>
26269 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26270 Added check for gst_static_caps_get() refcounting.
26272 2005-08-22 Wim Taymans <wim@fluendo.com>
26274 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26275 Make _static_caps_get() refcounting sane.
26277 * gst/gstelement.c: (gst_element_set_state):
26278 Add g_return_val_if_fail() to protect against segfaults.
26280 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26282 * docs/gst/tmpl/gstevent.sgml:
26285 inlined remaining docs, added missing doc comments
26287 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26289 * check/gst/gstbin.c: (GST_START_TEST):
26290 since we don't know when preroll is done, use refcount range
26292 * gst/check/gstcheck.h:
26293 add macro for checking refcount range
26295 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26297 * check/Makefile.am:
26298 clean up environment for when registry gets built versus
26299 when actual tests are run; valgrind seems to not report
26300 leaks if GST_PLUGIN_PATH is set to some specific values
26301 * check/gst/gstbin.c: (GST_START_TEST):
26302 add more refcounting checks; maybe this exposes a
26304 * common/check.mak:
26305 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26306 * gst/check/gstcheck.h:
26307 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26308 (gst_bin_change_state):
26309 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26310 add/fix debugging/whitespace
26312 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26314 * check/gst/gstevent.c: (event_probe), (test_event),
26316 Er, don't call gst_bin_watch_for_state_change you idiot.
26318 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26320 * check/Makefile.am:
26321 Use CHECK_CFLAGS and CHECK_LIBS
26322 * check/gst/gstevent.c: (event_probe), (test_event),
26325 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26326 (gst_base_src_start), (gst_base_src_stop),
26327 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26328 (gst_base_src_change_state):
26329 Sprinkle gst_base_src_stop liberally around error paths to fix
26330 problems reusing a source after failed state changes.
26331 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26332 (helper_find_suggest), (gst_type_find_helper):
26333 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26335 * docs/gst/tmpl/gstevent.sgml:
26336 Migrate part of the docs from the SGML file. Wait for ensonic to
26337 tell me how I did it wrong ;)
26338 * tools/gst-typefind.c: (main):
26339 Extra robustness to state changes between files.
26341 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26343 * check/Makefile.am:
26344 don't valgrind the controller test - it's leaking - Stefan, HELP
26345 * gst/check/gstcheck.c: (gst_check_message_error),
26346 (gst_check_chain_func), (gst_check_setup_element),
26347 (gst_check_teardown_element), (gst_check_setup_src_pad),
26348 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26349 (gst_check_teardown_sink_pad):
26350 * gst/check/gstcheck.h:
26351 add a bunch of methods to set up elements, and src and sink pads
26352 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26353 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26356 * gst/gstmessage.c:
26358 whitespace/doc fixes
26360 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26362 * gst/gstelement.h:
26363 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26364 be handled by the application and not always printed as well
26366 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26368 * check/Makefile.am:
26370 * gst/check/gstcheck.c: (gst_check_message_error):
26371 * gst/check/gstcheck.h:
26372 add a fail_unless_equals_int
26373 add fail_unless for error messages
26375 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26377 * check/Makefile.am:
26379 * common/Makefile.am:
26380 * common/check.mak:
26382 factor out some of the common stuff so we can use it
26384 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26386 * check/Makefile.am:
26387 * check/gst/gstiterator.c: (GST_START_TEST):
26388 * check/gst/gstsystemclock.c: (GST_START_TEST),
26389 (gst_systemclock_suite):
26390 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26392 valgrind more tests
26394 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26396 * check/elements/.cvsignore:
26397 * check/elements/gstfakesrc.c:
26398 rename to name of element
26399 * check/elements/identity.c: (chain_func), (event_func),
26400 (setup_identity), (cleanup_identity), (GST_START_TEST),
26401 (identity_suite), (main):
26402 add a test for identity
26403 * check/Makefile.am:
26404 * pkgconfig/Makefile.am:
26405 * pkgconfig/gstreamer-check.pc.in:
26406 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26410 move the check stuff to a library that gets installed
26411 * check/gst-libs/controller.c: (GST_START_TEST):
26412 * check/gst-libs/gdp.c:
26413 * check/gst/gst.c: (GST_START_TEST):
26414 * check/gst/gstbin.c:
26415 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26416 * check/gst/gstbus.c:
26417 * check/gst/gstcaps.c: (GST_START_TEST):
26418 * check/gst/gstelement.c:
26419 * check/gst/gstghostpad.c:
26420 * check/gst/gstiterator.c:
26421 * check/gst/gstmessage.c:
26422 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26423 * check/gst/gstobject.c:
26424 * check/gst/gstpad.c: (GST_START_TEST):
26425 * check/gst/gststructure.c: (GST_START_TEST):
26426 * check/gst/gstsystemclock.c: (GST_START_TEST),
26427 (gst_systemclock_suite):
26428 * check/gst/gsttag.c: (gst_tag_suite):
26429 * check/gst/gstvalue.c:
26430 * check/pipelines/cleanup.c:
26431 * check/pipelines/simple_launch_lines.c:
26432 * check/states/sinks.c:
26433 change include statement
26435 * docs/gst/gstreamer-sections.txt:
26436 * docs/gst/tmpl/gstpad.sgml:
26437 document more pad stuff
26438 * gst/gstminiobject.c: (gst_mini_object_ref),
26439 (gst_mini_object_unref):
26442 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26444 * docs/gst/tmpl/gst.sgml:
26446 eliminate another tmpl file, fix spelling in the long-description
26448 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26450 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26451 (test_event), (timediff), (gstevents_suite):
26452 Should fix build on 64-bit arch's
26454 2005-08-18 Andy Wingo <wingo@pobox.com>
26456 Make sure that when a pipeline goes to PLAYING, that data has
26457 actually hit the sink.
26459 * check/states/sinks.c (test_sink): A sink that doesn't get any
26460 data shouldn't return SUCCESS for going to either PLAYING or
26461 PAUSED. Test also the return values on the way back down.
26463 * gst/gstelement.c (gst_element_set_state): When changing the
26464 state of an element currently changing state asynchronously, go to
26465 lost-state after commiting the pending state. Makes future calls
26466 to get_state continue to return ASYNC.
26468 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26469 ASYNC when going to PLAYING if we still don't have preroll, as can
26470 happen with live sources.
26472 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26474 * docs/pwg/advanced-types.xml:
26475 Hack long paragraph into 2 chunks as a workaround for buggy
26476 jadetex version in sid and breezy that loops infinitely and
26479 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26481 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26482 (test_event), (timediff), (gstevents_suite):
26483 Provide more error margin in clock measurements to allow for
26484 g_get_current_time inaccuracies.
26486 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26488 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26489 (test_event), (timediff), (gstevents_suite):
26490 Fix error message output so I might be able to tell why the
26491 test works here but fails on the build farm.
26493 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26495 * check/Makefile.am:
26496 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26497 (test_event), (timediff), (gstevents_suite), (main):
26500 * docs/design/part-seeking.txt:
26501 Spelling correction
26503 * docs/gst/tmpl/gstevent.sgml:
26504 * docs/gst/tmpl/gstfakesrc.sgml:
26507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26508 Treat a buffer-without-newsegment the same as a receiving
26509 a newsegment not in time format, and disable syncing to the clock
26512 * gst/gstbus.c: (gst_bus_set_sync_handler):
26513 Assert if anyone tries to replace the existing sync_handler for bus,
26514 as only the owner should be setting it.
26517 Have a fixed set of custom event enums with events identified by
26518 their structure name (as in 0.8), rather than a free-for-all
26519 allowing collisions between enum values from different plugins.
26521 * gst/gstpad.c: (gst_pad_class_init):
26524 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26525 Handle out-of-band downstream events from the sending thread.
26527 2005-08-17 Andy Wingo <wingo@pobox.com>
26529 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26530 play-timeout==0 to mean no timeout at all. In that case, don't
26531 bother with a get_state or a warning, just return directly, even
26534 * gst/base/gstbasetransform.c: Debug changes.
26537 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26538 ensure bins post state change messages. A bit of a hack but I can't
26539 think of a way to avoid it.
26541 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26543 2005-08-16 Andy Wingo <wingo@pobox.com>
26545 * gst/base/gstadapter.h:
26546 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26547 peek() but you own the data. Not terribly efficient atm.
26549 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26551 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26552 (gst_element_found_tags):
26554 Add two utility functions for tag handling.
26556 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26558 * docs/manual/advanced-dataaccess.xml:
26559 * docs/manual/basics-helloworld.xml:
26560 Fix docs to use _bin_add() before _link(), which fixes the examples
26561 with recent core versions (reported by Madhan Raj M
26562 <raj_madan@rediffmail.com>, #313199).
26564 2005-08-16 Wim Taymans <wim@fluendo.com>
26566 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26567 Added subtract checks.
26569 * docs/design/part-events.txt:
26570 Some more docs about newsegment
26572 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26575 * gst/gstcaps.c: (gst_caps_to_string):
26576 Add comments, cleanups.
26578 * gst/gstelement.c: (gst_element_save_thyself):
26581 * gst/gstvalue.c: (gst_value_collect_int_range),
26582 (gst_string_unwrap), (gst_value_union_int_int_range),
26583 (gst_value_union_int_range_int_range),
26584 (gst_value_intersect_int_int_range),
26585 (gst_value_intersect_int_range_int_range),
26586 (gst_value_intersect_double_double_range),
26587 (gst_value_intersect_double_range_double_range),
26588 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26589 (gst_value_subtract_int_range_int),
26590 (gst_value_subtract_double_range_double),
26591 (gst_value_subtract_double_range_double_range),
26592 (gst_value_subtract_from_list), (gst_value_subtract_list),
26593 (gst_value_can_compare), (gst_value_compare_fraction):
26594 Cleanups, add comments, remove unneeded asserts.
26596 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26598 * tools/gst-launch.c: (event_loop):
26599 don't convert NULL structures to strings
26601 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26603 * docs/gst/gstreamer-sections.txt:
26604 made some defines private
26605 * docs/gst/tmpl/gstconfig.sgml:
26606 * docs/gst/tmpl/gstqueue.sgml:
26607 * docs/gst/tmpl/gsttaglist.sgml:
26608 * docs/gst/tmpl/gsttypes.sgml:
26609 * docs/gst/tmpl/gstutils.sgml:
26610 * docs/pwg/appendix-porting.xml:
26611 * gst/base/gstbasesink.h:
26612 * gst/base/gstbasesrc.c:
26613 * gst/base/gstbasesrc.h:
26614 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26615 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26616 * gst/gstelement.c: (gst_element_class_init):
26617 * gst/gstpad.c: (gst_pad_class_init):
26618 * gst/gstqueue.c: (gst_queue_class_init):
26619 * gst/gstxml.c: (gst_xml_class_init):
26620 documented all undocumented signal inline
26621 * libs/gst/controller/gst-controller.h:
26624 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26626 * docs/pwg/appendix-porting.xml:
26627 Document _set_link_function -> _set_setcaps_function.
26629 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26631 * check/Makefile.am:
26632 add a .check target for running the check
26633 * check/gst-libs/controller.c: (GST_START_TEST):
26635 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26636 complete checks for gstbuffer; would be nice if I could get the
26637 gcov stuff to work so I can see if I actually completed gstbuffer.c
26638 * check/gstcheck.h:
26639 add ASSERT_BUFFER_REFCOUNT
26641 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26643 * docs/gst/gstreamer-sections.txt:
26644 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26646 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26647 spew out a warning if a tag that is already registered
26648 is re-registered, unless it is re-registered with a
26649 different type (#308438).
26651 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26653 * docs/pwg/appendix-porting.xml:
26654 * docs/pwg/building-state.xml:
26655 Add some paragraphs about state changes in 0.9 to the PWG
26656 and the porting guide, in particular about the new meaning
26657 of GST_STATE_PAUSED and how to write state change functions
26658 with concurrent access by multiple threads in mind.
26660 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26662 * docs/gst/gstreamer-docs.sgml:
26663 * docs/libs/gstreamer-libs-docs.sgml:
26664 added deprecation and since indexes
26665 * libs/gst/controller/gst-controller.c:
26666 * libs/gst/controller/gst-helper.c:
26670 2005-08-11 Wim Taymans <wim@fluendo.com>
26672 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26673 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26674 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26675 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26676 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26677 (gst_ghost_pad_set_target):
26678 Actually implement (re)setting the target on a ghostpad
26679 as described in the docs.
26681 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26683 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26684 Check whether GST_DEBUG_NO_COLOR environment variable is
26685 set and disable coloured debug output if that is the case.
26687 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26689 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26690 (gst_type_find_helper):
26691 The memory returned by gst_type_find_peek() needs to
26692 stay valid until the end of a typefind function, and
26693 typefind functions may keep results from different
26694 offsets around, so we can't just unref the buffer from
26695 the previous _peek(), but have to save all buffers
26696 returned by _peek() until typefinding is done and only
26699 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26701 * docs/gst/gstreamer-sections.txt:
26703 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26705 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26707 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26708 Fix a pretty good memleak.
26710 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26712 * gst/gstiterator.h:
26713 Fix wrong include and 'make distcheck'.
26715 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26717 * gst/gstbin.c: (bin_bus_handler):
26718 Use gst_element_post_message() instead.
26720 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26722 * gst/base/gstadapter.h:
26723 * gst/base/gstbasesink.h:
26724 * gst/base/gstbasesrc.h:
26725 * gst/base/gstbasetransform.h:
26726 * gst/base/gstcollectpads.h:
26727 * gst/base/gstpushsrc.h:
26728 * gst/gstiterator.h:
26729 Add padding to our base elements' class and instance structs and
26730 to GstIterator (you will need to rebuild all plugins and apps!)
26732 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26734 * gst/gstbin.c: (bin_bus_handler):
26735 Make default message forwarding from child->bus to bin->bus
26736 threadsafe and make it not emit warnings if the parent has no bus.
26738 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26740 * gst/gstelement.c: (activate_pads):
26741 On paused->ready, set pad->caps to NULL, as is the documented
26742 behaviour in this state change. Fixes playback of series of
26743 media files when visualization is enabled in Totem.
26745 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26747 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26748 Allow NULL as filter-caps (which means "any").
26750 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26752 * docs/libs/gstreamer-libs-sections.txt:
26753 * libs/gst/controller/gst-controller.c:
26754 * libs/gst/controller/gst-controller.h:
26755 * libs/gst/controller/gst-helper.c:
26756 adding more entries to the docs and fix small doc-bugs
26758 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26760 * docs/gst/gstreamer-docs.sgml:
26761 * docs/gst/gstreamer-sections.txt:
26762 * docs/gst/gstreamer.types:
26763 * docs/gst/tmpl/gstbasesink.sgml:
26764 * docs/gst/tmpl/gstbasesrc.sgml:
26765 * docs/gst/tmpl/gstbasetransform.sgml:
26766 * docs/gst/tmpl/gstfakesrc.sgml:
26767 * gst/base/gstcollectpads.c:
26768 * gst/base/gstcollectpads.h:
26769 * libs/gst/controller/gst-controller.c:
26770 * libs/gst/controller/gst-controller.h:
26771 * libs/gst/controller/gst-helper.c:
26772 * libs/gst/controller/gst-interpolation.c:
26773 * libs/gst/controller/lib.c:
26774 added long/short desc for controller docs
26775 added collectpads base class docs
26776 added correct includes to base-class docs
26778 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26780 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26781 (gst_test_mono_source_set_property),
26782 (gst_test_mono_source_class_init), (GST_START_TEST),
26783 (gst_controller_suite):
26784 * docs/gst/gstreamer-docs.sgml:
26785 * docs/gst/gstreamer-sections.txt:
26786 * docs/gst/gstreamer.types:
26787 * docs/libs/gstreamer-libs-docs.sgml:
26788 * docs/libs/gstreamer-libs-sections.txt:
26789 * gst/base/gstadapter.c:
26790 * libs/gst/controller/gst-controller.c:
26791 (gst_controlled_property_new), (gst_controlled_property_free),
26792 (gst_controller_new_valist),
26793 (gst_controller_remove_properties_valist),
26794 (gst_controller_sink_values), (_gst_controller_finalize):
26795 * libs/gst/controller/gst-controller.h:
26796 * libs/gst/controller/gst-helper.c:
26797 (gst_object_control_properties), (gst_object_uncontrol_properties),
26798 (gst_object_get_controller), (gst_object_set_controller),
26799 (gst_object_sink_values), (gst_object_get_value_arrays),
26800 (gst_object_get_value_array):
26801 more tests (and fixes) for the controller
26802 more docs for the controller
26803 integrated companies docs for the adapter
26805 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26807 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26808 (GST_START_TEST), (fakesrc_suite):
26809 add tests for sizetype
26811 2005-08-04 Andy Wingo <wingo@pobox.com>
26813 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26814 fixes buffer_alloc proxying among other things.
26816 * gst/base/gstbasetransform.c:
26817 * gst/base/gstbasetransform.h:
26818 Revert patch to gstbasetransform from 7-28 removing
26821 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26822 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26823 Semantics changed, should return not the size of the output buffer
26824 but the byte size of a buffer with a given caps.
26826 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26828 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26829 out) are not the pad caps until setcaps finishes.
26830 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26831 not-in-place case as well. Deal with changing from in-place to
26832 not-in-place within calling pad_alloc_buffer. Still a bit
26833 concerned about the overhead here...
26835 2005-08-03 Andy Wingo <wingo@pobox.com>
26837 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26838 fixating is an error.
26840 2005-08-04 Edward Hervey <edward@fluendo.com>
26842 * gst/base/gstadapter.h:
26843 Added gst_adapter_get_type() to the header
26845 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26847 * check/Makefile.am:
26848 * check/gst-libs/controller.c:
26849 * libs/gst/controller/gst-controller.c:
26850 (gst_controller_new_valist):
26851 added check test suite for the controller
26852 * gst/base/gstpushsrc.c:
26855 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26857 * docs/gst/Makefile.am:
26858 * docs/gst/gstreamer-docs.sgml:
26859 * docs/gst/gstreamer-sections.txt:
26860 * docs/gst/gstreamer.types:
26861 * docs/gst/tmpl/gstfakesrc.sgml:
26863 * gst/base/gstbasesink.c:
26864 * gst/base/gstbasesink.h:
26865 * gst/base/gstbasesrc.c:
26866 * gst/base/gstbasesrc.h:
26867 * gst/base/gstbasetransform.c:
26868 * gst/base/gstpushsrc.c:
26869 * gst/base/gstpushsrc.h:
26870 add short/long description docs to base classes
26871 add pushsrc to the docs
26872 remove consolidated doc fragments
26874 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26877 * docs/libs/Makefile.am:
26878 * docs/libs/gstreamer-libs-docs.sgml:
26879 * docs/libs/gstreamer-libs-sections.txt:
26880 * docs/libs/gstreamer-libs.types:
26881 * examples/Makefile.am:
26882 * examples/controller/.cvsignore:
26883 * examples/controller/Makefile.am:
26884 * examples/controller/audio-example.c: (main):
26885 * libs/gst/Makefile.am:
26886 * libs/gst/controller/.cvsignore:
26887 * libs/gst/controller/Makefile.am:
26888 * libs/gst/controller/gst-controller.c:
26889 (on_object_controlled_property_changed), (gst_timed_value_compare),
26890 (gst_timed_value_find),
26891 (gst_controlled_property_set_interpolation_mode),
26892 (gst_controlled_property_new), (gst_controlled_property_free),
26893 (gst_controller_find_controlled_property),
26894 (gst_controller_new_valist), (gst_controller_new),
26895 (gst_controller_remove_properties_valist),
26896 (gst_controller_remove_properties), (gst_controller_set),
26897 (gst_controller_set_from_list), (gst_controller_unset),
26898 (gst_controller_get), (gst_controller_get_all),
26899 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26900 (gst_controller_get_value_array),
26901 (gst_controller_set_interpolation_mode),
26902 (_gst_controller_finalize), (_gst_controller_init),
26903 (_gst_controller_class_init), (gst_controller_get_type):
26904 * libs/gst/controller/gst-controller.h:
26905 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26906 (g_object_uncontrol_properties), (g_object_get_controller),
26907 (g_object_set_controller), (g_object_sink_values),
26908 (g_object_get_value_arrays), (g_object_get_value_array):
26909 * libs/gst/controller/gst-interpolation.c:
26910 (gst_controlled_property_find_timed_value_node),
26911 (interpolate_none_get), (interpolate_trigger_get),
26912 (interpolate_trigger_get_value_array):
26913 * libs/gst/controller/lib.c: (gst_controller_init):
26914 * pkgconfig/Makefile.am:
26915 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26916 * pkgconfig/gstreamer-control.pc.in:
26917 * testsuite/Makefile.am:
26918 * testsuite/controller/.cvsignore:
26919 * testsuite/controller/Makefile.am:
26920 * testsuite/controller/interpolator.c: (main):
26921 added controller code
26922 removed dparam pc files
26924 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26925 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26926 (gst_collectpads_stop):
26927 Broadcast the condition when shutting down, to make sure we wake all
26928 threads up. Shut down pads on finalize, for safety.
26930 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26931 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26932 (gst_base_transform_handle_buffer),
26933 (gst_base_transform_change_state):
26934 Handle PAUSED->READY->PAUSED transition after negotiation
26936 * gst/gstmessage.c: (gst_message_init):
26937 Extra piece of debug for new messages.
26939 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26942 * docs/gst/tmpl/gstbasesrc.sgml:
26943 * docs/gst/tmpl/gstelement.sgml:
26944 * docs/gst/tmpl/gstevent.sgml:
26945 * docs/gst/tmpl/gstfakesrc.sgml:
26946 * docs/gst/tmpl/gstformat.sgml:
26947 * docs/gst/tmpl/gstghostpad.sgml:
26948 * docs/gst/tmpl/gstpad.sgml:
26949 * docs/gst/tmpl/gstquery.sgml:
26950 * docs/gst/tmpl/gststructure.sgml:
26951 * docs/gst/tmpl/gsttaglist.sgml:
26952 * docs/gst/tmpl/gstvalue.sgml:
26953 * docs/libs/gstreamer-libs-docs.sgml:
26954 * docs/libs/gstreamer-libs-sections.txt:
26955 * docs/libs/gstreamer-libs.types:
26956 * libs/gst/Makefile.am:
26957 * libs/gst/control/.cvsignore:
26958 * libs/gst/control/Makefile.am:
26959 * libs/gst/control/control.c:
26960 * libs/gst/control/control.h:
26961 * libs/gst/control/dparam.c:
26962 * libs/gst/control/dparam.h:
26963 * libs/gst/control/dparam_smooth.c:
26964 * libs/gst/control/dparam_smooth.h:
26965 * libs/gst/control/dparamcommon.h:
26966 * libs/gst/control/dparammanager.c:
26967 * libs/gst/control/dparammanager.h:
26968 * libs/gst/control/dplinearinterp.c:
26969 * libs/gst/control/dplinearinterp.h:
26970 * libs/gst/control/unitconvert.c:
26971 * libs/gst/control/unitconvert.h:
26972 * testsuite/Makefile.am:
26973 * testsuite/dynparams/.cvsignore:
26974 * testsuite/dynparams/Makefile.am:
26975 * testsuite/dynparams/dparamstest.c:
26976 * tools/Makefile.am:
26977 * tools/gst-inspect.c: (print_element_info), (main):
26978 * tools/gst-xmlinspect.c: (print_element_info), (main):
26979 deactivate and remove dparams (libgstcontrol)
26981 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26983 * gst/elements/gsttypefindelement.c:
26984 (gst_type_find_element_have_type), (gst_type_find_element_init),
26985 (stop_typefinding), (gst_type_find_element_handle_event),
26986 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26987 * gst/elements/gsttypefindelement.h:
26988 Set caps on all outgoing buffers, not just the first one.
26990 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26992 * gst/elements/gsttypefindelement.c:
26993 (gst_type_find_element_have_type),
26994 (gst_type_find_element_check_set_buffer_caps),
26995 (gst_type_find_element_init), (stop_typefinding),
26996 (gst_type_find_element_handle_event),
26997 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26998 * gst/elements/gsttypefindelement.h:
26999 Set caps on first outgoing buffer when we've found the type.
27001 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27003 * docs/gst/gstreamer-docs.sgml:
27004 * docs/gst/gstreamer-sections.txt:
27005 * docs/gst/tmpl/gstscheduler.sgml:
27006 * docs/gst/tmpl/gstschedulerfactory.sgml:
27007 Remove some old cruft from docs.
27009 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27012 Fix inline docs for GstPadLinkReturn.
27014 * gst/gststructure.c: (gst_structure_has_name):
27015 * gst/gststructure.h:
27016 * docs/gst/gstreamer-sections.txt:
27017 New API: gst_structure_has_name().
27019 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27022 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27023 and _LARGEFILE_SOURCE in config.h as required. Do not
27024 export those flags in our .pc files any longer (#142209).
27026 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27028 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27029 (gst_file_sink_do_seek), (gst_file_sink_event),
27030 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27031 Redo seek/tell calls with large file support in mind; add some
27032 debugging messages; add log message that tells us when large
27033 file support is unavailable or not enabled for some reason.
27035 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27036 Add log message that tells us when large file support
27037 is unavailable or not enabled for some reason.
27039 2005-07-29 Wim Taymans <wim@fluendo.com>
27041 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27042 Added test for removing an element with ghostpad from a bin.
27043 Fixed test as current implementation does the right thing.
27045 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27046 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27047 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27048 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27049 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27050 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27051 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27052 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27053 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27054 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27055 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27056 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27057 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27058 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27059 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27060 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27061 * gst/gstghostpad.h:
27062 Clean up ghostpads, remove properties for internal stuff.
27065 Prepare for switching targets, not all use cases work yet.
27067 2005-07-29 Wim Taymans <wim@fluendo.com>
27069 * docs/design/part-gstghostpad.txt:
27072 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27073 (gst_bin_remove_func):
27074 Unlinking pads while holding the bin LOCK is not a good
27077 * gst/gstpad.c: (gst_pad_class_init),
27078 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27079 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27080 No prob setting template after creating the pad.
27082 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27084 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27085 (gst_bus_peek), (gst_bus_source_dispatch),
27086 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27087 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27088 gst_bus_poll may be called from other threads. Handle
27089 this nicely by not making poll_data disappear off the
27090 stack once gst_bus_poll returns.
27091 gst_bus_peek now increments the refcount on the returned
27094 2005-07-29 Wim Taymans <wim@fluendo.com>
27096 * docs/design/part-gstghostpad.txt:
27097 Overview of current GhostPad datastructures and use
27098 cases for changing the target.
27100 2005-07-28 Wim Taymans <wim@fluendo.com>
27102 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27103 Added checks for hierarchy consistency whan adding linked
27106 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27107 Added check to test element scheduling without bin/pipeline.
27109 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27110 First add elements to bin, then link.
27112 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27113 (gst_bin_remove_func):
27114 Unlink pads from elements added/removed from bin to maintain
27115 hierarchy consistency.
27117 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27119 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27120 (gst_base_transform_handle_buffer):
27121 * gst/base/gstbasetransform.h:
27122 Remove broken delay_configure (fixes renegotiation of software
27123 scaling pipelines); remove some leftover printf()s.
27125 2005-07-28 Wim Taymans <wim@fluendo.com>
27127 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27128 Added some more tests for wrong hierarchy
27130 * docs/design/part-overview.txt:
27133 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27136 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27137 (gst_element_dispose):
27138 Some more cleanups.
27140 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27141 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27142 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27143 (gst_pad_set_caps), (gst_pad_send_event):
27144 Check for correct hierarchy when linking pads. Moving to
27145 strict requirement for ghostpads when linking elements in
27149 Clean ups. Added WRONG_HIERARCHY return value.
27151 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27153 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27154 Better debug if no transform is possible.
27156 2005-07-27 Wim Taymans <wim@fluendo.com>
27158 * docs/random/wtay/network-transp:
27159 Some old doc I had.
27161 2005-07-27 Wim Taymans <wim@fluendo.com>
27163 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27164 (gst_dp_event_from_packet):
27165 Fix serialization of seek events.
27167 2005-07-27 Wim Taymans <wim@fluendo.com>
27169 * check/gst-libs/gdp.c: (GST_START_TEST):
27170 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27171 Fix compilation and fix event serialization.
27173 2005-07-27 Wim Taymans <wim@fluendo.com>
27176 * docs/design/part-TODO.txt:
27177 * docs/design/part-events.txt:
27180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27181 (gst_base_sink_event), (gst_base_sink_do_sync),
27182 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27183 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27184 (gst_base_src_do_seek), (gst_base_src_event_handler),
27185 (gst_base_src_loop):
27186 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27187 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27188 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27189 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27190 (gst_base_transform_set_passthrough),
27191 (gst_base_transform_is_passthrough):
27192 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27193 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27199 * gst/gstelement.c: (gst_element_seek):
27200 * gst/gstelement.h:
27201 Update gst_element_seek.
27203 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27204 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27205 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27206 (gst_event_new_eos), (gst_event_new_newsegment),
27207 (gst_event_parse_newsegment), (gst_event_new_tag),
27208 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27209 (gst_event_parse_qos), (gst_event_new_seek),
27210 (gst_event_parse_seek), (gst_event_new_navigation):
27212 Make GstEvent use GstStructure. Add parsing code, make sure the
27213 API is sufficiently generic.
27214 Mark possible directions of events and serialization.
27216 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27217 (_gst_message_copy), (gst_message_new_segment_start),
27218 (gst_message_new_segment_done), (gst_message_new_custom),
27219 (gst_message_parse_segment_start),
27220 (gst_message_parse_segment_done):
27223 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27224 (gst_pad_set_caps), (gst_pad_send_event):
27225 Update for new events.
27226 Catch events sent in wrong directions.
27228 * gst/gstqueue.c: (gst_queue_link_src),
27229 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27230 (gst_queue_handle_src_query):
27235 Remove event code from this file.
27237 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27238 (gst_dp_event_from_packet):
27241 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27243 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27244 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27245 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27246 Make debugging actually useful.
27248 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27250 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27251 (gst_pad_fixate_caps):
27252 Implement default fixation once again, so that gst_pad_fixate()
27253 actually does anything at all. This probably needs to be some
27254 sort of a last resort, and use profile-based fixation first, but
27255 since that doesn't exist yet, this is the best we have. Fixes
27256 visualization in Totem.
27258 2005-07-22 Wim Taymans <wim@fluendo.com>
27260 * docs/design/part-events.txt:
27263 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27264 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27265 (gst_base_sink_activate_pull):
27266 Some more comments.
27268 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27269 (gst_fake_src_create):
27270 Fix handoff marshall.
27272 * gst/elements/gstidentity.c: (gst_identity_class_init),
27273 (gst_identity_transform_ip):
27274 We're a real inplace element.
27276 * gst/gstbus.c: (gst_bus_post):
27277 Added some comments.
27279 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27280 * tests/muxing/case1.c: (main):
27281 * tests/sched/dynamic-pipeline.c: (main):
27282 * tests/sched/interrupt1.c: (main):
27283 * tests/sched/interrupt2.c: (main):
27284 * tests/sched/interrupt3.c: (main):
27285 * tests/sched/runxml.c: (main):
27286 * tests/sched/sched-stress.c: (main):
27287 * tests/seeking/seeking1.c: (event_received), (main):
27288 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27290 * tests/threadstate/threadstate3.c: (main):
27291 * tests/threadstate/threadstate4.c: (main):
27292 * tests/threadstate/threadstate5.c: (main):
27295 2005-07-21 Wim Taymans <wim@fluendo.com>
27297 * docs/design/part-seeking.txt:
27298 Some small additions.
27300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27301 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27302 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27303 * gst/base/gstbasesink.h:
27304 discont values are gint64, handle the math correctly.
27306 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27307 Make the basesrc report error if the source pad is not linked.
27309 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27310 (gst_queue_loop), (gst_queue_handle_src_query),
27311 (gst_queue_src_activate_push):
27312 Make queue collect data even if the srcpad is not linked.
27313 Start pushing out data as soon as it is linked.
27315 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27317 Added gst_flow_get_name() to ease error reporting.
27319 2005-07-20 Wim Taymans <wim@fluendo.com>
27321 * gst/gstmessage.c: (gst_message_new_segment_start),
27322 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27323 (gst_message_parse_segment_done):
27324 * gst/gstmessage.h:
27325 Added a bunch of messages for advanced seeking.
27327 * gst/parse/grammar.y:
27328 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27329 (gst_dpman_state_changed):
27330 Fix some new-pad -> pad-added signals
27332 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27334 * docs/manual/appendix-porting.xml:
27335 * docs/pwg/appendix-porting.xml:
27336 Document new-pad/state-change signal renames and the FixedList
27339 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27341 * docs/manual/advanced-autoplugging.xml:
27342 * docs/manual/basics-helloworld.xml:
27343 * docs/manual/basics-pads.xml:
27344 * docs/random/ds/0.9-suggested-changes:
27345 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27346 * gst/gstelement.h:
27350 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27351 (gst_structure_parse_array), (gst_structure_parse_value):
27352 * gst/gstvalue.c: (gst_type_is_fixed),
27353 (gst_value_list_prepend_value), (gst_value_list_append_value),
27354 (gst_value_list_get_size), (gst_value_list_get_value),
27355 (gst_value_transform_array_string), (gst_value_serialize_array),
27356 (gst_value_deserialize_array), (gst_value_intersect_array),
27357 (gst_value_is_fixed), (_gst_value_initialize):
27359 GstElement::new-pad -> pad-added, GstElement::state-change ->
27360 state-changed, GstValueFixedList -> GstValueArray, add format and
27361 flags as their own arguments in gst_element_seek() (should improve
27362 "bindeability"), remove function generators since they don't work
27363 under a whole bunch of compilers (they were deprecated already
27366 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27368 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27369 (_gst_debug_register_funcptr):
27371 Fix illegal cast on some platforms (#309253).
27373 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27375 * gst/gstmessage.c: (gst_message_new_custom):
27376 * gst/gstmessage.h:
27377 Add _new_custom, make _new_application a macro to _new_custom.
27379 2005-07-20 Wim Taymans <wim@fluendo.com>
27381 * gst/base/gstbasesrc.c: (gst_base_src_init),
27382 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27383 * gst/base/gstbasesrc.h:
27384 Add a gboolean to decide when to push out a discont.
27386 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27387 (gst_queue_loop), (gst_queue_handle_src_query),
27388 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27389 (gst_queue_set_property), (gst_queue_get_property):
27392 * tests/threadstate/threadstate1.c: (main):
27393 Make a thread test compile and run... very silly..
27396 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27398 * docs/manual/appendix-porting.xml:
27399 Mention removal of libgstgconf-0.9.la and existence of gconf
27402 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27404 * docs/pwg/advanced-clock.xml:
27405 * docs/pwg/appendix-porting.xml:
27406 * docs/pwg/intro-preface.xml:
27407 * docs/pwg/other-base.xml:
27408 * docs/pwg/other-manager.xml:
27409 * docs/pwg/other-nton.xml:
27410 * docs/pwg/other-ntoone.xml:
27411 * docs/pwg/other-oneton.xml:
27412 * docs/pwg/pwg.xml:
27413 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27414 demuxer), remove n-to-n (was never written), fix some code examples
27415 and links and update the porting section to include all this.
27417 2005-07-19 Wim Taymans <wim@fluendo.com>
27419 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27420 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27421 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27422 (gst_queue_src_activate_push), (gst_queue_change_state),
27423 (gst_queue_get_property):
27425 Propagate GstFlowReturn more intelligently upstream and output
27426 an ERROR/EOS when streaming stopped due to fatal error.
27428 2005-07-19 Wim Taymans <wim@fluendo.com>
27430 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27431 Don't block forever for the state change to complete, the
27432 pipeline already did with a sensible timeout.
27434 2005-07-19 Wim Taymans <wim@fluendo.com>
27436 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27437 Make sure we never call the create function is we
27440 2005-07-19 Andy Wingo <wingo@pobox.com>
27442 * gst/parse/parse.l: Attempt to solve bug #172815.
27444 2005-07-19 Wim Taymans <wim@fluendo.com>
27446 * docs/design/part-clocks.txt:
27447 * docs/design/part-events.txt:
27448 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27449 Small docs updates.
27450 Only update the seeking values when we are not
27453 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27455 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27456 Oops, ignore the result of gst_pad_push_event here.
27458 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27460 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27461 (gst_base_src_activate_push):
27462 Send discont event from the loop function, as pads
27463 aren't activated yet in the activate_push handler.
27465 * gst/gstbin.c: (bin_bus_handler):
27466 Don't leak element name.
27468 2005-07-18 Andy Wingo <wingo@pobox.com>
27470 * configure.ac: Use AS_LIBTOOL_TAGS.
27472 2005-07-18 Wim Taymans <wim@fluendo.com>
27474 * docs/gst/gstreamer.types:
27475 Remove deleted types.
27477 2005-07-18 Wim Taymans <wim@fluendo.com>
27479 * check/elements/gstfakesrc.c: (GST_START_TEST):
27482 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27483 (init_popt_callback):
27485 * gst/gst_private.h:
27486 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27487 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27490 * gst/gstconfig.h.in:
27491 * gst/gstelement.c: (gst_element_class_init),
27492 (gst_element_set_base_time), (gst_element_get_base_time),
27493 (iterator_fold_with_resync), (gst_element_change_state),
27494 (gst_element_dispose), (gst_element_get_bus):
27495 * gst/gstelement.h:
27496 * gst/gstelementfactory.h:
27497 * gst/gsterror.c: (_gst_core_errors_init):
27500 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27502 * gst/gstinfo.c: (_gst_debug_init):
27503 * gst/gstmessage.c: (_gst_message_copy):
27504 * gst/gstmessage.h:
27505 * gst/gstminiobject.h:
27508 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27509 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27512 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27513 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27514 (gst_pipeline_get_last_stream_time):
27515 * gst/gstpipeline.h:
27516 * gst/gstpluginfeature.h:
27518 * gst/gstscheduler.c:
27519 * gst/gstscheduler.h:
27520 * gst/gststructure.h:
27521 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27522 (gst_task_finalize), (gst_task_func), (gst_task_create),
27523 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27524 (gst_task_stop), (gst_task_pause):
27526 * gst/gsttypefind.h:
27528 * gst/registries/gstlibxmlregistry.c: (load_feature),
27529 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27530 * gst/registries/gstxmlregistry.c:
27531 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27532 * gst/schedulers/threadscheduler.c:
27533 * libs/gst/control/dparammanager.h:
27534 * tools/gst-inspect.c: (print_element_list),
27535 (print_plugin_features), (print_element_features):
27536 * tools/gst-xmlinspect.c: (print_element_list),
27537 (print_plugin_info), (main):
27538 Removed plugable schedulers.
27539 Removed Scheduler/Manager from elements.
27540 Removed gsttypes.h, rearranged includes.
27541 Removed dependency pad<->element, element<>pipeline, and
27542 various others, fix includes.
27543 implement gst_pad_get_parent() with gst_object_get_parent()
27544 Make GstTask sefcontained.
27545 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27547 Fix endless loop in iterator_fold_with_resync.
27550 2005-07-18 Wim Taymans <wim@fluendo.com>
27556 2005-07-18 Wim Taymans <wim@fluendo.com>
27559 No more cothreads.h
27561 2005-07-18 Wim Taymans <wim@fluendo.com>
27565 Let's remove these.
27567 2005-07-18 Wim Taymans <wim@fluendo.com>
27569 * docs/design/part-dynamic.txt:
27570 * docs/design/part-events.txt:
27571 * docs/design/part-seeking.txt:
27572 Some more docs in the works.
27574 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27575 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27576 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27577 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27578 (gst_base_transform_handle_buffer),
27579 (gst_base_transform_sink_activate_push),
27580 (gst_base_transform_src_activate_pull),
27581 (gst_base_transform_set_passthrough),
27582 (gst_base_transform_is_passthrough):
27585 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27588 * gst/gstevent.c: (gst_event_finalize):
27591 * gst/gstutils.c: (gst_element_unlink),
27592 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27593 (gst_pad_proxy_setcaps):
27595 Add _get_parent_element() to get a pads parent as an element.
27597 2005-07-18 Wim Taymans <wim@fluendo.com>
27599 * check/gst/gstbin.c: (GST_START_TEST):
27602 2005-07-18 Wim Taymans <wim@fluendo.com>
27604 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27605 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27606 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27607 (gst_base_sink_event), (gst_base_sink_do_sync),
27608 (gst_base_sink_chain), (gst_base_sink_loop),
27609 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27610 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27612 Fix logic for returning ASYNC when not prerolled.
27614 2005-07-18 Wim Taymans <wim@fluendo.com>
27616 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27617 Fix nasty refcount bug.
27619 2005-07-16 Philippe Khalaf <burger@speedy.org>
27621 * gst/elements/gstfdsrc.c:
27622 * gst/elements/gstfdsrc.h:
27623 * gst/elements/gstelements.c:
27624 * gst/elements/Makefile.am:
27625 Ported fdsrc to 0.9.
27627 2005-07-16 Wim Taymans <wim@fluendo.com>
27629 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27630 (gst_base_sink_do_sync):
27633 2005-07-16 Wim Taymans <wim@fluendo.com>
27635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27636 (gst_base_sink_event), (gst_base_sink_get_times),
27637 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27638 * gst/base/gstbasesink.h:
27639 Store and use discont values when syncing buffers as described
27642 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27643 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27644 (gst_base_src_activate_push):
27645 Push discont event when starting.
27647 * gst/elements/gstidentity.c: (gst_identity_transform):
27650 * gst/gstbin.c: (gst_bin_change_state):
27651 Small cleanups in base_time distribution.
27653 * gst/gstelement.c: (gst_element_set_base_time),
27654 (gst_element_get_base_time), (gst_element_change_state):
27655 * gst/gstelement.h:
27656 Added methods for the base_time of the element.
27659 * gst/gstpipeline.c: (gst_pipeline_send_event),
27660 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27661 (gst_pipeline_get_last_stream_time):
27662 * gst/gstpipeline.h:
27664 Handle seeking as described in design doc, remove stream_time
27666 Cleanups clock and stream_time selection code. Added accessors
27667 for the stream_time.
27670 2005-07-16 Andy Wingo <wingo@pobox.com>
27672 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27675 2005-07-16 Wim Taymans <wim@fluendo.com>
27677 * check/gst/gstbin.c: (GST_START_TEST):
27678 Make elements silent as the deep_notify refs the
27679 parent, which might make the test fail.
27681 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27682 Don't hold the lock for too long.
27684 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27686 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27687 Don't unref the caps we passed to gst_caps_make_writable() after
27688 passing them. gst_caps_make_writable() will do that for us.
27690 2005-07-15 Andy Wingo <wingo@pobox.com>
27692 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27695 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27696 own marshalling function for the handoff signal. Properly type the
27697 buffer as a buffer. Fixes some warnings. Should do a more general
27699 (gst_identity_class_init): Plug into the right marshaller.
27701 2005-07-15 Wim Taymans <wim@fluendo.com>
27703 * docs/design/part-TODO.txt:
27704 * docs/design/part-clocks.txt:
27705 * docs/design/part-element-sink.txt:
27706 * docs/design/part-events.txt:
27707 * docs/design/part-gstpipeline.txt:
27708 Updated docs, mostly DISCONT related.
27710 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27712 * docs/pwg/building-pads.xml:
27713 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27715 2005-07-15 Andy Wingo <wingo@pobox.com>
27717 * tools/gst-typefind.c: Update, add copyright block.
27719 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27720 Normalize and truncate caps before fixation.
27723 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27724 discards all but the first structure from its argument.
27726 2005-07-15 Wim Taymans <wim@fluendo.com>
27728 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27729 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27730 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27731 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27732 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27733 (gst_base_transform_chain), (gst_base_transform_change_state),
27734 (gst_base_transform_set_passthrough),
27735 (gst_base_transform_is_passthrough):
27736 * gst/base/gstbasetransform.h:
27737 Make passthrough work using the bufferpools.
27738 Changed API a bit, subclasses have to write into a buffer
27739 provided by the base class.
27740 More debug info in nego functions.
27742 * gst/elements/gstidentity.c: (gst_identity_init),
27743 (gst_identity_transform):
27744 Port to new base class.
27746 2005-07-15 Wim Taymans <wim@fluendo.com>
27748 * gst/gstmessage.c: (gst_message_new_state_changed):
27749 * tools/gst-launch.c: (event_loop), (main):
27750 Totally dump messages in -launch with the -m option.
27751 Fix message name for State messages,
27753 2005-07-14 Wim Taymans <wim@fluendo.com>
27755 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27756 Post error messages on errors.
27758 2005-07-14 Wim Taymans <wim@fluendo.com>
27760 * gst/gstcaps.c: (gst_caps_do_simplify):
27764 Define error for stream stopped.
27766 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27767 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27768 Do proper return values.
27770 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27771 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27772 (gst_pad_get_range):
27773 Better return values.
27776 Reorganise return values, add macro to check for fatal errors.
27778 * gst/gstqueue.c: (gst_queue_chain):
27779 Return proper GstFlowReturn values,
27781 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27783 * docs/gst/gstreamer-sections.txt:
27784 * docs/gst/gstreamer.types:
27785 * docs/gst/tmpl/gst.sgml:
27786 * docs/gst/tmpl/gstbasesink.sgml:
27787 * docs/gst/tmpl/gstbasesrc.sgml:
27788 * docs/gst/tmpl/gstbasetransform.sgml:
27789 * docs/gst/tmpl/gstbin.sgml:
27790 * docs/gst/tmpl/gstbuffer.sgml:
27791 * docs/gst/tmpl/gstcaps.sgml:
27792 * docs/gst/tmpl/gstclock.sgml:
27793 * docs/gst/tmpl/gstcompat.sgml:
27794 * docs/gst/tmpl/gstconfig.sgml:
27795 * docs/gst/tmpl/gstelement.sgml:
27796 * docs/gst/tmpl/gstelementdetails.sgml:
27797 * docs/gst/tmpl/gstelementfactory.sgml:
27798 * docs/gst/tmpl/gstenumtypes.sgml:
27799 * docs/gst/tmpl/gsterror.sgml:
27800 * docs/gst/tmpl/gstevent.sgml:
27801 * docs/gst/tmpl/gstfakesink.sgml:
27802 * docs/gst/tmpl/gstfakesrc.sgml:
27803 * docs/gst/tmpl/gstfilesink.sgml:
27804 * docs/gst/tmpl/gstfilesrc.sgml:
27805 * docs/gst/tmpl/gstfilter.sgml:
27806 * docs/gst/tmpl/gstformat.sgml:
27807 * docs/gst/tmpl/gstghostpad.sgml:
27808 * docs/gst/tmpl/gstimplementsinterface.sgml:
27809 * docs/gst/tmpl/gstindex.sgml:
27810 * docs/gst/tmpl/gstindexfactory.sgml:
27811 * docs/gst/tmpl/gstinfo.sgml:
27812 * docs/gst/tmpl/gstiterator.sgml:
27813 * docs/gst/tmpl/gstmacros.sgml:
27814 * docs/gst/tmpl/gstmemchunk.sgml:
27815 * docs/gst/tmpl/gstminiobject.sgml:
27816 * docs/gst/tmpl/gstobject.sgml:
27817 * docs/gst/tmpl/gstpad.sgml:
27818 * docs/gst/tmpl/gstpadtemplate.sgml:
27819 * docs/gst/tmpl/gstparse.sgml:
27820 * docs/gst/tmpl/gstpipeline.sgml:
27821 * docs/gst/tmpl/gstplugin.sgml:
27822 * docs/gst/tmpl/gstpluginfeature.sgml:
27823 * docs/gst/tmpl/gstquery.sgml:
27824 * docs/gst/tmpl/gstqueue.sgml:
27825 * docs/gst/tmpl/gstregistry.sgml:
27826 * docs/gst/tmpl/gstregistrypool.sgml:
27827 * docs/gst/tmpl/gstscheduler.sgml:
27828 * docs/gst/tmpl/gstschedulerfactory.sgml:
27829 * docs/gst/tmpl/gststructure.sgml:
27830 * docs/gst/tmpl/gstsystemclock.sgml:
27831 * docs/gst/tmpl/gsttaglist.sgml:
27832 * docs/gst/tmpl/gsttagsetter.sgml:
27833 * docs/gst/tmpl/gsttrace.sgml:
27834 * docs/gst/tmpl/gsttrashstack.sgml:
27835 * docs/gst/tmpl/gsttypefind.sgml:
27836 * docs/gst/tmpl/gsttypefindfactory.sgml:
27837 * docs/gst/tmpl/gsttypes.sgml:
27838 * docs/gst/tmpl/gsturihandler.sgml:
27839 * docs/gst/tmpl/gsturitype.sgml:
27840 * docs/gst/tmpl/gstutils.sgml:
27841 * docs/gst/tmpl/gstvalue.sgml:
27842 * docs/gst/tmpl/gstversion.sgml:
27843 * docs/gst/tmpl/gstxml.sgml:
27844 * docs/libs/tmpl/gstcontrol.sgml:
27845 * docs/libs/tmpl/gstdataprotocol.sgml:
27846 * docs/libs/tmpl/gstdparam.sgml:
27847 * docs/libs/tmpl/gstdplinint.sgml:
27848 * docs/libs/tmpl/gstdpman.sgml:
27849 * docs/libs/tmpl/gstdpsmooth.sgml:
27850 * docs/libs/tmpl/gstgetbits.sgml:
27851 * docs/libs/tmpl/gstunitconvert.sgml:
27852 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27853 (gst_push_src_base_init), (gst_push_src_class_init),
27854 (gst_push_src_init), (gst_push_src_create):
27855 * gst/base/gstpushsrc.h:
27856 * gst/elements/gstelements.c:
27857 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27858 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27859 (gst_fake_sink_init), (gst_fake_sink_set_property),
27860 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27861 (gst_fake_sink_event), (gst_fake_sink_preroll),
27862 (gst_fake_sink_render), (gst_fake_sink_change_state):
27863 * gst/elements/gstfakesink.h:
27864 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27865 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27866 (gst_fake_src_base_init), (gst_fake_src_class_init),
27867 (gst_fake_src_init), (gst_fake_src_event_handler),
27868 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27869 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27870 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27871 (gst_fake_src_create_buffer), (gst_fake_src_create),
27872 (gst_fake_src_start), (gst_fake_src_stop):
27873 * gst/elements/gstfakesrc.h:
27874 * gst/elements/gstfilesink.c: (_do_init),
27875 (gst_file_sink_base_init), (gst_file_sink_class_init),
27876 (gst_file_sink_init), (gst_file_sink_dispose),
27877 (gst_file_sink_set_location), (gst_file_sink_set_property),
27878 (gst_file_sink_get_property), (gst_file_sink_open_file),
27879 (gst_file_sink_close_file), (gst_file_sink_query),
27880 (gst_file_sink_event), (gst_file_sink_render),
27881 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27882 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27883 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27884 * gst/elements/gstfilesink.h:
27885 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27886 (gst_file_src_class_init), (gst_file_src_init),
27887 (gst_file_src_finalize), (gst_file_src_set_location),
27888 (gst_file_src_set_property), (gst_file_src_get_property),
27889 (gst_file_src_map_region), (gst_file_src_map_small_region),
27890 (gst_file_src_create_mmap), (gst_file_src_create_read),
27891 (gst_file_src_create), (gst_file_src_is_seekable),
27892 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27893 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27894 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27895 (gst_file_src_uri_handler_init):
27896 * gst/elements/gstfilesrc.h:
27897 more autistic cleanliness in functions/names/defines
27899 2005-07-13 Andy Wingo <wingo@pobox.com>
27901 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27902 source couldn't negotiate.
27904 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27908 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27909 function. I am channeling Hades. Put your boots on suckers!!!
27911 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27913 * testsuite/caps/Makefile.am:
27914 * testsuite/caps/value_compare.c:
27915 * testsuite/caps/value_intersect.c:
27916 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27917 move two testsuite apps over to the check dir
27919 2005-07-12 Wim Taymans <wim@fluendo.com>
27921 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27922 Added more debug info in the negotiate process.
27924 * gst/gstmessage.h:
27925 Prepare for segment playback.
27927 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27933 * tools/gst-launch.c: (main):
27934 NULL pipeline on errors.
27936 2005-07-12 Andy Wingo <wingo@pobox.com>
27938 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27939 not it comes from a malloc region. Make sure our copy gets freed.
27941 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27943 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27944 * check/gst/gstmessage.c: (GST_START_TEST):
27945 * check/gst/gststructure.c: (GST_START_TEST),
27946 (gst_structure_suite), (main):
27948 * gst/gstelement.c: (gst_element_message_full):
27949 clean up GError and debug string now that they get copied
27950 * gst/gstmessage.c: (gst_message_new_error),
27951 (gst_message_new_warning), (gst_message_parse_error),
27952 (gst_message_parse_warning):
27953 use GST_TYPE_G_ERROR for structure_new, and take copies of
27954 arguments, so that we don't mess up refcounting
27956 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27958 * check/Makefile.am:
27959 add per-test valgrind targets
27960 * check/gst-libs/gdp.c: (GST_START_TEST),
27961 (gst_data_protocol_suite), (main):
27964 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27966 * check/Makefile.am:
27967 instate more valgrindable tests
27968 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27969 (GST_START_TEST), (fakesrc_suite):
27970 * check/gst/gstpad.c: (GST_START_TEST):
27971 * check/gst/gststructure.c: (GST_START_TEST):
27973 * docs/gst/tmpl/gstminiobject.sgml:
27974 * gst/gstpad.c: (gst_pad_finalize):
27975 fix the static mutex leak
27977 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27979 * check/Makefile.am:
27980 add two more tests for valgrinding
27981 * check/gst/gstvalue.c: (GST_START_TEST):
27982 test refcount of deserialized buffer, found a leak
27983 * docs/gst/gstreamer-docs.sgml:
27984 * docs/gst/gstreamer-sections.txt:
27985 * docs/gst/gstreamer.types:
27986 * docs/gst/tmpl/gstminiobject.sgml:
27987 add miniobject to docs
27988 * gst/gstminiobject.c:
27990 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27991 (gst_string_unwrap):
27992 fix a hard-to-find invalid write for one of the tests
27993 fix a leak for deserialized buffers
27995 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27997 * docs/pwg/advanced-events.xml:
27998 * docs/pwg/advanced-request.xml:
27999 * docs/pwg/advanced-scheduling.xml:
28000 * docs/pwg/appendix-porting.xml:
28001 * docs/pwg/building-boiler.xml:
28002 * docs/pwg/intro-preface.xml:
28003 * docs/pwg/other-ntoone.xml:
28004 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28005 of example code and explanation for pad activation, loop() and
28006 getrange() functions and a bit more. Remove old comments pointing
28008 * examples/pwg/Makefile.am:
28009 Add loop/getrange examples.
28011 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28014 check for valgrind binary + some fixes
28016 valgrind suppressions for the tests
28017 * check/Makefile.am:
28018 add a valgrind: target that valgrinds the unit tests
28019 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28020 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28021 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28022 * check/gst/gstghostpad.c:
28024 * check/gst/gstdata.c:
28026 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28027 (thread_unref), (gst_mini_object_suite), (main):
28029 * gst/gst.c: (gst_deinit):
28031 add a method to clean up.
28032 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28033 (gst_system_clock_obtain):
28034 allow for disposing the system clock.
28035 * tools/gst-launch.c: (main):
28038 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28040 * docs/gst/tmpl/gstbasesrc.sgml:
28041 * docs/gst/tmpl/gstfakesrc.sgml:
28042 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28043 (gst_base_src_init), (gst_base_src_set_property),
28044 (gst_base_src_get_property), (gst_base_src_get_range),
28045 (gst_base_src_start):
28046 * gst/base/gstbasesrc.h:
28047 add num-buffers property
28048 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28049 (gst_fakesrc_init), (gst_fakesrc_set_property),
28050 (gst_fakesrc_get_property), (gst_fakesrc_create),
28051 (gst_fakesrc_start):
28052 remove num-buffers property
28054 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28056 * docs/gst/gstreamer-sections.txt:
28057 * docs/gst/tmpl/gstbasesink.sgml:
28058 * docs/gst/tmpl/gstbasesrc.sgml:
28059 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28060 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28061 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28062 (gst_base_sink_set_property), (gst_base_sink_get_property),
28063 (gst_base_sink_handle_object), (gst_base_sink_event),
28064 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28065 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28066 (gst_base_sink_loop), (gst_base_sink_deactivate),
28067 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28068 (gst_base_sink_change_state):
28069 * gst/base/gstbasesink.h:
28070 * gst/base/gstbasesrc.h:
28071 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28072 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28073 (gst_filesink_init):
28074 more macro splitting
28076 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28078 * gst/gstelement.c: (gst_element_get_bus):
28080 * tools/gst-launch.c: (check_intr), (event_loop):
28083 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28085 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28088 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28090 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28091 (gst_base_src_finalize):
28092 add finalize method and clean up properly
28093 * gst/gstpipeline.c: (gst_pipeline_dispose):
28096 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28098 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28100 add more things to check
28101 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28102 * gst/gstelement.c:
28105 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28107 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28108 (GST_START_TEST), (fakesrc_suite):
28109 * check/gst-libs/gdp.c: (GST_START_TEST):
28110 * check/gst/gst.c: (GST_START_TEST):
28111 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28112 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28113 * check/gst/gstbus.c: (GST_START_TEST):
28114 * check/gst/gstcaps.c: (GST_START_TEST):
28115 * check/gst/gstdata.c: (GST_START_TEST):
28116 * check/gst/gstelement.c: (GST_START_TEST):
28117 * check/gst/gstghostpad.c: (GST_START_TEST):
28118 * check/gst/gstiterator.c: (GST_START_TEST):
28119 * check/gst/gstmessage.c: (GST_START_TEST):
28120 * check/gst/gstobject.c: (GST_START_TEST):
28121 * check/gst/gstpad.c: (GST_START_TEST):
28122 * check/gst/gststructure.c: (GST_START_TEST):
28123 * check/gst/gstsystemclock.c: (GST_START_TEST),
28124 (gst_systemclock_suite):
28125 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28126 * check/gst/gstvalue.c: (GST_START_TEST):
28127 * check/pipelines/cleanup.c: (GST_START_TEST):
28128 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28129 * check/states/sinks.c: (GST_START_TEST):
28130 * check/gstcheck.c: (gst_check_init):
28131 * check/gstcheck.h:
28132 add debugging category
28133 use GST_START_TEST now, so we add a debug line
28135 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28137 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28138 add test for state change message on a bin
28139 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28141 * gst/gstbin.c: (gst_bin_init):
28142 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28143 * gst/gstelement.c: (gst_element_post_message),
28144 (gst_element_set_state):
28145 * gst/gstelementfactory.c: (gst_element_factory_create):
28146 * gst/gstmessage.c: (gst_message_new):
28147 * gst/gstscheduler.c:
28148 various debugging additions and cleanups
28150 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28152 * check/Makefile.am:
28153 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28155 adding tests for elements
28156 * gst/gstelement.c: (gst_element_dispose):
28158 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28160 * gst/registries/gstlibxmlregistry.c: (load_feature):
28161 plug more leaks. A simple gst_init() now is leakfree, yay.
28163 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28165 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28166 (gst_xml_registry_load):
28167 plug another memleak
28169 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28172 use GST_SET_ERROR_CFLAGS
28173 * docs/faq/cvs.xml:
28174 change to ERROR_CFLAGS
28176 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28179 make GST_ERROR_CFLAGS overridable and re-enable Werror
28180 * docs/faq/cvs.xml:
28181 add a note about error CFLAGS
28182 * docs/gst/tmpl/gstfakesrc.sgml:
28183 * gst/elements/gstfakesrc.c:
28184 comment out some unused code
28185 * gst/gst.c: (split_and_iterate):
28186 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28190 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28192 * common/Makefile.am:
28193 * common/gtk-doc.mak:
28194 * docs/gst/Makefile.am:
28195 factor out gtk-doc.mak
28197 2005-07-07 Wim Taymans <wim@fluendo.com>
28199 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28200 (gst_thread_scheduler_dispose):
28201 Unlock the STREAM_LOCK completely.
28203 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28205 * check/Makefile.am:
28206 * check/elements/.cvsignore:
28207 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28208 (START_TEST), (fakesrc_suite), (main):
28209 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28210 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28211 (gst_fakesrc_create), (gst_fakesrc_start):
28212 * gst/elements/gstfakesrc.h:
28213 adding a first element test
28215 2005-07-07 Andy Wingo <wingo@pobox.com>
28217 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28220 2005-07-07 Wim Taymans <wim@fluendo.com>
28226 2005-07-07 Wim Taymans <wim@fluendo.com>
28228 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28229 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28230 Allow subclasses to implement their own negotiation.
28232 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28234 * docs/design/part-gstbin.txt:
28235 * docs/design/part-gstpipeline.txt:
28236 Update design notes to reflect the movement of
28237 responsibility for bus handling from GstPipeline to
28240 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28243 Remove unnecessary queue2/3/4 examples.
28245 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28247 * examples/Makefile.am:
28248 * examples/helloworld/helloworld.c: (event_loop), (main):
28249 * examples/queue/queue.c: (event_loop), (main):
28250 * examples/queue2/queue2.c: (main):
28251 Update a couple of the examples to work again.
28253 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28254 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28255 Spelling corrections and extra debug.
28257 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28258 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28259 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28261 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28262 (gst_pipeline_change_state):
28263 * gst/gstpipeline.h:
28264 Move the bus handler for children to the GstBin, and create a
28265 separate bus for receiving messages from children to the one the
28266 bus sends 'upwards' on.
28268 2005-07-06 Wim Taymans <wim@fluendo.com>
28271 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28272 (gst_base_sink_handle_object), (gst_base_sink_loop),
28273 (gst_base_sink_change_state):
28274 * gst/base/gstbasesink.h:
28275 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28276 (gst_base_src_init), (gst_base_src_setcaps),
28277 (gst_base_src_getcaps), (gst_base_src_loop),
28278 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28279 (gst_base_src_start), (gst_base_src_change_state):
28280 * gst/base/gstbasesrc.h:
28281 Make basesrc negotiate.
28282 Handle the case where preroll fails in basesink.
28285 2005-07-06 Wim Taymans <wim@fluendo.com>
28287 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28288 Implement the fixate function.
28289 Clean up acceptcaps.
28291 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28293 * docs/pwg/building-filterfactory.xml:
28294 * docs/pwg/pwg.xml:
28295 Remove never-written filter-factory chapter; I'll add the various
28296 base classes to part 4 ("other element types") later on.
28298 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28300 * docs/pwg/advanced-negotiation.xml:
28301 * docs/pwg/building-boiler.xml:
28302 * docs/pwg/building-pads.xml:
28303 * docs/pwg/pwg.xml:
28304 * examples/pwg/Makefile.am:
28305 Add a chapter on caps negotiation, simplify the original code
28306 samples a bit w.r.t. caps negotiation, add link to the advanced
28307 section. Add a bunch of examples showing different use cases of
28308 different types of caps negotiation. Upstream renegotiation isn't
28309 fully documented yet since nobody knows how that works.
28311 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28313 * check/gst/gstpad.c:
28314 * check/gstcheck.c:
28315 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28316 if pad has no parent, return NULL as list of internal links
28318 2005-07-05 Andy Wingo <wingo@pobox.com>
28320 * gst/elements/gstfilesrc.c:
28321 * gst/elements/gstfakesrc.c:
28322 * gst/base/gstpushsrc.c:
28323 * gst/base/gstbasesrc.h:
28324 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28326 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28329 better report generation target (lcov needs a patch)
28331 2005-07-05 Andy Wingo <wingo@pobox.com>
28333 * gst/elements, testsuite: Null if we got it...
28335 2005-07-05 Wim Taymans <wim@fluendo.com>
28338 * libs/gst/dataprotocol/Makefile.am:
28339 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28340 * libs/gst/dataprotocol/dataprotocol.h:
28341 * pkgconfig/Makefile.am:
28342 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28343 * pkgconfig/gstreamer-dataprotocol.pc.in:
28344 Ported dataprotol to 0.9.
28345 Added pkgconfig files.
28347 2005-07-05 Andy Wingo <wingo@pobox.com>
28349 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28350 Default to returning TRUE for the case when tranform_caps returns
28351 a fixed caps, like for identity or volume.
28353 * check/gst/gstbus.c (pound_bus_with_messages):
28354 * check/gst/gstmessage.c (START_TEST):
28355 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28356 message API change.
28358 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28359 logic weaks here: always run transform_caps, trying passthrough
28360 operation only if the original caps intersects with the transform.
28362 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28363 source and sink caps.
28365 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28366 Intersect the peer caps with the pad template before going into
28368 (gst_base_transform_transform_caps): More debugging.
28370 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28373 2005-07-04 Edward Hervey <edward@fluendo.com>
28377 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28380 2005-07-04 Andy Wingo <wingo@pobox.com>
28382 * check/gst/gstpad.c: Only set explicit caps on pads.
28384 2005-07-01 Andy Wingo <wingo@pobox.com>
28386 * tests/network-clock.scm: Commentary update.
28388 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28389 Didn't really make sense, not implementable with basetransform,
28391 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28392 attempt at implementing the sync property, needs an unlock method.
28394 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28395 New func, by default returns the same caps (the identity
28397 (gst_base_transform_getcaps): Uses transform_caps to return
28398 something sensible.
28399 (gst_base_transform_setcaps): Complicated logic to get caps on
28400 both pads, even if they are different, and to call set_caps once
28401 for every time both pads get their caps set.
28402 (gst_base_transform_handle_buffer): Give the ref to the transform
28403 function. Allows in-place modification of the buffer.
28405 * gst/base/gstbasetransform.h (transform_caps): New class method.
28406 Given caps on one side, what can I do on the other.
28407 (set_caps): Take two caps, one for each side of the element.
28410 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28411 caps in place. This is safe because we can check the mutability of
28412 the caps, and a good idea because fixate functions are just called
28413 as a matter of last resort. (Not actually implemented.)
28414 (gst_pad_set_caps): If the caps we're setting is actually the same
28415 as the existing pad caps, just update the pointer without calling
28416 setcaps. Assert that caps is either NULL or fixed, as per the
28419 * gst/gstghostpad.c: Update for fixate changes.
28421 2005-07-02 Andy Wingo <wingo@pobox.com>
28424 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28425 two refcounts makes it immutable, which is enough. Doc more.
28427 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28429 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28430 Put the mini_object into GValue as a mini_object,
28431 not a gpointer, since that's how we declared
28434 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28436 * examples/pwg/Makefile.am:
28437 Fix buildbot again.
28439 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28441 * docs/pwg/building-testapp.xml:
28443 * examples/pwg/Makefile.am:
28446 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28449 * examples/Makefile.am:
28450 * examples/pwg/Makefile.am:
28451 * examples/pwg/extract.pl:
28452 Enable building the PWG examples.
28453 * docs/pwg/advanced-interfaces.xml:
28454 Add URI interface stub.
28455 * docs/pwg/advanced-types.xml:
28456 * docs/pwg/other-autoplugger.xml:
28457 * docs/pwg/appendix-porting.xml:
28458 * docs/pwg/pwg.xml:
28459 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28460 * docs/pwg/building-boiler.xml:
28461 * docs/pwg/building-chainfn.xml:
28462 * docs/pwg/building-pads.xml:
28463 * docs/pwg/building-props.xml:
28464 * docs/pwg/building-state.xml:
28465 * docs/pwg/building-testapp.xml:
28466 Update the building-*.xml parts for 0.9 changes. All examples
28467 code blocks compile in examples/pwg/*.
28469 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28471 * docs/manual/advanced-autoplugging.xml:
28472 * docs/manual/appendix-checklist.xml:
28473 * docs/manual/appendix-integration.xml:
28474 * docs/manual/highlevel-components.xml:
28475 Fix playbin/decodebin examples, update docs a bit, mention bus
28476 instead of signals in various places, mention kmplayer and
28477 kaffeine since they have a working GStreamer backend in the KDE
28480 2005-06-30 Wim Taymans <wim@fluendo.com>
28483 * docs/design/draft-ghostpads.txt:
28484 * docs/design/draft-push-pull.txt:
28485 * docs/design/draft-query.txt:
28486 * docs/design/part-TODO.txt:
28487 * docs/design/part-query.txt:
28488 Added CHANGES-0.9 doc, updated status of other docs.
28493 2005-06-30 Wim Taymans <wim@fluendo.com>
28495 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28496 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28497 (gst_base_sink_change_state):
28498 * gst/base/gstbasesink.h:
28499 Some tweaks, only EOS and a buffer complete a preroll.
28501 2005-06-30 Andy Wingo <wingo@pobox.com>
28503 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28504 activate_push down to the internal pad as well.
28506 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28508 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28510 * gst/gsttaginterface.c:
28511 Some documentation fixes (#307394 and #307397).
28513 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28515 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28517 * gst/gstvalue.c: (gst_value_intersect_list):
28518 Fix memleak (#309125).
28520 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28522 * docs/manual/advanced-dataaccess.xml:
28523 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28524 * docs/manual/basics-pads.xml:
28525 Add reference for filtered caps to above chapter.
28527 2005-06-30 Wim Taymans <wim@fluendo.com>
28529 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28530 (gst_bin_change_state):
28532 Lame attempt at making the state change function a bit
28535 2005-06-30 Wim Taymans <wim@fluendo.com>
28537 * docs/design/part-clocks.txt:
28538 * docs/design/part-element-sink.txt:
28539 * docs/design/part-events.txt:
28540 * docs/design/part-preroll.txt:
28541 * docs/design/part-states.txt:
28542 Some more tweeks and additions to the docs.
28544 2005-06-30 Wim Taymans <wim@fluendo.com>
28546 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28547 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28548 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28549 (gst_pad_check_pull_range), (gst_pad_get_range),
28550 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28552 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28553 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28554 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28555 (gst_pad_remove_buffer_probe):
28556 Removed atomic operations, use existing LOCK.
28557 Move exception handling out of main code path.
28559 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28561 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28562 (silly_return_true_function), (gst_pad_class_init),
28563 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28564 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28565 (gst_pad_send_event):
28566 Fix accumulator, add default value by using _emitv() instead
28567 of _emit() for signal emission.
28569 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28571 * docs/manual/advanced-dataaccess.xml:
28572 * examples/manual/Makefile.am:
28574 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28577 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28579 * gst/elements/gstfilesink.c: (gst_filesink_render):
28580 Simplify code so that we don't have to handle short
28581 writes and return GST_FLOW_ERROR if an error occured.
28583 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28585 * docs/gst/gstreamer-docs.sgml:
28586 Remove probes more.
28588 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28590 * docs/gst/gstreamer-sections.txt:
28591 * docs/gst/tmpl/gstpad.sgml:
28592 * docs/gst/tmpl/gstprobe.sgml:
28594 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28595 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28596 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28597 (gst_pad_push_event), (gst_pad_send_event):
28599 * gst/gstutils.c: (gst_pad_add_data_probe),
28600 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28601 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28602 (gst_pad_remove_buffer_probe):
28604 Remove old probes, add new g-signal-based probes and some utility
28607 2005-06-29 Edward Hervey <edward@fluendo.com>
28609 * gst/gstelementfactory.c:
28612 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28613 the definition to the header file.
28615 2005-06-29 Andy Wingo <wingo@pobox.com>
28617 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28618 plugins from the source directory.
28620 2005-06-29 Wim Taymans <wim@fluendo.com>
28622 * docs/gst/tmpl/gstbuffer.sgml:
28623 * docs/gst/tmpl/gstclock.sgml:
28624 Some fixings for blantently wrong text.
28626 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28628 * check/Makefile.am:
28629 * gst/gst.c: (add_path_func), (init_pre):
28630 * gst/gstregistry.c: (gst_registry_add_path):
28631 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28632 only scan the GST_PLUGIN_PATH locations, and not add
28635 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28637 * docs/gst/gstreamer-sections.txt:
28638 * docs/gst/tmpl/gstbasesrc.sgml:
28639 * gst/gstelement.c:
28640 * gst/gstelement.h:
28645 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28647 * docs/manual/advanced-autoplugging.xml:
28648 Fix autoplugging example.
28650 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28652 * docs/manual/advanced-autoplugging.xml:
28653 * docs/manual/mime-world.fig:
28654 Try to get autoplugging working, fix type detection. Fix text
28655 in hello-world image.
28657 2005-06-29 Wim Taymans <wim@fluendo.com>
28659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28660 (gst_base_sink_change_state):
28664 map SIGNAL and BROADCAST to the right function.
28667 Remove redundant braces.
28669 * gst/gstpad.c: (gst_pad_set_caps):
28670 Don't call setcaps function when reseting caps to NULL.
28672 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28673 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28674 (gst_system_clock_id_unschedule):
28675 Use BROADCAST as this is what we do.
28677 2005-06-29 Wim Taymans <wim@fluendo.com>
28679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28680 We are actually prerolling before commiting the state
28683 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28685 * docs/manual/advanced-clocks.xml:
28686 * docs/manual/advanced-interfaces.xml:
28687 * docs/manual/advanced-metadata.xml:
28688 * docs/manual/advanced-position.xml:
28689 * docs/manual/advanced-schedulers.xml:
28690 * docs/manual/advanced-threads.xml:
28691 * docs/manual/appendix-porting.xml:
28692 * docs/manual/basics-bins.xml:
28693 * docs/manual/basics-bus.xml:
28694 * docs/manual/basics-elements.xml:
28695 * docs/manual/basics-helloworld.xml:
28696 * docs/manual/basics-pads.xml:
28697 * docs/manual/highlevel-components.xml:
28698 * docs/manual/manual.xml:
28699 * docs/manual/thread.fig:
28700 Update (until threads/scheduling) Application Development Manual;
28701 remove GstThread, add GstBus, add simple porting checklist, add
28702 documentation for tag writing, clocks, make all examples until this
28703 part compile and run.
28704 * examples/manual/Makefile.am:
28705 Update from changes to Application Development Manual; add bus
28706 example, remove thread example.
28708 2005-06-28 Wim Taymans <wim@fluendo.com>
28710 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28711 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28712 (gst_bus_source_dispatch):
28713 Add debugging messages.
28714 Make internal methods static.
28715 Handle the case where the bus is flushed in the handler.
28717 * gst/gstelement.c: (gst_element_get_bus):
28718 Fix refcount in _get_bus();
28720 * gst/gstpipeline.c: (gst_pipeline_change_state),
28721 (gst_pipeline_get_clock_func):
28722 Clock refcounting fixes.
28723 Handle the case where preroll timed out more gracefully.
28725 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28726 Clean up the internal thread in dispose. This is needed
28727 for subclasses that actually get disposed.
28729 * gst/schedulers/threadscheduler.c:
28730 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28731 (gst_thread_scheduler_dispose):
28732 Free thread pool in dispose.
28734 2005-06-28 Andy Wingo <wingo@pobox.com>
28736 * tests/network-clock-utils.scm (debug, print-event): New utils.
28738 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28739 (*packet-loss*): Unified loss probability.
28740 (network-time): Report out-of-band events.
28742 * tests/plot-data: Add support for out-of-band events. Hack it
28743 into this script instead of passing it down the pipe; should fix
28746 2005-06-28 Wim Taymans <wim@fluendo.com>
28748 * docs/gst/gstreamer.types:
28749 * docs/gst/tmpl/gstbasesrc.sgml:
28750 * docs/gst/tmpl/gstpad.sgml:
28753 2005-06-28 Wim Taymans <wim@fluendo.com>
28755 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28756 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28757 (gst_proxy_pad_do_fixatecaps):
28758 Correctly proxy the check_pull_range function.
28760 2005-06-28 Andy Wingo <wingo@pobox.com>
28762 * tests/network-clock.scm: Removed need for slib.
28764 2005-06-28 Wim Taymans <wim@fluendo.com>
28766 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28767 (gst_basesink_preroll_queue_flush):
28768 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28769 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28770 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28771 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28772 (gst_proxy_pad_set_property):
28775 * gst/gstqueue.c: (gst_queue_init):
28776 The deprecated pad loop function is removed now.
28778 2005-06-28 Andy Wingo <wingo@pobox.com>
28780 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28781 New parameters, simulate network packet loss.
28783 * tests/network-clock-utils.scm: Initialize the RNG.
28785 2005-06-28 Wim Taymans <wim@fluendo.com>
28787 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28788 (gst_basesink_event), (gst_basesink_deactivate):
28789 Flushing the preroll queue always needs to unlock the waiters.
28791 2005-06-28 Edward Hervey <edward@fluendo.com>
28793 * gst/gstpipeline.c: (gst_pipeline_send_event):
28794 Wheen a seek was successful on a pipeline, set the stream_time to the
28795 seek offset in order to have a synchronized stream_time.
28797 2005-06-28 Wim Taymans <wim@fluendo.com>
28799 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28800 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28801 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28802 (gst_proxy_pad_do_fixatecaps):
28803 Call wrapper function instead of just calling the function
28804 pointers. This takes care of any locking and whatmore.
28806 2005-06-28 Wim Taymans <wim@fluendo.com>
28808 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28809 (gst_pad_pull_range):
28811 CONNECTED -> LINKED.
28813 2005-06-28 Andy Wingo <wingo@pobox.com>
28815 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28816 source-munging commit!!!
28818 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28819 (gst_object_sink): Take gpointer arguments, not GstObject --
28820 avoids casts. Like GLib.
28822 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28825 2005-06-27 Andy Wingo <wingo@pobox.com>
28827 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28830 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28831 returns a sorted copy of the trace list.
28832 (gst_alloc_trace_print_live): New API, only prints traces with
28833 live objects. Sort the list.
28834 (gst_alloc_trace_print_all): Sort the list.
28835 (gst_alloc_trace_print): Align columns.
28837 * gst/elements/gstttypefindelement.c:
28838 * gst/elements/gsttee.c:
28839 * gst/base/gstbasesrc.c:
28840 * gst/base/gstbasesink.c:
28841 * gst/base/gstbasetransform.c:
28842 * gst/gstqueue.c: Adapt for pad activation changes.
28844 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28846 (gst_pipeline_dispose): Drop ref on sched.
28848 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28849 (gst_pad_activate_default): Push mode by default.
28850 (pre_activate_switch, post_activate_switch): New stubs, things to
28851 do before and after switching activation modes on pads.
28852 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28853 the pad's activate function to choose which mode to activate.
28854 Shortcut on deactivation and call the right function directly.
28855 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28857 (gst_pad_activate_push): New API, same for push mode.
28858 (gst_pad_set_activate_function)
28859 (gst_pad_set_activatepull_function)
28860 (gst_pad_set_activatepush_function): Setters for new API.
28862 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28863 Trace all miniobjects.
28864 (gst_mini_object_make_writable): Unref the arg if we copy, like
28865 gst_caps_make_writable.
28867 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28869 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28870 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28871 Adapt for new pad API.
28873 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28875 * gst/gstelement.h:
28876 * gst/gstelement.c (gst_element_iterate_src_pads)
28877 (gst_element_iterate_sink_pads): New API functions.
28879 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28880 should fold into gstiterator.c in some form.
28881 (gst_element_pads_activate): Simplified via use of fold and
28882 delegation of decisions to gstpad->activate.
28884 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28887 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28888 class once in init, like gstmessage. Didn't run into this issue
28889 but it seems correct. Don't initialize a trace, gstminiobject does
28892 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28893 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28895 (assert_live_count): New util function, uses alloc traces to check
28898 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28899 To be modified when unlink drops the internal pad.
28901 2005-06-27 Wim Taymans <wim@fluendo.com>
28903 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28904 (gst_bin_change_state):
28905 Cleanup the get_state() function a little, make sure it
28906 iterates the same set of elements.
28907 Added stub iterate_state_order().
28909 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28911 * docs/gst/gstreamer-docs.sgml:
28912 * docs/gst/gstreamer-sections.txt:
28913 * docs/gst/gstreamer.types:
28914 * docs/gst/tmpl/gstbasesink.sgml:
28915 * docs/gst/tmpl/gstbasesrc.sgml:
28916 * docs/gst/tmpl/gstbasetransform.sgml:
28917 * docs/gst/tmpl/gstelement.sgml:
28918 * docs/gst/tmpl/gstiterator.sgml:
28919 * gst/base/gstbasesrc.c:
28920 * gst/base/gstbasesrc.h:
28921 * gst/base/gstbasetransform.h:
28922 * gst/gstelement.c:
28923 * gst/gstiterator.h:
28924 adding basetransform and iterator docs
28926 2005-06-27 Andy Wingo <wingo@pobox.com>
28928 * docs/design/part-activation.txt: Notes on how activation should
28929 work -- not quite implemented yet.
28931 2005-06-25 Wim Taymans <wim@fluendo.com>
28933 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28934 At least get the chain function correct, needs more
28937 2005-06-25 Wim Taymans <wim@fluendo.com>
28939 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28940 (gst_basesink_handle_object), (gst_basesink_event),
28941 (gst_basesink_do_sync), (gst_basesink_handle_event),
28942 (gst_basesink_change_state):
28944 Right, two problems here: ghostpads don't take locks and
28945 glib _rec_mutex_lock_full() with depth==0 still locks.
28946 Catch illegal locking and g_warn them.
28948 2005-06-25 Wim Taymans <wim@fluendo.com>
28950 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28951 Have to check for completion now...
28953 2005-06-25 Wim Taymans <wim@fluendo.com>
28955 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28956 (gst_basesink_handle_object), (gst_basesink_event),
28957 (gst_basesink_do_sync), (gst_basesink_handle_event),
28958 (gst_basesink_change_state):
28960 Unlock STREAM_LOCK whatever the recursion was.
28962 2005-06-25 Wim Taymans <wim@fluendo.com>
28964 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28965 (gst_basesink_preroll_queue_empty),
28966 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28967 (gst_basesink_event), (gst_basesink_do_sync),
28968 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28969 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28970 (gst_basesink_change_state):
28971 Reworked the base sink, handle event and buffer serialisation
28972 correctly and removed possible deadlock.
28973 Handle EOS correctly.
28975 2005-06-25 Wim Taymans <wim@fluendo.com>
28977 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28978 (gst_pipeline_change_state):
28979 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28980 Allow elements to post EOS in the state change function.
28981 Fix up -launch, make it exit the poll loop when the
28982 pipeline actually changed state.
28983 Fix up warning parsing in -launch.
28985 2005-06-25 Wim Taymans <wim@fluendo.com>
28987 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28988 (gst_tee_sink_activate):
28989 Core takes STREAM_LOCK for us now.
28991 2005-06-25 Wim Taymans <wim@fluendo.com>
28993 * gst/gstelement.c: (gst_element_get_state_func),
28994 (gst_element_set_state):
28995 * gst/gstelement.h:
28996 * gst/gstmessage.c: (gst_message_parse_error),
28997 (gst_message_parse_warning):
28998 Keep track of current target state while performing a state
28999 change so that subclasses can do something interesting.
29000 Fix parsing of warning/error messages when GError is NULL.
29002 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29004 * docs/gst/Makefile.am:
29005 * docs/gst/gstreamer-docs.sgml:
29006 * docs/gst/gstreamer-sections.txt:
29007 * docs/gst/gstreamer.types:
29008 * docs/gst/tmpl/gstbasesink.sgml:
29009 * docs/gst/tmpl/gstbasesrc.sgml:
29010 * docs/gst/tmpl/gstbin.sgml:
29011 * docs/gst/tmpl/gstcompat.sgml:
29012 * docs/gst/tmpl/gstfakesink.sgml:
29013 * docs/gst/tmpl/gstfakesrc.sgml:
29014 * docs/gst/tmpl/gstfilesink.sgml:
29015 * docs/gst/tmpl/gstfilesrc.sgml:
29016 * docs/gst/tmpl/gstindex.sgml:
29017 * docs/manual/appendix-quotes.xml:
29018 * gst/base/gstbasesrc.h:
29019 * gst/elements/gstfakesrc.h:
29020 * gst/gstmessage.h:
29021 start pulling in base classes and elements in our docs
29023 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29025 * docs/gst/Makefile.am:
29026 * docs/libs/Makefile.am:
29027 fixed make distcheck with gtk-doc 1.3
29029 2005-06-23 Wim Taymans <wim@fluendo.com>
29031 * gst/gstelement.c: (gst_element_get_state_func),
29032 (gst_element_set_state), (gst_element_change_state):
29033 When the state did not change, also report NO_PREROLL
29036 2005-06-23 Wim Taymans <wim@fluendo.com>
29038 * gst/gstpad.c: (gst_pad_event_default):
29039 * gst/gstqueue.c: (gst_queue_loop):
29040 No unsafe task pausing please.
29042 2005-06-23 Wim Taymans <wim@fluendo.com>
29044 * gst/schedulers/threadscheduler.c:
29045 (gst_thread_scheduler_task_start),
29046 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29047 Ref the task before pushing it on the threadpool. This
29048 makes sure that we have a ref when the threadfunction is
29051 2005-06-23 Andy Wingo <wingo@pobox.com>
29053 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29054 offset is greater than the file's size.
29056 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29057 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29058 * gst/gstobject.c (gst_object_class_init): Make the class lock
29059 recursive. Wim won't let me drop deep_notify. Decodebin works
29060 again, whoopdy doo.
29062 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29063 internal pad, and hacks accordingly. Doesn't do it on the target
29064 pad because we change its caps. Probably catches all cases of
29066 (gst_ghost_pad_set_property): Connect to notify::caps as
29069 * tests/network-clock.scm (plot-simulation): Pipe data to the
29070 elite python skript.
29072 * tests/network-clock-utils.scm (define-parameter): New macro,
29073 defines a parameter that can be set via the command line.
29074 (set-parameter!, parse-parameter-arguments): Command line args
29077 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29080 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29082 * gst/elements/gsttypefindelement.c:
29083 (gst_type_find_element_handle_event):
29084 Don't restart typefinding on a discont.
29085 * gst/gstelement.c: (gst_element_set_state):
29086 Debug spelling fix.
29087 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29088 Allow changing mode of an active pad.
29089 Debug output fixes.
29090 * gst/registries/gstlibxmlregistry.c: (load_feature):
29091 Don't cast a static pad template to a normal pad template.
29093 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29095 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29096 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29097 remove gst_strtoll completely, since it didn't actually do
29098 anything more than what g_ascii_strtoull already does.
29099 check for range errors when deserializing
29100 do a cast for the unsigned cases; but further fixing needs
29101 a decision on what the interpretation of "(int)" and
29102 deserialization should be for values that fall outside the
29103 type's boundaries (ie, refuse, or interpret as casting)
29105 2005-06-23 Wim Taymans <wim@fluendo.com>
29107 * check/Makefile.am:
29108 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29109 * docs/design/part-live-source.txt:
29110 * docs/design/part-states.txt:
29111 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29112 (gst_basesrc_set_live), (gst_basesrc_is_live),
29113 (gst_basesrc_get_range), (gst_basesrc_activate),
29114 (gst_basesrc_change_state):
29115 * gst/base/gstbasesrc.h:
29116 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29117 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29118 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29119 * gst/gstelement.c: (gst_element_get_state_func),
29120 (gst_element_set_state):
29121 * gst/gstelement.h:
29123 * tools/gst-launch.c: (event_loop), (main):
29124 Added support for live sources and other elements that
29126 Updated design docs, added live-source design doc.
29127 Implemented live source functionality in basesrc
29128 Fix error condition in _bin_get_state()
29129 Implement live source handling in -launch.
29130 Added check for live sources.
29131 Fixed case in GstBin where elements were changed state
29135 2005-06-23 Andy Wingo <wingo@pobox.com>
29137 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29138 borken refcounting.
29140 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29141 gst_caps_replace takes care of this for us.
29143 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29144 gst_pad_set_caps on the target, not just its setcaps() function.
29146 * tests/network-clock.scm:
29147 * tests/network-clock-utils.scm: A network clock simulator.
29148 Something of an algorithmic testbed before doing something in C.
29150 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29152 * check/Makefile.am:
29153 * check/gst/capslist.h:
29154 copy over from 0.8, and add two with bitmasks specified with
29156 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29157 add test to parse everything from capslist.h
29158 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29160 add test for structure deserialization
29161 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29162 add tests for deserialization of strings to int types
29163 * gst/gststructure.c: (gst_structure_nth_field_name):
29164 * gst/gststructure.h:
29165 add a way to get the name of a field referenced by index
29166 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29167 instead of checking if the resulting long long lies between
29168 min and max, we check if the long long would fit into
29169 a number of bytes for the final type.
29170 This fixes cases where a string represents 2^32 - 1, which
29171 when cast to int would be the (valid) -1, but is bigger than
29174 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29176 * gst/parse/grammar.y:
29177 add a log line for type deserialization
29179 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29181 * check/gst/gstvalue.c: (START_TEST):
29182 * gst/gstvalue.c: (gst_value_deserialize):
29183 return long long, not int, so gint64 deserialization actually
29184 works. Is there any flag that makes the compiler check this ?
29187 2005-06-22 Wim Taymans <wim@fluendo.com>
29190 Added convenience macros for setting buffers in GValue.
29192 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29194 * check/gst/.cvsignore:
29195 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29196 add a test deserializing int64, and comment part out because
29199 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29201 * check/Makefile.am:
29202 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29203 * testsuite/Makefile.am:
29204 * testsuite/caps/Makefile.am:
29205 * testsuite/caps/value_serialize.c:
29206 * testsuite/test_gst_init.c:
29207 move a value_serialize test over
29209 2005-06-20 Wim Taymans <wim@fluendo.com>
29214 * gst/gstvalue.c: (gst_value_compare_buffer),
29215 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29216 (gst_value_compare_flags), (gst_value_serialize_flags),
29217 (gst_value_deserialize_flags), (_gst_value_initialize):
29218 Fix serialisation of buffers, they are not boxed types anymore
29220 2005-06-20 Wim Taymans <wim@fluendo.com>
29222 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29223 Testcase to show error in buffer-on-caps serialisation.
29225 2005-06-20 Andy Wingo <wingo@pobox.com>
29227 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29228 will be adding to later.
29230 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29231 if its socks fill with rocks.
29232 (gst_system_clock_obtain): Set the name on object construction.
29233 Avoid double-checked locking.
29235 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29237 * gst/gsturi.c: (gst_element_make_from_uri):
29238 Fix potential endless loop.
29240 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29242 * check/Makefile.am:
29244 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29246 move over from testsuite dir and clean up
29249 * testsuite/Makefile.am:
29250 * testsuite/tags/.cvsignore:
29251 * testsuite/tags/Makefile.am:
29252 * testsuite/tags/merge.c:
29253 remove testsuite/tags
29255 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29257 * docs/gst/gstreamer-sections.txt:
29258 * docs/gst/tmpl/gstenumtypes.sgml:
29259 * win32/gstenumtypes.c:
29260 clean up documentation build a little
29262 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29264 * check/gstcheck.h:
29265 add macros for checking refcounts on objects and caps
29266 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29267 add some more unit tests
29268 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29269 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29270 fix leaked refcounts (I hope :)) so unittest works
29274 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29276 * configure.ac: back to HEAD
29278 === release 0.9.1 ===
29280 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29286 2005-06-17 Andy Wingo <wingo@pobox.com>
29288 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29289 assert; it's always possible that the pad gets deactivated in
29290 between the checks in gstpad.c and the implementation. Rely on
29291 finish_preroll() to return a FLUSHING or similar instead of on the
29294 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29295 clock and post an EOS message if we come out of finish_preroll in
29298 2005-06-16 David Schleef <ds@schleef.org>
29300 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29301 (gst_capsfilter_set_property): Allow NULL as possible value
29302 for filter_caps property, indicating GST_CAPS_ANY.
29304 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29306 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29308 * gst/schedulers/Makefile.am:
29310 * gstreamer.spec.in:
29313 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29315 * gstreamer.spec.in:
29318 2005-06-08 Andy Wingo <wingo@pobox.com>
29320 * gst/gstutils.c: RPAD fixes all around.
29321 (gst_element_link_pads): Refcounting fixes.
29323 * tools/gst-inspect.c:
29324 * tools/gst-xmlinspect.c:
29326 * gst/base/gsttypefindhelper.c:
29327 * gst/base/gstbasesink.c:
29328 * gst/gstqueue.c: RPAD fixes.
29330 * gst/gstghostpad.h:
29331 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29332 pads. The tricky thing is they provide both source and sink
29333 interfaces, since they proxy the internal pad for the external
29334 pad, and vice versa. Implement with lower-level ProxyPad objects,
29335 with the interior proxy pad as a child of the exterior ghost pad.
29336 Should write a doc on this.
29338 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29339 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29342 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29343 pads are real pads. No ghost pads in this file. Not documenting
29344 the myriad s/RPAD/PAD/ and REALIZE fixes.
29345 (gst_pad_class_init): Add properties for "direction" and
29346 "template". Both are construct-only, so they can't change during
29347 the life of the pad. Fixes properly deriving from GstPad.
29348 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29349 derived objects, just set properties when creating the objects via
29351 (gst_pad_get_parent): Implement as a function, return NULL if the
29352 parent is not an element.
29353 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29354 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29356 * gst/gstobject.c (gst_object_class_init): Make name a construct
29357 property. Don't set it in the object init.
29359 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29360 with UNKNOWN direction.
29361 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29362 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29363 (gst_element_remove_pad): Remove ghost-pad special cases.
29364 (gst_element_pads_activate): Remove rpad cruft.
29366 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29367 catch the pad's-parent-not-an-element case.
29369 * gst/gst.h: Include gstghostpad.h.
29371 * gst/gst.c (init_post): No more real, ghost pads.
29373 * gst/Makefile.am: Add gstghostpad.[ch].
29375 * check/Makefile.am:
29376 * check/gst/gstbin.c:
29377 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29378 into a bin creates ghost pads, and that the refcounts are right.
29379 Partly moved from gstbin.c.
29381 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29383 * check/gst-libs/.cvsignore:
29384 * check/gst/.cvsignore:
29385 * check/pipelines/.cvsignore:
29387 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29388 (START_TEST), (cleanup_suite), (main):
29389 add some tests related to cleanup after running pipelines
29391 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29393 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29394 add a testsuite for GstBuffer
29396 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29398 * gst/gstminiobject.h:
29399 add defines for accessing the refcount
29401 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29403 * Makefile.am: added support for html unit test coverage reports
29405 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29407 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29408 Free existing caps if the capsfilter changes. Add a FIXME about
29409 setting those caps on the pads.
29411 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29412 Before adding a ghost pad to a parent bin, check that there isn't
29413 already one for the element on the bin. Prevents infinite recursion
29414 when using decodebin in parse pipelines. Andy says he'll rewrite the
29415 way this works anyway, so ignore the hack.
29417 2005-06-02 Andy Wingo <wingo@pobox.com>
29419 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29420 file size, pass it on to the type find helper.
29422 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29423 segment_start and segment_end properly according to the seek
29424 method. Segment_end is still a bit flaky because offset can be
29425 negative for CUR and END cases, but it takes -1 as an "unset"
29428 2005-06-02 Wim Taymans <wim@fluendo.com>
29430 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29431 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29432 (gst_basesink_activate):
29433 * gst/base/gstbasesink.h:
29434 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29435 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29436 (gst_pad_query), (gst_pad_start_task):
29438 * gst/gstqueue.c: (gst_queue_bufferalloc),
29439 (gst_queue_handle_sink_event), (gst_queue_chain):
29440 Bufferalloc: return GstFlowReturn to more accuratly report
29441 why allocation failed.
29443 2005-06-02 Wim Taymans <wim@fluendo.com>
29445 * gst/gstpipeline.c: (gst_pipeline_send_event):
29446 Take snapshot of state without blocking.
29448 2005-06-02 Wim Taymans <wim@fluendo.com>
29450 * docs/design/part-TODO.txt:
29451 * docs/design/part-caps.txt:
29452 * docs/design/part-clocks.txt:
29453 * docs/design/part-negotiation.txt:
29454 * docs/design/part-preroll.txt:
29457 2005-05-30 Wim Taymans <wim@fluendo.com>
29459 * gst/elements/gstidentity.c: (gst_identity_event),
29460 (gst_identity_transform), (gst_identity_get_property):
29461 Protect last_message property as it is accessed from
29464 2005-05-30 Wim Taymans <wim@fluendo.com>
29466 * gst/gstelement.c: (gst_element_init),
29467 (gst_element_pads_activate), (gst_element_change_state):
29468 Slicker pad activation code.
29470 2005-05-30 Wim Taymans <wim@fluendo.com>
29473 * gst/gstelement.h:
29474 * gst/gstelementfactory.h:
29476 Move elementfactory methods to separate .h file.
29478 2005-05-30 Wim Taymans <wim@fluendo.com>
29480 * docs/design/part-overview.txt:
29481 * gst/gstsystemclock.h:
29482 Small typo fixes, doc updates.
29484 2005-05-30 Wim Taymans <wim@fluendo.com>
29486 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29487 (init_popt_callback):
29488 Remove cpu-opt flag.
29490 2005-05-30 Wim Taymans <wim@fluendo.com>
29492 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29493 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29495 Avoid typechecking in places where not needed.
29496 Added accessor for malloc_data.
29498 2005-05-30 Wim Taymans <wim@fluendo.com>
29500 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29501 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29502 (gst_pad_configure_sink), (gst_pad_configure_src),
29503 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29504 (gst_pad_start_task):
29505 Propagate errors from _set_caps() in configure_src/sink
29506 functions instead of returning TRUE.
29507 FLUSH events can travel up and downstream
29510 2005-05-30 Wim Taymans <wim@fluendo.com>
29512 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29513 (gst_basesink_activate):
29514 Handle EOS in preroll.
29516 2005-05-30 Wim Taymans <wim@fluendo.com>
29518 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29519 (gst_queue_loop), (gst_queue_handle_src_event):
29520 Remove old pieces of code
29521 Flushing the queue in an upstream event is a very bad idea.
29523 2005-05-26 Andy Wingo <wingo@pobox.com>
29525 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29526 gst_value_set_mini_object so as to add a ref on the object (which
29527 will be removed when the value is unset).
29529 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29530 arg type in ::handoff.
29532 * gst/gstelement.c (gst_element_change_state): Also deactivate
29533 pads in READY->NULL, just in case the element didn't make it to
29534 PAUSED. Wingo tested, Wim approved.
29536 2005-05-26 Wim Taymans <wim@fluendo.com>
29538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29539 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29540 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29541 A flushing pad cannot be used to alloc_buffer from.
29543 2005-05-26 Wim Taymans <wim@fluendo.com>
29545 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29546 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29547 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29548 (gst_bus_create_watch), (gst_bus_add_watch_full):
29550 Implement a real GSource and use g_main_context_wakeup() to
29551 signal new messages instead of the socketpair.
29553 2005-05-25 Wim Taymans <wim@fluendo.com>
29555 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29556 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29557 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29558 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29559 (gst_pad_send_event), (gst_pad_start_task):
29560 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29561 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29562 (gst_queue_sink_activate), (gst_queue_src_activate),
29563 (gst_queue_change_state):
29565 Fix state changes for non sinks. We now change sinks, then elements
29566 with unconnected srcpads, then the rest.
29567 More efficient queue unlocking in flush and state changes.
29568 Set the pad activate mode even if it does not have an activate
29571 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29573 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29574 Don't go in pull mode for non-seekable sources.
29575 * gst/elements/gsttypefindelement.h:
29576 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29577 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29578 (free_entry), (stop_typefinding),
29579 (gst_type_find_element_handle_event), (find_peek),
29580 (gst_type_find_element_chain), (do_pull_typefind),
29581 (gst_type_find_element_change_state):
29582 Allow typefinding (w/o seeking) in push-mode, simplified version
29583 of what was in 0.8.
29584 * gst/gstutils.c: (gst_buffer_join):
29586 gst_buffer_join() from 0.8.
29588 2005-05-25 Wim Taymans <wim@fluendo.com>
29590 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29591 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29592 (gst_pad_send_event), (gst_pad_start_task):
29593 Disable attempt at mode switching until it is figured out.
29595 2005-05-25 Wim Taymans <wim@fluendo.com>
29597 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29598 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29599 (gst_basesink_finish_preroll), (gst_basesink_chain),
29600 (gst_basesink_loop), (gst_basesink_activate),
29601 (gst_basesink_change_state):
29602 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29603 (gst_basesrc_get_range), (gst_basesrc_loop),
29604 (gst_basesrc_activate):
29605 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29606 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29607 (gst_real_pad_init), (gst_real_pad_set_property),
29608 (gst_real_pad_get_property), (gst_pad_set_active),
29609 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29610 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29611 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29612 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29613 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29614 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29615 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29616 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29617 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29618 (gst_pad_stop_task):
29620 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29621 (gst_queue_loop), (gst_queue_src_activate):
29622 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29623 (gst_task_get_state):
29625 * gst/schedulers/threadscheduler.c:
29626 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29627 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29629 Remove ACTIVE pad flag, use FLUSHING everywhere
29630 Added _pad_chain(), _pad_get_range() to call chain/getrange
29632 Add locks around IS_FLUSHING when reading.
29633 Take STREAM lock in chain(), get_range() functions so plugins
29634 don't need to take it anymore.
29638 2005-05-25 Wim Taymans <wim@fluendo.com>
29640 * tools/gst-launch.c: (event_loop):
29641 Unref message after using its contents instead of
29644 2005-05-24 Wim Taymans <wim@fluendo.com>
29646 * docs/design/draft-ghostpads.txt:
29647 * docs/design/draft-push-pull.txt:
29648 * docs/design/draft-query.txt:
29649 * docs/design/part-overview.txt:
29650 Docs updates, added general overview doc.
29652 2005-05-21 David Schleef <ds@schleef.org>
29654 * docs/gst/tmpl/old/GstBin.sgml:
29655 * docs/gst/tmpl/old/GstBuffer.sgml:
29656 * docs/gst/tmpl/old/GstCaps.sgml:
29657 * docs/gst/tmpl/old/GstClock.sgml:
29658 * docs/gst/tmpl/old/GstCompat.sgml:
29659 * docs/gst/tmpl/old/GstData.sgml:
29660 * docs/gst/tmpl/old/GstElement.sgml:
29661 * docs/gst/tmpl/old/GstEvent.sgml:
29662 * docs/gst/tmpl/old/GstIndex.sgml:
29663 * docs/gst/tmpl/old/GstStructure.sgml:
29664 * docs/gst/tmpl/old/GstTag.sgml:
29665 * docs/gst/tmpl/old/cothreads.sgml:
29666 * docs/gst/tmpl/old/cothreads_compat.sgml:
29667 * docs/gst/tmpl/old/gettext.sgml:
29668 * docs/gst/tmpl/old/gobject2gtk.sgml:
29669 * docs/gst/tmpl/old/grammar.tab.sgml:
29670 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29671 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29672 * docs/gst/tmpl/old/gst_private.sgml:
29673 * docs/gst/tmpl/old/gstaggregator.sgml:
29674 * docs/gst/tmpl/old/gstarch.sgml:
29675 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29676 * docs/gst/tmpl/old/gstbufferstore.sgml:
29677 * docs/gst/tmpl/old/gstdata_private.sgml:
29678 * docs/gst/tmpl/old/gstdisksink.sgml:
29679 * docs/gst/tmpl/old/gstdisksrc.sgml:
29680 * docs/gst/tmpl/old/gstelementfactory.sgml:
29681 * docs/gst/tmpl/old/gstextratypes.sgml:
29682 * docs/gst/tmpl/old/gstfakesink.sgml:
29683 * docs/gst/tmpl/old/gstfakesrc.sgml:
29684 * docs/gst/tmpl/old/gstfdsink.sgml:
29685 * docs/gst/tmpl/old/gstfdsrc.sgml:
29686 * docs/gst/tmpl/old/gstfilesink.sgml:
29687 * docs/gst/tmpl/old/gstfilesrc.sgml:
29688 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29689 * docs/gst/tmpl/old/gstidentity.sgml:
29690 * docs/gst/tmpl/old/gstindexfactory.sgml:
29691 * docs/gst/tmpl/old/gstmarshal.sgml:
29692 * docs/gst/tmpl/old/gstmd5sink.sgml:
29693 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29694 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29695 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29696 * docs/gst/tmpl/old/gstpipefilter.sgml:
29697 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29698 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29699 * docs/gst/tmpl/old/gstshaper.sgml:
29700 * docs/gst/tmpl/old/gstspider.sgml:
29701 * docs/gst/tmpl/old/gstspideridentity.sgml:
29702 * docs/gst/tmpl/old/gststatistics.sgml:
29703 * docs/gst/tmpl/old/gsttee.sgml:
29704 * docs/gst/tmpl/old/gsttimecache.sgml:
29705 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29706 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29707 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29708 * docs/gst/tmpl/old/types.sgml:
29709 I didn't intend to add these or check them in.
29711 2005-05-19 David Schleef <ds@schleef.org>
29713 * configure.ac: Use -no-common everywhere. In a sane world, it
29714 would be the default in libtool, because without it, you can't
29715 build DLLs on Windows.
29716 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29717 * docs/gst/gstreamer-sections.txt:
29718 * docs/gst/tmpl/gstcpu.sgml:
29719 * docs/gst/tmpl/gstdata.sgml:
29720 * docs/gst/tmpl/gstthread.sgml:
29722 2005-05-19 David Schleef <ds@schleef.org>
29724 * gst/gstminiobject.c: (gst_value_set_mini_object),
29725 (gst_value_take_mini_object), (gst_value_get_mini_object):
29726 * gst/gstminiobject.h: Add GValue set/get functions.
29728 2005-05-19 Wim Taymans <wim@fluendo.com>
29730 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29731 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29732 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29734 * gst/gstbus.c: (gst_bus_post):
29735 * gst/gstelement.c: (gst_element_get_random_pad):
29736 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29737 Make subbufer unref the parent in finalize.
29738 some more debugging info.
29741 2005-05-19 Wim Taymans <wim@fluendo.com>
29743 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29744 (gst_basesink_init), (gst_basesink_finalize),
29745 (gst_basesink_activate), (gst_basesink_change_state):
29746 Don't free preroll queue too early.
29748 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29752 Hi, I'm outdated. Please shoot me.
29754 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29756 * gst/gstpipeline.c: (gst_pipeline_send_event):
29757 Do not access variables after they have been deleted.
29759 2005-05-19 Wim Taymans <wim@fluendo.com>
29761 * tools/gst-inspect.c: (print_plugin_features):
29762 A plugin feature does unfortunatly not use the
29765 2005-05-18 Wim Taymans <wim@fluendo.com>
29767 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29768 Port _span() functions to new subbuffers.
29770 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29772 * gst/gstbin.c: (gst_bin_add_func):
29773 Fix clock settery in bins when adding kids after the clock has
29776 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29778 * gst/elements/gstidentity.c: (gst_identity_class_init):
29779 Workaround until signals support GstMiniObject.
29781 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29784 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29786 2005-05-18 Wim Taymans <wim@fluendo.com>
29788 * gst/base/Makefile.am:
29789 * gst/base/gstadapter.c: (gst_adapter_base_init),
29790 (gst_adapter_class_init), (gst_adapter_init),
29791 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29792 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29793 (gst_adapter_flush), (gst_adapter_available),
29794 (gst_adapter_available_fast):
29795 * gst/base/gstadapter.h:
29796 Ported and added adapter to the base classes.
29798 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29801 * gst/gstmessage.c:
29802 Make sure the class is reffed/unreffed once before threads can be
29803 used. Fixes #304551.
29805 2005-05-17 Wim Taymans <wim@fluendo.com>
29807 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29808 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29809 * gst/gstminiobject.c: (gst_mini_object_get_type),
29810 (gst_mini_object_free):
29811 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29812 (gst_pad_push), (gst_pad_push_event):
29813 * gst/gstqueue.c: (gst_queue_change_state):
29814 Don't queue buffers in basesink when we are flushing.
29815 Unref buffer when flushing in basesink.
29816 Flush queue when going to READY
29817 Unref buffer when _push() returns an error.
29818 Don't free MiniObject instance when refcount is incremented
29819 in _finalize() so that we can recover objects.
29821 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29823 * docs/manual/advanced-schedulers.xml:
29824 * docs/manual/appendix-checklist.xml:
29825 * docs/pwg/advanced-clock.xml:
29826 * docs/pwg/advanced-interfaces.xml:
29827 * docs/pwg/advanced-request.xml:
29828 * docs/pwg/advanced-types.xml:
29829 * docs/pwg/intro-preface.xml:
29830 * examples/plugins/example.c: (gst_example_get_type),
29831 (gst_example_class_init), (gst_example_chain),
29832 (gst_example_set_property), (gst_example_get_property),
29833 (gst_example_change_state), (plugin_init):
29834 * examples/plugins/example.h:
29837 2005-05-17 Wim Taymans <wim@fluendo.com>
29839 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29840 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29841 * gst/gstqueue.c: (gst_queue_change_state):
29842 Clear queue when going to READY.
29843 Remove IN_SETCAPS flag too.
29845 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29847 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29848 Remove implicit cast from gboolean to GstElementStateReturn;
29849 make sure we still return failure in paused => ready case if
29850 the parent class fails to change state and our own stop
29853 2005-05-17 Wim Taymans <wim@fluendo.com>
29855 * tools/gst-launch.c: (event_loop):
29856 Message was unreffed too soon.
29858 2005-05-16 Andy Wingo <wingo@pobox.com>
29860 * gst/gstbin.c (sink_iterator_filter): Err... um...
29862 * check/gst/gstbin.c (test_ghost_pads): New test for the
29863 ghosting-if-elements-not-in-same-bin behavior.
29865 2005-05-16 David Schleef <ds@schleef.org>
29867 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29868 accessing refcount directly.
29870 2005-05-15 David Schleef <ds@schleef.org>
29872 * check/Makefile.am: remove GstData checks
29873 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29874 * gst/Makefile.am: add miniobject, remove data
29875 * gst/gst.h: add miniobject, remove data
29876 * gst/gstdata.c: remove
29877 * gst/gstdata.h: remove
29878 * gst/gstdata_private.h: remove
29879 * gst/gsttypes.h: remove GstEvent and GstMessage
29880 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29881 * gst/gstmarshal.list: change BOXED -> OBJECT
29883 Implement GstMiniObject.
29884 * gst/gstminiobject.c:
29885 * gst/gstminiobject.h:
29887 Modify to be subclasses of GstMiniObject.
29888 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29889 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29890 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29891 (gst_subbuffer_get_type), (gst_subbuffer_init),
29892 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29895 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29896 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29897 (_gst_event_copy), (gst_event_new):
29899 * gst/gstmessage.c: (_gst_message_initialize),
29900 (gst_message_get_type), (gst_message_class_init),
29901 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29902 (gst_message_new), (gst_message_new_error),
29903 (gst_message_new_warning), (gst_message_new_tag),
29904 (gst_message_new_state_changed), (gst_message_new_application):
29905 * gst/gstmessage.h:
29906 * gst/gstprobe.c: (gst_probe_perform),
29907 (gst_probe_dispatcher_dispatch):
29909 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29910 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29911 (_gst_query_copy), (gst_query_new):
29913 Update elements for GstData -> GstMiniObject changes
29915 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29916 (gst_queue_chain), (gst_queue_loop):
29917 * gst/elements/gstbufferstore.c:
29918 (gst_buffer_store_add_buffer_func),
29919 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29920 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29921 (gst_fakesink_render):
29922 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29923 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29924 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29925 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29926 (gst_filesrc_create_read):
29927 * gst/elements/gstidentity.c: (gst_identity_class_init):
29928 * gst/elements/gsttypefindelement.c:
29929 (gst_type_find_element_src_event), (free_entry_buffers),
29930 (gst_type_find_element_handle_event):
29931 * libs/gst/dataprotocol/dataprotocol.c:
29932 (gst_dp_header_from_buffer):
29933 * libs/gst/dataprotocol/dataprotocol.h:
29934 * libs/gst/dataprotocol/dp-private.h:
29936 2005-05-15 David Schleef <ds@schleef.org>
29938 * gst/elements/gstelements.c: Don't include headers that were
29941 2005-05-15 David Schleef <ds@schleef.org>
29943 * gst/elements/Makefile.am: Remove some elements that don't
29944 need to be in the core (or even exist at all).
29945 * gst/elements/gstaggregator.c:
29946 * gst/elements/gstaggregator.h:
29947 * gst/elements/gstmd5sink.c:
29948 * gst/elements/gstmd5sink.h:
29949 * gst/elements/gstmultifilesrc.c:
29950 * gst/elements/gstmultifilesrc.h:
29951 * gst/elements/gstpipefilter.c:
29952 * gst/elements/gstpipefilter.h:
29953 * gst/elements/gstshaper.c:
29954 * gst/elements/gstshaper.h:
29955 * gst/elements/gststatistics.c:
29956 * gst/elements/gststatistics.h:
29957 * po/POTFILES.in: Remove above files.
29959 2005-05-14 Andy Wingo <wingo@pobox.com>
29961 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29962 so as to get the refs right.
29963 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29964 unreffing objects that don't pass the filter.
29966 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29967 gst_element_set_bus.
29968 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29969 normal cases, this will destroy the bus.
29971 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29974 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29977 2005-05-13 Andy Wingo <wingo@pobox.com>
29979 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29980 gst_pad_link, call pad_link_maybe_ghosting,
29981 (pad_link_maybe_ghosting): Links pads, making sure that the
29982 elements being linked are in the same bin.
29983 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29984 Helpers for pad_link_maybe_ghosting.
29986 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29989 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29991 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29993 * docs/design/part-element-source.txt:
29996 2005-05-12 Wim Taymans <wim@fluendo.com>
29998 * gst/base/gstbasesink.c: (gst_basesink_init),
29999 (gst_basesink_activate):
30000 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30001 (gst_basesrc_is_seekable):
30002 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30003 (bin_element_is_sink), (gst_bin_change_state):
30004 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30005 * gst/gstelement.h:
30006 Identify sinks by their flag to avoid overly complicated
30008 Do state changes even for elements not reachable from the
30010 BaseSink is a sink now :)
30011 Some more debugging info in the basesrc.
30014 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30016 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30017 Implement _query on a bin, similar to _send_event.
30019 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30021 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30022 Discont event offset format should be GST_FORMAT_BYTES,
30023 not GST_FORMAT_TIME.
30025 2005-05-12 Wim Taymans <wim@fluendo.com>
30027 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30028 Same fix as Ronald's but without the signal.
30030 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30032 * gst/gstutils.c: (gst_element_query_position):
30033 No, an element is not a pad.
30035 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30037 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30038 (gst_bin_get_state):
30039 If a child is removed from a bin while we remove the child from
30040 the bin and while we're retrieving its state, signal this to the
30041 get_state function so we abort the wait (instead of waiting for
30042 a timeout) and can immediately re-iterate over all other elements.
30044 2005-05-12 Wim Taymans <wim@fluendo.com>
30046 * gst/base/Makefile.am:
30047 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30048 (gst_basesrc_start):
30049 * gst/base/gstbasesrc.h:
30050 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30051 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30052 (gst_pushsrc_init), (gst_pushsrc_create):
30053 * gst/base/gstpushsrc.h:
30054 Added is_seekable to BaseSrc
30055 Added simple PushSrc.
30057 2005-05-11 Wim Taymans <wim@fluendo.com>
30059 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30060 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30061 (gst_element_link_pads), (gst_element_query_position),
30062 (gst_element_query_convert), (intersect_caps_func),
30063 (gst_pad_query_position), (gst_pad_query_convert):
30064 Fix refcounting in utils function.
30065 No point in trying to activate a pad when it's added, it could
30066 be added from the state change function and then we deadlock, the
30067 element has to decide what to do.
30069 2005-05-10 Andy Wingo <wingo@pobox.com>
30071 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30072 *all* the arguments.
30074 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30075 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30076 lock (according to the docs -- if this is wrong change the docs).
30078 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30079 flush messages in the NULL state.
30081 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30082 message immediately and return.
30083 (gst_bus_set_flushing): New function. If a bus is flushing, it
30084 flushes out any queued messages and immediately unrefs new
30085 messages. This is so when an element goes to NULL, all of the
30086 unhandled messages coming from it can be freed, and their
30087 references to the element dropped. In other words: message source
30088 ref considered harmful :P
30090 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30091 we're finished with it.
30093 * gst/gstmessage.c (gst_message_new_state_changed):
30095 2005-05-10 Wim Taymans <wim@fluendo.com>
30097 * gst/gstvalue.c: (gst_value_compare_flags),
30098 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30099 (_gst_value_initialize):
30100 Added flags serialize/deserialize/compare code.
30102 2005-05-09 Andy Wingo <wingo@pobox.com>
30104 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30105 Intersect the peer's caps with our caps.
30107 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30109 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30110 * gst/elements/gsttypefindelement.c: (find_peek):
30111 Handle negative offsets better. Fixes decodebin.
30113 2005-05-09 Wim Taymans <wim@fluendo.com>
30115 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30116 (gst_base_transform_event):
30117 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30118 Implement accept_caps.
30119 Fix silly lock/unlock mismatch in base class.
30121 2005-05-09 Wim Taymans <wim@fluendo.com>
30123 * docs/design/draft-push-pull.txt:
30124 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30125 * gst/elements/gstfilesink.c: (gst_filesink_init),
30126 (gst_filesink_query):
30127 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30128 (gst_type_find_handle_src_query), (find_element_get_length):
30129 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30130 * gst/gstelement.h:
30131 * gst/gstmessage.c:
30132 * gst/gstmessage.h:
30133 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30134 (gst_real_pad_get_caps_unlocked),
30135 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30136 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30137 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30138 (gst_real_pad_dispose), (gst_real_pad_finalize),
30139 (gst_pad_load_and_link), (gst_pad_save_thyself),
30140 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30141 (gst_pad_check_pull_range), (gst_pad_pull_range),
30142 (gst_pad_template_get_type), (gst_pad_template_class_init),
30143 (gst_pad_template_init), (gst_pad_template_dispose),
30144 (name_is_valid), (gst_static_pad_template_get),
30145 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30146 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30147 (gst_pad_get_element_private), (gst_pad_start_task),
30148 (gst_pad_pause_task), (gst_pad_stop_task),
30149 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30150 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30151 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30152 (gst_ghost_pad_new):
30154 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30155 (gst_query_new_position), (gst_query_set_position),
30156 (gst_query_parse_position), (gst_query_new_convert),
30157 (gst_query_set_convert), (gst_query_parse_convert):
30159 * gst/gstqueryutils.c:
30160 * gst/gstqueryutils.h:
30161 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30162 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30163 (gst_queue_handle_src_query):
30164 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30165 (gst_element_query_position), (gst_element_query_convert),
30166 (intersect_caps_func), (gst_pad_query_position),
30167 (gst_pad_query_convert):
30169 * tools/gst-inspect.c: (print_pad_info):
30170 * tools/gst-xmlinspect.c: (print_element_info):
30171 Remove old query functions. Ported old code.
30172 Added position/convert helper functions to gstutils.
30173 Reordered gstpad.c code, grouping relevant things.
30174 Remove gst_message_new(), always need to speficy a specific
30178 2005-05-09 Andy Wingo <wingo@pobox.com>
30180 * gst/gstiterator.h: Add some includes.
30182 * gst/gstqueryutils.h: Include more headers.
30185 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30186 some uses of gst_pad_query.
30188 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30189 NULL out parameters.
30190 (gst_query_new_position): New proc, allocates a new position
30193 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30194 gstqueryutils.c to the build.
30196 * gst/gststructure.c (gst_structure_set_valist): Implement with
30197 the generic G_VALUE_COLLECT.
30199 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30201 * gst/Makefile.am: (gst_headers):
30202 Added gstqueryutils.h to the list of headers to install, that was
30203 a 'nachty' move wingo :)
30205 2005-05-06 Andy Wingo <wingo@pobox.com>
30208 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30209 GstData, init a memchunk.
30210 (standard_definitions): Add a few query types, deprecate a few.
30211 (gst_query_get_type): New proc.
30212 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30214 (gst_query_new_application, gst_query_get_structure): New public
30217 * docs/design/draft-query.txt: Removed LINKS from the query types,
30218 because all the rest can be dispatched to other pads -- seemed
30219 ugly to have a query that couldn't be dispatched. internal_links
30220 is fine as a pad method.
30222 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30223 in gstpad.c, but maintain binary compatibility for the moment.
30224 Will fix before 0.9 is out.
30226 * gst/gstqueryutils.c:
30227 * gst/gstqueryutils.h: New files, implement 3 methods for each
30228 query type: parse_query, parse_response, and set. Probably need an
30231 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30233 * gst/elements/gstfilesink.c (gst_filesink_query2):
30234 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30235 query_types, and formats methods.
30237 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30238 (gst_pad_set_query2_function): New functions.
30239 (gst_real_pad_init): Set query2_default as the default query2
30240 function. Basically just dispatches to internally linked pads.
30244 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30245 without using the atomic operations. Only one thread can possibly
30246 be accessing the data at this point. Changed so as to avoid
30247 gst_atomic operations.
30249 2005-05-06 Wim Taymans <wim@fluendo.com>
30251 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30252 Also set caps if we use the fallback buffer alloc.
30254 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30256 * docs/gst/Makefile.am:
30257 * docs/gst/gstreamer-docs.sgml:
30258 * docs/gst/gstreamer-sections.txt:
30259 * docs/gst/tmpl/gstatomic.sgml:
30260 * docs/gst/tmpl/gstmemchunk.sgml:
30261 * testsuite/elements/struct_i386.h:
30262 * win32/GStreamer.vcproj:
30264 Purge GstAtomic stuff from docs and win32 makefiles as well
30266 2005-05-06 Wim Taymans <wim@fluendo.com>
30268 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30269 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30270 * gst/gstpad.c: (gst_pad_peer_get_caps):
30271 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30272 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30273 (gst_queue_src_activate), (gst_queue_change_state):
30275 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30276 (intersect_caps_func):
30277 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30278 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30279 Some fixes for the peer_get_caps() change.
30281 2005-05-06 Wim Taymans <wim@fluendo.com>
30283 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30284 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30285 (gst_basesink_activate):
30286 Actually do something with error codes returned from the push
30289 2005-05-06 Wim Taymans <wim@fluendo.com>
30291 * docs/design/part-element-sink.txt:
30292 * docs/design/part-element-source.txt:
30293 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30294 (gst_basesink_event), (gst_basesink_activate):
30295 * gst/base/gstbasesink.h:
30296 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30297 (gst_basesrc_activate):
30298 * gst/base/gstbasesrc.h:
30299 * gst/gstelement.c: (gst_element_pads_activate):
30300 Some more documentation.
30301 Fixed scheduling decision in _pads_activate().
30303 2005-05-05 Andy Wingo <wingo@pobox.com>
30305 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30308 2005-05-05 Wim Taymans <wim@fluendo.com>
30310 * gst/base/Makefile.am:
30311 * gst/base/gstbasesink.h:
30312 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30313 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30314 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30315 (gst_collectpads_class_init), (gst_collectpads_init),
30316 (gst_collectpads_finalize), (gst_collectpads_new),
30317 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30318 (find_pad), (gst_collectpads_remove_pad),
30319 (gst_collectpads_is_active), (gst_collectpads_collect),
30320 (gst_collectpads_collect_range), (gst_collectpads_start),
30321 (gst_collectpads_stop), (gst_collectpads_peek),
30322 (gst_collectpads_pop), (gst_collectpads_available),
30323 (gst_collectpads_read), (gst_collectpads_flush),
30324 (gst_collectpads_chain):
30325 * gst/base/gstcollectpads.h:
30326 * gst/elements/Makefile.am:
30327 * gst/elements/gstelements.c:
30328 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30329 (gst_fakesink_get_times), (gst_fakesink_event),
30330 (gst_fakesink_preroll), (gst_fakesink_render):
30331 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30332 (gst_filesink_init), (gst_filesink_set_location),
30333 (gst_filesink_open_file), (gst_filesink_close_file),
30334 (gst_filesink_pad_query), (gst_filesink_event),
30335 (gst_filesink_render), (gst_filesink_change_state):
30336 * gst/elements/gstfilesink.h:
30337 Added object to help in making collect pad based elements.
30339 Make event function in sink baseclass return gboolean.
30341 2005-05-05 Wim Taymans <wim@fluendo.com>
30343 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30344 (gst_bin_get_by_name):
30346 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30347 (gst_clock_finalize):
30348 * gst/gstdata.c: (gst_data_replace):
30350 * gst/gstelement.c: (gst_element_request_pad),
30351 (gst_element_pads_activate):
30352 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30353 (gst_object_unref):
30354 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30355 (gst_pad_set_checkgetrange_function),
30356 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30357 (gst_pad_check_pull_range), (gst_pad_pull_range),
30358 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30359 (gst_pad_pause_task), (gst_pad_stop_task):
30360 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30361 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30362 Fix name lookup in GstBin.
30363 Added _data_replace() function and _buffer_replace()
30364 Use finalize method to clean up clock.
30365 Fix refcounting on request pads.
30366 Fix pad schedule mode error.
30367 Some more object refcounting debug info,
30370 2005-05-04 Andy Wingo <wingo@pobox.com>
30372 * check/Makefile.am:
30373 * docs/gst/tmpl/gstatomic.sgml:
30374 * docs/gst/tmpl/gstplugin.sgml:
30375 * gst/base/gstbasesink.c: (gst_basesink_activate):
30376 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30377 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30378 (gst_basesrc_query), (gst_basesrc_set_property),
30379 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30380 (gst_basesrc_activate):
30381 * gst/base/gstbasesrc.h:
30382 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30383 (gst_base_transform_src_activate):
30384 * gst/elements/gstelements.c:
30385 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30386 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30387 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30388 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30389 (gst_type_find_element_checkgetrange),
30390 (gst_type_find_element_activate):
30391 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30392 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30393 (gst_caps_load_thyself):
30394 * gst/gstelement.c: (gst_element_pads_activate),
30395 (gst_element_save_thyself), (gst_element_restore_thyself):
30396 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30397 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30399 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30400 (gst_xml_parse_file), (gst_xml_parse_memory),
30401 (gst_xml_get_element), (gst_xml_make_element):
30402 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30403 (_file_index_id_save_xml), (gst_file_index_commit):
30404 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30405 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30407 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30408 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30409 * tools/gst-complete.c: (main):
30410 * tools/gst-compprep.c: (main):
30411 * tools/gst-inspect.c: (print_element_properties_info):
30412 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30413 * tools/gst-xmlinspect.c: (print_element_properties):
30416 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30418 * gst/gstplugin.c: (gst_plugin_check_module),
30419 (gst_plugin_check_file), (gst_plugin_load_file):
30420 apply patch from #172526 to make register work on MacOSX
30422 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30424 * docs/gst/tmpl/gstconfig.sgml:
30425 * gst/gstconfig.h.in:
30426 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30427 * testsuite/debug/printf_extension.c: (main):
30428 Do not use GST_PTR_FORMAT on pointers to types with
30429 sizeof < sizeof(gpointer). Fixes test on 64-bit
30430 * testsuite/elements/property.h:
30431 use correct printf format
30433 2005-05-02 Wim Taymans <wim@fluendo.com>
30435 * docs/design/draft-push-pull.txt:
30436 * docs/design/draft-query.txt:
30437 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30438 (gst_basesrc_start):
30439 Added draft for new query API.
30440 Added draft for better selecting scheduling methods.
30441 Make basesrc ignore length if the subclass does not support
30444 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30447 possible fixes for automake-1.5 - _LIBADD is reserved
30449 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30451 * docs/faq/Makefile.am:
30452 * docs/manual/Makefile.am:
30453 * docs/manuals.mak:
30454 * docs/pwg/Makefile.am:
30456 possible fixes for automake-1.5
30458 2005-04-28 Wim Taymans <wim@fluendo.com>
30460 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30461 (gst_basesink_pad_getcaps), (gst_basesink_init),
30462 (gst_basesink_do_sync):
30463 * gst/gstclock.c: (gst_clock_entry_new):
30464 * gst/gstevent.c: (gst_event_discont_get_value):
30465 * gst/gstpipeline.c: (pipeline_bus_handler),
30466 (gst_pipeline_change_state):
30467 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30468 Better debugging of clocking info.
30469 Allow NULL values when getting discont values.
30471 2005-04-27 Wim Taymans <wim@fluendo.com>
30473 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30474 * check/gst/gstpad.c: (gst_pad_suite):
30475 Increase timeout for checks.
30477 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30479 * check/Makefile.am:
30480 fix the broken rule for cleanup. Apparently this rule is
30481 only needed on FC2, so maybe this warrants further autotool
30484 2005-04-26 Wim Taymans <wim@fluendo.com>
30486 * gst/gsttrashstack.h:
30487 Ooohh. a nasty one! After having a failed pop() from the stack,
30488 it's possible that the stack is empty. In that case, don't
30489 follow the NULL pointer.
30491 2005-04-25 Wim Taymans <wim@fluendo.com>
30493 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30494 (gst_pad_set_checkgetrange_function),
30495 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30496 (gst_pad_check_pull_range), (gst_pad_pull_range),
30497 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30498 (gst_pad_pause_task), (gst_pad_stop_task):
30499 * gst/gstplugin.c: (gst_plugin_load):
30501 Remove gst_library_load as it does more harm than good with
30502 the new g_module flags.
30503 Revert bogus caps template check in pad linking, pad caps
30504 are important when linking not the template, which is more
30505 general than the current caps.
30507 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30509 * gst/autoplug/.cvsignore:
30510 * gst/autoplug/Makefile.am:
30511 * gst/autoplug/gstsearchfuncs.c:
30512 * gst/autoplug/gstsearchfuncs.h:
30513 * gst/autoplug/gstspider.c:
30514 * gst/autoplug/gstspider.h:
30515 * gst/autoplug/gstspideridentity.c:
30516 * gst/autoplug/gstspideridentity.h:
30517 * gst/autoplug/spidertest.c:
30520 2005-04-25 Wim Taymans <wim@fluendo.com>
30522 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30523 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30524 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30525 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30527 Added stubs for unimplemented functions.
30529 2005-04-24 David Schleef <ds@schleef.org>
30531 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30534 2005-04-24 David Schleef <ds@schleef.org>
30536 Convert everything from GstAtomicInt to g_atomic_int_*, and
30541 * gst/gstatomic_impl.h:
30549 * gst/gstdata_private.h:
30553 * gst/gstmessage.c:
30556 * gst/gststructure.c:
30557 * gst/gststructure.h:
30558 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30561 2005-04-24 David Schleef <ds@schleef.org>
30563 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30564 make the regressions tests work. Remove some code that is no
30566 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30567 Disable warning for pads without templates.
30569 2005-04-24 David Schleef <ds@schleef.org>
30571 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30572 functions that handle filtered links.
30573 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30575 * gst/gstutils.c: Fix/remove utility functions that handle
30578 * gst/gstvalue.c: Add serialization/deserialization of caps
30579 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30580 requires fixing so that the filter caps notation creates
30581 a capsfilter element and sets the filter_caps property. I
30582 think everyone probably wants to keep the shorthand notation.
30583 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30584 * docs/gst/tmpl/gstpad.sgml:
30586 * gst/elements/gstelements.c: Register capsfilter element.
30587 * gst/Makefile.am: fix spacing
30588 * docs/random/ds/0.9-suggested-changes: random
30590 2005-04-23 David Schleef <ds@schleef.org>
30592 * gst/elements/Makefile.am:
30593 * gst/elements/gstcapsfilter.c: New element that acts like an
30594 identity, but filters caps. Will eventually replace filtered
30595 caps in pad linking.
30596 * gst/gstutils.c: (gst_element_create_all_pads): New function
30597 to create all the ALWAYS pads that are registered with an
30598 element class. This functionality should eventually be
30599 merged in with GstElement initialization.
30601 * testsuite/trigger/README: part of trigger test code that should
30602 have been checked in a long time ago.
30604 2005-04-23 David Schleef <ds@schleef.org>
30606 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30607 needed with new versions of libtool (nobody will confirm this),
30608 and hard to carry around.
30609 * gst/autoplug/Makefile.am:
30610 * gst/base/Makefile.am:
30611 * gst/elements/Makefile.am:
30612 * gst/indexers/Makefile.am:
30613 * gst/schedulers/Makefile.am:
30614 * libs/gst/bytestream/Makefile.am:
30615 * libs/gst/control/Makefile.am:
30616 * libs/gst/dataprotocol/Makefile.am:
30617 * libs/gst/getbits/Makefile.am:
30619 2005-04-21 Wim Taymans <wim@fluendo.com>
30621 * docs/design/draft-push-pull.txt:
30622 * docs/design/part-MT-refcounting.txt:
30623 * docs/design/part-TODO.txt:
30624 * docs/design/part-caps.txt:
30625 * docs/design/part-events.txt:
30626 * docs/design/part-gstbus.txt:
30627 * docs/design/part-gstpipeline.txt:
30628 * docs/design/part-messages.txt:
30629 * docs/design/part-push-pull.txt:
30630 * docs/design/part-query.txt:
30633 2005-04-21 Wim Taymans <wim@fluendo.com>
30635 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30636 (gst_message_new), (gst_message_new_error),
30637 (gst_message_new_warning), (gst_message_new_tag),
30638 (gst_message_new_state_changed), (gst_message_new_application),
30639 (gst_message_get_structure):
30640 * gst/gstmessage.h:
30641 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30642 (gst_structure_copy_conditional):
30643 Use parent refcount in GstMessage to ensure GstStructure
30645 Cleaned up headers a bit.
30648 2005-04-20 Wim Taymans <wim@fluendo.com>
30650 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30651 (gst_basesink_pad_getcaps), (gst_basesink_init),
30652 (gst_basesink_chain_unlocked):
30653 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30654 (gst_type_find_helper):
30655 * gst/elements/gsttypefindelement.c:
30656 (gst_type_find_element_have_type), (gst_type_find_element_init),
30657 (stop_typefinding), (gst_type_find_element_handle_event),
30658 (find_suggest), (gst_type_find_element_chain),
30659 (gst_type_find_element_checkgetrange),
30660 (gst_type_find_element_getrange), (do_typefind),
30661 (gst_type_find_element_activate):
30662 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30663 (gst_buffer_default_free), (gst_buffer_default_copy),
30664 (gst_buffer_set_caps):
30665 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30666 (gst_caps_replace):
30667 * gst/gstmessage.c: (gst_message_new),
30668 (gst_message_new_state_changed):
30669 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30670 (gst_pad_set_checkgetrange_function),
30671 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30672 (gst_pad_set_caps), (gst_pad_check_pull_range),
30673 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30675 * gst/gsttypefind.c: (gst_type_find_register):
30676 Make gst_caps_replace() work like other _replace() functions.
30677 Use _caps_replace() where possible.
30678 Make sure _message_new() initialises its field.
30679 Add gst_static_pad_template_get_caps()
30682 2005-04-18 Andy Wingo <wingo@pobox.com>
30684 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30685 on the peer, not the pad. I think that was a typo. Pass an extra
30686 arg to see if random access is possible. Activate the pads as
30687 PULL_RANGE if possible.
30689 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30691 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30692 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30695 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30697 * docs/faq/using.xml:
30698 Add note on gstreamer-properties (#154996).
30700 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30702 * docs/random/bbb/optional-properties:
30703 Some analysis on optional properties.
30705 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30707 * docs/gst/tmpl/gstelementfactory.sgml:
30708 * gst/gstelement.h:
30709 * gst/gstelementfactory.c: (gst_element_factory_init),
30710 (gst_element_factory_cleanup), (gst_element_register),
30711 (__gst_element_factory_add_static_pad_template),
30712 (gst_element_factory_get_static_pad_templates),
30713 (gst_element_factory_can_src_caps),
30714 (gst_element_factory_can_sink_caps):
30715 * gst/registries/Makefile.am:
30716 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30717 (gst_xml_registry_class_init), (gst_xml_registry_init),
30718 (gst_xml_registry_new), (gst_xml_registry_set_property),
30719 (gst_xml_registry_get_property), (get_time), (make_dir),
30720 (gst_xml_registry_get_perms_func),
30721 (plugin_times_older_than_recurse), (plugin_times_older_than),
30722 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30723 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30724 (add_to_char_array), (read_string), (read_uint), (read_enum),
30725 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30726 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30727 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30728 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30729 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30730 (gst_xml_registry_rebuild):
30731 * gst/registries/gstlibxmlregistry.h:
30732 * tools/gst-compprep.c: (main):
30733 * tools/gst-inspect.c: (print_pad_templates_info):
30734 * tools/gst-xmlinspect.c: (print_element_info):
30735 Use libxml2 for registry parsing, use staticpadtemplates in
30736 elementfactories. Makes gst_init() +/- 10x faster.
30738 2005-04-12 Wim Taymans <wim@fluendo.com>
30740 * gst/base/Makefile.am:
30741 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30742 (gst_basesink_pad_getcaps), (gst_basesink_init),
30743 (gst_basesink_event), (gst_basesink_change_state):
30744 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30745 (gst_basesrc_init), (gst_basesrc_query),
30746 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30747 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30748 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30749 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30750 (gst_basesrc_stop), (gst_basesrc_activate),
30751 (gst_basesrc_change_state):
30752 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30753 (helper_find_suggest), (gst_type_find_helper):
30754 * gst/base/gsttypefindhelper.h:
30755 * gst/elements/Makefile.am:
30756 * gst/elements/gstelements.c:
30757 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30758 (gst_fakesink_get_times), (gst_fakesink_event),
30759 (gst_fakesink_preroll), (gst_fakesink_render):
30760 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30761 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30762 (gst_fakesrc_get_property), (gst_fakesrc_create),
30763 (gst_fakesrc_start), (gst_fakesrc_stop):
30764 * gst/elements/gstfakesrc.h:
30765 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30766 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30767 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30768 (gst_filesrc_create_read), (gst_filesrc_create),
30769 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30770 (gst_filesrc_start):
30771 * gst/elements/gsttypefindelement.c:
30772 (gst_type_find_element_have_type), (gst_type_find_element_init),
30773 (start_typefinding), (stop_typefinding), (push_buffer_store),
30774 (gst_type_find_element_handle_event),
30775 (gst_type_find_element_chain),
30776 (gst_type_find_element_checkgetrange),
30777 (gst_type_find_element_getrange), (do_typefind),
30778 (gst_type_find_element_activate),
30779 (gst_type_find_element_change_state):
30780 * gst/elements/gsttypefindelement.h:
30781 * gst/gstpipeline.c: (pipeline_bus_handler):
30782 Added typefind helper.
30783 Small preroll fix in the base sink.
30784 Disable typefind code in basesrc.
30785 Crude port of typefindelement.
30789 2005-04-11 Wim Taymans <wim@fluendo.com>
30791 * check/gst/gstbus.c: (gstbus_suite):
30792 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30793 * check/gstcheck.h:
30794 Fix up the timeout so that the test does not fail.
30796 2005-04-06 Wim Taymans <wim@fluendo.com>
30799 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30800 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30801 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30802 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30803 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30804 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30805 (gst_basesrc_stop), (gst_basesrc_activate),
30806 (gst_basesrc_change_state), (basesrc_find_peek),
30807 (basesrc_find_suggest), (gst_basesrc_type_find):
30808 * gst/base/gstbasesrc.h:
30809 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30810 (gst_filesrc_class_init), (gst_filesrc_init),
30811 (gst_filesrc_finalize), (gst_filesrc_set_location),
30812 (gst_filesrc_set_property), (gst_filesrc_get_property),
30813 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30814 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30815 (gst_filesrc_create_read), (gst_filesrc_create),
30816 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30817 * gst/elements/gstfilesrc.h:
30818 * gst/gstelement.c: (gst_element_get_state_func),
30819 (gst_element_lost_state), (gst_element_pads_activate):
30820 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30821 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30822 (gst_pad_pull_range):
30824 More work on the generic source base class, implement seeking,
30826 Make filesrc extend the base source class.
30827 Added gst_pad_set_checkgetrange_function to GstPad.
30829 2005-04-06 Andy Wingo <wingo@pobox.com>
30831 * pkgconfig/gstreamer-base.pc.in:
30832 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30834 * pkgconfig/Makefile.am:
30835 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30837 2005-04-04 Wim Taymans <wim@fluendo.com>
30839 * gst/base/Makefile.am:
30841 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30842 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30843 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30844 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30845 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30846 (gst_basesrc_base_init), (gst_basesrc_class_init),
30847 (gst_basesrc_init), (gst_basesrc_get_formats),
30848 (gst_basesrc_get_query_types), (gst_basesrc_query),
30849 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30850 (gst_basesrc_set_property), (gst_basesrc_get_property),
30851 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30852 (gst_basesrc_loop), (gst_basesrc_activate),
30853 (gst_basesrc_change_state):
30854 * gst/base/gstbasesrc.h:
30855 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30856 (gst_fakesrc_class_init), (gst_fakesrc_init),
30857 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30858 (gst_fakesrc_get_property), (gst_fakesrc_create):
30859 * gst/elements/gstfakesrc.h:
30860 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30861 (gst_filesrc_open_file), (gst_filesrc_loop),
30862 (gst_filesrc_activate), (filesrc_find_peek),
30863 (gst_filesrc_type_find):
30864 Made base source class, make fakesrc extend it.
30865 Add comments to basesink class.
30866 Some filesrc cleanup.
30868 2005-03-31 David Schleef <ds@schleef.org>
30870 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30871 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30872 expected to link against libgstreamer.
30873 * gst/base/Makefile.am: link against libgstreamer
30874 * gst/elements/Makefile.am: same
30876 2005-03-31 Andy Wingo <wingo@pobox.com>
30878 * tests/instantiate/Makefile.am:
30879 * tests/instantiate/caps.c: Add test to test speed of caps copy
30882 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30883 GMemChunk to be fair.
30885 * gst/gsttrashstack.h: Remove warning about using the fallback
30886 trash stack implementation, it's still faster than malloc.
30888 2005-03-30 Andy Wingo <wingo@pobox.com>
30890 * tests/complexity.c: Add a copyright.
30892 2005-03-31 Wim Taymans <wim@fluendo.com>
30894 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30895 (gst_base_transform_class_init), (gst_base_transform_init),
30896 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30897 (gst_base_transform_get_property),
30898 (gst_base_transform_sink_activate),
30899 (gst_base_transform_src_activate),
30900 (gst_base_transform_change_state):
30901 * gst/base/gstbasetransform.h:
30902 * gst/elements/gstidentity.c: (gst_identity_class_init),
30903 (gst_identity_event), (gst_identity_check_perfect),
30904 (gst_identity_transform), (gst_identity_start),
30905 (gst_identity_stop):
30906 Added start/stop methods to transform base class so subclasses
30907 don't need to deal with state changes even.
30909 2005-03-31 Wim Taymans <wim@fluendo.com>
30911 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30912 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30914 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30915 (gst_pad_pull_range):
30916 Added rate to the discont event to prepare for variable speed
30917 and reverse playback.
30919 2005-03-29 David Schleef <ds@schleef.org>
30922 * testsuite/trigger/Makefile.am:
30923 * testsuite/trigger/trigger.c: A little example program to show
30924 how trigger-based elements can work.
30926 2005-03-29 Wim Taymans <wim@fluendo.com>
30928 * gst/base/Makefile.am:
30930 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30931 (gst_basesink_base_init), (gst_basesink_class_init),
30932 (gst_basesink_pad_getcaps), (gst_basesink_init),
30933 (gst_basesink_activate), (gst_basesink_change_state):
30934 * gst/base/gstbasesink.h:
30935 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30936 (gst_base_transform_base_init), (gst_base_transform_finalize),
30937 (gst_base_transform_class_init), (gst_base_transform_init),
30938 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30939 (gst_base_transform_event), (gst_base_transform_getrange),
30940 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30941 (gst_base_transform_set_property),
30942 (gst_base_transform_get_property),
30943 (gst_base_transform_sink_activate),
30944 (gst_base_transform_src_activate),
30945 (gst_base_transform_change_state):
30946 * gst/base/gstbasetransform.h:
30947 * gst/elements/gstidentity.c: (gst_identity_finalize),
30948 (gst_identity_class_init), (gst_identity_init),
30949 (gst_identity_event), (gst_identity_check_perfect),
30950 (gst_identity_transform), (gst_identity_set_property),
30951 (gst_identity_get_property), (gst_identity_change_state):
30952 * gst/elements/gstidentity.h:
30953 * gst/gstelement.c: (gst_element_get_state_func),
30954 (gst_element_lost_state), (gst_element_pads_activate):
30955 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30956 (gst_pad_check_pull_range), (gst_pad_pull_range):
30958 Simplify pad activation.
30959 Added function to check if pull_range can be performed.
30960 Error out when pulling inactive or flushing pads.
30961 Removed const from refcounted types as it does not make sense.
30962 Simplify pad templates in basesink
30963 Added base class for simple 1-to-1 transforms.
30964 Make identity subclass the base transform.
30966 2005-03-29 Andy Wingo <wingo@pobox.com>
30968 * docs/libs/gstreamer-libs-overrides.txt:
30969 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30970 really don't understand what's going on, but like whatever. I want
30973 * docs/gst/Makefile.am:
30974 * docs/libs/Makefile.am: Dist the overrides files.
30976 * check/Makefile.am (clean-local): Remove .libs directories.
30978 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30979 elements to EXTRA_DIST, so po/ files are happy.
30981 * po/POTFILES.in: Er, remove it here.
30983 * po/POTFILES: Remove gstspider.c.
30985 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30987 * docs/libs/gstreamer-libs-docs.sgml:
30988 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30991 * tests/complexity.c (main): Set the length of the preroll queue
30992 on the sinks to prevent a lockup.
30994 * libs/gst/dataprotocol/Makefile.am:
30995 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30996 the same as the one in check/gst-libs/gdp.c.
30998 * po/, docs/gst/: Commit automatic changes to docs and po files.
31000 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31001 the versioned libgstbase.
31003 * check/Makefile.am: Depend on an unversioned gst-register, seems
31004 to make autoconf happier.
31006 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31008 2005-03-28 Wim Taymans <wim@fluendo.com>
31011 * docs/design/part-gstelement.txt:
31012 * docs/design/part-negotiation.txt:
31013 * docs/design/part-preroll.txt:
31014 * docs/design/part-scheduling.txt:
31015 * docs/design/part-states.txt:
31017 * gst/base/Makefile.am:
31019 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31020 (gst_basesink_base_init), (gst_basesink_class_init),
31021 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31022 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31023 (gst_basesink_set_pad_functions),
31024 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31025 (gst_basesink_set_property), (gst_basesink_get_property),
31026 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31027 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31028 (gst_basesink_preroll_queue_push),
31029 (gst_basesink_preroll_queue_empty),
31030 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31031 (gst_basesink_event), (gst_basesink_get_times),
31032 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31033 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31034 (gst_basesink_loop), (gst_basesink_activate),
31035 (gst_basesink_change_state):
31036 * gst/base/gstbasesink.h:
31037 * gst/elements/Makefile.am:
31038 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31039 (gst_fakesink_class_init), (gst_fakesink_init),
31040 (gst_fakesink_set_property), (gst_fakesink_get_property),
31041 (gst_fakesink_get_times), (gst_fakesink_event),
31042 (gst_fakesink_preroll), (gst_fakesink_render),
31043 (gst_fakesink_change_state):
31044 * gst/elements/gstfakesink.h:
31045 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31046 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31047 * gst/gstelement.c: (gst_element_add_pad),
31048 (gst_element_get_state_func), (gst_element_abort_state),
31049 (gst_element_commit_state), (gst_element_lost_state),
31050 (gst_element_set_state), (gst_element_pads_activate):
31051 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31052 * gst/gstpipeline.c: (gst_pipeline_send_event),
31053 (gst_pipeline_change_state):
31054 Added state change code.
31055 Added/updated docs.
31056 Added sink base class, make fakesink extend the base class.
31057 Small cleanups in GstPipeline.
31059 2005-03-26 David Schleef <ds@schleef.org>
31061 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31062 is broken and should be implemented in a different library.
31063 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31064 * gst/gst.h: remove gstcpu.h
31065 * gst/gstcpu.c: remove
31066 * gst/gstcpu.h: remove
31067 * gst/Makefile.am.future: Remove this file. It's ancient.
31069 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31071 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31072 (gst_bin_send_event):
31073 Add default event/set_manager handlers. The set_manager handler
31074 takes care that the manager is distributed over kids that were
31075 already in the bin before the manager was set. The event handler
31076 is a utility virtual function that sends the event over all sinks,
31077 so that gst_element_send_event (bin, event); has the expected
31079 * gst/gstpad.c: (gst_pad_event_default):
31080 Re-install default event handling for discontinuities, so that
31081 seeking works without requiring hacks in applications or extra
31083 * gst/gstpipeline.c: (gst_pipeline_class_init),
31084 (gst_pipeline_send_event):
31085 Half hack, half utility: set a pipeline to PAUSED for seek events,
31086 since that is the only way we can guarantee a/v sync. Means that
31087 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31088 and it "just works".
31090 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31092 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31093 Lock/unlock mismatch.
31095 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31097 * docs/faq/gst-uninstalled:
31098 add gst-plugins-base
31099 * docs/gst/Makefile.am:
31100 don't error out until docs are fixed
31101 * docs/gst/gstreamer.types:
31104 2005-03-22 Wim Taymans <wim@fluendo.com>
31106 * check/Makefile.am:
31107 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31108 * gst/gststructure.c: (gst_structure_set_valist),
31109 (gst_structure_copy_conditional):
31110 Activated more tests.
31111 Added message test.
31112 Added G_TYPE_POINTER to GstStructure.
31115 2005-03-22 Wim Taymans <wim@fluendo.com>
31117 * docs/design/part-TODO.txt:
31118 * docs/design/part-events.txt:
31119 * docs/design/part-gstbin.txt:
31120 * docs/design/part-gstbus.txt:
31121 * docs/design/part-gstpipeline.txt:
31122 * docs/design/part-messages.txt:
31124 * gst/gstmessage.c:
31127 2005-03-21 Wim Taymans <wim@fluendo.com>
31129 * gst/gstbus.c: (gst_bus_post):
31130 Fix copy-and-paste error.
31132 2005-03-21 Wim Taymans <wim@fluendo.com>
31134 * check/Makefile.am:
31136 * gst/elements/Makefile.am:
31137 * gst/elements/gstelements.c:
31138 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31139 (gst_fakesink_event), (gst_fakesink_chain):
31140 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31141 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31142 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31143 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31144 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31145 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31146 (gst_fakesrc_loop), (gst_fakesrc_activate),
31147 (gst_fakesrc_change_state):
31148 * gst/elements/gstfakesrc.h:
31149 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31150 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31151 (gst_filesrc_open_file), (gst_filesrc_loop),
31152 (gst_filesrc_activate), (gst_filesrc_change_state),
31153 (filesrc_find_peek), (filesrc_find_suggest),
31154 (gst_filesrc_type_find):
31155 * gst/elements/gstidentity.c: (gst_identity_finalize),
31156 (gst_identity_class_init), (gst_identity_init),
31157 (gst_identity_proxy_getcaps), (identity_queue_push),
31158 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31159 (gst_identity_getrange), (gst_identity_chain),
31160 (gst_identity_sink_loop), (gst_identity_src_loop),
31161 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31162 (gst_identity_set_property), (gst_identity_get_property),
31163 (gst_identity_change_state):
31164 * gst/elements/gstidentity.h:
31165 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31166 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31167 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31168 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31169 (gst_tee_sink_activate):
31170 * gst/elements/gsttee.h:
31171 * gst/gst.c: (gst_register_core_elements), (init_post):
31173 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31174 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31175 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31176 (gst_bin_change_state):
31178 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31179 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31180 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31181 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31182 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31183 (bus_watch_callback), (bus_watch_destroy),
31184 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31185 (poll_timeout), (gst_bus_poll):
31189 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31190 (gst_element_post_message), (gst_element_message_full),
31191 (gst_element_get_state_func), (gst_element_get_state),
31192 (gst_element_abort_state), (gst_element_commit_state),
31193 (gst_element_lost_state), (gst_element_set_state),
31194 (gst_element_pads_activate), (gst_element_change_state),
31195 (gst_element_dispose), (gst_element_set_manager_func),
31196 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31197 (gst_element_set_manager), (gst_element_get_manager),
31198 (gst_element_set_bus), (gst_element_get_bus),
31199 (gst_element_set_scheduler), (gst_element_get_scheduler):
31200 * gst/gstelement.h:
31201 * gst/gstevent.c: (gst_event_new_segment_seek),
31202 (gst_event_new_flush):
31204 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31205 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31206 (gst_message_new_eos), (gst_message_new_error),
31207 (gst_message_new_warning), (gst_message_new_tag),
31208 (gst_message_new_state_changed), (gst_message_new_application),
31209 (gst_message_get_structure), (gst_message_parse_tag),
31210 (gst_message_parse_state_changed), (gst_message_parse_error),
31211 (gst_message_parse_warning):
31212 * gst/gstmessage.h:
31213 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31214 (gst_real_pad_set_property), (gst_pad_set_active),
31215 (gst_pad_is_active), (gst_pad_set_blocked_async),
31216 (gst_pad_set_blocked), (gst_pad_is_blocked),
31217 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31218 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31219 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31220 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31221 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31222 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31223 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31224 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31225 (gst_pad_set_caps), (gst_pad_configure_sink),
31226 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31227 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31228 (gst_real_pad_dispose), (gst_real_pad_finalize),
31229 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31230 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31231 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31233 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31234 (pipeline_bus_handler), (gst_pipeline_change_state),
31235 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31236 * gst/gstpipeline.h:
31238 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31239 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31240 (gst_queue_link_src), (gst_queue_bufferalloc),
31241 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31242 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31243 (gst_queue_loop), (gst_queue_handle_src_event),
31244 (gst_queue_handle_src_query), (gst_queue_src_activate),
31245 (gst_queue_change_state):
31247 * gst/gstscheduler.c: (gst_scheduler_init),
31248 (gst_scheduler_dispose), (gst_scheduler_create_task),
31249 (gst_scheduler_factory_create):
31250 * gst/gstscheduler.h:
31251 * gst/gststructure.c: (gst_structure_get_type),
31252 (gst_structure_copy_conditional):
31253 * gst/gststructure.h:
31254 * gst/gsttaginterface.h:
31255 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31256 (gst_task_init), (gst_task_dispose), (gst_task_create),
31257 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31263 * gst/schedulers/Makefile.am:
31264 * gst/schedulers/cothreads_compat.h:
31265 * gst/schedulers/entryscheduler.c:
31266 * gst/schedulers/faircothreads.c:
31267 * gst/schedulers/faircothreads.h:
31268 * gst/schedulers/fairscheduler.c:
31269 * gst/schedulers/gstbasicscheduler.c:
31270 * gst/schedulers/gstoptimalscheduler.c:
31271 * gst/schedulers/gthread-cothreads.h:
31272 * gst/schedulers/threadscheduler.c:
31273 (gst_thread_scheduler_task_get_type),
31274 (gst_thread_scheduler_task_class_init),
31275 (gst_thread_scheduler_task_init),
31276 (gst_thread_scheduler_task_start),
31277 (gst_thread_scheduler_task_stop),
31278 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31279 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31280 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31281 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31283 * libs/gst/Makefile.am:
31284 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31285 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31286 (gst_file_pad_parent_set):
31287 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31288 (gst_dp_event_from_packet):
31289 * tests/complexity.c: (main):
31290 * tests/mass_elements.c: (main):
31291 * testsuite/states/locked.c: (message_received), (main):
31292 * testsuite/states/parent.c: (main):
31293 * tools/gst-inspect.c: (print_element_flag_info),
31294 (print_implementation_info), (print_pad_info):
31295 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31297 * tools/gst-md5sum.c: (event_loop), (main):
31298 * tools/gst-typefind.c: (main):
31299 * tools/gst-xmlinspect.c: (print_element_info):
31301 Added GstBus for mainloop integration.
31302 Added GstMessage for sending notifications on the bus.
31303 Added GstTask as an abstraction for pipeline entry points.
31305 Removed Schedulers.
31306 Simplified GstQueue for multithreaded core.
31307 Made _link threadsafe, removed old capsnego.
31308 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31309 Added pad blocking functions.
31310 Reworked scheduling functions in GstPad to prepare for
31311 scheduling updates soon.
31312 Moved events out of data stream.
31313 Simplified GstEvent types.
31314 Added return values to push/pull.
31315 Removed clocking from GstElement.
31316 Added prototypes for state change function for next merge.
31317 Removed iterate from bins and state change management.
31318 Fixed some elements, disabled others for now.
31319 Fixed -inspect and -launch.
31320 Added check for GstBus.
31322 2005-03-10 Wim Taymans <wim@fluendo.com>
31324 * docs/design/part-MT-refcounting.txt:
31325 * docs/design/part-clocks.txt:
31326 * docs/design/part-gstelement.txt:
31327 * docs/design/part-gstobject.txt:
31328 * docs/design/part-standards.txt:
31329 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31330 (gst_bin_remove_func), (gst_bin_remove):
31334 * testsuite/clock/clock1.c: (main):
31335 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31337 * testsuite/dlopen/loadgst.c: (do_test):
31338 * testsuite/refcounting/bin.c: (add_remove_test1),
31339 (add_remove_test2), (main):
31340 * testsuite/refcounting/element.c: (main):
31341 * testsuite/refcounting/element_pad.c: (main):
31342 * testsuite/refcounting/pad.c: (main):
31343 * tools/gst-launch.c: (sigint_handler_sighandler):
31344 * tools/gst-typefind.c: (main):
31346 Added doc about clock.
31347 removed gst_bin_iterate_recurse_up(), marked methods
31349 Fix more testsuites.
31351 2005-03-09 Wim Taymans <wim@fluendo.com>
31353 * gst/gstpad.c: (gst_pad_get_direction),
31354 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31355 (gst_pad_collect_valist):
31356 * testsuite/bins/interface.c: (main):
31357 * testsuite/caps/audioscale.c: (test_caps):
31358 * testsuite/caps/caps.c: (test1), (test2), (test3):
31359 * testsuite/caps/deserialize.c: (main):
31360 * testsuite/caps/enumcaps.c: (main):
31361 * testsuite/caps/filtercaps.c: (main):
31362 * testsuite/caps/intersect2.c: (main):
31363 * testsuite/caps/random.c: (main):
31364 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31365 * testsuite/caps/sets.c: (check_caps):
31366 * testsuite/caps/simplify.c: (check_caps), (main):
31367 * testsuite/caps/subtract.c: (check_caps):
31368 Fix _pad_get_direction wrt ghostpads.
31369 Fix caps testsuite.
31371 2005-03-09 Wim Taymans <wim@fluendo.com>
31373 * check/Makefile.am:
31374 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31375 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31376 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31377 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31378 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31379 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31380 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31381 (bin_element_is_sink), (gst_bin_iterate_sinks),
31382 (gst_bin_iterate_all_by_interface):
31384 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31385 (gst_element_change_state), (gst_element_dispose),
31386 (gst_element_finalize), (gst_element_set_loop_function):
31387 * gst/gstelement.h:
31388 * gst/gstiterator.c: (find_custom_fold_func):
31389 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31390 (gst_pad_collectv), (gst_pad_collect_valist),
31391 (gst_pad_template_new):
31392 * gst/gstpipeline.c: (gst_pipeline_class_init),
31393 (gst_pipeline_dispose), (gst_pipeline_set_property),
31394 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31395 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31396 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31398 * gst/schedulers/entryscheduler.c:
31399 * gst/schedulers/gstbasicscheduler.c:
31400 (gst_basic_scheduler_cothreaded_chain),
31401 (gst_basic_scheduler_chain_add_element):
31402 * testsuite/bins/interface.c: (main):
31404 Added GstSystemClock test.
31405 Implemented clock distribution code in GstBin.
31406 Implemented iterate sinks method for future use.
31407 Rearranged gstelement.h
31408 Fix GstIterator comparison bug.
31409 Moved some code to GstPipeline, mostly clocking related.
31411 2005-03-09 Wim Taymans <wim@fluendo.com>
31414 * gst/gst_private.h:
31415 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31416 (gst_bin_remove_func), (gst_bin_remove),
31417 (gst_bin_get_by_name_recurse_up):
31418 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31419 (gst_clock_id_compare_func), (gst_clock_id_wait),
31420 (gst_clock_id_wait_async), (gst_clock_init),
31421 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31422 * gst/gstelement.h:
31423 * gst/gstinfo.c: (_gst_debug_init):
31425 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31426 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31428 Bump version number, we're now 0.9.0
31429 Add future debugging category.
31430 Fix NULL _unref() in _get_by_name_recurse_up
31431 Rearrange gstpad.h.
31434 2005-03-08 Wim Taymans <wim@fluendo.com>
31436 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31437 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31438 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31439 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31440 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31441 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31442 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31443 * gst/elements/gstidentity.c: (gst_identity_class_init):
31444 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31445 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31446 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31447 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31448 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31450 * gst/gstelement.c: (gst_element_class_init),
31451 (gst_element_base_class_init), (gst_element_init),
31452 (gst_element_get_random_pad), (gst_element_wait_state_change),
31453 (gst_element_change_state), (gst_element_dispose),
31454 (gst_element_finalize), (gst_element_set_loop_function):
31455 * gst/gstelement.h:
31456 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31457 * gst/gstthread.c: (gst_thread_class_init),
31458 (gst_thread_release_children_locks), (gst_thread_change_state):
31459 * gst/schedulers/gstbasicscheduler.c:
31460 (gst_basic_scheduler_loopfunc_wrapper),
31461 (gst_basic_scheduler_chain_wrapper),
31462 (gst_basic_scheduler_src_wrapper),
31463 (gst_basic_scheduler_remove_element):
31464 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31465 Remove threadsafe properties. Fix elements because GObject
31466 complains when installing a property before declaring a
31467 set/get_property handler.
31468 Rearrange gstelement.h file, use STATE macros for state locks.
31469 Free mutexes in the finalize method instead of dispose.
31471 2005-03-08 Wim Taymans <wim@fluendo.com>
31473 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31474 * gst/gstthread.c: (gst_thread_release_children_locks):
31475 Added parentage check.
31476 Fix build og GstThread again.
31478 2005-03-08 Wim Taymans <wim@fluendo.com>
31480 * docs/design/part-MT-refcounting.txt:
31481 * docs/design/part-conventions.txt:
31482 * docs/design/part-gstobject.txt:
31483 * docs/design/part-relations.txt:
31484 * docs/design/part-standards.txt:
31485 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31486 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31487 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31488 (gst_bin_iterate_all_by_interface):
31491 * gst/gstelement.c: (gst_element_class_init),
31492 (gst_element_change_state), (gst_element_set_loop_function):
31493 * gst/gstelement.h:
31494 * gst/gstiterator.c:
31495 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31496 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31497 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31498 (gst_object_set_parent), (gst_object_unparent),
31499 (gst_object_check_uniqueness):
31501 Docs updates, clean up some headers.
31503 2005-03-07 Wim Taymans <wim@fluendo.com>
31505 * check/.cvsignore:
31506 * check/Makefile.am:
31507 * check/gst-libs/.cvsignore:
31508 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31509 * check/gst/.cvsignore:
31510 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31511 (START_TEST), (gstbus_suite), (main):
31512 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31513 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31514 (gst_data_suite), (main):
31515 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31516 (add_fold_func), (gstiterator_suite), (main):
31517 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31518 (thread_name_object), (thread_name_object_default),
31519 (gst_object_name_compare), (gst_object_suite), (main):
31520 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31521 (gst_pad_suite), (main):
31522 * check/gstcheck.c: (gst_check_log_message_func),
31523 (gst_check_log_critical_func), (gst_check_init):
31524 * check/gstcheck.h:
31525 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31526 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31529 2005-03-07 Wim Taymans <wim@fluendo.com>
31531 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31532 (gst_list_iterator_next), (gst_list_iterator_resync),
31533 (gst_list_iterator_free), (gst_iterator_new_list),
31534 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31535 (gst_iterator_free), (gst_iterator_push), (filter_next),
31536 (filter_resync), (filter_uninit), (filter_free),
31537 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31538 (gst_iterator_foreach), (find_custom_fold_func),
31539 (gst_iterator_find_custom):
31540 * gst/gstiterator.h:
31541 Added missing files.
31543 2005-03-07 Wim Taymans <wim@fluendo.com>
31547 * docs/design/part-MT-refcounting.txt:
31548 * docs/design/part-conventions.txt:
31549 * docs/design/part-gstobject.txt:
31550 * docs/design/part-relations.txt:
31551 * examples/mixer/mixer.c: (main):
31552 * examples/thread/thread.c: (eos), (main):
31554 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31555 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31556 (gst_spider_plug_from_srcpad):
31557 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31558 (gst_spider_identity_change_state),
31559 (gst_spider_identity_sink_loop_type_finding):
31560 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31561 * gst/elements/gstidentity.c: (gst_identity_init):
31562 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31563 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31564 * gst/elements/gsttypefindelement.c: (free_entry):
31567 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31568 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31569 (gst_bin_set_index), (gst_bin_set_element_sched),
31570 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31571 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31572 (gst_bin_iterate_elements), (iterate_child_recurse),
31573 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31574 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31575 (compare_interface), (gst_bin_get_by_interface),
31576 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31578 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31579 (gst_buffer_default_free), (gst_buffer_default_copy),
31580 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31581 (gst_buffer_create_sub):
31583 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31584 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31585 (gst_caps_unref), (gst_static_caps_get),
31586 (gst_caps_remove_and_get_structure), (gst_caps_append),
31587 (gst_caps_append_structure), (gst_caps_remove_structure),
31588 (gst_caps_copy_nth), (gst_caps_set_simple),
31589 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31590 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31591 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31592 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31593 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31594 (gst_caps_structure_figure_out_union),
31595 (gst_caps_switch_structures), (gst_caps_do_simplify),
31596 (gst_caps_replace), (gst_caps_from_string),
31597 (gst_caps_copy_conditional):
31599 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31600 (_gst_clock_id_free), (gst_clock_id_unref),
31601 (gst_clock_id_compare_func), (gst_clock_id_wait),
31602 (gst_clock_id_wait_async), (gst_clock_class_init),
31603 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31604 (gst_clock_get_time), (gst_clock_set_time_adjust),
31605 (gst_clock_set_property), (gst_clock_get_property):
31608 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31609 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31611 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31612 (gst_element_requires_clock), (gst_element_provides_clock),
31613 (gst_element_set_clock), (gst_element_clock_wait),
31614 (gst_element_wait), (gst_element_set_time_delay),
31615 (gst_element_is_indexable), (gst_element_add_pad),
31616 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31617 (pad_compare_name), (gst_element_get_static_pad),
31618 (gst_element_request_pad), (gst_element_get_request_pad),
31619 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31620 (gst_element_class_get_pad_template_list),
31621 (gst_element_class_get_pad_template), (gst_element_error_func),
31622 (gst_element_get_random_pad), (gst_element_get_event_masks),
31623 (gst_element_send_event), (gst_element_seek),
31624 (gst_element_get_query_types), (gst_element_query),
31625 (gst_element_get_formats), (gst_element_convert),
31626 (gst_element_is_locked_state), (gst_element_set_locked_state),
31627 (gst_element_sync_state_with_parent), (gst_element_change_state),
31628 (gst_element_finalize), (gst_element_yield),
31629 (gst_element_interrupt), (gst_element_set_scheduler),
31630 (gst_element_get_scheduler), (gst_element_set_loop_function):
31631 * gst/gstelement.h:
31633 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31634 (gst_format_get_by_nick), (gst_format_get_details),
31635 (gst_format_iterate_definitions):
31637 * gst/gstindex.c: (gst_index_gtype_resolver):
31640 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31641 (gst_mem_chunk_free):
31642 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31643 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31644 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31645 (gst_object_dispatch_properties_changed),
31646 (gst_object_set_name_default), (gst_object_set_name),
31647 (gst_object_get_name), (gst_object_set_name_prefix),
31648 (gst_object_get_name_prefix), (gst_object_set_parent),
31649 (gst_object_get_parent), (gst_object_unparent),
31650 (gst_object_check_uniqueness), (gst_object_save_thyself),
31651 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31652 (gst_object_set_property), (gst_object_get_property),
31653 (gst_object_get_path_string):
31655 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31656 (gst_real_pad_init), (gst_real_pad_get_property),
31657 (gst_pad_custom_new), (gst_pad_get_direction),
31658 (gst_pad_set_active), (gst_pad_is_active),
31659 (gst_pad_set_event_function), (gst_pad_is_linked),
31660 (gst_pad_link_free), (gst_pad_link_intersect),
31661 (gst_pad_link_fixate), (gst_pad_set_caps),
31662 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31663 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31664 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31665 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31666 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31667 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31668 (gst_pad_realize), (gst_pad_get_allowed_caps),
31669 (gst_real_pad_dispose), (gst_real_pad_finalize),
31670 (gst_pad_collectv), (gst_pad_collect_valist),
31671 (gst_pad_template_dispose), (gst_pad_template_new),
31672 (gst_pad_get_internal_links):
31674 * gst/gstpipeline.c: (gst_pipeline_dispose),
31675 (gst_pipeline_change_state):
31676 * gst/gstpipeline.h:
31678 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31679 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31680 * gst/gstpluginfeature.h:
31681 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31682 * gst/gstquery.c: (_gst_query_type_initialize),
31683 (gst_query_type_register), (gst_query_type_get_by_nick),
31684 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31686 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31687 * gst/gstscheduler.c: (gst_scheduler_add_element),
31688 (gst_scheduler_factory_create):
31689 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31690 (gst_structure_free), (gst_structure_set_name),
31691 (gst_structure_id_set_value), (gst_structure_set_value),
31692 (gst_structure_set_valist), (gst_structure_remove_field),
31693 (gst_structure_remove_fields),
31694 (gst_structure_remove_fields_valist),
31695 (gst_structure_remove_all_fields), (gst_structure_foreach),
31696 (gst_structure_map_in_place),
31697 (gst_caps_structure_fixate_field_nearest_int),
31698 (gst_caps_structure_fixate_field_nearest_double):
31699 * gst/gststructure.h:
31700 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31701 (gst_system_clock_init), (gst_system_clock_dispose),
31702 (gst_system_clock_async_thread),
31703 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31704 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31705 * gst/gstsystemclock.h:
31706 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31707 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31708 * gst/gsttaginterface.c:
31709 * gst/gstthread.c: (gst_thread_dispose),
31710 (gst_thread_release_children_locks), (gst_thread_change_state),
31711 (gst_thread_main_loop):
31712 * gst/gsttrashstack.h:
31713 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31715 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31716 (gst_element_request_pad), (gst_element_get_pad_from_template),
31717 (gst_element_request_compatible_pad),
31718 (gst_element_get_compatible_pad_filtered),
31719 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31720 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31721 (gst_element_link_many), (gst_element_link),
31722 (gst_element_link_pads), (gst_element_unlink_pads),
31723 (gst_element_unlink_many), (gst_element_unlink),
31724 (gst_pad_can_link_filtered), (gst_pad_can_link),
31725 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31726 (gst_object_default_error), (gst_bin_add_many),
31727 (gst_bin_remove_many), (gst_element_populate_std_props),
31728 (gst_element_class_install_std_props), (gst_buffer_merge),
31729 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31730 (link_fold_func), (gst_pad_proxy_setcaps):
31732 * gst/gstvalue.c: (gst_value_deserialize_string):
31733 * gst/parse/grammar.y:
31734 * gst/schedulers/gstbasicscheduler.c:
31735 (gst_basic_scheduler_cothreaded_chain),
31736 (gst_basic_scheduler_chain_recursive_add),
31737 (gst_basic_scheduler_pad_link):
31738 * gst/schedulers/gstoptimalscheduler.c:
31739 (get_group_schedule_function),
31740 (gst_opt_scheduler_state_transition),
31741 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31742 * libs/gst/bytestream/bytestream.c:
31743 * libs/gst/dataprotocol/dataprotocol.c:
31744 (gst_dp_header_from_buffer):
31747 * tests/threadstate/threadstate2.c: (eos):
31748 * tools/gst-compprep.c: (main):
31749 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31750 (print_pad_info), (print_children_info):
31751 * tools/gst-launch.c: (idle_func), (main):
31752 * tools/gst-md5sum.c: (idle_func), (main):
31753 * tools/gst-xmlinspect.c: (print_element_info):
31754 First THREADED backport attempt, focusing on adding locks and
31755 making sure the API is threadsafe. Needs more work. More docs
31758 2005-02-24 Andy Wingo <wingo@pobox.com>
31760 * tests/bench-complexity.scm:
31761 * tests/complexity.gnuplot: New files, good for running complexity
31764 * tests/Makefile.am:
31765 * tests/complexity.c: New test, sets up N elements, at each level
31766 teeing into M streams per element. Eeeenteresting.
31768 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31769 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31770 running bench-mass_elements.scm.
31772 * tests/bench-mass_elements.scm: New script, runs mass_elements
31773 for various numbers of identities, outputting the results to a
31774 file. Requires guile 1.6. Just for testing.
31776 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31778 * gst/schedulers/fairscheduler.c:
31779 compile with debug disabled
31781 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31784 hunting season on 0.9 is now OPEN