1 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
3 * docs/random/wtay/poll-timeout:
4 Some pseudo code for how we could implement clock timeouts with GstPoll.
6 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
8 * plugins/elements/gstfilesink.c:
9 Update Author string to match others.
11 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
13 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
14 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
15 being fixed and inline the trivial check.
17 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
19 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
20 (gst_caps_merge_structure), (gst_caps_get_structure),
21 (gst_caps_copy_nth), (gst_caps_set_simple),
22 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
23 (gst_caps_is_equal_fixed), (gst_caps_intersect),
24 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
26 Callgrind micro optimisations.
27 Avoid array bounds checks and force inline of trivial function.
29 * gst/gstobject.c: (gst_object_set_name_default):
30 -1 is equivalent to letting glib to the strlen but then there is more
31 room for optimisations and it's not our fault.
33 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
34 no need to clear the array, we're cool.
36 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
37 The most common _is_fixed() check is done on fundamental glib base
38 types so we check this first instead of doing a huge amount of
39 useless GST_TYPE_ARRAY calls.
41 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
44 Add a SKIP seek flag for use with advanced trickmodes.
45 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
47 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
49 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
50 No need to memset, we can clear the value ourselves.
52 * gst/gstvalue.c: (gst_type_is_fixed),
53 (gst_value_get_compare_func):
54 Some optimisations from a few callgrind sessions:
55 When checking if a type is fixed, check for trivial fundamental types
56 first before checking types for which we need to get the type followed
57 by the heavy duty type checks, this reduces the amount of
58 g_type_fundamental() calls a lot.
59 When getting the compare function, first check for our registered types.
60 If that fails, do the heavy duty g_type_is_a() checks, reduces the
61 amount of g_type_is_a() considerably.
63 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
65 * docs/design/part-TODO.txt:
66 Mumble something about removing GstXML.
68 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
70 * gst/gstbin.c: (gst_bin_handle_message_func):
71 Get the seqnum before we dispose the message.
73 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
75 * docs/design/part-TODO.txt:
76 Refer to the framestepping document.
78 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
80 * gst/gstbin.c: (bin_handle_async_start),
81 (gst_bin_handle_message_func), (gst_bin_query):
82 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
83 (gst_base_sink_event), (gst_base_sink_change_state):
84 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
85 (gst_base_src_loop), (gst_base_src_change_state):
86 Copy seqnums from events to messages so that they can all be related
89 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
91 * tools/gst-launch.c: (event_loop):
92 Print the message seqnums.
94 2008-11-04 Andy Wingo <wingo@pobox.com>
96 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
98 2008-11-04 Andy Wingo <wingo@pobox.com>
100 Add sequence numbers to events and messages. See #559250.
102 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
106 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
107 events with a new sequence number, and copy it when copying.
108 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
109 an event's sequence number.
112 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
113 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
116 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
118 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
120 * docs/manual/advanced-position.xml:
121 * docs/manual/basics-bins.xml:
122 * docs/manual/basics-bus.xml:
123 * docs/manual/basics-pads.xml:
124 * docs/manual/intro-gstreamer.xml:
125 * docs/manual/intro-preface.xml:
126 Some Application Development Manual fixes thanks to
127 Andrew Feren. Fixes #558459.
129 2008-11-03 Stefan Kost <ensonic@users.sf.net>
131 * gst/gstregistrybinary.c:
132 Don't bother with the GTimer if we don't output the results.
134 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
136 Patch by: David Schleef <ds@schleef.org>
138 * libs/gst/net/Makefile.am:
139 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
141 2008-10-31 Stefan Kost <ensonic@users.sf.net>
143 * gst/gstregistrybinary.c:
144 Oh my, studip, stupid me. Remove double stat() call.
146 2008-10-31 Stefan Kost <ensonic@users.sf.net>
149 Use g_unlink instead of unlink.
151 * gst/gststructure.c:
160 Formatting & whitespaces.
162 2008-10-31 Stefan Kost <ensonic@users.sf.net>
164 * plugins/elements/gstidentity.c:
165 Doc typo. Use return value of parent_class->event.
167 * plugins/elements/gsttypefindelement.c:
168 Chain up at the end for consistency.
170 2008-10-30 Stefan Kost <ensonic@users.sf.net>
173 * docs/gst/gstreamer-docs.sgml:
174 * docs/gst/gstreamer-sections.txt:
175 * docs/gst/running.xml:
176 * docs/libs/gstreamer-libs-docs.sgml:
177 Change to xinclude based build - its faster and easier to maintain.
179 2008-10-30 Stefan Kost <ensonic@users.sf.net>
181 * gst/gstregistrybinary.c:
182 * gst/gstregistryxml.c:
183 Use g_unlink() as none of these are directories.
185 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
187 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
190 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
192 * libs/gst/base/gstbasetransform.c:
193 (gst_base_transform_find_transform), (gst_base_transform_getrange):
194 If we have a fixate function, call it even if we already have fixed caps
195 because the subclass might add some caps. Makes audioconvert add a
196 default channel layout.
198 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
200 * libs/gst/base/gstbasetransform.c:
201 (gst_base_transform_prepare_output_buffer),
202 (gst_base_transform_getrange):
203 Clear the output buffer variable.
204 Cleanups to the error path in the getrange function.
207 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
209 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
210 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
211 Use gst_buffer_try_new_and_alloc() and handle errors instead of
212 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
215 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
217 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
218 Set the last_stop to a more meaningful position when configuring the
219 segment. ie. the start/stop of the segment or clipped against the
220 updated segment boundaries.
222 * tests/check/gst/gstsegment.c: (GST_START_TEST):
223 Add some unit tests for the last_stop.
225 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
227 * libs/gst/base/gstbytereader.c:
228 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
231 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
233 * docs/gst/gstreamer-sections.txt:
235 API: Move float endianness conversion macros from libgstfloatcast
236 to core as it's useful in general, even in core. Fixes bug #555196.
237 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
238 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
239 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
241 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
242 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
243 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
244 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
246 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
248 * docs/libs/gstreamer-libs-sections.txt:
249 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
250 (gst_byte_reader_peek_data):
251 * libs/gst/base/gstbytereader.h:
252 * win32/common/libgstbase.def:
253 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
254 to get a pointer to the data at the current position and have
257 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
260 Fix a bug in the output of the configure script summary
261 when --gst-disable-registry is supplied
263 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
265 * libs/gst/base/gstbitreader.c:
266 * libs/gst/base/gstbytereader.c:
267 Fix the names of 2 functions in the docs strings.
269 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
271 * libs/gst/base/gstbasetransform.c:
272 (gst_base_transform_prepare_output_buffer),
273 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
274 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
275 refcount problems as seen in banshee and maybe also in farsight2.
276 Remove atomic int now that we need to take the lock anyways.
278 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
280 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
281 (gst_base_sink_default_prepare_seek_segment),
282 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
283 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
284 (gst_base_sink_query):
285 Implement more seeking in pull mode.
286 Use pad convert functions to convert position to the requested format.
287 Fix position/duration reporting in pull mode.
288 Implement position and duration reporting in other formats than time.
290 * libs/gst/base/gstbasesink.h:
291 Add member to keep track of when the segment is playing.
293 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
295 * gst/gstpad.c: (gst_pad_configure_src):
296 When we use gst_pad_alloc_buffer() without wanting to set the caps we
297 also don't need to check if the caps are compatible because the caller
298 presumably is going to perform its own custom checks. Fixes some cases
299 where basetransform elements would error out when it was not needed.
301 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
303 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
306 * libs/gst/base/gstbasetransform.c:
307 (gst_base_transform_handle_buffer),
308 (gst_base_transform_reconfigure):
311 * win32/common/libgstbase.def:
314 2008-10-19 Stefan Kost <ensonic@users.sf.net>
316 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
317 Remove duplicated assignment and log a message in failure case.
319 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
321 Patch by: Dig Ge <dig.ge.cn at gmail com>
323 * tests/examples/helloworld/helloworld.c: (main):
324 Fix copy'n'paste bug in hello world example (#556900).
326 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
328 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
329 (gst_base_sink_query):
330 Query the total number of bytes when activating the pad in pull mode.
331 Implement duration query in pull mode by using the installed pad convert
332 function to convert from bytes to the requested format.
334 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
336 * docs/libs/gstreamer-libs-sections.txt:
337 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
338 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
339 (gst_base_sink_event), (gst_base_sink_perform_seek),
340 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
341 (gst_base_sink_send_event), (gst_base_sink_change_state):
342 * libs/gst/base/gstbasesink.h:
343 Add method to commit the state in subclasses.
344 Refactor the flush_start and flush_stop code because we need it for
345 flushing while seeking too.
346 Implement the beginnings of seeking in pull mode.
347 Use the segment last_stop field for the pulling offset.
348 Fix the pause method in pull mode.
349 Configure the segment to BYTES for pull mode.
350 API: GstBaseSink::gst_base_sink_do_preroll()
352 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
354 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
357 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
359 * gst/gstquark.c: (_priv_gst_quarks_initialize):
360 Fix printf format warning.
362 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
364 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
365 Fix flow aggregation of tee. Error out immediately for all flow returns
366 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
367 and return OK if at least one pad is linked.
369 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
370 and otherwise returned the flow return of the last pad, which is wrong.
372 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
373 (GST_START_TEST), (tee_suite):
374 Add unit tests for the flow aggregation.
376 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
378 * docs/design/part-TODO.txt:
379 Remove item from the todo list because it was fixed with the latency
380 state change rewrites.
382 * docs/design/part-seeking.txt:
383 * docs/design/part-segments.txt:
386 * gst/gstevent.c: (gst_event_new_new_segment_full),
387 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
388 (gst_event_parse_buffer_size), (gst_event_new_qos),
389 (gst_event_parse_qos), (gst_event_new_seek),
390 (gst_event_parse_seek), (gst_event_new_latency),
391 (gst_event_parse_latency):
392 Use quarks to construct and parse events.
394 * gst/gstquark.c: (_priv_gst_quarks_initialize):
396 Add some more quarks to the table.
397 Emit a warning when the quark tables are not in sync.
399 * tests/check/gst/gstbus.c: (GST_START_TEST):
402 2008-10-13 Stefan Kost <ensonic@users.sf.net>
404 * plugins/elements/Makefile.am:
405 * plugins/indexers/Makefile.am:
406 Don't install static libs for plugins. Fixes #550851 for core.
408 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
410 * gst/gstbus.c: (gst_bus_source_finalize),
411 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
412 (gst_bus_enable_sync_message_emission),
413 (gst_bus_disable_sync_message_emission),
414 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
415 Fix deadlock, g_source_get_id() cannot be called in finalize.
416 Keep track of the watch source by keeping a pointer to the source object
418 Use the bus lock to protect access to the pointer to the current
421 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
423 Base on Patch by: Olivier Crete <tester at tester dot ca>
425 * gst/gstbus.c: (gst_bus_source_finalize),
426 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
427 Only allow one bus watch to be set at a time. This is necessary
428 because the dispatcher pops the message from the bus and the second
429 watcher will then get NULL or the next message (and the first won't
430 get this next message then, etc). If more than one "watcher" is
431 required signal watches should be used. Fixes bug #526044.
433 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
435 * tools/gst-launch.c:
436 Change the printing of the 'buffering...' output to avoid putting
437 a \r in a translateable string (flagged by the TP).
439 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
442 Clarify that the save_thyself() and restore_thyself() virtual
443 functions of GstObject need to be overriden, not
444 gst_object_(save|restore)_thyself() which is impossible.
447 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
449 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
450 Revert a patch from 21 months ago that broke caps negotiation in pull
451 mode. Basically, having a buffer pass over a pad will trigger the
452 setcaps function when caps change, just like in push mode.
454 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
456 * docs/design/part-negotiation.txt:
457 Update the docs some more.
459 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
460 If we pull a buffer with non-trivial caps, suggest those caps with the
463 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
465 * docs/design/part-TODO.txt:
466 Add another limitation of pad-blocking with segment seeks not pushing
469 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
471 * win32/common/libgstbase.def:
472 * win32/common/libgstreamer.def:
473 Add new symbols to the win32 defs files
475 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
477 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
478 (gst_bin_handle_message_func):
479 The message src can be NULL, don't try to print the object names in that
482 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
483 Add some more debug info.
485 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
488 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
491 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
493 * docs/design/part-negotiation.txt:
496 * docs/libs/gstreamer-libs-sections.txt:
497 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
498 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
499 (gst_base_sink_init), (gst_base_sink_set_blocksize),
500 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
501 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
502 (gst_base_sink_loop), (gst_base_sink_pad_activate),
503 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
504 (gst_base_sink_change_state):
505 * libs/gst/base/gstbasesink.h:
506 Add blocksize property and methods to control the amount of data
508 Negotiate first before activating upstream in pull mode so that they can
509 negotiate themselves.
510 When we operate in pull mode, we only accept the caps that we
512 Make the sink go ASYNC to PAUSED, like all other sinks.
513 API: GstBaseSink::gst_base_sink_set_blocksize()
514 API: GstBaseSink::gst_base_sink_get_blocksize()
515 API: GstBaseSink::blocksize
517 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
518 (gst_base_src_set_live), (gst_base_src_is_live),
519 (gst_base_src_set_format), (gst_base_src_query_latency),
520 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
521 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
522 (gst_base_src_set_property), (gst_base_src_get_property):
523 * libs/gst/base/gstbasesrc.h:
524 Add typechecking in public API functions.
525 Add methods to control the blocksize in subclasses.
526 API: GstBaseSrc::gst_base_src_set_blocksize()
527 API: GstBaseSrc::gst_base_src_get_blocksize()
529 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
531 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
532 (buffer_probe), (event_probe), (GST_START_TEST):
533 We now see 3 events go through our pad, since basesink now sends
534 upstream latency events.
536 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
538 * gst/gstpipeline.c: (gst_pipeline_change_state):
539 Release the object lock before trying to flush the bus.
541 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
543 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
544 Forward LATENCY events upstreams so that elements know about the total
545 pipeline latency. Fixes #555307.
547 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
549 * plugins/elements/gstqueue.c:
550 Allow through queries when we don't know how
551 to adjust them (not TIME or BYTES), as otherwise it's
552 not possible to query the current position in order
553 to seek in other formats at all.
555 2008-10-08 Andy Wingo <wingo@pobox.com>
557 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
559 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
563 Unbreak -good build, private is a reserved c++ keyword.
565 2008-10-08 Andy Wingo <wingo@pobox.com>
567 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
568 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
569 removal: re-add GST_GHOST_PAD_CAST to the header.
571 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
572 (GstGhostPadClass): Publically expose these structures so as to
573 allow easy subclassing from C. Hide the member data behind a
574 private opaque data pointer.
576 * gst/gstghostpad.c: Adapt to store instance data in the type
577 instance's private data region, not in the public struct.
579 2008-10-08 Andy Wingo <wingo@pobox.com>
581 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
582 template via g_object_get(), be sure to unref it.
584 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
586 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
588 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
589 If we can't get a cache file don't try to save something to it.
590 Dereferencing NULL pointers usually isn't a good idea.
592 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
594 * tests/check/Makefile.am:
595 * tests/check/gst/gstabi.c:
596 * tests/check/gst/struct_sparc.h:
597 * tests/check/libs/libsabi.c:
598 * tests/check/libs/struct_sparc.h:
601 * tests/check/gst/gstvalue.c: (GST_START_TEST):
602 Cast signed integer to unsigned to avoid a compiler warning.
604 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
606 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
607 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
608 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
609 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
610 (gst_byte_reader_peek_int24_be):
611 Use new GST_READ_UINT24_(LE|BE) macros.
613 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
615 * docs/gst/gstreamer-sections.txt:
617 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
618 as it's too easy to break the ISO C strict aliasing rules with simple
619 casts to the corresponding type and this would introduce hard to debug
620 bugs. Fixes bug #545714.
622 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
624 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
626 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
627 * gst/gstghostpad.c: (gst_ghost_pad_construct):
628 Add 'Since' bits to gtk-doc chunks for new API.
630 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
632 * docs/gst/gstreamer-sections.txt:
635 2008-10-06 Andy Wingo <wingo@pobox.com>
637 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
638 that will be called on the malloc_data to free it. Basically a way
639 to avoid subclassing when all you need is a different free
640 function, i.e. free() instead of g_free().
642 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
643 calling the free function.
644 (gst_buffer_init): Initialize the free function to g_free.
646 2008-10-06 Andy Wingo <wingo@pobox.com>
649 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
650 finishes the initialization of ghost pad. Useful for language
651 bindings and subclassers of GstGhostPad. Fixes #539108.
652 (gst_ghost_pad_new_full): Use the new constructor.
654 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
656 Base on Patch by: Olivier Crete <tester at tester dot ca>
658 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
659 (gst_bin_remove_func), (update_degree),
660 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
661 Keep track of pads that are being linked/unlinked and resync the state
664 * gst/gstpad.c: (gst_pad_get_direction),
665 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
666 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
667 (gst_pad_link_prepare), (gst_pad_link),
668 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
669 (gst_pad_check_pull_range), (gst_pad_get_range),
670 (gst_pad_pull_range):
671 Some code cleanups, use macros to check pad direction.
672 Don't need to take the lock on the pad direction.
673 Post structure change when pads are linked/unlinked.
674 Change some checks into _return_if_fail().
676 * tests/check/gst/gstbin.c:
677 (test_link_structure_change_state_changed_sync_cb),
678 (GST_START_TEST), (gst_bin_suite):
679 Add testcase for pad link/unlinke resync during a state change.
682 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
684 * docs/gst/gstreamer-sections.txt:
685 * gst/gstmessage.c: (gst_message_new_structure_change),
686 (gst_message_parse_structure_change):
688 Implement STRUCTURE_CHANGED messages. These messages will be used to
689 signal the parent bin of link/unlink operations that could require a
690 resync when doing a state change. See ##510354.
691 API: gst_message_new_structure_change()
692 API: gst_message_parse_structure_change()
694 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
698 Add some more quarks for new message. See #510354.
700 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
702 * docs/libs/gstreamer-libs-docs.sgml:
703 * docs/libs/gstreamer-libs-sections.txt:
704 * libs/gst/base/Makefile.am:
705 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
706 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
707 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
708 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
709 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
710 (gst_bit_reader_skip_to_byte):
711 * libs/gst/base/gstbitreader.h:
712 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
713 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
714 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
715 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
716 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
717 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
718 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
719 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
720 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
721 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
722 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
723 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
724 * libs/gst/base/gstbytereader.h:
725 * tests/check/Makefile.am:
726 * tests/check/libs/bitreader.c: (GST_START_TEST),
727 (gst_bit_reader_suite):
728 * tests/check/libs/bytereader.c: (GST_START_TEST),
729 (gst_byte_reader_suite):
730 API: Add bit reader and byte reader classes, including documentation
731 and an extensive unit test suite. Fixes bug #553554.
733 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
735 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
736 (gst_base_sink_query):
737 Improve position reporting while flushing and other intermediate state
738 changes. Fixes #553874.
740 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
742 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
744 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
745 Original patch by : Simon Descaries
746 Fix small refount leak in caps compatibility check.
749 2008-10-06 Stefan Kost <ensonic@users.sf.net>
751 * docs/pwg/advanced-request.xml:
752 Fix 0.8 api usage in example. Fixes #554561
754 * docs/pwg/appendix-porting.xml:
755 Change 0.9 to 0.10 here.
757 2008-10-06 Stefan Kost <ensonic@users.sf.net>
759 * docs/manual/basics-data.xml:
760 Change "event-event interaction" to "element-element interaction".
761 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
764 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
767 Back to development -> 0.10.21.1
769 === release 0.10.21 ===
771 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
774 releasing 0.10.21, "Take These Things From Me"
776 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
779 0.10.20.4 pre-release
781 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
783 * libs/gst/base/gstbasetransform.c:
784 * plugins/elements/gstcapsfilter.c:
785 * tests/check/Makefile.am:
786 * tests/check/elements/.cvsignore:
787 * tests/check/elements/capsfilter.c:
788 Fix assertion in basetransform when the subclass chooses not to
789 allocate a buffer in prepare_buffer(), and make capsfilter error out
790 cleanly if requested to apply caps that don't completely specify the
791 buffer. Fixes #551509
793 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
795 * libs/gst/base/gstbasetransform.c:
796 (gst_base_transform_prepare_output_buffer):
797 Take new caps ref because our old one might have been gone when the
798 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
800 2008-09-15 Stefan Kost <ensonic@users.sf.net>
803 Do not probe availability of check unit test library when cross
804 compiling, as test would not work anyway. Also cleanup verbose output
805 of the check test. Fixes #551952.
807 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
809 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
811 * gst/gstelement.c: (gst_element_sync_state_with_parent):
812 Avoid leaking the parent ref when we fail changing the state of the
813 element using gst_element_sync_state_with_parent(). Fixes #551978.
815 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
817 * docs/manual/intro-motivation.xml::
818 Remove some bits that no longer apply, update others (#551642).
820 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
823 0.10.20.2 pre-release
831 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
833 * win32/common/config.h.in:
834 Add GST_DATADIR, hard-code cpu to x86.
836 * win32/common/libgstreamer.def:
839 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
842 Fix Since: markers for new geo tags.
844 2008-09-02 Stefan Kost <ensonic@users.sf.net>
847 Fix actual tag name define after renaming from altitude to elevation.
849 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
851 * gst/gstpad.c: (add_unref_pad_to_list),
852 (gst_pad_get_internal_links_default):
853 Add fallback when calling the deprecated function on an element that
854 implements the new internal_link handler.
856 2008-09-01 Stefan Kost <ensonic@users.sf.net>
858 * docs/gst/gstreamer-sections.txt:
861 Add new tags for geo location and clarify purpose of existing location
864 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
866 Patch by: Olivier Crete <tester at tester dot ca>
868 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
869 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
870 Use thread-safe internal links iterator. Fixes #549504.
872 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
874 Based on patch by: Olivier Crete <tester at tester dot ca>
876 * docs/gst/gstreamer-sections.txt:
877 * win32/common/libgstreamer.def:
878 * gst/gstpad.c: (gst_pad_init),
879 (gst_pad_set_iterate_internal_links_function),
880 (int_link_iter_data_free), (iterate_pad),
881 (gst_pad_iterate_internal_links_default),
882 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
884 Add threadsafe replacement functions for getting internal links of an
885 element. Deprecate the old internal links functions.
886 API:GstPad::gst_pad_set_iterate_internal_links_function()
887 API:GstPad::GstPadIterIntLinkFunction
888 API:GstPad::gst_pad_iterate_internal_links()
889 API:GstPad::gst_pad_iterate_internal_links_default()
891 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
892 (gst_proxy_pad_init):
893 Implement threadsafe internal links.
895 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
896 Unit test for internal links on tee. See #549504.
898 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
900 * tests/check/Makefile.am:
901 libs/transform1 test requires libs/test_transform.c
903 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
905 * gst/gstpad.c: (gst_pad_get_internal_links_default):
906 Die evil deadlock, die !
908 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
910 * gst/gstutils.c: (gst_element_get_compatible_pad):
911 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
912 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
913 Fix all leaks due to the bug in gst_pad_template_new() by which it does
914 not steal the refcount of the given caps as stated.
916 REVERT THIS COMMIT ONCE FIXED !
917 REVERT THIS COMMIT ONCE FIXED !
918 REVERT THIS COMMIT ONCE FIXED !
919 REVERT THIS COMMIT ONCE FIXED !
920 REVERT THIS COMMIT ONCE FIXED !
921 REVERT THIS COMMIT ONCE FIXED !
923 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
927 After 3 years it's about time to revise the documentation of the
930 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
932 * gst/gstpad.c: (gst_pad_get_internal_links_default):
933 Make the internal links function less thread-unsafe and add some
936 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
939 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
940 build with --disable-gst-debug.
942 2008-08-28 David Schleef <ds@schleef.org>
944 * gst/gstpadtemplate.c: Revert last change, since it breaks
945 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
946 but shouldn't be enabled until we've released fixed versions
947 of -good and -ffmpeg.
949 2008-08-28 Stefan Kost <ensonic@users.sf.net>
952 Put the gst_object_get_name() back in.
954 2008-08-28 Stefan Kost <ensonic@users.sf.net>
956 * gst/gstpadtemplate.c:
957 The old behaviour was that gst_pad_template_new() takes ownership of
958 the caps. As we now call g_object_new() which calls g_object_set() and
959 which copies the caps, we have to unref them to not leak them. Fixes
962 2008-08-28 Stefan Kost <ensonic@users.sf.net>
965 Don't segfault on input like "tel:+1-123-555-1234".
967 2008-08-27 Stefan Kost <ensonic@users.sf.net>
970 Due to popular request also include ObjectType in
971 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
973 2008-08-26 David Schleef <ds@schleef.org>
975 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
976 src_val must be positive, because that's not a requirement.
977 This causes problems with converting negative granulepos
979 * gst/gstquery.c: Same, gst_query_new_convert().
981 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
983 * gst/gstclock.c: (gst_clock_add_observation):
984 Add some more debugging to the clock slaving code.
986 * win32/common/libgstbase.def:
987 Add new basetransform method.
989 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
991 * gst/gstbin.c: (gst_bin_element_set_state):
992 Take the (recursive) state lock between getting the locked state of an
993 element and changing the element state. This allows the application to
994 lock an element's state and then change its state without races.
996 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
998 * gst/gstbin.c: (gst_bin_element_set_state):
999 When an element is in the locked state we still want to update the
1000 base_time of the element.
1002 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1004 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1005 Use the result from gst_pad_set_caps() instead of assuming the element
1006 always accepted the caps computed by the default negotiate function.
1008 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1010 * docs/libs/gstreamer-libs-sections.txt:
1011 * libs/gst/base/gstbasetransform.c:
1012 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1013 (gst_base_transform_chain), (gst_base_transform_suggest),
1014 (gst_base_transform_reconfigure):
1015 * libs/gst/base/gstbasetransform.h:
1016 Implement method for reconfiguring basetransform.
1017 API: GstBaseTransform::gst_base_transform_reconfigure()
1019 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1021 patch by: Murray Cumming <murrayc@murrayc.com>
1024 Mention that this is just like gst_buffer_merge() but with extra
1025 unreffing for C coders. Advise language bindings not to wrap it.
1028 Also fix file comment.
1030 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1032 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1034 * plugins/elements/gstfakesink.c:
1035 * plugins/elements/gstfakesrc.c:
1036 Call super::event() when not handling it. Fixes #544855.
1038 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1040 Patch by: Alessandro Decina <alessandro@nnva.org>
1041 * plugins/elements/gstfilesrc.c:
1042 Use 64 bit variants of stat functions on win32, to enable support
1043 of large files there.
1046 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1048 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1049 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1050 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1051 (gst_base_sink_get_position), (gst_base_sink_change_state):
1052 Improve position reporting in the flushing state.
1053 Also report the position when we are not yet prerolled but we
1054 have a newsegment event. Fixes #543444.
1055 Improve the pull-based negotiation code.
1057 * tests/check/elements/fakesink.c: (GST_START_TEST),
1059 Add testcase for position reporting while flushing in PAUSED and
1062 * tests/check/generic/sinks.c: (GST_START_TEST):
1063 Update unit-test, we can now query the position as soon as we receive a
1066 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1068 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1070 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1071 When the subclass event handler releases the PREROLL_LOCK, we could be
1072 in the flushing state and we have to ignore the event. Fixes #548394.
1074 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1076 * tools/gst-launch.1.in:
1077 Document GST_REGISTRY_UPDATE environment variable.
1079 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1081 * libs/gst/base/gstbasetransform.c:
1082 (gst_base_transform_prepare_output_buffer):
1083 If the element is configured in passthrough mode but the
1084 prepare_output_buffer gave us a new output buffer, discard that buffer
1085 and reuse the input buffer.
1087 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1089 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1091 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1092 (gst_tee_request_new_pad), (gst_tee_release_pad),
1093 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1094 * plugins/elements/gsttee.h:
1095 Protect pad_alloc with a new lock so that we can be sure that nothing is
1096 performing a pad_alloc when removing the pad. Fixes #547835.
1098 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1099 (buffer_alloc_harness_teardown), (app_thread_func),
1100 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1101 Added testcase for shutdown race.
1103 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1108 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1110 * libs/gst/base/gstbasetransform.c:
1111 (gst_base_transform_prepare_output_buffer),
1112 (gst_base_transform_buffer_alloc):
1113 Go over the buffer_alloc function again and make sure we always end up
1114 allocating a buffer.
1116 Avoid doing pad alloc when we have a pending suggestion because we
1117 cannot yet deal with changing caps in that case. Fixes #547728
1119 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1121 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1123 * docs/manual/advanced-clocks.xml:
1124 * docs/manual/clocks.png:
1125 * docs/manual/diagrams-clocks.svg:
1126 Add one more image showing different times together with a describing
1127 paragraph. Fixes #547729.
1129 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1131 * win32/common/libgstbase.def:
1134 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1136 * libs/gst/base/gstbasetransform.c:
1137 (gst_base_transform_transform_caps),
1138 (gst_base_transform_prepare_output_buffer),
1139 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1140 Don't overwrite the outsize when calculating the expected size of a new
1141 buffer because we still need it in case we cannot process the new
1143 When converting the size of the new buffer to an upstream size, actually
1144 use the expected size of the buffer, not some other random value.
1145 Use an atomic int to signal that a new upstream caps suggestion is
1147 When we can convert the current buffer to a new format, check if the
1148 buffer size is of the expected size and allocate a new buffer of the
1149 expected size when this is not the case. Fixes #546883.
1151 * tests/check/libs/transform1.c: (GST_START_TEST):
1152 remove ifdeffed code from the unit test.
1154 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1156 * pkgconfig/gstreamer-uninstalled.pc.in:
1157 * pkgconfig/gstreamer.pc.in:
1158 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1159 called gstcontroller-0.10.
1161 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1163 * gst/gstchildproxy.h:
1165 Remove double interface from doc-string.
1167 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1169 * libs/gst/base/gstbasesrc.c:
1170 * libs/gst/base/gstbasetransform.c:
1171 Fix headings in docs and gtk-doc warnings.
1173 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1175 * gst/gstregistrybinary.c:
1176 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1180 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1182 * libs/gst/base/gstbasetransform.c:
1183 (gst_base_transform_buffer_alloc):
1184 Fix a "may be used unitialized" warning.
1186 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1188 * docs/gst/gstreamer-sections.txt:
1190 Document preset-iface vmethods.
1192 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1194 * docs/manual/advanced-interfaces.xml:
1195 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1196 only used to discover devices.
1198 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1200 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1202 * gst/gst.c: (init_pre):
1203 Make sure gettext returns translations in UTF-8 encoding rather
1204 than in the current locale encoding (#546822).
1206 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1208 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1211 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1212 Improve unit test subset tests and add a testcase for the subset failure
1215 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1216 Improve subtraction unit test.
1218 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1220 * plugins/elements/gsttee.c:
1221 Unlock, instead of locking again.
1223 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1226 Clarify the docs a bit more.
1228 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1230 * tests/examples/metadata/read-metadata.c:
1231 Don't leak old taglist.
1233 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1235 Patch by: Olivier Crete <tester at tester dot ca>
1237 * gst/gststructure.c:
1238 (gst_structure_fixate_field_nearest_fraction):
1239 Avoid overflows in fixation code when dealing with MAXINT values, which
1240 v4l2src seems to do.
1243 * tests/check/gst/gststructure.c: (GST_START_TEST):
1244 Make a unit test to check the fix.
1246 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1248 * plugins/elements/gstcapsfilter.c: (copy_func),
1249 (gst_capsfilter_set_property):
1250 Use new caps suggestion feature of basetransform to request a caps
1251 negotiation upstream.
1253 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1255 * docs/libs/gstreamer-libs-sections.txt:
1257 API: GstBaseTransform::gst_base_transform_suggest()
1259 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1260 (gst_base_transform_init), (gst_base_transform_transform_caps),
1261 (gst_base_transform_transform_size),
1262 (gst_base_transform_configure_caps),
1263 (gst_base_transform_can_transform),
1264 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1265 (gst_base_transform_prepare_output_buffer),
1266 (gst_base_transform_buffer_alloc),
1267 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1268 (gst_base_transform_chain), (gst_base_transform_activate),
1269 (gst_base_transform_set_passthrough),
1270 (gst_base_transform_is_passthrough),
1271 (gst_base_transform_set_in_place),
1272 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1273 (gst_base_transform_set_qos_enabled),
1274 (gst_base_transform_is_qos_enabled),
1275 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1276 (gst_base_transform_reconfigure):
1277 * libs/gst/base/gstbasetransform.h:
1278 Rewrite of basetransform to perform negotiation outside of the
1279 buffer_alloc functions. Fixes #545853.
1281 * tests/check/libs/transform1.c: (GST_START_TEST),
1285 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1287 * tests/check/gst/gstpreset.c:
1288 Only run preset tests when $HOME is writable. Preliminary fix for
1291 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1294 (gst_bin_change_state_func), (bin_handle_async_done),
1295 (gst_bin_handle_message_func):
1296 Fix race for bins that simulate ASYNC state changes by inserting
1297 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1298 pending ASYNC messages even when the bin does not have ASYNC children.
1299 We note detect this behaviour because we will receive an ASYNC message
1300 that is originating from the bin itself.
1301 Fixes races with decodebin2 state changes.
1303 * tests/check/gst/gstbin.c: (GST_START_TEST):
1304 Add some more debug.
1306 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1308 * gst/gsttaglist.c: (_gst_tag_initialize):
1311 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1314 Argh. actually save the text before committing. Now adds
1315 gst_tag_merge_strings_with_comma() to gst_tag_register().
1317 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1321 Do as tim pointed out and actually register the new tag. Also improve
1322 te docs and use gst_tag_merge_strings_with_comma() method to allow
1323 retriving all keywords merged in one list.
1325 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1328 * docs/gst/gstreamer.types:
1329 Revert 'accidential' change of the configure option removal. We still
1330 need to generate the types file in configure --disable-load-save.
1332 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1334 * docs/gst/gstreamer-sections.txt:
1336 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1338 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1340 * gst/gstpadtemplate.c:
1341 (gst_pad_template_class_init), (gst_static_pad_template_get),
1342 (gst_pad_template_new), (gst_pad_template_pad_created),
1343 (gst_pad_template_set_property), (gst_pad_template_get_property):
1344 Add "name-template", "direction", "presence" and "caps" properties,
1345 so that gst_pad_template_new() is just a thin wrapper around
1346 g_object_new(), which is better for bindings. (Fixes: #539772)
1348 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1351 Be more liberal in what URIs we accept.
1352 Do not unescape bits of the URI for no apparent reason before passing to
1353 the element. Fixes #545352.
1355 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1357 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1360 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1362 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1365 * docs/gst/gstreamer-sections.txt:
1366 * docs/gst/gstreamer.types:
1367 * docs/gst/gstreamer.types.in:
1370 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1371 * gst/gstconfig.h.in:
1372 * gst/gstelement.c: (gst_element_get_index):
1373 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1374 (gst_registry_binary_load_feature),
1375 (gst_registry_binary_read_cache):
1376 * gst/gstregistryxml.c: (load_feature),
1377 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1378 * plugins/Makefile.am:
1380 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1381 (print_plugin_features), (print_element_features):
1382 * tools/gst-xmlinspect.c: (print_event_masks),
1383 (print_element_info):
1384 * win32/common/gstconfig.h:
1385 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1387 Disabling the indexers and URI handler code will only reduce the
1388 required amount of memory by a very small amount but on the other hand
1389 requires much more maintaince work. Apart from that many places of
1390 code are broken when disabling them.
1392 Disabling the enum types doesn't reduce the required amount of memory
1393 by more than a few bytes and makes it hard to fix bugs like #539772,
1394 i.e. use the enums as GObject properties.
1396 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1398 * docs/design/part-TODO.txt:
1399 Add some thoughts and problems with upstream renegotiation.
1401 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1403 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1404 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1405 Remove silly redundant debug.
1406 Add some more debug info.
1407 Clarify the docs regarding new caps received from pad_alloc.
1409 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1411 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1412 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1413 Make setting the caps more threadsafe.
1415 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1417 * docs/design/part-element-transform.txt:
1420 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1422 * plugins/elements/gstqueue.c: (gst_queue_init),
1423 (gst_queue_acceptcaps):
1424 Add and use a custom acceptcaps function instead of falling back to the
1425 potentially less optimized default implementation.
1427 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1429 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1430 Only sanity-check the buffer size if requested_caps == buffer_caps
1431 (ie. don't take pad caps into account, they're not relevant here)
1433 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1435 * plugins/elements/gsttee.c:
1436 * plugins/elements/gsttee.h:
1437 Reverting as not everything is clear yet. Needs some general design
1440 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1443 ChangeLog surgery for tee commit.
1445 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1447 * docs/gst/gstreamer-sections.txt:
1448 Cleanup section-file.
1450 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1452 * plugins/elements/gsttee.c:
1453 * plugins/elements/gsttee.h:
1454 Relay tag events in tee. Fixes parts of #474016.
1455 Downgrades 3 reoccurring debugs to log.
1457 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1460 * libs/gst/Makefile.am:
1461 Build the net library if we have winsock2.
1463 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1465 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1467 * docs/manual/advanced-threads.xml:
1468 * docs/manual/diagrams-pipelines.svg:
1469 * docs/manual/hello-world.png:
1470 * docs/manual/linked-elements.png:
1471 * docs/manual/mime-world.png:
1472 * docs/manual/queue.png:
1473 * docs/manual/thread-buffering.png:
1474 * docs/manual/thread-synchronizing.png:
1475 Replace one diagram with two separate ones and updates others.
1478 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1481 Fix link in documentation.
1483 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1486 Fix confusing documentation.
1488 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1490 * libs/gst/base/gstbasesrc.h:
1491 revert the changes to the header file for the ABI.
1493 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1495 * libs/gst/base/gstbasesrc.c:
1496 * libs/gst/base/gstbasesrc.h:
1497 Don't cache the seekable status.
1500 2008-07-24 Rene Stadler <mail@renestadler.de>
1502 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1503 code to close the pipeline graph. This prevents the program from
1504 printing internal data flow errors.
1506 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1508 * docs/manual/basics-bus.xml:
1509 Correct typo. Fixes bug #544320.
1511 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1514 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1515 Add check (taken from -base) for winsock, adds WIN32_LIBS
1517 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1519 Define GST_EXPORTS when building libgstreamer (only used on win32)
1520 * gst/gst_private.h:
1522 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1523 for symbols that we need to export in both these files.
1525 Include gst_private.h higher up to avoid some compile problems on win32.
1527 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1532 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1535 Previous commit was wrong NULL caps does not exist
1536 and indicate an error, so also add a FIXME to
1537 gst_caps_is_equal where NULL caps are accepted.
1539 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1542 Allow passing of NULL to gst_caps_union
1544 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1546 * gst/gstghostpad.c:
1547 Add in doc that gst_ghost_pad_set_target can accept
1548 NULL to clear target
1550 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1553 * gst/gstregistry.c:
1554 GstRegistryPool doesn't exist; don't refer to it in docs.
1555 Don't refer to functions that don't exist in docs, it's
1558 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1561 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1563 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1565 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1567 * docs/pwg/building-testapp.xml:
1568 Don't use an undeclared variable in the example program.
1571 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1573 * gst/gstdebugutils.c:
1574 Squeeze ghost-pad links and remove <> from classname labels to save
1575 more horizontal space.
1577 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1579 * gst/gstdebugutils.c:
1580 Give request and sometimes pads a different shpe style. Condense the
1581 graphs a little more.
1583 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1586 Don't require flex and bison if the parser is disabled.
1588 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1590 * libs/gst/controller/gstinterpolationcontrolsource.c:
1591 (_list_find_sorted_custom):
1592 Don't use declarations after statements.
1594 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1596 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1597 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1598 of the the child-added / -removed signals as GstChildProxy
1599 only supports GstObjects.
1601 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1603 * gst/gstdebugutils.c:
1606 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1608 Patch by: Alessandro Decina <alessandro at nnva dot org>
1611 Fix "ignored return value" compiler warning with newer glibc.
1613 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1615 * gst/gstchildproxy.c:
1616 Fix copy&paste error in gst_child_proxy_removed() documentation.
1618 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1620 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1621 Print error debug message if plugin description fields that should
1624 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1625 Don't crash if the string to serialise is NULL (it really should
1626 not be, but apparently this used to work with the xml registry ...).
1628 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1630 * tools/gst-plot-timeline.py:
1631 Fix parsing of log messages
1633 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1635 * win32/common/libgstbase.def::
1636 Sort alphabetically so make check-exports doesn't barf.
1638 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1641 Use gst_format_get_name() to improve debug output.
1644 Remove #ifdef'ed code. Add TODO comment.
1647 Add debug output to ease spotting format != segment.format assertions.
1649 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1651 * tests/check/libs/gdp.c: (gst_dp_suite):
1652 Also enable the GDP unit test again on PPC now that the bug
1655 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1657 * libs/gst/dataprotocol/dataprotocol.c:
1658 Don't write to the same region of memory as a uint64 and uint16
1659 as this breaks strict aliasing rules and apparantly breaks on PPC
1660 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1662 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1664 * libs/gst/controller/gstinterpolationcontrolsource.c:
1665 Optimize list handling. Use own find function. Exploit that fact that
1666 the list is sorted. Also pass back the node before, so that we can
1667 insert quickly. Have a fast path for append.
1669 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1671 * docs/design/draft-framestep.txt:
1672 * docs/design/part-negotiation.txt:
1675 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1678 Show configuration sumary after configure run. Based on patch by
1679 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1681 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1683 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1685 * docs/manual/advanced-autoplugging.xml:
1686 * docs/manual/advanced-threads.xml:
1687 * docs/manual/basics-bins.xml:
1688 * docs/manual/basics-elements.xml:
1689 * docs/manual/basics-helloworld.xml:
1690 * docs/manual/basics-pads.xml:
1691 Add scale factor for pdf output.
1693 * docs/manual/intro-basics.xml:
1694 Switched sections "pads" and "bins" and added a pipeline diagram.
1696 * docs/manual/intro-gstreamer.xml:
1697 Added more info on gstreamer.
1699 * docs/manual/intro-motivation.xml:
1700 Commented out the whole section "current problem", which sounds
1701 historical and somehow osolete; it could be turned in a positive
1702 way and reused to improve the design principles.
1704 * docs/manual/intro-preface.xml:
1705 - Update URLs to library.gnome.org.
1706 - Do not mention GTK+ in preliminary reading (irrelevant).
1707 - Mention Plugin Writer's Manual and further reading only in the
1709 - Added a list of most relevant GObject/glib topics.
1711 * docs/manual/Makefile.am:
1712 * docs/manual/bin-element-ghost.fig:
1713 * docs/manual/bin-element-ghost.png:
1714 * docs/manual/bin-element-noghost.fig:
1715 * docs/manual/bin-element-noghost.png:
1716 * docs/manual/bin-element.fig:
1717 * docs/manual/bin-element.png:
1718 * docs/manual/filter-element-multi.fig:
1719 * docs/manual/filter-element-multi.png:
1720 * docs/manual/filter-element.fig:
1721 * docs/manual/filter-element.png:
1722 * docs/manual/gstreamer-overview.png:
1723 * docs/manual/hello-world.fig:
1724 * docs/manual/hello-world.png:
1725 * docs/manual/linked-elements.fig:
1726 * docs/manual/linked-elements.png:
1727 * docs/manual/mime-world.fig:
1728 * docs/manual/mime-world.png:
1729 * docs/manual/queue.fig:
1730 * docs/manual/queue.png:
1731 * docs/manual/simple-player.png:
1732 * docs/manual/sink-element.fig:
1733 * docs/manual/sink-element.png:
1734 * docs/manual/src-element.fig:
1735 * docs/manual/src-element.png:
1736 * docs/manual/diagrams-general.svg:
1737 * docs/manual/diagrams-pipelines.svg:
1738 Removed .fig, added .png counterpart.
1742 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1744 * plugins/elements/gstmultiqueue.c:
1745 * plugins/elements/gstmultiqueue.h:
1746 revert extra-size-buffers stuff, caused some race conditions
1747 and extra-size-buffers is not used anymore. Docs needs some updates
1749 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1751 * win32/common/config.h:
1752 * win32/common/gstenumtypes.c:
1753 * win32/common/gstenumtypes.h:
1754 * win32/common/gstversion.h:
1757 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1759 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1760 (GST_DEBUG_BIN_TO_DOT_FILE):
1761 Add missing Since' markers to gtk-doc blurbs.
1763 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1765 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1766 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1767 (set_caps_1), (set_caps_ct1), (transform_ct1),
1768 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1769 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1770 (transform_size_ct2), (buffer_alloc_ct2):
1771 Add some more tests with switching caps in buffer_alloc.
1773 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1775 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1776 (gst_test_trans_class_init), (result_sink_chain),
1777 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1778 (gst_test_trans_push), (gst_test_trans_pop):
1779 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1780 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1781 (set_caps_1), (set_caps_ct1), (transform_ct1),
1782 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1783 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1784 (transform_size_ct2), (buffer_alloc_ct2),
1785 (gst_basetransform_suite):
1786 More tests, prepare for tests with switching caps in buffer_alloc.
1788 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1790 * plugins/elements/gstmultiqueue.c:
1791 * plugins/elements/gstmultiqueue.h:
1792 Fix dead-lock in underrun_cb
1794 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1796 * docs/design/part-states.txt:
1797 Fix device open/close docs.
1799 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1802 Mention bugnumber for last commit.
1804 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1806 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1808 * docs/manual/manual.xml:
1809 - Reorganised the previous "introduction" bundle into Foreword,
1810 Introduction, and About GStreamer. The two first are <preface>
1811 docbook elements. The later is the first part of the book.
1812 - added intro-gstreamer.xml (content partially from
1814 - moved appendix-win32.xml into appendix-integration.xml
1816 * docs/manual/intro-preface.xml: gstreamer section moved...
1817 * docs/manual/intro-gstreamer.xml: ...here. new file.
1819 * docs/manual/appendix-win32.xml: removed file. Content moved...
1820 * docs/manual/appendix-integration.xml: ...here.
1822 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1823 * docs/manual/appendix-checklist.xml: ...here.
1827 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1829 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1831 * docs/manual/basics-helloworld.xml:
1832 * docs/manual/hello-world.fig:
1833 - Explicitely include glib.h.
1834 - Do not use global variables.
1835 - Use g_printerr() instead of g_print().
1836 - Minor formating/renaming to increase readibility.
1837 - Renamed new_pad() to on_pad_added()
1838 - Improved explenatory comments.
1839 - renamed ogg parser to ogg demuxer
1840 - Use "autoaudiosink" instead of "alsasink".
1843 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1846 Remove cvs conflict marker.
1848 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1851 Document that for plgin-docs we extraxt he short-desc from the element
1854 * docs/design/part-states.txt:
1855 Tell that devices should be closed in PAUSED -> READY.
1857 * docs/manual/README:
1858 Document how tests in the manual are handled.
1863 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1865 * gst/gstbin.c: (bin_query_latency_fold):
1866 Only care about latency min and max when the sink is actually a live
1869 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1871 * docs/design/part-block.txt:
1874 * docs/design/part-element-transform.txt:
1875 Add notes about why transform needs to know input/output sizes.
1876 Add some issues that need to be solved.
1877 Add some more use cases.
1879 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1880 (gst_test_trans_class_init), (result_sink_chain),
1881 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1882 (gst_test_trans_push), (gst_test_trans_pop):
1883 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1884 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1885 (set_caps_1), (set_caps_ct1), (transform_ct1),
1886 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1887 (gst_basetransform_suite):
1888 Add suport for different pad templates and buffer-alloc.
1889 Add more checks for caps and buffer-alloc.
1890 Add checks for proxy buffer alloc.
1891 Add unit test for copy transform.
1893 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1895 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1897 * docs/manual/appendix-integration.xml:
1898 * docs/manual/appendix-licensing.xml:
1899 * docs/manual/basics-elements.xml:
1900 * docs/manual/basics-helloworld.xml:
1901 * docs/manual/basics-pads.xml:
1902 * docs/manual/highlevel-components.xml:
1903 * docs/manual/highlevel-xml.xml:
1904 * docs/manual/intro-basics.xml:
1905 * docs/manual/intro-preface.xml:
1906 Typo and formatting fixes (#538594).
1908 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1910 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1911 Fix some memory leaks and uses of object instances that we don't
1914 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1916 * plugins/elements/gstmultiqueue.c:
1917 Add functionality to extra-size-buffers property.
1919 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1921 * plugins/elements/gstmultiqueue.c:
1922 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1923 activate the pads if they are added in STATE_NULL.
1925 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1927 * docs/libs/gstreamer-libs-sections.txt:
1929 * libs/gst/check/gstcheck.c:
1930 * libs/gst/check/gstcheck.h:
1931 API: gst_check_teardown_pad_by_name
1933 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1935 * libs/gst/check/gstcheck.c:
1936 * libs/gst/check/gstcheck.h:
1937 Also setup request pads and allow setup pads by name (#537812)
1938 API: gst_check_setup_src_pad_by_name
1939 API: gst_check_setup_sink_pad_by_name
1941 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1943 * tests/check/gst/gstbuffer.c:
1944 * tests/check/pipelines/parse-launch.c:
1945 Use HAVE_VALGRIND_H some more.
1947 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1949 * scripts/cvs-update.sh:
1950 Pass arguments to make.
1951 Run autoregen.sh if Makefile is not there.
1953 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1957 Don't assume that <valgrind/valgrind.h> exists just because
1958 the binary is there.
1960 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1962 * tests/check/Makefile.am:
1963 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1964 (gst_test_trans_class_init), (gst_test_trans_init),
1965 (gst_test_trans_set_data), (result_sink_chain),
1966 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1967 (gst_test_trans_pop):
1968 * tests/check/libs/transform1.c: (GST_START_TEST),
1969 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1970 Add some test basetransform element and the beginnings of various
1973 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1975 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1976 Increase code readability.
1977 Don't try to compare buffer offsets when ther are invalid.
1979 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1981 * docs/design/Makefile.am:
1982 Dist some more design docs.
1984 * docs/random/moving-plugins:
1985 Small addition: good plugins mustn't have functional code
1986 within assertion macros.
1988 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1990 * docs/design/draft-framestep.txt:
1991 Some ideas about a framestep API
1993 * docs/design/part-element-transform.txt:
1994 Start design and use cases for basetransform in order to get it
1997 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2000 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2001 be in UTF-8 encoding.
2003 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2006 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2008 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2010 * plugins/elements/gstcapsfilter.c:
2011 * plugins/elements/gstfakesink.c:
2012 * plugins/elements/gstfakesrc.c:
2013 * plugins/elements/gstfdsink.c:
2014 * plugins/elements/gstfdsrc.c:
2015 * plugins/elements/gstfilesink.c:
2016 * plugins/elements/gstfilesrc.c:
2017 * plugins/elements/gstidentity.c:
2018 * plugins/elements/gstmultiqueue.c:
2019 * plugins/elements/gstqueue.c:
2020 * plugins/elements/gsttee.c:
2021 * plugins/elements/gsttypefindelement.c:
2022 Remove short_description. Add basic docs for gsttypefindelement.
2023 Simplify markup for fakesrc/fdsrc.
2025 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2027 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2030 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2032 Patch by: Joel Larsson <tilljoel at gmail dot com>
2034 * docs/plugins/gstreamer-plugins.args:
2035 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2036 (gst_fd_src_init), (gst_fd_src_update_fd),
2037 (gst_fd_src_set_property), (gst_fd_src_get_property),
2038 (gst_fd_src_create):
2039 * plugins/elements/gstfdsrc.h:
2040 Add timeout property like udpsrc. Fixes #538628.
2041 Add some more docs and example pipelines.
2043 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2045 * docs/libs/gstreamer-libs-sections.txt:
2046 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2047 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2048 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2049 (gst_base_sink_do_sync):
2050 * libs/gst/base/gstbasesink.h:
2051 * win32/common/libgstbase.def:
2052 Add method to allow sinks to specify additional delay between the sync
2053 times and the actual rendering of the data.
2054 API: gst_base_sink_set_render_delay()
2055 API: gst_base_sink_get_render_delay()
2057 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2060 Bump version number back to dev -> 0.10.20.1
2062 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2064 * docs/gst/gstreamer-sections.txt:
2065 * gst/gsttaglist.c: (_gst_tag_initialize):
2067 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2070 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2072 * libs/gst/controller/gstcontroller.c:
2073 Revert one change, that make ret value possible uninitialized.
2075 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2077 * libs/gst/controller/gstcontroller.c:
2078 Use freeze/thaw notify to sync notify emission a bit (its also more
2079 efficient). Move debug output to LOG (is called a lot in a loop).
2080 Always unset g_values if the have been initialized.
2082 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2084 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2085 (gst_base_sink_wait_eos), (gst_base_sink_event):
2086 If we have not seen a buffer before EOS, use the segment values to
2087 report the current position instead of invalid positions.
2089 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2091 * docs/plugins/tmpl/.cvsignore:
2092 * tests/check/gst/.cvsignore:
2095 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2097 * libs/gst/controller/gstinterpolation.c:
2098 * libs/gst/controller/gstinterpolationcontrolsource.c:
2099 * tests/check/libs/controller.c:
2100 Rewrite handling of default values. Fix overflow with unsigned types
2101 in linear interpolation. Remove now obsolete _first_value() function.
2102 Add more tests. Fixes #538201.
2104 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2106 * libs/gst/base/gstbasetransform.c:
2107 (gst_base_transform_class_init), (gst_base_transform_init),
2108 (gst_base_transform_transform_caps),
2109 (gst_base_transform_prepare_output_buffer):
2111 When a buffer is writable, its metadata is also writable so we don't
2112 need to subbuffer (which then makes the buffer not-writable anymore).
2114 === release 0.10.20 ===
2116 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2119 releasing 0.10.20, "You Crazy Diamond"
2121 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2124 0.10.19.3 pre-release
2126 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2130 Rename DATADIR to GST_DATADIR to avoid build problems
2131 on win32. Patch By: David Schleef <ds@schleef.org>
2134 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2137 Explicitely link with -ldl if dladdr() is found there. Before it was
2138 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2139 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2141 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2143 * gst/gsterror.c: (_gst_stream_errors_init):
2144 Fix typo (spotted by Fabricio Godoy, #536723).
2146 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2149 0.10.19.2 pre-release
2151 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2153 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2154 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2156 Make sure we don't generate invalid QoS messages.
2158 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2160 * gst/gstevent.c: (gst_event_new_qos):
2161 Add some assert and docs for invalid input to the qos function.
2163 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2165 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2166 (gst_base_sink_get_position):
2167 The reported position must always be smaller than the last seen
2168 timestamps (or timestamp + duration for reverse).
2170 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2172 Patch by: Rob Bradford <rob at robster dot org dot uk>
2174 * gst/gstregistry.c: (gst_registry_scan_path_level):
2175 Don't recurse into .debug directories as some distros install
2176 the debugging symbols next to the plugins in .debug directories
2177 and dlopen() crashes on them sometimes. Fixes bug #508070.
2179 Add FIXME for 0.11 to not recurse into directories at all because
2180 it's very inconsistent to the behaviour of other PATH environment
2183 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2185 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2186 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2187 Fix position query range checks in reverse playback.
2189 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2193 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2194 clear of the reference to the resulting pad must be released later
2195 or not, resulting in possible leaks. Fixes bug #533865.
2197 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2199 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2201 * gst/gstelementfactory.c:
2202 Small doc fix. Fixes #535285.
2204 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2206 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2208 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2209 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2210 (gst_base_src_loop), (gst_base_src_set_flushing),
2211 (gst_base_src_change_state):
2212 Make sending an EOS event to the basesrc non-blocking even if the
2213 implementation does blocking waits in the create function. This is done
2214 by unlocking the create function when EOS is sent.
2217 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2219 * tools/gst-inspect.c: (print_element_properties_info):
2220 If possible print the element type of GValueArray properties.
2222 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2224 * gst/gstiterator.c:
2225 Remove an unused field from the private GstListIterator struct.
2227 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2229 * libs/gst/controller/gstcontroller.c:
2230 Add parameter guards.
2232 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2234 * tests/check/gst/gstpipeline.c:
2235 Revert test change and add comment why it should not work.
2237 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2239 * tests/check/gst/gstpipeline.c:
2240 Extending the test a little to verify that we also get the NULL state-
2243 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2245 * gst/gstpreset.c: (gst_preset_default_get_meta),
2246 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2247 (gst_preset_load_preset), (gst_preset_save_preset),
2248 (gst_preset_rename_preset), (gst_preset_delete_preset),
2249 (gst_preset_set_meta):
2250 Add Since: markers to docs blurbs.
2252 * win32/common/libgstreamer.def:
2253 Add recently-added API.
2255 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2257 Patch by: Stefan Kost <ensonic@users.sf.net>
2260 Add DATADIR for storing presets.
2262 * docs/gst/gstreamer-docs.sgml:
2263 * docs/gst/gstreamer-sections.txt:
2264 * docs/gst/gstreamer.types.in:
2265 Add GstPreset to docs.
2269 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2270 (preset_open_and_parse_header), (preset_parse_version),
2271 (preset_merge), (preset_get_keyfile),
2272 (gst_preset_default_get_preset_names),
2273 (gst_preset_default_get_property_names),
2274 (gst_preset_default_load_preset),
2275 (gst_preset_default_save_presets_file),
2276 (gst_preset_default_save_preset),
2277 (gst_preset_default_rename_preset),
2278 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2279 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2280 (gst_preset_default_reset), (gst_preset_get_preset_names),
2281 (gst_preset_get_property_names), (gst_preset_load_preset),
2282 (gst_preset_save_preset), (gst_preset_rename_preset),
2283 (gst_preset_delete_preset), (gst_preset_set_meta),
2284 (gst_preset_get_meta), (gst_preset_class_init),
2285 (gst_preset_base_init), (gst_preset_get_type):
2287 Add GstPreset to core. Fixes #396779
2289 * tests/check/Makefile.am:
2290 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2291 (gst_preset_test_set_property), (gst_preset_test_class_init),
2292 (gst_preset_test_base_init), (gst_preset_test_get_type),
2293 (gst_preset_test_plugin_init), (GST_START_TEST),
2294 (remove_preset_file), (test_setup), (test_teardown),
2296 Add GstPreset unit tests.
2298 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2300 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2301 The default event function on a sinkpad should return TRUE when
2302 there are no internal links but should collect the return values from
2303 the internal links otherwise.
2305 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2307 * plugins/elements/gsttypefindelement.c:
2308 (gst_type_find_element_src_event),
2309 (gst_type_find_element_handle_event):
2310 Use faster and safer _pad_push_event().
2312 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2314 * docs/gst/gstreamer-sections.txt:
2315 * gst/gstutils.c: (element_find_unlinked_pad),
2316 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2318 API: add gst_bin_find_unlinked_pad()
2319 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2321 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2327 Fixed a bunch of typos.
2329 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2332 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2333 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2334 (gst_parse_bin_from_description_full):
2336 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2338 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2340 * docs/pwg/advanced-tagging.xml:
2341 Small docs update, can't be bothered to rewrite the nonsensical
2344 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2347 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2349 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2351 * gst/parse/grammar.y:
2352 Remove unneeded casts.
2354 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2356 * gst/parse/grammar.y:
2357 * tests/check/pipelines/parse-launch.c:
2358 Get all missing elements from a parse launch string if possible
2359 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2361 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2363 * tests/check/Makefile.am:
2364 * tests/check/pipelines/parse-launch.c:
2365 Add some unit tests for the new gst_parse_launch*_full() API.
2366 (Exposes a previously-existing memory leak in the error code
2367 path, so adding to VALGRIND_TO_FIX for now).
2369 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2371 * docs/gst/gstreamer-sections.txt:
2372 * gst/gst.c: (init_post):
2373 * gst/gst_private.h: (_GstParseContext):
2374 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2375 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2376 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2377 (gst_parse_launch_full):
2378 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2379 (GstParseFlags), (GstParseContext):
2380 * gst/gstutils.c: (gst_parse_bin_from_description),
2381 (gst_parse_bin_from_description_full):
2383 * gst/parse/grammar.y:
2384 * gst/parse/types.h:
2385 * win32/common/libgstreamer.def:
2386 Add new gst_parse_*_full API (#528178):
2387 API: gst_parse_launch_full()
2388 API: gst_parse_launchv_full()
2389 API: gst_parse_bin_from_description_full()
2390 API: gst_parse_context_new()
2391 API: gst_parse_context_free()
2392 API: gst_parse_context_get_missing_elements()
2394 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2396 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2398 * docs/faq/gst-uninstalled:
2399 Also support ffmpeg in gst-uninstalled.
2401 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2404 After discussion on IRC use the binary registry as default
2405 but allow to disable it with --disable-binary-registry.
2407 * win32/common/libgstreamer.def:
2408 Add the two new symbols for the binary registry.
2410 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2412 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2413 * gst/gstutils.c: (gst_parse_bin_from_description):
2414 * gst/parse/grammar.y: (graph):
2415 More guards against bad input; typo fix; some minor clean-ups.
2417 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2419 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2421 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2422 If nothing else can be used, use the last buffer's start time as
2423 the segment's last stop. Fixes bug #534258.
2425 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2427 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2428 Move size sanity check to the right place: downstream may return
2429 a buffer with a smaller size if the buffer caps are different than
2430 the requested ones, as may happen when doing reverse negotiation.
2432 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2434 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2435 (gst_file_sink_render):
2436 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2437 (gst_file_src_start):
2438 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2441 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2443 * gst/gstpad.c: (gst_pad_load_and_link):
2444 * gst/gstutils.c: (gst_element_link_pads),
2445 (gst_element_unlink_pads):
2446 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2447 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2448 (gst_check_teardown_sink_pad),
2449 (gst_check_element_push_buffer_list):
2450 * tests/check/elements/fakesink.c: (GST_START_TEST):
2451 * tests/check/elements/filesink.c:
2452 * tests/check/elements/filesrc.c: (GST_START_TEST):
2453 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2454 (mq_sinkpad_to_srcpad):
2455 * tests/check/elements/tee.c: (GST_START_TEST):
2456 * tests/check/generic/sinks.c: (GST_START_TEST):
2457 * tests/check/gst/gstbin.c: (GST_START_TEST):
2458 * tests/check/gst/gstevent.c: (GST_START_TEST):
2459 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2460 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2461 * tests/check/gst/gstquery.c: (GST_START_TEST):
2462 * tests/check/gst/gstutils.c: (GST_START_TEST):
2463 * tests/check/libs/basesrc.c: (GST_START_TEST):
2464 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2465 (gst_parse_test_element_change_state):
2466 Don't use gst_element_get_pad().
2468 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2471 Fix installing plugin documentation when gtk-doc is disabled.
2473 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2475 * docs/manual/advanced-autoplugging.xml:
2476 * docs/manual/basics-helloworld.xml:
2477 * docs/manual/basics-pads.xml:
2478 * docs/manual/highlevel-components.xml:
2479 Avoid using a bad function in the example code.
2481 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2483 * gst/gstclock.c: (gst_clock_set_calibration):
2484 Fix debug of the new clock rate.
2486 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2488 * win32/common/libgstbase.def:
2489 Add gst_base_sink_wait_clock() to the exported symbols.
2491 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2493 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2495 * libs/gst/base/gstbasetransform.c:
2496 (gst_base_transform_sink_event):
2497 Unref events that the GstBaseTransform::event vfunc didn't want to
2498 have forwarded by the base class. Closes a leak in identity.
2501 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2503 * docs/libs/gstreamer-libs-sections.txt:
2504 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2505 * libs/gst/base/gstbasesink.h:
2506 Expose a method that was previously used internally to synchronize
2507 against the clock because it can be useful for subclasses too.
2508 API: GstBaseSink::gst_base_sink_wait_clock()
2510 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2512 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2513 Add sanity check to make sure we don't get smaller buffers
2514 than requested (and fallback to normal buffer alloc if we do).
2516 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2518 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2519 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2520 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2521 Refactor adjusting the running_time with latency and offset into a
2523 When doing clipping, we still want to use the subclass get_times method,
2524 just in case the DURATION or TIMESTAMP are not set.
2526 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2528 * docs/gst/gstreamer-sections.txt:
2529 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2530 * gst/gsttypefind.h:
2531 * win32/common/libgstreamer.def:
2532 API: add gst_type_find_suggest_simple(), #533740.
2534 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2536 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2537 Use right error code when typefinding fails, so we can use
2538 the default (translated) error messages.
2540 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2542 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2543 (gst_base_src_start):
2544 When the subclass did not set caps on outgoing buffers, configure the
2545 caps we negotiated on the source pad.
2546 When the typefind helper does not find caps, error out properly instead
2547 of doing things with NULL caps.
2549 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2551 * gst/gsttypefind.h:
2552 Tabs to spaces, oh yes!
2554 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2556 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2557 Add David's and Benjamin's tests for array intersection to the
2558 unit test suite (#147931).
2560 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2563 Document that gst_event_new_tag() and gst_event_new_navigation()
2564 take ownership of the taglist/structure passed to them. (#533635).
2566 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2569 Don't descend into the plugins dir if plugin docs building
2573 Add a note about the new type:GTypeName syntax for the plugin
2574 documentation .types file.
2576 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2578 * gst/gstmessage.c: (gst_message_new_error),
2579 (gst_message_new_warning), (gst_message_new_info):
2581 Mark the debug string parameters as const. Fixes bug #533490.
2583 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2585 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2586 Sort buffer cache list by end offsets. This makes sure that we don't
2587 stop to search for a cached buffer that contains the requested data
2589 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2590 more efficient. Fixes bug #459862.
2592 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2595 Explain why we copy the list.
2597 * gst/gstpipeline.c:
2601 Add one debug-log statement to help tracing probelms with linking pads.
2603 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2605 * tests/check/gst/gstinfo.c:
2606 Add a test for removing the default log handler. Seems to fail under
2609 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2611 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2612 Release pad lock before calling out to avoid a possible deadlock.
2614 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2616 * gst/parse/grammar.y:
2617 Remove unneeded value unset.
2619 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2620 Add unit test for de/serialization of caps.
2622 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2624 * plugins/elements/gstfakesink.c:
2625 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2626 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2627 (gst_fake_src_class_init):
2628 Use custom marshalers that take GstMiniObject as first parameter.
2629 Using OBJECT as parameter while a GstMiniObject is given will lead
2630 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2632 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2634 * plugins/elements/gsttypefindelement.c:
2635 (gst_type_find_element_handle_event),
2636 (gst_type_find_element_send_cached_events),
2637 (gst_type_find_element_change_state):
2638 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2641 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2643 * plugins/elements/gsttypefindelement.c:
2644 (gst_type_find_handle_src_query), (stop_typefinding),
2645 (gst_type_find_element_handle_event),
2646 (gst_type_find_element_send_cached_events),
2647 (gst_type_find_element_change_state):
2648 Forward FLUSH_START events immediately and clean up instead of
2651 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2653 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2655 * libs/gst/base/gstbasetransform.c:
2656 (gst_base_transform_buffer_alloc):
2657 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2658 fall back to default negotiation in the chain function if the caps
2659 are different from what was requested. Fixes bug #526768.
2661 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2664 * tests/check/gst/gstsegment.c:
2665 No, let's not use g_slice_{dup|copy} here, since they only exist
2666 since GLib 2.14 and we still depend only on >= 2.12. Also add
2667 unit test for gst_segment_copy().
2669 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2671 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2672 Try to fix 'dereferencing type-punned pointer will break strict
2673 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2674 changed the default GType typedef from gulong to gsize at some point,
2675 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2676 g_once_* functions all take a gsize * though, so work around the type
2677 mismatch for C++ by doing everything in gsize and casting to GType
2680 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2682 * plugins/elements/gstmultiqueue.c:
2683 Add documentation for the signals to push our core plugin docs
2684 coverage back up to 100%.
2686 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2688 * gst/gstinfo.h (GST_FUNCTION):
2689 Reverted GST_FUNCTION to the old version as we don't want the
2690 full signature in C++ code. Also added support for MSVC.
2692 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2695 Intern the type name string, similar to what G_DEFINE_TYPE does.
2697 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2700 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2702 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2704 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2706 * libs/gst/base/gstbasetransform.c:
2707 (gst_base_transform_buffer_alloc):
2708 Don't passthrough buffer allocation too easily if the caps change.
2709 This breaks when working in passthrough mode and upstream changes
2710 it's caps. Fixes bug #526768.
2712 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2714 * gst/gstinfo.c (gst_debug_log_valist):
2715 Improved the __FILE__ part of debug output for MSVC.
2717 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2719 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2720 Declaration after statement fix for compilers like MSVC.
2722 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2724 * win32/common/config.h.in:
2725 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2726 use the real thing than having "???" unconditionally.
2728 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2730 * gst/gstinfo.h (GST_FUNCTION):
2731 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2733 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2735 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2738 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2739 (gst_base_sink_set_flushing):
2740 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2743 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2745 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2746 (gst_fake_src_init), (gst_fake_src_set_property),
2747 (gst_fake_src_get_property), (gst_fake_src_start):
2748 * plugins/elements/gstfakesrc.h:
2749 Added format property to control the format of the newsegment events.
2750 API: GstFakeSrc:format
2752 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2754 * win32/common/libgstreamer.def:
2755 Add gst_pad_has_name() to the exported symbols.
2757 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2759 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2760 * libs/gst/base/gstbasetransform.c:
2761 (gst_base_transform_prepare_output_buffer):
2762 Don't allow negative sizes when allocating new buffers.
2765 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2767 Patch by: Sjoerd Simons <sjoerd at luon net>
2769 * gst/gstbus.c: (gst_bus_source_dispatch):
2770 Don't print a warning if the queue is empty when we try to pop
2771 here. That could happen if another thread or callback set the
2772 bus to flushing between the source's check/prepare and the
2773 dispatch being called (#531538).
2775 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2777 * plugins/elements/gstmultiqueue.c:
2780 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2782 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2783 Add unit test for deserializing uint64s and check some really large
2784 numbers in the int64 test.
2786 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2788 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2789 (print_interfaces), (print_element_properties_info),
2790 (print_signal_info):
2791 Use "%s" as format string instead of printing strings directly.
2793 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2795 * gst/gstclock.c: (gst_clock_set_calibration):
2796 Make some checks actually useful.
2798 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2799 Remove some unused code. Unsigned integers tend to be >= 0.
2801 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2803 * gst/gstminiobject.c: (gst_value_get_mini_object):
2804 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2805 function was not in the unscheduled 0.10.19 release.
2807 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2809 * gst/gstregistry.c: (gst_registry_scan_path_level):
2810 Only print one log message per non-plugin file.
2812 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2814 * gst/gstinfo.c: (gst_debug_log_default):
2815 Fix alignment of debug log columns on 64-bit.
2817 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2819 * docs/libs/Makefile.am:
2820 * docs/libs/gstreamer-libs-sections.txt:
2821 Ignore private controller headers for docs.
2823 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2825 * libs/gst/controller/gstcontrollerprivate.h:
2826 * libs/gst/controller/gsthelper.c:
2827 * libs/gst/controller/gstinterpolation.c:
2828 * libs/gst/controller/gstinterpolationcontrolsource.c:
2829 (gst_interpolation_control_source_set_interpolation_mode):
2830 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2831 * libs/gst/controller/lib.c:
2832 Move some private declarations into private headers.
2834 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2836 * gst/gstdebugutils.c: (debug_dump_element_pad):
2837 Remove some code that is unused after Stefan's refactoring and uses
2838 uninitialized variables now, resulting in a compiler warning.
2840 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2842 * gst/gstregistry.c: (gst_registry_scan_path_level):
2843 Run g_str_has_suffix() only on the file name, not the
2846 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2848 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2849 Since we're not called only from the chain function any longer,
2850 we can't assume that there's always data in the queue, so move
2851 the is_full check to the beginning of the loop (otherwise we'd
2852 hit the assert when changing the limit properties while the
2853 queue is empty or not running yet).
2854 Also, only set a discont if items were actually removed from
2857 * tests/check/elements/queue.c: (test_leaky_downstream):
2858 Test case for the above.
2860 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2862 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2864 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2865 (gst_queue_chain), (queue_capacity_change),
2866 (gst_queue_set_property):
2867 When changing thr max capacity of a leaky queue, immediatly drop buffers
2868 instead of waiting for a push on the sinkpad. Fixes #530637.
2870 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2872 * gst/gstdebugutils.c:
2873 Refactor code and fix handling of ghostpads and their proxypads.
2875 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2877 * docs/gst/gstreamer-sections.txt:
2878 * gst/gstevent.c: (gst_event_has_name):
2880 * tests/check/gst/gstevent.c: (GST_START_TEST):
2881 Add method to conveniently check the name of a custom event with
2882 gst_event_has_name().
2883 Reformat the event docs so that related methods are put together instead
2884 of the default alphabetical sort.
2885 Update unit test with new method.
2886 API: GstEvent::gst_event_has_name()
2888 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2890 * libs/gst/check/Makefile.am:
2891 Don't add an explicit link to libgstreamer-0.10.la; it's already
2892 included in GST_OBJ_LIBS.
2894 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2897 Register GstClock type from a type-safe context. Fixes bug #530317.
2899 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2901 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2903 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2905 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2907 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2909 Use the GLib stuff to create a private structure.
2910 Add some locking around some dispose methods to make them a little
2911 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2913 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2915 * libs/gst/base/gstbasesink.h:
2916 * libs/gst/base/gstbasesrc.h:
2917 * libs/gst/base/gstbasetransform.h:
2918 * libs/gst/base/gstcollectpads.h:
2919 Fix doc typos and unify caps a bit.
2921 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2923 * tools/gst-launch.1.in:
2924 Forgot to also add the envvar docs here.
2926 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2928 * gst/gst.c: (init_post), (gst_deinit):
2929 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2930 (test_concurrent_create), (gst_pipeline_suite):
2931 Ref some more classes in gst_init() to work around thread-safety
2932 issues in pre-2.16 GLibs, and add basic unit test.
2934 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2936 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2937 (gst_base_sink_send_event):
2938 Rearrange the latency query code. We always want to do the upstream
2939 query, even if we are not live so that the upstream elements can get the
2940 latency results too. If we fail doing the query and we are live, we
2941 return TRUE afterwards.
2943 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2945 patch by: Jason Zhao <e3423c@motorola.com>
2947 * docs/gst/running.xml:
2949 Enable/disable scan_and_update_registry() based on commandline switch
2950 or environment variable. Fixes #520468.
2953 Fix typo in my previous commit.
2955 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2957 * gst/gstregistrybinary.c:
2958 Add a warning if we hit unhandled factories when saving.
2959 More debug logging detail, but move to LOG category.
2961 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2963 * gst/gstregistry.c:
2964 Tell the *truth* when improving the documentation.
2966 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2968 * gst/gstelementfactory.c: (gst_element_factory_make):
2969 Unref the factory after it was used the last time, not before.
2971 * gst/gstindexfactory.c: (gst_index_factory_make):
2972 Improve debugging a bit and don't leak a ref to the index factory with
2975 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2977 * gst/gstregistry.c:
2978 Improve the documentation.
2980 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2983 The glib macro seems to be borked. Use g_slice_copy directly and cast
2984 in the hope that this fixes the warning on 64bit.
2986 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2989 Document the new function. Use g_slice_dup() (no need for
2990 gst_segment_init()).
2992 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2994 * docs/gst/gstreamer-sections.txt:
2995 Move GParamSepc macros to standart section.
2998 Dn't document _get_type - its in private section in docs anyway and
2999 this doc-blob was incomplete.
3002 Fix wrong symbol names in docs.
3005 Add once doc sentence.
3007 * tests/check/gst/.cvsignore:
3010 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3012 * docs/gst/Makefile.am:
3013 And remove those libs here.
3015 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3017 * docs/libs/Makefile.am:
3018 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3020 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3022 Patch by: Olivier Crete <tester at tester dot ca>
3024 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3025 Add the min-threshold to the min latency if possible. Fixes #529148.
3027 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3029 * docs/gst/gstreamer.types.in:
3030 Stupid editor, I removed that line as it should go in yet.
3032 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3034 * docs/gst/gstreamer.types.in:
3035 * docs/libs/gstreamer-libs.types:
3036 Remove library types fro core docs and have them in libs docs.
3037 Reformat and cleanup. Add comment for miniobject types.
3039 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3041 * gst/gsturi.c: (gst_uri_get_protocol):
3042 Fix leak: g_strdown operates on the string in place, while
3043 g_ascii_strdown() returns a newly-allocated string.
3045 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3047 * tools/gst-inspect.c: (print_uri_handler_info),
3048 (print_element_info):
3049 Print the URI protocols and the URI type supported by the element.
3051 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3053 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3054 Use g_value_take_string() instead of the deprecated
3055 g_value_set_string_take_ownership().
3057 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3059 * gst/gstregistrybinary.c: (_gst_crc32):
3060 Return the old CRC instead of 0 if we give a NULL buffer
3061 or a buffer with a length of 0.
3063 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3065 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3066 (gst_uri_get_protocol), (gst_uri_has_protocol),
3067 (gst_uri_construct), (gst_uri_handler_set_uri):
3068 A valid URI scheme can also include '+', '-' and '.' additional
3069 to alphanumeric characters as per RFC 3986 Section 3.1.
3071 Handle URI schemes case insensitive in all places and convert
3072 to lower-case when constructing an URI or setting an URI with
3073 the GstURIHandler interface. Fixes bug #528868.
3074 All elements can still assume (as before) that they will
3075 get passed URIs with a lower-case URI scheme by the GstURIHandler
3078 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3080 * gst/gstcaps.c: (gst_static_caps_get):
3081 * gst/gstclock.c: (gst_clock_entry_new):
3082 Don't use g_atomic_set_int where it's not needed.
3084 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3086 * gst/gstvalue.c: (gst_value_deserialize_caps):
3087 * gst/parse/grammar.y:
3090 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3092 * gst/gstutils.c: (gst_atomic_int_set):
3093 Use g_atomic_int_set() here too instead of assignment +
3096 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3100 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3101 now that we depend on new enough GLib.
3103 * gst/gstcaps.c: (gst_static_caps_get):
3104 * gst/gstclock.c: (gst_clock_entry_new):
3105 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3106 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3107 (gst_debug_category_set_threshold):
3108 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3109 (gst_base_sink_set_qos_enabled):
3110 * libs/gst/net/gstnettimeprovider.c:
3111 (gst_net_time_provider_set_property):
3112 Use g_atomic_int_set() instead of gst_atomic_int_set().
3114 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3117 Also use G_GINT64_CONSTANT for the queries.
3119 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3122 Use G_GINT64_CONSTANT in varargs function.
3124 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3126 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3127 Initialize the registry magic with zeroes.
3129 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3131 * gst/gstregistrybinary.c: (_gst_crc32),
3132 (gst_registry_binary_write),
3133 (gst_registry_binary_initialize_magic),
3134 (gst_registry_binary_write_cache),
3135 (gst_registry_binary_check_magic),
3136 (gst_registry_binary_read_cache):
3137 * gst/gstregistrybinary.h:
3138 Add crc32 checksum to the binary registry file and check this before
3139 accepting a registry file.
3141 Also free the data list when writing to the registry file fails.
3143 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3145 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3146 (gst_registry_binary_load_feature),
3147 (gst_registry_binary_load_plugin):
3148 If an element supports the Uri interface, returns a valid pointer
3149 to the supported URI protocols but this pointer contains nothing
3150 don't try to save that as it will corrupt the registry.
3152 Don't unref the plugin if we added it to the registry already but
3153 fail to load a feature as gst_registry_add_plugin() takes ownership
3156 Improve debugging a bit.
3158 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3161 Clarify some tag item docs after discussion on irc.
3163 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3165 * docs/gst/gstreamer-docs.sgml:
3166 Remove commented out plugins (they have their own docs). Update
3169 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3171 * docs/gst/gstreamer-docs.sgml:
3172 * docs/gst/gstreamer-sections.txt:
3173 * gst/gstparamspecs.c:
3174 * gst/gstparamspecs.h:
3175 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3176 docs to own section.
3179 This now only documents GValue.
3181 * docs/libs/gstreamer-libs-sections.txt:
3182 * libs/gst/controller/gstcontroller.h:
3183 Remove GST_PARAM_CONTROLLABLE.
3185 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3188 Correct file path. Tell about how to use -overrides.txt.
3189 * docs/design/draft-tagreading.txt:
3190 Small design update.
3192 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3194 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3195 (gst_registry_binary_load_plugin):
3196 Fix a typo in a debug message and revert change from yesterday as
3197 gst_registry_add_plugin() will only fail if something is really wrong
3198 already and we can't survive it anyway.
3200 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3202 * gst/gst.c: (init_post), (gst_deinit):
3203 Pre-register GstGError GType from a thread-safe context
3204 (fixes #527967); unref enum type classes in deinit.
3206 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3208 Patch by: Rene Stadler <mail at renestadler de>
3210 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3211 Merging an empty list with another list in KEEP_ALL mode should
3212 yield an empty list as result and not the second list (#512578).
3214 * tests/check/gst/gsttagsetter.c:
3215 Add unit test for tag merge modes and the aforementioned bug.
3217 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3219 Patch by: Rene Stadler <mail at renestadler de>
3222 Fix description to match the order in the table (#512577).
3224 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3226 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3228 * libs/gst/net/gstnettimepacket.h:
3229 * docs/libs/gstreamer-libs-sections.txt:
3230 Define socklen_t as int if it's not defined yet. Fixes compilation
3231 with MSVC6 and other versions where socklen_t is not defined in
3232 the windows headers (#518022).
3234 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3236 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3237 If gst_registry_add_plugin() fails our reference to the plugin is
3238 invalid so don't try to use it anymore and instead error out.
3240 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3242 * tools/gst-xmlinspect.c: (print_element_info), (main):
3243 De-cruft a bit. If no argument is specified, print all elements in
3244 XML syntax rather than a freestyle list of elements like gst-inspect.
3245 Also, don't print XML header chunk unless we actually have something
3246 to print (ie. don't print it before an error message); print error
3247 message to stderr not stdout. Remove support for printing plugin
3248 info (it would just output something freestyle along the lines of
3249 gst-inspect so far), which fixes #514507. Also add license header.
3251 2008-04-11 Julien Moutte <julien@fluendo.com>
3254 * configure.ac: Merge platform specific defines, introduce a new
3255 define on OS X to remember that forking when updating registry is
3257 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3259 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3261 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3262 condition that leads to absolutely no plugins being registered on
3265 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3267 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3269 * gst/gstutils.c: (gst_pad_add_data_probe),
3270 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3271 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3272 (gst_pad_add_buffer_probe_full):
3274 * docs/gst/gstreamer-sections.txt:
3275 * win32/common/libgstreamer.def:
3276 Add gst_pad_add_*_probe_full() functions with a notify callback that
3277 lets the caller free the data it passes to the probe functions. This
3278 is useful for bindings such as gst-python or gstreamermm (#526814).
3279 API: gst_pad_add_data_probe_full
3280 API: gst_pad_add_buffer_probe_full
3281 API: gst_pad_add_event_probe_full
3283 * tests/check/gst/gstutils.c:
3284 Add minimal unit test to make sure freeing the data actually works
3287 * tests/benchmarks/.cvsignore:
3288 Random cvsignore addendum.
3290 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3292 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3293 (GST_DEBUG_BIN_TO_DOT_FILE):
3294 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3295 to it in the docs (since these are macros the types of the arguments
3296 won't be shown in the docs otherwise).
3298 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3301 Do not abort on out of memory for pad_alloc_buffer.
3303 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3305 * libs/gst/check/gstcheck.c:
3306 Remove blank line between symbol name ad parameters to fix gtkdoc
3309 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3311 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3313 * docs/gst/gstreamer-sections.txt:
3316 * win32/common/libgstreamer.def:
3317 Expose gst_segment_copy() to make things easier for the c++ bindings.
3319 API: gst_segment_copy()
3321 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3323 * gst/gst.c: (gst_init_get_option_group), (init_post):
3324 Fix const position; ref GType classes for enum types to work
3325 around thread-safety issues in GLib versions < 2.16.
3327 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3329 * docs/design/part-buffering.txt:
3330 Fix some typos and set the estimated total for push mode to -1.
3332 * gst/gstquery.c: (gst_query_new_buffering):
3333 Set buffering-left to 0 as we're not buffering by default.
3335 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3336 Implement BUFFERING query.
3338 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3340 Based on patch by: Milosz Derezynski <internalerror gmail com>
3342 * gst/gsterror.c: (_gst_stream_errors_init):
3344 Add two new error codes for encrypted content. Fixes #524659.
3345 API: GST_STREAM_ERROR_DECRYPT
3346 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3348 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3353 * win32/common/libgstreamer.def:
3356 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3358 * plugins/elements/gstidentity.c: (gst_identity_event),
3359 (gst_identity_start):
3360 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3361 event after processing some data. Fixes bug #526042.
3363 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3365 * docs/gst/gstreamer-sections.txt:
3366 * gst/gstquery.c: (gst_query_parse_latency),
3367 (gst_query_set_buffering_percent),
3368 (gst_query_parse_buffering_percent),
3369 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3371 Rename _avail -> _range
3372 API: gst_query_set_buffering_range
3373 API: gst_query_parse_buffering_range
3375 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3377 * docs/design/part-buffering.txt:
3380 * gst/gstquery.c: (gst_query_parse_latency),
3381 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3382 (gst_query_parse_buffering_percent):
3384 Add busy field and quark for the buffering query so that the app can
3385 only use the query to see if buffering is in progress.
3387 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3389 * docs/gst/gstreamer-sections.txt:
3390 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3391 (gst_message_parse_buffering_stats):
3393 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3394 (gst_query_parse_latency), (gst_query_new_buffering),
3395 (gst_query_set_buffering_percent),
3396 (gst_query_parse_buffering_percent),
3397 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3398 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3400 Reorder the message docs and headers for clarity.
3401 Add aditional buffering stats API for messages.
3402 Add buffering query.
3403 Convert some leftover queries to use GstQuark.
3404 API: gst_message_set_buffering_stats
3405 API: gst_message_parse_buffering_stats
3406 API: GST_QUERY_BUFFERING
3407 API: GstBufferingMode
3408 API: gst_query_new_buffering
3409 API: gst_query_set_buffering_percent
3410 API: gst_query_parse_buffering_percent
3411 API: gst_query_set_buffering_stats
3412 API: gst_query_parse_buffering_stats
3414 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3416 * gst/gstmessage.c: (gst_message_new_error),
3417 (gst_message_new_warning), (gst_message_new_info),
3418 (gst_message_new_buffering), (gst_message_new_state_changed),
3419 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3420 (gst_message_new_new_clock), (gst_message_new_segment_start),
3421 (gst_message_new_segment_done), (gst_message_new_duration),
3422 (gst_message_new_async_start), (gst_message_parse_buffering),
3423 (gst_message_parse_state_changed),
3424 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3425 (gst_message_parse_new_clock), (gst_message_parse_error),
3426 (gst_message_parse_warning), (gst_message_parse_info),
3427 (gst_message_parse_segment_start),
3428 (gst_message_parse_segment_done), (gst_message_parse_duration),
3429 (gst_message_parse_async_start):
3430 Use GstQuark for messages.
3432 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3434 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3436 Add some more quarks needed for messages and queries.
3438 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3440 * docs/design/part-buffering.txt:
3441 Remove the "none" buffering mode, STREAM is a good default.
3442 Move estimated-time to the avail query, that's when it will be needed.
3443 Other small typo fixes and updates.
3445 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3447 * gst/gstindex.c: (gst_index_resolver_get_type):
3448 Don't put descriptions into the nick field of a GEnumValue: it's not
3449 meant for that and some language bindings rely on the nick field to
3450 construct constants and the like. Fixes #526705.
3452 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3457 Merge other changes from 0.10.19 release branch.
3459 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3461 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3464 Actually build dlls when cross-compiling with mingw32.
3467 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3469 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3472 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3474 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3476 * docs/design/draft-latency.txt:
3479 * docs/design/part-buffering.txt:
3480 Update design docs with more buffering ideas.
3482 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3485 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3487 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3490 Revert part that belongs to the preset patch.
3492 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3495 Add qoutes to the define. Fixes # 525961.
3497 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3499 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3500 (gst_file_index_load), (gst_file_index_add_id),
3501 (gst_file_index_get_assoc_entry):
3502 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3503 (gst_mem_index_free_id), (gst_mem_index_add_id),
3504 (gst_mem_index_index_format):
3505 Use GSlice when possible.
3507 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3509 * libs/gst/controller/gstinterpolationcontrolsource.c:
3510 (gst_control_point_free),
3511 (gst_interpolation_control_source_set_internal):
3512 Use GSlice for allocating the control points.
3514 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3516 * plugins/elements/gsttypefindelement.c:
3517 (gst_type_find_element_class_init),
3518 (gst_type_find_element_set_property),
3519 (gst_type_find_element_get_property),
3520 (gst_type_find_element_activate):
3521 * plugins/elements/gsttypefindelement.h:
3523 Fix pad leak when peer query fails.
3524 We can still typefind when the peer returns -1.
3525 Add property to force caps and bypass typefinding. This will be used in
3529 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3534 * gst/glib-compat-private.h:
3535 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3536 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3537 Unconditionally use GSlice for allocation.
3539 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3540 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3541 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3542 (gst_structure_free):
3543 Use GSlice for allocation.
3545 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3547 * gst/parse/Makefile.am:
3548 * gst/parse/grammar.tab.pre.c:
3549 * gst/parse/grammar.tab.pre.h:
3550 * gst/parse/lex._gst_parse_yy.pre.c:
3551 Require a new enough flex and bison and remove the parser hacks to use
3552 a pre-regenerated version.
3554 2008-04-01 Julien Moutte <julien@fluendo.com>
3556 patch by: Jason Zhao <E3423C@motorola.com>
3558 * configure.ac: Add a configure switch to disable option parsing
3562 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3565 * gst/gstregistry.c:
3566 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3567 and handle this case.
3570 Add a comment here describing, why we stat each plugin and not try to
3573 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3575 * libs/gst/base/gstbasetransform.c:
3576 (gst_base_transform_prepare_output_buffer):
3577 Also unset the GAP flag on buffers if we're working inplace but
3578 the element is not GAP-aware.
3580 Mark a comment as FIXME 0.11.
3582 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3585 Fix type in log message and add one to ease seeing how long registry
3586 cache verification takes.
3588 * gst/gstregistry.c:
3589 Only test plugin filenames against G_MODULE_SUFFIX.
3591 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3593 * gst/gstdebugutils.c:
3594 Improve handling ghost/proxy pads.
3596 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3598 * docs/gst/gstreamer-sections.txt:
3601 Expose macro to docs and fix link to it.
3603 2008-03-27 Michael Smith <msmith@fluendo.com>
3605 * libs/gst/dataprotocol/dataprotocol.c:
3606 (gst_dp_packet_from_event_1_0):
3607 When calculating GDP body CRC, use the correct pointer.
3608 Fixes part of #522401.
3610 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3612 Patch by: Mark Nauwelaerts <manauw at skynet be>
3614 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3615 (gst_identity_init), (gst_identity_prepare_output_buffer):
3616 Identity is not always a passthrough element, it can modify the buffer
3617 timestamps when it has a datarate and operates in single-segment mode.
3618 We therefore make it an in_place filter with a custom buffer prepare
3619 function that conditionally makes the input buffer metadata writable
3620 when needed. Fixes #523985.
3622 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3624 Patch by: Mark Nauwelaerts <manauw at skynet be>
3627 * libs/gst/base/gstbasesrc.h:
3628 * libs/gst/base/gstbasetransform.c:
3629 * libs/gst/check/gstcheck.c:
3630 Small documentation fixes. Fixes #523978.
3632 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3634 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3635 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3636 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3638 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3640 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3641 (single_queue_underrun_cb):
3642 When trying to make room in the queue, bump the max allowed buffers
3643 bigger than the current amount of buffers in the queue. this fixes some
3644 nasty deadlocks in multiqueue when dynamically changing the limits of
3647 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3649 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3651 * gst/gstcaps.c: (gst_caps_set_simple),
3652 (gst_caps_set_simple_valist), (gst_caps_intersect):
3654 Constify the field gchar * params in set_simple and friends.
3657 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3659 * gst/gstvalue.c: (gst_value_transform_object_string):
3660 Transform a GstObject to a more meaningfull string that includes the
3661 object type in addition to its name.
3663 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3666 ChangeLog surgery to add bugnumber to commit.
3668 2008-03-23 Rene Stadler <mail@renestadler.de>
3670 * libs/gst/base/gstbasetransform.c:
3671 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3673 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3675 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3676 Rename constant everywhere and don't forget one occurence.
3678 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3680 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3681 Align memory to the pointer size even if the architecture allows
3682 unaligned memory access. Unaligned memory access usually comes with
3683 performance penality.
3685 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3687 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3688 (gst_registry_binary_check_magic),
3689 (gst_registry_binary_load_pad_template),
3690 (gst_registry_binary_load_feature),
3691 (gst_registry_binary_load_plugin):
3692 Align memory to the pointer size instead of always 32 bit. Fixes
3693 unaligned memory accesses on ia64 and friends.
3695 * gst/gstregistrybinary.h:
3696 Bump binary registry format version for this as it changes the
3697 format on those architectures that don't have unaligned access
3698 and 64 bit pointers.
3700 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3702 * docs/pwg/advanced-dparams.xml:
3703 * docs/pwg/building-props.xml:
3704 * docs/pwg/other-source.xml:
3705 * gst/glib-compat.h:
3706 * gst/gstbin.c: (gst_bin_class_init):
3707 * gst/gstclock.c: (gst_clock_class_init):
3708 * gst/gstindex.c: (gst_index_class_init):
3709 * gst/gstobject.c: (gst_object_class_init):
3710 * gst/gstpad.c: (gst_pad_class_init):
3711 * gst/gstpipeline.c: (gst_pipeline_class_init):
3712 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3713 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3714 * libs/gst/base/gstbasetransform.c:
3715 (gst_base_transform_class_init):
3716 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3717 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3718 (_gst_check_fault_handler_sighandler),
3719 (_gst_check_fault_handler_setup), (gst_check_init):
3720 * libs/gst/controller/gstcontroller.c:
3721 (_gst_controller_class_init):
3722 * libs/gst/controller/gstlfocontrolsource.c:
3723 (gst_lfo_control_source_class_init):
3724 * libs/gst/net/gstnetclientclock.c:
3725 (gst_net_client_clock_class_init):
3726 * libs/gst/net/gstnettimeprovider.c:
3727 (gst_net_time_provider_class_init):
3728 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3729 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3730 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3731 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3732 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3733 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3734 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3735 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3736 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3737 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3738 * plugins/elements/gsttee.c: (gst_tee_class_init):
3739 * plugins/elements/gsttypefindelement.c:
3740 (gst_type_find_element_class_init):
3741 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3742 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3743 use it everywhere for GParamSpecs that use static strings (i.e. all).
3744 This gives us less memory usage, fewer allocations and thus less
3745 memory defragmentation. Fixes bug #523806.
3747 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3749 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3750 (gst_param_spec_mini_object):
3751 * gst/gstminiobject.h:
3752 * win32/common/libgstreamer.def:
3753 * docs/gst/gstreamer-sections.txt:
3754 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3755 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3756 GstParamSpecMiniObject into a public header for this.
3758 This make GstMiniObject a bit more consistent with GObject and makes
3759 it possible to extend the param specs.
3761 gst_value_dup_mini_object is mainly useful for set_property methods.
3765 * tools/gst-inspect.c: (print_element_properties_info):
3766 Print something useful for GstMiniObject properties and not just
3769 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3771 * docs/gst/gstreamer-sections.txt:
3772 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3773 (gst_registry_binary_check_magic):
3774 * gst/gstregistrybinary.h:
3775 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3776 and add it to the (private part) of the docs to fix the build.
3778 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3780 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3781 (gst_registry_binary_check_magic),
3782 (gst_registry_binary_read_cache):
3783 * gst/gstregistrybinary.h:
3784 Don't use GST_MAJORMINOR for the binary registry version. Instead
3785 hardcode a value that must be changed whenever the format changes
3786 in an incompatible way.
3787 Also don't GST_ERROR when there is a version mismatch, just
3788 regenerate the registry silently.
3790 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3793 Back to development - 0.10.18.1
3795 === release 0.10.18 ===
3797 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3800 releasing 0.10.18, "So far away"
3802 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3805 * win32/common/config.h:
3806 0.10.17.4 pre-release
3808 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3810 Patch by: Ole André Vadla Ravnås
3811 <ole dot andre dot ravnas at tandberg dot com>
3813 * docs/gst/gstreamer-sections.txt:
3814 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3815 (gst_poll_update_winsock_event_mask),
3816 (gst_poll_prepare_winsock_active_sets),
3817 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3818 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3819 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3820 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3821 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3823 * win32/common/libgstreamer.def:
3824 Add new function gst_poll_fd_ignored() for improved Windows
3826 Various minor fixes and cleanups. See #520808.
3828 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3830 * gst/gstindex.c: (gst_index_entry_free):
3832 Don't free key strings which we don't own. Fixes crash in
3833 gst_index_entry_free() (#522741).
3835 * tests/check/Makefile.am:
3836 * tests/check/gst/.cvsignore:
3837 * tests/check/gst/gstindex.c: (test_index_entries),
3838 (gst_index_suite), (gst_index):
3839 Add unit test for the above.
3841 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3843 * win32/common/libgstreamer.def:
3844 Remove symbols that were removed recently. Fixes bug #521740.
3846 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3849 * win32/common/config.h:
3850 0.10.17.3 pre-release
3852 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3854 Patch by: Ole André Vadla Ravnås
3855 <ole dot andre dot ravnas at tandberg dot com>
3857 * docs/gst/gstreamer-sections.txt:
3858 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3859 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3860 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3861 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3862 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3863 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3864 (gst_poll_fd_can_write), (gst_poll_wait),
3865 (gst_poll_set_controllable), (gst_poll_restart),
3866 (gst_poll_set_flushing):
3868 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3869 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3870 (gst_net_time_provider_new):
3871 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3872 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3873 * tests/benchmarks/gstpollstress.c: (main):
3874 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3875 Remove GstPollMode from the API, it does not make sense to let the
3876 application control this.
3877 Add support for Win32.
3878 Fix the testsuite. Fixes #520671.
3880 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3882 Patch by: Ole André Vadla Ravnås
3883 <ole dot andre dot ravnas at tandberg dot com>
3885 * gst/gstregistrybinary.c:
3886 Include io.h for write() and close() when building with MSVC. Fixes
3889 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3892 * gst/gst_private.h:
3893 * gst/gstconfig.h.in:
3894 * gst/gstregistry.h:
3895 * gst/gstregistrybinary.c:
3896 * win32/common/gstconfig.h:
3897 Move registry backend API to private headers where we can. Add
3898 fixme-0.11 comments for the others. Add stubs for the xml backend when
3899 using the binary to ensure they functions exists (they should not be
3900 used though). Fixes #520756.
3902 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3905 * win32/common/config.h:
3908 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3910 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3911 (gst_registry_binary_read_cache):
3912 * gst/gstregistryxml.c: (gst_registry_save):
3913 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3914 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3915 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3916 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3917 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3920 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3922 * gst/gstminiobject.c:
3923 Import gst_private.h before any other header that might include other
3924 glib headers. This fixes the build on windows using native compilers.
3926 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3928 * win32/common/gstconfig.h:
3929 Add here too, just for completeness.
3931 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3934 * gst/gstconfig.h.in:
3935 * gst/gstregistry.h:
3936 Fix broken use of config.h-defined preprocessor directive in a public
3937 header file. Add a corresponding define to gstconfig.h, since we can't
3938 really remove those function declarations from the header file now
3939 (or can we? and why are they there in the first place?).
3941 2008-03-03 Andy Wingo <wingo@pobox.com>
3943 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3946 * gst/gststructure.c (gst_structure_from_string): Warn if
3947 structure_from_string didn't consume the whole string, but the
3948 caller did not provide an end pointer.
3950 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3952 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3954 * gst/gstregistryxml.c: (read_string), (load_feature):
3955 Strings allocated by libxml2 should be freed with xmlFree(), not
3956 with g_free(). Fixes issues on windows in certain contexts (#519698).
3958 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3960 * gst/gstinterface.c: (gst_element_implements_interface):
3961 Don't crash if the element supports the interface queried, but does
3962 not implement GstImplementsInterface. Fixes #519584.
3964 * tests/check/Makefile.am:
3965 * tests/check/gst/.cvsignore:
3966 * tests/check/gst/gstinterface.c:
3967 Add unit test for the above.
3969 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3971 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3974 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3976 * gst/gstsegment.c: (gst_segment_set_seek),
3977 (gst_segment_to_stream_time):
3978 Improve some comment.
3979 Update variables where it makes more sense.
3981 2008-02-29 Rene Stadler <mail@renestadler.de>
3983 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3984 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3985 URIHandlers implemented using language bindings.
3987 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3989 * gst/gstelementfactory.h:
3990 * tests/check/elements/fakesink.c:
3991 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3992 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3993 * tests/check/elements/filesink.c: (setup_filesink):
3994 * tests/check/elements/filesrc.c: (setup_filesrc):
3995 * tests/check/elements/identity.c: (setup_identity):
3996 * tests/check/elements/tee.c:
3997 * tests/check/generic/sinks.c:
3998 * tests/check/generic/states.c: (setup), (teardown):
3999 * tests/check/gst/gst.c:
4000 * tests/check/gst/gstabi.c:
4001 * tests/check/gst/gstbin.c:
4002 * tests/check/gst/gstbus.c: (pull_messages):
4003 * tests/check/gst/gstcaps.c:
4004 * tests/check/gst/gstelement.c:
4005 * tests/check/gst/gstevent.c:
4006 * tests/check/gst/gstghostpad.c:
4007 * tests/check/gst/gstiterator.c:
4008 * tests/check/gst/gstmessage.c:
4009 * tests/check/gst/gstminiobject.c: (my_foo_init):
4010 * tests/check/gst/gstobject.c: (thread_name_object),
4012 * tests/check/gst/gstpad.c:
4013 * tests/check/gst/gstplugin.c:
4014 * tests/check/gst/gstpoll.c:
4015 * tests/check/gst/gstquery.c:
4016 * tests/check/gst/gstsegment.c:
4017 * tests/check/gst/gststructure.c:
4018 * tests/check/gst/gstsystemclock.c:
4019 * tests/check/gst/gsttask.c:
4020 * tests/check/gst/gstutils.c:
4021 * tests/check/gst/gstvalue.c:
4022 * tests/check/gst/struct_hppa.h:
4023 * tests/check/gst/struct_i386.h:
4024 * tests/check/gst/struct_ppc32.h:
4025 * tests/check/gst/struct_ppc64.h:
4026 * tests/check/gst/struct_x86_64.h:
4027 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4028 * tests/check/libs/basesrc.c:
4029 * tests/check/libs/controller.c: (GST_START_TEST):
4030 * tests/check/libs/gdp.c:
4031 * tests/check/libs/gstnetclientclock.c:
4032 * tests/check/libs/gstnettimeprovider.c:
4033 * tests/check/libs/libsabi.c:
4034 * tests/check/libs/struct_hppa.h:
4035 * tests/check/libs/struct_i386.h:
4036 * tests/check/libs/struct_ppc32.h:
4037 * tests/check/libs/struct_ppc64.h:
4038 * tests/check/libs/struct_x86_64.h:
4039 * tests/check/pipelines/cleanup.c:
4040 * tests/check/pipelines/simple-launch-lines.c:
4041 * tests/check/pipelines/stress.c:
4042 And correct even more valid sparse warnings.
4044 * win32/common/libgstreamer.def:
4045 Add gst_poll_fd_init to the list of symbols.
4047 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4049 * gst/gstconfig.h.in:
4050 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4051 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4052 (gst_check_log_critical_func), (gst_check_drop_buffers),
4053 (gst_check_element_push_buffer_list):
4054 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4055 (gst_controller_get_type):
4056 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4057 (gst_object_get_controller), (gst_object_get_control_source):
4058 * libs/gst/controller/gstinterpolationcontrolsource.c:
4059 (gst_interpolation_control_source_new):
4060 * libs/gst/controller/gstlfocontrolsource.c:
4061 (gst_lfo_control_source_new):
4062 * libs/gst/dataprotocol/dataprotocol.c:
4063 (gst_dp_event_from_packet_0_2):
4064 * plugins/elements/gstfdsrc.c:
4065 * plugins/elements/gstmultiqueue.c:
4066 * plugins/elements/gsttee.c:
4067 * plugins/elements/gsttypefindelement.c:
4068 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4069 (gst_file_index_add_association):
4070 * plugins/indexers/gstmemindex.c:
4071 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4072 * tests/check/elements/queue.c: (setup_queue):
4073 * tests/check/gst/gstpipeline.c:
4074 * tests/check/libs/collectpads.c: (setup), (teardown),
4075 (gst_collect_pads_suite):
4076 * tests/examples/adapter/adapter_test.c:
4077 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4078 * tests/examples/xml/createxml.c:
4079 * tests/examples/xml/runxml.c:
4080 * tools/gst-inspect.c:
4082 Correct all relevant warnings found by the sparse semantic code
4083 analyzer. This include marking several symbols static, using
4084 NULL instead of 0 for pointers, not using variable sized arrays
4085 on the stack, moving variable declarations to the beginning of
4086 a block and using "foo (void)" instead of "foo ()" for declarations.
4088 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4090 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4091 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4092 Don't reset GstPollFDs, this is not necessary at all.
4094 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4095 (delayed_restart), (delayed_control):
4096 Use GST_POLL_FD_INIT.
4098 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4100 * gst/gstpoll.c: (gst_poll_fd_init):
4104 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4105 Use some more init macros.
4107 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4109 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4110 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4111 Use init macros and functions.
4113 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4115 * docs/gst/gstreamer-sections.txt:
4116 * gst/gstpoll.c: (gst_poll_fd_init):
4118 Add INIT macro and _init method for initializing the GstPollFD.
4120 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4122 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4123 (gst_fd_sink_update_fd):
4124 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4125 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4126 (delayed_restart), (delayed_control):
4127 Initialize some uninitialized variables as spotted by valgrind.
4129 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4131 * tests/benchmarks/Makefile.am:
4132 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4134 Add poll stress test.
4136 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4138 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4140 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4141 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4142 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4143 * plugins/elements/gstfdsink.h:
4144 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4145 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4146 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4147 (gst_fd_src_uri_set_uri):
4148 * plugins/elements/gstfdsrc.h:
4149 Port to GstPoll. See #505417.
4151 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4153 * win32/common/libgstreamer.def:
4154 Add new gst_poll_ symbols to win32 defs.
4156 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4158 * docs/libs/gstreamer-libs-sections.txt:
4159 * libs/gst/net/gstnetclientclock.c:
4160 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4161 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4162 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4163 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4164 * libs/gst/net/gstnetclientclock.h:
4165 * libs/gst/net/gstnettimeprovider.c:
4166 (gst_net_time_provider_class_init), (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 Use a private stuct to not break ABI.
4173 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4175 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4177 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4178 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4179 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4180 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4181 * libs/gst/net/gstnetclientclock.h:
4182 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4183 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4184 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4185 (gst_net_time_provider_new):
4186 * libs/gst/net/gstnettimeprovider.h:
4187 Massive code removal and cleanups because of GstPoll.
4190 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4193 Add checks for poll, ppoll and pselect.
4195 * docs/gst/gstreamer-docs.sgml:
4196 * docs/gst/gstreamer-sections.txt:
4197 Add docs for GstPoll.
4201 * gst/gstpoll.c: (find_index), (selectable_fds),
4202 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4203 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4204 (gst_poll_set_mode), (gst_poll_get_mode),
4205 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4206 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4207 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4208 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4209 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4210 (gst_poll_fd_can_write), (gst_poll_wait),
4211 (gst_poll_set_controllable), (gst_poll_restart),
4212 (gst_poll_set_flushing):
4214 Add generic poll abstraction. We ideally don't want to have this in core
4215 here but in glib intead...
4216 This code will be used in various network elements and ultimately for
4217 the nanosecond precision monotonic clock (that's why it's here in core).
4218 It'll allow us to implement cancelable socket operations for windows too.
4220 * tests/check/Makefile.am:
4221 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4222 (delayed_stop), (delayed_restart), (delayed_flush),
4223 (delayed_control), (gst_poll_suite):
4224 Add GstPoll unit test.
4226 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4229 Improve documentation of gst_filter_run(). Fixes #518627.
4231 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4234 Add a few lines about the new 'check-inspected-versions' target.
4236 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4238 * tests/check/gst/gstevent.c:
4239 Add qos to the event test. Rename tcase/tsuite; is not only about
4242 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4244 * plugins/elements/gstqueue.c:
4245 Ensure that buffer metadata is writeable, before modifying. Spotted by
4248 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4250 * plugins/elements/gstqueue.c:
4251 * plugins/elements/gstqueue.h:
4252 When dropping buffers in leaky modes, mark next buffers we sent as
4255 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4257 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4258 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4260 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4262 * plugins/elements/Makefile.am:
4263 * plugins/elements/gstbufferstore.c:
4264 * plugins/elements/gstbufferstore.h:
4265 * plugins/elements/gsttypefindelement.h:
4266 Remove GstBufferStore, no idea why we were still building it.
4267 It's not used anywhere and superseded by GstAdapter.
4269 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4270 (gst_file_src_create_mmap):
4271 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4272 Printf format fixes for 64-bit integers.
4274 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4277 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4278 We're not in 0.8 times anymore.
4280 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4282 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4283 (gst_check_element_push_buffer_list):
4284 * libs/gst/check/gstcheck.h:
4285 Make the declaration in the header for
4286 gst_check_element_push_buffer_list match the implementation.
4288 Fix up spelling, grammar and wording of the documentation in a few
4289 places, and add the Since keyword to new API functions.
4290 Use g_list_delete_link instead of g_list_remove in
4291 gst_check_drop_buffers, since it's immeasurably more efficient.
4293 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4294 Use new gst_check_drop_buffers function where appropriate.
4296 * win32/common/libgstbase.def:
4297 * win32/common/libgstreamer.def:
4298 Add new symbols gst_collect_pads_take_buffer,
4299 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4302 Changelog surgery to add API keyword to new gst_check API.
4304 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4306 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4307 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4308 Update pre-generated flex files with flex 2.3.34.
4310 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4312 * gst/gstminiobject.c:
4313 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4314 friendly to subclasses and not require them to know all internals
4315 of their parent class.
4317 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4319 * docs/libs/gstreamer-libs-sections.txt:
4320 * libs/gst/base/gstcollectpads.c:
4321 * libs/gst/base/gstcollectpads.h:
4322 Add sub-buffer functions to collectpads. Fixes #516187.
4323 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4325 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4328 Copy selected buffer-flags when creating subbuffers.
4331 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4333 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4334 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4335 * gst/gstmessage.c: (gst_message_class_init),
4336 (gst_message_finalize):
4337 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4338 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4339 (gst_mmap_buffer_finalize):
4340 Properly chain up finalize functions to the parent class.
4342 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4344 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4346 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4347 (gst_index_set_resolver_full):
4349 Add new function with option to dispose of user_data in resolver.
4350 Actually call the dispose function when finalizing the object and not
4351 just when changing the resolver/filter.
4352 API: GstIndex::gst_index_set_resolver_full()
4354 * docs/gst/gstreamer-sections.txt:
4355 Add new function to docs. Fixes #515469.
4357 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4359 * gst/gstindex.c: (gst_index_finalize):
4360 Chain up finalize to the parent class. Fixes leaking the GstObject
4361 name and other things.
4363 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4366 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4367 pre-releases or releases.
4369 * docs/faq/gst-uninstalled:
4372 * docs/random/release:
4373 Change one of the steps - we only upload core & base to Gnome FTP
4375 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4377 * gst/gstconfig.h.in:
4378 Add 'id' for example.
4382 * plugins/elements/gstfdsink.c:
4383 Link to signals. Doc and comment fixes.
4385 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4387 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4388 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4389 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4390 unused and unimplemented; finally, it is plugin features, not
4391 plugins, that have ranks.
4393 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4395 * gst/gstpluginfeature.h:
4396 Clarify GstRank range docs.
4398 2008-02-05 David Schleef <ds@schleef.org>
4400 * gst/gst.c: Add a separate gst_deinitialized that prevents
4401 gst_init() from being called after gst_deinit(). Fixes #509559
4403 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4405 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4406 (gst_bin_class_init):
4407 * gst/gstelement.c: (gst_element_base_class_init),
4408 (gst_element_class_add_pad_template):
4409 * gst/gstpadtemplate.c: (gst_pad_template_init):
4410 * gst/gstpipeline.c: (gst_pipeline_get_type),
4411 (gst_pipeline_base_init), (gst_pipeline_class_init):
4412 * libs/gst/base/gstbasesink.c:
4413 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4414 (gst_base_src_base_init), (gst_base_src_class_init):
4415 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4416 (gst_capsfilter_class_init):
4417 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4418 (gst_fake_sink_class_init):
4419 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4420 (gst_fake_src_class_init):
4421 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4422 (gst_fd_sink_class_init):
4423 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4424 (gst_fd_src_class_init):
4425 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4426 (gst_file_sink_class_init):
4427 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4428 (gst_file_src_class_init):
4429 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4430 (gst_identity_class_init):
4431 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4432 (gst_multi_queue_class_init):
4433 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4434 (gst_queue_class_init):
4435 * plugins/elements/gsttee.c: (gst_tee_base_init),
4436 (gst_tee_class_init):
4437 * plugins/elements/gsttypefindelement.c:
4438 (gst_type_find_element_base_init),
4439 (gst_type_find_element_class_init):
4440 * tests/check/gst/gstelement.c: (gst_element_suite):
4441 Revert previous changes to the behaviour of GstPadTemplates, etc
4442 and the possiblity to call them in class_init as it breaks too
4443 many elements. Reopens bug #491501.
4445 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4448 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4450 * tools/gst-launch.c:
4451 Dump one graph per pipeline state-change and state change name
4452 (if GST_DEBUG_DUMP_DOT_DIR is set).
4454 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4457 * tests/check/gst/gstpad.c:
4458 Be sure that we have a new copy of the caps and not
4459 reffed caps from a template
4461 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4463 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4464 * gst/gstpipeline.c: (gst_pipeline_get_type),
4465 (gst_pipeline_class_init):
4466 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4467 (gst_base_sink_class_init):
4468 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4469 (gst_base_src_class_init):
4470 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4471 (gst_base_transform_class_init):
4472 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4473 (gst_collect_pads_class_init):
4474 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4475 * libs/gst/net/gstnettimeprovider.c:
4476 (gst_net_time_provider_base_init),
4477 (gst_net_time_provider_class_init):
4478 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4479 (gst_capsfilter_class_init):
4480 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4481 (gst_fake_sink_class_init):
4482 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4483 (gst_fake_src_class_init):
4484 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4485 (gst_fd_sink_class_init):
4486 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4487 (gst_fd_src_class_init):
4488 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4489 (gst_file_sink_class_init):
4490 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4491 (gst_file_src_class_init):
4492 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4493 (gst_identity_class_init):
4494 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4495 (gst_multi_queue_class_init):
4496 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4497 (gst_queue_class_init):
4498 * plugins/elements/gsttee.c: (gst_tee_base_init),
4499 (gst_tee_class_init):
4500 * plugins/elements/gsttypefindelement.c:
4501 (gst_type_find_element_base_init),
4502 (gst_type_find_element_class_init):
4503 Don't use base_init where not absolutely necessary. For example it's
4504 not necessary anymore for adding pad templates or setting element
4507 Leave empty base_init functions in several places as GST_BOILERPLATE
4508 still defines and uses them.
4510 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4512 * gst/gstelement.c: (gst_element_base_class_init),
4513 (gst_element_class_add_pad_template):
4514 * gst/gstpadtemplate.c:
4515 Make it possible (and recommended) to set element details and add
4516 pad templates in the class_init functions by copying the details/pad
4517 templates in GstElement's base_init.
4519 Also make it possible to replace existing pad templates by adding
4520 a new one with the same name. This was done in a hackish fashion
4521 in same elements before already.
4523 Don't reference pad templates that are added a second time. A
4524 new pad template has a refcount of one and is not floating anymore
4525 and to be owned by the element's class. Make this more explicit by
4526 mentioning it in the docs of gst_element_class_add_pad_template().
4528 These changes are backwards compatible. Fixes bug #491501.
4530 * tests/check/gst/gstelement.c:
4531 Add unit test for setting element details, adding pad templates and
4532 replacing them in a subclass.
4534 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4536 * tools/gst-inspect.c: (print_interfaces),
4537 (print_element_properties_info), (print_pad_info),
4538 (print_signal_info), (print_element_info):
4539 Fix a few memory leaks.
4541 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4543 * docs/libs/gstreamer-libs-sections.txt:
4544 * libs/gst/check/gstcheck.c:
4545 * libs/gst/check/gstcheck.h:
4546 Add more functions for unit testing: gst_check_drop_buffers,
4547 gst_check_caps_equal, gst_check_element_push_buffer_list,
4548 gst_check_element_push_buffer
4549 API: gst_check_drop_buffers
4550 API: gst_check_caps_equal
4551 API: gst_check_element_push_buffer_list
4552 API: gst_check_element_push_buffer
4554 2008-02-01 Julien Moutte <julien@fluendo.com>
4556 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4557 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4558 (gst_index_finalize), (gst_index_entry_free),
4559 (gst_index_add_association): Fix memory leaks.
4560 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4561 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4562 (gst_mem_index_free_format), (gst_mem_index_free_id),
4563 (gst_mem_index_finalize): Fix memory leaks.
4564 * win32/common/config.h: Updated to CVS HEAD.
4566 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4569 Some more details about how the plugin docs works.
4571 * docs/plugins/gstreamer-plugins-sections.txt:
4574 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4576 * gst/parse/grammar.tab.pre.c:
4577 * gst/parse/grammar.tab.pre.h:
4578 * gst/parse/grammar.y:
4579 * gst/parse/lex._gst_parse_yy.pre.c:
4580 Add delayed set-property. This allows to set properties on dynamicaly
4581 created objects (pads in videomxer). Fixes #509391.
4583 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4586 Check if caps are not NULL (fix bug #510194)
4588 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4590 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4591 (gst_base_sink_get_position_paused):
4592 Add fixme regarding EOS in pull mode.
4593 Fix position reporting in PAUSED for negative rates.
4595 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4597 * gst/gstminiobject.c: (gst_mini_object_replace):
4598 When replacing a miniobject, do a quick equality check first so that we
4599 can avoid a ref/unref pair.
4601 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4603 * docs/design/part-synchronisation.txt:
4606 * docs/plugins/Makefile.am:
4607 * docs/plugins/gstreamer-plugins-docs.sgml:
4608 * docs/plugins/gstreamer-plugins-sections.txt:
4609 * plugins/elements/gstmultiqueue.c:
4610 Add multiqueue to the docs.
4612 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4617 === release 0.10.17 ===
4619 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4622 releasing 0.10.17, "Due Negligence"
4624 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4627 Revert caps != NULL check temporarily for 0.10.17 release.
4629 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4632 Check if caps are not NULL (fix bug #510194)
4634 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4637 Fix compilation on systems that have posix timers but no
4640 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4643 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4645 * tools/gst-inspect.c:
4646 Revert previous commit in preparation for an impromptu 0.10.17 release
4648 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4650 * tools/gst-inspect.c: (print_interfaces),
4651 (print_element_properties_info), (print_pad_info),
4652 (print_signal_info), (print_element_info):
4653 Fix a few memory leaks.
4655 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4660 === release 0.10.16 ===
4662 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4665 releasing 0.10.16, "Special Dispensation"
4667 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4670 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4671 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4672 not fail when trying to crosscompile on OpenEmbedded (#511750).
4674 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4677 Use $(MAKE) instead of make to fix the build if GNU make is
4678 called different. Fixes bug #510747.
4680 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4682 * gst/gstplugin.c: (_gst_plugin_initialize):
4683 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4684 again, which I broke two commits ago when changing the API
4685 of gst_plugin_register_static(): the g_list_foreach() in
4686 _gst_plugin_register_static still assumed the old function
4687 signature and would therefore fail (re-fixes #510187).
4689 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4690 (_gst_plugin_register_static), (gst_plugin_register_static):
4691 Revert the (technically correct) change to call g_thread_init() from
4692 the pre-main() constructor. This will break programs which call
4693 g_thread_init() without an if (!g_thread_supported()) guard in their
4694 main function. We could just blame it on GLib or the application, but
4695 it's probably best to just avoid this altogether and simply not use
4696 any GLib functions here and use plain old malloc() with a simple
4697 array to store the plugins to register later when gst_init() is
4698 finally called (re-fixes #510187).
4700 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4701 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4702 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4703 (GST_START_TEST), (gst_plugin_suite):
4704 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4707 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4709 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4710 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4711 This makes gtk-doc complain, but results in slightly better
4712 compiler errors. The old _gst_plugin_register_static() is
4713 still guarded, so there'll be a compiler warning about that
4714 instead. Fixes #510187 too.
4716 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4718 * gst/gst.c: (init_post):
4719 * gst/gstplugin.c: (_gst_plugin_register_static),
4720 (gst_plugin_register_static), (_gst_plugin_initialize):
4721 * gst/gstplugin.h: (GstPluginFilter):
4722 Change API of gst_plugin_register_static() to not take
4723 a GstPluginDesc, but rather just take all the arguments
4724 in a GstPluginDesc directly. This is more intuitive and
4725 avoids certain mistakes when porting code from
4726 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4729 * tests/check/gst/gstplugin.c:
4730 Fix up for changed API.
4732 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4734 * docs/faq/legal.xml:
4735 Update FAQ, Totem actually has an exception these days.
4737 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4739 * win32/common/libgstreamer.def:
4740 Add new API declarations
4742 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4744 * gst/gstminiobject.c:
4745 Spelling fixes for the API docs.
4747 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4749 * libs/gst/base/gstbasetransform.c:
4750 Fix long property description for QoS.
4752 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4755 _gst_trace_on is already provided by gsttrace.h, no need to declare
4758 * docs/libs/gstreamer-libs-sections.txt:
4759 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4760 and remove strange tcase_add_test which is outputting a warning.
4762 * libs/gst/check/gstcheck.c:
4763 * libs/gst/check/gstcheck.h:
4764 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4765 and define them in gstcheck.c instead of having every .c file whcih
4766 includes gstcheck.h be defining its own copy and relying on symbol
4767 interposing to marry them all, which doesn't work on Solaris.
4769 * tests/check/elements/identity.c: (GST_START_TEST):
4770 Don't define 'buffers' locally, it comes from libgstcheck.
4772 * tests/check/generic/sinks.c: (send_buffer):
4773 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4775 * tests/check/gst/gststructure.c: (GST_START_TEST):
4776 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4777 * tests/check/gst/gstutils.c: (GST_START_TEST):
4778 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4779 Add a bunch of casts to make various constants fit the types
4780 they're being assigned to.
4782 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4784 * gst/gstchildproxy.c:
4785 Improve docs and add some ideas for making this more general-purpose.
4787 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4789 * gst/gst_private.h: (GST_CAT_TYPES):
4790 Add GST_CAT_TYPES, for consistency, and so that the other
4791 debug categories don't make fun of it. Spotted by Saur on IRC.
4793 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4795 * gst/parse/Makefile.am:
4796 Move types.h from EXTRA_DIST to noinst_HEADERS.
4798 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4801 Add -Wno-portability to the automake parameters to stop warnings
4802 about GNU make extensions being used. We require GNU make in almost
4803 every Makefile anyway.
4806 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4807 at the same time is required for per target flags.
4809 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4812 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4813 __GNUC__ is defined before using it.
4815 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4817 * docs/gst/gstreamer-sections.txt:
4818 * gst/gst.c: (init_post):
4819 * gst/gstplugin.c: (_gst_plugin_register_static),
4820 (gst_plugin_register_static), (_gst_plugin_initialize),
4821 (gst_plugin_register_func):
4822 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4823 API: add gst_plugin_register_static() and deprecate
4824 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4826 Also, in _gst_plugin_register_static(), make sure to call
4827 g_thread_init() before calling GLib functions such as
4828 g_list_append() if we're not initialised yet, since that
4829 may lead to random crashes with older GSlice/GLib versions.
4831 * tests/check/gst/gstplugin.c:
4832 Adapt unit test to above changes.
4834 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4836 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4837 * gst/gstcaps.c: (gst_caps_to_string):
4838 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4839 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4840 Yet another gratuitous GString micro-optimisation: add a (private)
4841 function that serialises a structure appending to an existing
4842 GString, so that when we serialise caps we don't need to alloc+free
4843 a throwaway GString for each structure (each of which also entailing
4844 multiple reallocs on the way); also use g_string_sized_new() in
4845 various places with an approximate string length to avoid reallocs
4846 within GString. See #500143.
4848 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4850 * gst/gststructure.c: (gst_structure_id_set_value):
4851 Always check UTF-8 conformance of structure strings and not only
4852 if the debugging system is enabled; reasoning: the behaviour of
4853 the actual code shouldn't really change depending on whether the
4854 debugging system is enabled or not (#508291).
4856 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4859 Remove old coverage target in favour of "make lcov".
4861 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4863 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4864 (gst_base_src_loop):
4865 The start segment for reverse playback goes from start to last_stop.
4867 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4869 Patch by: Peter Kjellerstedt <pkj axis com>
4872 Cast the results from the timeval/spec_to_time macros to what the
4873 docs say it casts to, a GstClockTime. fixes #508175.
4875 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4878 Update some comments.
4880 * tools/gst-inspect.c: (print_element_properties_info):
4881 Improve printing of flags.
4883 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4885 * libs/gst/base/gstbasetransform.c:
4886 (gst_base_transform_transform_size):
4887 Print element name with g_warning() if there's a problem
4890 2008-01-07 David Schleef <ds@schleef.org>
4892 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4894 * libs/gst/controller/gstcontroller.h:
4895 * libs/gst/controller/gstcontrolsource.h:
4896 * libs/gst/controller/gstinterpolationcontrolsource.h:
4897 * libs/gst/controller/gstlfocontrolsource.h:
4898 * libs/gst/dataprotocol/dataprotocol.h:
4899 Fix empty prototypes. Fixes bug #507957.
4901 2008-01-07 David Schleef <ds@schleef.org>
4903 * docs/faq/dependencies.xml: Fix typo.
4905 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4907 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4908 (gst_base_src_loop):
4909 Don't update the last_stop position in do_seek, that's the position we
4911 Read backwards when we have a negative rate.
4913 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4914 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4916 Add check for reverse reading.
4918 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4920 Patch by: Alexis Ballier <aballier at gentoo org>
4922 * tests/check/gst/gstabi.c:
4923 * tests/check/gst/struct_ppc64.h:
4924 * tests/check/libs/libsabi.c:
4925 * tests/check/libs/struct_ppc64.h:
4926 Decide which header to include based on the userland ABI target
4927 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4928 for 64-bit userland (#503590). Might need something similar for
4931 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4933 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4934 Log the reason why fopen fails in addition to the fact that it failed.
4936 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4938 * gst/parse/parse.l:
4939 Use "%option never-interactive" to prevent useless calls to isatty()
4940 on every input when parsing. Also use "%option noinput" to not define
4941 the static input/yyinput functions which we don't use anyway. This
4942 removes a compiler warning with gcc 4.3 and saves some bytes in the
4945 * gst/parse/lex._gst_parse_yy.pre.c:
4946 Regenerated for the above change.
4948 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4950 * gst/gstpad.c: (fixate_value):
4951 Don't crash when trying to fixate and empty list.
4954 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4956 * docs/faq/gst-uninstalled:
4957 Clarify the comments to make the usage of this script and what it
4958 does easier to understand.
4960 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4962 * tools/gst-plot-timeline.py:
4963 Add more options to gst-plot-timeline
4965 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4967 * docs/design/part-synchronisation.txt:
4968 Some more info on how the stream_time in GstBaseSink is done.
4970 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4972 * tests/check/generic/sinks.c: (gst_sinks_suite):
4973 Put back the tcase_set_timeout(), apparently it's needed after
4974 all; fix it up in a way that makes things work with valgrind too.
4976 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4978 * gst/gstdebugutils.c:
4979 Add warning when failed to open file for writing.
4981 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4983 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4985 * gst/gstvalue.c: (gst_value_is_fixed):
4986 Optimisation: bail out of the loop as early as possible (#500143).
4988 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4990 * gst/gstcaps.c: (gst_caps_to_string):
4991 * gst/gstinfo.c: (gst_debug_construct_term_color):
4992 * gst/gstparse.c: (gst_parse_launchv):
4993 * gst/gstutils.c: (gst_util_dump_mem):
4994 * gst/gstvalue.c: (gst_value_serialize_any_list),
4995 (gst_value_transform_any_list_string):
4996 Bunch of gratuitous nano-optimisations.
4998 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5000 * tests/check/generic/sinks.c: (async_done_func),
5001 (async_done_eos_func):
5002 Fix leak in unit test (bus sync handler must unref the message
5003 if it returns GST_BUS_DROP). Don't fiddle with the default test
5004 timeout, this is smaller than the current preconfigured value
5005 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5006 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5008 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5010 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5013 Check for stdio_ext.h for the filesink changes.
5015 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5016 (gst_file_sink_class_init), (gst_file_sink_init),
5017 (gst_file_sink_dispose), (gst_file_sink_set_property),
5018 (gst_file_sink_get_property), (gst_file_sink_open_file),
5019 (gst_file_sink_close_file):
5020 * plugins/elements/gstfilesink.h:
5021 Add two properties to control the buffering mode and size.
5022 API: GstFileSink::buffer-mode
5023 API: GstFileSink::buffer-size
5026 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5028 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5029 Add some more docs to explain why a FIXME was wrongly added.
5031 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5034 Fix typo in the gst_object_{ref,unref} documentation.
5036 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5038 * tests/check/libs/controller.c:
5039 * tests/check/libs/typefindhelper.c:
5040 * tests/check/pipelines/parse-launch.c:
5041 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5042 going to be deprecated (see #498924).
5044 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5046 * gst/gsttypefind.c: (gst_type_find_register):
5047 Make gst_type_find_register work for static typefind functions,
5048 ie. allow passing plugin == NULL (prerequisite for #498924).
5050 * gst/gstelementfactory.c: (gst_element_register):
5051 Small docs addition.
5053 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5055 * gst/gstpad.c: (gst_pad_dispose):
5056 Really unlink the peer pad instead of setting the peer pointer to NULL
5057 when we dispose the pad.
5058 This correctly calls the unlink functions and makes sure that the peer
5059 does not have a handle to invalid memory. See #504671.
5061 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5062 Add testsuite for above case.
5064 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5066 Patch by: Peter Kjellerstedt <pkj axis com>
5068 * libs/gst/check/gstcheck.h:
5069 Fix detection of the check version we're compiling against (would
5070 otherwise break if check goes v0.10.0); correctly report the
5071 name of the failed test again in case of failure, instead of
5072 just 'tf' (fixes #504499).
5074 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5076 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5077 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5078 (gst_base_src_loop), (gst_base_src_set_flushing),
5079 (gst_base_src_change_state):
5080 Allow sending EOS to the source to make it send out an EOS event from
5081 the streaming thread.
5082 Update docs and deprecate the old NULL/READY shutdown method.
5084 * tests/check/libs/basesrc.c: (GST_START_TEST),
5085 (gst_basesrc_suite):
5086 Add unit test for controlled shutdown.
5088 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5090 * docs/design/part-synchronisation.txt:
5093 * gst/gstsegment.c: (gst_segment_set_seek),
5094 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5095 (gst_segment_to_running_time):
5096 The seek format can be different from the segment format when the start
5097 and stop values are not to be updated, when we only do a rate change for
5100 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5101 (gst_segment_suite):
5102 Add a testcase for the rate-only seeks, checking that the format is
5103 correctly ignored when start and stop are not updated.
5105 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5107 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5109 * win32/vs8/grammar.vcproj:
5110 * win32/vs8/libgstcontroller.vcproj:
5111 * win32/vs8/libgstreamer.vcproj:
5112 Fix compilation with VS8 and include some missing files.
5114 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5117 Small docs addition: mention that the strings returned by
5118 gst_tag_list_get_string*() are in UTF-8 encoding.
5120 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5123 The check-exports stuff moved to common/win32.mak, so include that.
5125 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5127 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5128 (gst_base_src_perform_seek), (gst_base_src_get_range),
5129 (gst_base_src_set_playing), (gst_base_src_change_state):
5130 Make _wait_playing() not check any variables so that we can call this
5131 function from subclasses. Move the checks elsewhere similar to
5132 _wait_preroll() in basesink.
5134 Only signal the LIVE cond when we are going back to PLAYING.
5136 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5138 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5139 Use g_remove() and g_rename(). Check result of g_rename(), and
5140 don't leak the open file descriptor if we error out when writing.
5142 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5143 Must check the return value of close() after writing out the new
5144 registry file. Sometimes write problems such as out-of-diskspace
5145 are only reported when the file is closed and not already during
5146 the write. This may have caused partial/broken registry files in
5147 some rare circumstances. Should fix #503675.
5149 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5151 * docs/gst/.cvsignore:
5152 * docs/libs/.cvsignore:
5153 * docs/plugins/.cvsignore:
5154 Ignore files generated by new common/* modifications
5156 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5158 * win32/common/libgstbase.def:
5159 Yes, you can also have a <TAB> if you want.
5161 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5163 * win32/common/libgstbase.def:
5164 Add new basetransform API to win export file.
5166 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5168 * tests/check/gst/gstbin.c:
5169 Adjust the test to the refcount change two days ago.
5171 2007-12-14 David Schleef <ds@schleef.org>
5173 * docs/faq/getting.xml: Fix typo.
5175 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5177 * docs/libs/gstreamer-libs-sections.txt:
5178 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5179 (gst_base_transform_prepare_output_buffer),
5180 (gst_base_transform_set_gap_aware):
5181 * libs/gst/base/gstbasetransform.h:
5182 API: Add gst_base_transform_set_gap_aware() to control whether
5183 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5184 get buffers with this flag at all. Fixes #503231.
5186 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5188 * libs/gst/base/gstbasesink.c:
5189 * libs/gst/base/gstbasesrc.c:
5190 * libs/gst/base/gstbasetransform.c:
5191 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5192 thread. Correct log message in gstbasesrc.c.
5194 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5196 * gst/gstutils.c: (element_find_unconnected_pad):
5197 Fix possible compiler warning (#503417).
5199 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5201 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5202 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5204 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5206 * tools/gst-inspect.c: (print_element_properties_info):
5207 Add support for GstFraction properties.
5209 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5212 Add check-exports target and run it as part of 'make check'
5213 (see #499140 and #493983).
5215 * gst/gst_private.h:
5216 * gst/gstelementfactory.h:
5217 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5218 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5219 (_priv_gst_in_valgrind):
5220 * gst/gstinfo.h: (GstLogFunction):
5221 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5222 (gst_type_find_register):
5223 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5224 (gst_type_find_factory_get_type):
5225 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5226 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5227 (gst_controller_new_valist), (gst_controller_new_list),
5228 (_gst_controller_dispose), (_gst_controller_class_init):
5229 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5230 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5231 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5232 (gst_object_get_controller), (gst_object_set_controller),
5233 (gst_object_suggest_next_sync), (gst_object_sync_values),
5234 (gst_object_set_control_source), (gst_object_get_control_source),
5235 (gst_object_get_value_arrays), (gst_object_get_value_array),
5236 (gst_object_get_control_rate), (gst_object_set_control_rate):
5237 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5238 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5239 Make some functions that should be static static; rename some
5240 private symbols so that they don't get exported; add some FIXME
5241 comments so we can move accidentally exported functions into
5242 our private section in 0.11.
5244 * win32/common/libgstreamer.def:
5245 Add gst_utils_get_timestamp().
5247 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5251 Add more missing "Since:" tags to docs.
5253 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5256 Add mising "Since:" to docs.
5258 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5261 Include "glib-compat-private.h" to fix the build on system with
5262 glib < 2.10. Fixes #503131.
5264 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5268 Actually its not PURE as it gets the time from elsewhere.
5270 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5272 * docs/gst/gstreamer-sections.txt:
5274 * gst/gstdebugutils.c:
5278 * libs/gst/base/gstbasesink.c:
5279 * tools/gst-launch.c:
5280 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5281 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5282 Thanks Tim for spotting.
5283 API: gst_util_get_timestamp
5285 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5288 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5290 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5292 * gst/gststructure.c: (gst_structure_validate_name),
5293 (gst_structure_new_valist), (gst_structure_parse_value),
5294 (gst_structure_from_string):
5295 Don't crash in _from_string() if the structure name is not valid
5296 (fixes #501560). Allow structure names to start with a number
5297 again (this apparently broke the ubuntu codec installer).
5299 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5301 Add unit test for the crash; update unit tests for new behaviour.
5303 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5306 Clarify gst_element_get_compatible_pad() documentation.
5309 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5311 * tests/check/Makefile.am:
5312 Don't forget to dist {gst,libs}/struct_hppa.h.
5314 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5316 * libs/gst/base/gstbasesink.c:
5317 Use new API to get elapsed time.
5319 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5321 * gst/gstdebugutils.c:
5323 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5325 * tools/gst-launch.c:
5326 Use new API to get elapsed time.
5328 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5330 * docs/gst/gstreamer-sections.txt:
5332 * gst/gstdebugutils.c:
5334 Rename new API + ChangeLog surgery to remove old name from last entry..
5336 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5338 * docs/gst/gstreamer-sections.txt:
5340 * gst/gstdebugutils.c:
5342 Now hide the different clock stuff behind a macro.
5344 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5347 * gst/gstdebugutils.c:
5349 Apply the posix-timer check from #361155. Conditionally use the posix
5350 timer for logging. This gives better timestamp precission, less
5351 overhead and no ntp jitter.
5353 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5355 * gst/gstminiobject.c: (gst_mini_object_get_type),
5356 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5357 (gst_mini_object_finalize), (gst_mini_object_copy),
5358 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5359 (gst_mini_object_replace), (param_mini_object_validate),
5360 (gst_param_spec_mini_object_get_type):
5361 Some cleanup and checking against invalid function parameters.
5363 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5365 * docs/gst/gstreamer-sections.txt:
5367 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5368 (gst_systemclock_suite):
5369 Start merging in the easy bits of #361155, the monotonic clock patch.
5370 This one adds a few handy macros with docs and a testsuite.
5372 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5374 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5375 Be a bit smarter when seeking, like, don't try to do a seek when it's
5376 not needed. This avoids errors when the file is not seekable.
5379 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5381 * docs/gst/gstreamer-docs.sgml:
5382 * docs/gst/gstreamer-sections.txt:
5383 * docs/gst/gstreamer.types.in:
5388 * plugins/elements/gstqueue.c:
5389 Due to popular request remove preset interface again. :-(.
5391 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5393 * tools/gst-inspect.c:
5394 Print 'default value' for enums and flags too.
5396 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5398 * docs/random/ensonic/profiling.txt:
5402 Fix typo and give better log output.
5404 * gst/gstdebugutils.c:
5405 * gst/gstdebugutils.h:
5406 More ideas, make graphs a bit smaller and fix param name in macro.
5408 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5411 Try harder to use the return value from fgets().
5413 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5416 For theses two fgets we handle the error below.
5418 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5420 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5421 Only send upstream events upstream. Fixes #498746.
5423 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5425 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5427 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5428 (gst_identity_init), (gst_identity_transform_ip),
5429 (gst_identity_set_property), (gst_identity_get_property):
5430 * plugins/elements/gstidentity.h:
5431 Add property to disable handoff signal emission. Fixes #498694.
5432 API: GstIdentity::signal-handoffs
5434 2007-11-21 Julien Moutte <julien@fluendo.com>
5436 * docs/faq/gst-uninstalled: Yet another missing library for the
5437 uninstalled script (fft)
5439 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5441 * docs/faq/developing.xml:
5442 Add a question about how to submit new translations.
5444 * docs/random/release:
5445 Update the contact email address for the Translation Project
5447 * plugins/elements/gstfdsrc.c:
5448 The parent_class for fdsrc is pushsrc, not GstElement.
5450 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5453 Plug a leak and fix saving.
5455 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5457 * docs/gst/gstreamer-sections.txt:
5458 Add new gst_preset__get_property_names() function to the docs
5461 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5465 Change _get_preset_names API to return a strv with copies. Add
5466 _get_property_names to allow implementations to filter and provide
5467 good default implementation.
5469 2007-11-20 Julien MOUTTE <julien@moutte.net>
5471 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5474 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5477 More cleanups, docs, and TODOs from comments that now slowly come in.
5479 2007-11-19 Julien MOUTTE <julien@moutte.net>
5481 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5484 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5487 Fix bogus warning and make the property type specific code more
5490 2007-11-19 Julien MOUTTE <julien@moutte.net>
5492 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5495 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5497 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5498 (gst_bin_add_func), (gst_bin_remove_func),
5499 (gst_bin_change_state_func), (gst_bin_continue_func):
5500 Change email, cleanups add some more debug and comments.
5501 Also set bus and clock on new elements when the pipeline was in error.
5503 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5506 * gst/gstdebugutils.c:
5507 Fix build with --disable-gst-debug. Fixes #497859.
5508 Spotted by Sameer Naik.
5510 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5513 Little documentation improvment.
5516 More TODO cleanups. Remove c++ comments.
5518 * libs/gst/controller/gstcontroller.c:
5519 Add TODO and use quark from static string.
5521 * tests/check/gst/gstmessage.c:
5522 * tests/check/gst/gststructure.c:
5523 Use quark from static string.
5525 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5528 Add some comments and TODOs.
5531 Add padding for future changes.
5533 * plugins/elements/gstqueue.c:
5534 Implement the iface.
5536 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5538 * docs/gst/gstreamer-docs.sgml:
5539 * docs/gst/gstreamer-sections.txt:
5540 * docs/gst/gstreamer.types.in:
5545 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5547 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5553 === release 0.10.15 ===
5555 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5558 releasing 0.10.15, "October"
5560 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5562 * win32/vs6/libgstreamer.dsp:
5563 Convert line endings back to DOS.
5565 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5567 * docs/design/draft-tagreading.txt:
5568 * docs/random/ensonic/profiling.txt:
5569 Update fast tagreading draft and performance profiling ideas.
5571 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5573 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5574 Don't hold the object lock when unreffing a buffer because it could
5575 cause a deadlock when the finalize function wants to grab the object
5576 lock too. Fixes #495133.
5578 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5580 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5581 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5582 Also accumulate time correctly when doing reverse playback. Fixes
5584 When converting to running and stream time, use default values for
5585 start/stop/time/accum when comparing different formats. Fixes #494245.
5587 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5588 Do running/stream time in TIME format.
5590 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5591 (gst_segment_suite):
5592 2 new unit tests for segment accumulation.
5594 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5596 * gst/gst.c: (init_pre):
5597 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5598 (_gst_debug_bin_to_dot_file):
5599 Move getenv() back into gst_init, so everyone can live happily
5600 ever after. Make sure the symbol isn't exported though.
5602 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5604 Patch by: Sebastien Moutte <sebastien moutte net>
5606 * win32/common/gstenumtypes.c:
5607 * win32/common/gstenumtypes.h:
5610 * win32/vs6/libgstreamer.dsp:
5611 Update vs6 project files (#494343).
5613 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5615 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5616 (gst_base_src_perform_seek), (gst_base_src_default_event),
5617 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5618 (gst_base_src_activate_pull):
5619 Unify flushing code, remove some old unlock code that is no longer used.
5620 Take the streaming lock when seeking to avoid races. Fixes #492729.
5621 Added some more comments.
5623 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5625 * gst/gst.c: (_gst_disable_segtrap):
5626 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5627 we can use gst_segtrap_is_enabled() there now that we have that API.
5628 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5629 to do the getenv here (and export the variable).
5631 * gst/gstdebugutils.c: (debug_dump_element),
5632 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5633 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5635 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5636 (gst_debug_log_default):
5637 Rename _gst_info_start_time to priv_gst_info_start_time so it
5638 doesn't get exported (was never in any header).
5640 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5641 (gst_plugin_loading_mutex):
5642 Make static mutex gst_plugin_loading_mutex really static (was never
5643 in any header), and use gst_segtrap_is_enabled() instead of
5644 _gst_disable_segtrap.
5646 * gst/gsttrace.c: (_gst_trace_default):
5647 Make local _gst_trace_default static (was never in any header).
5649 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5651 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5653 * win32/common/libgstbase.def:
5654 * win32/common/libgstcontroller.def:
5655 * win32/common/libgstdataprotocol.def:
5656 * win32/common/libgstnet.def:
5657 * win32/common/libgstreamer.def:
5658 Add more missing symbols, remove some duplicates, and sort
5659 as the 'sort' command sorts it (partially fixes #493983).
5661 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5663 * gst/gstelement.c: (gst_element_set_state_func):
5664 Only change the state cookie if a different state was set on the
5665 element. See #492729.
5667 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5670 Remove unused and uninitialised type variables that were still
5671 exported for some reason (they were never in any header files
5674 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5676 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5677 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5678 (gst_base_sink_event), (gst_base_sink_get_position_last),
5679 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5680 (gst_base_sink_change_state):
5681 Don't try to report a 0 position when we don't know, return -1 and FALSE
5682 instead. This mostly happens when we are prerolling.
5683 Make sure we can report the right position before we post the ASYNC_DONE
5684 message so that a message handler can query position without races.
5686 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5687 (async_done_handoff), (async_done_func), (send_buffer),
5688 (async_done_eos_func), (gst_sinks_suite):
5689 Add two tests for the above.
5691 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5694 Update with new email address.
5696 * docs/design/part-TODO.txt:
5697 Add some more info about future pad-block and negotiation changes.
5699 * docs/design/part-buffering.txt:
5700 Add some ideas about buffering reporting.
5702 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5704 * tests/check/gst/gstobject.c:
5705 Disable silly racy test that always fails on this combination of CPU
5708 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5710 Patch by: Murray Cumming <murrayc@murrayc.com>
5713 Corrected the registration of the parent-set and parent-unset
5714 signals: The parameter is a GstObject, not a GObject (#493134).
5716 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5718 * gst/gst_private.h:
5727 Move declaration of private _gst_foo_initialize() functions into
5728 our private header file where they should have been all along.
5730 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5732 * docs/plugins/gstreamer-plugins-sections.txt:
5733 * gst/gstdebugutils.h:
5735 * plugins/elements/gstqueue.c:
5736 gtk-doc fixes; trailing-comma-in-enum fix.
5738 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5740 * gst/gst.c: (gst_deinit):
5741 Clean up on deinit (not the external ones though, doesn't seem to be
5742 needed for some reason).
5744 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5746 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5747 Remove __declspec(dllimport) for MSVC that was copied over into core
5748 from a plugin, obviously without ever having been tested (note the
5749 single underscore in _declspec in the initial commit), and that doesn't
5750 really make sense. See #492077.
5752 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5754 * gst/gst.c: (init_post):
5755 * gst/gstevent.c: (_gst_event_initialize):
5756 * gst/gstquery.c: (_gst_query_initialize):
5757 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5758 g_type_class_ref() other types as well, see #349410 and #64764.
5760 * gst/gstbuffer.c: (_gst_buffer_initialize):
5761 * gst/gstmessage.c: (_gst_message_initialize):
5762 Simplify existing g_type_class_ref().
5764 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5766 * gst/gstformat.c: (_gst_format_initialize):
5767 g_type_class_ref() our GstFormat type to make sure we avoid the
5768 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5769 bug #64764. Should fix intermittent tee unit test failures (#474823).
5771 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5773 * tests/check/elements/tee.c: (test_num_buffers):
5774 Simplify, simplify, simplify - or not. Rewrite unit test
5775 not to use gst_parse_launch(); allow N sub-streams. Increasing
5776 the number of sub-streams seems to reproduce #474823 more easily.
5778 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5780 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5783 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5784 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5785 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5786 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5787 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5788 so use _pipe() directly (#492077).
5790 * win32/common/dirent.c: (_treaddir):
5791 Add a couple of casts to make it build without warnings with MSVC.
5793 * win32/common/libgstreamer.def:
5794 Add some more symbols that need to be exported.
5796 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5798 * tests/examples/metadata/read-metadata.c: (message_loop):
5799 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5800 arriving in a second or third tag message are added to
5801 the tag list as well.
5803 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5805 * libs/gst/base/gstbasesrc.c:
5806 Its "Since:" and not "@Since:". And remove an superflous cast.
5808 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5810 * docs/libs/gstreamer-libs-sections.txt:
5811 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5812 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5813 (gst_base_sink_get_property), (gst_base_sink_render_object),
5814 (gst_base_sink_preroll_object),
5815 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5816 (gst_base_sink_change_state):
5817 * libs/gst/base/gstbasesink.h:
5818 Add a new last-buffer property that contains the last buffer used in
5819 basesink for preroll or rendering. useful for making snapshots.
5820 API: gst_base_sink_get_last_buffer()
5821 API: GstBaseSink::last-buffer
5823 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5825 * docs/gst/running.xml:
5827 * gst/gstdebugutils.c:
5828 * gst/gstdebugutils.h:
5829 * tools/gst-launch.c:
5830 Improve bin graph dumping, by using the envvar to specify a path.
5831 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5833 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5835 * plugins/elements/gsttypefindelement.c:
5836 (gst_type_find_element_handle_event),
5837 (gst_type_find_element_activate):
5838 Post special error message if we can't determine the type of a stream
5841 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5843 * docs/gst/running.xml:
5844 * gst/gstdebugutils.c:
5845 Document new env-var. Add one log-line after dumpng a graph.
5847 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5850 Ugly hack to put the (recently removed and non-portable, apparently)
5851 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5852 GNU ld, because without that 'make check' fails miserably on my debian
5853 stable box. Someone with more knowledge of linker intricacies and
5854 portability issues than me fix this properly please.
5856 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5858 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5859 Reset last seen position after flushing so that we don't report the old
5862 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5864 * gst/gstelementfactory.c: (gst_element_register):
5866 Patch from Alessandro Decina adding get_type_full and
5867 get_protocols_full private vfuncs to the URIHandler interface
5868 to allow bindings to support creating URI handlers.
5869 Partially fixes: #339279
5870 API: GstURIHandlerInterface::get_type_full
5871 API: GstURIHandlerInterface::get_protocols_full
5873 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5875 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5876 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5877 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5878 Make it so that pads are considered linked until a buffer is pushed
5879 and discovered otherwise. This avoids problems with decodebin2 hanging
5880 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5883 Make sure we lock the multiqueue when updating the max-size properties.
5885 Fix a crash on Solaris in a debug statement in get_request_pad that
5886 passes a NULL string to GST_DEBUG.
5888 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5889 (run_output_order_test):
5890 Fix the test to allow the first buffer on not-linked pads to come out
5891 of sequence while multiqueue discovers that they are not-linked.
5893 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5896 * libs/gst/check/Makefile.am:
5897 Use a custom export symbol regex for libgstcheck, as it needs
5898 to export symbols that don't match the standard GStreamer gst_*
5899 pattern, and --export-dynamic is not portable (only works on
5902 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5903 (gst_check_setup_sink_pad):
5904 Make sure to pass a message parameter to the fail_* macros.
5906 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5907 Fix some compiler warnings.
5909 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5911 * tests/check/gst/gststructure.c: (test_to_string):
5912 Disable test that checks that white spaces are not allowed
5913 in structure names or field names, since we need to
5914 support that for now for backwards compatibility reasons.
5916 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5918 * docs/gst/gstreamer-sections.txt:
5921 API: add GST_TAG_ARTIST_SORTNAME
5922 API: add GST_TAG_ALBUM_SORTNAME
5923 API: add GST_TAG_TITLE_SORTNAME
5924 Add tag variants for sorting (#414539).
5926 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5928 * gst/gststructure.c:
5929 Also allow white space for names so we don't break
5930 backwards compatibility.
5932 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5934 * docs/design/part-TODO.txt:
5935 * docs/design/part-segments.txt:
5936 * docs/design/part-streams.txt:
5939 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5941 * docs/gst/gstreamer-sections.txt:
5942 Fixed documentation from my previous commit (added new API add
5943 gst_value_set_structure(), add gst_value_get_structure() and
5944 GST_VALUE_HOLDS_STRUCTURE).
5946 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5948 * gst/gstdebugutils.c:
5949 Reflow code to fix uninitialized variable warning.
5951 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5953 * gst/gstcaps.c: (gst_caps_to_string),
5954 (gst_caps_from_string_inplace):
5955 * gst/gststructure.c: (gst_structure_get_abbrs),
5956 (gst_structure_to_string), (gst_structure_from_string):
5957 * gst/gstvalue.c: (gst_value_set_structure),
5958 (gst_value_get_structure), (gst_value_serialize_structure),
5959 (gst_value_deserialize_structure), (_gst_value_initialize):
5961 * tests/check/gst/gststructure.c: (GST_START_TEST),
5962 (gst_structure_suite):
5963 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5964 Added GstStructure to gst_value_table and its related functions.
5965 Changed gst_structure_to_string to print ';' in the end.
5966 Changed gst_caps_to_string to not print ';' beteween its
5967 fields (structures) anymore and remove the lastes ';' from latest
5968 structure. Now it is possible to have nested structures.
5969 In addition, backward compatibilty is assured by accepting '\0' as
5970 end delimiter. Fixes: #487969.
5971 API: add gst_value_set_structure()
5972 API: add gst_value_get_structure()
5973 API: add GST_VALUE_HOLDS_STRUCTURE
5975 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5978 When no GSource callback has been set up, tell developer
5979 to use a function that actually exists.
5981 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5983 * docs/gst/gstreamer-sections.txt:
5987 * gst/gstdebugutils.c:
5988 * gst/gstdebugutils.h:
5991 * tools/gst-launch.c:
5992 Allow dumping pipelines as dot graphs. Fixes #456573.
5994 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5996 * gst/gststructure.c:
5997 Allow '+' as well, it can be part of media or mime types
5998 such as image/svg+xml.
6000 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6002 * docs/gst/gstreamer-sections.txt:
6005 API: add gst_bus_pop_filtered
6006 API: add gst_bus_timed_pop_filtered
6007 Two new functions for waiting for specific message types on the
6008 bus for a specified amount of time without iterating any main
6009 loops or main contexts.
6011 * tests/check/gst/gstbus.c:
6012 Some tests for the new functions.
6014 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6016 * docs/libs/gstreamer-libs-sections.txt:
6017 Make gtk-doc ignore stuff it should ignore.
6019 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6021 * libs/gst/check/gstcheck.c:
6022 * libs/gst/check/gstcheck.h:
6023 Allow runtime selection of unit tests to run via the GST_CHECKS
6024 environment variable (test case function names, comma-separated).
6026 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6028 * gst/gststructure.c:
6029 * tests/check/gst/gststructure.c:
6030 Revert serialisation change and constrain structure-names after
6031 consensus on irc. Update api documentation to reflect the change.
6033 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6035 * gst/gststructure.c:
6036 Improve serialization and fix tests.
6038 * tests/check/gst/gststructure.c:
6039 Add another test that covers why I actually did the previous structure
6042 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6044 * tools/gst-inspect.c: (print_element_info):
6045 Don't crash when inspecting an element.
6047 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6049 * tests/check/gst/gststructure.c:
6050 Add unit test for escaping of structure name when serialising
6051 and deserialising to/from strings.
6053 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6055 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6056 (gst_single_queue_new):
6057 * plugins/elements/gstqueue.c: (gst_queue_init),
6058 (gst_queue_push_one):
6059 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6060 upstream is tricked into thinking it can suggest a format downstream
6061 while downstream does not support that format. The real problem is that
6062 core calls acceptcaps when pushing a buffer with new caps, for which we
6063 do a little workaround by setting the caps on the srcpad ourselves
6064 before pushing the buffer (until this is figured out). Fixes #486758.
6066 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6068 * gst/gststructure.c:
6070 Add some more comments and debug output. Quote structure name to fix
6071 deserialisation of some strings.
6073 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6076 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6077 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6079 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6081 * tools/gst-inspect.c:
6082 Save approx. 400 1 byte allocs when printing. Use API to acces element
6088 * tools/gst-xmlinspect.c:
6089 Use API to acces element details.
6091 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6094 Fix some spelling errors.
6096 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6098 * gst/gstbin.c: (bin_handle_async_done):
6099 Correctly set the next state if all of our async children commited their
6100 state. This makes sure we can actually cancel the state change in
6101 progress. Fixes a regression in Rhythmbox when seeking.
6103 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6106 Don't shadow local variable.
6109 Don't shadow global function name.
6111 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6113 * gst/gstelementfactory.c:
6114 * gst/gstpluginfeature.c:
6115 * gst/gstpluginfeature.h:
6116 * gst/gstregistrybinary.c:
6117 * gst/gstregistryxml.c:
6118 * gst/gsttypefind.c:
6119 Use already-interned string for the private GstPluginFeature
6122 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6124 * docs/libs/gstreamer-libs-sections.txt:
6125 Add new API to docs; fixes the build.
6127 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6129 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6131 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6132 (gst_base_sink_event):
6133 * libs/gst/base/gstbasesink.h:
6134 Add function to wait for EOS, subclasses can use this to correctly wait
6135 for devices to drain before performing the EOS logic. Fixes #485343.
6136 API: gst_base_sink_wait_eos()
6138 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6141 Cast description string constants in GST_PLUGIN_DEFINE macros
6142 to a (gchar*) to make C++ code using these macros compile
6143 without warning with g++-4.2 (see #462737). Even if slightly
6144 ugly, this seems preferable to putting the description strings
6145 into the GLib quark table or making the structure member a
6146 const gchar * and doing casts in core code that allocs and
6147 frees these strings, or requiring a cast in the C++ code.
6149 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6152 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6153 to print the entire class/function signature into the log
6154 file for C++ code. This only affects C++ code, for C code
6155 everything remains the same.
6157 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6159 * gst/gstbin.c: (remove_from_queue):
6160 Work around a problem with pipelines containing (semi)loops until a
6161 proper, more complicated solution is ready. See #475455.
6163 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6167 * gst/gstregistrybinary.c:
6168 * gst/gstregistryxml.c:
6169 Put more strings into the GLib quark table. No need to keep
6170 a hundred-something copies of identical version strings,
6171 license strings, package name strings and package origin
6174 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6176 * docs/manual/advanced-dataaccess.xml:
6177 Don't imply that it's okay to unconditionally change
6178 buffer data or buffer metadata in a pad probe callback,
6179 and a bunch of other comments. Fixes #430031.
6181 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6183 * win32/common/gstenumtypes.c:
6184 * win32/common/gstenumtypes.h:
6185 * win32/common/gstversion.h:
6186 Update generated files.
6188 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6190 * docs/manual/advanced-autoplugging.xml:
6191 Prefix section with broken code with a warning (see #342432).
6193 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6195 * docs/manual/appendix-integration.xml:
6196 * docs/manual/basics-init.xml:
6197 Call g_thread_init() before g_option_context_new() to
6198 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6200 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6202 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6203 (gst_base_sink_queue_object_unlocked),
6204 (gst_base_sink_queue_object), (gst_base_sink_event),
6205 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6206 When we received EOS and are waiting for when to post the EOS message,
6207 our state is prerolled and we should not return ASYNC.
6208 Reorganize some code paths to implement this behavior.
6210 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6212 Add unit test to verify above EOS fix.
6214 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6216 * plugins/elements/gsttypefindelement.c:
6217 (gst_type_find_element_have_type), (gst_type_find_element_init),
6218 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6219 Move detecting the input caps of the sinkpad to the setcaps function.
6220 This allows us to update the output caps when we receive new input caps
6221 instead of always using the first detected caps.
6223 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6225 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6226 (gst_base_sink_get_position):
6227 Don't try to preroll non-async elements after a flush.
6228 Subtract latency form clock times when reporting position.
6230 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6232 * gst/gstpad.c: (gst_pad_pause_task):
6234 Small comment and documentation update.
6236 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6238 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6239 (gst_base_src_set_live), (gst_base_src_is_live),
6240 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6241 (gst_base_src_default_event), (gst_base_src_wait),
6242 (gst_base_src_do_sync), (gst_base_src_get_range),
6243 (gst_base_src_pad_get_range), (gst_base_src_loop),
6244 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6245 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6246 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6247 (gst_base_src_change_state):
6248 Rework the locking of basesrc in a similar fashion to basesink. We
6249 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6250 us to handle live sources and semi live ones much better.
6252 Fix unlocking when seeking, shutting down and pausing in live sources.
6254 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6256 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6257 Fix compilation again.
6259 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6262 Use meaningful categories for the logs to clean the default one.
6264 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6266 * tests/check/pipelines/cleanup.c:
6267 Print message name and not just number.
6269 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6271 * docs/design/draft-tagreading.txt:
6272 Add some more thoughts.
6274 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6276 * tests/check/pipelines/simple-launch-lines.c:
6277 Print message name and not just number.
6279 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6281 * libs/gst/base/gsttypefindhelper.c:
6282 Speedup typefinding. This is work in progress (see #459862).
6284 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6287 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6288 Spotted by Josep Torra Valles <josep@fluendo.com>.
6290 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6293 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6294 field has moved to GstObject.
6296 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6298 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6299 (gst_base_src_get_range), (gst_base_src_change_state):
6300 Call unlock for live sources so that they can't get stuck in _create and
6301 produce a buffer before they are set back to PLAYING.
6303 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6305 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6306 (gst_queue_locked_dequeue):
6307 Comment the segment-related code... in the PROPER function.
6308 See #482147 and my commit from yesterday.
6310 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6312 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6313 Also initialize the counter that calculates the first timestamp on a
6314 buffer correctly for non-live sources.
6316 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6318 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6319 Disable code that's breaking the current-time-level reporting.
6322 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6324 * docs/gst/gstreamer-sections.txt:
6325 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6326 as they shouldn't show up. Fixes the docs build.
6328 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6331 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6332 Define M_PI which is used in files which are including gstinfo.h.
6333 VS6 includes doesn't define it.
6334 * win32/common/libgstbase.def:
6335 * win32/common/libgstcontroller.def:
6336 * win32/common/libgstreamer.def:
6337 Add new exported functions and variables.
6338 * win32/vs6/libgstcontroller.dsp:
6339 * win32/vs6/libgstreamer.dsp:
6340 Update the list of files to build.
6342 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6344 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6346 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6347 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6348 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6349 Improve debugging. Fixes #480858.
6351 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6353 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6355 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6356 First patch of code cleanups, use the macros and right arguments in the
6357 macros to signal and lock the queue. See #480858.
6359 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6361 * gst/gstbus.c: (poll_func):
6362 Improve debugging when dealing with _poll().
6364 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6366 * gst/gstregistryxml.c:
6367 Fix memory leak I introduced a few days ago.
6369 2007-09-26 Michael Smith <msmith@fluendo.com>
6371 * gst/gstbuffer.c: (gst_buffer_finalize):
6372 Make it once again possible to free GstBuffers in the default
6374 The poisoning scribbles on parts of the miniobject we need in
6378 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6380 * docs/gst/gstreamer-sections.txt:
6383 API: add GST_TAG_COMPOSER, fixes #459809.
6385 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6389 Add the 3-clause BSD license and the MIT/X11 license to the license
6390 list. Fixes #479784.
6392 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6394 * docs/faq/getting.xml:
6395 Add Q+A about different GStreamer versions (#364056).
6397 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6399 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6400 (gst_base_sink_event), (gst_base_sink_change_state):
6401 Return correct gboolean from query function.
6403 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6405 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6406 (gst_base_sink_event), (gst_base_sink_query),
6407 (gst_base_sink_change_state):
6408 Simplify latency query.
6409 When not synchronizing, we can report latency without querying the peer
6412 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6416 Fix small typos in the docs.
6418 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6420 * docs/design/draft-latency.txt:
6421 * docs/design/draft-push-pull.txt:
6422 * docs/design/draft-tagreading.txt:
6423 * docs/design/part-MT-refcounting.txt:
6424 * docs/design/part-activation.txt:
6425 * docs/design/part-block.txt:
6426 * docs/design/part-element-source.txt:
6427 * docs/design/part-events.txt:
6428 * docs/design/part-gstbin.txt:
6429 * docs/design/part-gstelement.txt:
6430 * docs/design/part-gstobject.txt:
6431 * docs/design/part-gstpipeline.txt:
6432 * docs/design/part-messages.txt:
6433 * docs/design/part-preroll.txt:
6434 * docs/design/part-push-pull.txt:
6435 * docs/design/part-qos.txt:
6436 * docs/design/part-query.txt:
6437 * docs/design/part-scheduling.txt:
6438 * docs/design/part-seeking.txt:
6439 * docs/design/part-segments.txt:
6440 * docs/design/part-states.txt:
6441 Documentation updates and typo fixes.
6443 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6445 * plugins/elements/gstfakesink.c:
6446 Add some debug text to error message to indicate that
6447 we errored out on request.
6449 * tools/gst-launch.c:
6450 When the state change to PLAYING fails, check for an
6451 error message on the bus and print it.
6453 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6455 translated by: Jorge González González <aloriel@gmail.com>
6459 Added Spanish translation.
6461 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6463 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6464 Fix printf arguments.
6466 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6468 * tests/check/generic/states.c:
6469 Improved state change unit test.
6471 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6474 Move priv to the right place.
6476 * gst/gstsystemclock.c:
6477 Add FIXME: and improve log.
6479 * tests/check/Makefile.am:
6480 * tests/examples/manual/Makefile.am:
6481 Work with all types of registries.
6483 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6485 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6486 Don't unref the event after pushing it. Fixes #478401.
6488 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6491 * tests/examples/manual/.cvsignore:
6492 Ignore registries in any format.
6494 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6496 * gst/glib-compat-private.h:
6497 Add compatibility macro for g_intern_string() for
6498 GLib-2.8 (any reason we can't just bump the
6499 requirement to at least 2.10?)
6501 * gst/gstpadtemplate.h:
6502 * gst/gstelementfactory.c:
6503 * gst/gstregistryxml.c:
6504 * gst/gstregistrybinary.c:
6505 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6506 up the internal code accordingly. This shouldn't be a problem, since
6507 there is no reason external code could ever assume the string in such
6508 a structure is dynamically allocated unless it did that itself; the
6509 use of g_strdup() is private to element factories. The new code also
6510 saves some memory by putting pad template name strings into the GLib
6511 quark table instead of allocating them dynamically.
6512 Declaring this field constant fixes warnings with g++-4.2 when using
6513 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6515 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6517 * gst/gstelementfactory.c:
6518 Release static caps. Fixes #475723.
6520 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6524 Make some internal API take const gchar * instead of just
6525 gchar * to avoid compiler warnings with g++-4.2.2 when
6526 passing string constants (partially fixes #478092).
6528 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6530 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6531 A latency query fails when one of the sinks fail.
6533 * gst/gstelement.c: (gst_element_set_base_time):
6536 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6538 * gst/gstbin.c: (gst_bin_continue_func):
6539 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6540 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6541 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6543 Fix minor compilation warnings shown with Forte.
6545 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6547 * plugins/elements/gstqueue.c: (apply_buffer),
6548 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6549 Measure queue level based on the diff between head and tail timestamps
6550 even when pushing the first buffer.
6552 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6554 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6555 (gst_base_sink_event), (gst_base_sink_change_state):
6556 Sinks that don't preroll can always be queried for the latency.
6557 Don't post ASYNC start when we are not async.
6559 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6561 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6562 (gst_queue_handle_sink_event), (gst_queue_chain),
6563 (gst_queue_push_one), (gst_queue_handle_src_query),
6564 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6565 * plugins/elements/gstqueue.h:
6566 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6567 push more buffers but allow pushing of EOS and NEWSEGMENT.
6568 Add some more debug info here and there. Fixes #476514.
6570 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6572 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6573 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6574 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6575 (gst_base_sink_set_flushing), (gst_base_sink_query),
6576 (gst_base_sink_change_state):
6577 Latency query is allowed after we are prerolled. Introduce a new flag
6578 for this and stop abusing other variables.
6580 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6582 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6583 Push OOB events downstream when we get them in send_event. This allows
6584 the application to insert events in the pipeline.
6585 Add some more comments.
6587 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6589 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6590 (do_bin_latency), (gst_bin_change_state_func):
6591 * gst/gstpipeline.c: (gst_pipeline_change_state):
6592 Move latency query from GstPipeline to GstBin so that we can also
6593 use it when async-handling is enabled on bins.
6595 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6597 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6598 (gst_base_src_do_sync), (gst_base_src_change_state):
6600 Clean up the timestamping and syncing code for pseudo live sources.
6602 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6604 Patch by: Steve Fink <sphink gmail com>
6606 * docs/manual/appendix-checklist.xml:
6607 Mention less -R switch in the section about debug output (#474055).
6609 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6611 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6612 Queue can latency to the pipeline up to the configured max size in time.
6613 Report this fact in the latency query.
6615 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6617 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6619 * libs/gst/controller/gstinterpolation.c:
6620 * libs/gst/controller/gstlfocontrolsource.c:
6621 Use gst_guint64_to_gdouble() when converting from a uint64 or
6622 GstClockTime to double to fix the build on win32. Fixes #474371.
6624 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6626 * gst/gstbuffer.c: (gst_buffer_finalize):
6627 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6628 When finalizing a buffer the complete struct is filled with 0xff,
6629 thus making a use of the buffer after the final unref impossible.
6631 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6633 * tests/check/libs/controller.c: (GST_START_TEST):
6634 Use fail_unless_equals_int(a, b) instead of
6635 fail_unless_equals (a == b) to get better output on failures.
6637 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6639 * tests/check/gst/gsturi.c:
6640 Also check for the other file URI variant on win32.
6642 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6644 * gst/gsturi.c: (gst_uri_get_location):
6645 If there's no hostname, we want to return 'c:/foo/bar.txt'
6646 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6648 * tests/check/gst/gsturi.c:
6649 Unit test for the above and a few more things.
6651 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6653 * docs/design/part-live-source.txt:
6654 Add docs on how live sources should timestamp.
6656 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6657 Add some more debug info.
6658 For subclasses that are live and like to sync, add aditional startup
6659 latency to sync time and timestamps so that we timstamp according to the
6662 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6665 Also do a g_type_class_ref() for the subbuffer type in
6668 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6670 * docs/gst/gstreamer-sections.txt:
6671 * gst/gstpad.c: (gst_pad_peer_query):
6673 Add function to perform a query on the peer of a pad.
6674 API: gst_pad_peer_query()
6676 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6678 * tests/check/gst/gstsystemclock.c:
6679 Cleanup the test a little (use gst-logging and not g_message). Improve
6680 test to check if a wait reached the target.
6682 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6684 * docs/libs/gstreamer-libs-sections.txt:
6685 Add new API to docs and fix the build.
6687 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6689 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6690 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6691 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6692 (gst_base_src_get_property), (gst_base_src_do_sync):
6693 * libs/gst/base/gstbasesrc.h:
6694 Add property to make the basesrc timestamp buffers based on the current
6696 API: GstBaseSrc::do-timestamp
6697 API: gst_base_src_set_do_timestamp()
6698 API: gst_base_src_get_do_timestamp()
6700 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6702 * docs/random/release:
6703 Really make sure translations are up-to-date before
6704 a release (#465010).
6706 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6708 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6709 Always destroy the timer, also in error cases.
6711 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6713 * docs/manual/highlevel-xml.xml:
6714 Fix XML example code. Fixes #472714.
6716 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6718 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6719 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6720 (gst_base_sink_query):
6721 Protect eos and have_preroll with the OBJECT lock so we don't need to
6722 take the PREROLL lock when querying the latency. Fixes #473846.
6724 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6727 Give some log-messages a category.
6729 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6731 * gst/gststructure.c:
6732 (gst_structure_fixate_field_nearest_fraction):
6733 Fix fraction list fixation code. Take the fraction with the smallest
6734 difference with the target instead of the first one in the list.
6736 * tests/check/gst/gststructure.c: (GST_START_TEST),
6737 (gst_structure_suite):
6738 Added test to verify correct fraction list fixation behaviour.
6740 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6742 * win32/common/libgstreamer.def:
6743 Export gst_bus_add_signal_watch too.
6745 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6747 * docs/libs/gstreamer-libs-sections.txt:
6748 Add new methods to docs.
6750 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6751 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6752 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6753 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6754 * libs/gst/base/gstbasesink.h:
6755 Add ts-offset property to fine-tune the synchronisation.
6756 API: GstBaseSink::ts-offset property
6757 API: gst_base_sink_set_ts_offset()
6758 API: gst_base_sink_get_ts_offset()
6760 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6762 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6763 (gst_base_sink_init), (gst_base_sink_set_sync),
6764 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6765 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6766 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6767 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6768 (gst_base_sink_get_property), (gst_base_sink_change_state):
6769 * libs/gst/base/gstbasesink.h:
6770 Add async property to instruct the sink never to inform the parent about
6771 ASYNC state changes, update docs.
6772 Check argument with g_return_* for the public functions.
6773 API: GstBaseSink::async property
6774 API: gst_base_sink_set_async_enabled()
6775 API: gst_base_sink_is_async_enabled()
6777 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6779 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6782 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6783 (gst_base_src_default_query), (gst_base_src_wait),
6784 (gst_base_src_do_sync), (gst_base_src_change_state):
6785 Rearrange some code so that we can add support for measuring the
6788 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6790 * docs/random/ensonic/dynlink.txt:
6791 More thoughs on this.
6793 * plugins/elements/gstcapsfilter.c:
6794 Add bugzilla ticket number to FIXME comment.
6796 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6798 * docs/design/part-TODO.txt:
6799 * docs/design/part-block.txt:
6802 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6805 Revert patch which uses $(gst_headers) instead of $^ because it
6808 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6810 * tests/check/gst/gstbin.c: (GST_START_TEST):
6811 Fix leaks in the new unit test.
6813 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6816 Don't use GST_INFO before the debug system is actually initialised
6817 (shouldn't do any harm, but won't print anything either, so we can
6818 just as well remove it).
6821 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6822 compilers that don't support variadic macros (such as MSVC), should
6823 check for debug_level <= __gst_debug_min as well, since that's the
6824 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6825 inline helper functions. Should improve performance a bit, but also
6826 makes sure uses of GST_INFO et.al are ignored if the debugging
6827 system isn't initialised yet (instead of printing an assertion
6830 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6832 patch by: David Nečas <yeti@physics.muni.cz>
6835 Replace some non portable makefile constructs.
6837 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6839 * common/gtk-doc-plugins.mak:
6840 Grrrrr. Don't remove the types file on make clean.
6842 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6844 * tools/gst-launch.1.in:
6845 Add colorspace to example pipeline. Fixes #458274.
6847 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6849 * docs/random/release:
6850 The release manager should run 'make download-po' before making a
6851 release to make sure translations are up-to-date.
6857 Add some new translations.
6859 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6861 * tools/gst-launch.c: (event_loop), (main):
6862 Don´t try to do any state management when a live pipeline posts
6864 Also make the buffering string translatable.
6866 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6868 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6869 (bin_handle_async_start), (gst_bin_handle_message_func):
6871 When adding elements, insert messages into the bus of the newly added
6872 element and make sure the element is the source of the message. This
6873 allows the parent bin to intercept the message and do the
6874 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6875 messages to the app (which is not allowed).
6878 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6879 Fix testsuite so that is does not work around messages that should not
6880 have been posted in the first place.
6882 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6884 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6885 (update_degree), (gst_bin_sort_iterator_next):
6886 Fix annoying bug in the sorted iterator where a sink that is not really
6887 a sink (when it has downstream links) screwed up the iterator.
6889 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6890 Unit test to verify the fix.
6892 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6895 Add some more docs for the messages.
6897 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6898 (gst_base_sink_query):
6899 Add some more debugging.
6901 * tools/gst-launch.c: (event_loop):
6902 When interrupting, don't try to set pipeline to PAUSED twice.
6904 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6907 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6908 (bin_handle_async_start), (gst_bin_handle_message_func):
6909 Move ASYNC_START message posting to where it belongs, similar to
6911 Don't post ASYNC_START when we are in error.
6912 Post ASYNC_START when we added an async element to a bin.
6914 2007-08-14 Julien MOUTTE <julien@moutte.net>
6916 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6917 generation from vargs. Fixes #466595.
6919 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6921 * gst/gstbin.c: (gst_bin_element_set_state):
6922 Always change the state of a NO_PREROLL element even if it has ASYNC
6923 elements inside (in case of a bin).
6925 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6926 Unit test for this case.
6928 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6930 * libs/gst/check/gstbufferstraw.c:
6931 * libs/gst/check/gstcheck.h:
6932 * libs/gst/controller/gstcontroller.c:
6933 * libs/gst/controller/gstcontrolsource.h:
6934 * libs/gst/controller/gstlfocontrolsource.h:
6935 * plugins/elements/gstcapsfilter.h:
6936 * plugins/elements/gstfdsink.h:
6937 * plugins/elements/gstfdsrc.h:
6938 Add more missing docs.
6940 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6942 * gst/gststructure.c:
6943 Add Since tag to docs.
6945 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6947 * docs/gst/gstreamer-sections.txt:
6948 * gst/gststructure.c: (gst_structure_get_uint):
6949 * gst/gststructure.h:
6950 Add function to get uint from a structure.
6951 API: gst_structure_get_uint()
6953 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6955 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6956 (gst_caps_intersect):
6957 Fix proper check for simple caps.
6959 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6961 * docs/gst/Makefile.am:
6962 * docs/libs/Makefile.am:
6963 Remove cruft and do some cleanups.
6965 * docs/gst/gstreamer-docs.sgml:
6966 * docs/libs/gstreamer-libs-docs.sgml:
6967 Prepare for comming gtkdoc features (rebase against online docs).
6969 2007-08-10 Michael Smith <msmith@fluendo.com>
6971 * docs/gst/gstreamer-sections.txt:
6972 Add gst_registry_add_path to docs.
6974 2007-08-10 Michael Smith <msmith@fluendo.com>
6976 * gst/gstregistry.h:
6977 Add gst_registry_add_path, which was missing from this header.
6979 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6981 * libs/gst/controller/gstlfocontrolsource.c:
6984 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6986 * libs/gst/base/gstbasesink.c:
6987 Don't send an async_start message during downwards state change if
6988 target state is less than READY
6990 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6992 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6996 Added Hungarian translation.
6998 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7005 Updated translations.
7007 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7009 * libs/gst/controller/Makefile.am:
7010 Dist gstlfocontrolsourceprivate.h
7012 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7014 * docs/libs/gstreamer-libs.types:
7015 Don't register the enum type gst_lfo_waveform_get_type() in the
7016 .types file - only GObject derived types belong.
7018 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7020 Patch by: <arenevier at fdn dot fr>
7023 Remove comma from last element in enum to avoid compile errors when
7024 using -pendantic. Fixes #464366.
7026 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7028 * docs/design/part-TODO.txt:
7029 Add some more TODO items
7031 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7034 * gst/gstcaps.c: (gst_caps_intersect):
7035 Optimize trivial intersection case between identical caps pointers.
7037 * gst/gstelement.c: (gst_element_continue_state),
7038 (gst_element_set_state_func):
7040 Fix spelling and grammar mistakes.
7042 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7046 Update POTFILES. Fixes #461599.
7048 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7051 Fix confusing typo in debug output.
7053 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7055 reviewed by: Stefan Kost <ensonic@users.sf.net>
7057 * libs/gst/controller/Makefile.am:
7058 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7059 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7060 (gst_lfo_control_source_new),
7061 (gst_lfo_control_source_set_waveform),
7062 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7063 (gst_lfo_control_source_finalize),
7064 (gst_lfo_control_source_dispose),
7065 (gst_lfo_control_source_set_property),
7066 (gst_lfo_control_source_get_property),
7067 (gst_lfo_control_source_class_init):
7068 * libs/gst/controller/gstlfocontrolsource.h:
7069 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7070 API: Add GstLFOControlSource, a control source that gives values
7071 for specific timestamps based on several periodic waveforms.
7074 * tests/check/libs/controller.c: (GST_START_TEST),
7075 (gst_controller_suite):
7076 * docs/libs/gstreamer-libs-docs.sgml:
7077 * docs/libs/gstreamer-libs-sections.txt:
7078 * docs/libs/gstreamer-libs.types:
7079 Add documentation and unit tests for GstLFOControlSource.
7081 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7086 === release 0.10.14 ===
7088 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7091 releasing 0.10.14, "Breathing Vacuum"
7093 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7095 * gst/gstelement.c: (gst_element_class_set_details_simple):
7097 Make strings passed to gst_element_class_set_details_simple()
7098 constant, as they should be (#462752).
7100 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7102 * gst/gstbin.c: (gst_bin_change_state_func),
7103 (bin_handle_async_done), (gst_bin_handle_message_func):
7104 Don't forget about the fact that some element went ASYNC even after a
7105 resync. This makes us post the ASYNC_DONE message correctly.
7108 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7110 * gst/gstregistry.c: (gst_registry_add_feature):
7111 When replacing an existing feature in the registry, make sure to
7112 continue holding a reference until we've replaced the name string
7113 within our feature hash table. Make sure to use g_hash_table_replace
7114 instead of g_hash_table_insert to ensure the new name string is used
7115 as a key instead of the old one that we're about to free.
7118 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7120 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7121 (gst_plugin_feature_set_name):
7122 Revert patch from #459466 until after the release and we can work
7123 out exactly what the problem is (if any).
7125 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7127 * docs/gst/gstreamer-sections.txt:
7130 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7132 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7134 * docs/libs/Makefile.am:
7135 Include our build-prefix libs and includes before the generic ones to
7136 avoid linking against the installed libs when we want the build-tree
7139 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7141 Patch by: Steve Fink <sphink gmail com>
7143 * docs/pwg/building-testapp.xml:
7144 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7145 if people try to build or install the example from the plugin
7146 template against a GStreamer from package using the configure
7149 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7151 Patch by: Steve Fink <sphink gmail com>
7153 * tools/gst-inspect.1.in:
7154 Document --print-all and --print-plugin-auto-install-info command
7155 line options in man page.
7157 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7159 * docs/gst/gstreamer-sections.txt:
7160 Add docs for new api function.
7162 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7164 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7165 * gst/gstelementfactory.h:
7166 API: gst_element_factory_has_interface()
7167 Added method to check if an element factory implements a named
7170 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7173 * docs/gst/gstreamer.types.in:
7174 Another conditional doc check.
7177 * gst/gstparamspecs.h:
7178 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7183 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7185 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7186 (gst_registry_binary_load_feature),
7187 (gst_registry_binary_load_plugin),
7188 (gst_registry_binary_read_cache):
7189 Print error just once and with additional info.
7191 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7193 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7194 (helper_find_suggest), (helper_find_get_length),
7195 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7196 (gst_type_find_helper_for_buffer):
7197 Cleanup the typefindhelper code and add private doc comments.
7199 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7201 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7202 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7203 Fix capsfilter for cases where the caps set on capsfilter will provide
7204 additional information.
7207 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7209 * gst/gsttypefindfactory.c:
7210 Fix docs that recommened wrong function to use.
7212 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7214 * tools/gst-inspect.c: (print_plugin_features):
7215 Also give media-type for typefinders in element output.
7217 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7219 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7220 (gst_registry_remove_features_for_plugin_unlocked),
7221 (gst_registry_add_feature), (gst_registry_remove_feature),
7222 (gst_registry_lookup_feature_locked):
7223 * gst/gstregistry.h:
7224 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7227 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7229 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7230 (gst_plugin_feature_set_name):
7231 Avoid double memory usage for pluginfeature names. Fixes #459466.
7233 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7236 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7237 driving the pipeline may need to explicitly check for NOT_LINKED as
7238 well, since IS_FATAL doesn't cover that.
7240 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7242 * docs/pwg/advanced-types.xml:
7243 Fix typo and duplicate entry in video formats list.
7245 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7247 * libs/gst/controller/gstinterpolation.c:
7248 Also round to the nearest int when using cubic interpolation.
7250 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7252 * libs/gst/controller/gstinterpolation.c:
7253 When linearly interpolating integer types, round to the nearest int
7254 by adding 0.5. Don't do it for float/double types.
7255 Fixes the failing controller test on my machine, which is somehow
7256 rounding differently than on the buildbots.
7258 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7260 * tools/gst-plot-timeline.py:
7261 Better log parsing (categories can have -). Adjust text vs. lines, so
7262 that they span the same y-range.
7264 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7266 * docs/random/ensonic/audiobaseclasses.txt:
7267 * docs/random/ensonic/dynlink.txt:
7268 * docs/random/ensonic/profiling.txt:
7271 * docs/random/moving-plugins:
7272 Add note to use g_assert type macros.
7274 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7277 * libs/gst/check/Makefile.am:
7278 Add libm check as we use in for plugins.
7280 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7282 * gst/gstbin.c: (gst_bin_continue_func):
7283 Check that the state_cookie hasn't changed since the continue_func
7284 was scheduled. Avoids problems where the state changes back to
7285 something it shouldn't be because it was changed in the meantime.
7287 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7289 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7290 (gst_registry_binary_save_string),
7291 (gst_registry_binary_save_pad_template),
7292 (gst_registry_binary_save_feature),
7293 (gst_registry_binary_save_plugin),
7294 (gst_registry_binary_load_feature),
7295 (gst_registry_binary_load_plugin),
7296 (gst_registry_binary_read_cache):
7297 Fix memory leak. Be less verbose in the log.
7299 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7301 * tests/check/elements/.cvsignore:
7302 Add file to cvsignore as commanded.
7304 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7306 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7307 (mq_dummypad_event), (run_output_order_test):
7308 Use a GStaticMutex to protect all cases where libcheck
7309 fail_if/fail_unless macros might be called from multiple threads
7310 simultaneously to avoid errors like:
7311 "check_pack.c:107: :-1081725400:Bad message type arg"
7313 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7315 * tests/check/pipelines/stress.c: (GST_START_TEST):
7316 Make sure we set the pipeline back to the NULL state before
7317 dropping our final reference.
7319 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7321 * tests/check/elements/tee.c: (GST_START_TEST):
7322 Make the tee stress-test a little less stressful so it doesn't just
7323 time out on slow-machines, and remove a small race when it's starting
7324 up by adding a get_state() call.
7326 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7329 Avoid reading registry twice on startup. Fixes #457322.
7331 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7333 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7334 * pkgconfig/gstreamer-check.pc.in:
7335 Substitute the CFLAGS for libcheck into our .pc file too so that
7336 dependent modules will pick it up properly if libcheck is installed
7337 into some other prefix.
7339 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7342 Revert the pkg-config check for libcheck, since it pulls in the
7343 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7344 a proper solution, either from the check project, or something else.
7346 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7349 Use pkg-config to locate check.
7351 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7358 Add deprecation guards.
7360 * libs/gst/base/gstcollectpads.h:
7361 Don't document object (this is implicitly private).
7363 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7365 * gst/gststructure.c: (gst_structure_parse_value):
7366 When deserialising foo=bar without a type cast, check if it's a
7367 boolean before falling back to a string type, otherwise things like
7368 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7369 because the filtercaps end up having a signed=(string)true field,
7370 which causes problems later when intersection caps.
7372 * tests/check/gst/gststructure.c: (GST_START_TEST):
7373 Add a unit test for this.
7375 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7377 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7379 * libs/gst/controller/Makefile.am:
7380 * libs/gst/controller/gstcontroller.c:
7381 (gst_controlled_property_add_interpolation_control_source),
7382 (gst_controlled_property_new), (gst_controlled_property_free),
7383 (gst_controller_find_controlled_property),
7384 (gst_controller_new_valist), (gst_controller_new_list),
7385 (gst_controller_new), (gst_controller_remove_properties_valist),
7386 (gst_controller_remove_properties_list),
7387 (gst_controller_remove_properties),
7388 (gst_controller_set_property_disabled),
7389 (gst_controller_set_disabled), (gst_controller_set_control_source),
7390 (gst_controller_get_control_source), (gst_controller_get),
7391 (gst_controller_sync_values), (gst_controller_get_value_array),
7392 (_gst_controller_dispose), (gst_controller_get_type),
7393 (gst_controlled_property_set_interpolation_mode),
7394 (gst_controller_set), (gst_controller_set_from_list),
7395 (gst_controller_unset), (gst_controller_unset_all),
7396 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7397 * libs/gst/controller/gstcontroller.h:
7398 * libs/gst/controller/gstcontrollerprivate.h:
7399 * libs/gst/controller/gstcontrolsource.c:
7400 (gst_control_source_class_init), (gst_control_source_init),
7401 (gst_control_source_get_value),
7402 (gst_control_source_get_value_array), (gst_control_source_bind):
7403 * libs/gst/controller/gstcontrolsource.h:
7404 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7405 (gst_object_get_control_source):
7406 * libs/gst/controller/gstinterpolation.c:
7407 (gst_interpolation_control_source_find_control_point_node),
7408 (gst_interpolation_control_source_get_first_value),
7409 (_interpolate_none_get), (interpolate_none_get),
7410 (interpolate_none_get_boolean_value_array),
7411 (interpolate_none_get_enum_value_array),
7412 (interpolate_none_get_string_value_array),
7413 (_interpolate_trigger_get), (interpolate_trigger_get),
7414 (interpolate_trigger_get_boolean_value_array),
7415 (interpolate_trigger_get_enum_value_array),
7416 (interpolate_trigger_get_string_value_array):
7417 * libs/gst/controller/gstinterpolationcontrolsource.c:
7418 (gst_control_point_free), (gst_interpolation_control_source_reset),
7419 (gst_interpolation_control_source_new),
7420 (gst_interpolation_control_source_set_interpolation_mode),
7421 (gst_interpolation_control_source_bind),
7422 (gst_control_point_compare), (gst_control_point_find),
7423 (gst_interpolation_control_source_set_internal),
7424 (gst_interpolation_control_source_set),
7425 (gst_interpolation_control_source_set_from_list),
7426 (gst_interpolation_control_source_unset),
7427 (gst_interpolation_control_source_unset_all),
7428 (gst_interpolation_control_source_get_all),
7429 (gst_interpolation_control_source_get_count),
7430 (gst_interpolation_control_source_init),
7431 (gst_interpolation_control_source_finalize),
7432 (gst_interpolation_control_source_dispose),
7433 (gst_interpolation_control_source_class_init):
7434 * libs/gst/controller/gstinterpolationcontrolsource.h:
7435 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7436 API: Refactor GstController into the core controller which can take
7437 a GstControlSource for providing actual values for timestamps.
7438 Implement a interpolation control source and use this for backward
7439 compatibility, deprecate a bunch of functions that are now handled
7440 by GstControlSource or GstInterpolationControlSource.
7441 Make it possible to disable the controller completely or only for
7442 specific properties. Fixes #450711.
7443 * docs/libs/gstreamer-libs-docs.sgml:
7444 * docs/libs/gstreamer-libs-sections.txt:
7445 * docs/libs/gstreamer-libs.types:
7446 Add new functions and classes to the docs.
7447 * tests/check/libs/controller.c: (GST_START_TEST),
7448 (gst_controller_suite):
7449 * tests/examples/controller/audio-example.c: (main):
7450 Port unit test and example to the new API and add some new
7453 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7455 Patch by: Mark Nauwelaerts <manauw at skynet be>
7457 * plugins/elements/gstmultiqueue.c:
7458 (gst_multi_queue_get_internal_links), (apply_buffer),
7459 (single_queue_overrun_cb), (gst_single_queue_new):
7460 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7461 the pipeline layout can be tracked correctly. Fixes #453732.
7463 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7465 * docs/gst/Makefile.am:
7466 * docs/libs/Makefile.am:
7467 * docs/plugins/Makefile.am:
7468 Simplify --extra-dir as gtkdoc scans recursively.
7470 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7472 * tools/gst-launch.c: (main):
7473 When we got an error, there is no point in waiting for preroll when
7476 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7478 * plugins/elements/gsttee.c: (gst_tee_base_init),
7479 (gst_tee_request_new_pad), (gst_tee_release_pad),
7480 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7481 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7483 Be a lot smarter when deciding what srcpad to use for proxying
7484 the buffer_alloc. Also handle pad added/removed when doing so.
7486 Keep track of what pads we already pushed on in case we have pads
7487 added/removed while pushing. Fixes #374639
7489 * tests/check/Makefile.am:
7490 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7492 Added unit test for pad resync.
7494 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7498 Updated translations.
7500 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7502 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7506 Added new Finnish translation.
7508 2007-06-28 Wim Taymans <wim@fluendo.com>
7510 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7511 (single_queue_overrun_cb):
7512 When figuring out when a queue is filled, use our internal time estimate
7513 based on segments, just like check_full does.
7515 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7517 * gst/gstminiobject.c: (gst_mini_object_get_type):
7518 Remove 3 do-nothing methods.
7520 2007-06-27 Wim Taymans <wim@fluendo.com>
7522 Patch by: Tim Angus <tim at ngus dot net>
7524 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7525 (gst_capsfilter_set_property):
7526 Take a reference instead of a copy when setting "caps".
7527 Fix documentation to clarify this behaviour. Fixes #449414.
7529 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7531 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7532 * gst/gstplugin.c: (gst_plugin_init):
7533 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7534 * gst/gstquery.c: (gst_query_get_type):
7535 * gst/gstregistry.c: (gst_registry_init):
7536 * gst/gsturi.c: (gst_uri_handler_base_init):
7537 Remove empty instance_init() functions to save relocs and lessen the
7538 noise. Remove some of the function prototypes that are doubled by
7541 2007-06-27 Wim Taymans <wim@fluendo.com>
7543 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7545 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7546 Add peer and direction in the XML serialisation of ghostpads.
7549 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7552 Preserve useful information, thanks Tim.
7554 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7556 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7557 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7558 (gst_single_queue_push_one), (gst_multi_queue_loop),
7559 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7560 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7561 (compute_high_id), (gst_single_queue_new):
7562 * plugins/elements/gstmultiqueue.h:
7563 Take the multiqueue lock when updating the fill level so we don't get
7566 After applying a buffer or event on the src pad segment, make sure to
7567 call gst_data_queue_limits_changed() to get the data queue to unblock
7568 and check the filled state again.
7570 Rework the not-linked pad handling so the logic is that not-linked
7571 pads can push as fast as they like, but only so they never get
7572 ahead of any linked pads.
7574 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7575 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7576 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7578 Add a test to check that not-linked pads always stay behind
7583 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7585 * docs/random/release:
7586 Some updates to the release procedure.
7588 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7590 * gst/gstelementfactory.c: (__gst_element_details_clear):
7591 Microoptimization that saves stunning 80 bytes.
7593 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7595 * docs/plugins/gstreamer-plugins.args:
7596 * docs/plugins/inspect/plugin-coreelements.xml:
7597 * docs/plugins/inspect/plugin-coreindexers.xml:
7598 Update docs with caps info.
7600 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7603 Updated Italian translation.
7605 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7609 Update Vietnamese translations.
7611 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7613 * libs/gst/base/gstbasesink.c:
7614 Remove unused signal enum.
7616 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7618 * docs/gst/gstreamer-sections.txt:
7620 * gst/gstutils.c: (gst_type_register_static_full):
7621 Beef up and include the docs for gst_type_register_static_full and
7622 gst_element_class_set_details_simple and add the API keyword
7625 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7627 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7628 (update_time_level), (gst_single_queue_push_one),
7629 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7630 (single_queue_overrun_cb), (single_queue_underrun_cb),
7631 (single_queue_check_full):
7632 Fix setting max-* properties after adding queues.
7633 Use IS_FILLED for checking visible items.
7634 Signal overrun if multiple queues overrun.
7635 Add extra debug output.
7636 Patch by: Wim Taymans <wim@fluendo.com>
7638 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7640 * gst/gstelement.c: (gst_element_class_set_details_simple):
7642 * gst/gstutils.c: (gst_type_register_static_full):
7644 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7645 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7646 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7647 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7648 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7649 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7650 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7651 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7652 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7653 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7654 (apply_buffer), (gst_queue_chain):
7655 * plugins/elements/gsttee.c: (gst_tee_base_init):
7656 * plugins/elements/gsttypefindelement.c:
7657 (gst_type_find_element_base_init),
7658 (gst_type_find_element_class_init):
7659 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7660 API: add gst_type_register_static_full
7661 API: add gst_element_class_set_details_simple
7663 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7665 * docs/pwg/advanced-types.xml:
7666 Fix typo in iana.org URI.
7668 2007-06-19 Andy Wingo <wingo@pobox.com>
7670 * tests/check/pipelines/simple-launch-lines.c
7671 (test_state_change_returns): Enable pull-mode tests now that
7672 basesink has been fixed.
7674 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7675 Changed from gst_base_sink_is_prerolled, reversing the sense of
7676 the return value. Returns FALSE also if the sink is in pull mode,
7677 in which case it needs no preroll.
7678 (gst_base_sink_query, gst_base_sink_change_state): Update for
7679 needs_preroll change.
7680 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7681 chaining up, in which we return SUCCESS directly if we activated
7682 in pull mode instead of ASYNC. Involves countering an async_start
7683 message sent before chaining up; not sure if this is correct, in
7684 an ideal world we only send async-start when activating in push
7687 * tests/check/pipelines/simple-launch-lines.c
7688 (test_state_change_returns): New test, partially disabled until
7691 2007-06-19 Wim Taymans <wim@fluendo.com>
7693 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7694 (gst_multi_queue_sink_event):
7697 2007-06-19 Wim Taymans <wim@fluendo.com>
7699 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7700 (gst_bin_change_state_func), (bin_push_state_continue),
7701 (bin_handle_async_start), (bin_handle_async_done),
7702 (gst_bin_handle_message_func):
7703 Move the common code for posting state-change messages into
7705 Broadcast the state signal after we posted the messages.
7706 Mark the bin as busy when it's doing a state-change.
7707 Make sure async-start/done messages don't interfere with the bin's
7708 state when it's busy.
7709 After the state change, let the bin check which elements completed the
7710 state change while it was busy so that it can update its state.
7712 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7714 * docs/random/release:
7715 Add a note about updating the doap file to the release checklist
7717 2007-06-18 Wim Taymans <wim@fluendo.com>
7719 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7720 (gst_single_queue_push_one), (gst_multi_queue_chain),
7721 (gst_multi_queue_sink_event):
7722 Make sure we don't reference the buffer/event after we have given away
7723 ownership in the queue.
7725 2007-06-18 Wim Taymans <wim@fluendo.com>
7727 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7728 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7729 Update queue state _after_ adding the item in the queue because else we
7730 could end up being full without the element added yet.
7732 2007-06-18 Wim Taymans <wim@fluendo.com>
7734 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7735 (gst_bin_remove_func), (gst_bin_get_state_func),
7736 (gst_bin_element_set_state), (gst_bin_continue_func),
7737 (bin_push_state_continue), (bin_handle_async_start),
7738 (bin_handle_async_done), (gst_bin_handle_message_func):
7740 Immediatly commit the toplevel bin state when receiving an async-done
7741 message. This enables us to avoid spawning a thread to commit the state
7742 in some common cases and it also avoids some races.
7743 Avoid spawning a state thread when adding/removing async elements to a
7744 toplevel bin. Instead we immediatly update the bin state.
7745 Get rid of iterating all the children when getting the state in the bin
7746 because it is now always up-to-date.
7747 Fix bug where locked elements would always return _SUCCESS even it they
7748 returned NO_PREROLL before being locked.
7749 Fix the order of the state_change, async-start/done messages that was
7750 sometimes incorrect.
7751 Mark the state_dirty field as deprecated, we don't need it anymore as we
7752 are always up-to-date.
7754 * gst/gstelement.c: (gst_element_get_state_func),
7755 (gst_element_continue_state):
7756 Small debug inprovements.
7757 Return the previous element state return when nothing is pending instead
7758 of blindly returning SUCCESS.
7760 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7762 Add a whole bunch of new testcases.
7764 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7768 Update translations.
7770 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7773 Fix typo in the docs.
7775 2007-06-15 Wim Taymans <wim@fluendo.com>
7777 * docs/libs/gstreamer-libs-sections.txt:
7778 Add docs for new methods.
7780 2007-06-15 Wim Taymans <wim@fluendo.com>
7782 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7783 (gst_multi_queue_item_new):
7784 Don't use GSlice because we don't depend on >= 2.10 yet.
7786 2007-06-15 Wim Taymans <wim@fluendo.com>
7788 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7789 (update_time_level), (apply_segment), (apply_buffer),
7790 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7791 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7792 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7793 (single_queue_underrun_cb), (single_queue_check_full):
7794 Remove debug printf.
7796 2007-06-15 Wim Taymans <wim@fluendo.com>
7798 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7799 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7800 (gst_data_queue_set_flushing), (gst_data_queue_push),
7801 (gst_data_queue_pop), (gst_data_queue_drop_head),
7802 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7803 * libs/gst/base/gstdataqueue.h:
7805 Added methods to get the current levels and to inform the queue that the
7806 'full' limits changed.
7808 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7809 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7810 (gst_single_queue_flush), (update_time_level), (apply_segment),
7811 (apply_buffer), (gst_single_queue_push_one),
7812 (gst_multi_queue_item_steal_object),
7813 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7814 (gst_multi_queue_loop), (gst_multi_queue_chain),
7815 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7816 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7817 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7818 (single_queue_underrun_cb), (single_queue_check_full),
7819 (gst_single_queue_new):
7820 Keep track of time in the queue by measuring the difference between
7821 running_time on input and output. This gives more accurate results and
7822 can compensate for segments correctly.
7823 Make a queue by default only 5 buffers deep. We will now increase the
7824 buffer size depending on the filledness of the other queues.
7825 Factor out commong flush code.
7826 Make sure we don't add additional refcounts to buffers when we can avoid
7828 Propagate GstFlowReturn differently.
7829 Use GSlice for intermediate GstMultiQueueItems.
7831 Resize queues on over and underruns based on filled level of other
7833 When checking if the queue is filled, prefer to measure in time if we
7834 can and fall back to bytes when no time is known.
7836 * plugins/elements/gstqueue.c:
7839 2007-06-15 Wim Taymans <wim@fluendo.com>
7841 * libs/gst/base/gstbasetransform.c:
7842 (gst_base_transform_sink_event):
7843 Work around the brokenness of the event vmethod in basetransform. Prefer
7844 to return TRUE when the subclass returned FALSE (meaning don't forward
7847 * libs/gst/base/gstbasetransform.h:
7850 2007-06-15 Wim Taymans <wim@fluendo.com>
7852 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7853 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7854 (gst_base_src_default_query), (gst_base_src_get_range),
7855 (gst_base_src_start):
7856 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7859 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7861 * docs/pwg/advanced-types.xml:
7862 Added more formats to caps table.
7864 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7866 * tools/gst-launch.c: (main):
7867 Remove crufy code. GOption does not need this workaround.
7869 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7871 * libs/gst/controller/gstcontroller.c:
7872 (gst_controlled_property_set_interpolation_mode):
7873 Fix wrong getter for enums in controller.
7875 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7877 * libs/gst/check/gstcheck.c: (gst_check_init):
7878 Intercept criticals and warnings in the Gst-Phonon log domain, so
7879 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7882 2007-06-14 Edward Hervey <edward@fluendo.com>
7884 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7885 Since this file doesn't include "gst.h" it will not go through the
7886 macros that disable GST_LOG if debugging was disabled.
7888 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7890 * libs/gst/check/Makefile.am:
7891 * libs/gst/check/gstcheck.h:
7892 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7893 * pkgconfig/gstreamer-check.pc.in:
7894 Ugly 'fix' for the controller unit test on the p5 bot: in
7895 fail_unless_equals_float() check whether the values are 'almost
7896 equal' by allowing a small absolute error, which should be good
7897 enough for our use cases (normal numbers and values close to 0).
7898 Proper fixage left to floating point arithmetic aficionados.
7900 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7902 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7903 (gst_base_sink_render_object), (gst_base_sink_get_position):
7904 Add two breaks thats where missing.
7906 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7908 * docs/libs/gstreamer-libs-sections.txt:
7909 * libs/gst/check/gstcheck.h:
7910 API: add fail_unless_equals_float() and assert_equals_float().
7911 Add documentation for some of the macros.
7913 * tests/check/libs/controller.c: (GST_START_TEST):
7914 Use newly-added asserts.
7916 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7918 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7919 Show the caps change in the log to help spotting the case of not
7920 exactly matching caps.
7922 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7924 * docs/pwg/building-boiler.xml:
7925 Fix typos, spotted by Thijs Vermeir (#447190).
7927 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7929 * docs/plugins/tmpl/.cvsignore:
7930 Ignore file to keep the buildbots happy
7932 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7934 * docs/plugins/Makefile.am:
7935 * docs/plugins/gstreamer-plugins-docs.sgml:
7936 * docs/plugins/gstreamer-plugins-sections.txt:
7937 Pull fdsink into the docs too.
7939 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7941 * libs/gst/controller/gstinterpolation.c:
7942 Actually use the new functions with min/max checks for the trigger and
7943 none interpolation modes for get() and get_value_array() instead of
7946 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7948 * libs/gst/controller/gstcontroller.c:
7949 (gst_controlled_property_free):
7950 Unset the minimum and maximum GValues when freeing the corresponding
7951 GstControllerProperty struct.
7953 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7955 * libs/gst/controller/gstcontroller.c:
7956 (gst_controlled_property_new):
7957 * libs/gst/controller/gstcontrollerprivate.h:
7958 * libs/gst/controller/gstinterpolation.c:
7959 (gst_controlled_property_find_control_point_node),
7960 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7961 (interpolate_none_get_string_value_array),
7962 (interpolate_trigger_get),
7963 (interpolate_trigger_get_enum_value_array),
7964 (interpolate_trigger_get_string_value_array):
7965 Protect against values larger or smaller than the minimum or maximum
7966 allowed value for the property when using values that can be compared.
7968 Optimize trigger interpolator a bit by taking the last requested value
7969 into account instead of always looping through the complete list.
7971 Fix coding style a bit, everywhere else we use "return foo" instead
7974 * tests/check/libs/controller.c: (GST_START_TEST),
7975 (gst_controller_suite):
7976 Add unit test for the protection against too large or too small
7979 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7981 * docs/random/slomo/controller.txt:
7982 Add some thoughts about the future of the controller.
7984 2007-06-08 Wim Taymans <wim@fluendo.com>
7986 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7987 Don't overflow in retimestamping code.
7989 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7991 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7992 Use gst_util_guint64_to_gdouble for conversions.
7993 * win32/common/libgstreamer.def:
7994 Add new exported functions.
7996 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7999 Small docs addition.
8001 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8004 Remove that test line again.
8006 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8009 Test commit mail sending.
8011 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8014 Fix typo and test commit mail sending.
8016 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8018 * tests/examples/controller/audio-example.c:
8019 Improve comment and test commit mail sending.
8021 2007-06-07 Wim Taymans <wim@fluendo.com>
8023 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8024 (gst_bin_remove_func), (gst_bin_element_set_state),
8025 (bin_handle_async_start), (bin_handle_async_done),
8026 (gst_bin_handle_message_func):
8027 Add helper function to find messages.
8028 Generate the async-done messages together with the state change
8030 Small cleanups in handling toplevel bins.
8032 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8034 * libs/gst/base/gstdataqueue.c:
8035 * libs/gst/base/gstdataqueue.h:
8036 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8037 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8038 (gst_multi_queue_sink_event):
8039 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8040 Fix multiqueue leaking buffers and events when downstream or the
8041 queue are flushing. Make refcounting assumptions explicit and
8042 document them (shouldn't break existing code that uses it other than
8043 maybe leak miniobjects, but that already happens anyway). Add unit
8044 test for the most common flushing case. Fixes #423700.
8046 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8048 * libs/gst/controller/gstcontroller.c:
8049 Clarify docs: The get_all, get_value_array(s) functions
8050 don't modify the GObject properties.
8052 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8054 * libs/gst/controller/gstcontroller.c:
8055 (gst_controlled_property_set_interpolation_mode),
8056 (gst_controlled_property_prepend_default),
8057 (gst_controlled_property_new), (gst_controller_set_unlocked),
8058 (gst_controller_set), (gst_controller_set_from_list),
8059 (gst_controller_unset), (gst_controller_unset_all):
8060 * libs/gst/controller/gstcontrollerprivate.h:
8061 * libs/gst/controller/gstinterpolation.c:
8062 Factor out the 'set' logic into gst_controller_set_unlocked for the
8063 gst_controller_set and gst_controller_set_from_list functions.
8065 To make life of the interpolators easier always add a control point
8066 at timestamp zero with the default value.
8068 In the linear interpolator make things more obvious by better variable
8071 Implement cubic interpolation mode (by using a natural cubic spline)
8072 and map the quadratic interpolation mode to this too (as quadratic
8073 doesn't make much sense, see discussion on the list).
8075 * tests/check/libs/controller.c: (GST_START_TEST),
8076 (gst_controller_suite):
8077 Add unit test for the cubic interpolation mode and check everywhere
8078 if the interpolation mode could be set as expected.
8080 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8082 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8083 Don't use GLib-2.10 functions, we still depend on
8084 GLib-how-old-is-it-again-2.8.
8086 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8088 * docs/gst/gstreamer-sections.txt:
8092 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8093 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8094 (_gst_param_fraction_values_cmp),
8095 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8096 * gst/gstparamspecs.h:
8098 * tests/check/Makefile.am:
8099 * tests/check/gst/.cvsignore:
8100 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8101 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8102 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8103 (GST_START_TEST), (gst_param_spec_suite):
8104 API: add GstParamSpecFraction, so elements can have fraction
8105 properties without lots of painful string parsing (#444648).
8107 2007-06-05 Wim Taymans <wim@fluendo.com>
8109 * gst/gstobject.c: (gst_object_class_init):
8110 Fix signal signature.
8113 Add small clarification in the api docs.
8115 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8116 States are protected with object lock.
8118 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8121 I should probably be listed as an author by now.
8123 * docs/random/release:
8124 Update the release doc
8126 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8129 Make docs for gst_value_compare() mention return enums that
8132 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8137 === release 0.10.13 ===
8139 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8142 releasing 0.10.13, "With or without you"
8144 2007-05-25 Wim Taymans <wim@fluendo.com>
8146 * gst/gstbin.c: (bin_handle_async_done):
8147 Make sure that the child bin stops after completing the async state
8148 change so that the parent can continue the state change to PLAYING.
8151 2007-05-25 Wim Taymans <wim@fluendo.com>
8153 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8154 (unref_data), (gst_collect_pads_remove_pad),
8155 (gst_collect_pads_check_pads):
8156 Use additional refcounting to avoid crashes when dynamically adding and
8157 removing pads. Fixes #420206.
8159 2007-05-24 Wim Taymans <wim@fluendo.com>
8161 * tools/gst-launch.c: (event_loop):
8162 When buffering goes from a two digit to a single digit number, make sure
8163 to remove the old second digit by writing a blank over it.
8165 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8167 * libs/gst/base/gstdataqueue.c:
8168 Eliminate tabs and trailing comma in enum list; fix some typos.
8170 2007-05-24 Wim Taymans <wim@fluendo.com>
8172 * tests/check/gst/gstbin.c: (GST_START_TEST):
8173 Allow refcount of 3 and 4 because some state thread might still be busy
8176 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8178 * plugins/elements/Makefile.am:
8179 * plugins/elements/gstmultiqueue.h:
8180 * plugins/elements/gstqueue.h:
8181 These are not installed headers, no need for padding.
8183 2007-05-24 Wim Taymans <wim@fluendo.com>
8185 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8186 (gst_bin_continue_func):
8187 Enable latency for next release.
8188 Restore STATE_LOCK around recalc_state that was left out during the
8189 rewrite and could result in racy behaviour when _get_state and
8190 recalc_state are run concurrently. See #440463.
8192 2007-05-23 Wim Taymans <wim@fluendo.com>
8194 * tests/check/gst/gstsystemclock.c: (store_callback),
8196 Improve test_async_order to also work when both timers are already
8197 expired when we get scheduled to check it.
8199 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8201 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8202 (gst_bin_set_property), (gst_bin_get_property),
8203 (gst_bin_remove_func), (gst_bin_handle_message_func):
8205 'private' is a c++ keyword, let's not use that in header files,
8206 otherwise c++ compilers will throw a tantrum.
8208 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8210 * plugins/elements/gstelements.c:
8211 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8212 (gst_file_sink_get_current_offset):
8213 * plugins/indexers/gstindexers.c: (plugin_init):
8214 Use #ifdef for HAVE_XYZ for consistency.
8216 * tests/check/Makefile.am:
8217 * tests/check/elements/.cvsignore:
8218 * tests/check/elements/filesink.c: (setup_filesink),
8219 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8220 Add some unit tests for filesink.
8222 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8224 Patch by: Mark Nauwelaerts <manauw at skynet be>
8226 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8227 (gst_file_sink_query), (gst_file_sink_do_seek),
8228 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8229 * plugins/elements/gstfilesink.h:
8230 Fix position reporting; rename data_written member to current_pos to
8231 reflect its real meaning (fixes #412648).
8233 2007-05-22 Edward Hervey <edward@fluendo.com>
8235 * docs/gst/gstreamer-sections.txt:
8236 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8237 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8238 (gst_bin_remove_func), (gst_bin_handle_message_func):
8240 Add a property for bins that handle the state change of their childs.
8243 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8245 * libs/gst/controller/gstinterpolation.c:
8246 Use an array of the correct type when using _get_value_array with
8247 linear interpolation.
8249 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8251 * gst/gstelement.c (gst_element_requires_clock,
8252 gst_element_provides_clock, gst_element_request_pad,
8253 gst_element_class_set_details, gst_element_class_set_details_simple,
8254 gst_element_default_send_event, gst_element_abort_state,
8255 gst_element_continue_state, gst_element_set_state,
8256 gst_element_set_state_func, iterator_activate_fold_with_resync):
8257 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8258 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8259 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8260 gst_pad_get_range, gst_pad_pull_range):
8261 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8262 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8263 GstPadActivateModeFunction, GstPadChainFunction,
8264 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8265 GstPadFixateCapsFunction, GstPadTemplate):
8266 * gst/gstpipeline.c (gst_pipeline_change_state,
8267 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8268 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8269 gst_pipeline_get_delay):
8270 Whitespace and docs fixes.
8272 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8274 * libs/gst/controller/gstinterpolation.c:
8275 (interpolate_trigger_get_enum_value_array),
8276 (interpolate_trigger_get_string_value_array):
8277 Add support for retrieving value arrays when using the trigger
8280 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8282 * libs/gst/controller/gstcontroller.c:
8283 (gst_controller_get_value_array):
8284 * libs/gst/controller/gstcontroller.h:
8285 Clarify the docs of gst_controller_get_value_array(): The array where
8286 the values should be written to must be allocated as there seems to be
8287 no way to get the size of a random GType. This doesn't change any
8288 behaviour. Also fix some typos all over the place and remove an unused,
8289 commented function that is not necessary as g_object_set() could be
8291 * tests/check/libs/controller.c: (GST_START_TEST),
8292 (gst_controller_suite):
8293 Add unit test for gst_controller_get_value_array().
8295 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8297 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8299 Disable part of the gst_buffer_try_new_and_alloc test, because
8300 it can happily succeed on 64-bit systems where there's more address
8303 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8305 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8306 Add unit test for the improved caps checking from bug #421543.
8308 2007-05-21 Wim Taymans <wim@fluendo.com>
8310 * docs/design/part-synchronisation.txt:
8313 * gst/gstbin.c: (gst_bin_query):
8314 * plugins/elements/gstqueue.c: (apply_segment):
8320 2007-05-21 Wim Taymans <wim@fluendo.com>
8322 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8323 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8324 (gst_pad_configure_src):
8325 Added simple version of improved caps checking. It was previously
8326 assumed that a setcaps function would check the validity of the caps but
8327 people prefer us to check caps against the template automatically.
8330 2007-05-21 Wim Taymans <wim@fluendo.com>
8332 * libs/gst/base/gstbasetransform.h:
8333 Fix macro for locking/unlocking the transform lock.
8335 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8337 * docs/plugins/tmpl/.cvsignore:
8340 2007-05-18 Edward Hervey <edward@fluendo.com>
8342 * plugins/elements/gstqueue.c: (gst_queue_loop):
8343 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8344 for the subtle art of warning a potentially blocking thread that it
8345 should check the source pad return value, and relay the information
8348 2007-05-18 Edward Hervey <edward@fluendo.com>
8350 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8351 Release the queue lock !
8353 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8355 * docs/libs/gstreamer-libs-sections.txt:
8356 Add the two new controller functions to the appropiate places.
8358 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8360 reviewed by: Stefan Kost <ensonic@users.sf.net>
8362 * libs/gst/controller/gstcontroller.c:
8363 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8364 (_gst_controller_get_property), (_gst_controller_set_property),
8365 (_gst_controller_init), (_gst_controller_class_init):
8366 * libs/gst/controller/gstcontroller.h:
8367 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8368 (gst_object_get_control_rate), (gst_object_set_control_rate):
8369 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8370 Add API that provides sync suggestion timestamps for elements that
8371 call gst_object_sync_values() from which those elements can subdivide
8372 their processing loop to get the best results for the controlled
8373 properties. For now it just suggests last_sync + control_rate as
8374 new timestamp but this will be improved in the future.
8376 While doing that change the control-rate property to a GstClockTime
8377 from guint and change it's meaning from samples to nanoseconds as
8378 the GstController doesn't know anything about sampling rate. Strictly
8379 speaking this breaks ABI but as the control-rate property didn't do
8380 anything in the past and as such couldn't be used this should be no
8383 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8385 reviewed by: Stefan Kost <ensonic@users.sf.net>
8387 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8388 (gst_controller_unset_all):
8389 * libs/gst/controller/gstcontrollerprivate.h:
8390 * libs/gst/controller/gstinterpolation.c:
8391 (gst_controlled_property_find_control_point_node):
8392 Save last synced value from the list to continue searching from there
8393 in future syncs. This speeds everything up a bit.
8395 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8397 reviewed by: Stefan Kost <ensonic@users.sf.net>
8399 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8400 (gst_control_point_find), (gst_controlled_property_new),
8401 (gst_control_point_free), (gst_controlled_property_free),
8402 (gst_controller_set), (gst_controller_set_from_list),
8403 (gst_controller_unset), (gst_controller_unset_all),
8404 (gst_controller_sync_values):
8405 * libs/gst/controller/gstcontroller.h:
8406 * libs/gst/controller/gstcontrollerprivate.h:
8407 * libs/gst/controller/gstinterpolation.c:
8408 (gst_controlled_property_find_control_point_node),
8409 (interpolate_none_get), (interpolate_trigger_get):
8410 Add a new private GstControlPoint struct which "inherits" from
8411 GstTimedValue to allow different interpolators to store internal
8412 values next to each control point. From the outside everything is
8413 still a GstControlPoint so we don't loose binary compatibility.
8414 Also fixup all the GValue handling to not leak GValues or list nodes.
8415 * tests/check/libs/controller.c: (GST_START_TEST):
8416 Free the list nodes and GValues in the controller_misc test.
8418 2007-05-17 Edward Hervey <edward@fluendo.com>
8423 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8425 * gst/gstplugin.c: (gst_plugin_load_file):
8426 If we fail to load a plugin because of unresolved symbols or missing
8427 libraries and spew a warning to stderr, we may just as well mention
8428 which plugin it was that failed to load.
8430 2007-05-13 David Schleef <ds@schleef.org>
8432 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8433 handles the case when ENABLE_GTK_DOC is false, and installs
8434 the prebuilt documentation. So gtk-doc subdirs are
8435 unconditionally enabled. Fixes: #349099.
8437 2007-05-13 David Schleef <ds@schleef.org>
8439 * gst/gstutils.h: Reword some documentation.
8441 2007-05-12 David Schleef <ds@schleef.org>
8443 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8444 do anything with the passed "module" parameter, so remove it.
8445 Allows removal of additional vestigal code.
8447 2007-05-12 David Schleef <ds@schleef.org>
8450 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8451 Switch to using g_stat() because it's more portable.
8453 2007-05-12 David Schleef <ds@schleef.org>
8456 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8457 parsing for embedded systems.
8458 * gst/gstelementfactory.c:
8459 Allow gst_element_register() to be called with plugin==NULL.
8460 Did nobody notice that static elements were broken?
8462 2007-05-12 Wim Taymans <wim@fluendo.com>
8464 * tools/gst-launch.c: (event_loop):
8465 Give more interesting info when buffering starts and stops.
8466 Fix case where buffering starts but we fail to update the buffering flag
8467 because the target state is not PLAYING.
8469 2007-05-12 Wim Taymans <wim@fluendo.com>
8471 * plugins/elements/gstqueue.c: (gst_queue_init),
8472 (gst_queue_finalize), (update_time_level), (apply_segment),
8473 (apply_buffer), (gst_queue_locked_flush),
8474 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8475 (gst_queue_handle_sink_event), (gst_queue_chain),
8476 (gst_queue_push_one), (gst_queue_loop):
8477 * plugins/elements/gstqueue.h:
8478 Refactor an cleanup queue a bit.
8479 Do better time level calculations that also work when the srcpad is not
8481 Remove some unneeded debug lines.
8483 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8484 Added testcase for time level measurement.
8485 Try to make some stuff more racefree.
8487 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8489 * gst/gsturi.c: (gst_element_make_from_uri):
8490 Don't leak plugin feature.
8492 * tests/check/Makefile.am:
8493 * tests/check/gst/.cvsignore:
8494 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8495 Add brain-dead unit test.
8497 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8499 Patch by: Jeroen Wouters <woutersj at gmail com>
8501 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8502 Treat protocol strings in a case-insensitive way (#437563).
8504 2007-05-11 Michael Smith <msmith@fluendo.com>
8506 * gst/gstplugin.c: (gst_plugin_load_file):
8507 * gst/gstregistry.c: (gst_registry_scan_path_level):
8508 Don't print a g_warning for any failure to load a shared object.
8509 Instead, push this down into gstplugin.c, and warn _only_ if we
8510 failed to open the module (i.e. failure to link).
8511 Avoids warnings on normal, working, non-plugin .so files.
8513 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8515 * gst/gstplugin.c (gst_plugin_load_file):
8516 * gst/gstregistry.c (GST_CAT_DEFAULT,
8517 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8518 Print a g_warning if there was an error when loading a plugins during
8519 registry scan. The shuld help beginners starting with gst-plugin
8522 2007-05-10 Wim Taymans <wim@fluendo.com>
8524 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8525 (update_time_level), (gst_queue_locked_flush),
8526 (gst_queue_handle_sink_event), (gst_queue_chain),
8527 (gst_queue_push_one), (gst_queue_loop):
8528 * plugins/elements/gstqueue.h:
8529 Be smarter when calculating the current amount of data in the queue by
8530 measuring the difference between start and end timestamps (in running
8531 time) inside the queue. Fixes #432876.
8532 API: GstQueue::pushing to notify elements that we are pushing data again
8533 since the running signal is rather broken for this purpose.
8535 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8537 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8538 gst_queue_base_init, gst_queue_init):
8541 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8543 * win32/common/libgstreamer.def:
8544 Add new exported functions.
8545 * win32/vs6/grammar.dsp:
8546 Use grammar pre-generated files.
8548 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8550 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8553 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8555 * gst/gstutils.c: (gst_parse_bin_from_description):
8557 Maintain API and ABI when --disable-parse is used. Now that
8558 we have an appropriate error code, we can just return NULL and the
8559 appropriate error when gst_parse_launch() is used despite it having
8560 been disabled (#342564).
8562 * tests/check/Makefile.am:
8563 * tests/check/pipelines/.cvsignore:
8564 * tests/check/pipelines/parse-disabled.c:
8565 Make sure these functions exist and return NULL plus a GError when
8566 --disable-parse is used.
8568 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8570 * tests/benchmarks/complexity.c: (main):
8571 * tests/benchmarks/mass-elements.c: (main):
8572 Set a good example and don't leak messages.
8574 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8576 * docs/gst/Makefile.am:
8577 * docs/libs/Makefile.am:
8578 Correct fixxrefs options.
8580 * docs/plugins/Makefile.am:
8581 * docs/plugins/gstreamer-plugins-docs.sgml:
8582 * docs/plugins/gstreamer-plugins-sections.txt:
8583 * plugins/elements/Makefile.am:
8584 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8585 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8586 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8587 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8588 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8589 _GstCapsFilterClass, trans_class):
8590 * plugins/elements/gstelements.c (name, rank, type, _elements):
8591 * plugins/elements/gstidentity.c
8592 (gst_identity_check_imperfect_timestamp,
8593 gst_identity_check_imperfect_offset):
8594 Document capsfilter and add doc-blurb to identity.
8596 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8598 * libs/gst/controller/gstcontroller.c:
8599 (gst_controlled_property_set_interpolation_mode):
8600 * libs/gst/controller/gstinterpolation.c:
8601 Don't crash if someone tries to set an interpolation mode that
8602 is invalid or that isn't supported yet. Fixes #422295.
8604 * tests/check/libs/controller.c: (GST_START_TEST),
8605 (gst_controller_suite):
8606 Add a test case for the above.
8608 2007-05-03 Edward Hervey <edward@fluendo.com>
8610 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8611 Properly set the last_stop position on GstSegment. This will only happen
8612 if there is a buffer to push out.
8614 2007-05-03 Wim Taymans <wim@fluendo.com>
8616 * libs/gst/base/gstbasetransform.c:
8617 (gst_base_transform_buffer_alloc):
8618 always_in_place does not mean that the sink and source caps are the
8619 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8621 2007-05-03 Wim Taymans <wim@fluendo.com>
8623 * docs/libs/gstreamer-libs-sections.txt:
8624 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8625 (gst_base_src_default_query), (gst_base_src_get_range):
8626 * libs/gst/base/gstbasesrc.h:
8627 API: gst_base_src_query_latency(). Added method so that subclasses can
8628 easily get the latency values of the base source class.
8630 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8632 * tools/gst-inspect.c (print_implementation_info):
8635 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8637 * tools/Makefile.am:
8638 * tools/gst-launch.1.in:
8639 Don't create a customised man page based on the host architecture,
8640 describe the default registry path generically. That way the man
8641 page is the same for all architectures and packagers have one
8642 multilib issue less to deal with. Fixes #434926.
8644 2007-05-02 Wim Taymans <wim@fluendo.com>
8647 Fix documentation as spotted by rg on IRC.
8649 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8652 Improve docs for gst_element_{link,unlink}.
8654 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8656 * docs/design/part-events.txt:
8657 * docs/design/part-overview.txt:
8661 * libs/gst/base/gstbasesink.c:
8662 Typo fixes; minor docs addition.
8664 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8666 * docs/gst/gstreamer-sections.txt:
8667 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8668 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8670 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8671 or src that supports a given URI protocol exists.
8673 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8675 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8676 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8677 Set the location to NULL if "file://" is set as URI. Otherwise
8678 some random previous URI would still be set if "file://" is
8679 set on an already used filesink/filesrc.
8681 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8683 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8684 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8685 Special case the "file://" URI as as this is used by some
8686 applications to test with gst_element_make_from_uri if there's
8687 an element that supports the URI protocol.
8688 Also move the g_path_is_absolute() check for the location part
8689 of the URI to also check this for "file://localhost/bla" URIs.
8691 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8693 * docs/gst/gstreamer-sections.txt:
8694 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8696 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8698 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8700 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8702 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8703 (gst_registry_binary_load_pad_template),
8704 (gst_registry_binary_load_plugin),
8705 (gst_registry_binary_read_cache):
8706 * gst/gstregistrybinary.h:
8707 Implement no-mmap alternative for registry reading. Do code cleanups.
8708 Add more comments about avoiding strdups for all text data. Comments
8711 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8713 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8714 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8715 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8716 Comment structs and reformat to fix the build (that stuff should go
8717 into a priv. header).
8719 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8721 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8722 (gst_registry_binary_load_feature):
8723 * gst/gstregistrybinary.h:
8724 Refactor so that we can implement multiple features. Add support for
8725 TypeFindFactory features.
8727 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8729 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8732 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8734 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8736 * gst/gstbin.c: (gst_bin_element_set_state),
8737 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8738 (bin_handle_async_done), (gst_bin_handle_message_func):
8739 Fix build with --gst-disable-gst-debug
8741 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8743 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8744 Make sure streaming has finished before calling the ::stop() vfunc,
8745 since that vfunc might clear state which is being used in the
8746 streaming thread. This fixes a race that caused crashes in
8747 audioresample when shutting down a pipeline (#420106).
8749 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8751 * docs/gst/gstreamer-sections.txt:
8752 That was one byte missing.
8754 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8757 * docs/gst/gstreamer-sections.txt:
8759 * gst/gstconfig.h.in:
8760 * gst/gstobject.c: (gst_object_class_init),
8761 (gst_signal_object_class_init):
8763 2nd attempt to have a xml-less build as a joined effort of #413123
8766 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8768 * docs/design/draft-tagreading.txt:
8769 Added open issues/thoughts to draft.
8771 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8773 * gst/parse/grammar.tab.pre.c:
8774 * gst/parse/grammar.tab.pre.h:
8775 * gst/parse/lex._gst_parse_yy.pre.c:
8776 Update the prebuild parser sources.
8778 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8780 * gst/parse/Makefile.am:
8781 And now fix the building of the flex sources. Now everything should
8784 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8786 * gst/parse/Makefile.am:
8787 Now hopefully fix the build failures by setting proper rule
8788 dependencies and moving instead of copying.
8790 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8792 * tests/benchmarks/complexity.gnuplot:
8793 * tests/benchmarks/complexity.scm:
8794 * tests/benchmarks/mass-elements.gnuplot:
8795 * tests/benchmarks/mass-elements.scm:
8796 Total licensification.
8798 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8800 * gst/parse/Makefile.am:
8801 Fix the build by correcting the rule that gave wrong files to flex.
8803 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8805 * tests/benchmarks/complexity.c:
8806 * tests/benchmarks/mass-elements.c:
8807 Change licence to LGPL as granted by Benjamin and Andy.
8809 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8811 * gst/parse/Makefile.am:
8812 Add correct grammar.tab.h dependency if compiling without new enough
8813 flex. Fixes #431150.
8815 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8817 * gst/parse/Makefile.am:
8818 Fix typo and use outdated sources if the flex/bison sources are newer
8819 than the pregenerated ones but flex is too old. Print a warning in
8820 that case. This should fix the build on the build bot.
8822 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8824 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8825 * gst/parse/Makefile.am:
8826 * gst/parse/grammar.y:
8827 * gst/parse/parse.l:
8828 Make the parser reentrant and recursively callable. This requires flex
8829 >= 2.5.31, for older versions pregenerated sources are used as we
8830 can't bump the build dependency. Finally fixes #349180.
8832 * gst/gstparse.c: (gst_parse_launch):
8833 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8836 * docs/gst/Makefile.am:
8837 * docs/gst/Makefile.am:
8838 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8839 (__gst_parse_strfree), (__gst_parse_link_new),
8840 (__gst_parse_link_free), (__gst_parse_chain_new),
8841 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8842 (gst_parse_element_set), (gst_parse_free_link),
8843 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8844 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8845 (_gst_parse_launch):
8846 * gst/parse/grammar.tab.pre.h:
8847 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8848 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8849 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8850 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8851 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8852 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8853 (_gst_parse_yypop_buffer_state),
8854 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8855 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8856 (yy_fatal_error), (_gst_parse_yyget_extra),
8857 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8858 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8859 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8860 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8861 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8862 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8863 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8864 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8865 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8866 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8867 (_gst_parse_yyfree):
8868 If the installed flex version is too old use pre-generated parser
8869 sources. These pre-generated parser sources are always updated when
8870 the actual flex/bison sources change but require everybody who wants
8871 to change something in the parser to have flex >= 2.5.31 installed.
8873 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8875 * common/m4/gst-gettext.m4:
8876 * gst/gst-i18n-lib.h:
8877 Make --disable-nls to work
8879 2007-04-17 Wim Taymans <wim@fluendo.com>
8881 * gst/gstconfig.h.in:
8882 Revert previous change that broke the build.
8884 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8888 * gst/gstconfig.h.in:
8889 Drop libxml2 dependency when building with
8890 --enable-binary-registry --disable-loadsave
8892 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8894 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8895 (gst_registry_binary_read_cache):
8896 * gst/gstregistrybinary.h:
8897 Remove unnecessary <sys/mman.h> include which broke the win32 build
8898 with MingW; move includes from header file to .c file, even if the
8899 header file isn't installed; use g_strerror() where UTF-8 strings
8900 are expected, such as in GST_DEBUG messages.
8902 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8904 * docs/libs/gstreamer-libs-sections.txt:
8905 Remove bogus addition for API I didn't end up keeping.
8907 * libs/gst/base/gstbasesrc.h:
8908 Mention Since: 0.10.13 in the documentation.
8910 Add the API keyword to the previous ChangeLog entry.
8912 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8914 * docs/libs/gstreamer-libs-sections.txt:
8915 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8916 (gst_base_src_default_prepare_seek_segment),
8917 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8918 * libs/gst/base/gstbasesrc.h:
8919 Allow basesrc derived classes to execute seeks in other formats
8920 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8921 to prepare the GstSegment in any format that their perform_seek method
8922 will be able to understand. The default implementation provides the
8923 old behaviour of attempting to convert the seek offsets to the
8924 configured native format.
8926 API: basesrc::prepare_seek_segment vmethod.
8928 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8930 * gst/gstelement.c: (gst_element_get_state_func):
8931 Don't output the same debug statement twice.
8933 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8934 (gst_adapter_peek), (gst_adapter_take_buffer):
8935 Optimise the case where we have buffers at the head of the queue that
8936 can be joined quickly (because they're contiguous sub-buffers) by
8937 merging them together rather than copying data out into new memory.
8939 * gst/parse/grammar.y:
8940 * tests/check/pipelines/parse-launch.c:
8941 Fix a leak in an error path for parse_launch, and add a check
8942 for it to the testsuite.
8944 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8946 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8947 Don't deadlock when releasing a pad - gst_pad_set_active may try
8948 and take the multiqueue lock too.
8950 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8952 * gst/gsterror.c: (_gst_core_errors_init):
8954 API: add GST_CORE_ERROR_DISABLED (#392804).
8956 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8958 * docs/faq/gst-uninstalled:
8959 don't get empty paths on the PATH variables
8960 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8961 Don't format for the uncommon terminal width of 84 characters.
8963 2007-04-06 Wim Taymans <wim@fluendo.com>
8965 * gst/gstpipeline.c: (reset_stream_time),
8966 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8967 Only try to select a different pipeline clock when we went back to
8968 PAUSED and not when we merely got flushed.
8970 2007-04-05 Michael Smith <msmith@fluendo.com>
8972 * tools/gst-launch.1.in:
8973 fractions are better supported in gstreamer than ractions, so
8974 suggest using those.
8976 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8978 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8982 Added Danish translation.
8984 2007-04-05 Wim Taymans <wim@fluendo.com>
8986 * libs/gst/base/gstbasesink.c:
8987 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8988 Fix leak caused when refusing newsegment after EOS.
8990 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8991 (gst_fake_sink_init), (gst_fake_sink_set_property),
8992 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8993 (gst_fake_sink_render), (gst_fake_sink_change_state):
8994 * plugins/elements/gstfakesink.h:
8995 Add num-buffers property to make the element generate EOS after a
8996 configurable amount of buffers.
8997 API: fakesink::num-buffers property.
8999 * tests/check/elements/fakesink.c: (GST_START_TEST),
9001 Fix GstBus leak in test.
9002 Test for fakesink num-buffers.
9004 2007-04-05 Wim Taymans <wim@fluendo.com>
9006 * libs/gst/base/gstbasesink.c:
9007 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9008 (gst_base_sink_change_state):
9009 Don't accept anything after an EOS, return UNEXPECTED instead.
9011 * tests/check/elements/fakesink.c: (GST_START_TEST),
9013 Unit test for new EOS behaviour.
9015 2007-04-05 Wim Taymans <wim@fluendo.com>
9017 * gst/gstelement.c: (gst_element_get_request_pad):
9018 Make padtemplates also work when they don't contain %s or %d.
9020 2007-04-05 Wim Taymans <wim@fluendo.com>
9022 * docs/gst/gstreamer-sections.txt:
9023 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9024 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9026 Improve _adjust_unlocked() so that it overflows less.
9027 Add gst_clock_unadjust_unlocked to convert from external time to
9028 internal time based on calibration.
9029 Add some more debug.
9030 API: GstClock::gst_clock_unadjust_unlocked()
9032 2007-04-03 Wim Taymans <wim@fluendo.com>
9034 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9036 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9037 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9038 when releasing sink pad. Fixes #425400.
9040 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9042 * docs/random/ensonic/dynlink.txt:
9043 More work on proposal for new core api.
9045 * docs/libs/gstreamer-libs-sections.txt:
9046 * libs/gst/base/gstbasetransform.h:
9047 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9049 * libs/gst/controller/gstcontroller.c:
9050 (on_object_controlled_property_changed),
9051 (gst_controller_sync_values),
9052 (gst_controller_set_interpolation_mode):
9053 * libs/gst/controller/gstcontroller.h:
9054 Less verbose logging add docs for unimplemented parts and correctly
9055 return when using unavailable parts.
9057 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9059 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9060 Move all the debug to the CLOCK category, and associate it with
9063 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9065 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9066 Make take_buffer a bit quicker by removing redundant checks
9067 caused by calling gst_adapter_take.
9069 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9071 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9074 * tests/check/Makefile.am:
9075 * tests/check/elements/.cvsignore:
9076 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9077 (GST_START_TEST), (multiqueue_suite):
9078 Add some dead simple unit tests for the 'multiqueue' element
9079 (some bits don't work yet and are disabled for now).
9081 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9083 * gst/gstelement.c: (gst_element_get_request_pad),
9084 (gst_element_class_get_request_pad_template):
9085 Make gst_element_get_request_pad() create request pads only for
9086 request pad templates and not for, say, sometimes pad templates.
9088 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9090 * docs/design/draft-klass.txt:
9091 Add example that needs more thinking.
9093 * docs/design/draft-missing-plugins.txt:
9094 More thoughts about wrapper plugins.
9096 * docs/random/ensonic/embedded.txt:
9097 * docs/random/ensonic/profiling.txt:
9100 2007-03-25 Wim Taymans <wim@fluendo.com>
9102 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9103 (gst_base_src_loop):
9104 Only push the segment events in the PLAYING state for live sources.
9106 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9108 * gst/gstpipeline.c: (gst_pipeline_change_state):
9109 Modify the clock distribution path in PAUSED->PLAYING so that we
9110 never attempt to choose a new clock unless we're actually leaving
9111 the PAUSED state for the first time. This prevents choosing a
9112 different clock when the state_change gets called for a 2nd time due
9113 to some element doing an async state change.
9115 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9117 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9118 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9119 (gst_pad_chain_unchecked), (gst_pad_push):
9120 Revert last commit. This needs some more thoughts.
9122 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9124 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9125 (gst_pad_chain_unchecked), (gst_pad_push):
9126 Check in set_caps if the caps are compatible with the pad and remove
9127 two functions that are redundant now. Fixes #421543.
9129 2007-03-22 Wim Taymans <wim@fluendo.com>
9131 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9132 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9133 Unref some more to make valgrind happy.
9135 2007-03-22 Wim Taymans <wim@fluendo.com>
9137 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9138 (gst_system_clock_id_wait_jitter),
9139 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9140 Fix anoying regression that survived a few releases. When adding an
9141 async entry while blocking on a sync entry, the sync entry will unblock
9142 but still be busy, so it should continue to wait instead of returning
9144 Add some comments here and there.
9146 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9147 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9148 Add testcase for this.
9150 2007-03-22 Wim Taymans <wim@fluendo.com>
9152 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9153 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9154 WRONG_STATE and can silently pause the task. All other cases should
9157 2007-03-22 Wim Taymans <wim@fluendo.com>
9159 Patch by: Ville Syrjala <syrjala at sci dot fi>
9161 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9162 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9165 2007-03-21 Michael Smith <msmith@fluendo.com>
9167 * docs/pwg/advanced-types.xml:
9168 Fix some errors in the typefinding docs pointed out on irc.
9170 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9172 * libs/gst/base/gstbasesrc.c:
9173 Clarify FIXME comment in the face of having added unlock_stop()
9175 2007-03-21 Wim Taymans <wim@fluendo.com>
9177 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9178 Prepare for release where we warn against possible app breakage in the
9179 case of live pipelines along with an env var to enable/disable live
9180 preroll mode (GST_COMPAT=[no-]live-preroll).
9182 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9184 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9185 So we should use correct constants for checking for None offset.
9187 2007-03-20 Wim Taymans <wim@fluendo.com>
9189 * docs/design/part-block.txt:
9190 Mention the fact that the newly switched element should be set to at
9193 2007-03-20 Wim Taymans <wim@fluendo.com>
9196 Fix compilation with registry disabled as spotted by Saur.
9198 2007-03-20 Wim Taymans <wim@fluendo.com>
9200 Patch by: Olivier Crete <tester at tester dot ca>
9202 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9203 Look at the pending state too when syncing the element state to the
9204 parent. Fixes #420133.
9206 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9208 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9209 (gst_base_sink_change_state):
9210 * libs/gst/base/gstbasesink.h:
9211 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9212 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9213 (gst_base_src_deactivate):
9214 * libs/gst/base/gstbasesrc.h:
9215 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9216 for sub-classes to correctly clear any state they set trying to
9217 unlock, such as clearing out unlock commands from a command fd.
9218 API: basesrc::unlock_stop
9219 API: basesink::unlock_stop
9221 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9222 (gst_fd_sink_render), (gst_fd_sink_unlock),
9223 (gst_fd_sink_unlock_stop):
9224 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9225 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9226 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9228 Implement unlock_stop in fdsrc and fdsink.
9229 Implement seeking in fdsrc when a seekable fd is passed, as in
9230 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9232 2007-03-19 Wim Taymans <wim@fluendo.com>
9234 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9236 * gst/gstelement.c: (gst_element_class_init):
9237 Fix pad-added and pad-removed signal signatures so that the pad type is
9238 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9240 2007-03-19 Wim Taymans <wim@fluendo.com>
9242 * docs/gst/gstreamer-sections.txt:
9243 Add new element field and method.
9245 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9246 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9247 (gst_bin_recalc_state), (gst_bin_get_state_func),
9248 (gst_bin_element_set_state), (gst_bin_change_state_func),
9249 (gst_bin_continue_func), (bin_bus_handler),
9250 (bin_push_state_continue), (bin_handle_async_start),
9251 (bin_handle_async_done), (gst_bin_handle_message_func):
9252 Make async state changes a bit smarter by using new ASYNC_START and
9253 ASYNC_DONE messages. This reduces the number of times we run the state
9254 recalculation thread.
9255 Don't change state of element with a pending ASYNC_START message.
9256 Deprecate STATE_DIRTY messages.
9258 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9259 (gst_element_get_state_func), (gst_element_continue_state),
9260 (gst_element_lost_state), (gst_element_set_state_func),
9261 (gst_element_change_state):
9263 Keep the state that was last set by the app in a new element field.
9264 Don't allow state changes when handling an element event.
9265 Post ASYNC_START and ASYNC_DONE messages.
9266 Change lost_state so that we go to PAUSED and wait for the parent to set
9267 us to PLAYING again (so latency calculation can be performed)
9268 Export gst_element_change_state() method so that subclasses can use it.
9269 API: gst_element_change_state()
9270 API: GST_STATE_TARGET
9272 * gst/gstpipeline.c: (gst_pipeline_class_init),
9273 (reset_stream_time), (gst_pipeline_change_state),
9274 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9275 Using the new ASYNC_START message we can reset the base_time when
9276 needed. This can then be used to implement base_time redistribution in
9277 flushing seeks so that we can remove the explicit seek handling.
9278 Perform latency query and configuration when going to PLAYING.
9280 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9281 (gst_base_sink_query), (gst_base_sink_change_state):
9282 Post new ASYNC_START/ASYNC_DONE messages.
9284 * tests/check/generic/sinks.c: (GST_START_TEST):
9285 Fix test because the bin will not set the async element to PLAYING right
9288 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9289 Make the message check a little stronger.
9290 Handle ASYNC messages.
9292 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9293 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9294 Expect ASYNC_DONE messages.
9296 2007-03-19 Wim Taymans <wim@fluendo.com>
9298 * docs/gst/gstreamer-sections.txt:
9299 * gst/gstmessage.c: (gst_message_new_async_start),
9300 (gst_message_new_async_done), (gst_message_parse_info),
9301 (gst_message_parse_async_start):
9303 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9306 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9308 * tools/gst-inspect.c:
9309 (print_plugin_automatic_install_info_codecs):
9310 Now that we don't check for the 'Codec' keyword any longer in the
9311 klass, we shouldn't spew a warning if the klass isn't a decoder or
9312 encoder (since it might be a Source/Network, for example).
9314 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9316 * tools/gst-inspect.c:
9317 (print_plugin_automatic_install_info_codecs):
9318 Don't require decoder/demuxer/depayloader elements or
9319 encoder/muxer/paylader elements to have 'Codec' as part of their
9320 factory class string when introspecting a plugin's capabilities.
9321 draft-klass.txt mentions that it might be removed in future, and
9322 flump3dec doesn't have it as part of its class string, so chances
9323 are others might also not have it.
9325 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9347 Update translations from translation project
9349 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9351 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9352 (gst_child_proxy_set_property):
9353 Invert precondition check to be alike the ones in the mimiced gobject
9356 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9358 * docs/design/draft-tagreading.txt:
9359 * docs/random/ensonic/audiobaseclasses.txt:
9360 Do some Architect work.
9362 * gst/gstobject.c: (gst_object_set_name):
9366 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9368 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9370 * gst/gstsystemclock.c: (gst_system_clock_init),
9371 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9372 Defer starting the async system clock thread until the first async
9373 wait is scheduled. Fixes #414986.
9375 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9377 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9378 (gst_single_queue_free):
9379 Fix small leak (free GstSingleQueue structure too, not only contents).
9381 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9383 * gst/gstbin.c:(gst_bin_add):
9384 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9385 * win32/common/libgstbase.def:
9386 * win32/common/libgstreamer.def:
9387 Add new exported functions.
9389 2007-03-09 Wim Taymans <wim@fluendo.com>
9391 * docs/plugins/gstreamer-plugins-sections.txt:
9394 2007-03-09 Wim Taymans <wim@fluendo.com>
9396 * docs/gst/gstreamer-sections.txt:
9397 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9399 Add metadata copy functions. Fixes #393099.
9400 API: gst_buffer_copy_metadata()
9402 * gst/gstutils.c: (gst_buffer_stamp):
9403 * libs/gst/base/gstbasetransform.c:
9404 (gst_base_transform_prepare_output_buffer):
9405 Use new metadata copy functions.
9407 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9409 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9410 (gst_identity_init), (gst_identity_check_perfect),
9411 (gst_identity_check_imperfect_timestamp),
9412 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9413 (gst_identity_set_property), (gst_identity_get_property):
9414 * plugins/elements/gstidentity.h:
9415 Separate out check-imperfect-timestamp and check-imperfect-offset.
9416 Put back check-perfect as it was to keep compatibility.
9418 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9420 * gst/gstelement.c: (gst_element_dispose):
9421 There's no need to warn if VOID_PENDING is not NONE here, as
9422 long as the state is NULL it's ok, and that's checked immediately
9425 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9427 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9428 Fix check for perfect stream to ignore buffers with -1
9429 offsets/offset ends when checking data contiguity.
9431 2007-03-08 Wim Taymans <wim@fluendo.com>
9433 * tools/gst-launch.c: (event_loop):
9434 Print INFO messages.
9436 2007-03-08 Wim Taymans <wim@fluendo.com>
9438 * libs/gst/base/gstbasetransform.c:
9439 (gst_base_transform_sink_eventfunc),
9440 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9441 (gst_base_transform_activate):
9442 * libs/gst/base/gstbasetransform.h:
9443 Add support for dropping buffers with custom GstFlowReturn.
9444 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9445 buffers or dropped buffers.
9447 * docs/libs/gstreamer-libs-sections.txt:
9448 docs for new custom return code.
9450 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9451 Use drop support in base class to implement drop-probability.
9453 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9455 * gst/gst.c: (load_plugin_func):
9456 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9457 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9458 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9459 Remove newlines at end of debug log strings.
9461 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9463 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9464 Only post bus message at max, once per buffer received.
9466 2007-03-07 Wim Taymans <wim@fluendo.com>
9468 * docs/design/Makefile.am:
9469 * docs/design/part-synchronisation.txt:
9470 Add doc about synchronisation
9472 * docs/design/draft-latency.txt:
9473 * docs/design/part-TODO.txt:
9474 * docs/design/part-clocks.txt:
9475 * docs/design/part-events.txt:
9476 * docs/design/part-gstbus.txt:
9477 * docs/design/part-gstpipeline.txt:
9478 * docs/design/part-live-source.txt:
9479 * docs/design/part-messages.txt:
9480 * docs/design/part-overview.txt:
9481 * docs/design/part-streams.txt:
9482 * docs/design/part-trickmodes.txt:
9483 Documentation updates.
9485 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9488 Update the doap file.
9490 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9492 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9493 Rename non-perfect to imperfect for Mike and for the sanctity of the
9495 Also make sure bus message gets emitted for data-incontiguities.
9497 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9499 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9500 (gst_identity_start):
9501 * plugins/elements/gstidentity.h:
9502 Emit bus message if check-perfect is true and we encounter a
9503 non-perfect stream between 2 consecutive buffers.
9506 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9511 === release 0.10.12 ===
9513 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9516 releasing 0.10.12, "Inevitable Demise"
9518 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9521 Version 0.10.11.2 (0.10.12 pre-release)
9522 Bump libtool versioning.
9524 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9526 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9527 Log flow-names and not numbers.
9529 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9532 Convert to new AG_GST style.
9534 2007-02-28 Wim Taymans <wim@fluendo.com>
9536 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9537 Don't unref query twice.
9539 2007-02-28 Wim Taymans <wim@fluendo.com>
9541 * gst/gstvalue.c: (gst_value_transform_object_string),
9542 (_gst_value_initialize):
9543 Implement GstObject -> string transform so we print object names
9544 when serializing GValues containing GstObjects.
9546 2007-02-28 Wim Taymans <wim@fluendo.com>
9548 * docs/gst/gstreamer-sections.txt:
9549 Add new stuff to docs.
9551 2007-02-28 Wim Taymans <wim@fluendo.com>
9553 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9554 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9555 (gst_base_sink_change_state):
9556 Improve latency query code.
9557 Don't leak latency events.
9559 * tests/check/gst/gstbin.c: (GST_START_TEST):
9562 2007-02-28 Wim Taymans <wim@fluendo.com>
9564 * gst/gstelement.c: (gst_element_message_full),
9565 (gst_element_get_state_func):
9567 Improve docs a little. Added Since: for new macro.
9569 * gst/gstobject.c: (gst_object_sink):
9570 * gst/gstpipeline.c: (gst_pipeline_change_state),
9571 (gst_pipeline_set_new_stream_time):
9572 * gst/gstpipeline.h:
9573 Improve debugging and docs.
9575 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9578 2007-02-28 Wim Taymans <wim@fluendo.com>
9580 * gst/gstelement.c: (gst_element_message_full),
9581 (gst_element_set_locked_state), (gst_element_get_state_func),
9582 (gst_element_change_state):
9583 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9584 Documentation updates.
9585 Small code cleanups.
9587 * gst/gstmessage.c: (gst_message_new_info),
9588 (gst_message_parse_info):
9590 API: gst_message_new_info()
9591 API: gst_message_parse_info()
9592 Add INFO message create and parse code.
9594 2007-02-28 Wim Taymans <wim@fluendo.com>
9596 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9597 (bin_query_latency_done):
9598 Also report the live parameter of a latency query.
9600 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9602 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9603 Copy the current generic/states example from -base and adapt so
9604 we can use the exact same code everywhere.
9605 Check a STATES_IGNORE_ELEMENTS env var which can be used
9606 to ignore certain element factories for this test, which is
9607 what is being done in -base
9608 * tests/check/Makefile.am:
9609 Mention this environment variable.
9611 2007-02-27 Wim Taymans <wim@fluendo.com>
9613 * docs/gst/gstreamer-sections.txt:
9614 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9615 (gst_bus_timed_pop), (gst_bus_pop):
9617 API: gst_bus_timed_pop()
9618 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9619 message to arrive on the bus.
9621 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9623 Two unit tests for new _timed_pop() function.
9625 2007-02-23 Wim Taymans <wim@fluendo.com>
9627 * gst/gstpipeline.c: (gst_pipeline_change_state),
9628 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9629 Don't ref a NULL clock in _provide_clock_func().
9630 Don't allow an INVALID delay.
9631 Don't try to calculate base_time with an invalid start_time.
9632 Also distribute and notify a NULL clock when it was selected.
9634 * tools/gst-launch.c: (event_loop):
9635 Don't crash when a NULL clock was selected in the pipeline.
9637 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9639 * docs/design/Makefile.am:
9640 * docs/design/draft-missing-plugins.txt:
9641 * docs/random/draft-missing-plugins.txt:
9642 Some small updates: update plugin system identifier prefix
9643 ('gstreamer.net' to 'gstreamer'), mention our new install
9644 API in libgstbaseutils rather than libgimme-codec, add
9645 reference to the online docs.
9647 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9649 * win32/common/config.h:
9650 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9651 use moap cl ci to only check in what is mentioned in the ChangeLog.
9653 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9655 * docs/gst/gstreamer-sections.txt:
9657 Fix up documentation to link to the correct GstGError section.
9658 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9660 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9662 * tools/gst-launch.c: (event_loop):
9663 Make sure that we actually show the important message part of a
9665 No need to check if the gerror is not NULL to free; first of all
9666 g_free accepts NULL; and second the default error handler would
9667 segfault if gerror was NULL.
9669 2007-02-21 Wim Taymans <wim@fluendo.com>
9671 * docs/gst/gstreamer-sections.txt:
9672 Removed docs as well.
9674 2007-02-21 Wim Taymans <wim@fluendo.com>
9676 * gst/gstmessage.c: (gst_message_parse_duration):
9678 Remove new messages for release.
9680 2007-02-20 Wim Taymans <wim@fluendo.com>
9682 * docs/design/part-gstghostpad.txt:
9683 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9684 (gst_ghost_pad_new_full):
9685 Make the ghostpad a parent of the internal pad again for better backward
9686 compatibility. Don't write code that relies on this however.
9688 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9689 (gst_pad_link_check_hierarchy):
9690 Require that parents should be GstElements in the hierarchy check.
9692 2007-02-20 Wim Taymans <wim@fluendo.com>
9694 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9695 (gst_bin_change_state_func), (bin_query_min_max_init),
9696 (bin_query_latency_fold), (bin_query_latency_done),
9699 Implement latency query.
9701 2007-02-20 Wim Taymans <wim@fluendo.com>
9703 * docs/design/part-gstghostpad.txt:
9704 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9705 (gst_ghost_pad_internal_do_activate_push),
9706 (gst_ghost_pad_internal_do_activate_pull),
9707 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9708 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9709 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9710 Do not set the internal pad as a parent anymore so we can avoid
9711 hierarchy linking errors when the ghostpad has no parent yet. This also
9712 fixes failed activation because of unlinked internal pads, which in
9713 turn fixes the impossible case where you have to activate a pad before
9714 you can add it to a running element.
9717 * gst/gstpad.c: (pre_activate), (post_activate),
9718 (gst_pad_set_active), (gst_pad_activate_pull),
9719 (gst_pad_activate_push), (gst_pad_check_pull_range):
9720 Add some more debug info.
9721 Mark activation mode in pre_activate so that we don't try to activate in
9722 endless loops. Fixes #385084.
9724 2007-02-19 Wim Taymans <wim@fluendo.com>
9726 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9727 (gst_base_transform_check_get_range):
9728 Implement a checkgetrange function instead of relying on the default
9729 core behaviour that assumes we can operate in pull mode if we have a
9730 getrange function. First step at fixing #385084.
9732 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9734 * gst/gstchildproxy.h:
9735 * libs/gst/base/gstbasesink.h:
9736 * libs/gst/base/gstbasesrc.h:
9737 * libs/gst/base/gstbasetransform.h:
9738 More docs coverage and some ChangeLog surgery (add missing names)
9740 2007-02-15 Wim Taymans <wim@fluendo.com>
9742 * docs/design/part-TODO.txt:
9743 * docs/design/part-activation.txt:
9744 * docs/design/part-block.txt:
9745 * docs/design/part-buffering.txt:
9746 * docs/design/part-clocks.txt:
9747 * docs/design/part-element-source.txt:
9748 * docs/design/part-events.txt:
9749 * docs/design/part-gstbin.txt:
9750 * docs/design/part-gstbus.txt:
9751 * docs/design/part-gstpipeline.txt:
9752 * docs/design/part-live-source.txt:
9753 * docs/design/part-messages.txt:
9754 * docs/design/part-overview.txt:
9755 * docs/design/part-qos.txt:
9756 * docs/design/part-query.txt:
9757 * docs/design/part-states.txt:
9758 * docs/design/part-trickmodes.txt:
9759 Some doc updates. Start renaming from stream_time to running_time where
9760 it was used wrongly.
9762 2007-02-15 Wim Taymans <wim@fluendo.com>
9764 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9765 Answer LATENCY query.
9767 2007-02-15 Wim Taymans <wim@fluendo.com>
9769 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9773 2007-02-15 Wim Taymans <wim@fluendo.com>
9775 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9776 (gst_pad_dispatcher):
9777 Improve debugging of default pad dispatcher and query functions.
9779 2007-02-15 Wim Taymans <wim@fluendo.com>
9781 * docs/gst/gstreamer-sections.txt:
9782 Remove old unused method.
9784 2007-02-13 Wim Taymans <wim@fluendo.com>
9786 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9789 2007-02-13 Wim Taymans <wim@fluendo.com>
9791 * docs/design/part-seeking.txt:
9794 * gst/gstsegment.c: (gst_segment_set_seek):
9795 Revert old bogus change that should make seeking work again.
9797 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9799 * docs/random/ensonic/dynlink.txt:
9800 * docs/random/ensonic/interfaces.txt:
9801 * docs/random/ensonic/receipies.txt:
9802 Possible dynamic reconnection api, plus some type fixes the other two
9805 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9807 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9808 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9809 Also check for an absolute path following file:// in the filesrc
9810 element. Remove redundant check and call g_path_is_absolute() on the
9813 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9815 * docs/design/draft-klass.txt:
9816 Add existing category analysis.
9819 Fix doc example, framerate is a fraction.
9821 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9824 * docs/gst/Makefile.am:
9825 * docs/gst/gstreamer-sections.txt:
9826 * docs/libs/Makefile.am:
9827 Erm, forgot a bunch of --extra-dir.
9829 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9832 * docs/gst/Makefile.am:
9833 * docs/libs/Makefile.am:
9834 * docs/plugins/Makefile.am:
9835 Add crossreferences to glib/gobject docs.
9837 2007-02-12 Wim Taymans <wim@fluendo.com>
9839 * docs/design/draft-latency.txt:
9842 * docs/libs/gstreamer-libs-sections.txt:
9843 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9844 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9845 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9846 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9847 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9848 (gst_base_sink_get_position), (gst_base_sink_query),
9849 (gst_base_sink_change_state):
9850 * libs/gst/base/gstbasesink.h:
9851 API: gst_base_sink_query_latency() to let subclasses query the upstream
9853 API: gst_base_sink_get_latency() to let subclasses query the configured
9854 latency in the sink.
9855 Implement query and set latency.
9857 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9858 don't continue preroll when we are flushing. Fixes #405284.
9860 * tests/check/pipelines/stress.c: (change_state_timeout),
9861 (quit_timeout), (GST_START_TEST), (stress_suite):
9864 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9866 Patch by: René Stadler <mail at renestadler de>
9868 * docs/gst/gstreamer-sections.txt:
9869 * gst/gsttaglist.c: (_gst_tag_initialize):
9871 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9873 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9875 * docs/libs/Makefile.am:
9876 Fix path to core docs.
9878 * gst/gstbin.c: (gst_bin_get_by_interface),
9879 (gst_bin_iterate_all_by_interface):
9880 Refix docs by also renaming 'interface' to 'iface' in implementation.
9882 * docs/gst/gstreamer-sections.txt:
9884 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9885 * gst/gstchildproxy.h:
9886 * gst/gstelementfactory.c:
9887 * gst/gstpadtemplate.h:
9888 * libs/gst/controller/gstcontroller.c:
9889 (gst_controlled_property_new):
9892 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9894 * gst/gstbin.h:(gst_bin_get_by_interface),
9895 (gst_bin_iterate_all_by_interface):
9896 Replace interface parameter name by iface as interface is
9897 a reserved keyword in Visual Studio for C++ projects so it removes
9898 a build error for application developpers using VS.
9899 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9900 Fix a bug on Windows in uri format check. Now the prefix checked
9901 is file:// and next we check if the path after file:// is absolute.
9902 * win32/common/libgstbase.def:
9903 * win32/common/libgstdataprotocol.def:
9904 * win32/common/libgstgstreamer.def:
9905 Add new exported functions.
9907 2007-02-09 Andy Wingo <wingo@pobox.com>
9909 * tests/check/pipelines/simple-launch-lines.c
9910 (simple_launch_lines_suite, test_tee): Disable tee test until I
9911 have time to fix it :-(
9913 * tests/check/Makefile.am (noinst_HEADERS):
9914 * tests/check/libs/libsabi.c:
9915 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9916 * tests/check/gst/gstabi.c:
9917 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9919 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9920 tests for push and pull tee behavior.
9922 * plugins/elements/gsttee.h:
9923 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9924 mark as deprecated as well as unimplemented. It was a crack idea.
9925 Add support for tee operating in pull mode, off by default.
9927 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9928 normal-case logs down to LOG, raise errors to WARNING.
9929 (gst_registry_xml_read_cache): Don't log before calling a function
9932 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9933 exit (registry finalize).
9934 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9935 DEBUG log when we emit signals that people don't even have the
9936 chance to connect to.
9937 (gst_registry_scan_path_level): Less logging in the normal case.
9939 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9941 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9943 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9944 Correctly generate EOS for non-seekable files. We don't have a total
9945 length for them and would get an unexpected end of file if we only
9946 special-cased for regular files. (Fixes: #404569)
9948 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9950 * tests/check/elements/filesrc.c: (GST_START_TEST),
9952 Add unit test for the GstURIHandler interface in filesrc. This also
9953 tests the newly added file://localhost/foo/bar support.
9955 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9957 * gst/gstelementfactory.h:
9958 The klass string is not a hierarchy. Add reference to the design doc
9959 for more information and common types.
9961 2007-02-02 Wim Taymans <wim@fluendo.com>
9963 * gst/gstquery.c: (gst_query_new_latency):
9964 Remove old structure field.
9966 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9968 * tools/gst-launch.1.in:
9969 Give example for network streaming (#351998)
9971 2007-02-02 Wim Taymans <wim@fluendo.com>
9973 * docs/gst/gstreamer-sections.txt:
9974 Add docs for new methods.
9976 * gst/gstevent.c: (gst_event_new_latency),
9977 (gst_event_parse_latency):
9979 Add new LATENCY event to configure latency in a pipeline.
9980 API: gst_event_new_latency
9981 API: gst_event_parse_latency
9983 * gst/gstmessage.c: (gst_message_new_buffering),
9984 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9985 (gst_message_new_latency), (gst_message_parse_buffering),
9986 (gst_message_parse_lost_preroll):
9988 Added messages used in draft-latency.
9989 API: gst_message_new_lost_preroll
9990 API: gst_message_parse_lost_preroll
9991 API: gst_message_new_prerolled
9992 API: gst_message_new_latency
9994 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9995 (gst_query_parse_latency):
9997 Implemented new latency query as in design doc.
9998 API: gst_query_new_latency
9999 API: gst_query_set_latency
10000 API: gst_query_parse_latency
10002 2007-02-02 Wim Taymans <wim@fluendo.com>
10004 * docs/design/draft-latency.txt:
10005 Slight redesign to allow for dynamic latency adjustments.
10007 * docs/design/part-negotiation.txt:
10010 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10012 reviewed by: Wim Taymans <wim@fluendo.com>
10014 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10015 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10016 Allow file://localhost/foo/bar URLs and correctly fail for every other
10017 hostname that one sets. This was gnomevfssrc is linked for those if
10018 installed as it can handle it (#403172)
10020 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10022 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10024 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10025 (unref_data), (gst_collect_pads_add_pad_full):
10026 * libs/gst/base/gstcollectpads.h:
10027 Don't put the previously added destroy notify in the GstCollectData
10028 struct as all it's padding is already used and we don't want to break
10029 ABI. Instead put in the pad's GObject data for now. This should be
10030 cleaned up for 0.11 (#402393).
10032 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10034 reviewed by: Wim Taymans <wim@fluendo.com>
10036 * docs/libs/gstreamer-libs-sections.txt:
10037 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10038 (unref_data), (gst_collect_pads_add_pad),
10039 (gst_collect_pads_add_pad_full):
10040 * libs/gst/base/gstcollectpads.h:
10041 API: Add function to specify a destroy notification for custom
10042 GstCollectData when adding new pads in GstCollectPads (#402393).
10044 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10047 Update Swedish translation (#378255).
10049 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10051 * docs/design/draft-klass.txt:
10052 Fix the previous change, this is a list of categories and not a hierarchy.
10054 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10056 * docs/design/draft-klass.txt:
10057 Add info about how to get a list of used classes.
10059 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10061 * plugins/elements/gsttypefindelement.c:
10062 (gst_type_find_element_chain_do_typefinding),
10063 (gst_type_find_element_change_state):
10064 Don't leak found caps in chain function (no idea why that never
10065 showed up as a leak anywhere).
10067 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10070 Fix and expand GstPluginDesc API docs.
10072 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10075 * gst/gstelementfactory.c:
10076 * gst/gstpadtemplate.h:
10079 * libs/gst/controller/gstcontroller.c:
10080 (gst_controlled_property_new):
10081 * tests/examples/controller/audio-example.c:
10084 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10087 comment about refining the xml deps
10089 * docs/manuals.mak:
10090 comments about moving away from jade for docs
10093 recommit the ifdefs to use the binary registry
10095 * gst/gstbin.c: (gst_bin_change_state_func):
10096 this break is obsolete
10098 * gst/gstelementfactory.h:
10099 better GST_ELEMENT_DETAILS docs, add comment about translation
10104 * gst/gstobject.c: (gst_signal_object_get_type):
10105 add G_UNLIKELY as usual
10107 * gst/gstpad.c: (gst_pad_event_default):
10108 add fall trhu comment
10110 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10111 (gst_registry_binary_initialize_magic),
10112 (gst_registry_binary_save_string),
10113 (gst_registry_binary_save_pad_template),
10114 (gst_registry_binary_save_feature),
10115 (gst_registry_binary_save_plugin),
10116 (gst_registry_binary_write_cache),
10117 (gst_registry_binary_check_magic),
10118 (gst_registry_binary_load_pad_template),
10119 (gst_registry_binary_load_feature),
10120 (gst_registry_binary_load_plugin),
10121 (gst_registry_binary_read_cache):
10122 comment typo and formatting
10124 * gst/gstutils.c: (gst_element_state_get_name),
10125 (gst_element_state_change_return_get_name):
10126 remove obsolete breaks
10128 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10129 add FIXME 0.11 and remove cpp comment
10131 2007-01-29 Edward Hervey <edward@fluendo.com>
10133 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10134 Fix print statement in an even more portable way.
10136 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10138 * docs/gst/gstreamer-sections.txt:
10140 API: add GST_ROUND_DOWN_* macros (#401781).
10142 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10144 * docs/gst/gstreamer.types.in:
10145 * gst/gstregistry.c: (gst_registry_class_init):
10146 Document registry signals and make gtk-doc pick them up (#401381).
10148 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10150 * docs/pwg/building-testapp.xml:
10151 Add some audioconverts and audioresample to the pipeline, and some
10152 more comments and error handling.
10154 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10156 * docs/manual/manual.xml:
10157 * docs/pwg/pwg.xml:
10158 Fix typo (#400987).
10160 2007-01-26 Wim Taymans <wim@fluendo.com>
10162 * gst/gstcaps.c: (gst_static_caps_get):
10163 Init caps flags too.
10165 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10167 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10169 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10170 If not using mmap'ed files try to seek to the end instead of the
10171 start to determine whether we can seek at all. This fixes the case
10172 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10173 seeks for everything afterwards fail. Fixes #400656
10175 2007-01-25 Wim Taymans <wim@fluendo.com>
10177 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10178 Add some refcount debugging.
10179 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10180 in multiple streaming threads.
10182 2007-01-25 Wim Taymans <wim@fluendo.com>
10184 Patch by: David Schleef <ds at schleef dot org>
10186 * docs/libs/gstreamer-libs-sections.txt:
10187 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10188 * libs/gst/base/gstadapter.h:
10189 API: gst_adapter_copy() that can reduce the amount of memcpy when
10190 getting data from the adapter. Fixes #388201.
10192 2007-01-25 Edward Hervey <edward@fluendo.com>
10194 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10195 In print statements, "%x" is for guint. Fixes build on macosx.
10197 2007-01-24 Edward Hervey <edward@fluendo.com>
10199 * plugins/elements/gstmultiqueue.c:
10200 (gst_multi_queue_loop):
10202 (single_queue_overrun_cb), (single_queue_underrun_cb),
10203 (single_queue_check_full), (gst_single_queue_new):
10204 Implement single queue growth system.
10205 This uses the extra-size properties, and will grow single queues by
10206 that much if one goes full whereas there are others empty. This is
10207 called extra-mode in the code.
10208 When a single queue's levels go back below the initial max-size
10209 limits, it is no longer in extra-mode. This is to ensure we don't
10210 consume too much memory.
10213 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10215 * gst/gst.c: (gst_init_get_option_group):
10216 Make warning about late g_thread_init() calls a bit more explicit,
10217 so that it's more obvious to application developers what they need
10218 to do if a user files a bug against their application.
10220 2007-01-22 Edward Hervey <edward@fluendo.com>
10222 * plugins/elements/gstmultiqueue.c:
10223 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10224 Remove previous hack of unsetting the flushing flag for the source pad
10225 instead of activating it. Instead, fix the source pad activate function
10226 so that it no longer depends on having a parent set or not.
10228 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10230 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10232 * docs/manual/basics-bus.xml:
10233 Fix example code, gst_element_unref() doesn't exist any longer.
10235 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10237 Patch by: Mark Nauwelaerts <manauw at skynet be>
10240 Fix two docs typoes (#399094).
10242 2007-01-19 Edward Hervey <edward@fluendo.com>
10244 * docs/faq/gst-uninstalled:
10245 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10246 depending on libgstbaseutils can work in uninstalled environment.
10248 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10250 * gst/gsttaglist.h:
10251 * gst/gsttagsetter.c:
10252 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10253 statement for new tag.
10255 2007-01-17 Edward Hervey <edward@fluendo.com>
10257 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10258 When dynamically creating single queues, activate sinkpad before adding
10260 We should be doing the same thing for the source pad, but we can't
10261 since it would call a method which needs the parent to be set in order
10262 to work propertly. Instead of activating the source pad, we just unset
10263 the flushing flag, which is the minimal requirement for adding a pad
10264 to an element in a state greater than READY.
10266 2007-01-17 Edward Hervey <edward@fluendo.com>
10268 * docs/faq/gst-uninstalled:
10269 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10272 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10274 * tests/check/gst/gstabi.c:
10275 * tests/check/gst/struct_hppa.h:
10276 * tests/check/libs/libsabi.c:
10277 * tests/check/libs/struct_hppa.h:
10278 Add ABI structs for HPPA (see #393796).
10280 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10282 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10283 Actually write ABI structs to the file specified in the GST_ABI
10284 environment variable, as the message we print claims we would.
10286 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10288 * tests/check/gst/gsttask.c:
10289 Fix header comment.
10291 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10293 * gst/gsttaglist.c: (_gst_tag_initialize):
10294 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10295 previous two entries.
10297 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10299 * docs/gst/gstreamer-sections.txt:
10300 * gst/gsttaglist.c: (_gst_tag_initialize):
10301 * gst/gsttaglist.h:
10302 Add tag support for beat-per-minute.
10304 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10306 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10307 (gst_registry_binary_initialize_magic),
10308 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10309 (gst_registry_binary_save_pad_template),
10310 (gst_registry_binary_save_feature),
10311 (gst_registry_binary_save_plugin),
10312 (gst_registry_binary_write_cache),
10313 (gst_registry_binary_check_magic),
10314 (gst_registry_binary_load_pad_template),
10315 (gst_registry_binary_load_feature),
10316 (gst_registry_binary_load_plugin),
10317 (gst_registry_binary_read_cache):
10318 * gst/gstregistrybinary.h:
10319 Use glib types, cleanup comments, impement interfaces and uri-types.
10321 2007-01-13 Andy Wingo <wingo@pobox.com>
10323 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10324 getrange() to return buffers with other caps, while we fix
10325 demuxers and typefind, or otherwise change part-negotiation.txt.
10327 2007-01-12 Andy Wingo <wingo@pobox.com>
10329 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10330 Factor start/stop into this private function instead of partially
10331 in activate functions and partially in the change_state function.
10332 Fixes setup before the element has changed from READY->PAUSED, as
10333 is the case in pull-mode pipelines.
10334 (gst_base_transform_sink_activate_push)
10335 (gst_base_transform_src_activate_pull): Refactor to use
10336 gst_base_transform_activate().
10337 (gst_base_transform_change_state): Removed, not needed any more.
10339 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10340 Truncate before fixating.
10342 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10343 Don't set_caps() if the result of fixating is ANY, as it's not
10344 supported, and not necessary in the case of a link with no
10345 template caps on either side. Fixes tests/check/libs/basesrc in
10346 some pull-mode tests.
10348 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10349 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10350 (gst_base_transform_src_activate_pull):
10351 Track the activation mode.
10352 (gst_base_transform_setcaps): In pull mode, when activating the
10353 src pad, after activating the sink pad, activate the sink pad's
10354 peer, as discussed in part-negotiation.txt.
10356 * libs/gst/base/gstbasesrc.h:
10357 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10358 vmethod, as in basesink.
10360 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10362 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10363 mode, first proxy the setcaps to the peer pad.
10364 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10365 new fixate vmethod.
10366 (gst_base_sink_default_activate_pull): Rename from
10367 gst_base_sink_activate_pull.
10368 (gst_base_sink_negotiate_pull): New function, performs negotiation
10369 in pull mode before calling ::activate_pull().
10370 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10371 vmethod instead of the default implementation. I have no idea how
10372 this worked before. Negotiate before calling activate_pull.
10374 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10375 sink pads in pull mode. In addition to being correct, fixes
10376 filesrc ! decodebin ! identity ! fakesink.
10377 (gst_pad_get_range, gst_pad_pull_range): Don't call
10378 gst_pad_set_caps() if the caps changes; instead error out with
10379 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10381 2007-01-12 Andy Wingo <wingo@pobox.com>
10383 * docs/design/part-negotiation.txt: Update with more policy.
10385 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10387 * libs/gst/check/gstbufferstraw.h:
10388 * libs/gst/check/gstcheck.h:
10389 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10392 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10394 * tests/check/Makefile.am:
10395 * tests/check/gst/.cvsignore:
10396 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10397 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10398 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10399 (GST_START_TEST), (gst_tag_setter_suite):
10400 Add minimal unit test for beforementioned GstTagSetter bug.
10402 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10404 Patch by: René Stadler <mail at renestadler dot de>
10406 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10407 gst_tag_list_merge() returns a new list, so it's not the best idea
10408 to ingore its return value. Effectively meant that tags could only
10409 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10410 Also add function guard to require a non-NULL taglist as input (has
10411 always been so due to gst_tag_list_copy(), just making it explicit).
10413 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10415 * docs/random/draft-missing-plugins.txt:
10416 Some additions: mention new API that is supposed to be used at the
10417 various stages; short blob about new gst-inspect introspection
10418 option; mention potential future problem with plugins that have
10419 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10421 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10423 * tools/gst-inspect.c:
10424 (print_plugin_automatic_install_info_codecs),
10425 (print_plugin_automatic_install_info_protocols),
10426 (print_plugin_automatic_install_info), (main):
10427 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10428 introspect plugin files and get machine-parsable output that corresponds
10429 to the last bit of the missing-plugin installer string (small gotcha:
10430 doesn't take into account ranks).
10432 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10435 * docs/gst/gstreamer-sections.txt:
10437 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10438 (gst_registry_lookup_locked):
10439 * gst/gstregistry.h:
10440 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10441 (gst_registry_binary_initialize_magic),
10442 (gst_registry_binary_save_string),
10443 (gst_registry_binary_save_pad_template),
10444 (gst_registry_binary_save_feature),
10445 (gst_registry_binary_save_plugin),
10446 (gst_registry_binary_write_cache),
10447 (gst_registry_binary_check_magic),
10448 (gst_registry_binary_load_pad_template),
10449 (gst_registry_binary_load_feature),
10450 (gst_registry_binary_load_plugin),
10451 (gst_registry_binary_read_cache):
10452 * gst/gstregistrybinary.h:
10453 * gst/gstregistryxml.c: (load_feature),
10454 (gst_registry_xml_read_cache):
10455 commit binary registry (disabled by default, see #359653)
10457 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10459 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10460 Fix 'make check' too.
10462 2007-01-10 Andy Wingo <wingo@pobox.com>
10464 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10467 * docs/design/part-negotiation.txt: Update with, um, one way that
10468 pull-mode negotiation might work?
10471 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10472 that the pad must be a src pad; makes sense to call it the other
10473 way in pull mode, and the logic is symmetric anyway.
10475 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10477 * plugins/elements/gstfilesink.c:
10478 Include <stdio.h> for fseeko().
10480 2007-01-10 Wim Taymans <wim@fluendo.com>
10484 Reserve LATENCY event.
10486 2007-01-09 Wim Taymans <wim@fluendo.com>
10488 * docs/design/draft-latency.txt:
10491 2007-01-09 Wim Taymans <wim@fluendo.com>
10493 * docs/design/draft-latency.txt:
10496 * gst/gstelement.h:
10497 * gst/gststructure.c:
10501 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10503 * tests/check/.cvsignore:
10504 Ignore test-registry.xml as well.
10506 2007-01-09 Wim Taymans <wim@fluendo.com>
10508 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10509 unref data at the end when we are done with the pad.
10511 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10513 * docs/gst/gstreamer-sections.txt:
10514 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10515 (init_post), (gst_deinit), (gst_update_registry):
10517 API: add gst_update_registry() (#391296).
10519 * tests/check/Makefile.am:
10520 * tests/check/gst/gstregistry.c:
10521 * tests/check/gst/.cvsignore:
10522 Simple unit test for the above.
10524 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10526 * gst/gstregistry.c: (gst_registry_scan_path_level):
10527 Plugin extension on HP-UX is .sl, add that to the list of approved
10528 plugin extensions (see #393796).
10530 * tests/check/gst/gstpad.c: (GST_START_TEST):
10531 ulong => gulong. Fixes compilation with HP-UX compiler.
10533 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10534 Fix compilation if valgrind headers are not available.
10536 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10538 * win32/common/libgstreamer.def:
10539 Add new exported function.
10540 * win32/vs6/libgstbase.dsp:
10541 Add gstdataqueue.c to the build.
10542 * win32/vs6/libgstcoreelements.dsp:
10543 Add gstmultiqueue.c to the build.
10545 2007-01-06 Andy Wingo <wingo@pobox.com>
10547 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10548 activate_pull(), providing for a way to specialize the process of
10549 spawning a thread to pull on the sink pad. There is a default
10552 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10553 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10554 (gst_base_sink_init): Renamed pad activation functions (inserting
10555 "_pad" in their names). Refactor to use the new activate_pull
10556 vmethod, as appropriate.
10557 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10558 default activate_pull function to start a task pulling from the
10559 sink pad, as before.
10561 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10562 on the pads if necessary, as in push()/chain(). Update docs.
10563 Shouldn't affect existing pull() usage as it is currently only
10564 being used on buffers without caps.
10566 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10568 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10570 Call g_thread_init() first thing in gst_init() / gst_check_init().
10571 When initialisation is done via gst_init_get_option_group() and
10572 GOption parsing, issue a warning if the GLib thread system has not
10573 been initialised yet by the time gst_init_get_option_group() is
10574 called, as it's quite likely other GLib functions such as
10575 g_option_context_new() have been called already then, and
10576 g_thread_init() must be called before any other GLib function. The
10577 application in question must be fixed in that case, since memory
10578 corruption might happen otherwise.
10579 We issue the warning because even if the GLib folks decide to work
10580 around the problem on their end in future, this is still an issue
10581 with all GLib versions >= 2.10.0, so we should warn until we depend
10582 on a GLib version we know to be safe.
10583 Update documentation as well.
10584 Closes bug #391278.
10586 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10588 * tools/gst-inspect.c: (main):
10589 * tools/gst-launch.c: (main):
10590 * tools/gst-typefind.c: (main):
10591 * tools/gst-xmlinspect.c: (main):
10592 Call g_thread_init() really really early, before any other GLib
10593 function (see #342564 and recent discussion on gtk-devel-list).
10595 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10597 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10599 * gst/gst_private.h:
10600 * gst/gstconfig.h.in:
10602 On win32, all the __declspec stuff for symbol exporting is
10603 apparently only needed with MSVC, but doesn't work with MingW.
10604 Fixes compilation with MingW and #391909.
10606 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10608 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10609 Change some GST_ERROR_OBJECT that aren't really errors to
10610 GST_WARNING_OBJECT in order to reduce terminal spam.
10612 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10614 * tests/check/Makefile.am:
10615 disable test again, as there seem to be still race problems
10617 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10619 * tests/check/Makefile.am:
10620 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10621 (GST_START_TEST), (queue_suite):
10622 enable queue test again, add tests for the leaky behaviour
10624 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10627 * tests/examples/Makefile.am:
10628 Compile adapter test/example only if the required headers are
10629 available (fixes #391915).
10631 2007-01-01 David Schleef <ds@schleef.org>
10634 Restore the previous signal handler for SIGSEGV instead of
10635 setting to default, since we may have stolen it away from
10636 someone. (i.e., Mono)
10638 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10640 * docs/random/draft-missing-plugins.txt:
10641 Some small additions and clarifications.
10643 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10645 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10646 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10647 since that can lead to random memory corruptions and crashes
10648 (may or may not be related to #383244, #386711, and #386711).
10650 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10652 * tests/check/.cvsignore:
10653 * tests/check/Makefile.am:
10654 sync .cvsignome and CLEANFILES
10656 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10658 * tests/check/Makefile.am:
10661 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10663 * docs/design/part-states.txt:
10664 two tiny additional comments
10666 * gst/gststructure.c:
10669 * tests/check/Makefile.am:
10670 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10672 disable test for now, unless it gets fixed
10674 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10676 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10678 fix race in underrun test
10680 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10682 * tests/check/elements/.cvsignore:
10685 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10687 try to narrow test failure
10689 2006-12-21 David Schleef <ds@schleef.org>
10691 * plugins/elements/gstfakesrc.c:
10692 Use g_random_int_range(), since it produces better random
10693 numbers in a range than almost-correct floating point code.
10695 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10697 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10698 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10699 (gst_check_teardown_sink_pad):
10700 do not automatically (de)activate pads
10702 * tests/check/Makefile.am:
10703 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10704 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10705 add new, yet simple tests for queue
10707 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10708 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10709 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10711 * tests/check/elements/identity.c: (cleanup_identity):
10712 consistent pad (de)activation
10714 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10716 Patch by: Sebastian Dröge <slomo ubuntu com>
10718 * libs/gst/base/gstcollectpads.c:
10719 Fix two doc typos (#387866).
10721 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10723 * docs/manual/advanced-dparams.xml:
10724 Fix typo (g_object_control_properties() doesn't exist).
10726 2006-12-19 Edward Hervey <edward@fluendo.com>
10728 * gst/gstsegment.c: (gst_segment_set_seek):
10729 Fine tune the cases where the segment start/stop values are really
10731 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10732 Add tests for the return values of gst_segment_set_seek().
10734 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10739 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10741 Fix incorrect documentation and flesh it out a bit more.
10742 Set default values for the max properties on the GParamSpec as well,
10743 so it shows up correctly in gst-inspect.
10745 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10747 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10748 Correct docs of queue, add more detail and crosslink it more.
10750 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10752 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10753 Print additional debug info when the stream isn't perfectly
10754 timestamped; don't try to use invalid durations.
10756 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10758 * docs/design/Makefile.am:
10759 Dist new design docs.
10761 2006-12-16 Wim Taymans <wim@fluendo.com>
10763 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10765 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10766 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10767 (gst_collect_pads_stop), (gst_collect_pads_event),
10768 (gst_collect_pads_chain):
10769 * libs/gst/base/gstcollectpads.h:
10770 Add refcounting to the collectpads data so we can track when it's safe
10771 to free the data. Fixes #383382.
10773 2006-12-15 Wim Taymans <wim@fluendo.com>
10775 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10776 (gst_collect_pads_remove_pad):
10777 Automatically activate/deactivate pads when they are added to a
10778 started/stoped collectpads.
10780 2006-12-15 Wim Taymans <wim@fluendo.com>
10782 * gst/gstelement.c: (gst_element_add_pad):
10783 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10784 * gst/gstpad.c: (gst_pad_init):
10785 Set pads to FLUSHING when they are created. Check, warn and fix when a
10786 demuxer adds an inactive pad to itself when running. Fixes #339326.
10788 2006-12-15 Wim Taymans <wim@fluendo.com>
10790 * gst/gstelement.c: (gst_element_class_init),
10791 (gst_element_default_send_event), (gst_element_send_event),
10792 (gst_element_default_query), (gst_element_query):
10793 Expose default element send_event and query handling as vmethods that
10794 subclasses can chain up to.
10796 2006-12-15 Wim Taymans <wim@fluendo.com>
10798 * gst/gstelement.c: (gst_element_set_state_func):
10799 Small documentation fixes.
10801 2006-12-15 Wim Taymans <wim@fluendo.com>
10803 * docs/design/draft-latency.txt:
10804 Checked in draft for handling latency in pipelines.
10806 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10810 * gstreamer.spec.in:
10813 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10815 * gst/gst.c: (init_pre), (init_post):
10816 init_pre() and init_post() might be called via our GOptionGroup or
10817 from gst_init(), and we should skip both of them if we've already
10818 been initialised, otherwise we will init some things twice or add
10819 two default log functions.
10821 2006-12-13 Edward Hervey <edward@fluendo.com>
10823 * docs/manual/basics-bus.xml:
10824 No, gst_main_loop does not exist. Its g_main_loop.
10825 Discovered by somebody who abused the copy-paste technique of coding :)
10827 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10829 * gst/gstghostpad.c:
10830 Log ghostpad debug stuff to the GST_PADS category as well rather
10831 than just to the default category.
10833 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10836 * gst/gst.c: (init_pre):
10837 Add some basic system details such as OS and architecture
10838 to the debug output if possible, courtesy of uname().
10840 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10842 * docs/gst/running.xml:
10843 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10844 environment variables.
10846 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10848 * tests/check/gst/gstbin.c: (GST_START_TEST):
10849 It is acceptable to have a refcount of 2 or 3 at this point in the
10850 test, because the pipeline might be just posting its state_change
10851 message. The next line then waits for that message to appear using
10852 bus_poll, so that should be fine too.
10854 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10856 * gst/gst.c: (ensure_current_registry_forking):
10857 Ignore EINTR when reading from the child registry pipe.
10858 Explicitly ignore the return value from close, since it makes no
10861 * gst/gstminiobject.c: (gst_mini_object_ref),
10862 (gst_mini_object_unref):
10863 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10865 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10866 When removing cached plugins, remove their features too, so they're
10867 not visible after they've disappeared.
10869 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10870 In the unlikely case that we are linking pads with no parents, don't
10871 crash trying to get the non-existent parent bin.
10873 * gst/parse/grammar.y:
10874 Output debug in the PIPELINE category
10876 2005-03-08 Wim Taymans <wim@fluendo.com>
10878 Patch by: René Stadler <mail at renestadler dot de>
10880 * gst/gstclock.c: (gst_clock_new_periodic_id):
10881 Reject invalid clock times for interval of periodic ids.
10884 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10886 * gst/gstelementfactory.c: (gst_element_factory_create):
10887 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10888 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10889 * tools/gst-inspect.c: (print_element_info):
10890 Fix refcounting of gst_plugin_feature_load to match the docs.
10893 2006-12-07 Wim Taymans <wim@fluendo.com>
10895 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10896 (gst_base_sink_get_position):
10897 Improve debugging of events.
10899 2006-12-07 Wim Taymans <wim@fluendo.com>
10901 Patch by: René Stadler <mail at renestadler dot de>
10903 * gst/gstclock.c: (gst_clock_id_wait):
10904 Make period ids add the interval to the origial requested time instead
10905 of the possibly updated time which can be wrong when there are multiple
10906 waiters for the same id. Fixes #382592.
10908 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10909 (gst_system_clock_id_wait_jitter_unlocked),
10910 (gst_system_clock_id_wait_jitter):
10911 Fix restart in the async notify thread when an async entry is added to
10912 the front of the list. Fixes #381492.
10914 * tests/check/gst/gstsystemclock.c: (store_callback),
10915 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10916 Added test for multiple async waits.
10917 Added test for async wait order.
10919 2006-12-07 Wim Taymans <wim@fluendo.com>
10921 * gst/gstbin.c: (gst_bin_query):
10922 Add some more docs about the POSITION query.
10924 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10927 Bump version nano - back to CVS.
10929 === release 0.10.11 ===
10931 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10934 releasing 0.10.11, "Love never runs on time"
10936 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10938 * win32/common/libgstbase.def:
10939 * win32/common/libgstreamer.def:
10940 * win32/vs8/libgstbase.vcproj:
10941 * win32/vs8/libgstcoreelements.vcproj:
10942 * win32/vs8/libgstreamer.vcproj:
10943 Fix compilation on win32 under VS8
10944 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10945 Partially fixes #381175
10947 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10949 * gst/gstvalue.c: (gst_value_compare_fraction):
10950 If someone is foolish enough to compare 2 fractions with denominator =
10951 0, return UNORDERED rather than aborting.
10953 2006-11-28 Edward Hervey <edward@fluendo.com>
10955 * libs/gst/base/Makefile.am:
10956 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10957 (gst_data_queue_base_init), (gst_data_queue_class_init),
10958 (gst_data_queue_init), (gst_data_queue_new),
10959 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10960 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10961 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10962 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10963 (gst_data_queue_set_flushing), (gst_data_queue_push),
10964 (gst_data_queue_pop), (gst_data_queue_drop_head),
10965 (gst_data_queue_set_property), (gst_data_queue_get_property):
10966 * libs/gst/base/gstdataqueue.h:
10967 New GstDataQueue object for threadsafe queueing. Most useful for
10968 elements that need some queueing functionnality.
10969 * docs/libs/gstreamer-libs-docs.sgml:
10970 * docs/libs/gstreamer-libs-sections.txt:
10971 Insert documentation for GstDataQueue
10972 * plugins/elements/Makefile.am:
10973 * plugins/elements/gstelements.c:
10974 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10975 (gst_multi_queue_class_init), (gst_multi_queue_init),
10976 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10977 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10978 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10979 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10980 (gst_multi_queue_loop), (gst_multi_queue_chain),
10981 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10982 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10983 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10984 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10985 (wake_up_next_non_linked), (compute_next_non_linked),
10986 (single_queue_overrun_cb), (single_queue_underrun_cb),
10987 (single_queue_check_full), (gst_single_queue_new):
10988 * plugins/elements/gstmultiqueue.h:
10989 New multiqueue element, using GstDataQueue. Used for queuing multiple
10991 Closes #344639 and #347785
10993 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10995 * docs/pwg/advanced-types.xml:
10996 add more missing type details
10998 * tools/gst-run.c: (main):
10999 remove unused variable
11001 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11003 * docs/libs/Makefile.am:
11004 * docs/libs/gstreamer-libs.types:
11005 add types of base classes to enable gobject specific stuff in the docs
11007 * docs/random/ensonic/embedded.txt:
11008 more ideas about isolating platform specific things
11010 2006-11-20 Wim Taymans <wim@fluendo.com>
11012 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11014 * libs/gst/check/gstcheck.h:
11015 Fix compilation and running against 0.9.4. Fixes #377332.
11017 2006-11-20 Wim Taymans <wim@fluendo.com>
11019 * gst/gstsegment.c: (gst_segment_set_seek),
11020 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11021 (gst_segment_to_running_time):
11022 Fix boundary checking in to_running_time() and to_stream_time().
11025 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11026 stream and running time can now be calculated for the complete
11029 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11031 * gst/gstpad.c: (gst_pad_push_event):
11032 Can't access event structure after giving away ownership of
11035 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11037 * docs/random/ensonic/embedded.txt:
11038 * docs/random/ensonic/profiling.txt:
11039 * docs/random/ensonic/receipies.txt:
11042 2006-11-13 Wim Taymans <wim@fluendo.com>
11044 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11047 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11049 2006-11-13 Wim Taymans <wim@fluendo.com>
11051 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11053 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11054 Store new length in segment duration so we don't keep on calling the
11055 potentially expensize get_size() call. Fixes #370865.
11057 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11059 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11061 * win32/common/libgstreamer.def:
11062 Add two missing symbols (#366492).
11064 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11066 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11067 (gst_adapter_take_buffer):
11068 Fix format string to use all its arguments.
11069 Remove useless >= check on a guint
11071 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11073 * tests/examples/adapter/.cvsignore:
11074 Ignore build file as commanded by the build-bot
11076 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11078 * tests/examples/adapter/Makefile.am:
11079 * tests/examples/adapter/adapter_test.c: (run_test_take),
11080 (run_test_take_buffer), (run_tests), (main):
11082 Add new files from the previous commit
11084 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11088 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11089 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11090 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11091 * libs/gst/base/gstadapter.h:
11092 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11093 (GST_START_TEST), (gst_adapter_suite):
11094 * tests/examples/Makefile.am:
11095 Do some optimisation work in GstAdapter to avoid copies in more cases.
11096 It could still do slightly better by merging buffers when
11097 gst_buffer_is_span_fast is true, but is already faster.
11099 Also, avoid traversing a single-linked list to append each incoming
11100 buffer inside the adapter.
11102 Add simple test app that times the adapter behaviour in different
11103 situations, and extend the unit test to check that bytes enter and
11104 exit the adapter in their original order.
11106 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11108 * docs/random/draft-missing-plugins.txt:
11109 Update: use element message instead of adding a new message
11110 type to the core; don't provide GStreamer API to initiate the
11111 plugin download, just provide API to compose the strings needed
11112 and let an external libgimmestuff handle the rest.
11114 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11116 * tools/gst-inspect.c: (print_element_properties_info):
11117 Print a string instead of 'unknown type' for GValueArray properties
11119 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11121 * docs/random/draft-missing-plugins.txt:
11124 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11126 * tests/examples/typefind/typefind.c: (type_found), (main):
11127 Make typefind element example work again (#371894); add a
11130 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11132 * docs/random/draft-missing-plugins.txt:
11133 Commit initial draft about how to deal with missing plugins,
11134 needs work (API too).
11136 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11138 * docs/pwg/advanced-types.xml:
11139 documents the new caps elements (see #363118)
11141 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11143 * gst/gstplugin.c: (gst_plugin_load_file):
11144 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11145 (gst_file_src_map_region), (gst_file_src_start):
11146 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11147 (gst_file_index_commit):
11148 Use g_strerror() instead of strerror() - we want UTF-8.
11150 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11152 Patch by: Peter Kjellerstedt <pkj at axis com>
11154 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11155 Another printf fix (#371493).
11157 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11159 * tests/check/gst/gsttag.c:
11160 relicence (okay with author=company)
11162 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11164 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11165 (gst_pad_push_event):
11166 Enhance debug and improve docs
11171 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11173 * docs/random/ensonic/distributed.txt:
11174 * docs/random/ensonic/profiling.txt:
11177 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11179 * docs/gst/gstreamer-sections.txt:
11180 add new API and fix the build
11182 * gst/gstbin.c: (gst_bin_recalc_state):
11183 * gst/gstelement.c: (gst_element_message_full),
11184 (gst_element_get_state_func), (gst_element_set_state_func):
11185 use new API and improve logging
11187 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11189 API: add function to get StateChangereturn names to improve logs
11191 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11193 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11194 I'm considering shooting the next person to put strerror stuff
11195 in the translateable part of the message.
11197 2006-11-03 Wim Taymans <wim@fluendo.com>
11199 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11200 Get the type and printf conversion specifiers right.
11202 2006-11-03 Wim Taymans <wim@fluendo.com>
11204 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11206 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11207 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11208 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11209 Some small cleanups. Improve debugging.
11211 Signal all waiting threads with a broadcast instead of just one.
11214 2006-11-03 Wim Taymans <wim@fluendo.com>
11216 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11217 (gst_fd_src_create):
11218 Add some debugging.
11219 Only update fd when it's different from the old.
11221 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11223 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11224 Printf fixes for PPC/OSX, take two (#369366).
11226 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11228 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11230 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11231 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11232 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11233 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11234 don't cast to long long for portability reasons, but use
11235 GLib's types instead.
11237 2006-10-30 Michael Smith <msmith@fluendo.com>
11239 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11240 Get the arguments to lseek() the right way around.
11243 2006-10-30 Wim Taymans <wim@fluendo.com>
11245 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11248 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11250 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11252 Patch by: Kjartan Maraas <kmaraas at gnome org>
11254 * docs/design/part-MT-refcounting.txt:
11255 * docs/random/wtay/capsnego2-docs:
11258 Typo fixes (#366212).
11260 2006-10-28 Wim Taymans <wim@fluendo.com>
11262 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11265 * win32/common/libgstbase.def:
11266 * win32/common/libgstreamer.def:
11267 * win32/vs8/libgstbase.vcproj:
11268 * win32/vs8/libgstcontroller.vcproj:
11269 Add needed entries in .def files.
11271 Rearrange def files in vs8 solutions. Fixes #366286.
11273 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11275 * win32/common/gstconfig.h:
11276 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11277 hand-made win32 gstconfig.h. Fixes #366321.
11279 2006-10-27 Wim Taymans <wim@fluendo.com>
11281 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11282 (gst_ghost_pad_new_full):
11283 Make acceptcaps return TRUE when we don't have a target, just like
11286 2006-10-27 Wim Taymans <wim@fluendo.com>
11288 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11289 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11291 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11293 * gst/gststructure.c: (gst_structure_id_set_value):
11294 If someone tries to set a non-UTF8 string field on a structure,
11295 don't just print a warning, but also ignore the request and do
11296 not change/add that field to the structure.
11298 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11299 Test for the above.
11301 2006-10-25 David Schleef <ds@schleef.org>
11304 g_hash_table_insert() needs a cast to a non-const pointer duh.
11306 2006-10-25 David Schleef <ds@schleef.org>
11310 Change name parameter of _gst_debug_register_funcptr to const
11311 to reflect the constness of its use in the function as well
11312 as to quiet a gcc warning.
11314 2006-10-25 Edward Hervey <edward@fluendo.com>
11316 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11317 Don't push the buffer if it's empty.
11320 2006-10-24 Wim Taymans <wim@fluendo.com>
11325 * libs/gst/base/gstbasetransform.c:
11326 (gst_base_transform_sink_eventfunc):
11327 Debug segment values *after* updating them as this is more
11330 2006-10-23 Wim Taymans <wim@fluendo.com>
11332 * docs/design/part-events.txt:
11335 * docs/design/part-block.txt:
11336 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11337 (gst_pad_push_event):
11338 Revert BLOCKING patch, it tries to be smart without really having a
11339 clear idea what or how. So, now we discard all FLUSHING events again on
11340 a blocking pad. Should fix gnonlin again.
11342 2006-10-23 Wim Taymans <wim@fluendo.com>
11344 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11346 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11347 (gst_base_src_start), (gst_base_src_activate_push):
11348 Make sure size is always initialized. Fixes #364388.
11350 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11352 * docs/random/ensonic/distributed.txt:
11353 add some ideas about doing distributed processing
11355 * docs/random/ensonic/profiling.txt:
11356 get_rusage look promising
11358 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11360 * docs/manual/basics-helloworld.xml:
11361 Add a cast in example to fix compile warning
11363 2006-10-18 Wim Taymans <wim@fluendo.com>
11365 * gst/gstsegment.c: (gst_segment_set_last_stop),
11366 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11367 Relax arg checking again, -1 is allowed.
11369 2006-10-18 Wim Taymans <wim@fluendo.com>
11371 * gst/gstsegment.c: (gst_segment_set_last_stop),
11372 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11373 _set_last_stop() must be with a value != -1
11374 A _TYPE_SET to -1 means seek to 0.
11375 Calc last_stop correctly for negative rates.
11376 Make sure we work with positive durations when updating a segment.
11378 2006-10-18 Wim Taymans <wim@fluendo.com>
11380 * docs/design/part-live-source.txt:
11384 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11387 Add an explicit cast to GstBuffer** to keep old code that added an
11388 explicit cast to GstMiniObject** for gst_mini_object_replace()
11389 compiling without warning.
11391 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11393 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11394 check for validity of dates
11396 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11398 * docs/gst/gstreamer-sections.txt:
11399 Forgot this one, makes gtk-doc shut up.
11401 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11403 Patch by: Peter Kjellerstedt <pkj at axis com>
11406 Don't define xmlNodePtr to gpointer if the core was built with
11407 --disable-loadsave and --disable-registry, this will break
11408 applications that want to use libxml2 but are buildling against a
11409 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11410 instead so we don't have to mess with the libxml2 namespace
11413 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11416 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11417 type-punned pointer warnings.
11419 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11421 * gst/gstelement.h:
11422 Add casts to the correct return type to state <=> state transition
11425 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11427 * docs/design/part-live-source.txt:
11428 describe howto handle latency
11430 * docs/random/ensonic/profiling.txt:
11433 * tools/gst-plot-timeline.py:
11434 fix log parsing for solaris, remove unused function
11436 2006-10-16 Wim Taymans <wim@fluendo.com>
11438 * docs/design/part-trickmodes.txt:
11440 Update some docs regarding reverse playback.
11442 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11444 Patch by: Marcus Granado <mrc dot gran at gmail com>
11446 * win32/vs8/grammar.vcproj:
11447 Error out with a warning if glib-genmarshal.exe is not in path,
11448 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11450 2006-10-13 Wim Taymans <wim@fluendo.com>
11452 * gst/gstsegment.c: (gst_segment_set_seek):
11453 When seeking to stop -1, set last_stop (current position) to the
11454 duration of the segment.
11456 2006-10-13 Wim Taymans <wim@fluendo.com>
11458 * gst/gstelement.h:
11459 Clarify _NO_PREROLL a bit more.
11464 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11465 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11466 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11467 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11468 due to wrong locking order. Fixes #361769.
11469 Remove some redundant/misplaced checks in pad_block.
11471 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11472 For negative rates, count backwards from the duration.
11474 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11476 * gst/gsterror.c: (_gst_library_errors_init):
11477 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11478 up with something better).
11480 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11482 * win32/vs6/libgstreamer.dsp:
11483 * win32/vs7/libgstreamer.vcproj:
11484 * win32/vs8/libgstreamer.vcproj:
11485 Don't reference glib-compat.c which is currently not used and not
11486 disted; add gstquark.c which was recently added. Fixes #361730.
11488 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11490 * win32/common/libgstbase.def:
11491 * win32/common/libgstcontroller.def:
11492 * win32/common/libgstreamer.def:
11493 Add gst_caps_merge() and a bunch of other recently-added functions.
11496 2006-10-11 Wim Taymans <wim@fluendo.com>
11498 * docs/plugins/gstreamer-plugins.args:
11499 * docs/plugins/inspect/plugin-coreelements.xml:
11500 * docs/plugins/inspect/plugin-coreindexers.xml:
11501 Update element args.
11503 * gst/gstsystemclock.c:
11504 Small comment update.
11506 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11507 (gst_tee_request_new_pad), (gst_tee_release_pad),
11508 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11509 (gst_tee_sink_activate_pull):
11510 * plugins/elements/gsttee.h:
11512 Add default property defines.
11513 Implement release pad function.
11514 Give properties better blubs etc.
11515 Activate pads before adding them to a running tee.
11516 Do simple buffer_alloc on the first requested pad.
11517 Post error when activation fails.
11519 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11521 * gst/gst.c: (ensure_current_registry_forking):
11522 Check return value of write() to make compiler happy.
11524 2006-10-11 Wim Taymans <wim@fluendo.com>
11526 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11528 * plugins/elements/gstqueue.c: (gst_queue_chain):
11529 Recheck queue filledness after signalling the overrun when we're about
11530 to leak downstream because we released the lock when emitting the signal
11531 and the queue could be empty again. Fixes #352345.
11533 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11535 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11536 Fix refcounting here too, just like we did for _new_valist() a few
11537 days ago (#357180) (thanks to René Stadler). Also remove all those
11538 'Since: 0.9' from the gtk-doc blobs.
11540 * tests/check/libs/controller.c: (controller_refcount_new_list),
11541 (gst_controller_suite):
11542 Unit test for the above.
11544 2006-10-10 Wim Taymans <wim@fluendo.com>
11546 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11548 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11549 (gst_pad_save_thyself):
11551 Write pad direction in XML output. Fixes #345496.
11553 2006-10-10 Wim Taymans <wim@fluendo.com>
11555 Patch by: René Stadler <mail at renestadler dot de>
11557 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11558 (gst_controller_new_list), (_gst_controller_dispose),
11559 (_gst_controller_finalize), (_gst_controller_class_init):
11560 Take ref to controlled object so that it cannot disappear.
11563 2006-10-10 Wim Taymans <wim@fluendo.com>
11565 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11566 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11567 (gst_check_teardown_sink_pad):
11568 Activate/deactivate pads in setup/teardown respectively.
11570 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11572 Patch by: Josep Torra Valles <josep@fluendo.com>
11575 Cast values when making gstenumtypes.h. This pacifies Forte
11576 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11577 in the enumeration.
11579 2006-10-09 Wim Taymans <wim@fluendo.com>
11581 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11582 Rename some more @cur to @start to fix docs.
11584 * gst/gstsegment.c: (gst_segment_set_seek):
11586 time and start must always stay in sync as defined in design doc.
11588 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11589 Rename param to fix docs.
11591 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11592 Check that start and time are in sync.
11594 * tests/check/pipelines/parse-launch.c:
11595 (gst_parse_test_element_change_state):
11596 Activate pad before adding to the element.
11598 2006-10-09 Wim Taymans <wim@fluendo.com>
11600 * docs/design/part-qos.txt:
11605 Update seek event docs regarding negative rates.
11606 Rename @cur to @start.
11608 * gst/gstsegment.c: (gst_segment_set_seek):
11609 * gst/gstsegment.h:
11610 Update set_seek docs regarding negative rates.
11611 Correctly update last_stop to @stop when dealing with negative
11613 Rename @cur to @start.
11615 * tests/check/gst/gstpad.c: (GST_START_TEST):
11616 Activate pads before trying to use them.
11618 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11619 (gst_segment_suite):
11620 Add simple check for segments and negative rates.
11622 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11624 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11625 * gst/gsttaglist.h:
11626 * docs/gst/gstreamer-sections.txt:
11627 API: add gst_tag_list_is_empty() (#360467).
11629 * tests/check/gst/gsttag.c: (GST_START_TEST):
11632 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11634 * gst/gstmessage.h:
11635 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11636 a value that doesn't fit on enumeration.
11638 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11640 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11641 Remove local debugging system and use Gstreamer's instead.
11643 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11645 Patch by: Josep Torra Valles <josep@fluendo.com>
11647 * common/m4/gst-error.m4:
11648 Disable warning of statement not reached on Forte.
11649 * gst/gstmessage.h:
11650 Fix warning on Forte (value doesn't fit on enumeration).
11651 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11652 Fix warning on Forte (value doesn't fit on enumeration).
11653 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11654 DEBUG macro says it takes minimum of 2 args and so Forte
11655 complains about the use with just 1 arg.
11656 * plugins/elements/gstfdsink.c:
11657 * plugins/elements/gstfdsrc.c:
11658 * plugins/elements/gstfilesink.c:
11659 * plugins/elements/gstfilesrc.c:
11660 Use correct return type for the uri handler implementations.
11662 All these fix warnings in Forte. Fixes bug #360860.
11664 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11666 * gst/gstelement.h:
11667 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11668 format string, so don't use G_GNUC_PRINTF for those versions.
11670 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11672 * gst/gsttaglist.c: (gst_is_tag_list):
11673 * gst/gsttaglist.h:
11674 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11676 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11677 Small test for the above.
11679 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11681 * gst/gsttaglist.h:
11682 Less tabs, more spaces.
11684 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11687 Those two function declarations do actually belong there, revert
11688 commit from yesterday that turned them intro macros.
11690 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11692 Patch by: Josep Torra Valles <josep@fluendo.com>
11694 * gst/gst.c: (gst_init_get_option_group):
11695 Fix empty declaration and type mismatch.
11696 * gst/gstbin.c: (gst_bin_change_state_func):
11698 * gst/gstelement.c: (gst_element_continue_state),
11699 (gst_element_set_state_func), (gst_element_change_state),
11700 (gst_element_change_state_func):
11701 Fix type mismatches.
11702 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11703 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11704 Cast as appropriate.
11705 * gst/gstobject.c: (gst_class_signal_connect):
11706 Cast as appropriate. The function pointer parameter really
11707 has the wrong type but would break API if we change it.
11709 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11710 order of including string.h.
11711 * gst/gstutils.c: (gst_element_state_get_name):
11712 Remove unreachable line.
11713 * gst/gstxml.c: (gst_xml_parse_doc):
11715 All these caught by Forte.
11717 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11719 Patch by: Josep Torra Valles <josep@fluendo.com>
11721 * common/m4/gst-error.m4:
11723 We need to disable warnings on Forte for empty declarations
11724 due to gst-indent adding ;s to lines that just use macros
11725 where the macro actually doesn't need a ; at end to end
11728 2006-10-06 Wim Taymans <wim@fluendo.com>
11730 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11731 (gst_file_sink_close_file), (gst_file_sink_event),
11732 (gst_file_sink_render):
11733 Add some FIXME for the NEWSEGMENT handling.
11735 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11737 * gst/parse/grammar.y:
11738 Remove static function gst_parse_element_lock as all it does
11739 is return. Looks like cruft from 0.8.
11741 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11743 Patch by: Josep Torra Valles <josep@fluendo.com>
11745 * common/m4/gst-error.m4:
11747 * libs/gst/net/Makefile.am:
11748 Fix a compilation issue with Forte on Solaris. inet_aton is in
11751 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11753 * gst/gstpad.c: (pre_activate):
11754 * gst/gstregistry.c: (gst_registry_scan_path_level):
11755 * gst/gstregistryxml.c: (load_plugin):
11756 * libs/gst/controller/gstcontroller.c:
11757 (gst_controlled_property_set_interpolation_mode):
11758 * libs/gst/dataprotocol/dataprotocol.c:
11759 (gst_dp_packet_from_event_1_0):
11760 * libs/gst/net/gstnetclientclock.c:
11761 (gst_net_client_clock_observe_times):
11762 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11765 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11768 * docs/gst/gstreamer-sections.txt:
11769 * gst/gstconfig.h.in:
11770 * gst/gstelement.h:
11772 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11773 whether we can use G_GNUC_PRINTF in other header files and at
11774 least check the printf format/arguments of debug messages and
11775 GST_ELEMENT_ERROR messages when the printf extension is not
11777 Replace more tabs with spaces in gstinfo.h and remove two spurious
11778 function declarations in GST_DISABLE_DEBUG part with macros.
11780 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11782 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11783 More docs for the sync-message signal (mention that it is not
11784 emitted by default); log message structures of messages posted on
11787 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11789 * gst/gst.c: (ensure_current_registry_forking):
11790 Use a pipe pair to receive status results from the forked child, and
11791 ignore the result from waitpid. Fixes #355499
11793 2006-10-02 Wim Taymans <wim@fluendo.com>
11795 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11796 (gst_ghost_pad_suite):
11799 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11802 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11804 2006-10-02 Edward Hervey <edward@fluendo.com>
11806 * docs/design/part-block.txt:
11807 Further explain the use of flushing on blocked pads.
11808 * docs/gst/gstreamer-sections.txt:
11809 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11810 (gst_pad_push_event):
11812 Added new GstPadFlag : GST_PAD_BLOCKING.
11813 Adds the notion of pads really blocking, which enables to properly
11814 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11816 API: gst_pad_is_blocking()
11817 API: GST_PAD_IS_BLOCKING() macro
11818 API: GST_PAD_BLOCKING GstPadFlag
11820 2006-10-02 Wim Taymans <wim@fluendo.com>
11822 Patch by: mrcgran <mrc.gran at gmail dot com>
11824 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11825 Filter the proxied caps against the padtemplate if we have one.
11827 * gst/gstquery.c: (gst_query_new_segment):
11828 Add include for gstinfo.h so that compilation with
11829 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11831 2006-10-02 Wim Taymans <wim@fluendo.com>
11833 Patch by: Alessandro Decina <alessandro at nnva org>
11835 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11836 (gst_file_sink_set_location), (gst_file_sink_open_file),
11837 (gst_file_sink_close_file), (gst_file_sink_event),
11838 (gst_file_sink_render):
11839 Set file to NULL when closing filesink so that we can set a new filename
11840 in READY. Fixes #358613.
11842 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11844 Patch by: Alessandro Decina <alessandro at nnva org>
11846 * gst/gstevent.c: (_gst_event_copy):
11847 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11848 with event structures by setting the parent refcount address of the
11849 copied structure to the address of the refcount member of the newly
11850 copied event rather than the address of the refcount member of the
11851 original event. Fixes #358737.
11853 * tests/check/gst/gstevent.c: (GST_START_TEST):
11854 Unit test for the above.
11856 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11858 * docs/design/Makefile.am:
11859 Dist some more files.
11861 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11863 * tests/check/libs/controller.c: (GST_START_TEST),
11864 (gst_controller_suite):
11865 Add test for the previous fix; add some more tests
11866 for correct refcounting behaviour; fix a few leaks
11867 in test cases; call gst_controller_init() at start
11870 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11872 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11873 (gst_controller_set_from_list):
11874 Don't g_return_val_if_fail() on timed values with invalid timestamps
11875 inside a critical section without unlocking the mutex. Spotted by
11876 René Stadler. (#357617)
11877 Also, fix up refcounting properly: when returning an existing
11878 controller, we should increase the reference only once and not
11879 once per property and when trying to control a property again
11880 we should also increase the refcount.
11882 2006-09-29 Wim Taymans <wim@fluendo.com>
11884 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11885 * libs/gst/net/gstnettimeprovider.c:
11886 (gst_net_time_provider_thread):
11887 Stop reading commands when EOF as well.
11889 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11890 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11891 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11892 Unify description of the dump property.
11894 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11896 * tests/examples/manual/.cvsignore:
11897 OK, so it's actually cvsignore that needs changing. Stop laughing.
11899 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11901 * tests/examples/manual/Makefile.am:
11902 Gah, declare vars *before* using them
11904 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11906 * gst/gst.c: (init_pre), (scan_and_update_registry),
11907 (ensure_current_registry_nonforking),
11908 (ensure_current_registry_forking), (ensure_current_registry),
11909 (init_post), (gst_debug_help), (gst_deinit):
11910 * gst/gst_private.h:
11911 * gst/gstregistry.c: (gst_registry_finalize),
11912 (gst_registry_remove_features_for_plugin_unlocked),
11913 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11914 (gst_registry_scan_path),
11915 (_priv_gst_registry_remove_cache_plugins),
11916 (_priv_gst_registry_cleanup):
11917 * gst/gstregistry.h:
11918 Re-commit the registry changes, along with an extra fix:
11919 When a cached plugin is encountered at a different file path,
11920 update the stored path in the registry cache so that the parent
11921 process knows where it actually is now when it re-reads the registry
11922 cache. Fixes the thing that broke distcheck with the previous commit.
11924 * tests/check/Makefile.am:
11925 Clean up files named 'core' too when running make clean.
11927 * tests/examples/manual/Makefile.am:
11928 Set up a registry path for running these tests, and clean it properly
11931 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11934 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11935 want gmodule-no-export-2.0.pc instead so that we don't drag in
11936 --export-dynamic on every project that links to GStreamer.
11938 Also, make our export regex only match the start of symbols, rather
11939 than any symbol that contains '_gst' somewhere.
11941 * libs/gst/check/Makefile.am:
11942 The libgstcheck we build does however need export-dynamic, as it
11943 produces some symbols that don't match our _gst... style regex.
11946 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11948 * gst/gst.c: (init_pre), (scan_and_update_registry),
11949 (ensure_current_registry_nonforking),
11950 (ensure_current_registry_forking), (ensure_current_registry),
11951 (init_post), (gst_debug_help), (gst_deinit):
11952 * gst/gst_private.h:
11953 * gst/gstregistry.c: (gst_registry_finalize),
11954 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11955 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11956 (_gst_registry_cleanup):
11957 * gst/gstregistry.h:
11958 Revert previous change until I figure out why it breaks distcheck.
11960 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11962 * gst/gst.c: (init_pre), (scan_and_update_registry),
11963 (ensure_current_registry_nonforking),
11964 (ensure_current_registry_forking), (ensure_current_registry),
11965 (init_post), (gst_debug_help), (gst_deinit):
11967 Make init_pre and init_post take the full complement of GOptionFunc
11968 args so they can return useful GErrors. Make the registry updating
11971 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11972 ensure that the registry we're about to write out doesn't contain
11973 stale information about old-deleted plugin files.
11975 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11976 that deletion of plugin files is considered a registry change.
11978 * gst/gst_private.h:
11979 * gst/gstregistry.c: (gst_registry_finalize),
11980 (gst_registry_remove_features_for_plugin_unlocked),
11981 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11982 (gst_registry_scan_path),
11983 (_priv_gst_registry_remove_cache_plugins),
11984 (_priv_gst_registry_cleanup):
11985 * gst/gstregistry.h:
11986 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11987 by adding _priv prefix, so that they won't appear in the global
11988 symbol table. They still do atm though because of #318031. Move the
11989 prototypes to gst_private.h
11991 When removing a plugin, remove all features for that plugin too.
11994 2006-09-27 Wim Taymans <wim@fluendo.com>
11996 * docs/random/moving-plugins:
11997 Make it clear that the "compiled-in descriptions" really mean
11998 the element details.
12000 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12001 (gst_base_sink_wait_preroll):
12004 * docs/libs/gstreamer-libs-sections.txt:
12005 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12006 (gst_base_src_get_range), (gst_base_src_activate_push):
12007 * libs/gst/base/gstbasesrc.h:
12008 Added function to block while waiting for PLAYING, this function
12009 is used by live sources that block on the clock.
12010 API: gst_base_src_wait_playing()
12012 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12014 Patch by: Peter Kjellerstedt <pkj at axis com>
12017 gst-element-check.m4 is generated and should therefore be
12018 copied from the build dir rather than the source dir (#357593).
12019 'make distcheck' hasn't noticed this because we were disting
12020 the file as well, so stop doing that.
12022 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12024 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12025 Add some tests for gst_caps_intersect().
12027 * tools/gst-launch.c: (event_loop):
12028 Print all buffering percentages we get, even the 100% one.
12030 2006-09-26 Wim Taymans <wim@fluendo.com>
12032 * tools/gst-inspect.c: (print_element_properties_info),
12033 (print_signal_info):
12034 Fix printing of flags to match the look of enums.
12036 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12038 * gst/gstelementfactory.c:
12039 Fix typo in docs blurb.
12041 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12043 * gst/gsturi.c: (search_by_entry):
12044 Don't assert/crash here if a uri handler doesn't return any
12045 supported protocols. The list of protocols could be generated
12046 dynamically at runtime or at plugin registration, and an error
12047 in the underlying library shouldn't be fatal (#353301).
12049 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12052 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12053 (spotted by Peter Kjellerstedt).
12055 2006-09-23 Wim Taymans <wim@fluendo.com>
12057 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12059 * libs/gst/base/gstbasesrc.c:
12060 (gst_base_src_default_check_get_range), (gst_base_src_start),
12061 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12062 (gst_base_src_change_state):
12063 Match _start/_stop calls in the activate functions. Remove redundant
12064 _stop call from the state change function. Fixes #356910.
12065 Turn failure DEBUG into ERROR.
12067 2006-09-22 Wim Taymans <wim@fluendo.com>
12069 * docs/design/part-buffering.txt:
12070 * gst/gstmessage.c: (gst_message_new_buffering),
12071 (gst_message_parse_buffering):
12072 Update docs about buffering.
12074 * docs/design/part-trickmodes.txt:
12077 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12079 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12080 (gst_controller_new_list):
12081 Ref instances when returning them again (fixes #357180)
12083 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12085 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12086 Don't forget to release proxy lock when there's an error.
12088 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12091 Add extra initialisers for Caps things, to fix some plugin warnings
12094 2006-09-18 Wim Taymans <wim@fluendo.com>
12096 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12097 Also set template on the internal pad so that a getcaps from the
12098 target pad returns the template caps.
12100 2006-09-18 Wim Taymans <wim@fluendo.com>
12102 * gst/gstelement.c: (gst_element_post_message),
12103 (gst_element_dispose):
12104 Use _DEBUG_OBJECT some more.
12106 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12109 * tools/gst-launch.c: (main):
12110 If the toplevel element is not a GstPipeline, it must be put in a
12111 pipeline so that a bus and clock is selected.
12113 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12115 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12116 JITTER, RATE, and LATENCY query should be handled by the
12117 default case and not by the CONVERT query code.
12119 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12121 * gst/gstformat.c: (gst_format_register):
12122 Fix locking order (must take lock before using n_values).
12124 * gst/gstvalue.c: (gst_value_serialize_enum),
12125 (gst_value_deserialize_enum_iter_cmp),
12126 (gst_value_deserialize_enum):
12127 Fix serialisation/deserialisation of custom registered GstFormats.
12129 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12130 Unit test for custom format serialisation/deserialisation.
12132 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12134 * docs/pwg/building-boiler.xml:
12135 * plugins/elements/gstcapsfilter.c:
12136 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12139 2006-09-16 Edward Hervey <edward@fluendo.com>
12141 * libs/gst/base/gstbasetransform.c:
12142 (gst_base_transform_buffer_alloc):
12143 Check if requested caps are the same as the sinks caps IF
12144 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12146 This fixes the renegotiation issues stated in #352827.
12148 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12151 * docs/manual/advanced-autoplugging.xml:
12152 * tests/examples/Makefile.am:
12153 * tests/examples/manual/.cvsignore:
12154 * tests/examples/manual/Makefile.am:
12155 * tests/examples/manual/extract.pl:
12156 Extract the manual examples again like we used to do.
12159 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12161 * win32/common/config.h:
12164 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12167 Documents how to receive errors.
12169 2006-09-15 Wim Taymans <wim@fluendo.com>
12171 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12172 (event_loop), (main):
12173 Added some comments here and there.
12174 Post an application message when an interrupt is caught instead of doing
12175 an uncontrolled state change.
12176 Clean up the event loop.
12177 Handle buffering messages, pause/resume the pipeline.
12178 Make shutdown because of an interrupt more reliable.
12180 2006-09-15 Wim Taymans <wim@fluendo.com>
12182 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12183 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12184 (gst_base_sink_preroll_object):
12185 Make sure that our internal state is correct when we commit our state
12186 asynchronously. This solves a race where a state change to PLAYING
12187 could cause the sink to remain blocked in preroll in some situations.
12189 2006-09-15 Wim Taymans <wim@fluendo.com>
12191 * tools/gst-inspect.c: (print_element_properties_info),
12192 (print_signal_info):
12193 List flags as hex so it's easier to deal with.
12195 2006-09-15 Wim Taymans <wim@fluendo.com>
12197 * docs/libs/gstreamer-libs-sections.txt:
12198 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12199 (gst_base_sink_do_sync):
12200 * libs/gst/base/gstbasesink.h:
12201 Expose logic to wait for preroll so that subclasses such as audiosink
12202 can also use this method.
12203 API: gst_base_sink_wait_preroll()
12205 2006-09-15 Wim Taymans <wim@fluendo.com>
12207 * gst/gstobject.c: (gst_object_set_parent):
12208 * gst/gstpipeline.c: (do_pipeline_seek):
12209 Small cleanups in docs and code.
12211 * gst/gstsegment.c: (gst_segment_clip):
12212 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12213 if stop == start and start is in the segment, no clipping should be
12214 done. Also add a test for this.
12216 2006-09-15 Wim Taymans <wim@fluendo.com>
12218 * docs/design/part-buffering.txt:
12219 * docs/gst/gstreamer-sections.txt:
12220 * gst/gstmessage.c: (gst_message_new_buffering),
12221 (gst_message_parse_buffering):
12222 * gst/gstmessage.h:
12223 Added methods to create and parse BUFFERING messages.
12224 Added preliminary docs about buffering.
12225 API: gst_message_new_buffering
12226 API: gst_message_parse_buffering
12228 2006-09-06 Wim Taymans <wim@fluendo.com>
12231 Update documentation.
12233 * gst/gstelement.c: (gst_element_class_init),
12234 (gst_element_release_request_pad), (gst_element_set_clock),
12235 (gst_element_get_index), (gst_element_add_pad),
12236 (gst_element_remove_pad), (gst_element_get_random_pad),
12237 (gst_element_send_event), (gst_element_get_query_types),
12238 (gst_element_query), (gst_element_post_message),
12239 (gst_element_message_full), (gst_element_continue_state),
12240 (gst_element_lost_state), (gst_element_save_thyself),
12241 (gst_element_restore_thyself):
12242 Documentation updates.
12243 Rename last bit of the new-pad -> pad-added signal rename.
12244 Fix the case where an element query would only work if the source
12246 Avoid some useless type checking in message handling.
12251 Documentation updates.
12253 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12255 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12256 add an INFO line for when we actually update the fd
12258 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12263 === release 0.10.10 ===
12265 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12268 releasing 0.10.10, "Pais"
12270 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12272 * docs/manual/advanced-position.xml:
12273 Fix typo in sample code.
12275 2006-09-05 Wim Taymans <wim@fluendo.com>
12277 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12278 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12279 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12280 * libs/gst/net/gstnetclientclock.h:
12281 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12282 * libs/gst/net/gstnettimepacket.h:
12283 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12284 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12285 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12286 * libs/gst/net/gstnettimeprovider.h:
12287 Make stuff compile on windows. Fixes #345295.
12289 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12291 * gst/gst.c: (ensure_current_registry_forking):
12292 Print better details when child was terminated by signal.
12294 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12296 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12297 Print a warning rather than g_assert() if a plugin feature
12298 is a URI handler but returns no protocols (#353976).
12300 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12302 * docs/random/moving-plugins:
12305 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12307 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12308 Fix locking order, handle NULL function values properly.
12313 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12314 Initialise variable before using it and fix debug statement to
12315 print the address of the function rather than the address of the
12316 variable on the stack holding the address of the function.
12318 2006-09-01 Wim Taymans <wim@fluendo.com>
12320 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12321 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12322 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12323 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12324 (gst_ghost_pad_parent_unset),
12325 (gst_ghost_pad_internal_do_activate_push),
12326 (gst_ghost_pad_internal_do_activate_pull),
12327 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12328 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12329 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12330 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12331 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12332 (gst_ghost_pad_new_no_target_from_template),
12333 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12335 Avoid needless typechecking in macros.
12336 Since the internal pad is always present and never changes, there is
12337 no need to locking or ref when retrieving it.
12338 Improve debugging a bit.
12339 Handle link errors when setting the target. Fixes #341029.
12341 2006-09-01 Wim Taymans <wim@fluendo.com>
12343 * docs/libs/gstreamer-libs-sections.txt:
12344 * docs/plugins/gstreamer-plugins-sections.txt:
12345 Fix docs some more.
12347 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12348 (gst_collect_pads_event):
12349 * libs/gst/base/gstcollectpads.h:
12350 Documentation updates.
12351 Free queued buffer when removing a pad.
12353 2006-08-31 Michael Smith <msmith@fluendo.com>
12355 * gst/gstutils.c: (gst_element_link_pads),
12356 (gst_element_link_pads_filtered):
12357 Ensure that we set a capsfilter to NULL if we failed to link it
12358 when doing filtered linking, to avoid criticals.
12360 No need to check for unreffing srcpad, which is explicly NULLed
12361 above (a trivial code cleanup).
12363 2006-08-31 Wim Taymans <wim@fluendo.com>
12365 * docs/design/part-gstghostpad.txt:
12366 Update ascii art in documentation.
12368 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12369 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12370 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12371 (gst_ghost_pad_internal_do_activate_push),
12372 (gst_ghost_pad_internal_do_activate_pull),
12373 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12374 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12375 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12376 (gst_ghost_pad_set_target):
12377 Small cleanups and leak fixes.
12378 Remove some checks now that the internal pad is never NULL.
12379 Fix the case where linking pads without a target would create nasty
12380 criticals. Fixes #341029.
12381 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12382 value of _set_target().
12384 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12385 (gst_ghost_pad_suite):
12386 Some more tests for creating and linking untargeted ghostpads.
12388 2006-08-31 Edward Hervey <edward@fluendo.com>
12390 * docs/gst/gstreamer-sections.txt:
12391 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12392 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12393 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12394 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12395 (gst_ghost_pad_new_from_template),
12396 (gst_ghost_pad_new_no_target_from_template):
12397 * gst/gstghostpad.h:
12398 Refactored *_new() functions.
12399 Templates are now used as a g_object_new() parameter.
12400 Use template in _do_getcaps() if we don't have a target.
12401 Small documentation cleanups.
12402 Added two new constructors:
12403 gst_ghost_pad_new_from_template()
12404 gst_ghost_pad_new_no_target_from_template()
12405 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12406 (gst_ghost_pad_suite):
12407 Added tests for new ghostpad instanciation functions.
12409 API additions: gst_ghost_pad_new_from_template,
12410 gst_ghost_pad_new_no_target_from_template
12412 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12414 * docs/random/ensonic/profiling.txt:
12415 Ideas about qos profiling.
12417 2006-08-29 Wim Taymans <wim@fluendo.com>
12419 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12423 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12426 Improve and detypofy docs.
12428 * tests/check/Makefile.am:
12429 * tests/check/gst/.cvsignore:
12430 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12431 Add a basic test suite for GstXML.
12433 2006-08-29 Wim Taymans <wim@fluendo.com>
12435 * gst/gstelement.c: (activate_pads), (clear_caps),
12436 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12437 Clear the pad caps when the element shut down all of the pads and
12438 is not streaming data that could modify the caps.
12441 2006-08-28 Michael Smith <msmith@fluendo.com>
12443 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12444 Revert previous change; I misunderstood single-segment mode.
12446 2006-08-28 Michael Smith <msmith@fluendo.com>
12448 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12449 Unset DISCONT on buffers when using single-segment mode.
12451 2006-08-28 Wim Taymans <wim@fluendo.com>
12453 * gst/gstcaps.c: (gst_caps_merge_structure):
12455 Fix docs and indentation again.
12457 * tests/check/gst/gstquery.c: (GST_START_TEST):
12458 Fix leak in tests and add some more tests.
12460 2006-08-28 Edward Hervey <edward@fluendo.com>
12462 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12463 Inform GstSegment of the last stop position in order for the current
12464 segment to have a proper duration if it doesn't have a specific stop
12465 position from which a duration could be calculated.
12466 This bug was noticeable when a non-flushing, non-update new segment was
12467 followed by another segment (all buffers from the new segment were being
12470 2006-08-28 Wim Taymans <wim@fluendo.com>
12472 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12473 Small comment update.
12475 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12476 (gst_identity_transform_ip):
12477 Drop-probability is broken, mention this in the code with a
12478 FIXME and also in the property description.
12479 Make silent also be silent about the drop messages.
12481 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12483 * docs/manual/appendix-win32.xml:
12484 Remove mention of popt, we don't depend on that any
12485 longer (#353136). Add some comments pointing out that
12486 this section is slightly outdated.
12488 2006-08-28 Wim Taymans <wim@fluendo.com>
12490 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12492 * gst/gstquery.c: (gst_query_new_segment):
12493 * tests/check/gst/gstquery.c: (GST_START_TEST):
12494 Initialize variables when creating a new segment query.
12497 2006-08-28 Wim Taymans <wim@fluendo.com>
12499 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12501 * gst/gstelement.c: (gst_element_get_bus):
12502 * tests/check/gst/gstelement.c: (GST_START_TEST):
12503 Check for NULL before _reffing the bus. Fixes #353122.
12505 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12507 * docs/manual/basics-bus.xml:
12508 Docs update: fix wrong callback return value explanation; add
12509 some lines about the implicit relationship between main loop
12510 and main context; remove duplicate main loop variable declaration.
12512 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12514 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12515 Don't leak caps in unit test; add a few more simple
12518 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12520 * docs/gst/gstreamer-sections.txt:
12521 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12522 (gst_caps_structure_is_subset), (gst_caps_merge),
12523 (gst_caps_merge_structure):
12525 * libs/gst/base/gstbasetransform.c:
12526 (gst_base_transform_transform_caps):
12527 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12528 implement caps merging (fixes #352580)
12530 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12532 * tools/Makefile.am:
12533 * tools/gst-plot-timeline.py:
12534 add debug-log plotting developer tool (#340674)
12536 2006-08-23 Wim Taymans <wim@fluendo.com>
12538 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12539 (gst_pad_stop_task):
12540 Improve debugging for task functions.
12542 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12543 (gst_task_start), (gst_task_pause), (gst_task_join):
12544 Make sure that the task function started and finished after a
12546 Don't try to push the task function on the threadpool multiple
12548 Improve the g_warning message with some useful suggestions
12549 about how to fix the problem.
12551 2006-08-23 Wim Taymans <wim@fluendo.com>
12553 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12554 Handle RESYNC correctly in _proxy_getcaps.
12556 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12558 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12559 (gst_xml_parse_memory), (gst_xml_get_element):
12560 Chain up to parent class in dispose function and also
12561 unref the elements in the toplevel_elements GList.
12562 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12563 Always return a reference in gst_xml_get_element() rather
12564 than only sometimes.
12566 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12567 Don't leak GstXml object.
12569 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12571 * docs/gst/gstreamer-sections.txt:
12572 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12575 * libs/gst/base/gstbasetransform.c:
12576 (gst_base_transform_transform_caps):
12577 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12580 2006-08-21 Edward Hervey <edward@fluendo.com>
12582 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12583 Implement GObject::dispose virtual method in GstXML so we can free the
12584 top_elements GList.
12586 2006-08-21 Wim Taymans <wim@fluendo.com>
12588 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12589 (gst_buffer_create_sub):
12590 Copy duration/offset_end/caps when creating a subbuffer of the
12592 Make the subbuffer read-only when we make the metadata writable for
12593 now. Fixes #351768.
12595 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12596 Added check for metadata copy when creating subbuffers.
12598 2006-08-21 Edward Hervey <edward@fluendo.com>
12600 * libs/gst/base/gstbasetransform.c:
12601 (gst_base_transform_buffer_alloc):
12602 Only call downstream buffer_alloc if transform element is passthrough
12603 or always_in_place. Closes #350449.
12605 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12608 ChangeLog surgery to add comments to previous changes
12610 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12615 * gst/gstpad.c: (gst_pad_set_active):
12616 Be more verbose in the log
12618 * libs/gst/base/gstbasetransform.c:
12619 (gst_base_transform_transform_caps):
12620 Simplify caps to get rid of duplicates, fixes #345444
12622 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12626 Use these optimizations only internally.
12628 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12630 * gst/gstvalue.c: (gst_value_compare_list),
12631 (gst_value_compare_fraction_range),
12632 (gst_value_intersect_fraction_fraction_range),
12633 (gst_value_intersect_fraction_range_fraction_range),
12634 (gst_value_subtract_fraction_fraction_range),
12635 (gst_value_subtract_fraction_range_fraction_range),
12636 (gst_value_get_compare_func), (gst_value_compare),
12637 (gst_value_compare_with_func):
12639 Saves the expensive lookup of the compare function in many cases
12642 2006-08-18 Edward Hervey <edward@fluendo.com>
12644 * tests/check/gst/gstinfo.c: (gst_info_suite):
12645 Disable test that require gstdebug if it wasn't built in core.
12647 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12649 * docs/random/ensonic/logging.txt:
12652 * gst/gstinfo.c: (gst_debug_log_default):
12653 reorder fields, save some columns, add optional color codes for log
12656 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12658 * docs/random/ensonic/logging.txt:
12659 add ideas about making the logs a bit more useful
12661 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12663 * docs/pwg/advanced-events.xml:
12664 * docs/pwg/titlepage.xml:
12665 Update for 0.10 API (#340627). Add myself
12668 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12670 * docs/libs/gstreamer-libs-docs.sgml:
12671 * docs/libs/gstreamer-libs-sections.txt:
12672 * libs/gst/check/gstbufferstraw.c:
12673 Make gstcheck stuff show up in docs (still needs to
12674 be documented properly though).
12676 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12678 * docs/gst/gstreamer-sections.txt:
12680 * gst/gst.c: (init_post):
12681 * gst/gst_private.h:
12682 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12684 * gst/gstquery.c: (gst_query_new_position),
12685 (gst_query_set_position), (gst_query_parse_position),
12686 (gst_query_new_duration), (gst_query_set_duration),
12687 (gst_query_parse_duration), (gst_query_new_convert),
12688 (gst_query_set_convert), (gst_query_parse_convert),
12689 (gst_query_new_segment), (gst_query_set_segment),
12690 (gst_query_parse_segment), (gst_query_new_seeking),
12691 (gst_query_set_seeking), (gst_query_parse_seeking):
12692 Add internal helpers for pre-registering quarks from static strings
12693 and using the quark values directly instead of looking them up when
12694 creating and parsing queries. Can be used for event construction too.
12697 2006-08-16 Wim Taymans <wim@fluendo.com>
12702 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12704 * gst/gstutils.c: (gst_util_set_value_from_string):
12705 Fix memleak (#351502).
12707 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12708 Add unit test for most of gst_util_set_value_from_string()
12709 (not that one would want to encourage use of this function).
12711 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12713 * libs/gst/check/gstcheck.h:
12714 Use const gchar * variables in fail_unless_equals_string
12715 macro to avoid compiler warnings (and don't use tabs for
12718 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12720 * tools/gst-launch.c: (print_tag):
12721 More space on the left for the tag names, to cater
12722 for the 'extended comment' tag (not touching the
12723 string for the first line since it's translated).
12725 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12727 * libs/gst/check/gstcheck.h:
12728 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12729 print something when they fail.
12731 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12733 * docs/gst/gstreamer-sections.txt:
12734 * gst/gsttaglist.c: (_gst_tag_initialize):
12735 * gst/gsttaglist.h:
12736 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12737 Also change merge function for GST_TAG_COMMENT to
12740 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12742 * gst/gstinfo.c: (gst_debug_print_object):
12743 Make GST_PTR_FORMAT print messages as well.
12745 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12746 (GST_START_TEST), (gst_info_suite):
12749 2006-08-14 Edward Hervey <edward@fluendo.com>
12751 * gst/gstelementfactory.c: (gst_element_register):
12752 If the GstElementClass doesn't have a GstElementDetails with all fields
12753 filled up correctly (longname, description AND author), then error out
12754 nicely instead of crashing.
12756 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12758 * gst/gststructure.c:
12759 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12762 Expand on the difference between arrays and lists as we use them.
12764 2006-08-14 Wim Taymans <wim@fluendo.com>
12766 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12767 If the parent state change function failed, don't assume we can safely
12768 stop the source, this will be done when the pads are deactivated.
12770 2006-08-14 Wim Taymans <wim@fluendo.com>
12773 * gst/gsttask.c: (gst_task_join):
12776 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12777 (gst_pad_stop_task):
12778 When pad (de)activation failed for some reason, restore the old
12779 activation mode and set the pad to flushing instead of assuming the
12780 pad is deactivated.
12781 If the _task_join() failed, reinstall the task on the pad so that it can
12782 be stopped later and return an error.
12784 2006-08-11 Andy Wingo <wingo@pobox.com>
12787 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12788 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12789 is only for users of API that don't want to see deprecated
12790 functions in the headers; people that want to compile out
12791 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12792 CFLAGS. Fixes the build of multifdsink, or will soon..
12794 2006-08-11 Wim Taymans <wim@fluendo.com>
12796 * docs/gst/gstreamer-sections.txt:
12797 Add GstClockClass vmethod docs.
12800 Mark #endif with comment for associated #if
12802 * gst/gstclock.c: (gst_clock_id_wait):
12804 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12805 most clock implementations.
12807 Flesh out docs about resolution methods.
12808 API: GstClockClass::wait_jitter
12810 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12811 (gst_system_clock_async_thread),
12812 (gst_system_clock_id_wait_jitter_unlocked),
12813 (gst_system_clock_id_wait_jitter):
12814 Use base class wait_jitter variant for improved performance
12815 due to less clock polling.
12817 2006-08-11 Edward Hervey <edward@fluendo.com>
12819 * gst/gst.c: (gst_init_check), (init_post):
12820 Set gst as being initialized before scanning/updating the registry,
12821 since there might be my python plugin loader that calls gst_init() and
12822 we don't want to loop back in.
12825 2006-08-11 Wim Taymans <wim@fluendo.com>
12827 * docs/design/part-qos.txt:
12828 Bring docs in line with the code. Mostly the sign of the jitter was
12829 wrong in the docs. Fixes #349943.
12832 Fix the docs for the jitter.
12834 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12835 (gst_event_parse_tag), (gst_event_new_buffer_size),
12836 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12837 (gst_event_new_seek), (gst_event_parse_seek),
12838 (gst_event_new_navigation):
12839 Make sure the GstStructure has no parent when creating custom
12841 Add some more argument checking so that we avoid 0.0 rates.
12842 Flesh out the docs for the QoS event some more.
12844 2006-08-11 Wim Taymans <wim@fluendo.com>
12846 * docs/gst/gstreamer-sections.txt:
12847 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12848 (ensure_current_registry_forking), (ensure_current_registry),
12849 (parse_one_option), (parse_goption_arg), (gst_deinit),
12850 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12853 Added API and command line option to disable registry forking in
12854 addition to the environment variable.
12855 Constify some static arrays.
12856 Added some more debug.
12857 Don't deinit twice.
12858 API: gst_registry_fork_is_enabled()
12859 API: gst_registry_fork_set_enabled()
12860 API: --gst-disable-registry-fork command line option
12863 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12865 * gst/gst.c: (gst_init):
12866 Fix typo in error message.
12868 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12870 * libs/gst/controller/gstcontroller.h:
12871 fix ABI size-correction
12873 * tests/check/libs/gdp.c: (gst_dp_suite):
12874 make tests that use deprecated API conditional
12876 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12878 * docs/libs/gstreamer-libs-sections.txt:
12879 * libs/gst/controller/gstcontroller.c:
12880 (_gst_controller_get_property), (_gst_controller_set_property),
12881 (_gst_controller_init), (_gst_controller_class_init):
12882 * libs/gst/controller/gstcontroller.h:
12883 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12884 (gst_object_set_control_rate):
12885 API: add gst_object_{s,g}et_control_rate(), add private data section,
12888 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12889 * libs/gst/dataprotocol/dataprotocol.h:
12890 add deprecation guards to make gtk-doc happy and allow disabling cruft
12892 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12894 * tests/check/Makefile.am:
12895 * tests/check/gst/.cvsignore:
12896 Let's enable the new unit test as well.
12898 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12901 * docs/gst/gstreamer-sections.txt:
12902 * gst/gstconfig.h.in:
12903 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12904 (_gst_info_printf_extension_ptr),
12905 (_gst_info_printf_extension_segment):
12906 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12907 register that lets us easily dump GstSegments into debug
12910 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12911 (info_segment_format_printf_extension), (gst_info_suite):
12912 Add simple unit test that logs a bunch of different segments (not
12913 valgrinded at the moment because of leaks in
12914 gst_debug_add_log_function).
12916 2006-08-09 Edward Hervey <edward@fluendo.com>
12918 * libs/gst/base/gstbasetransform.c:
12919 (gst_base_transform_buffer_alloc):
12920 Even if we can't figure out the proper format to request downstream,
12921 call buffer_alloc() downstream with the input parameters without setting
12922 the caps on the srcpad. This will force negotiation in the chain
12926 2006-08-08 Edward Hervey <edward@fluendo.com>
12928 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12929 Unlinking from a pad without a target is now a perfectly valid case
12930 which should NOT raise an assertion.
12931 This case would happen if a linked ghostpad its target set to NULL after
12932 it was previously linked.
12934 2006-08-08 Edward Hervey <edward@fluendo.com>
12936 * tests/check/libs/gdp.c:
12937 Also comment out the test (see below).
12939 2006-08-08 Edward Hervey <edward@fluendo.com>
12941 * tests/check/libs/gdp.c: (gst_dp_suite):
12942 Use the architecture information from config.h and not gcc macros
12943 in order to properly disable a test that fails on PPC64.
12945 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12947 * gst/gstelement.c: (gst_element_remove_pad):
12948 Don't crash printing the warning if the pad has no parent.
12950 2006-08-02 Wim Taymans <wim@fluendo.com>
12952 * libs/gst/dataprotocol/dataprotocol.c:
12953 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12954 (gst_dp_crc), (gst_dp_header_payload_length),
12955 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12956 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12957 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12958 (gst_dp_event_from_packet), (gst_dp_validate_header),
12959 (gst_dp_validate_payload):
12960 Make debug category static
12961 Constify the crc table.
12962 Do some more arg checking in public functions.
12963 Fix some docs and do some small cleanups.
12965 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12966 Add some more checks to see if GDP deals with bogus input.
12968 2006-07-31 Wim Taymans <wim@fluendo.com>
12970 * gst/gstvalue.c: (gst_value_compare_list):
12971 Fix GstValueList comparison code. Fixes #347293.
12973 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12974 Check to test GstValueList comparison.
12976 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12978 * gst/gstelementfactory.c: (gst_element_factory_create):
12979 Remove unnecessary ref/unref pair
12981 * gst/parse/grammar.y:
12982 Make sure to free the parse buffer on all code paths.
12983 Move a g_free up to the error handler where it's easier to see.
12985 * tests/check/gst/gstevent.c: (test_event):
12986 Extending timeout for downstream travelling events to 10 seconds to
12987 hopefully avoid intermittent failure on the buildbots.
12989 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12990 Don't manually set the state of the src element - it will happen as a
12991 natural consequence of the pipeline changing state, and that way it
12992 will do it in the right order too.
12994 2006-07-31 Wim Taymans <wim@fluendo.com>
12996 * libs/gst/base/gstbasetransform.c:
12997 (gst_base_transform_buffer_alloc):
12998 Use OBJECT_LOCK and refcounting to get the pad caps in the
12999 buffer_alloc function because the caps could change while we are
13000 busy with them. Fixes #349105
13002 2006-07-31 Wim Taymans <wim@fluendo.com>
13004 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13005 Protect _PAD_CAPS with OBJECT_LOCK.
13007 2006-07-31 Wim Taymans <wim@fluendo.com>
13009 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13010 (gst_pad_get_property), (gst_pad_activate_pull),
13011 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13012 (gst_pad_set_activate_function),
13013 (gst_pad_set_activatepull_function),
13014 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13015 (gst_pad_set_getrange_function),
13016 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13017 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13018 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13019 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13020 (gst_pad_set_acceptcaps_function),
13021 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13022 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13023 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13024 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13025 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13026 (gst_pad_configure_sink), (gst_pad_configure_src),
13027 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13028 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13029 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13030 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13031 (gst_pad_send_event):
13032 Use _DEBUG_OBJECT when it makes sense.
13033 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13034 Small cleanups and code reflows.
13035 Avoid caps refcounting in _accept_caps.
13036 Refactor alloc_buffer so that the code performed on the peer is in a
13037 separate function. Also if the pad does not implement a buffer alloc
13038 function, we should still check if the pad is flushing before falling
13039 back to the default allocator.
13041 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13043 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13044 Make all uses of identity and fakesink have silent=true to avoid
13045 serialising every passing data structure, which is breaking tests
13046 on FC4 for some unknown reason.
13048 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13050 * gst/parse/Makefile.am:
13051 * gst/parse/grammar.y:
13052 * gst/parse/parse.l:
13053 Reverted previous patch as it required to bump the flex dependency to
13054 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13056 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13058 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13060 * gst/parse/Makefile.am:
13061 * gst/parse/grammar.y:
13062 * gst/parse/parse.l:
13063 push & pop the state of the lexer for reentrant use case
13066 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13068 * libs/gst/base/gstbasesrc.h:
13069 Note in the docs that the ::newsegment vfunc is not actually used by
13072 2006-07-28 Wim Taymans <wim@fluendo.com>
13074 * libs/gst/base/gstcollectpads.c:
13075 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13076 (gst_collect_pads_clear), (gst_collect_pads_flush),
13077 (gst_collect_pads_event), (gst_collect_pads_chain):
13078 When flushing a pad, also clear the queued buffer so that we don't
13079 accidentally use it when we shouldn't.
13080 Fix leaks by inreffing incomming buffer.
13081 Flush out queued buffers in case of errors.
13084 2006-07-28 Wim Taymans <wim@fluendo.com>
13086 * docs/random/phonon-gst:
13087 Random notes about a Phonon backend.
13089 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13091 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13093 * tests/check/libs/gdp.c: (gst_dp_suite):
13094 Take a whack at fixing the ppc compile using a different define to
13095 disable the broken test.
13097 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13098 Remove excess g_print()
13100 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13102 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13103 Oops, meant to uncomment this line too to dampen the noise a bit.
13105 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13107 * gst/parse/grammar.y:
13108 * gst/parse/parse.l:
13109 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13110 (GST_START_TEST), (parse_suite):
13111 Fix some of the leaks exposed by extending the parse-launch testsuite,
13112 and move the 3 I can't figure out into a separate test that won't run
13113 the pipelines unless the appropriate line is uncommented.
13115 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13117 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13118 Requesting 0 bytes before the end of the file should result in
13119 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13122 2006-07-27 Wim Taymans <wim@fluendo.com>
13124 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13125 Fix useless assert, a uint is always positive.
13127 * gst/gststructure.c: (gst_structure_nth_field_name),
13128 (gst_structure_foreach), (gst_structure_map_in_place):
13129 Check input arguments for public functions to avoid obvious crashes.
13131 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13132 * plugins/elements/gstfakesink.h:
13133 Do less useless typechecking.
13135 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13137 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13138 Do not use mmap() by default since there are a number of error
13139 conditions that we would like to handle in a non-fatal way that
13140 will result in a SIGBUS if we use mmap(). Examples: external
13141 devices (USB harddrive, portable music player) being unplugged
13142 while in use; file on mounted CD/DVD that can't be read because
13143 the medium is partly damaged. Fixes #348455 and #348475.
13145 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13148 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13149 rates are a gdouble
13151 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13153 * gst/gstregistry.c:
13154 Move big documentation comment into class section header, so that it
13155 appears in the API docs.
13157 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13159 * docs/gst/gstreamer-sections.txt:
13160 Oops. Commit the docs additions too for new API.
13161 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13163 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13165 * gst/gststructure.c: (gst_structure_id_set),
13166 (gst_structure_id_set_valist):
13167 * gst/gststructure.h:
13168 Add API for setting values into structures without performing
13169 a quark lookup, if the appropriate quark is already known.
13171 API: gst_structure_id_set
13172 API: gst_structure_id_set_valist
13174 * gst/parse/grammar.y:
13175 * gst/parse/parse.l:
13176 Remove some dead code shown by the coverage information.
13177 Don't throw a critical g_warning when encountering a syntax error,
13178 just warn and let the normal error path handle it.
13180 * plugins/elements/gstelements.c:
13181 Bump the rank of filesink up to PRIMARY so that it is preferred over
13182 gnomevfssink for file:// sink uri's
13184 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13185 (GST_START_TEST), (run_delayed_test),
13186 (gst_parse_test_element_base_init),
13187 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13188 (gst_parse_test_element_change_state),
13189 (gst_register_parse_element), (parse_suite):
13190 Beef up the tests for parse syntax to check that more error cases
13191 fail as they are supposed to. Increases the test coverage a bit.
13193 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13195 * docs/manual/basics-elements.xml:
13196 Fix gst_element_link() example.
13199 Mention in API docs that one should usually gst_bin_add()
13200 elements to a bin or pipeline before doing the linking.
13202 2006-07-26 Wim Taymans <wim@fluendo.com>
13204 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13205 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13206 Avoid function call for known types by keeping the buffer and
13207 subbuffer GType global.
13209 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13210 Random silly optimisations in read() path.
13212 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13214 * tools/gst-launch.c: (main):
13215 If the top-level of the parse is a normal bin, it doesn't do the
13216 right logic to run as a top-level element, so place it inside a
13219 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13221 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13222 Remove superfluous g_object_notify() calls, GObject does
13223 that for us automatically.
13225 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13228 on Win32, use dllspec to export the debug category symbols
13230 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13232 * gst/gsttaglist.c: (_gst_tag_initialize):
13233 Allow more than one GST_TAG_IMAGE per taglist.
13235 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13237 * gst/gstminiobject.c:
13239 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13240 (gst_fd_src_create):
13241 log recurring events at LOG level
13242 add more debug for when the fd gets set
13244 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13246 * gst/gstparse.c: (gst_parse_launch):
13247 Also remove reentrance checks if flex is MT safe (#348179)
13248 Fix my empty ChangeLog entry below
13250 2006-07-21 Andy Wingo <wingo@pobox.com>
13252 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13254 * libs/gst/check/Makefile.am
13255 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13256 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13257 * libs/gst/check/gstbufferstraw.h:
13258 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13259 functions, thus proving I am still a GStreamer haxor. OK I wrote
13260 them a long time ago, but anyways.
13262 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13265 * gst/gstparse.c: (gst_parse_launch):
13266 Check for flex version and omit mutex if we have a MT save flex
13269 2006-07-21 Wim Taymans <wim@fluendo.com>
13271 * gst/gstparse.c: (gst_parse_launch):
13272 Protect recursive calls to _parse with a recursive mutex
13275 2006-07-21 Wim Taymans <wim@fluendo.com>
13277 * tests/check/gst/gstpad.c: (GST_START_TEST):
13280 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13282 * gst/gstparse.c: (gst_parse_launch):
13283 Do not hang on recursive usage of gst_parse_launch()
13285 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13287 * gst/gsttaglist.c:
13288 Add some more docs, comments and FIXME 0.11s here and there
13289 and also fix some typos.
13291 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13293 * gst/gstsegment.h:
13294 Convert tabs to spaces for better readability.
13296 2006-07-20 Edward Hervey <edward@fluendo.com>
13298 * tests/check/libs/gdp.c: (gst_dp_suite):
13299 the test_buffer test fails at line 140 on ppc64 at the following
13301 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13302 GST_BUFFER_FLAG_IN_CAPS),
13303 "GST_BUFFER_IN_CAPS flag should have been copied !");
13304 See bug #348114 for more details.
13306 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13308 * docs/pwg/advanced-scheduling.xml:
13310 Fix typos (#348000).
13312 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13314 * docs/pwg/intro-basics.xml:
13315 Fix wrong links (#347927).
13317 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13319 * gst/gstregistry.h:
13320 * gst/gstregistryxml.c: (load_feature),
13321 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13322 * win32/common/config.h:
13323 make --disable-index work (#342564)
13325 2006-07-18 Wim Taymans <wim@fluendo.com>
13327 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13331 The attached patch adds two missing defines to gsttrace.h when tracing
13332 is disabled. It also corrects one existing define.
13335 2006-07-17 Wim Taymans <wim@fluendo.com>
13337 * docs/gst/gstreamer-sections.txt:
13338 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13340 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13341 Add two functions to check and change the SIGSEGV behaviour
13342 when loading plugins.
13343 Don't mess with the SIGSEGV handler when we were told not to.
13345 API: gst_segtrap_is_enabled
13346 API: gst_segtrap_set_enabled
13348 2006-07-14 Wim Taymans <wim@fluendo.com>
13350 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13351 * tests/check/elements/filesrc.c: (GST_START_TEST):
13352 Revert fix for regression in #347408 after release.
13354 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13356 Patch by: Antoine Tremblay <hexa00 at gmail com>
13358 * gst/gstutils.c: (gst_element_unlink):
13359 Free iterator when done (#347311).
13361 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13362 And add a test case for this.
13364 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13367 Bump nano back to CVS
13369 === release 0.10.9 ===
13371 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13374 releasing 0.10.9, "On the road again"
13376 2006-07-13 Wim Taymans <wim@fluendo.com>
13378 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13379 * tests/check/elements/filesrc.c: (GST_START_TEST):
13380 Revert pull-0 fix for release. Disable check. Fixes #347408.
13382 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13384 * libs/gst/dataprotocol/dataprotocol.c:
13385 (gst_dp_event_from_packet_1_0):
13386 Fixes #347337: failure to deserialize event packets with
13387 empty payload (only event type)
13389 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13392 do not install a .c file in the header directory
13394 2006-07-13 Edward Hervey <edward@fluendo.com>
13396 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13397 GhostPad no longer implicitely use the padtemplates of the targets.
13400 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13402 * gst/gstvalue.c: (gst_value_compare_list),
13403 (gst_value_compare_array), (_gst_value_initialize):
13404 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13405 Make GstValueArray comparison be order dependent as designed.
13406 Add checks for value lists and value array comparisons.
13409 2006-07-11 Edward Hervey <edward@fluendo.com>
13411 * gst/gstbin.c: (activate_pads),
13412 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13413 (gst_bin_change_state_func):
13414 (de)activate src pads before calling state_change on the childs.
13415 This is to avoid the case where a src ghostpad is blocked (holding the
13416 stream lock), which would block the deactivation of the ghostpad's
13418 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13419 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13420 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13421 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13422 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13423 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13424 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13425 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13426 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13427 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13428 (gst_ghost_pad_class_init),
13429 (gst_ghost_pad_internal_do_activate_push),
13430 (gst_ghost_pad_internal_do_activate_pull),
13431 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13432 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13433 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13434 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13435 GhostPads now create their internal GstProxyPad at creation (and not
13436 when they're linked, as it was being done previously).
13437 The internal and target pads are linked straight away.
13438 The data will also travel through the other pad in order to make
13439 pad blocking and probes non-hackish (the probe/block now really happens
13440 on the GhostPad and not on the target).
13441 * gst/gstpad.c: (gst_pad_set_blocked_async),
13442 (gst_pad_link_prepare), (gst_pad_push_event):
13443 Remove previous ghostpad cruft.
13444 * gst/gstutils.c: (gst_pad_add_data_probe),
13445 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13446 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13447 (gst_pad_remove_buffer_probe):
13448 Remove previous ghost pad cruft.
13449 Added more detailed debug statements.
13450 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13451 Fix the testsuite for refcounting changes.
13452 The comments about who has references were correct, but the refcount
13453 being checked wasn't the same (!?!).
13457 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13459 * docs/gst/gstreamer-sections.txt:
13460 * gst/gstconfig.h.in:
13461 More docs for configuration options, add docs to gtk-doc.
13463 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13466 * gst/gstconfig.h.in:
13467 * win32/common/config.h:
13468 Fix build when disabling tracing (fixes #344016). Also start to document
13469 the defines that disable the sub-systems.
13471 2006-07-10 Edward Hervey <edward@fluendo.com>
13473 * gst/gst.c: (ensure_current_registry_forking):
13474 let's make valgrind happy...
13476 2006-07-09 Wim Taymans <wim@fluendo.com>
13478 * gst/gstelement.c: (activate_pads),
13479 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13480 Better pad activation code: Reset the collect value too on resync.
13483 2006-07-09 Wim Taymans <wim@fluendo.com>
13485 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13486 (gst_pad_activate_push):
13487 Use some more macros where it makes sense.
13488 Allow pad mode switching instead of asserting. When a pad
13489 is activated in one mode and we activate it in another,
13490 deactivate it first before activating it in a different mode.
13493 2006-07-08 Andy Wingo <wingo@pobox.com>
13495 * tools/gst-launch.c (main): Handle err == NULL.
13497 * gst/gst.c (init_post, ensure_current_registry)
13498 (ensure_current_registry_forking)
13499 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13500 factoring out the registry scanning into separate functions. Don't
13501 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13502 Better environment var name/interface suggestions accepted.
13504 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13506 * gst/gstobject.c: (gst_object_set_name_default),
13507 (gst_object_set_name):
13508 Random micro-optimisation: don't use a hash table
13509 with strings as keys and the usual strdup/strcmp
13510 involved, but rather just use the GQuark of the
13511 type name as key, since it needs to be looked up
13512 anyway to get the type name string.
13514 * tests/check/gst/gstobject.c: (GST_START_TEST):
13517 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13519 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13520 (gst_bin_iterate_all_by_interface):
13521 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13522 GTypes are gulongs and thus the top 4 bytes might be cut
13523 off on some platforms when doing GPOINTER_TO_INT, leading
13524 to invalid GTypes and bad things happening (see RH bug #179654).
13525 Also add a check to make sure the type passed in is really
13528 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13533 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13537 * gst-element-check.m4:
13538 * gst-element-check.m4.in:
13539 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13540 instead of the unversioned gst-inspect (#324176, #168659).
13542 2006-07-06 Wim Taymans <wim@fluendo.com>
13544 * gst/gstmessage.h:
13545 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13548 2006-07-06 Wim Taymans <wim@fluendo.com>
13550 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13551 (gst_base_src_wait), (gst_base_src_update_length),
13552 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13553 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13554 (gst_base_src_loop), (gst_base_src_start),
13555 (gst_base_src_activate_pull):
13557 blocksize == 0 now means the default blocksize when working in push
13559 Remove some pointless asserts in _wait function.
13560 Fix offset/length calculations and EOS handling. We can now pull 0
13561 bytes as well, which is allowed.
13562 use _check_get_range() to decide if we can operate in _pull based
13564 Fix refcounting leak when check_get_range function was not
13566 API GstBaseSrc::blocksize range can be 0 too now (default)
13568 * tests/check/elements/filesrc.c: (GST_START_TEST),
13570 Added check to test _get_range() behaviour.
13572 2006-07-06 Wim Taymans <wim@fluendo.com>
13574 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13575 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13576 (gst_pad_pull_range):
13578 Lots of comments and docs added to the pad functions.
13579 Flesh out the expected behaviour of the get_range() functions.
13581 2006-07-06 Wim Taymans <wim@fluendo.com>
13586 * gst/gstiterator.h:
13590 Remove comma at end of enumerator list.
13592 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13594 * win32/common/libgstbase.def:
13595 * win32/common/libgstdataprotocol.def:
13596 * win32/common/libsgtreamer.def:
13597 Add new exported functions.
13599 2006-07-05 Wim Taymans <wim@fluendo.com>
13601 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13602 Add some more docs here and there.
13604 2006-07-05 Wim Taymans <wim@fluendo.com>
13606 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13607 (gst_base_sink_loop), (gst_base_sink_get_position):
13608 When operating in pull mode update the offset so that we
13611 2006-07-05 Wim Taymans <wim@fluendo.com>
13613 * gst/gstregistryxml.c: (read_string):
13614 Avoid strdup. (will happen in libxml, but hey!)
13617 Add some more docs.
13619 2006-07-05 Wim Taymans <wim@fluendo.com>
13621 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13622 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13623 (gst_buffer_suite):
13624 No point in checking if the size of the subbuffer > 0, the
13625 code handles it correclty as demonstrated by unit test.
13626 Also add a unit test for the zero sized _new_and_alloc and
13627 _copy. Fixes #346663.
13629 2006-07-05 Wim Taymans <wim@fluendo.com>
13631 * libs/gst/base/gstbasetransform.c:
13632 (gst_base_transform_prepare_output_buffer),
13633 (gst_base_transform_buffer_alloc),
13634 (gst_base_transform_handle_buffer):
13635 Make sure the buffer we pass to transform_ip has a refcount of
13636 1 and thus is writable. Fixes #343196
13638 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13640 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13641 (gst_file_src_init), (gst_file_src_set_property),
13642 (gst_file_src_get_property), (gst_file_src_map_region):
13643 * plugins/elements/gstfilesrc.h:
13644 Add "sequential" property, off by default, to use madvise and hint
13645 to the kernel that sequential access is desired.
13646 Touch all retrieved pages by default to ensure they are pulled
13647 into memory. (Closes #345720)
13649 2006-07-03 Wim Taymans <wim@fluendo.com>
13651 * docs/design/part-block.txt:
13652 * docs/design/part-dynamic.txt:
13653 Small docs updates.
13655 2006-07-03 Wim Taymans <wim@fluendo.com>
13657 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13658 (gst_caps_unref), (gst_static_caps_get),
13659 (gst_caps_append_structure):
13660 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13661 Use GSlice when the glib we build against is >= 2.10
13663 2006-07-03 Wim Taymans <wim@fluendo.com>
13665 * gst/gstelement.c: (gst_element_pads_activate):
13666 Small cleanup in pad activation code.
13668 2006-07-03 Wim Taymans <wim@fluendo.com>
13670 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13672 * gst/gst-i18n-app.h:
13673 * gst/gst-i18n-lib.h:
13674 * tools/gst-inspect.c: (print_signal_info):
13675 The attached patch will make the inclusion of gettext.h unconditional in
13676 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13677 libintl.h in tools/gst-inspect.c.
13678 This allows use of --disable-nls again and fixes #344642.
13680 2006-07-03 Edward Hervey <edward@fluendo.com>
13682 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13683 Implement pad blocking on events according to part-block.txt.
13684 More comments on behaviour.
13685 * tests/check/gst/gstevent.c: (test_event):
13686 Send event to peer pad of blocked pad (else it will block).
13688 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13690 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13691 (gst_check_run_suite):
13692 if we get the wrong message, give us the types as string
13693 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13695 * tests/check/elements/filesrc.c: (GST_START_TEST):
13696 add a test for trying to open a non-existing file
13698 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13700 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13701 add a test for adding self
13703 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13705 * libs/gst/check/gstcheck.h:
13706 add some assert_ as alias for fail_unless_*
13707 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13708 increase test coverage
13710 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13713 include lcov.mak for lcov coverage generation
13714 * tools/Makefile.am:
13717 2006-07-02 Edward Hervey <edward@fluendo.com>
13719 * tests/check/elements/.cvsignore:
13722 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13725 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13726 * tests/check/Makefile.am:
13727 clean up gcov files
13729 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13731 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13732 remove gst_caps_simplify; it was not declared and not used
13733 and deprecated in 0.8
13735 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13737 * docs/faq/gst-uninstalled:
13738 don't put empty paths on PYTHONPATH
13739 * docs/gst/gstreamer-sections.txt:
13740 remove some symbols that are not there
13742 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13744 * gst/gstcaps.c: (gst_caps_compare_structures):
13746 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13747 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13750 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13752 * libs/gst/dataprotocol/Makefile.am:
13753 build dataprotocol test by linking to the lib, instead of
13754 compiling the source, so we get coverage
13755 * tests/check/Makefile.am:
13756 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13757 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13758 add a test for filesrc
13760 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13762 * tests/check/gst/gststructure.c: (GST_START_TEST),
13763 (gst_structure_suite):
13764 Push coverage from 59.04% to 70.00%
13766 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13768 * tests/check/Makefile.am:
13769 gst-inspect every element; this makes sure that we also get
13770 coverage on element's get/set functions
13772 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13775 set CFLAGS and friends to -O0 if gcov is being used
13778 * libs/gst/base/Makefile.am:
13779 * libs/gst/check/Makefile.am:
13780 * libs/gst/controller/Makefile.am:
13781 * libs/gst/dataprotocol/Makefile.am:
13782 * libs/gst/net/Makefile.am:
13783 * plugins/elements/Makefile.am:
13784 * plugins/indexers/Makefile.am:
13785 add makefile rules to generate gcov data and clean up
13786 * tests/check/Makefile.am:
13787 add a coverage target that generates an html overview
13790 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13792 * tests/check/elements/fakesink.c:
13793 * tests/check/elements/fakesrc.c:
13794 * tests/check/elements/fdsrc.c:
13795 * tests/check/elements/identity.c:
13796 * tests/check/generic/sinks.c: (gst_sinks_suite):
13797 * tests/check/generic/states.c:
13798 * tests/check/gst/gst.c:
13799 * tests/check/gst/gstabi.c:
13800 * tests/check/gst/gstbin.c:
13801 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13802 * tests/check/gst/gstbus.c: (gst_bus_suite):
13803 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13804 * tests/check/gst/gstelement.c:
13805 * tests/check/gst/gstevent.c: (gst_event_suite):
13806 * tests/check/gst/gstghostpad.c:
13807 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13808 * tests/check/gst/gstmessage.c: (gst_message_suite):
13809 * tests/check/gst/gstminiobject.c:
13810 * tests/check/gst/gstobject.c:
13811 * tests/check/gst/gstpad.c:
13812 * tests/check/gst/gstpipeline.c:
13813 * tests/check/gst/gstplugin.c:
13814 * tests/check/gst/gstquery.c: (gst_query_suite):
13815 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13816 * tests/check/gst/gststructure.c:
13817 * tests/check/gst/gstsystemclock.c:
13818 * tests/check/gst/gsttag.c:
13819 * tests/check/gst/gsttask.c: (gst_task_suite):
13820 * tests/check/gst/gstutils.c:
13821 * tests/check/gst/gstvalue.c:
13822 * tests/check/libs/adapter.c:
13823 * tests/check/libs/basesrc.c:
13824 * tests/check/libs/collectpads.c:
13825 * tests/check/libs/controller.c:
13826 * tests/check/libs/gdp.c: (gst_dp_suite):
13827 * tests/check/libs/gstnetclientclock.c:
13828 * tests/check/libs/gstnettimeprovider.c:
13829 * tests/check/libs/libsabi.c: (libsabi_suite):
13830 * tests/check/libs/typefindhelper.c:
13831 * tests/check/pipelines/cleanup.c:
13832 * tests/check/pipelines/parse-launch.c:
13833 * tests/check/pipelines/simple-launch-lines.c:
13834 * tests/check/pipelines/stress.c: (stress_suite):
13837 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13839 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13840 * libs/gst/check/gstcheck.h:
13841 create a macro and function so that the simple unit test
13842 case can be just one macro to create main()
13844 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13846 * gst/gstbin.c: (gst_bin_restore_thyself):
13847 * gst/gstxml.c: (gst_xml_make_element):
13848 Fix deserialisation from XML. Set parent manually
13849 instead of using gst_bin_add(), since gst_bin_add()
13850 will unlink all pads of the element being added.
13853 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13855 Patch by: Peter Kjellerstedt <pkj at axis com>
13857 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13858 Fix missing g_strdup() and double free when using the
13859 --gst-plugin-load command line option (#346097).
13861 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13864 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13866 * libs/gst/net/gstnetclientclock.c:
13867 * libs/gst/net/gstnettimeprovider.c:
13868 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13870 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13872 * docs/manual/advanced-dataaccess.xml:
13873 Fix buffer probe example compilation in
13876 2006-06-22 Edward Hervey <edward@fluendo.com>
13878 * gst/gstelement.c: (gst_element_pads_activate):
13879 We need to deactivate src pads first and then sink pads.
13880 The reason is the src pads might be blocking while holding the streaming
13881 lock, so we need to deactivate them first so that deactivating the sink
13882 pads doesn't block (since it will require the streaming lock).
13884 2006-06-22 Wim Taymans <wim@fluendo.com>
13886 * libs/gst/base/gstbasetransform.c:
13887 (gst_base_transform_buffer_alloc):
13888 Forgot to remove two unneeded unrefs.
13889 Simplify a check _is_equal allready checks the obvious case.
13891 2006-06-22 Wim Taymans <wim@fluendo.com>
13893 * docs/design/part-block.txt:
13894 Some docs about what pad_block should do.
13896 2006-06-22 Wim Taymans <wim@fluendo.com>
13898 * gst/gstcaps.c: (gst_caps_replace):
13899 Fix crasher when passed NULL. Doc clarification.
13900 Optimize for the trivial case.
13902 * gst/gstpipeline.c: (gst_pipeline_change_state):
13905 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13906 Small documentation cleanup.
13908 * libs/gst/base/gstbasetransform.c:
13909 (gst_base_transform_buffer_alloc):
13910 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13911 is what we need and it avoids a whole lot of redundant
13912 refcount operations.
13914 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13916 Patch by: Philip Jägenstedt <philip at lysator liu se>
13918 * docs/manual/advanced-dataaccess.xml:
13919 Fix 'Embedding static elements' section to use
13920 GST_PLUGIN_DEFINE_STATIC (#345607).
13922 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13924 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13925 Attempt to 'fix' spuriously failing test case: it seems like the
13926 timeout of half a second is simply too small when the system is under
13927 load otherwise, and the timeout doesn't really seem to serve any
13928 particular purpose here. Give the pipeline a few seconds to preroll
13929 first, and then give it another half a second to go from PAUSED to
13930 PLAYING and marshal the message into the main thread.
13932 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13934 * tools/gst-feedback-m.m:
13935 Don't only use unversioned tools, try versioned tools as well
13938 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13940 * gst/gstbus.c: (gst_bus_class_init):
13941 Fix some typos, make docs more explicit.
13943 2006-06-20 Wim Taymans <wim@fluendo.com>
13945 * tests/check/gst/gstghostpad.c: (block_callback),
13946 (GST_START_TEST), (gst_ghost_pad_suite):
13947 Added some more ghostpad tests, mainly blocking
13950 2006-06-16 Wim Taymans <wim@fluendo.com>
13952 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13953 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13954 (gst_file_sink_event), (gst_file_sink_render):
13955 * plugins/elements/gstfilesink.h:
13956 Check if we can seek in the file instead of assuming
13957 we always can. Post an error when we are asked to seek in a
13958 non-seekable file (like a fifo). Fixes #343312.
13961 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13963 * tools/gst-launch.1.in:
13964 Un-garble (fourcc) bit in filtered caps section.
13966 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13968 * docs/manual/advanced-autoplugging.xml:
13969 * docs/manual/basics-helloworld.xml:
13970 * docs/manual/highlevel-components.xml:
13971 Don't leak bus reference in sample code.
13973 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13976 Add default for new --enable-plugin-docs switch.
13979 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13982 * docs/Makefile.am:
13983 Use new ENABLE_PLUGIN_DOCS conditional.
13985 2006-06-14 Wim Taymans <wim@fluendo.com>
13987 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13988 Make it clear with a FIXME and a real define what the #if 0
13989 previously disabled.
13991 2006-06-14 Wim Taymans <wim@fluendo.com>
13993 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13994 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13995 * libs/gst/base/gstbasetransform.c:
13996 (gst_base_transform_sink_eventfunc):
13997 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13998 Don't randomly and silently reset a segment when the format
13999 changes as this is a bug somewhere upstream. Fixes #330379.
14001 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14003 Patch by: Wouter Paesen <wouter at kangaroot net>
14005 * libs/gst/controller/gstcontroller.c:
14006 (gst_controlled_property_new):
14007 Fix controlling of float properties (#344849).
14009 * tests/check/libs/controller.c:
14010 (gst_test_mono_source_get_property),
14011 (gst_test_mono_source_set_property),
14012 (gst_test_mono_source_class_init), (GST_START_TEST):
14013 While we're at it, add some float stuff to unit test.
14015 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14018 * docs/images/gdp-header.svg:
14020 * docs/libs/Makefile.am:
14021 * docs/libs/gdp-header.png:
14022 * libs/gst/dataprotocol/dataprotocol.c:
14023 add it to the API docs
14024 * docs/manual/intro-motivation.xml:
14027 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14029 * gst/gst.c: (scan_and_update_registry), (init_post):
14030 If the fork()'ed child process can't write the updated registry cache
14031 file to disk for some reason, make it exit with a failure exit code,
14032 so that the parent can then re-scan the plugins itself and update the
14033 registry structures in memory and work with that (rather than failing
14034 when creating elements because seemingly no plugins are available).
14035 Refactor registry scanning code into separate function for this and
14036 also separate fork() and non-fork() code paths. Fixes #344748.
14038 2006-06-13 Wim Taymans <wim@fluendo.com>
14040 * docs/manual/advanced-dataaccess.xml:
14041 Fix wrong PluginDesc. Fixes #344755.
14043 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14045 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14046 Fix silly bug that prevented us from creating
14047 ~/.gstreamer-0.10 and writing the registry in one
14048 go (the first call to g_mkstemp() would overwrite the
14049 placeholder in the template string, so the second call
14050 to g_mkstemp() after creating the missing directory
14051 would then error out with 'invalid argument').
14053 2006-06-13 Edward Hervey <edward@fluendo.com>
14055 * gst/gst.c: (init_post):
14058 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14060 * gst/glib-compat-private.h:
14061 * gst/glib-compat.c:
14062 * gst/glib-compat.h:
14063 * gst/gstvalue.c: (gst_value_serialize_flags):
14064 remove GLib 2.6 compatibility code
14066 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14068 * gst/parse/Makefile.am:
14069 Fix build with 'make -j N' even more (#340016).
14071 2006-06-12 Wim Taymans <wim@fluendo.com>
14073 * docs/gst/gstreamer-sections.txt:
14076 2006-06-12 Wim Taymans <wim@fluendo.com>
14078 * gst/gstsegment.c: (gst_segment_set_duration),
14079 (gst_segment_set_last_stop), (gst_segment_set_seek),
14080 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14081 (gst_segment_to_running_time), (gst_segment_clip):
14082 Use G_UNLIKELY to help the compiler a bit.
14084 2006-06-12 Wim Taymans <wim@fluendo.com>
14086 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14088 * gst/gstevent.c: (gst_event_get_type):
14089 * gst/gstmessage.c:
14090 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14092 constify quark registration strings. Fixes #344115
14093 Avoid unneeded type checking is _pad_push() by internally
14094 calling gst_pad_chain_unchecked().
14096 2006-06-12 Wim Taymans <wim@fluendo.com>
14098 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14099 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14100 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14101 (gst_buffer_is_span_fast), (gst_buffer_span):
14102 Init _type for consistency.
14103 Use _FLAGS macro to avoid type check.
14104 Avoid unneeded type checks in subbufer code.
14106 2006-06-12 Wim Taymans <wim@fluendo.com>
14108 * gst/gst.c: (gst_debug_help):
14109 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14110 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14111 (gst_plugin_feature_list_free):
14112 * gst/gstregistry.c: (gst_registry_add_plugin),
14113 (gst_registry_add_feature), (gst_registry_plugin_filter),
14114 (gst_registry_feature_filter), (gst_registry_find_plugin),
14115 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14116 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14117 * gst/gstregistryxml.c: (load_feature),
14118 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14119 * gst/gstminiobject.c: (gst_mini_object_unref),
14120 (gst_mini_object_replace), (gst_value_mini_object_free),
14121 (gst_value_mini_object_copy):
14122 Use _CAST macros to avoid unneeded type checking.
14123 Added some more G_UNLIKELY.
14125 2006-06-12 Wim Taymans <wim@fluendo.com>
14128 Avoid unneeded type checking.
14129 API: GST_BUFFER_IS_DISCONT
14131 * gst/gstminiobject.h:
14132 Avoid type check in flag accessor.
14134 * gst/gstelementfactory.h:
14136 * gst/gstpluginfeature.h:
14138 API: GST_ELEMENT_FACTORY_CAST
14139 API: GST_PLUGIN_CAST
14140 API: GST_PLUGIN_FEATURE_CAST
14142 2006-06-12 Wim Taymans <wim@fluendo.com>
14144 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14145 (gst_object_unref):
14146 Add G_UNLIKELY in type registration.
14147 Avoid type check in _ref/_unref since that is also
14150 2006-06-12 Wim Taymans <wim@fluendo.com>
14152 * gst/gsterror.c: (gst_g_error_get_type):
14153 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14154 (gst_static_pad_template_get_type):
14155 * gst/gsttaglist.c: (gst_tag_list_get_type):
14156 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14157 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14158 * gst/gsturi.c: (gst_uri_handler_get_type):
14159 * gst/gstvalue.c: (gst_date_get_type):
14160 * gst/gstxml.c: (gst_xml_get_type):
14161 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14162 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14163 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14164 Add G_UNLIKELY in type registration.
14166 2006-06-12 Wim Taymans <wim@fluendo.com>
14168 * tools/gst-inspect.c: (print_signal_info):
14169 Properly print enum values.
14171 2006-06-12 Wim Taymans <wim@fluendo.com>
14173 * gst/gstinfo.c: (gst_debug_set_active),
14174 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14176 Add some G_[UN]LIKELY.
14177 Maintain __gst_debug_min to avoid formatting the arguments of
14178 debug messages that will be dropped anyway to avoid a lot of
14179 overhead from the debugging system.
14181 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14184 * po/POTFILES.skip:
14185 add missing files containing translatable strings, tell intltool about
14188 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14190 * tests/check/libs/.cvsignore:
14191 add test-binary to ignore list
14193 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14195 * docs/libs/gstreamer-libs-docs.sgml:
14196 reorder (put dp into a chapter) and indent
14198 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14203 === release 0.10.8 ===
14205 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14208 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14210 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14212 * gst/gst.c: (init_post):
14213 move pid declaration to declaration block
14215 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14217 * gst/gst.c: (init_post):
14218 use _exit() instead of exit() in our forked child; this ensures
14219 that none of the registered exit handlers from whatever is using
14220 GStreamer get executed. This fixes gnome-mixer-applet failing
14221 to load, because ORBit would shut down.
14222 Spotted by: Edward Hervey <edward@fluendo.com>
14223 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14226 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14231 === release 0.10.7 ===
14233 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14236 releasing 0.10.7, "Soepeke, ik zie ou"
14238 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14261 * win32/common/config.h:
14262 0.10.6.2 prerelease
14264 2006-06-07 Wim Taymans <wim@fluendo.com>
14266 * gst/gstindex.c: (gst_index_gtype_resolver):
14267 * tools/gst-xmlinspect.c: (print_plugin_info):
14268 Fix leak spotted by coverity checker. Fixes #343827
14269 Fix another other leak found by paolo borelli.
14271 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14273 * libs/gst/dataprotocol/dataprotocol.c:
14274 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14275 (gst_dp_version_get_type), (gst_dp_init),
14276 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14277 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14278 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14279 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14280 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14281 (gst_dp_packetizer_free):
14282 * libs/gst/dataprotocol/dataprotocol.h:
14283 API: add a GstDPPacketizer object, and create/free functions
14284 API: add GstDPVersion enum
14285 Add 1.0 event function that uses the string serialization
14286 Serialize more useful buffer flags
14289 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14291 * tests/check/Makefile.am:
14292 * tests/check/gst/gstabi.c:
14293 * tests/check/gst/struct_ppc64.h:
14294 * tests/check/libs/libsabi.c:
14295 * tests/check/libs/struct_ppc64.h:
14296 add ppc64 structure sizes
14298 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14300 * tests/check/Makefile.am:
14301 * tests/check/gst/gstabi.c:
14302 * tests/check/gst/struct_x86_64.h:
14303 * tests/check/libs/libsabi.c:
14304 * tests/check/libs/struct_x86_64.h:
14305 generate and add structure size lists for x86_64
14307 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14309 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14310 * libs/gst/check/gstcheck.h:
14311 factor out the method from tests that checks size of structures,
14312 and add code to generate the header containing these sizes
14313 * tests/check/gst/gstabi.c: (GST_START_TEST):
14314 * tests/check/gst/struct_i386.h:
14315 * tests/check/libs/libsabi.c: (GST_START_TEST):
14316 * tests/check/libs/struct_i386.h:
14319 2006-06-06 Michael Smith <msmith@fluendo.com>
14321 * gst/gstsegment.h:
14322 Don't use c++-style comments, fixes #343929
14324 2006-06-05 Edward Hervey <edward@fluendo.com>
14327 plugin_paths is not used if we build without registry support.
14329 * gst/gstsegment.c: (gst_segment_copy):
14330 _copy() was always returning NULL...
14332 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14334 * libs/gst/dataprotocol/dataprotocol.c:
14335 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14336 (gst_dp_packet_from_event):
14337 factor out CRC code
14339 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14341 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14342 make sure we unset caps
14344 2006-06-02 Michael Smith <msmith@fluendo.com>
14346 * libs/gst/check/gstcheck.c: (gst_check_init),
14347 (gst_check_chain_func):
14348 * libs/gst/check/gstcheck.h:
14349 Add a cond/mutex to the check support lib, signal this whenever we
14350 add to the buffers list. This will allow tests to not busy-wait on
14353 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14355 * libs/gst/dataprotocol/dataprotocol.c:
14356 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14357 (gst_dp_packet_from_event):
14358 factor out some common header init code
14360 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14362 * docs/libs/gstreamer-libs-sections.txt:
14363 * docs/libs/tmpl/gstdataprotocol.sgml:
14364 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14365 * libs/gst/dataprotocol/dataprotocol.h:
14366 API: make gst_dp_crc() public
14368 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14370 * plugins/indexers/gstindexers.c: (plugin_init):
14371 conditionally register fileindexer (fixes #343598)
14373 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14375 * gst/gsttagsetter.h:
14376 Can't cast ifaces to a class
14378 * libs/gst/net/gstnetclientclock.h:
14379 * libs/gst/net/gstnettimeprovider.h:
14380 * plugins/elements/gstfakesink.h:
14381 * plugins/elements/gstfakesrc.h:
14382 * plugins/elements/gstfdsink.h:
14383 * plugins/elements/gstfdsrc.h:
14384 * plugins/elements/gstfilesink.h:
14385 * plugins/elements/gstfilesrc.h:
14386 * plugins/elements/gstidentity.h:
14387 * plugins/elements/gstqueue.h:
14388 * plugins/elements/gsttee.h:
14389 * plugins/indexers/gstfileindex.c:
14390 * plugins/indexers/gstmemindex.c:
14391 * tests/old/examples/plugins/example.h:
14392 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14394 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14396 * libs/gst/dataprotocol/dataprotocol.c:
14397 (gst_dp_header_from_buffer):
14398 make sure we zero the whole ABI-compatible area
14400 2006-06-01 Wim Taymans <wim@fluendo.com>
14402 Patch by: Alessandro Decina <alessandro at nnva dot org>
14404 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14405 Make sure the EOS flag is cleared from pads after a flush
14406 or stop. Fixes #343538.
14408 * tests/check/libs/collectpads.c: (GST_START_TEST),
14409 (gst_collect_pads_suite):
14410 Added test for collectpads reusage after EOS.
14412 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14415 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14416 * win32/common/libgstbase.def:
14417 export gst_collect_pads_set_flushing
14418 * win32/common/libgstreamer.def:
14419 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14420 gst_value_fraction_multiply
14421 * win32/vs6/gst_inspect.dsp:
14422 add a link to intl.lib
14424 2006-05-30 Wim Taymans <wim@fluendo.com>
14426 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14427 (gst_collect_pads_chain):
14428 Handle the case where a pad is removed from the collection
14429 that could cause the other pads to become collectable.
14431 2006-05-30 Wim Taymans <wim@fluendo.com>
14433 * gst/gstelement.c:
14434 Clarify the use of _release_request_pad() and
14435 _get_request_pad() a bit better.
14437 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14438 (gst_adapter_take_buffer):
14439 Fix some doc and comment typos.
14441 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14443 * docs/gst/gstreamer-sections.txt:
14444 * docs/libs/gstreamer-libs-sections.txt:
14445 add declared symbols
14447 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14449 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14450 Add debug that can be enabled using a #define at the top of the file,
14451 for dumping stats about how late/early we were when waking up from
14452 waiting on the clock.
14454 2006-05-30 Wim Taymans <wim@fluendo.com>
14456 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14457 When rebuilding the pad list, don't leak the previous list.
14459 2006-05-30 Wim Taymans <wim@fluendo.com>
14461 Patch by: Lutz Mueller <lutz at topfrose dot de>
14463 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14464 (gst_base_src_get_query_types), (gst_base_src_update_length):
14465 Publish supported query types.
14466 Update last_stop field in get_range mode so the position
14467 query works. Fixes #342321.
14469 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14471 * docs/gst/gstreamer-sections.txt:
14472 * gst/gsttaglist.c: (_gst_tag_initialize):
14473 * gst/gsttaglist.h:
14474 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14476 2006-05-30 Wim Taymans <wim@fluendo.com>
14478 Patch by: Alessandro Decina <alessandro at nnva dot org>
14480 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14481 Unlock mutex when removing an unknown pad.
14484 * tests/check/Makefile.am:
14485 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14486 (push_event), (setup), (teardown), (GST_START_TEST),
14487 (gst_collect_pads_suite), (main):
14488 Added collecpads check, disabled for now as check crashes for
14491 2006-05-29 Wim Taymans <wim@fluendo.com>
14493 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14494 Don't leak pads lists.
14496 2006-05-29 Wim Taymans <wim@fluendo.com>
14498 * docs/libs/gstreamer-libs-sections.txt:
14499 * libs/gst/base/gstcollectpads.c:
14500 (gst_collect_pads_set_flushing_unlocked),
14501 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14502 (gst_collect_pads_stop):
14503 * libs/gst/base/gstcollectpads.h:
14504 API: gst_collect_pads_set_flushing()
14505 Added api to set the pads to flushing, useful for seeking
14506 code in elements using collectpads.
14507 Clear segment when receiving a flush.
14509 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14511 * gst/gst.c: (add_path_func), (init_post):
14512 Don't scan registry paths passed via --gst-plugin-path immediately
14513 (will crash, because absolutely nothing is set up and no types are
14514 registered etc.); do this later in init_post(). Fixes #343057.
14516 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14518 * gst/gst.c: (init_post):
14519 if we have fork, fork while reading/rebuilding the registry
14520 so the parent doesn't take the hit of having all plugins loaded
14521 in memory. Fixes #342777.
14523 Check if we have fork()
14524 * win32/common/config.h.in:
14527 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14529 * plugins/elements/gstelements.c:
14530 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14531 (gst_file_src_init), (gst_file_src_set_property),
14532 (gst_file_src_get_property), (gst_file_src_start):
14533 * plugins/elements/gstfilesrc.h:
14534 API: GstFileSrc::use-mmap
14536 Add a use-mmap property to enable easier testing of all code paths.
14537 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14538 in the absence of gnomevfssrc. (Closes #340501)
14540 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14542 * tools/gst-inspect.c:
14543 Add missing include, removes warning of ngettext not being defined on
14546 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14548 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14549 Handle NULL input and output pointers silently as a failed conversion,
14550 rather than g_warnings.
14552 2006-05-25 Wim Taymans <wim@fluendo.com>
14554 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14555 Initialize variable before using. Fixes #342820.
14557 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14559 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14560 Fix off-by-one bug that would only allow peeks of N-1 bytes
14561 from the start even if the buffer to typefind on contains
14562 in fact N bytes of data (makes vorbis typefinding from a
14563 vorbis identification header buffer work).
14565 * tests/check/Makefile.am:
14566 * tests/check/libs/.cvsignore:
14567 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14568 (gst_typefindhelper_suite), (main), (foobar_typefind),
14570 Add very basic unit test for gst_type_find_helper_for_buffer()
14571 that checks for the problem fixed above.
14573 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14575 * tools/gst-inspect.c: (print_interfaces),
14576 (print_element_properties_info), (print_element_list), (main):
14577 add more translatable strings
14579 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14581 Patch by: Julien Moutte <julien at moutte net>
14583 * docs/gst/gstreamer-sections.txt:
14584 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14586 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14587 (gst_fake_sink_preroll):
14588 * plugins/elements/gstfakesink.h:
14589 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14591 2006-05-23 Wim Taymans <wim@fluendo.com>
14593 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14595 Added _CUSTOM error and success GstFlowReturn that can be
14596 used be elements internally.
14597 Added macro to check for SUCCESS flowreturns.
14598 API: GST_FLOW_CUSTOM_SUCCESS
14599 API: GST_FLOW_CUSTOM_ERROR
14600 API: GST_FLOW_IS_SUCCESS
14602 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14603 Added check for GstFlowReturn sanity.
14605 2006-05-23 Wim Taymans <wim@fluendo.com>
14607 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14609 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14610 (gst_collect_pads_event):
14611 clear/reset segment info in FLUSH_STOP.
14614 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14616 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14617 (gst_collect_pads_check_collected):
14618 Flush queued buffer on _stop(), fixes playing again (#342454)
14620 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14622 * tests/check/gst/gststructure.c: (GST_START_TEST),
14623 (gst_structure_suite):
14624 add a test for a complete structure
14626 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14628 * docs/faq/developing.xml:
14629 * docs/faq/faq.xml:
14630 * docs/faq/troubleshooting.xml:
14631 * docs/faq/using.xml:
14632 Some minor FAQ updates that won't change the fact that
14633 our FAQ is badly structured, full of information hardly
14634 anyone new to GStreamer needs to know and lacking lots
14635 of information people constantly ask for.
14637 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14639 * gst/gstpad.c: (gst_pad_set_caps):
14640 Short-circuit gst_pad_set_caps if setting the existing
14641 caps pointer again, and avoid printing debug and
14642 reffing/unreffing the caps.
14644 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14645 There's actually no need to set the caps before pushing -
14646 the acceptcaps method will handle it anyway.
14648 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14650 * docs/gst/gstreamer-sections.txt:
14651 * win32/common/libgstreamer.def:
14652 * gst/gstutils.c: (gst_element_seek_simple):
14654 API: add gst_element_seek_simple() (#342238).
14656 2006-05-18 Edward Hervey <edward@fluendo.com>
14658 * gst/gsttypefind.c: (gst_type_find_get_type):
14659 * gst/gsttypefind.h:
14660 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14661 registered for GstTypeFind pointers. This allows wrapping the structure
14662 in bindings (i.e. gst-python).
14664 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14666 * gst/gsttagsetter.c:
14667 Docs additions and fixes (see #339918).
14669 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14671 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14672 The caps intersection algorithm can produce multiple copies of the
14673 caps. Until that is fixed, we need to simplify the result to be
14674 sure whether the allowed caps are fixed or not.
14676 * plugins/elements/gstqueue.c: (gst_queue_init),
14677 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14678 (gst_queue_push_one):
14679 Proxied buffer alloc should not set the caps on the source pad.
14680 When pushing buffers, we always accept the caps change that triggers.
14681 This prevents negotiation errors caused by caps changing mid-stream
14682 and then being refused on our source pad (because upstream is now
14683 refusing those caps).
14685 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14687 * tests/examples/helloworld/helloworld.c: (main):
14688 Must plug audioconvert and audioresample between decoder
14691 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14693 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14694 (load_feature), (load_plugin):
14695 Allow empty strings for some of the plugin fields so we don't
14696 drop valid plugin entries that were written out correctly
14699 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14701 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14702 Use g_remove and g_rename instead of remove and rename that don't
14703 handle utf8 characters. rename was failing for users who had specific
14704 characters in their name then the registry was built at each
14706 * win32/vs6/gst_inspect.dsp:
14707 * win32/vs6/gst_launch.dsp:
14708 * win32/vs6/libgstbase.dsp:
14709 * win32/vs6/libgstcoreelements.dsp:
14710 * win32/vs6/libgstreamer.dsp:
14711 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14712 build of libgstreamer and clean unused libraries in projects link
14715 2006-05-17 Edward Hervey <edward@fluendo.com>
14717 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14718 The queue is not responsible for pushing an EOS when receiving a fatal
14719 flow error. It's up to the real element driving the pipeline to do that.
14721 2006-05-16 Edward Hervey <edward@fluendo.com>
14723 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14724 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14725 buffer returned a fatal error. It should just send an EOS and stop
14727 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14728 when pushing buffers on the queue and will be able to handle the event.
14730 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14732 * docs/manual/basics-bins.xml:
14733 * docs/manual/basics-init.xml:
14734 Fix typos and minor errors in sample code (#341856).
14736 2006-05-16 Wim Taymans <wim@fluendo.com>
14738 * docs/design/part-qos.txt:
14739 Fix indexes in formulas to make more sense.
14741 2006-05-15 Wim Taymans <wim@fluendo.com>
14743 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14744 Don't report POSITION based on clock time if sync is
14745 disabled in a sink.
14747 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14750 Add cast to make compiler happy - refcount variable was a gint
14751 in GstObject but is a guint in GObject and g_atomic_int_get()
14754 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14756 * gst/parse/Makefile.am:
14757 chain commands using &&, which also makes parallel make work
14759 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14761 * docs/gst/gstreamer-sections.txt:
14764 * gst/gstmessage.h:
14767 === release 0.10.6 ===
14769 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14772 releasing 0.10.6, "Take the cannoli"
14774 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14776 * tools/gst-launch.c: (print_tag):
14777 Fix use of uninitialized variable in the hypothetical
14778 case that some broken plugin creates a GST_TAG_IMAGE
14779 tag containing a NULL buffer (#341667).
14781 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14783 * tools/gst-launch.c: (print_tag):
14784 Print something more intelligible for image tags when
14785 using the -t switch (#341556).
14787 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14792 define GST_MAJORMINOR so we have it available in win32/common/config.h
14793 Possibly remove it from our Makefile.am files later
14794 * win32/common/config.h:
14795 * win32/common/config.h.in:
14796 added GST_MAJORMINOR
14797 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14798 * win32/common/gstversion.h:
14801 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14804 Update win32 files listing.
14805 * win32/common/gstversion.h:
14806 Add GST_MAJORMINOR definition.
14807 * win32/common/libgstreamer.def:
14808 Add new exported functions.
14810 2006-05-12 Michael Smith <msmith@fluendo.com>
14812 * gst/gstplugin.c: (gst_plugin_load_file):
14813 If an so file has no plugin entry point, unload the module.
14815 2006-05-11 Wim Taymans <wim@fluendo.com>
14817 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14818 (gst_queue_set_property):
14819 Don't forget to signal the _chain or _loop function
14820 when the queue size or thresholds change since that might
14821 cause them to make progres again.
14823 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14825 * gst/gstclock.c: (gst_clock_class_init):
14826 * gst/gstindex.c: (gst_index_class_init):
14827 * gst/gstobject.c: (gst_object_class_init):
14828 * gst/gstpad.c: (gst_pad_class_init):
14829 * gst/gstpipeline.c: (gst_pipeline_class_init):
14830 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14831 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14832 * libs/gst/base/gstbasetransform.c:
14833 (gst_base_transform_class_init):
14834 * libs/gst/net/gstnetclientclock.c:
14835 (gst_net_client_clock_class_init):
14836 * libs/gst/net/gstnettimeprovider.c:
14837 (gst_net_time_provider_class_init):
14838 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14839 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14840 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14841 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14842 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14843 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14844 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14845 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14846 * plugins/elements/gsttee.c: (gst_tee_class_init):
14847 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14848 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14849 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14851 2006-05-11 Wim Taymans <wim@fluendo.com>
14853 * gst/gstbuffer.c: (_gst_buffer_initialize):
14854 Register subbufer along with the buffer type so that
14855 it does not accidentally gets registered from N
14856 different streaming threads in a non threadsafe way.
14858 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14862 * gst/gstmessage.h:
14863 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14864 gst_event_ref() and gst_message_ref() functions again
14865 (ugly hack, please do fix if there's a better way besides
14866 overrides.txt, which doesn't seem to work).
14868 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14870 * libs/gst/check/gstcheck.h:
14871 add an assert for setting state to avoid lots of repetitive code
14874 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14876 * gst/gstvalue.c: (gst_value_serialize_flags):
14877 fix a leak if no flags are set
14878 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14881 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14883 * docs/manual/basics-pads.xml:
14884 Expand a bit on caps and filtered links and update
14885 examples that were still using the no longer existing
14886 gst_pad_link_filtered() (#338206).
14888 2006-05-10 Wim Taymans <wim@fluendo.com>
14890 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14891 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14892 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14893 (gst_collect_pads_stop):
14894 * libs/gst/base/gstcollectpads.h:
14895 No need to call _stop in _finalize.
14896 Iterate the main pad list in _finalize.
14897 Added some more debug.
14898 Free lists and data in the right order.
14899 Also free data whem doing _remove_pad when stopped for
14900 backward compatibility protect ::started with PAD_LOCK as
14903 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14905 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14906 (gst_structure_parse_value):
14908 rename a method so that it actually says what it does better
14910 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14912 * gst/gstevent.c: (_gst_event_initialize):
14913 * gst/gstformat.c: (_gst_format_initialize):
14914 make sure some essential types used by events are registered
14915 as part of gst_init()
14916 * gst/gstvalue.c: (gst_value_serialize_flags):
14917 if no flags are set, serialize them to a value that represents NONE
14918 so that deserializing them works
14919 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14920 add tests for serialization and deserialization of flags
14922 2006-05-10 Wim Taymans <wim@fluendo.com>
14924 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14925 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14926 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14927 (gst_collect_pads_event), (gst_collect_pads_chain):
14930 Catch and return errors from the collect function
14931 Refuse data on eos pads.
14933 2006-05-10 Edward Hervey <edward@fluendo.com>
14935 * gst/gstinterface.h:
14936 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14937 GInterface type checking.
14938 They were previously using non-defined macros.
14940 2006-05-09 Wim Taymans <wim@fluendo.com>
14942 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14943 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14944 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14945 (gst_collect_pads_start), (gst_collect_pads_stop),
14946 (gst_collect_pads_peek), (gst_collect_pads_pop),
14947 (gst_collect_pads_available), (gst_collect_pads_read),
14948 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14949 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14950 (gst_collect_pads_chain):
14951 * libs/gst/base/gstcollectpads.h:
14952 Clean up the mess that is collectpads, add comments and
14953 FIXMEs where needed.
14954 Maintain a separate pad list so we can add pads while
14955 collecting the other ones. For this we need a new separate
14957 Fix memory leak in finalize.
14958 Refactor some weird code to set/unset pad flushing flags, mark
14960 Don't crash in _available, _read, _flush when we're EOS.
14962 * tests/check/libs/.cvsignore:
14963 Ignore adapter check binary.
14965 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14967 * gst/gstindex.c: (gst_index_resolver_get_type):
14968 * plugins/elements/gstfakesink.c:
14969 (gst_fake_sink_state_error_get_type):
14970 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14971 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14972 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14973 Const-ify GEnumValue arrays.
14975 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14977 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14978 Add test case for flags + gst_buffer_make_metadata_writable().
14980 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14982 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14983 gst_buffer_make_metadata_writable() should maintain the
14984 buffer flags (those that make sense at least) (see #340859).
14986 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14988 * tools/gst-inspect.c:
14989 * tools/gst-launch.c:
14990 * tools/gst-typefind.c:
14991 * tools/gst-xmlinspect.c:
14993 Fix up includes: need to include stdlib.h in tools.h for exit().
14995 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14997 * gst/gsttaglist.c: (_gst_tag_initialize):
14998 * gst/gsttaglist.h:
14999 API: add GST_TAG_IMAGE tag (#340721).
15001 2006-05-08 Wim Taymans <wim@fluendo.com>
15004 Added some docs for the segment query.
15006 2006-05-08 Wim Taymans <wim@fluendo.com>
15008 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15009 (gst_base_src_loop), (gst_base_src_change_state):
15010 Always push non-flushing serialized events in the streaming
15013 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15015 * gst/gsterror.c: (_gst_stream_errors_init):
15016 Add a missing error string.
15018 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15020 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15021 Add applied_rate to the debug
15023 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15024 Copy applied_rate into the outgoing NEWSEGMENT event
15026 2006-05-08 Wim Taymans <wim@fluendo.com>
15028 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15030 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15031 (gst_base_sink_change_state):
15032 call ::unlock before taking the PREROLL_LOCK so we can safely
15033 handle elements that lock in ::render.
15036 2006-05-08 Edward Hervey <edward@fluendo.com>
15038 * autogen.sh: (CONFIGURE_DEF_OPT):
15039 Darwin's libtoolize is in fact called glibtoolize.
15040 Adding glibtoolize to the list of accepted names for libtoolize.
15042 2006-05-08 Wim Taymans <wim@fluendo.com>
15044 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15045 Unify error handling, don't post an error message
15046 when a push() returns EOS but perform our normal EOS
15047 handling code. Fixes #340772.
15049 2006-05-08 Wim Taymans <wim@fluendo.com>
15051 * docs/design/part-overview.txt:
15052 Make upsteam/downstream concepts more clear.
15053 Give an example of serialized/non-serialized events.
15055 * docs/design/part-events.txt:
15056 * docs/design/part-streams.txt:
15057 Mention applied_rate.
15059 * docs/design/part-trickmodes.txt:
15060 Mention applied rate, flesh out some more use cases.
15062 * gst/gstevent.c: (gst_event_new_new_segment),
15063 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15064 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15065 (gst_event_parse_tag), (gst_event_new_buffer_size),
15066 (gst_event_parse_buffer_size), (gst_event_new_qos),
15067 (gst_event_parse_qos), (gst_event_parse_seek),
15068 (gst_event_new_navigation):
15070 Add applied_rate field to NEWSEGMENT event.
15071 API: gst_event_new_new_segment_full()
15072 API: gst_event_parse_new_segment_full()
15074 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15075 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15076 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15077 * gst/gstsegment.h:
15078 Add applied_rate to GstSegment structure.
15079 Make calculation of stream_time and running_time more correct
15080 wrt rate/applied_rate.
15081 Add some more docs.
15082 API: GstSegment::applied_rate field
15083 API: gst_segment_set_newsegment_full();
15085 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15086 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15087 * libs/gst/base/gstbasetransform.c:
15088 (gst_base_transform_sink_eventfunc),
15089 (gst_base_transform_handle_buffer):
15090 Parse and use applied_rate in the GstSegment field.
15092 * tests/check/gst/gstevent.c: (GST_START_TEST):
15093 Add check for applied_rate field.
15095 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15096 (gstsegments_suite):
15097 Add more checks for various GstSegment operations.
15099 2006-05-08 Wim Taymans <wim@fluendo.com>
15101 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15102 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15103 (gst_base_sink_get_position), (gst_base_sink_change_state):
15104 Store the sync time of the buffer end position separatly in a
15105 new variable eos_rtime so we can properly sync the EOS event.
15107 Fix the docs for gst_base_sink_set_qos_enabled().
15108 Don't set segment start to invalid value when we receive a
15109 non TIME newsegment.
15110 get closer to handling position reporting for negative rates
15113 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15116 Docs about how to print caps for debug purposes.
15118 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15119 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15121 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15123 * gst/gstelement.c:
15124 use full enum names and preprend a '%' in docs strings to make recent
15125 gtk-doc turn that into a link
15127 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15129 * docs/manual/basics-bins.xml:
15130 * docs/manual/basics-bus.xml:
15131 * docs/manual/basics-pads.xml:
15132 Some typo fixes, some additions, some clarifications.
15134 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15136 * tools/gst-inspect.c: (main):
15137 * tools/gst-launch.c: (main):
15138 * tools/gst-run.c: (main):
15139 * tools/gst-typefind.c: (main):
15140 * tools/gst-xmlinspect.c: (main):
15141 Use the string passed to g_option_context_new() for
15142 what it's intended for - the program name is already
15145 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15147 * tools/Makefile.am:
15148 * tools/gst-inspect.c: (main):
15149 * tools/gst-launch.c: (main):
15150 * tools/gst-xmlinspect.c: (main):
15152 Add back --version command line option (#340460).
15154 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15155 Add --version option and use GOption for argument parsing; refactor a
15156 bit; accept directories as arguments and recurse into them; lastly,
15157 print a decent error message when things go wrong.
15159 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15161 * docs/manual/basics-bins.xml:
15162 Don't mention GstThread (#340611)
15163 * docs/manual/basics-elements.xml:
15164 Update link to GObject tutorial (#340607)
15166 2006-05-05 Wim Taymans <wim@fluendo.com>
15169 * gst/gstminiobject.c:
15170 Add note about refcounting and miniobject/buffer writeability
15171 to docs. Fixes #340604
15173 * gst/gstelementfactory.h:
15174 Added some explanation about @klass.
15176 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15178 * docs/manual/intro-motivation.xml:
15179 * docs/manual/manual.xml:
15180 Avoid CORBA & Bonobo references (#340598)
15182 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15184 * docs/manual/basics-bus.xml:
15185 * docs/manual/basics-pads.xml:
15186 Fix up some inaccuracies and omissions (#340609)
15188 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15190 * gst/gstghostpad.c:
15191 Small typo in docs (#340625)
15193 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15195 * gst/parse/Makefile.am:
15196 Make 'make -j' proof (see #340698).
15198 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15201 Require GLib-2.8 here as well.
15203 2006-05-05 Wim Taymans <wim@fluendo.com>
15205 * gst/glib-compat.c:
15206 * gst/gst.c: (init_pre):
15207 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15208 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15209 (gst_object_dispatch_properties_changed):
15211 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15212 * gst/gststructure.c: (gst_structure_set_valist):
15213 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15214 Remove pre glib2.8 compatibility, fixes #340508
15216 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15218 * gst/gsttaglist.h:
15219 Mention type of tags in doc blurbs.
15221 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15223 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15224 (gst_pad_configure_src), (gst_pad_push):
15225 Restore acceptcaps checking behaviour now that good plugins have
15228 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15230 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15237 * gst/gstmessage.c:
15241 * gst/parse/Makefile.am:
15242 * libs/gst/base/gstadapter.c:
15243 * libs/gst/base/gstbasesrc.c:
15244 * libs/gst/base/gstpushsrc.c:
15245 * libs/gst/base/gsttypefindhelper.c:
15246 * plugins/elements/gstfakesrc.c:
15247 * plugins/elements/gstidentity.c:
15248 Make sure gstprivate.h and/or config.h are
15249 always included first, otherwise some of our
15250 defines (like _FILE_OFFSET_BITS) might be
15251 redefined in the system headers. Fixes build
15252 on opensolaris (#340016).
15254 2006-05-04 Wim Taymans <wim@fluendo.com>
15256 * docs/libs/gstreamer-libs-sections.txt:
15257 API: addition: gst_adapter_take_buffer()
15259 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15260 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15261 (gst_adapter_available_fast):
15262 * libs/gst/base/gstadapter.h:
15263 Prepare for optimizing the hell out of this hugely inefficient
15265 Added gst_adapter_take_buffer() so we can at least start thinking
15266 about subbuffering and merging.
15267 Added some comments.
15269 * tests/check/Makefile.am:
15270 * tests/check/libs/adapter.c: (GST_START_TEST),
15271 (gst_adapter_suite), (main):
15272 Added GstAdapter check.
15274 2006-05-04 Wim Taymans <wim@fluendo.com>
15276 * docs/design/part-overview.txt:
15277 Fix some typos, add blurb about buffer flags.
15279 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15281 * docs/libs/gstreamer-libs-sections.txt:
15282 make sure GstBaseTransformClass shows up in the docs
15283 * libs/gst/base/gstbasetransform.c:
15284 * libs/gst/base/gstbasetransform.h:
15285 move docs so gtk-doc picks it up now
15287 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15289 * docs/libs/gstreamer-libs-sections.txt:
15290 add missing symbols to docs
15292 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15294 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15295 back out the newsegment handling change, see #340060 for ongoing
15298 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15300 * tools/gst-run.c: (get_candidates), (main):
15301 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15302 work); fix typo in error message. Fixes #340079.
15304 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15306 * common/Makefile.am:
15307 * docs/Makefile.am:
15308 * docs/faq/Makefile.am:
15309 * docs/gst/Makefile.am:
15310 * docs/libs/Makefile.am:
15311 * docs/manual/Makefile.am:
15312 * docs/plugins/Makefile.am:
15313 * docs/pwg/Makefile.am:
15314 * docs/slides/Makefile.am:
15316 * common/upload.mak:
15317 move upload.mak to common
15319 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15321 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15322 add more asserts on refcounts
15323 do more cleanup at end of tests
15324 fix test leaks showing in FC5
15326 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15328 * plugins/elements/gsttypefindelement.c:
15329 (gst_type_find_element_handle_event):
15330 reverted wrong change and reflowed code to avoid others falling into
15333 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15335 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15336 fix changelog entry about last collectpads change,
15337 add notes about proper fix
15339 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15342 * gst/gstregistry.c: (gst_registry_scan_path_level),
15343 (gst_registry_scan_path):
15344 * gst/gstregistry.h:
15345 only write out registry if it has changed, fixes #338339
15347 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15350 * gst/gstpipeline.c:
15351 * plugins/elements/gstcapsfilter.c:
15352 * plugins/elements/gstfakesink.c:
15353 * plugins/elements/gstfakesrc.c:
15354 * plugins/elements/gstfdsink.c:
15355 * plugins/elements/gstfdsrc.c:
15356 * plugins/elements/gstfilesink.c:
15357 * plugins/elements/gstfilesrc.c:
15358 * plugins/elements/gstidentity.c:
15359 * plugins/elements/gstqueue.c:
15360 * plugins/elements/gsttee.c:
15361 * plugins/elements/gsttypefindelement.c:
15362 (gst_type_find_element_handle_event):
15363 make GstElementDetails const
15365 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15367 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15368 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15369 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15370 more detailed debug and formatting cleanup,
15371 forward newsegments to src-pad (so that e.g. adder not eats them)
15373 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15375 * gst/gstutils.c: (gst_element_link_pads):
15376 cleanup double code
15378 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15380 * libs/gst/controller/gstcontroller.c:
15381 (gst_controller_sync_values):
15383 * tests/check/libs/controller.c: (GST_START_TEST),
15384 (gst_controller_suite):
15385 a new test for live value handling
15387 2006-04-28 Wim Taymans <wim@fluendo.com>
15389 * gst/gstutils.c: (push_and_ref):
15390 Added some more docs.
15391 Fix refcount issue whith gst_element_found_tags() helper
15392 function. Fixes #338335
15394 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15395 Added testsuite for gst_element_found_tags().
15397 2006-04-28 Michael Smith <msmith@fluendo.com>
15399 * gst/gstvalue.c: (gst_value_serialize_flags):
15400 Avoid NULL dereference when trying to serialize flags containing
15403 2006-04-28 Michael Smith <msmith@fluendo.com>
15405 * plugins/elements/gsttypefindelement.c:
15406 (gst_type_find_element_handle_event):
15407 If we get EOS before any data is accumulated, don't use
15408 uninitialised local variables.
15410 2006-04-28 Michael Smith <msmith@fluendo.com>
15412 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15413 (gst_dp_event_from_packet):
15414 Fixes in reading/writing events over GDP (not currently used?) -
15415 dereferencing NULL events for unknown/invalid event types, memory
15416 leak, and change g_warning to GST_WARNING.
15418 2006-04-28 Wim Taymans <wim@fluendo.com>
15420 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15421 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15422 (gst_base_sink_get_position), (gst_base_sink_change_state):
15423 When frame dropping is enabled, we should not ignore frames
15424 without a duration.
15425 Update some documentation.
15427 2006-04-28 Wim Taymans <wim@fluendo.com>
15429 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15430 (gst_base_src_send_event), (gst_base_src_change_state):
15431 Documentation updates.
15433 2006-04-28 Wim Taymans <wim@fluendo.com>
15435 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15436 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15437 handle EAGAIN, EINTR and short writes correctly. Also clean
15438 up some error cases, avoid a deadlock on bad file descriptors and
15439 use GST_DEBUG_OBJECT.
15442 2006-04-28 Wim Taymans <wim@fluendo.com>
15444 * gst/gstvalue.c: (gst_value_serialize_buffer),
15445 (gst_value_deserialize_buffer):
15446 Don't try to serialize a GValue with a NULL buffer.
15449 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15450 Added check for serialisation of NULL buffers.
15452 2006-04-28 Wim Taymans <wim@fluendo.com>
15454 * gst/gstminiobject.c: (gst_value_take_mini_object):
15455 Taking a NULL miniobject is valid, fix the case where
15456 we try to unref the NULL miniobject.
15458 2006-04-28 Wim Taymans <wim@fluendo.com>
15460 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15462 * gst/gstbin.c: (gst_bin_handle_message_func):
15464 Don't leak bin refcount when a state recalc is
15465 in progress and we delay another one #339808.
15467 2006-04-28 Wim Taymans <wim@fluendo.com>
15469 * docs/design/part-TODO.txt:
15470 Mention QoS as an ongoing work item.
15472 * docs/design/part-buffering.txt:
15473 New doc about buffering that needs to be fleshed out
15476 * docs/design/part-qos.txt:
15477 More QoS policy for decoders/demuxers/transforms
15479 * docs/design/part-trickmodes.txt:
15482 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15487 === release 0.10.5 ===
15489 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15492 releasing 0.10.5, "Fogo"
15494 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15496 patch by: Wim Taymans
15498 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15499 (gst_pad_configure_src), (gst_pad_push):
15500 * gst/gstpipeline.c: (gst_pipeline_init):
15501 Fix internal data flow errors. Fixes #338711.
15503 2006-04-12 Wim Taymans <wim@fluendo.com>
15505 * tests/check/gst/gstelement.c: (GST_START_TEST):
15506 Don't leak the factory.
15508 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15511 * win32/common/config.h:
15514 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15516 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15517 (gst_controller_unset_all):
15518 Free allocated GstTimedValues when freeing list nodes.
15519 Should fix leaks 'make check-valgrind' complains about.
15521 * win32/common/libgstcontroller.def:
15522 Add gst_controller_unset_all.
15524 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15526 * docs/libs/gstreamer-libs-sections.txt:
15527 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15528 (gst_controller_unset_all):
15529 * libs/gst/controller/gstcontroller.h:
15530 API: Added new method gst_controller_unset_all()
15531 fixed gst_controller_unset()
15532 * tests/check/libs/controller.c: (GST_START_TEST),
15533 (gst_controller_suite):
15534 Added two testcases for new and fixed method
15536 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15538 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15539 MSG_DONTWAIT is not defined on Cygwin, so work
15540 around that (fixes #317048).
15542 2006-04-11 Wim Taymans <wim@fluendo.com>
15544 * gst/gstelementfactory.c: (gst_element_register),
15545 (gst_element_factory_create), (gst_element_factory_make):
15548 Updated docs (Fixes #131079)
15550 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15553 * tests/check/gst/gstelement.c: (GST_START_TEST),
15554 (gst_element_suite):
15555 Added testcase for elementfactory class field.
15557 2006-04-10 Wim Taymans <wim@fluendo.com>
15559 * gst/gstsegment.c:
15560 Added some more docs.
15562 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15563 (gst_base_sink_reset_qos):
15564 Calculate more accurate rate values.
15566 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15568 * gst/gst_private.h:
15569 add a new #ifdef to use __declspec(dllimport) only for
15570 other modules and not for gstreamer core
15571 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15572 use gst_guint64_to_gdouble for conversion
15573 * win32/common/libgstreamer.def:
15574 add new exported functions
15575 * win32/vs6/gst_inspect.dsp:
15576 * win32/vs6/gst_launch.dsp:
15577 * win32/vs6/libgstbase.dsp:
15578 * win32/vs6/libgstcontroller.dsp:
15579 * win32/vs6/libgstcoreelements.dsp:
15580 * win32/vs6/libgstdataprotocol.dsp:
15581 * win32/vs6/libgstnet.dsp:
15582 update project files
15584 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15586 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15587 * gst/gstclock.c: (gst_clock_class_init):
15588 * gst/gstelement.c: (gst_element_class_init):
15589 * gst/gstindex.c: (gst_index_class_init):
15590 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15591 * gst/gstobject.c: (gst_object_class_init),
15592 (gst_signal_object_class_init):
15593 * gst/gstpad.c: (gst_pad_class_init):
15594 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15595 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15596 * gst/gstregistry.c: (gst_registry_class_init):
15597 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15598 * gst/gsttask.c: (gst_task_class_init):
15599 * gst/gstxml.c: (gst_xml_class_init):
15600 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15601 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15602 (gst_base_src_loop):
15603 * libs/gst/controller/gstcontroller.c:/
15604 (_gst_controller_class_init):
15605 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15606 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15607 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15608 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15609 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15610 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15612 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15614 * gst/gstpad.c: (gst_pad_link):
15615 Must set peer pads before calling the link function, otherwise
15616 a task started from a link function might get a flow-not-linked
15617 result when trying to push because the other thread where the
15618 linking happens hasn't had a chance to set the peers yet. This
15619 might happen for example when a queue gets linked to a downstream
15620 element, as queue starts a streaming task when its source pad
15621 gets linked. Happens in real life when playing back flac/musepack
15622 files in playbin (#332390).
15624 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15628 * libs/gst/base/gstadapter.h:
15629 * libs/gst/base/gstbasesink.h:
15630 * libs/gst/base/gstbasesrc.h:
15631 * libs/gst/base/gstbasetransform.h:
15632 * libs/gst/base/gstcollectpads.h:
15633 * libs/gst/base/gstpushsrc.h:
15634 Fix broken GObject macros
15636 2006-04-07 Wim Taymans <wim@fluendo.com>
15638 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15639 Initialize start and stop times, thanks valgrind.
15641 2006-04-07 Wim Taymans <wim@fluendo.com>
15643 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15644 Be a bit nicer to badly behaving upstream elements that expect
15645 us to deal with non TIME segments and timestamps (such as fakesrc
15648 2006-04-07 Wim Taymans <wim@fluendo.com>
15651 Small documentation clarification about the signal watch.
15653 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15654 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15655 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15656 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15657 (gst_base_sink_get_position_last),
15658 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15659 Convert and store timestamps in stream time and running time, the
15660 raw timestamps are not useful, also document this better.
15661 Use different window sizes for good and bad QoS observations so
15662 we react to badness a little quicker.
15663 Keep track of the amount of rendered and dropped buffers.
15664 Send QoS timestamps in running time.
15666 * libs/gst/base/gstbasetransform.c:
15667 (gst_base_transform_sink_eventfunc),
15668 (gst_base_transform_handle_buffer):
15669 Compare QoS timestamps against running time.
15671 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15674 Typo fixes in docs.
15676 2006-04-06 Michael Smith <msmith@fluendo.com>
15678 * gst/gstpad.c: (gst_pad_set_property):
15679 Use g_value_get_object() instead of g_value_dup_gst_object(),
15680 to avoid double-reffing the pad template (which we then sink,
15681 so this worked previously if (and only if) the pad template
15684 * gst/gstpadtemplate.c: (gst_pad_template_init),
15685 (gst_pad_template_pad_created):
15686 Never return floating references to pad templates, create
15687 them as initially-sunken.
15689 Document an extra function (and make this stop sinking our
15690 pad template, since that is now guaranteed to do nothing,
15691 since we created it sunken).
15693 * gst/gstghostpad.c:
15696 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15698 * gst/gstinfo.c: (__gst_in_valgrind):
15701 * plugins/elements/gsttypefindelement.c:
15702 (gst_type_find_element_chain):
15703 Don't leak buffer caps.
15705 2006-04-06 Michael Smith <msmith@fluendo.com>
15707 * gst/parse/grammar.y:
15708 Fix a leak in parse-launch for any source-or-sink named element
15711 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15712 Unref the pipeline if it exists after we've failed parsing.
15714 2006-04-05 Michael Smith <msmith@fluendo.com>
15716 * gst/gstpipeline.c: (gst_pipeline_init):
15717 When we create a pipeline bus, initially create it in flushing mode.
15718 Fixes leaks in at least one test, and makes a new pipeline work the
15719 same as one that has gone to READY and then back to NULL.
15721 * gst/gstelement.c:
15724 2006-04-05 Michael Smith <msmith@fluendo.com>
15726 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15727 Unref a pad we reffed.
15728 * tests/check/gst/gstutils.c: (GST_START_TEST):
15731 2006-04-05 Michael Smith <msmith@fluendo.com>
15733 * gst/gstquery.c: (gst_query_set_formats),
15734 (gst_query_set_formatsv):
15735 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15737 2006-04-05 Michael Smith <msmith@fluendo.com>
15739 * tests/check/generic/sinks.c: (GST_START_TEST):
15740 Fix a variety of memleaks in sinks check, which are only sometimes
15741 shown by running the tests under valgrind (weird?).
15743 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15745 * docs/version.entities.in:
15746 Fix the substituted entity name after thomas' changes on the
15749 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15751 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15754 2006-04-05 Andy Wingo <wingo@pobox.com>
15756 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15758 * libs/gst/base/gstbasetransform.c
15759 (gst_base_transform_sink_eventfunc): When resetting our segment on
15760 FLUSH_STOP, also update the flag saying we haven't seen a
15763 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15765 Patch by: Paolo Borelli <pborelli at katamail dot com>
15767 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15768 (gst_plugin_check_license):
15769 minor clean-ups: G_DEFINE_TYPE already takes care of the
15770 parent_class stuff, no need to do it twice. Mark array of
15771 license strings as constant. (#337103)
15773 2006-04-04 Michael Smith <msmith@fluendo.com>
15775 * tools/gst-inspect.c: (print_element_list):
15776 Free the right plugin list; fixes a memory leak.
15778 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15780 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15782 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15783 Don't error out on empty buffers (#336945).
15785 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15787 * docs/libs/gstreamer-libs-sections.txt:
15788 * gst/gsttaglist.c:
15789 * libs/gst/base/gstbasesink.c:
15790 * libs/gst/base/gstbasesink.h:
15791 * libs/gst/base/gstbasesrc.c:
15792 * libs/gst/base/gstbasesrc.h:
15793 Documentation updates. Make BaseSink and BaseSrc docs contain the
15794 class structure so that people can actually see the prototypes for
15795 virtual functions they're supposed to be overriding.
15797 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15799 * plugins/elements/gsttypefindelement.c:
15800 (gst_type_find_element_chain):
15801 More debug info; when skipping typefinding, send cached
15802 events in all cases.
15804 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15807 use new AS_VERSION and AS_NANO macros
15808 * gst/gst-i18n-lib.h:
15811 * gst/gstversion.h.in:
15812 * win32/common/config.h:
15813 * win32/common/config.h.in:
15816 2006-03-31 Michael Smith <msmith@fluendo.com>
15818 * plugins/elements/gsttypefindelement.c:
15819 (gst_type_find_element_chain):
15820 Do not typefind content if the buffers already have caps.
15821 Neccesary for icydemux (#333657), and the right thing to do anyway.
15823 2006-03-30 Wim Taymans <wim@fluendo.com>
15825 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15826 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15827 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15828 (gst_base_sink_record_qos_observation),
15829 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15830 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15831 (gst_base_sink_change_state):
15832 More QoS measurements as described in the design doc.
15833 Get rid of ringbuffer with observations, running average is
15834 more simple and equally good.
15835 Calculates valid proportion now.
15836 Added beginning of flood measurement.
15838 2006-03-29 Wim Taymans <wim@fluendo.com>
15840 * docs/design/part-qos.txt:
15842 Small documentation updates and additions.
15844 2006-03-29 Wim Taymans <wim@fluendo.com>
15846 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15847 (gst_base_src_send_event), (gst_base_src_loop),
15848 (gst_base_src_change_state):
15849 Perform the EOS logic when we reach the segment stop position.
15850 Fix compilation on gcc4.1
15852 2006-03-29 Wim Taymans <wim@fluendo.com>
15854 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15856 * plugins/elements/gstqueue.c: (gst_queue_init),
15857 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15858 (gst_queue_set_property):
15859 * plugins/elements/gstqueue.h:
15860 In queue, when EOS is received, if minimum threshold > max_size -
15861 current_level, there is chance that queue blocks forever in conditional
15862 item del wait. This is because the queue is not emptied completely due
15863 to minimum threshold. Here is another approach. Instead of setting
15864 cur_levels to max in EOS, just zero all minimum threshold levels. This
15865 should make sure that queue gives out all data. When going to READY
15866 (stop) state, just reset the original minimum threshold levels.
15869 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15871 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15872 (gst_type_find_element_handle_event),
15873 (gst_type_find_element_send_cached_events),
15874 (gst_type_find_element_change_state):
15875 * plugins/elements/gsttypefindelement.h:
15876 When typefinding is done in push mode, we should cache
15877 events we receive during typefinding instead of just
15878 dropping them (e.g. newsegment, custom events from
15879 dvdreadsrc etc.) and then send them out once we've
15880 determined the type of the stream (and decodebin
15881 has had a chance to plug in a decoder/demuxer).
15883 2006-03-27 Wim Taymans <wim@fluendo.com>
15885 * docs/design/part-qos.txt:
15888 2006-03-27 Wim Taymans <wim@fluendo.com>
15890 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15892 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15893 (gst_base_src_send_event), (gst_base_src_change_state):
15894 Handle element seek correctly when we are streaming.
15897 2006-03-24 Michael Smith <msmith@fluendo.com>
15899 * docs/faq/gst-uninstalled:
15900 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15901 allow you to correctly run intalled applications built against old
15902 core, using plugins that require updated core (e.g. running
15903 installed totem against a full uninstalled gstreamer stack)
15905 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15907 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15910 2006-03-24 Wim Taymans <wim@fluendo.com>
15912 * docs/gst/gstreamer-sections.txt:
15913 Rearrange the order of the methods so that related methods
15914 are grouped together in sections.
15916 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15918 * gst/gstelement.c:
15919 Little clarification in the docs
15921 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15925 * plugins/elements/gstidentity.c:
15926 * plugins/elements/gstqueue.c:
15927 * plugins/elements/gsttee.c:
15928 * plugins/elements/gsttypefindelement.c:
15929 GST_ELEMENT_DETAILS formatting
15931 2006-03-24 Wim Taymans <wim@fluendo.com>
15933 * libs/gst/base/gstbasesink.h:
15934 Only add fields, not insert or we break ABI.
15936 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15938 * win32/common/libgstbase.def:
15939 * win32/common/libgstreamer.def:
15940 Update, add recently added functions.
15942 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15944 * docs/gst/gstreamer-sections.txt:
15945 * gst/gstutils.c: (gst_pad_query_peer_position),
15946 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15948 API: add some new utility functions:
15949 - gst_pad_query_peer_position()
15950 - gst_pad_query_peer_duration()
15951 - gst_pad_query_peer_convert()
15953 2006-03-23 Wim Taymans <wim@fluendo.com>
15955 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15956 (gst_base_sink_init), (gst_base_sink_finalize),
15957 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15958 (gst_base_sink_set_property), (gst_base_sink_get_property),
15959 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15960 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15961 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15962 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15963 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15964 (gst_base_sink_preroll_object), (gst_base_sink_event),
15965 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15966 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15967 (gst_base_sink_query), (gst_base_sink_change_state):
15968 Decouple max-lateness and the fact that QoS messages are generated
15969 with a new property (qos).
15970 added API: GstBaseSink::async_play()
15971 Add vmethod so subclasses can be notified of ASYNC playing
15973 Collect timestamp start and stop to report better current
15974 position in EOS/PLAYING/PAUSED/READY/NULL.
15975 Refactor QoS/frame dropping and other measurements.
15976 API: GstBaseSrc::qos
15979 * libs/gst/base/gstbasesink.h:
15980 Added Private struct.
15981 API: gst_base_sink_set_qos_enabled()
15982 API: gst_base_sink_is_qos_enabled()
15984 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15986 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15987 If compiling against GLib-2.8 or newer, try to read the
15988 registry file using GMappedFile first before falling back
15989 to fopen() + fread() (#332151).
15991 2006-03-22 Wim Taymans <wim@fluendo.com>
15993 * gst/gstinfo.c: (gst_debug_set_active),
15994 (gst_debug_category_set_threshold):
15995 Disable debugging unless explicitly activated.
15998 2006-03-22 Wim Taymans <wim@fluendo.com>
16000 * gst/gstelement.c: (gst_element_set_locked_state),
16001 (gst_element_dispose):
16002 Cleanup the error case.
16004 * gst/gstobject.c: (gst_object_dispose):
16005 print a critical when some object was disposed with
16006 a parent, also revive the object since it might
16009 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16011 * tools/gst-launch.1.in:
16014 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16017 * tests/check/Makefile.am:
16018 disable some tests when we don't have a registry
16019 * tests/check/gst/gstutils.c: (gst_utils_suite):
16020 don't build the part that needs parsing
16022 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16025 * tests/examples/Makefile.am:
16026 fix --disable-parse build
16028 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16030 * tools/gst-feedback.1.in:
16031 Fix typo: s/feeback/feedback/ (#133494).
16033 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16035 * tools/Makefile.am:
16036 * tools/gst-launch.1.in:
16037 Add FILES section and correct entry about GST_REGISTRY_PATH
16038 environment variable (#133495; #133494).
16040 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16042 * tools/Makefile.am:
16043 * tools/gst-md5sum.1.in:
16044 * tools/gst-md5sum.c:
16045 Remove gst-md5sum and man page (the md5sink element
16046 required was removed ages ago)
16048 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16050 * gst/gststructure.c: (gst_structure_id_set_value):
16051 Make sure that string fields in structures/taglists
16052 contain valid UTF-8 - we don't want to pass rubbish to
16053 applications because of a buggy plugin (cp. #334167).
16055 2006-03-21 Edward Hervey <edward@fluendo.com>
16057 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16058 (gst_bin_handle_message_func):
16059 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16060 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16061 (gst_element_set_bus_func):
16062 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16063 * gst/gstminiobject.c: (gst_value_set_mini_object),
16064 (gst_value_take_mini_object):
16065 * gst/gstpad.c: (gst_pad_set_pad_template):
16066 * gst/gstpipeline.c: (gst_pipeline_dispose),
16067 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16068 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16069 (gst_collect_pads_chain):
16070 * libs/gst/net/gstnettimeprovider.c:
16071 (gst_net_time_provider_set_property):
16072 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16073 It's in fact all issues with gst_*object_replace().
16075 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16077 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16079 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16080 * pkgconfig/gstreamer-check.pc.in:
16081 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16083 2006-03-21 Edward Hervey <edward@fluendo.com>
16087 * gst/gstmessage.h:
16088 gst_[buffer|event|message]_ref() macros are replaced by a static
16089 inline functions because gcc-4.1 will about if the return value
16091 * tests/check/gst/gstevent.c: (event_probe):
16092 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16094 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16097 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16098 the type' case. (Closes: #335195 for now). In the future, when we
16099 depend on GLib 2.10, we could also intern the type name using
16100 g_intern_static_string()
16102 2006-03-20 Wim Taymans <wim@fluendo.com>
16104 * gst/gstbin.c: (gst_bin_handle_message_func),
16105 (bin_query_max_init), (bin_query_position_fold),
16106 (bin_query_position_done), (gst_bin_query):
16107 Position query should also take max of all streams.
16109 2006-03-20 Wim Taymans <wim@fluendo.com>
16111 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16112 (gst_fake_src_finalize):
16113 Fix leaks in fakesrc.
16115 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16116 Fix leaks in the testcase.
16118 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16120 * gst/gst_private.h:
16121 add win32 specific import decoration(__declspec(dllimport))
16122 for all extern GstDebugCategory * variables
16123 * win32/common/libgstbase.def:
16124 * win32/common/libgstcontroller.def:
16125 * win32/common/libgstreamer.def:
16126 Add some exports, remove empty lines
16127 * win32/common/libgstdataprotocol.def:
16128 * win32/common/libgstdataprotocol.dsp:
16129 * win32/common/libgstnet.def:
16130 * win32/common/libgstnet.dsp:
16131 new project files and exportation files added
16133 2006-03-19 Wim Taymans <wim@fluendo.com>
16135 * tests/check/libs/basesrc.c: (eos_event_counter):
16136 Use proper return value for probe.
16138 2006-03-17 Wim Taymans <wim@fluendo.com>
16140 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16142 Don't leak buffers, caps and pads on negotiation errors.
16144 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16146 * docs/faq/cvs.xml:
16147 * docs/faq/dependencies.xml:
16148 * docs/faq/developing.xml:
16149 * docs/faq/faq.xml:
16150 * docs/faq/general.xml:
16151 * docs/faq/getting.xml:
16152 * docs/faq/legal.xml:
16153 * docs/faq/troubleshooting.xml:
16154 * docs/faq/using.xml:
16155 Faq review and update.
16157 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16159 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16161 Don't pound the cpu to pieces by checking get_caps when accept_caps
16162 is called with the same caps as the pad already has.
16163 Use GST_DEBUG_OBJECT when outputting caps change information.
16165 2006-03-15 Wim Taymans <wim@fluendo.com>
16167 * gst/gstclock.c: (gst_clock_class_init):
16170 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16175 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16176 (gst_pad_accept_caps), (gst_pad_configure_sink),
16177 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16178 Make the default acceptcaps behaviour be to check the requested
16179 caps against the gst_pad_get_caps output.
16181 Ensure that gst_pad_accept_caps is used to check caps when a pad
16182 doesn't have a setcaps function, so that pads automatically refuse
16183 caps that they don't allow in their pad template. (Fixes #332986)
16185 When a buffer with attached caps is pushed, ensure that the source
16186 pad receives those caps even if the element didn't call
16187 gst_pad_set_caps first.
16189 2006-03-15 Wim Taymans <wim@fluendo.com>
16191 * libs/gst/base/gstadapter.c:
16194 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16196 * win32/common/libgstbase.def:
16197 * win32/common/libgstcontroller.def:
16198 * win32/common/libgstreamer.def:
16199 Add a whole bunch of missing functions (#334434).
16201 2006-03-14 Wim Taymans <wim@fluendo.com>
16203 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16204 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16205 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16206 Better debug info when we receive a segment event.
16207 Reorganize a bit so we can pass the get_times() results around.
16208 Use the segment format when calculating the running time.
16209 Don't do QoS is sync is disabled or we have no clock or the
16210 element does not want us to sync to the clock.
16211 Don't drop buffers if QoS is disabled for now.
16213 2006-03-14 Wim Taymans <wim@fluendo.com>
16215 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16216 Marked the stats property as unimplemented so people don't get
16218 Add debug message when regression goes wrong.
16219 Added some more docs.
16221 2006-03-14 Wim Taymans <wim@fluendo.com>
16223 * gst/gstsegment.c: (gst_segment_to_stream_time):
16224 Return correct return type in case of errors.
16226 2006-03-14 Wim Taymans <wim@fluendo.com>
16228 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16229 Don't segfault on invalid formats.
16231 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16233 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16234 Can't use gst_segment_to_running_time() when the segment
16235 is not in GST_TIME_FORMAT (like with filesink, for example).
16236 Stops flac encoding pipelines from spewing critical warnings
16239 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16241 * gst/gstpipeline.c: (gst_pipeline_class_init):
16242 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16244 * plugins/elements/gsttypefindelement.c:
16245 (gst_type_find_element_handle_event):
16246 Don't try to typefind empty streams.
16248 2006-03-14 Wim Taymans <wim@fluendo.com>
16250 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16251 (gst_base_sink_do_qos):
16252 Separate QoS calculation.
16253 Only drop buffers when lateness is bigger than the
16254 duration of the buffer.
16256 2006-03-13 Wim Taymans <wim@fluendo.com>
16258 * gst/gstpipeline.c: (gst_pipeline_set_property),
16259 (gst_pipeline_get_property), (do_pipeline_seek),
16260 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16261 (gst_pipeline_get_delay):
16262 Don't deadlock when reading properties.
16264 2006-03-13 Wim Taymans <wim@fluendo.com>
16266 * libs/gst/base/gstbasetransform.c:
16267 (gst_base_transform_class_init), (gst_base_transform_init),
16268 (gst_base_transform_sink_event),
16269 (gst_base_transform_sink_eventfunc),
16270 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16271 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16272 (gst_base_transform_set_property),
16273 (gst_base_transform_get_property),
16274 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16275 (gst_base_transform_set_qos_enabled),
16276 (gst_base_transform_is_qos_enabled):
16277 * libs/gst/base/gstbasetransform.h:
16278 Make basetransform virtual method for src events too.
16279 Handle QOS in basetransform.
16280 API: gst_base_transform_update_qos()
16281 API: gst_base_transform_set_qos_enabled()
16282 API: gst_base_transform_is_qos_enabled()
16284 2006-03-13 Wim Taymans <wim@fluendo.com>
16286 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16287 (gst_base_sink_do_sync):
16289 Use QOS debug category.
16291 2006-03-13 Wim Taymans <wim@fluendo.com>
16293 * plugins/elements/gstqueue.c:
16294 Very small doc update.
16296 2006-03-13 Wim Taymans <wim@fluendo.com>
16298 * gst/gst_private.h:
16299 * gst/gstinfo.c: (_gst_debug_init):
16300 Added QOS debug category
16302 2006-03-13 Wim Taymans <wim@fluendo.com>
16304 * docs/gst/gstreamer-sections.txt:
16305 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16307 * gst/gstbus.c: (gst_bus_class_init):
16310 * gst/gstelement.c: (gst_element_set_locked_state):
16311 * gst/gstsegment.c:
16312 Documentation updates.
16314 * gst/gstpipeline.c: (gst_pipeline_get_type),
16315 (gst_pipeline_class_init), (gst_pipeline_init),
16316 (gst_pipeline_dispose), (gst_pipeline_set_property),
16317 (gst_pipeline_get_property), (do_pipeline_seek),
16318 (gst_pipeline_send_event), (gst_pipeline_change_state),
16319 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16320 (gst_pipeline_get_delay):
16321 * gst/gstpipeline.h:
16322 Added methods for setting the delay.
16323 API: gst_pipeline_set_delay()
16324 API: gst_pipeline_get_delay()
16325 Add pipeline debug category
16328 Don't reset stream time when seek failed.
16330 2006-03-13 Wim Taymans <wim@fluendo.com>
16332 * docs/design/draft-klass.txt:
16333 * docs/design/part-clocks.txt:
16334 * docs/design/part-events.txt:
16335 * docs/design/part-gstbin.txt:
16336 * docs/design/part-gstpipeline.txt:
16337 * docs/design/part-messages.txt:
16338 * docs/design/part-negotiation.txt:
16339 * docs/design/part-overview.txt:
16340 * docs/design/part-preroll.txt:
16341 * docs/design/part-seeking.txt:
16342 * docs/design/part-states.txt:
16343 * docs/design/part-streams.txt:
16344 Documentation updates.
16346 2006-03-12 Julien MOUTTE <julien@moutte.net>
16348 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16349 us to leak strings...
16351 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16353 * libs/gst/net/gstnettimeprovider.c:
16355 * win32/common/config.h:
16358 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16360 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16363 Don't check for libgnomeui (leftover from old examples
16364 that aren't built or disted any longer) (#334303).
16366 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16368 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16369 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16370 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16371 there's no space left on the device.
16373 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16376 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16377 to cast the input to GstClockTime before comparing with
16378 another GstClockTime value.
16380 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16385 === release 0.10.4 ===
16387 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16390 releasing 0.10.4, "Light"
16392 2006-03-10 Michael Smith <msmith@fluendo.com>
16394 * libs/gst/dataprotocol/dataprotocol.c:
16395 Fix docs for dataprocotol to not get the return types completely
16396 wrong for a few functions.
16398 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16400 * docs/gst/gstreamer-sections.txt:
16401 * gst/gstpipeline.c: (gst_pipeline_class_init),
16402 (gst_pipeline_init), (gst_pipeline_set_property),
16403 (gst_pipeline_get_property), (gst_pipeline_change_state),
16404 (gst_pipeline_set_auto_flush_bus),
16405 (gst_pipeline_get_auto_flush_bus):
16406 * gst/gstpipeline.h:
16407 Add new API: gst_pipeline_set_auto_flush_bus() and
16408 gst_pipeline_get_auto_flush_bus() to disable automatic
16409 flushing of the pipeline's GstBus when going from READY
16410 to NULL state (#332045).
16412 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16414 * docs/gst/gstreamer-sections.txt:
16415 * gst/gsturi.c: (gst_uri_has_protocol):
16417 Add new API: gst_uri_has_protocol() (#333779).
16419 2006-03-09 Wim Taymans <wim@fluendo.com>
16421 * gst/gstclock.c: (gst_clock_entry_new),
16422 (gst_clock_id_compare_func), (gst_clock_id_wait),
16423 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16424 (gst_clock_init), (gst_clock_get_internal_time),
16425 (gst_clock_set_master), (do_linear_regression),
16426 (gst_clock_add_observation), (gst_clock_set_property):
16430 Fix a possible segfault when the window-size is made smaller.
16431 Calculate jitter before performing the clock wait. Ideally
16432 the clock implementation should calculate jitter but we need
16433 API breakage for that.
16435 * gst/gstsystemclock.c: (gst_system_clock_init):
16438 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16439 Remove leftover else
16441 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16442 (gst_systemclock_suite):
16443 Added check to test GST_CLOCK_DIFF.
16445 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16447 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16448 (gst_type_find_helper_get_range):
16449 If we are provided with the size, we should implement
16450 GstTypeFind::get_length, so that typefind functions who
16451 want to can actually peek at the middle of a file.
16453 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16455 * docs/manual/advanced-dataaccess.xml:
16456 Add some very very basic error checking.
16458 * docs/pwg/appendix-checklist.xml:
16459 Some updates to the list of things to check when writing an element.
16461 2006-03-08 Wim Taymans <wim@fluendo.com>
16463 * docs/design/part-element-transform.txt:
16464 Added some docs about the design of tranform elements.
16466 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16467 (gst_base_src_loop), (gst_base_src_change_state):
16468 Mark buffers with the DISCONT flag.
16470 2006-03-08 Michael Smith <msmith@fluendo.com>
16472 * gst/gstregistry.h:
16473 * gst/gstregistryxml.c: (gst_registry_save),
16474 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16475 (gst_registry_xml_save_pad_template),
16476 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16477 (gst_registry_xml_write_cache):
16478 Rewrite registry-saving to avoid race conditions and check for
16481 2006-03-08 Wim Taymans <wim@fluendo.com>
16483 * libs/gst/base/gstbasetransform.c:
16484 (gst_base_transform_transform_caps),
16485 (gst_base_transform_transform_size),
16486 (gst_base_transform_prepare_output_buffer),
16487 (gst_base_transform_get_unit_size),
16488 (gst_base_transform_buffer_alloc),
16489 (gst_base_transform_handle_buffer),
16490 (gst_base_transform_change_state):
16491 Cleanups, separate normal flow from errors, add sensible
16493 Don't try to renegotiate when allocating an output buffer.
16494 Also copy DISCONT buffer flag when copying a buffer.
16495 Reset the transform after we finish streaming, not during.
16497 2006-03-08 Wim Taymans <wim@fluendo.com>
16499 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16500 Use last buffer timestamp in qos message.
16502 2006-03-07 Wim Taymans <wim@fluendo.com>
16504 Patch by: Christophe Fergeau
16506 * docs/pwg/advanced-tagging.xml:
16507 * docs/pwg/building-pads.xml:
16510 2006-03-07 Wim Taymans <wim@fluendo.com>
16512 * docs/libs/gstreamer-libs-sections.txt:
16513 Added basesink new methods.
16517 Docs updates. Flesh out the QoS docs.
16519 * libs/gst/base/gstadapter.c:
16520 Small doc clarification about ownership and flushing.
16522 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16523 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16524 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16525 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16526 * libs/gst/base/gstbasesink.h:
16528 Added new methods to allow subclass to control max-lateness
16530 Generate very basic QoS events based on last sync observation.
16531 Updated docs, fix typo, added some QoS blurb.
16533 * libs/gst/base/gstbasesrc.c:
16534 Remove obsolete _get_state() calls from docs.
16536 2006-03-07 Wim Taymans <wim@fluendo.com>
16538 * docs/libs/gstreamer-libs-sections.txt:
16539 * libs/gst/base/gstbasetransform.h:
16540 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16541 Fix docs for GstBaseSrc.
16543 2006-03-07 Wim Taymans <wim@fluendo.com>
16545 * docs/gst/gstreamer-sections.txt:
16548 * libs/gst/base/gstbasetransform.h:
16549 Small documentation fixes.
16551 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16554 Document thread-unsafety of gst_value_register_foo_func()
16555 when used at the same time as gst_value_foo() (#322628).
16557 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16559 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16560 (gst_push_src_check_get_range):
16561 Push sources don't support pull mode by default.
16563 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16565 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16566 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16567 (gst_base_src_default_check_get_range):
16568 * libs/gst/base/gstbasesrc.h:
16569 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16570 provide default implementation, and rename
16571 gst_base_src_check_get_range() to
16572 gst_base_src_pad_check_get_range() for clarity.
16574 2006-03-06 Wim Taymans <wim@fluendo.com>
16576 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16577 Make property overridable.
16579 2006-03-06 Wim Taymans <wim@fluendo.com>
16581 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16582 (gst_base_sink_init), (gst_base_sink_set_property),
16583 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16584 * libs/gst/base/gstbasesink.h:
16585 API addition: Make max-lateness a property.
16587 2006-03-06 Wim Taymans <wim@fluendo.com>
16589 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16590 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16591 Don't ever draw a frame that is >10ms late.
16593 2006-03-06 Michael Smith <msmith@fluendo.com>
16595 * gst/gstmessage.c: (_gst_message_copy):
16596 When copying a message, set the parent_refcount of the enclosed
16597 structure to point at the copy, not the original message.
16599 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16601 Patch by: Christophe Fergeau
16604 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16605 usable in c++ code (#333417)
16607 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16610 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16612 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16614 * libs/gst/base/gstbasetransform.c:
16615 (gst_base_transform_transform_caps):
16616 Make sure caps are writable before passing them to
16619 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16622 Fix some minor docs errors.
16624 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16626 Patch by: Ross Burton <ross at burtonini dot com>
16628 * gst/gsterror.c: (_gst_resource_errors_init):
16630 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16632 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16635 Add a check and output a g_warning when GStreamer is built
16636 against GLib 2.6 but running against 2.8 or higher, and vice
16637 versa. (Closes: #323542)
16639 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16641 * gst/parse/parse.l:
16642 Commit patch for parse_launch syntax from #331255. Removes
16643 support for quoted strings and mimetypes when writing filtered
16644 caps. See the bug report for more details - I'm pretty sure this
16645 obscure feature is not in use by _anyone_ anywhere.
16647 With this simple change, the size of the gstreamer.so here
16648 drops from 2193KB to 1565KB.
16650 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16652 * plugins/elements/gsttypefindelement.h:
16653 * plugins/elements/gsttypefindelement.c:
16654 (gst_type_find_element_src_event), (start_typefinding),
16655 (stop_typefinding), (gst_type_find_element_handle_event),
16656 (gst_type_find_element_chain),
16657 (gst_type_find_element_chain_do_typefinding):
16658 Use gst_type_find_helper_for_buffer() for chain-based
16661 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16663 * plugins/elements/gsttypefindelement.c:
16664 (gst_type_find_element_class_init),
16665 (gst_type_find_element_set_property),
16666 (gst_type_find_element_get_property):
16667 Deprecate "maximum" property (not only was it only taken into
16668 account for typefinding in push-mode anyway, it also was never
16669 actually possible to set it in the first place because the
16670 property was registered with the numeric property ID for the
16671 "minimum" property). Register "maximum" property correctly,
16672 for the sake of future copy'n'pasters. Remove some cruft
16673 from property get/set functions.
16675 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16677 * plugins/elements/gsttypefindelement.c:
16678 (gst_type_find_element_activate):
16679 Use gst_type_find_helper_get_range() here, so we
16680 can honour the "minimum" property and also emit
16681 the signal with the correct probability of the found caps.
16683 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16685 * docs/libs/gstreamer-libs-sections.txt:
16686 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16687 (helper_find_suggest), (gst_type_find_helper_get_range),
16688 (gst_type_find_helper):
16689 * libs/gst/base/gsttypefindhelper.h:
16690 New API: gst_type_find_helper_get_range() (#333042).
16692 2006-03-02 Michael Smith <msmith@fluendo.com>
16694 * gst/gstregistryxml.c: (load_feature):
16695 Asserting on a failure to read part of the registry is Not Cool.
16696 Just log a warning and return NULL (which is already handled)
16698 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16700 * win32/common/libgstbase.def:
16701 added export of gst_type_find_helper_for_buffer
16702 * win32/common/libgstbase.def:
16703 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16704 gst_ghost_pad_get_target
16706 2006-02-28 Wim Taymans <wim@fluendo.com>
16708 * docs/design/draft-klass.txt:
16710 Added Connector to mark elements that are only used to
16711 allow pipeline connections.
16712 Moved Debug to extra feature since most of them are
16713 functionally something else.
16715 2006-02-28 Wim Taymans <wim@fluendo.com>
16717 * docs/design/draft-klass.txt:
16718 Some updates and clarifications.
16720 2006-02-28 Wim Taymans <wim@fluendo.com>
16722 * docs/design/draft-klass.txt:
16723 Proposal for klass field values.
16725 * docs/design/part-streams.txt:
16726 Start of a doc describing stream anatomy.
16728 2006-02-28 Wim Taymans <wim@fluendo.com>
16730 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16731 Help the compiler a bit with type registration.
16732 Use existing forward cod path instead of duplicating it when
16733 handling a message.
16735 * gst/gstbus.c: (gst_bus_get_type):
16736 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16737 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16738 * gst/gstclock.c: (gst_clock_get_type):
16739 * gst/gstelement.c: (gst_element_get_type),
16740 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16741 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16742 * gst/gstminiobject.c: (gst_mini_object_get_type):
16743 * gst/gstpad.c: (gst_pad_get_type):
16744 * gst/gstsegment.c: (gst_segment_get_type):
16745 * gst/gststructure.c: (gst_structure_get_type):
16746 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16747 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16749 Help compiler with type registration.
16751 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16754 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16756 * plugins/elements/gsttypefindelement.c:
16757 (gst_type_find_element_handle_event):
16758 When we get an EOS event and have not found a type yet
16759 (most likely because we had not yet accumulated
16760 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16761 type given the data we have so far. Fixes typefinding
16762 for very short streams again, most notably quicktime
16763 redirections as used on Apple's trailer site (#331701).
16765 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16767 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16768 (gst_type_find_helper):
16769 Try typefinding factories with the highest rank first.
16771 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16773 * docs/libs/gstreamer-libs-docs.sgml:
16774 * docs/libs/gstreamer-libs-sections.txt:
16775 * libs/gst/base/gsttypefindhelper.c:
16776 Add section for typefind helper and add documentation
16777 for the old and the new function.
16779 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16781 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16782 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16783 (gst_type_find_helper_for_buffer):
16784 * libs/gst/base/gsttypefindhelper.h:
16785 New API: gst_type_find_helper_for_buffer() (#332723).
16787 2006-02-27 Michael Smith <msmith@fluendo.com>
16789 Patch by: Loïc Minier
16792 * docs/Makefile.am:
16793 * docs/slides/Makefile.am:
16794 prevent CVS directories getting disted.
16796 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16798 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16799 Use the REFCOUNTING category for caps refcounting.
16801 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16803 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16804 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16806 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16808 * plugins/elements/gsttypefindelement.c:
16809 (gst_type_find_element_activate):
16810 Use gst_pad_check_pull_range() before _activate_pull()
16811 to avoid unnecessary open/close (see #331690).
16813 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16816 Docs enhancement: make it crystal clear what the
16817 gst_pad_add_*_probe() callbacks should look like.
16819 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16821 * libs/gst/base/gstbasesrc.c:
16822 Document how applications can stop recording from
16823 live sources (see #330996).
16825 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16827 * tests/check/Makefile.am:
16828 * tests/check/libs/basesrc.c: (eos_event_counter),
16829 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16830 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16831 (gst_basesrc_suite), (main):
16832 ... and add some tests for the base source EOS stuff.
16834 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16836 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16837 Test case originally showed the problem fixed below,
16838 but was then amended. Add checks back at the place
16839 where they used to be.
16841 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16843 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16844 (gst_base_src_init), (gst_base_src_loop),
16845 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16846 (gst_base_src_change_state):
16847 * libs/gst/base/gstbasesrc.h:
16848 Don't unconditionally send EOS when going from PAUSED to
16849 READY state, esp. make sure we don't send two EOS events
16850 in some cases (e.g. one when reaching EOS and one when
16851 going from PAUSED to READY). Also, we don't want to send
16852 EOS events when operating in pull mode. However, we do
16853 want to send an EOS event when shutting down a live
16854 source explicitly, for example (fixes #330996).
16856 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16858 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16859 Update src->read_position after a seek when not using mmap.
16860 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16862 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16868 Make things work with --disable-parse as they do with
16869 --disable-load-save - the symbols involved disappear, but the
16870 header is still installed and GST_DISABLE_PARSE is included via
16873 2006-02-20 Julien MOUTTE <julien@moutte.net>
16875 * libs/gst/base/gstbasetransform.c:
16876 (gst_base_transform_change_state): Fix a stupid bug. I was
16877 sure I compiled that.
16879 2006-02-20 Julien MOUTTE <julien@moutte.net>
16881 * gst/gstpad.c: (gst_pad_set_blocked_async):
16882 * gst/gstutils.c: (gst_pad_add_data_probe),
16883 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16884 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16885 (gst_pad_remove_buffer_probe): Make those function act on the
16886 ghostpad target when it's a ghostpad. (Closes #331727)
16888 2006-02-20 Julien MOUTTE <julien@moutte.net>
16890 * libs/gst/base/gstbasetransform.c:
16891 (gst_base_transform_change_state): Make basetransform reusable.
16894 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16896 * docs/random/release:
16897 Move the current documentation of how to do a release to the top
16900 * gst/gstbin.c: (gst_bin_class_init),
16901 (gst_bin_handle_message_func):
16902 Allow multiple state-recalculation threads. (Closes #328873)
16904 2006-02-19 Julien MOUTTE <julien@moutte.net>
16906 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16907 * gst/gstpad.c: (gst_pad_set_event_function),
16908 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16909 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16910 2 strings. You can't use the STR_NULL macro on that.
16912 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16914 * gst/gstpad.c: (gst_pad_set_event_function),
16915 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16916 (gst_pad_set_getcaps_function)
16917 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16918 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16919 So now, we can use --gst-debug-level=5 on Windows
16920 * win32/common/libgstcontroller.def:
16921 Added export of gst_controller_init
16922 * win32/vs6/libgstcontroller.dsp:
16923 Fixed Release post build configuration
16925 2006-02-17 Wim Taymans <wim@fluendo.com>
16927 * tests/check/gst/gstquery.c: (GST_START_TEST):
16928 Added another check.
16930 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16932 * plugins/elements/gsttypefindelement.c: (find_peek):
16933 We can do peeks at non-zero offsets, as long as they
16934 fall within the buffer we have.
16936 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16938 * tests/check/Makefile.am:
16939 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16940 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16941 (parse_suite), (main):
16942 Add testsuite for parse launch syntax
16944 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16946 * plugins/elements/gsttypefindelement.c:
16947 (gst_type_find_element_chain):
16948 When typefinding is unsuccessful in the chain function, don't
16949 error out immediately. Only error out with NO_CAPS_FOUND if
16950 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16951 otherwise simply wait for more data so we can try typefinding
16952 again with more data later. Also, don't attempt to typefind
16953 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16954 this should improve typefinding from network sources where the
16955 size of the first buffer can be somewhat random.
16957 2006-02-14 Wim Taymans <wim@fluendo.com>
16959 * docs/gst/gstreamer-sections.txt:
16960 * gst/gstpadtemplate.c:
16961 * gst/gstpadtemplate.h:
16962 Fix padtemplate docs, fixes #328805.
16964 2006-02-14 Wim Taymans <wim@fluendo.com>
16966 * tools/gst-launch.c: (main):
16967 NO_PREROLL is not an ERROR so don't send confusing messages
16970 2006-02-14 Wim Taymans <wim@fluendo.com>
16972 Patch by: Torsten Schoenfeld
16974 * gst/gstregistry.c: (gst_registry_get_default),
16975 (_gst_registry_cleanup):
16976 Protect default registry with lock and ref/sink it.
16979 2006-02-14 Wim Taymans <wim@fluendo.com>
16982 * gst/gstquery.c: (gst_query_list_add_format),
16983 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16984 (gst_query_parse_formats_nth):
16985 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16988 2006-02-14 Wim Taymans <wim@fluendo.com>
16990 * docs/gst/gstreamer-sections.txt:
16991 Reworked query docs.
16993 * gst/gstquery.c: (gst_query_new_formats),
16994 (gst_query_list_add_format), (gst_query_set_formats),
16995 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16996 (gst_query_parse_formats_nth):
16998 Flesh out formats query, added some new methods.
16999 Fix part of #324398.
17001 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17002 Added query creation tests.
17004 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17006 * gst/gstpad.c: (fixate_value):
17007 Add a default fixation for fraction lists.
17009 2006-02-13 Wim Taymans <wim@fluendo.com>
17011 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17012 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17015 Detect and warn for obvious deadlocks. fixes #320340
17016 Fix error case where lock was not released.
17018 * tests/check/Makefile.am:
17019 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17020 (task_func), (gst_element_suite), (main):
17023 2006-02-13 Wim Taymans <wim@fluendo.com>
17025 * docs/gst/gstreamer-sections.txt:
17027 Add new functions to docs.
17029 2006-02-13 Wim Taymans <wim@fluendo.com>
17031 * docs/design/part-TODO.txt:
17032 Updated TODO list, basesrc supports seeking to non-bytes
17035 * docs/design/part-element-sink.txt:
17038 * gst/gstbin.c: (bin_replace_message),
17039 (gst_bin_handle_message_func):
17040 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17041 * gst/gstevent.c: (gst_event_finalize):
17042 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17043 (gst_pad_send_event):
17044 Use shiny new _TYPE_NAME macros.
17046 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17047 Move debug statement up.
17049 * gst/gstelement.c: (gst_element_set_locked_state):
17050 Add some debugging.
17052 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17054 * docs/gst/gstreamer-sections.txt:
17055 * gst/gstmessage.h:
17057 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17058 macros (#330906). Also, document the already existing
17059 GST_QUERY_TYPE macro.
17061 2006-02-13 Wim Taymans <wim@fluendo.com>
17063 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17064 (event_probe), (GST_START_TEST):
17065 Only events up to the pipeline EOS are counted, there are
17066 some more when going to NULL currently which we don't care
17069 2006-02-13 Wim Taymans <wim@fluendo.com>
17071 * gst/gstpad.c: (gst_pad_send_event):
17072 Correctly check flushing and emit probes. fixes #330125
17074 2006-02-10 Andy Wingo <wingo@pobox.com>
17076 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17078 (gst_bus_init): Cache the location of the private data in the
17079 instance structure.
17080 (gst_bus_enable_sync_message_emission)
17081 (gst_bus_disable_sync_message_emission): Implement new public
17083 (gst_bus_post): Emit the sync-message signal if the user asked for
17086 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17087 location of the bus-private structure.
17088 (gst_bus_enable_sync_message_emission)
17089 (gst_bus_disable_sync_message_emission): API addition
17091 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17093 Patch by: Vincent Torri
17095 * docs/pwg/building-boiler.xml:
17096 PWG patch from #326800
17098 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17101 * docs/Makefile.am:
17102 * docs/design/Makefile.am:
17105 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17110 === release 0.10.3 ===
17112 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17115 releasing 0.10.3, "Like a virgin"
17117 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17120 2nd prerelease of 0.10.3
17121 Bump libtool versioning.
17123 2006-02-07 Andy Wingo <wingo@pobox.com>
17125 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17126 update last_stop if we're in TIME format and the timestamp is
17129 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17130 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17131 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17132 If we get a new newsegment with a different format, adapt
17135 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17136 of 0. Not a problem, really.
17138 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17141 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17146 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17149 project files updated to the default vs7 configuration
17150 * win32/common/libgstbase.def:
17151 * win32/common/libgstreamer.def:
17153 removed empty lines,
17154 sorted all exported symbols alphabetically
17155 * win32/common/dirent.c:
17156 * win32/common/dirent.h:
17157 * win32/common/gchar.h:
17158 use windows line end.
17160 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17162 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17163 Send EOS event when stopping.
17165 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17168 Tell folks what to do if the plugin-foobar.xml file
17169 hasn't been generated for a newly-added plugin.
17171 2006-02-05 Julien MOUTTE <julien@moutte.net>
17173 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17174 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17175 (gst_collect_pads_start), (gst_collect_pads_stop),
17176 (gst_collect_pads_event): Collectpads now holds a reference
17177 to the GstPad that was added. Indeed we don't want to look
17178 at pads that might just go away with no warning...
17180 2006-02-05 Julien MOUTTE <julien@moutte.net>
17182 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17183 (gst_collect_pads_start), (gst_collect_pads_stop),
17184 (gst_collect_pads_event), (gst_collect_pads_chain):
17185 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17186 Mark Nauwelaerts's patch on bug #328491.
17188 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17190 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17192 Add some simple tests for gst_parse_bin_from_description() and
17193 gst_bin_find_unconnected_pad() (#329069).
17195 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17197 * tools/gst-launch.c: (event_loop), (main):
17198 Catch errors during preroll (#320084).
17200 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17202 * plugins/elements/gsttypefindelement.c:
17203 (gst_type_find_element_activate):
17204 Post TYPE_NOT_FOUND error message when typefinding
17205 is unsuccessful in the activate function as well.
17207 2006-02-02 Wim Taymans <wim@fluendo.com>
17209 * docs/design/part-element-sink.txt:
17212 2006-02-02 Wim Taymans <wim@fluendo.com>
17214 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17215 (gst_base_sink_render_object),
17216 (gst_base_sink_queue_object_unlocked):
17217 Only keep track of prerollable items when we are
17219 Before rendering after preroll, always check if we
17221 Added some more debugging.
17223 2006-02-02 Wim Taymans <wim@fluendo.com>
17225 * gst/gstelement.c: (gst_element_continue_state),
17226 (gst_element_set_state_func), (gst_element_change_state):
17227 Fixed #326576, been running this for quite some time with
17228 no regressions at all.
17230 2006-02-02 Wim Taymans <wim@fluendo.com>
17233 Added more suppressions
17235 2006-02-02 Wim Taymans <wim@fluendo.com>
17237 * docs/design/part-element-sink.txt:
17240 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17241 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17242 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17243 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17244 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17245 (gst_base_sink_preroll_object),
17246 (gst_base_sink_queue_object_unlocked),
17247 (gst_base_sink_queue_object), (gst_base_sink_event),
17248 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17249 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17250 (gst_base_sink_get_position), (gst_base_sink_change_state):
17251 * libs/gst/base/gstbasesink.h:
17252 Totally refactored matching the design doc.
17253 Use two segments, one to clip incomming buffers and another to
17255 Handle queueing correctly, bypass the queue when playing.
17256 Make EOS cancelable.
17257 Handle errors correctly when operating in pull based mode.
17259 * tests/check/elements/fakesink.c: (GST_START_TEST),
17261 Added new check for sinks.
17263 2006-02-02 Wim Taymans <wim@fluendo.com>
17265 * gst/gstsegment.c: (gst_segment_clip):
17266 No reason to refuse to clip when start == -1
17268 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17271 * docs/manual/intro-basics.xml:
17272 * docs/manual/intro-preface.xml:
17273 * docs/manual/manual.xml:
17274 * docs/pwg/advanced-dparams.xml:
17275 * docs/pwg/intro-basics.xml:
17276 * docs/pwg/intro-preface.xml:
17277 * docs/pwg/pwg.xml:
17278 describe dparams (controller) for plugins
17279 unify docs a little more
17281 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17283 * docs/gst/gstreamer-sections.txt:
17284 * gst/gstutils.c: (element_find_unconnected_pad),
17285 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17287 Add new API: gst_parse_bin_from_description() and
17288 gst_bin_find_unconnected_pad() (#329069).
17290 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17292 * docs/manual/README:
17293 uncover a nasty detail of the docs build
17295 2006-01-31 Wim Taymans <wim@fluendo.com>
17297 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17298 Don't cache duration messages if we're not going to use or
17301 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17303 * docs/manual/advanced-dparams.xml:
17304 * docs/pwg/advanced-dparams.xml:
17308 * libs/gst/controller/lib.c: (gst_controller_init):
17311 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17313 * gst/gstelement.c: (gst_element_message_full):
17314 also show file/line/func if no additional debug was given
17316 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17318 * win32/vs7/grammar.vcproj:
17319 activate copy of autogenerated files for Release mode
17321 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17323 * win32/common/libgstreamer.def:
17324 export gst_value_compare
17326 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17328 * plugins/elements/Makefile.am:
17329 * plugins/elements/gstelements.c:
17330 * plugins/elements/gstfdsink.c: (_do_init),
17331 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17332 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17333 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17334 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17335 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17336 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17337 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17338 * plugins/elements/gstfdsink.h:
17339 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17341 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17343 * docs/manual/advanced-dparams.xml:
17344 describe controller
17345 * docs/manual/advanced-position.xml:
17346 * docs/manual/basics-init.xml:
17347 * docs/manual/manual.xml:
17348 * docs/manual/titlepage.xml:
17349 * docs/pwg/pwg.xml:
17350 * docs/pwg/titlepage.xml:
17351 cleanup xml (more to come)
17352 * libs/gst/controller/gstcontroller.c:
17355 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17357 * win32/vs6/grammar.dsp:
17358 add autogen of gstmarshal.c,h for Release mode
17360 2006-01-30 Wim Taymans <wim@fluendo.com>
17362 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17363 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17364 (gst_base_sink_handle_object), (gst_base_sink_event),
17365 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17366 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17367 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17368 (gst_base_sink_deactivate), (gst_base_sink_activate),
17369 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17370 (gst_base_sink_query), (gst_base_sink_change_state):
17371 Basesink cleanups, remove some old code.
17372 Handle the case where a subclass can preroll in the render
17373 method (mostly audiosinks).
17374 Handle more events.
17375 Remove some locks around variables that are now protected
17376 with the PREROLL_LOCK (clock_id, flushing, ..).
17377 Optimize position query some more, do correct locking.
17378 Remove old code to push queue in state change, this is not
17379 needed anymore since preroll blocks on all prerollable items
17381 Almost implemented as described in design doc.
17383 2006-01-30 Wim Taymans <wim@fluendo.com>
17385 * tests/check/gst/gstbin.c: (GST_START_TEST):
17386 Wait for refcount to settle down before checking.
17388 2006-01-30 Wim Taymans <wim@fluendo.com>
17390 * docs/design/part-element-sink.txt:
17391 Pseudo code overview of desired sink behaviour regarding
17394 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17395 * win32/vs6/grammar.dsp:
17396 fix some bugs in Release mode for autogenerated files
17398 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17399 * win32/common/libgstbase.def:
17400 * win32/common/libgstreamer.def:
17401 export some new symbols: gst_base_src_set_format,
17402 gst_iterator_next, gst_structure_set_valist
17404 2006-01-29 Julien MOUTTE <julien@moutte.net>
17406 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17407 Set pad functions unconditionally. Fixes #329105.
17409 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17411 add vs8 project files created by Sergey Scobich
17413 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17415 * gst/gstutils.c: (gst_element_unlink_pads):
17416 Don't leak pad references.
17418 * tests/check/elements/fakesink.c: (GST_START_TEST):
17419 * tests/check/generic/sinks.c: (GST_START_TEST):
17420 * tests/check/generic/states.c: (GST_START_TEST):
17421 * tests/check/gst/gstbin.c: (GST_START_TEST):
17422 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17423 * tests/check/gst/gstelement.c: (GST_START_TEST):
17424 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17425 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17426 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17427 Fix a bunch of leaks. Make generic/sinks.c
17428 use a bit less cpu by slowing the buffer rate
17429 between fakesrc and fakesink.
17431 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17433 * gst/gstelement.c: (gst_element_send_event):
17436 * gst/gstiterator.c:
17437 * gst/gstiterator.h:
17438 * gst/gstpad.c: (gst_pad_send_event):
17439 * gst/gststructure.c:
17443 * libs/gst/base/gstadapter.c:
17444 doc fixes, to link to function, just write gst_cool_function(), don't
17447 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17449 * plugins/elements/gsttee.c: (gst_tee_do_push),
17450 (gst_tee_handle_buffer):
17451 Always prefer an actual return value from a src
17452 pad in place of NOT_LINKED. This means we return
17453 WRONG_STATE when all src pads are WRONG_STATE
17454 instead of NOT_LINKED.
17456 Lock when replacing the last message to prevent
17457 racing with the get_property method.
17461 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17463 * tests/check/Makefile.am:
17464 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17466 Add a very simple check that should have caught the memleak I fixed
17467 last night (if not for the slice allocator hiding it)
17469 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17471 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17472 (gst_bin_remove_func), (gst_bin_handle_message_func),
17473 (bin_query_duration_fold), (bin_query_generic_fold):
17474 Clean up references to the clock provider when disposed or when
17475 handling a clock-lost message from it.
17477 Unref sinks when performing a query via gst_iterator_fold, as the
17478 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17480 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17481 (gst_clock_set_master):
17482 Drop our reference to the master clock, if any, when we are disposed.
17484 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17485 Chain up in dispose.
17487 2006-01-26 Wim Taymans <wim@fluendo.com>
17489 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17490 Add some debugging.
17492 2006-01-26 Julien MOUTTE <julien@moutte.net>
17494 * plugins/elements/gsttee.c: (gst_tee_do_push),
17495 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17496 handles pad being NOT_LINKED or in WRONG_STATE.
17498 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17503 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17506 remove obsolete entry
17508 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17510 * docs/gst/gstreamer-sections.txt:
17511 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17512 (gst_bin_iterate_sources), (gst_bin_send_event):
17514 * gst/gstelement.c: (gst_element_send_event):
17516 * gst/gstpad.c: (gst_pad_send_event):
17517 added code for downstream events, reviewed docs in gstevent.c
17519 2006-01-25 Julien MOUTTE <julien@moutte.net>
17521 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17522 We only query position using the clock in the playing state.
17523 Query peer in the other cases.
17524 * win32/common/config.h: Updates.
17526 2006-01-24 Wim Taymans <wim@fluendo.com>
17528 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17529 A clock entry that is scheduled for the exact time of the
17530 clock is still in time.
17532 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17533 (gst_base_sink_do_sync):
17534 Add some more debug info.
17536 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17539 Add new vs7 project files and solution.
17541 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17544 all files removed as they were out-dated.
17546 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17548 * docs/random/release:
17550 * gst/gstbin.c: (gst_bin_init):
17551 * gst/gstbus.c: (gst_bus_new):
17553 * gst/gstpipeline.c: (gst_pipeline_init):
17554 use gst_bus_new(), improve logging, fix docs
17555 * win32/common/config.h:
17556 update for cvs build
17558 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17561 up required version of automake to 1.7
17563 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17565 * win32/common/libgstreamer.def:
17566 export gst_buffer_is_metadata_writable
17568 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17570 * docs/gst/gstreamer-sections.txt:
17572 Add gst_event_replace() (#327001)
17574 2006-01-20 Wim Taymans <wim@fluendo.com>
17576 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17577 Make it actually compile too..
17579 2006-01-20 Wim Taymans <wim@fluendo.com>
17582 Clarify behaviour of _is_equal() when passing NULL parameters.
17584 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17585 (gst_pad_set_caps):
17586 Cleanups. Don't unref NULL caps.
17587 When setting the same caps, protect caps of the pad with
17589 Use full functionality of _is_equal() when comparing caps.
17591 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17593 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17594 Don't loop infinitely if there are no buffers to present. Partially
17595 fixes #327197, but collectpads is just broken for reusing elements
17596 to do multiple encodes atm.
17598 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17600 * tools/gst-inspect.c: (print_element_features):
17601 * tools/gst-xmlinspect.c: (main):
17602 URL_HANDLER is not a plugin feature we can search for in
17605 2006-01-19 Edward Hervey <edward@fluendo.com>
17607 * gst/gstelement.c: (gst_element_pads_activate):
17608 When activating, do src pads first, then sink pads.
17609 When de-activating, do sink pads first, then src pads.
17611 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17613 * docs/gst/gstreamer-sections.txt:
17614 Add gst_index_add_associationv to the docs
17616 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17621 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17622 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17623 Do some refactoring. Doesn't actually change functionality,
17624 but makes landing the DRAIN event easier later.
17626 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17628 * docs/pwg/advanced-scheduling.xml:
17629 Update from 0.9.x to 0.10 API and make example a bit
17632 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17634 * docs/gst/gstreamer-sections.txt:
17635 Add gst_buffer_(is|make)_metadata_writable methods.
17637 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17639 * docs/design/part-sparsestreams.txt:
17640 Update sparse streams doc, hopefully for greater clarity
17642 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17644 * docs/design/part-events.txt:
17645 Remove mention of FILLER events.
17648 * docs/design/part-sparsestreams.txt:
17649 Write some things about using NEWSEGMENT to keep sparse streams
17652 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17654 * gst/gstbin.c: (gst_bin_dispose):
17655 Guard gst_object_unref call against a NULL object (dispose
17656 can theoretically be called multiple times).
17658 2006-01-18 Wim Taymans <wim@fluendo.com>
17660 * gst/gstbin.c: (gst_bin_element_set_state):
17661 * gst/gstclock.c: (gst_clock_id_wait):
17662 Added some more debug info.
17664 * libs/gst/base/gstadapter.c:
17667 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17668 (gst_base_sink_do_sync), (gst_base_sink_chain):
17669 Added some comments.
17671 2006-01-18 Wim Taymans <wim@fluendo.com>
17673 * tests/check/Makefile.am:
17674 * tests/check/elements/fakesink.c: (chain_async_buffer),
17675 (chain_async), (chain_async_return), (GST_START_TEST),
17676 (fakesink_suite), (main):
17677 Added fakesink test that checks prerolling and clipping
17680 * tests/check/gst/gstutils.c: (GST_START_TEST):
17681 Make check run faster so that buildbots don't timeout.
17683 2006-01-18 Wim Taymans <wim@fluendo.com>
17685 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17686 (gst_base_sink_do_sync):
17688 When the sink finishes blocking on the preroll buffer, it can
17689 immediatly render it instead of rendering when the next buffer
17692 2006-01-18 Wim Taymans <wim@fluendo.com>
17694 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17695 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17696 (gst_base_sink_chain):
17698 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17699 Don't store _last_stop if the buffer is dropped.
17701 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17703 * plugins/elements/gsttypefindelement.c:
17704 (gst_type_find_element_class_init):
17705 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17706 object method handler that sets the caps on the pad and we want
17707 that to happen before we emit the signal (fixes e.g. feeding a
17708 plain text file to decodebin).
17710 2006-01-18 Christian Schaller <Christian@fluendo.com>
17712 * gst/gstplugin.c: Add MPL and Proprietary as license options
17714 2006-01-18 Andy Wingo <wingo@pobox.com>
17716 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17717 symbol was exported before, it appears this was just an oversight.
17719 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17721 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17722 prototype to gint. OK since this prototype was not in the header.
17724 2006-01-17 Andy Wingo <wingo@pobox.com>
17726 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17727 registry while we remove plugins.
17729 * tools/gst-inspect.c (print_element_info): Don't unref the
17730 factory arg, that should be the responsibility of whatever code
17731 received the ref. Fixes a double-free when called from
17732 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17733 (main): Unref the factory if we have one.
17734 (print_element_list): No change -- relies on the
17735 plugin_feature_list_free to free the list of features.
17737 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17739 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17740 (gst_buffer_make_metadata_writable):
17742 * libs/gst/base/gstbasetransform.c:
17743 (gst_base_transform_prepare_output_buf):
17744 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17745 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17746 Replace gst_buffer_(make|is)_metadata_writable patch now
17747 that the release is out.
17749 2006-01-17 Andy Wingo <wingo@pobox.com>
17751 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17752 in the present tense without reference to versions.
17754 * gst/gstregistry.c (gst_registry_add_plugin)
17755 (gst_registry_remove_plugin, gst_registry_remove_feature)
17756 (gst_registry_find_feature, gst_registry_get_feature_list)
17757 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17758 (gst_registry_lookup, gst_registry_scan_path)
17759 (_gst_registry_remove_cache_plugins)
17760 (gst_registry_get_feature_list_by_plugin): Add argument
17763 === release 0.10.2 ===
17765 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17768 releasing 0.10.2, "If man is five"
17770 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17774 * libs/gst/base/gstbasetransform.c:
17775 (gst_base_transform_prepare_output_buf):
17776 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17777 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17778 Back out patch until after the release.
17780 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17782 * gst/gstminiobject.c:
17783 Spelling fix in docs.
17784 * ChangeLog - remove conflict indicator
17786 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17788 Reviewed By: Andy Wingo
17790 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17791 (gst_buffer_make_metadata_writable):
17793 Add gst_buffer_(is|make)_metadata_writable as analogues of
17794 gst_buffer_(is|make)_writable.
17796 * libs/gst/base/gstbasetransform.c:
17797 (gst_base_transform_prepare_output_buf):
17798 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17799 Use name gst_buffer_(is|make)_metadata_writable functions.
17801 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17802 Test gst_buffer_(is|make)_metadata_writable
17806 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17808 * docs/manual/Makefile.am:
17809 don't do parallel make
17812 * win32/common/config.h.in:
17813 add generations for HOST_CPU and GST_MAJORMINOR
17814 * win32/common/config.h:
17815 commit generated result
17817 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17819 * docs/manual/appendix-integration.xml:
17820 Update GNOME integration section to use gst_init_get_option_group()
17821 instead of the old popt stuff (#322911). Also, GNOME applications
17822 should now use gconf*sink and gconf*src instead of the old gconf
17825 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17828 * docs/gst/gstreamer-docs.sgml:
17829 * docs/gst/gstreamer-sections.txt:
17830 * docs/libs/gstreamer-libs-sections.txt:
17831 add new API entries to the docs
17832 * libs/gst/controller/Makefile.am:
17833 * libs/gst/controller/gstcontroller.c:
17834 * libs/gst/controller/gstcontroller.h:
17835 * libs/gst/controller/gstcontrollerprivate.h:
17836 * libs/gst/controller/gsthelper.c:
17837 * libs/gst/controller/gstinterpolation.c:
17838 move private structs to private header
17840 gstreamer-0.7 -> gstreamer-0.10
17841 * tests/check/libs/struct_i386.h:
17842 remove private structs
17844 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17846 * plugins/indexers/Makefile.am:
17847 Fixes as part of #317048
17849 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17851 * plugins/indexers/Makefile.am:
17852 fix #316086 - compilation when mmap is missing
17854 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17856 * libs/gst/base/gstbasesink.c:
17857 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17858 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17859 * win32/common/config.h:
17860 added some defines GST_MAJORMINOR and HOST_CPU
17861 * win32/common/libgstbase.def:
17862 * win32/common/libgstreamer.def:
17863 added some exported functions.
17865 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17867 * libs/gst/controller/gstcontroller.c:
17868 (gst_controlled_property_set_interpolation_mode),
17869 (gst_controlled_property_new):
17870 * libs/gst/controller/gstcontroller.h:
17871 * libs/gst/controller/gstinterpolation.c:
17872 (interpolate_none_get_string_value_array):
17873 make G_TYPE_STRING controlable
17875 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17878 * tools/gst-feedback.1.in:
17879 * tools/gst-inspect.1.in:
17880 * tools/gst-launch.1.in:
17881 * tools/gst-md5sum.1.in:
17882 * tools/gst-typefind.1.in:
17883 * tools/gst-xmlinspect.1.in:
17884 * tools/gst-xmllaunch.1.in:
17885 cleanup man-pages, remove reference to gst-register, document env-vars
17887 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17889 * gst/gstbuffer.c: (gst_buffer_span):
17890 gst_buffer_span should copy the timestamp of the first buffer
17891 if they were both originally overlapping subbuffers of the
17892 same parent, using the same logic as the 'slow copy' case.
17894 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17896 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17897 Need to awaken ALL the pads when we pop a buffer, otherwise
17898 collectpads only works when there is 2 input streams.
17900 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17902 * docs/random/ensonic/media-device-daemon.txt:
17905 fix doc example, add clarification
17906 * tools/gst-launch.1.in:
17907 add initial info about GST_PLUGIN_PATH, needs more work
17909 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17911 * docs/manual/basics-bins.xml:
17912 * docs/manual/basics-elements.xml:
17913 * docs/manual/intro-basics.xml:
17914 Some more minor docs additions and updates.
17916 2006-01-11 Wim Taymans <wim@fluendo.com>
17918 * docs/manual/basics-bins.xml:
17919 * docs/manual/basics-elements.xml:
17920 Some small fixes as pointed out by Ser-ver on IRC.
17922 2006-01-10 Edward Hervey <edward@fluendo.com>
17924 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17925 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17926 the single-segment mode.
17928 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17930 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17932 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17933 (gst_base_src_perform_seek), (gst_base_src_send_event),
17934 (gst_base_src_set_property), (gst_base_src_get_property),
17935 (gst_base_src_loop), (gst_base_src_start),
17936 (gst_base_src_activate_push):
17937 * libs/gst/base/gstbasesrc.h:
17938 Name (private) union; makes Sun's Forte compiler happy (#324900).
17940 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17943 gst-register is gone.
17945 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17947 * gst/gstvalue.c: (_gst_value_initialize):
17948 make the G_TYPE_DATE instantiation work if debug is disabled
17950 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17952 * gst/gstmessage.c: (gst_message_parse_tag),
17953 (gst_message_parse_error), (gst_message_parse_warning):
17954 Don't crash when return location for error/warning debug
17955 string is NULL; add fact that return locations can be
17956 NULL to docs where appropriate.
17958 2006-01-05 Wim Taymans <wim@fluendo.com>
17960 * gst/gstplugin.c: (gst_plugin_load_file):
17961 Replace strdup by g_strdup.
17963 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17965 * docs/pwg/advanced-types.xml:
17968 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17970 submitted by: Abel Cheung
17974 Added Chinese (traditional) translation
17976 2006-01-04 Wim Taymans <wim@fluendo.com>
17978 * docs/manual/basics-pads.xml:
17979 * docs/plugins/Makefile.am:
17980 * docs/plugins/gstreamer-plugins-docs.sgml:
17981 * docs/plugins/gstreamer-plugins-sections.txt:
17982 * docs/pwg/advanced-clock.xml:
17983 * docs/pwg/advanced-scheduling.xml:
17984 * docs/pwg/advanced-types.xml:
17985 * plugins/elements/gstfdsink.c:
17986 * plugins/elements/gstfdsrc.c:
17987 * plugins/elements/gstfdsrc.h:
17988 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17989 * plugins/elements/gstidentity.h:
17990 * plugins/elements/gstqueue.h:
17991 * plugins/elements/gsttee.c:
17992 * plugins/elements/gsttee.h:
17993 * plugins/elements/gsttypefindelement.c:
17994 (gst_type_find_element_class_init):
17995 * plugins/elements/gsttypefindelement.h:
17996 Small updates to various docs.
17997 Added core plugins to docs.
17999 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18002 add a suppression for liboil's uninitialized variable
18004 2006-01-02 James Livingston <jrl at ids dot org dot au>
18006 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18009 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18010 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18011 compiler switch is being used (#325429).
18013 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18015 * gst/gstbin.c: (gst_bin_query):
18016 Disable duration query caching in bins until it gets
18017 fixed (see #324807).
18019 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18021 * tools/gst-inspect.c: (print_element_properties_info):
18022 Handle properties of POINTER and BOXED type.
18024 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18026 * gst/gst.c: (init_post):
18027 Init tags stuff and some other things before loading
18028 any static plugins (there may be other static plugins
18029 than just the GStreamer ones, and they may want to
18030 register their own tags or formats or whatever, and
18031 preferably without segfaulting).
18033 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18034 Print at least a warning in the debug logs if we drop a
18035 query just because we don't know how to adjust the value
18036 in the particular format.
18038 2005-12-24 David Schleef <ds@schleef.org>
18040 * tools/gstreamer-completion:
18041 Replacement for gst-complete written in sh and sed. Only
18042 completes names of features, but that's 90% of what I want
18043 it for. Properties are not available in registry.xml. (Maybe
18046 === release 0.10.1 ===
18048 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18051 releasing 0.10.1, "Nollaig chridheil"
18053 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18055 * docs/faq/cvs.xml:
18056 Add missing quote, should be make ERROR_CFLAGS="".
18058 2005-12-20 Wim Taymans <wim@fluendo.com>
18060 * docs/design/part-trickmodes.txt:
18061 More documentation on trickmodes.
18063 2005-12-20 Edward Hervey <edward@fluendo.com>
18065 * gst/gstcaps.c: (gst_static_caps_get_type):
18067 API addition: GST_TYPE_STATIC_CAPS
18068 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18069 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18070 * gst/gstpadtemplate.h:
18071 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18072 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18075 2005-12-18 Wim Taymans <wim@fluendo.com>
18077 * libs/gst/base/gstadapter.c:
18078 * libs/gst/base/gstadapter.h:
18079 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18080 (gst_base_sink_get_position):
18081 * libs/gst/base/gstbasesink.h:
18082 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18083 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18084 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18085 (gst_base_src_send_event), (gst_base_src_update_length),
18086 (gst_base_src_get_range), (gst_base_src_loop),
18087 (gst_base_src_start):
18088 * libs/gst/base/gstbasesrc.h:
18089 * libs/gst/base/gstbasetransform.h:
18090 * libs/gst/base/gstcollectpads.h:
18091 * libs/gst/base/gstpushsrc.c:
18092 * libs/gst/base/gstpushsrc.h:
18093 * libs/gst/dataprotocol/dataprotocol.c:
18094 * libs/gst/dataprotocol/dataprotocol.h:
18095 * libs/gst/net/gstnetclientclock.h:
18096 * libs/gst/net/gstnettimeprovider.h:
18097 Documentation updates.
18099 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18101 * docs/manual/basics-helloworld.xml:
18102 Remove superfluous closing bracket in helloworld example.
18104 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18106 * tools/gst-launch.1.in:
18107 Update gst-launch man page; add a section with useful
18108 environment variables. Fixes #323882.
18110 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18113 * gst/gst_private.h:
18114 change some char* into char[]
18116 2005-12-16 Wim Taymans <wim@fluendo.com>
18118 * gst/gstregistryxml.c: (load_feature):
18120 Don't use g_object_unref on GstObjects so that we avoid
18121 leaks on unsafe glibs.
18123 2005-12-16 Wim Taymans <wim@fluendo.com>
18125 * gst/gstbin.c: (gst_bin_recalc_state):
18128 2005-12-16 Wim Taymans <wim@fluendo.com>
18130 * common/check.mak:
18131 Added make forever target for check.
18133 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18135 * gst/gst.c: (init_post):
18136 make the registry cache file HOST_CPU-dependent
18138 2005-12-16 Andy Wingo <wingo@pobox.com>
18140 * plugins/elements/gstbufferstore.c
18141 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18144 * tests/check/gst/gstobject.c
18145 (test_fake_object_name_threaded_unique): Pay attention to
18146 g_list_sort return value.
18148 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18150 * tools/gst-feedback-m.m:
18151 Update for 0.9/0.10 (fixes #323870).
18153 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18155 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18156 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18158 * tests/check/gst/gstminiobject.c: (my_foo_init),
18159 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18160 (test_value_collection), (gst_mini_object_suite):
18161 Add test to ensure refcounts end up as expected when passing
18162 GstMiniObjects through g_object_get() and g_object_set().
18164 2005-12-14 Julien MOUTTE <julien@moutte.net>
18166 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18167 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18168 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18169 of collectpads. This version removes a lot of races without
18170 touching API/ABI. Yay !
18172 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18174 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18175 Don't allow activation of a srcpad in pull_range if it has no
18177 Change some debug statements to be a little clearer
18179 * plugins/elements/gsttypefindelement.c:
18180 (gst_type_find_handle_src_query):
18181 Check that we have a peer before executing queries thereupon.
18183 * tests/examples/metadata/read-metadata.c: (message_loop):
18184 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18185 immediately return us any available message with 0 timeout.
18187 2005-12-12 Michael Smith <msmith@fluendo.com>
18189 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18190 Don't unref factories after calling them.
18191 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18192 * plugins/elements/gsttypefindelement.c:
18193 (gst_type_find_element_chain):
18194 Free lists of factories after using them. Fixing typefinding memory
18197 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18199 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18200 (gst_plugin_feature_load):
18201 more meaningful debug output
18203 * tests/Makefile.am:
18204 * tests/old/examples/Makefile.am:
18205 make make distcheck happy again
18207 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18209 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18210 Catch the special case where we are operating chain-based,
18211 but the downstream peer pad has no chain function. Emit a
18212 custom error message in this case instead of letting the
18213 core generate one implying that this is some sort of core
18214 bug. It's not, it just means that whatever got plugged
18215 into the pipeline downstream when we announced the type
18216 can only operate pull-based, while our source can only
18217 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18218 Error string has not been marked for translation yet, as
18219 it probably needs some more work first.
18221 (gst_type_find_element_get_best_possibility):
18222 Add helper function to find the best of all available
18223 found possibilities that qualify given the min. threshold.
18225 (gst_type_find_element_handle_event):
18226 Fix the case where we get an EOS while still in TYPEFIND
18227 mode (we want to chose the best of all possible types,
18228 not just the first type that happens to be in our unsorted
18229 list of possible types).
18231 (gst_type_find_element_chain):
18232 Make sure we return GST_FLOW_ERROR when we errored out
18233 in stop_typefinding(); also, don't just find the best of
18234 all found type entries and then use the last examined
18235 type entry, but actually use the best entry.
18237 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18239 * tests/examples/typefind/typefind.c: (type_found):
18240 * tests/examples/xml/runxml.c: (xml_loaded):
18241 More gcc4 fixes and a mem leak fix.
18243 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18245 * tests/examples/xml/createxml.c: (object_saved):
18248 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18250 * tests/Makefile.am:
18251 enable the examples even more
18253 2005-12-12 Andy Wingo <wingo@pobox.com>
18255 * libs/gst/net/gstnettimeprovider.c
18256 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18257 (gst_net_time_provider_set_property)
18258 (gst_net_time_provider_get_property):
18259 API addition: Export "active" as a GObject property.
18260 (gst_net_time_provider_thread): Only respond to time queries if
18261 the time provider is active.
18263 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18264 NetTimeProvider, preserving binary compat.
18266 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18268 * tests/examples/controller/audio-example.c: (main):
18269 * tests/examples/launch/Makefile.am:
18270 convert comments again
18272 2005-12-12 Wim Taymans <wim@fluendo.com>
18274 * libs/gst/base/gstpushsrc.c:
18277 2005-12-12 Wim Taymans <wim@fluendo.com>
18279 * docs/libs/gstreamer-libs-sections.txt:
18280 Added new symbol to docs.
18282 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18283 (gst_base_src_init), (gst_base_src_set_format),
18284 (gst_base_src_default_query), (gst_base_src_query),
18285 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18286 (gst_base_src_perform_seek), (gst_base_src_send_event),
18287 (gst_base_src_default_event), (gst_base_src_event_handler),
18288 (gst_base_src_set_property), (gst_base_src_get_property),
18289 (gst_base_src_wait), (gst_base_src_do_sync),
18290 (gst_base_src_update_length), (gst_base_src_get_range),
18291 (gst_base_src_check_get_range), (gst_base_src_loop),
18292 (gst_base_src_default_negotiate), (gst_base_src_start),
18293 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18294 (gst_base_src_change_state):
18295 * libs/gst/base/gstbasesrc.h:
18296 Implement seeking to other formats than _BYTES.
18297 Implement more seeking methods correctly.
18299 Added query vmethod.
18300 Added do_seek vmethod to make life easier for subclasses
18302 API addition: gst_base_src_set_format()
18304 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18306 * tests/examples/Makefile.am:
18309 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18312 * docs/random/ensonic/media-device-daemon.txt:
18313 * tests/examples/controller/.cvsignore:
18314 * tests/examples/controller/Makefile.am:
18315 * tests/examples/controller/audio-example.c: (main):
18316 * tests/examples/helloworld/.cvsignore:
18317 * tests/examples/helloworld/Makefile.am:
18318 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18319 * tests/examples/launch/.cvsignore:
18320 * tests/examples/launch/Makefile.am:
18321 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18322 * tests/examples/metadata/.cvsignore:
18323 * tests/examples/metadata/Makefile.am:
18324 * tests/examples/metadata/read-metadata.c: (message_loop),
18325 (make_pipeline), (print_tag), (main):
18326 * tests/examples/queue/.cvsignore:
18327 * tests/examples/queue/Makefile.am:
18328 * tests/examples/queue/queue.c: (event_loop), (main):
18329 * tests/examples/typefind/.cvsignore:
18330 * tests/examples/typefind/Makefile.am:
18331 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18333 * tests/examples/xml/.cvsignore:
18334 * tests/examples/xml/Makefile.am:
18335 * tests/examples/xml/createxml.c: (object_saved), (main):
18336 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18337 * tests/old/examples/Makefile.am:
18338 * tests/old/examples/TODO:
18339 * tests/old/examples/controller/.cvsignore:
18340 * tests/old/examples/controller/Makefile.am:
18341 * tests/old/examples/controller/audio-example.c:
18342 * tests/old/examples/helloworld/.cvsignore:
18343 * tests/old/examples/helloworld/Makefile.am:
18344 * tests/old/examples/helloworld/helloworld.c:
18345 * tests/old/examples/launch/.cvsignore:
18346 * tests/old/examples/launch/Makefile.am:
18347 * tests/old/examples/launch/mp3parselaunch.c:
18348 * tests/old/examples/launch/mp3play:
18349 * tests/old/examples/manual/Makefile.am:
18350 * tests/old/examples/metadata/Makefile.am:
18351 * tests/old/examples/metadata/read-metadata.c:
18352 * tests/old/examples/queue/.cvsignore:
18353 * tests/old/examples/queue/Makefile.am:
18354 * tests/old/examples/queue/queue.c:
18355 * tests/old/examples/typefind/.cvsignore:
18356 * tests/old/examples/typefind/Makefile.am:
18357 * tests/old/examples/typefind/typefind.c:
18358 * tests/old/examples/xml/.cvsignore:
18359 * tests/old/examples/xml/Makefile.am:
18360 * tests/old/examples/xml/createxml.c:
18361 * tests/old/examples/xml/runxml.c:
18362 applied some simple fixing to some examples
18363 re-enabled the working examples
18365 2005-12-12 Wim Taymans <wim@fluendo.com>
18367 * gst/gstsegment.c: (gst_segment_init),
18368 (gst_segment_set_last_stop), (gst_segment_set_seek),
18369 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18370 (gst_segment_to_running_time):
18371 Added more documentation.
18372 Make sure the last_pos value is updated properly.
18373 Make sure to_stream_time and to_running_time don't
18374 operate on wrong values.
18376 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18379 2005-12-12 Michael Smith <msmith@fluendo.com>
18381 * plugins/elements/gsttypefindelement.c: (free_entry),
18382 (gst_type_find_element_chain):
18383 Now that we're not leaking factories, make sure we keep references
18384 to them while we need them.
18386 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18388 * tests/check/gst/struct_i386.h:
18389 ifdef out the XML structs
18391 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18393 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18394 floor is not needed, F is always positive; this obviates the
18395 need for adding -lm when building without libxml
18397 2005-12-12 Wim Taymans <wim@fluendo.com>
18399 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18400 Take current playback rate into account when reporting
18403 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18405 * docs/manual/mime-world.fig:
18406 Let's try this again, this time with a file that is
18407 actually in XFig format.
18409 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18411 * docs/manual/mime-world.fig:
18412 Add audioconvert element to diagram so that it
18413 matches the text and the code (fixes #319526).
18415 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18417 * docs/pwg/building-chainfn.xml:
18418 * docs/pwg/building-pads.xml:
18419 * docs/pwg/building-state.xml:
18420 * docs/pwg/other-source.xml:
18421 Update state change stuff for 0.10 (fixes #322969).
18423 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18425 * docs/manual/advanced-dataaccess.xml:
18426 * docs/manual/appendix-checklist.xml:
18427 * docs/manual/appendix-programs.xml:
18428 * docs/manual/basics-pads.xml:
18429 * docs/manual/highlevel-components.xml:
18430 * docs/manual/manual.xml:
18431 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18432 add converters in front of pipelines; remove curly
18433 brackets for threads stuff, they no longer exist; use
18434 GST_TYPE_FRACTION for framerates; update some pieces of
18435 code to 0.10, but there's plenty more to do.
18437 * docs/manual/appendix-porting.xml:
18438 Expand on asynchroneous state changes; s/0.9/0.10/;
18439 mention disappearance of gst_init_get_popt_table()
18442 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18444 * docs/faq/using.xml:
18445 Spider no longer exists, and neither does gst-launch-ext.
18446 Update examples to use decodebin and playbin and put
18447 converters in front of sinks (fixes #323726).
18449 2005-12-09 Michael Smith <msmith@fluendo.com>
18451 * plugins/elements/gsttypefindelement.c: (find_peek),
18452 (gst_type_find_element_chain):
18453 Fix leaking element factories in typefinding.
18454 Fix problem where we forgot about a probable type on non-seekable
18455 files, and thus later mis-typefound it.
18457 2005-12-09 Michael Smith <msmith@fluendo.com>
18459 * common/m4/gst-makecontext.m4:
18460 * common/m4/gst-mcsc.m4:
18462 * win32/common/config.h:
18463 * win32/common/config.h.in:
18464 Remove makecontext stuff; not used in 0.10 and causes problems on
18465 HPUX according to bug #322441
18467 2005-12-07 Wim Taymans <wim@fluendo.com>
18469 * tests/check/Makefile.am:
18470 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18472 * tests/check/libs/struct_i386.h:
18473 Added ABI check for libs
18475 2005-12-07 Wim Taymans <wim@fluendo.com>
18477 * tests/check/Makefile.am:
18478 And add the struct_i386.h to dist.
18480 2005-12-07 Wim Taymans <wim@fluendo.com>
18482 * tests/check/Makefile.am:
18483 * tests/check/gst/.cvsignore:
18484 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18486 * tests/check/gst/struct_i386.h:
18487 Added check for ABI compatibility.
18489 2005-12-07 Wim Taymans <wim@fluendo.com>
18491 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18492 (gst_fake_src_get_times), (gst_fake_src_create):
18493 Fix broken sync option, fixes #323259
18495 2005-12-07 Wim Taymans <wim@fluendo.com>
18500 * gst/gstcaps.c: (gst_caps_is_equal):
18501 Don't assert on NULL <--> X. Fixes #323260
18503 * gst/gstminiobject.c: (gst_mini_object_replace):
18504 If we're doing atomic operations, we might just as well use
18505 the proper way to get an atomic pointer.
18507 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18508 Clean up debugging.
18510 2005-12-07 Michael Smith <msmith@fluendo.com>
18512 * gst/parse/grammar.y:
18513 Remove handling of { } for threads.
18515 2005-12-06 David Schleef <ds@schleef.org>
18517 * libs/gst/base/gstbasetransform.c: speling fix.
18519 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18521 * docs/libs/tmpl/gstdataprotocol.sgml:
18522 * docs/random/omega/testing/gstobject.c:
18525 * gst/gstelement.c:
18526 * gst/gstelementfactory.c:
18529 * gst/gstghostpad.c:
18531 * gst/gstpadtemplate.c:
18532 * gst/gstregistryxml.c:
18533 * gst/gsttaglist.c:
18534 * gst/gsttagsetter.c:
18535 * gst/gsttypefind.c:
18537 * libs/gst/base/gstbasesrc.c:
18538 * libs/gst/net/gstnetclientclock.c:
18539 * libs/gst/net/gstnettimeprovider.c:
18540 * plugins/elements/gstfakesrc.c:
18541 * plugins/elements/gstfdsrc.c:
18542 * plugins/elements/gstfilesrc.c:
18543 * plugins/elements/gstidentity.c:
18544 * plugins/elements/gstqueue.c:
18545 * plugins/elements/gsttypefindelement.c:
18546 * plugins/indexers/gstfileindex.c:
18547 * plugins/indexers/gstmemindex.c:
18548 * tests/check/gst/gsttag.c:
18549 * tests/old/examples/cutter/cutter.c:
18550 * tests/old/examples/mixer/mixer.c:
18551 * tests/old/examples/xml/runxml.c: (main):
18552 * tests/old/testsuite/caps/normalisation.c:
18553 * tests/old/testsuite/debug/global.c:
18554 * tests/old/testsuite/parse/parse1.c:
18555 * tools/gst-xmlinspect.c:
18556 * win32/common/dirent.c:
18559 === release 0.10.0 ===
18561 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18564 releasing 0.10.0, "Maroilles"
18566 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18568 submitted by: Funda Wang <fundawang@linux.net.cn>
18572 added Chinese (Traditional) translation
18574 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18576 * docs/gst/gstreamer-sections.txt:
18577 * docs/libs/tmpl/gstdataprotocol.sgml:
18578 * docs/random/thomasvs/TODO:
18583 2005-12-05 Andy Wingo <wingo@pobox.com>
18585 patch by: Wim Taymans <wim@fluendo.com>
18587 * libs/gst/base/gstbasetransform.c
18588 (gst_base_transform_prepare_output_buf)
18589 (gst_base_transform_buffer_alloc):
18590 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18591 alloc_buffer_and_set_caps.
18593 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18594 set_caps on the source pad.
18595 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18596 alloc_buffer used to do. Fixes #322874.
18598 * docs/gst/gstreamer-sections.txt:
18599 * docs/design/part-negotiation.txt:
18600 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18603 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18605 patch by: Sebastien Moutte
18608 * win32/common/config.h.in:
18609 * win32/vs6/libgstcontroller.dsp:
18612 2005-12-05 Wim Taymans <wim@fluendo.com>
18614 * gst/gstcaps.c: (gst_caps_is_equal):
18615 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18616 (gst_fake_src_create):
18617 Back out previous code changes, leave doc updates, file bugs
18620 2005-12-05 Wim Taymans <wim@fluendo.com>
18622 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18623 (gst_fake_src_get_times), (gst_fake_src_create):
18624 * plugins/elements/gstfakesrc.h:
18625 Fix broken sync code.
18627 2005-12-05 Wim Taymans <wim@fluendo.com>
18629 * gst/gstcaps.c: (gst_caps_is_equal):
18630 Comparing NULL against !NULL yields different caps, not a
18633 2005-12-05 Wim Taymans <wim@fluendo.com>
18635 * gst/gstpipeline.c:
18636 Fix small typo in docs.
18638 2005-12-05 Andy Wingo <wingo@pobox.com>
18640 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18642 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18643 registries/plugins with a MAJORMINOR one.
18644 (plugin_desc): Rename library from gstcoreleements to
18645 staticelements. Fixes #323222.
18647 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18649 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18650 Change debug category to 'collectpads' from 'collect_pads'
18653 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18655 patch by: Sebastien Moutte
18657 * libs/gst/controller/gstinterpolation.c:
18658 use convert function for uint64/double
18659 * win32/vs6/libgstcontroller.dsp:
18662 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18664 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18665 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18667 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18668 add tests that seem to show that the guint64/gdouble conversions
18671 2005-12-02 Wim Taymans <wim@fluendo.com>
18673 * gst/gstregistry.c: (gst_registry_add_path):
18674 * gst/gstregistry.h:
18675 * gst/gstregistryxml.c:
18678 2005-12-02 Wim Taymans <wim@fluendo.com>
18680 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18681 (gst_util_uint64_scale_int):
18684 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18685 Add debug log line.
18687 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18690 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18693 * win32/common/config.h:
18694 * win32/vs6/gstreamer.dsw:
18695 * win32/vs6/libgstcoreelements.dsp:
18696 * win32/vs6/libgstelements.dsp:
18697 renamed core elements plugin
18699 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18701 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18703 do piece-wise major/minor comparison so 0.9 < 0.10
18704 also allow .exe extensions for tools
18706 2005-12-02 Michael Smith <msmith@fluendo.com>
18709 Escape a % to make gtkdoc happier; bug 322958.
18711 === release 0.9.7 ===
18713 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18716 releasing 0.9.7, "My Dog Has No Nose"
18718 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18720 * common/gst-xmlinspect.py:
18722 * docs/libs/tmpl/gstdataprotocol.sgml:
18723 * docs/random/release:
18742 * win32/common/config.h:
18743 * win32/common/config.h.in:
18744 * win32/vs6/gst_inspect.dsp:
18745 * win32/vs6/gst_launch.dsp:
18746 * win32/vs6/libgstbase.dsp:
18747 * win32/vs6/libgstelements.dsp:
18748 * win32/vs6/libgstreamer.dsp:
18749 * win32/vs7/GStreamer.vcproj:
18750 * win32/vs7/gst-inspect.vcproj:
18751 * win32/vs7/gst-launch.vcproj:
18752 * win32/vs7/libgstbase.vcproj:
18753 bump GST_MAJORMINOR to 0.10
18754 reset libtool version
18756 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18760 Added Bulgarian translation by (Alexander Shopov)
18762 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18764 * tests/check/gst/gstplugin.c:
18767 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18769 * common/gst-xmlinspect.py:
18770 * common/gtk-doc-plugins.mak:
18772 * docs/Makefile.am:
18773 * docs/gst/Makefile.am:
18774 * docs/gst/gstreamer-docs.sgml:
18775 * docs/gst/gstreamer-sections.txt:
18776 * docs/gst/gstreamer.types:
18777 * docs/gst/gstreamer.types.in:
18778 * docs/plugins/Makefile.am:
18779 * docs/plugins/gstreamer-plugins-docs.sgml:
18780 * docs/plugins/gstreamer-plugins-sections.txt:
18781 * docs/plugins/gstreamer-plugins.types:
18782 * docs/plugins/inspect.stamp:
18783 * docs/plugins/inspect/plugin-coreelements.xml:
18784 * docs/plugins/inspect/plugin-coreindexers.xml:
18785 * docs/plugins/scanobj-build.stamp:
18786 * gstreamer.spec.in:
18787 * plugins/elements/Makefile.am:
18788 * plugins/elements/gstelements.c:
18789 * plugins/elements/gstfakesink.c:
18790 * plugins/elements/gstfakesrc.c:
18791 * plugins/elements/gstfilesink.c:
18792 * plugins/elements/gstfilesrc.c:
18793 * plugins/elements/gstqueue.c:
18794 * plugins/indexers/Makefile.am:
18795 * plugins/indexers/gstindexers.c:
18796 document core plugins in a separate document just like all the
18798 rename these plugins to something starting with core
18800 2005-12-01 Andy Wingo <wingo@pobox.com>
18802 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18803 padding here before, but it missed the commit.
18805 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18807 * libs/gst/controller/gstinterpolation.c:
18808 whitespace prices have crashed, we should feel free to use some now
18809 use gst_guint64_to_gdouble
18811 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18813 * libs/gst/controller/gstcontroller.c:
18814 * libs/gst/controller/gsthelper.c:
18815 * libs/gst/controller/gstinterpolation.c:
18816 * libs/gst/controller/lib.c:
18817 wrap config.h include
18819 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18821 * docs/gst/gstreamer-sections.txt:
18824 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18826 * plugins/elements/gstelements.c:
18827 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18828 (gst_fd_sink__class_init), (gst_fd_sink__init),
18829 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18830 (gst_fd_sink__get_property):
18831 * plugins/elements/gstfdsink.h:
18832 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18833 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18834 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18835 (gst_fd_src_unlock), (gst_fd_src_set_property),
18836 (gst_fd_src_get_property), (gst_fd_src_create),
18837 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18838 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18839 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18840 (gst_fd_src_uri_handler_init):
18841 * plugins/elements/gstfdsrc.h:
18842 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18845 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18847 * docs/gst/Makefile.am:
18848 * docs/gst/gstreamer.types.in:
18852 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18858 * gst/gstregistry.h:
18859 * tests/benchmarks/complexity.c:
18860 * tests/benchmarks/mass-elements.c:
18861 * tests/check/Makefile.am:
18862 * tools/Makefile.am:
18863 * tools/gst-inspect.c:
18864 * tools/gst-xmlinspect.c:
18865 various fixes to make
18866 --disable-nls --disable-registry --disable-loadsave
18867 --disable-parse --disable-gst-debug
18868 work and get the core .so down to 360444 bytes after stripping
18870 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18875 * docs/random/thomasvs/TODO:
18876 * tests/Makefile.am:
18880 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18882 * win32/GStreamer.vcproj:
18885 * win32/Makefile.inspect:
18886 * win32/Makefile.launch:
18887 * win32/Makefile.register:
18888 * win32/README.txt:
18889 * win32/gst-inspect.vcproj:
18890 * win32/gst-launch.vcproj:
18891 * win32/gst-register.vcproj:
18892 * win32/gstelements.vcproj:
18893 * win32/gstgetbits.def:
18894 * win32/gstgetbits.vcproj:
18895 * win32/gstreamer-dbg.def:
18896 * win32/gstreamer.def:
18897 * win32/libgstbase.def:
18898 * win32/libgstbase.vcproj:
18899 * win32/link_oldruntime.c:
18903 * win32/msvc71.sln:
18904 move even more stuff, win32/ is nice and clean now
18906 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18908 * libs/gst/control/.cvsignore:
18913 * win32/gstbytestream.def:
18914 * win32/gstbytestream.vcproj:
18915 * win32/gstconfig.h:
18916 * win32/gstenumtypes.c:
18917 * win32/gstenumtypes.h:
18918 * win32/gstoptimalscheduler.vcproj:
18919 * win32/gstversion.h:
18921 * win32/testsuite/bins.vcproj:
18922 * win32/testsuite/bytestream.vcproj:
18923 * win32/testsuite/caps.vcproj:
18924 * win32/testsuite/cleanup.vcproj:
18925 * win32/testsuite/clock.vcproj:
18926 * win32/testsuite/debug.vcproj:
18927 * win32/testsuite/dlopen.vcproj:
18928 * win32/testsuite/dynparams.vcproj:
18929 * win32/testsuite/elements.vcproj:
18930 * win32/testsuite/ghostpads.vcproj:
18931 * win32/testsuite/indexers.vcproj:
18932 * win32/testsuite/negotiation.vcproj:
18933 * win32/testsuite/parse.vcproj:
18934 * win32/testsuite/plugin.vcproj:
18935 * win32/testsuite/refcounting.vcproj:
18936 * win32/testsuite/schedulers.vcproj:
18937 * win32/testsuite/states.vcproj:
18938 * win32/testsuite/tags.vcproj:
18939 * win32/testsuite/threads.vcproj:
18940 remove old win32 stuff that isn't maintained and should be
18943 2005-11-30 Andy Wingo <wingo@pobox.com>
18945 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18946 loading the gst.interfaces python module bork.
18948 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18949 available since GLib 2.2. Fixes #318031.
18951 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18954 * check/.cvsignore:
18955 * check/Makefile.am:
18956 * check/elements/.cvsignore:
18957 * check/elements/fakesrc.c:
18958 * check/elements/fdsrc.c:
18959 * check/elements/identity.c:
18960 * check/generic/.cvsignore:
18961 * check/generic/states.c:
18962 * check/gst-libs/.cvsignore:
18963 * check/gst-libs/controller.c:
18964 * check/gst-libs/gdp.c:
18965 * check/gst/.cvsignore:
18966 * check/gst/capslist.h:
18968 * check/gst/gstbin.c:
18969 * check/gst/gstbuffer.c:
18970 * check/gst/gstbus.c:
18971 * check/gst/gstcaps.c:
18972 * check/gst/gstelement.c:
18973 * check/gst/gstevent.c:
18974 * check/gst/gstghostpad.c:
18975 * check/gst/gstiterator.c:
18976 * check/gst/gstmessage.c:
18977 * check/gst/gstminiobject.c:
18978 * check/gst/gstobject.c:
18979 * check/gst/gstpad.c:
18980 * check/gst/gstpipeline.c:
18981 * check/gst/gstplugin.c:
18982 * check/gst/gstsegment.c:
18983 * check/gst/gststructure.c:
18984 * check/gst/gstsystemclock.c:
18985 * check/gst/gsttag.c:
18986 * check/gst/gstutils.c:
18987 * check/gst/gstvalue.c:
18988 * check/net/.cvsignore:
18989 * check/net/gstnetclientclock.c:
18990 * check/net/gstnettimeprovider.c:
18991 * check/pipelines/.cvsignore:
18992 * check/pipelines/cleanup.c:
18993 * check/pipelines/simple_launch_lines.c:
18994 * check/pipelines/stress.c:
18995 * check/states/.cvsignore:
18996 * check/states/sinks.c:
18998 * examples/Makefile.am:
18999 * examples/appreader/.cvsignore:
19000 * examples/appreader/Makefile.am:
19001 * examples/appreader/appreader.c:
19002 * examples/controller/.cvsignore:
19003 * examples/controller/Makefile.am:
19004 * examples/controller/audio-example.c:
19005 * examples/cutter/.cvsignore:
19006 * examples/cutter/Makefile.am:
19007 * examples/cutter/cutter.c:
19008 * examples/cutter/cutter.h:
19009 * examples/events/Makefile.am:
19010 * examples/events/seek.c:
19011 * examples/helloworld/.cvsignore:
19012 * examples/helloworld/Makefile.am:
19013 * examples/helloworld/helloworld.c:
19014 * examples/helloworld2/.cvsignore:
19015 * examples/helloworld2/Makefile.am:
19016 * examples/helloworld2/helloworld2.c:
19017 * examples/launch/.cvsignore:
19018 * examples/launch/Makefile.am:
19019 * examples/launch/mp3parselaunch.c:
19020 * examples/launch/mp3play:
19021 * examples/manual/.cvsignore:
19022 * examples/manual/Makefile.am:
19023 * examples/manual/extract.pl:
19024 * examples/metadata/Makefile.am:
19025 * examples/metadata/read-metadata.c:
19026 * examples/mixer/.cvsignore:
19027 * examples/mixer/Makefile.am:
19028 * examples/mixer/mixer.c:
19029 * examples/mixer/mixer.h:
19030 * examples/pingpong/.cvsignore:
19031 * examples/pingpong/Makefile.am:
19032 * examples/pingpong/pingpong.c:
19033 * examples/plugins/.cvsignore:
19034 * examples/plugins/Makefile.am:
19035 * examples/plugins/example.c:
19036 * examples/plugins/example.h:
19037 * examples/pwg/.cvsignore:
19038 * examples/pwg/Makefile.am:
19039 * examples/pwg/extract.pl:
19040 * examples/queue/.cvsignore:
19041 * examples/queue/Makefile.am:
19042 * examples/queue/queue.c:
19043 * examples/queue2/.cvsignore:
19044 * examples/queue2/Makefile.am:
19045 * examples/queue2/queue2.c:
19046 * examples/queue3/.cvsignore:
19047 * examples/queue3/Makefile.am:
19048 * examples/queue3/queue3.c:
19049 * examples/queue4/.cvsignore:
19050 * examples/queue4/Makefile.am:
19051 * examples/queue4/queue4.c:
19052 * examples/retag/.cvsignore:
19053 * examples/retag/Makefile.am:
19054 * examples/retag/retag.c:
19055 * examples/retag/transcode.c:
19056 * examples/thread/.cvsignore:
19057 * examples/thread/Makefile.am:
19058 * examples/thread/thread.c:
19059 * examples/typefind/.cvsignore:
19060 * examples/typefind/Makefile.am:
19061 * examples/typefind/typefind.c:
19062 * examples/xml/.cvsignore:
19063 * examples/xml/Makefile.am:
19064 * examples/xml/createxml.c:
19065 * examples/xml/runxml.c:
19066 * tests/Makefile.am:
19067 * tests/check/Makefile.am:
19068 * testsuite/.cvsignore:
19069 * testsuite/Makefile.am:
19071 * testsuite/caps/.cvsignore:
19072 * testsuite/caps/Makefile.am:
19073 * testsuite/caps/app_fixate.c:
19074 * testsuite/caps/audioscale.c:
19075 * testsuite/caps/caps.c:
19076 * testsuite/caps/caps.h:
19077 * testsuite/caps/caps_strings:
19078 * testsuite/caps/compatibility.c:
19079 * testsuite/caps/deserialize.c:
19080 * testsuite/caps/enumcaps.c:
19081 * testsuite/caps/eratosthenes.c:
19082 * testsuite/caps/filtercaps.c:
19083 * testsuite/caps/fixed.c:
19084 * testsuite/caps/fraction-convert.c:
19085 * testsuite/caps/fraction-multiply-and-zero.c:
19086 * testsuite/caps/intersect2.c:
19087 * testsuite/caps/intersection.c:
19088 * testsuite/caps/normalisation.c:
19089 * testsuite/caps/random.c:
19090 * testsuite/caps/renegotiate.c:
19091 * testsuite/caps/sets.c:
19092 * testsuite/caps/simplify.c:
19093 * testsuite/caps/string-conversions.c:
19094 * testsuite/caps/structure.c:
19095 * testsuite/caps/subtract.c:
19096 * testsuite/caps/union.c:
19097 * testsuite/debug/.cvsignore:
19098 * testsuite/debug/Makefile.am:
19099 * testsuite/debug/category.c:
19100 * testsuite/debug/commandline.c:
19101 * testsuite/debug/global.c:
19102 * testsuite/debug/output.c:
19103 * testsuite/debug/printf_extension.c:
19104 * testsuite/dlopen/.cvsignore:
19105 * testsuite/dlopen/Makefile.am:
19106 * testsuite/dlopen/dlopen_gst.c:
19107 * testsuite/dlopen/loadgst.c:
19108 * testsuite/elements/.cvsignore:
19109 * testsuite/elements/Makefile.am:
19110 * testsuite/elements/gst-inspect-check.in:
19111 * testsuite/elements/struct_i386.h:
19112 * testsuite/elements/struct_size.c:
19113 * testsuite/indexers/.cvsignore:
19114 * testsuite/indexers/Makefile.am:
19115 * testsuite/indexers/cache1.c:
19116 * testsuite/indexers/indexdump.c:
19117 * testsuite/parse/.cvsignore:
19118 * testsuite/parse/Makefile.am:
19119 * testsuite/parse/parse1.c:
19120 * testsuite/parse/parse2.c:
19121 * testsuite/plugin/.cvsignore:
19122 * testsuite/plugin/Makefile.am:
19123 * testsuite/plugin/README:
19124 * testsuite/plugin/dynamic.c:
19125 * testsuite/plugin/linked.c:
19126 * testsuite/plugin/loading.c:
19127 * testsuite/plugin/registry.c:
19128 * testsuite/plugin/static.c:
19129 * testsuite/plugin/static2.c:
19130 * testsuite/plugin/testplugin.c:
19131 * testsuite/plugin/testplugin2.c:
19132 * testsuite/plugin/testplugin2_s.c:
19133 * testsuite/plugin/testplugin_s.c:
19134 * testsuite/refcounting/.cvsignore:
19135 * testsuite/refcounting/Makefile.am:
19136 * testsuite/refcounting/bin.c:
19137 * testsuite/refcounting/element.c:
19138 * testsuite/refcounting/element_pad.c:
19139 * testsuite/refcounting/mainloop.c:
19140 * testsuite/refcounting/mem.c:
19141 * testsuite/refcounting/mem.h:
19142 * testsuite/refcounting/object.c:
19143 * testsuite/refcounting/pad.c:
19144 * testsuite/refcounting/sched.c:
19145 * testsuite/refcounting/thread.c:
19146 * testsuite/states/.cvsignore:
19147 * testsuite/states/Makefile.am:
19148 * testsuite/states/bin.c:
19149 * testsuite/states/locked.c:
19150 * testsuite/states/parent.c:
19151 * testsuite/threads/.cvsignore:
19152 * testsuite/threads/159566.c:
19153 * testsuite/threads/159852.c:
19154 * testsuite/threads/Makefile.am:
19155 * testsuite/threads/queue.c:
19156 * testsuite/threads/signals.c:
19157 * testsuite/threads/staticrec.c:
19158 * testsuite/threads/thread.c:
19159 * testsuite/threads/threadb.c:
19160 * testsuite/threads/threadc.c:
19161 * testsuite/threads/threadd.c:
19162 * testsuite/threads/threade.c:
19163 * testsuite/threads/threadf.c:
19164 * testsuite/threads/threadg.c:
19165 * testsuite/threads/threadh.c:
19166 * testsuite/threads/threadi.c:
19167 move all of these under tests
19169 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19172 * tests/Makefile.am:
19175 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19177 * docs/gst/gstreamer-sections.txt:
19178 * tests/sched/.cvsignore:
19179 * tests/sched/Makefile.am:
19180 * tests/sched/cases/(fs-fs).xml:
19181 * tests/sched/cases/(fs-i-fs).xml:
19182 * tests/sched/cases/(fs-i-i-fs).xml:
19183 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19184 * tests/sched/dynamic-pipeline.c:
19185 * tests/sched/interrupt1.c:
19186 * tests/sched/interrupt2.c:
19187 * tests/sched/interrupt3.c:
19188 * tests/sched/runtestcases:
19189 * tests/sched/runxml.c:
19190 * tests/sched/sched-stress.c:
19191 * tests/sched/sort.c:
19192 * tests/sched/testcases:
19193 * tests/sched/testcases1.tc:
19194 * tests/seeking/.cvsignore:
19195 * tests/seeking/Makefile.am:
19196 * tests/seeking/seeking1.c:
19197 * tests/threadstate/.cvsignore:
19198 * tests/threadstate/Makefile.am:
19199 * tests/threadstate/test1.c:
19200 * tests/threadstate/test2.c:
19201 * tests/threadstate/threadstate1.c:
19202 * tests/threadstate/threadstate2.c:
19203 * tests/threadstate/threadstate3.c:
19204 * tests/threadstate/threadstate4.c:
19205 * tests/threadstate/threadstate5.c:
19206 remove obsolete tests
19208 * tests/bench-complexity.scm:
19209 * tests/bench-mass_elements.scm:
19210 * tests/complexity.c:
19211 * tests/complexity.gnuplot:
19212 * tests/instantiate/.cvsignore:
19213 * tests/instantiate/Makefile.am:
19214 * tests/instantiate/caps.c:
19215 * tests/mass_elements.c:
19216 * tests/network-clock-utils.scm:
19217 * tests/network-clock.scm:
19219 First pass at cleaning up tests/ dir before moving the rest
19220 Combined with CVS surgery
19222 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19225 queue has moved, update
19227 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19229 * docs/gst/gstreamer-sections.txt:
19230 remove double entries from the docs
19231 * gst/gst_private.h:
19232 * gst/gstinfo.c: (_gst_debug_init):
19233 remove the THREAD debug category
19237 * docs/gst/gstreamer.types:
19238 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19239 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19240 completely move queue and fix up debugging categories
19242 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19244 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19245 make initialization portable, using LL is not
19247 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19249 * win32/common/gstconfig.h:
19252 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19254 * win32/common/libgstreamer.def:
19255 rename symbols; sort base section
19257 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19259 * gst/gstclock.c: (do_linear_regression):
19260 remove crack non-portable handrolled DEBUG macro
19262 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19264 * docs/random/release:
19266 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19267 (gst_object_flags_get_type), (register_gst_bin_flags),
19268 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19269 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19270 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19271 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19272 (gst_caps_flags_get_type), (register_gst_clock_return),
19273 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19274 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19275 (gst_clock_flags_get_type), (register_gst_state),
19276 (gst_state_get_type), (register_gst_state_change_return),
19277 (gst_state_change_return_get_type), (register_gst_state_change),
19278 (gst_state_change_get_type), (register_gst_element_flags),
19279 (gst_element_flags_get_type), (register_gst_core_error),
19280 (gst_core_error_get_type), (register_gst_library_error),
19281 (gst_library_error_get_type), (register_gst_resource_error),
19282 (gst_resource_error_get_type), (register_gst_stream_error),
19283 (gst_stream_error_get_type), (register_gst_event_type_flags),
19284 (gst_event_type_flags_get_type), (register_gst_event_type),
19285 (gst_event_type_get_type), (register_gst_seek_type),
19286 (gst_seek_type_get_type), (register_gst_seek_flags),
19287 (gst_seek_flags_get_type), (register_gst_format),
19288 (gst_format_get_type), (register_gst_index_certainty),
19289 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19290 (gst_index_entry_type_get_type),
19291 (register_gst_index_lookup_method),
19292 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19293 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19294 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19295 (gst_index_flags_get_type), (register_gst_debug_level),
19296 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19297 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19298 (gst_iterator_result_get_type), (register_gst_iterator_item),
19299 (gst_iterator_item_get_type), (register_gst_message_type),
19300 (gst_message_type_get_type), (register_gst_mini_object_flags),
19301 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19302 (gst_pad_link_return_get_type), (register_gst_flow_return),
19303 (gst_flow_return_get_type), (register_gst_activate_mode),
19304 (gst_activate_mode_get_type), (register_gst_pad_direction),
19305 (gst_pad_direction_get_type), (register_gst_pad_flags),
19306 (gst_pad_flags_get_type), (register_gst_pad_presence),
19307 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19308 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19309 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19310 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19311 (gst_plugin_flags_get_type), (register_gst_rank),
19312 (gst_rank_get_type), (register_gst_query_type),
19313 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19314 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19315 (gst_tag_flag_get_type), (register_gst_task_state),
19316 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19317 (gst_alloc_trace_flags_get_type),
19318 (register_gst_type_find_probability),
19319 (gst_type_find_probability_get_type), (register_gst_uri_type),
19320 (gst_uri_type_get_type), (register_gst_parse_error),
19321 (gst_parse_error_get_type):
19322 * win32/common/gstenumtypes.h:
19323 * win32/common/gstversion.h:
19324 update visual studio generated files
19326 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19328 * win32/vs6/libgstbase.dsp:
19329 * win32/vs6/libgstelements.dsp:
19330 update project files for new locations
19332 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19337 reinstate and update
19342 * docs/random/LICENSE:
19345 2005-11-30 Edward Hervey <edward@fluendo.com>
19347 * gst/gsttypefind.c: (gst_type_find_register):
19348 * gst/gsttypefind.h:
19349 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19350 (gst_type_find_factory_dispose):
19351 * gst/gsttypefindfactory.h:
19352 Fix memory leak in GstTypeFindFactory.
19354 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19357 * plugins/elements/Makefile.am:
19358 * plugins/elements/gstelements.c:
19359 * plugins/elements/gstqueue.c:
19360 move queue from core to the elements plugin
19362 2005-11-29 Andy Wingo <wingo@pobox.com>
19364 * libs/gst/base/gstbasetransform.h:
19365 * libs/gst/base/gstbasesrc.h:
19366 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19368 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19369 of pointers by which to pad very extensible base classes (like the
19370 ones in libs/gst/base).
19372 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19374 * docs/gst/gstreamer-docs.sgml:
19375 * docs/gst/gstreamer-sections.txt:
19376 * docs/libs/gstreamer-libs-docs.sgml:
19377 * docs/libs/gstreamer-libs-sections.txt:
19378 moving documentation from core to lib
19380 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19382 * check/Makefile.am:
19384 * docs/gst/Makefile.am:
19386 * gst/base/.cvsignore:
19387 * gst/base/Makefile.am:
19389 * gst/base/gstadapter.c:
19390 * gst/base/gstadapter.h:
19391 * gst/base/gstbasesink.c:
19392 * gst/base/gstbasesink.h:
19393 * gst/base/gstbasesrc.c:
19394 * gst/base/gstbasesrc.h:
19395 * gst/base/gstbasetransform.c:
19396 * gst/base/gstbasetransform.h:
19397 * gst/base/gstcollectpads.c:
19398 * gst/base/gstcollectpads.h:
19399 * gst/base/gstpushsrc.c:
19400 * gst/base/gstpushsrc.h:
19401 * gst/base/gsttypefindhelper.c:
19402 * gst/base/gsttypefindhelper.h:
19403 * gst/check/Makefile.am:
19404 * gst/check/gstcheck.c:
19405 * gst/check/gstcheck.h:
19406 * gst/net/Makefile.am:
19407 * gst/net/gstnet.h:
19408 * gst/net/gstnetclientclock.c:
19409 * gst/net/gstnetclientclock.h:
19410 * gst/net/gstnettimepacket.c:
19411 * gst/net/gstnettimepacket.h:
19412 * gst/net/gstnettimeprovider.c:
19413 * gst/net/gstnettimeprovider.h:
19414 * libs/gst/Makefile.am:
19415 * libs/gst/base/Makefile.am:
19416 * libs/gst/base/gstbasetransform.c:
19417 * libs/gst/check/Makefile.am:
19418 * plugins/elements/Makefile.am:
19420 CVS surgery + support to move base, check, and net out of gst
19423 2005-11-29 Andy Wingo <wingo@pobox.com>
19425 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19427 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19430 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19432 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19434 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19436 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19437 padding; reduces object size by about 30%. We don't expect
19438 anything else to go into gstobject.
19440 * gst/gstminiobject.h (struct _GstMiniObject)
19441 (struct _GstMiniObjectClass): Only one pointer of padding; the
19442 payload is only a pointer and two ints anyway. For the class there
19443 are only two methods as well.
19445 * gst/gstelement.h (struct _GstElementClass): Removed
19446 the state_changed signal callback, it is not used.
19448 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19450 * docs/gst/gstreamer.types:
19451 fix includes, though they are a little dinky
19453 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19455 * check/Makefile.am:
19456 look in the right place for elements, a lot more chance of
19459 remove indexers and elements subdirs
19460 * plugins/Makefile.am:
19461 make indexers conditional
19463 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19467 * plugins/elements/Makefile.am:
19468 * plugins/elements/gstcapsfilter.c:
19469 * plugins/elements/gstfilesink.c:
19470 * plugins/elements/gstfilesrc.c:
19471 * plugins/elements/gstidentity.c:
19472 * plugins/indexers/Makefile.am:
19473 do CVS surgery and related build fixery to move elements
19474 and indexers in a new gstreamer/plugins directory, out of the
19477 2005-11-29 Andy Wingo <wingo@pobox.com>
19479 * check/Makefile.am:
19480 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19481 * pkgconfig/gstreamer-net.pc.in:
19482 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19485 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19487 * tools/Makefile.am:
19488 * tools/gst-complete.1.in:
19489 * tools/gst-complete.c:
19490 * tools/gst-compprep.1.in:
19491 * tools/gst-compprep.c:
19492 removing -compprep and -complete
19494 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19496 * gst/gstevent.c: (gst_event_new_new_segment),
19497 (gst_event_parse_new_segment):
19499 fix #320529 - clean up new_segment API and structure.
19500 Let's hope everyone was using the methods, and not the structure.
19502 2005-11-29 Edward Hervey <edward@fluendo.com>
19504 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19505 (gst_base_sink_event), (gst_base_sink_do_sync),
19506 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19507 Properly handle non GST_FORMAT_TIME segment
19508 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19509 Properly handle non GST_FORMAT_TIME segment
19510 * gst/gstsegment.c:
19511 This function is valid if the accumulator is 0 and the format
19512 is different from the requested format.
19514 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19516 * docs/gst/gstreamer-sections.txt:
19517 Add gst_query_new_seeking and gst_query_parse_seeking to the
19520 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19522 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19523 Treat a pad alloc with new caps the same as if we were not
19524 negotiated, in order to allow a changing upstream output
19525 to produce a new format of data.
19527 2005-11-29 Edward Hervey <edward@fluendo.com>
19529 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19530 (gst_base_transform_event), (gst_base_transform_eventfunc):
19531 The event virtual method is now properly implemented, with a default
19533 Sub classes should call the parent_class event method. They should
19534 return FALSE if they had a problem handling the given event, or don't
19535 want GstBaseTransform to send that even downstream
19536 * gst/elements/gstidentity.c: (gst_identity_class_init),
19537 (gst_identity_init), (gst_identity_event),
19538 (gst_identity_transform_ip), (gst_identity_set_property),
19539 (gst_identity_get_property):
19540 * gst/elements/gstidentity.h:
19541 Added the single-segment boolean property.
19542 If set to TRUE, it will output a single segment of data, starting from
19543 0, will eat up all incoming newsegment, and modify the timestamp of the
19544 buffers accordingly
19546 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19548 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19549 Don't ref NULL target pad (#322751). Improve docs.
19551 2005-11-29 Michael Smith <msmith@fluendo.com>
19553 * gst/gstregistryxml.c: (load_plugin):
19554 Don't crash if we failed to load a feature from a plugin.
19556 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19558 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19560 use more check API and less GLib API
19562 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19565 don't run checks if we don't have check
19566 * common/check.mak:
19567 remove the registry when running make torture
19568 * docs/gst/gstreamer-sections.txt:
19569 remove second multiply
19570 * gst/gstqueue.c: (gst_queue_loop):
19571 fix a compile warning when disabling debug
19573 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19576 Hey! Let's print the pad name if the pointer != NULL instead
19577 of when it == NULL :-)
19579 2005-11-28 Wim Taymans <wim@fluendo.com>
19581 * check/gst/gstutils.c: (GST_START_TEST):
19582 Updated check, add some scaling accuracy checking code.
19584 * gst/gstutils.c: (gst_util_div128_64),
19585 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19586 (gst_util_uint64_scale_int):
19587 Fix 6 times faster division code. Optimize for common
19588 1/1 and less common X/1 cases.
19590 2005-11-28 Wim Taymans <wim@fluendo.com>
19592 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19595 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19596 (do_linear_regression), (gst_clock_add_observation):
19598 Release lock when the clock cannot be slaved.
19599 Catch the case where the regression returned an invalid denominator.
19601 * gst/gstutils.c: (gst_util_div128_64_iterate),
19602 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19603 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19604 Add protentially more performant non-iterative 128/64 divide function
19605 that unfortunatly does not work yet.
19606 Shortcut the trivial 0/X = 0 case.
19607 Remove the warnings on overflow.
19609 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19611 * gst/gstplugin.c: (gst_plugin_register_func):
19612 everything causing a plugin not to load should be at least a WARNING
19614 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19616 * docs/random/ensonic/dparams.txt:
19617 some TODOs for the next dev cycle
19618 * libs/gst/controller/gstcontroller.c:
19619 (gst_controlled_property_set_interpolation_mode),
19620 (gst_controlled_property_new):
19621 * libs/gst/controller/gstcontroller.h:
19622 use base type to assign acccessor functions
19624 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19626 * check/Makefile.am:
19627 Oops, that should have been top_srcdir
19629 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19631 * check/Makefile.am:
19632 * check/elements/fdsrc.c: (GST_START_TEST):
19633 Use a cmdline define to specify the location of a file to use for
19634 testing, to avoid breaking distcheck.
19636 2005-11-28 Andy Wingo <wingo@pobox.com>
19638 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19640 2005-11-28 Edward Hervey <edward@fluendo.com>
19642 * tools/gst-launch.c: (main):
19643 Clarify the output strings, makes it easier to translate.
19646 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19649 don't try and build net if we don't even have <sys/socket.h>
19651 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19653 * check/Makefile.am:
19654 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19655 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19656 Add tests for fdsrc seekability
19658 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19659 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19660 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19661 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19662 * gst/elements/gstfdsrc.h:
19663 fdsrc should not be a 'live' source.
19664 Implement seeking on seekable fd's.
19666 * gst/gstquery.c: (gst_query_new_seeking),
19667 (gst_query_parse_seeking):
19669 Implement SEEKING query functions:
19670 *_new_seeking and *_parse_seeking
19672 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19674 * gst/gstelement.c: (gst_element_dispose):
19677 * gst/gstiterator.c:
19678 * gst/gststructure.c:
19681 * libs/gst/controller/gstcontroller.c:
19682 (gst_controlled_property_set_interpolation_mode):
19683 * libs/gst/controller/gstcontroller.h:
19684 * libs/gst/controller/gstinterpolation.c:
19685 (interpolate_none_get_enum_value_array):
19686 support controlling enums
19688 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19691 Improve documentation for gst_value_union().
19694 Change return value for union, intersect and subtract functions
19695 from gint to gboolean.
19697 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19699 * gst/gstvalue.c: (gst_value_serialize_any_list),
19700 (gst_value_transform_any_list_string),
19701 (gst_value_deserialize_list), (gst_value_deserialize_array),
19702 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19703 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19704 (gst_value_set_fraction_range_full),
19705 (gst_value_deserialize_fraction_range),
19706 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19707 (gst_value_deserialize_boolean),
19708 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19709 (gst_value_serialize_float), (gst_value_deserialize_float),
19710 (gst_string_wrap), (gst_value_deserialize_string),
19711 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19712 (gst_value_union_int_range_int_range),
19713 (gst_value_intersect_int_range_int_range),
19714 (gst_value_intersect_double_range_double_range),
19715 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19716 (gst_value_subtract_int_range_int_range),
19717 (gst_value_subtract_double_double_range),
19718 (gst_value_subtract_double_range_double_range),
19719 (gst_value_deserialize_fraction):
19721 Use gint, gdouble and gchar in our API instead of int, double and
19722 char (and make usage in gstvalue.c more consistent).
19724 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19726 * check/Makefile.am:
19727 * libs/gst/controller/Makefile.am:
19728 * libs/gst/dataprotocol/Makefile.am:
19729 fix up Makefile.am and remove GST_ENABLE_NEW
19731 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19735 * gst/base/Makefile.am:
19736 * gst/check/Makefile.am:
19737 * gst/elements/Makefile.am:
19738 * gst/net/Makefile.am:
19739 update LDFLAGS use some more
19741 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19743 * common/m4/gst-doc.m4:
19746 2005-11-26 Edward Hervey <edward@fluendo.com>
19748 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19749 This shouldn't issue a g_warning since it returns NULL if it
19750 couldn't find the plugin, and all functions using this behave
19751 properly on a NULL return. Switching to a GST_WARNING.
19753 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19755 * gst/gstbin.c: (gst_bin_handle_message_func):
19756 Don't leak clock messages.
19758 2005-11-25 Wim Taymans <wim@fluendo.com>
19760 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19761 (gst_util_uint64_scale_int):
19762 Optimisations, remove unneeded vars.
19764 2005-11-25 Wim Taymans <wim@fluendo.com>
19766 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19767 Added more checks for the high precision uint64 cases.
19769 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19770 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19771 Implement high precision (guint64 * guint64) / guint64.
19773 2005-11-24 Wim Taymans <wim@fluendo.com>
19775 * gst/base/gstbasesrc.c: (gst_base_src_query):
19776 Fix wrong percentage query.
19778 * gst/gstutils.c: (gst_util_uint64_scale),
19779 (gst_util_uint64_scale_int):
19780 Add some more common cases that can be handled
19781 efficiently to _scale.
19783 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19785 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19786 (gst_mini_object_suite):
19787 don't use check calls from threads; check probably isn't
19788 threadsafe and using a lock to make it threadsafe would
19789 defeat the purpose of this check
19790 * gst/check/gstcheck.c:
19791 * gst/check/gstcheck.h:
19792 use GST_DEBUG some more
19794 2005-11-24 Wim Taymans <wim@fluendo.com>
19796 * gst/gstutils.c: (gst_util_uint64_scale),
19797 (gst_util_uint64_scale_int):
19798 Chain trivial case to _scale_int.
19800 2005-11-24 Wim Taymans <wim@fluendo.com>
19802 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19803 Added test for scaling.
19808 * gst/gstutils.c: (gst_util_uint64_scale_int):
19809 Implemented high precision scaling code.
19811 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19814 do not crash on pad==NULL
19816 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19818 Patch by: Stefan Kost
19820 * common/gtk-doc.mak:
19821 * docs/gst/Makefile.am:
19822 * docs/libs/Makefile.am:
19823 Fix distcheck issues for the libraries docs build
19826 2005-11-24 Michael Smith <msmith@fluendo.com>
19828 * docs/manual/basics-helloworld.xml:
19829 Fix bug #315027: memory leak in example code in docs.
19831 2005-11-24 Michael Smith <msmith@fluendo.com>
19833 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19834 Unlock the PREROLL_LOCK in a failure case.
19836 2005-11-24 Wim Taymans <wim@fluendo.com>
19838 * docs/gst/gstreamer-sections.txt:
19839 * gst/base/gstadapter.h:
19840 * gst/base/gstbasesink.h:
19841 * gst/base/gstbasesrc.h:
19842 * gst/base/gstbasetransform.h:
19843 * gst/base/gstpushsrc.h:
19844 * gst/elements/gstfakesink.h:
19845 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19846 * gst/elements/gstfakesrc.h:
19847 * gst/elements/gstfilesink.h:
19848 * gst/elements/gstfilesrc.h:
19851 * gst/gstbuffer.c: (_gst_buffer_copy):
19854 * gst/gstchildproxy.c:
19856 * gst/gstelement.c:
19857 * gst/gstelementfactory.c:
19858 * gst/gstelementfactory.h:
19860 * gst/gstghostpad.h:
19862 * gst/gstinterface.h:
19863 * gst/gstminiobject.c:
19864 * gst/gstminiobject.h:
19867 * gst/gstpadtemplate.h:
19868 * gst/gstpipeline.h:
19869 * gst/gstpluginfeature.h:
19872 * gst/gsttaglist.c:
19873 * gst/gsttaglist.h:
19874 * gst/gsttagsetter.c:
19875 * gst/gsttagsetter.h:
19878 * gst/gsttypefind.h:
19881 * gst/net/gstnetclientclock.c:
19882 * gst/net/gstnetclientclock.h:
19883 * gst/net/gstnettimepacket.c:
19884 * gst/net/gstnettimeprovider.c:
19885 * gst/net/gstnettimeprovider.h:
19888 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19890 * configure.ac: back to HEAD
19892 === release 0.9.6 ===
19894 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19897 releasing 0.9.6, "Always On Time"
19899 2005-11-23 Wim Taymans <wim@fluendo.com>
19901 * docs/gst/gstreamer-sections.txt:
19902 * gst/glib-compat.c:
19903 * gst/gsttagsetter.c:
19905 * gst/net/gstnetclientclock.c:
19906 * gst/net/gstnettimepacket.h:
19909 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19911 * docs/faq/using.xml:
19912 * docs/libs/tmpl/gstcontrol.sgml:
19913 * docs/manual/advanced-dparams.xml:
19914 * docs/manual/appendix-checklist.xml:
19915 * docs/manual/basics-elements.xml:
19916 * docs/pwg/other-source.xml:
19917 * docs/random/moving-plugins:
19919 * tools/gst-launch.1.in:
19920 remove mentions of sinesrc
19922 2005-11-23 Michael Smith <msmith@fluendo.com>
19924 * docs/gst/gstreamer-sections.txt:
19925 Update for new API and API changes.
19927 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19929 Documentation typo fix.
19930 * gst/net/gstnettimepacket.c:
19931 Documentation fixes for arguments.
19933 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19935 * gst/gststructure.c: (gst_structure_get_fraction),
19936 (gst_structure_parse_value),
19937 (gst_structure_fixate_field_nearest_fraction):
19938 * gst/gststructure.h:
19939 * gst/gstutils.c: (gst_util_uint64_scale_int):
19941 * scripts/update-funcnames:
19943 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19944 Make gst_structure_fixate_field_nearest_fraction take a numerator
19945 and denominator argument instead of a GValue
19946 add gst_structure_get_fraction helper function.
19948 2005-11-23 Wim Taymans <wim@fluendo.com>
19950 * docs/design/part-TODO.txt:
19953 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19954 * gst/net/gstnetclientclock.h:
19955 Use parent fields for timeout and window_size.
19957 2005-11-23 Andy Wingo <wingo@pobox.com>
19959 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19960 rate_num/rate_denom change.
19962 * gst/net/gstnetclientclock.c
19963 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19964 OBJECT_LOCK. Don't call add_observation with the lock.
19966 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19968 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19970 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19971 deal with rate as a fraction whose numerator and denominator are
19972 GstClockTime values.
19973 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19974 master; the other fields are protected by the SLAVE_LOCK.
19975 (do_linear_regression): Note that this must be called with the
19977 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19978 OBJECT_LOCK. Call set_calibration instead of touching the
19979 variables directly.
19980 (gst_clock_set_property, gst_clock_get_property): Protect
19981 master/slave parameters with the SLAVE_LOCK.
19983 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19984 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19985 note that all of the instance variables that add_observation and
19986 the set_master functions use are protected by that lock and not
19988 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19990 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19991 the caller to take the object lock.
19993 2005-11-23 Wim Taymans <wim@fluendo.com>
19995 * gst/gsterror.c: (_gst_core_errors_init):
19997 Add error for clock stuff.
19999 * gst/gstpipeline.c: (gst_pipeline_change_state),
20000 (gst_pipeline_set_clock):
20001 Post clock error when clock cannot be used in a pipeline.
20003 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20005 * docs/gst/gstreamer-sections.txt:
20006 make two symbols from gstinfo private for the docs
20007 * gst/base/gstcollectpads.h:
20009 fix doc typos, update docs
20011 2005-11-22 Wim Taymans <wim@fluendo.com>
20013 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20014 (gst_base_sink_wait), (gst_base_sink_do_sync),
20015 (gst_base_sink_handle_event):
20016 * gst/base/gstbasesink.h:
20017 No need to store the clock, the parent element class already
20020 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20021 Updates for clock_set returning a gboolean
20023 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20024 (gst_clock_id_wait_async), (gst_clock_class_init),
20025 (gst_clock_init), (gst_clock_finalize),
20026 (gst_clock_get_internal_time), (gst_clock_get_time),
20027 (gst_clock_slave_callback), (gst_clock_set_master),
20028 (gst_clock_get_master), (do_linear_regression),
20029 (gst_clock_add_observation), (gst_clock_set_property),
20030 (gst_clock_get_property):
20032 Implement master/slave. When setting a clock as a slave, a
20033 periodic timeout is scheduled to sample master and slave times.
20034 Then the slave clock is recalibrated to match offset and rate
20035 of the master clock.
20036 Update logging a bit.
20037 Add flag so that a clock can state that is cannot be slaved to
20040 * gst/gstelement.c: (gst_element_set_clock):
20041 * gst/gstelement.h:
20042 The set clock returns a gboolean for when an element cannot
20043 deal with the selected clock in the pipeline.
20045 * gst/gstpipeline.c: (gst_pipeline_change_state),
20046 (gst_pipeline_set_clock):
20047 * gst/gstpipeline.h:
20048 Handle the case where the selected clock cannot be set on
20051 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20052 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20053 (gst_net_client_clock_set_property),
20054 (gst_net_client_clock_get_property),
20055 (gst_net_client_clock_observe_times):
20056 * gst/net/gstnetclientclock.h:
20057 Use regression code in GstClock parent, remove duplicated
20060 2005-11-22 Michael Smith <msmith@fluendo.com>
20062 * gst/gstutils.c: (gst_util_clock_time_scale):
20064 * docs/gst/gstreamer-sections.txt:
20065 Rename method to have extra underscore.
20067 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20069 * gst/elements/Makefile.am:
20070 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20071 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20072 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20073 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20074 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20075 * gst/elements/gstfakesrc.h:
20076 * gst/gstqueue.c: (queue_leaky_get_type):
20077 correctly fix GEnumValues so that nick is the short lowercase
20079 * tools/gst-inspect.c: (print_element_properties_info):
20080 also show the nick, since it's useful to use from parse_launch
20084 2005-11-22 Michael Smith <msmith@fluendo.com>
20086 * gst/gstutils.c: (gst_util_clocktime_scale):
20088 * docs/gst/gstreamer-sections.txt:
20089 Add util method for scaling a clocktime by a fraction. Useful
20090 implementation is left as an exercise for the reader.
20092 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20094 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20095 If needed, allocate storage in the destination value during
20098 2005-11-22 Edward Hervey <edward@fluendo.com>
20100 * docs/gst/gstreamer-sections.txt:
20103 * gst/gsturitype.c:
20104 * gst/gsturitype.h:
20105 * gst/gstutils.c: (gst_util_set_object_arg):
20106 * tools/gst-compprep.c: (main):
20107 * tools/gst-inspect.c: (print_element_properties_info):
20108 Removed GstURI, closes bug #321061
20110 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20112 * check/gst/gststructure.c: (GST_START_TEST):
20113 * gst/gststructure.c: (gst_structure_parse_value):
20114 Oops, broke automatic string type parsing.
20115 Add a test to catch it in future.
20117 2005-11-22 Andy Wingo <wingo@pobox.com>
20119 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20120 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20121 Actually rename the function implementations. Grr.
20123 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20125 * check/gst/capslist.h:
20127 * check/gst/gststructure.c: (GST_START_TEST),
20128 (gst_structure_suite):
20129 Test automatic value type detection in gst_structure_from_string.
20130 * gst/gststructure.c: (gst_structure_parse_value):
20131 Add fraction as a type we try and guess automatically in
20132 caps/structure strings.
20134 2005-11-22 Andy Wingo <wingo@pobox.com>
20136 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20138 * gst/gsttagsetter.h:
20139 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20140 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20141 (gst_tag_setter_add_tag_valist)
20142 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20143 _add_values, _add_valist, and _add_valist_values. Since this is an
20144 interface the function suffixes should be more explicit so
20145 language binding don't end up with element.add_valist ->
20146 gst_tag_setter_add_valist, for example. Fixes #322069.
20148 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20150 * check/gst/gstcaps.c: (GST_START_TEST):
20151 Extend caps string tests to check that a caps to string
20152 conversion is reversible and produces the same caps.
20154 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20155 Output "fraction" as the generic type fraction range, so caps
20156 serialisation and deserialisation works.
20157 * check/gst/capslist.h:
20158 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20159 Support 'MIN' and 'MAX' for deserialising fractions.
20161 2005-11-22 Andy Wingo <wingo@pobox.com>
20163 * gst/gstevent.h (gst_event_new_new_segment)
20164 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20165 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20166 Renamed from *_newsegment, *_buffersize, *_notarget.
20168 * scripts/update-funcnames: New script, performs the changes
20171 2005-11-22 Wim Taymans <wim@fluendo.com>
20173 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20174 Make sure the GstFlowReturn is returned.
20176 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20177 (gst_bus_add_signal_watch):
20179 add gst_bus_add_signal_watch_full.
20181 * gst/gstplugin.c: (gst_plugin_load_file):
20182 Small style cleanup.
20184 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20186 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20187 Block the fakesrc srcpad when we send an event, to avoid
20188 contention on the stream_lock causing random test failures.
20190 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20192 * check/gst/gstvalue.c: (GST_START_TEST):
20193 * gst/gstvalue.c: (gst_value_fraction_subtract):
20196 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20199 include "gstchildproxy.h"
20200 * gst/gstchildproxy.h:
20201 * libs/gst/controller/gstcontroller.h:
20202 use G_GNUC_NULL_TERMINATED
20204 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20206 * check/gst/capslist.h:
20207 * check/gst/gstcaps.c: (GST_START_TEST):
20208 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20209 * gst/gststructure.c: (gst_structure_parse_range),
20210 (gst_structure_fixate_field_nearest_fraction):
20211 * gst/gststructure.h:
20212 * gst/gstvalue.c: (gst_value_init_fraction_range),
20213 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20214 (gst_value_collect_fraction_range),
20215 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20216 (gst_value_set_fraction_range_full),
20217 (gst_value_get_fraction_range_min),
20218 (gst_value_get_fraction_range_max),
20219 (gst_value_serialize_fraction_range),
20220 (gst_value_transform_fraction_range_string),
20221 (gst_value_compare_fraction_range),
20222 (gst_value_deserialize_fraction_range),
20223 (gst_value_intersect_fraction_fraction_range),
20224 (gst_value_intersect_fraction_range_fraction_range),
20225 (gst_value_subtract_fraction_fraction_range),
20226 (gst_value_subtract_fraction_range_fraction),
20227 (gst_value_subtract_fraction_range_fraction_range),
20228 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20229 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20230 (gst_value_transform_string_fraction), (_gst_value_initialize):
20232 Implement fraction ranges and extend GstFraction to support
20233 arithmetic subtraction, as well as deserialization from integer
20234 strings such as "100"
20235 Add a testsuite as for int and double range set operations
20237 2005-11-21 Andy Wingo <wingo@pobox.com>
20239 * gst/gsttaglist.h:
20241 * gst/gststructure.h: Add glib-compat.h.
20243 2005-11-21 Wim Taymans <wim@fluendo.com>
20245 * gst/gstbin.c: (gst_bin_change_state_func):
20248 2005-11-21 Wim Taymans <wim@fluendo.com>
20250 * gst/gstsegment.h:
20251 And add a nice define too.
20253 2005-11-21 Wim Taymans <wim@fluendo.com>
20255 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20256 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20257 (gst_segment_set_duration), (gst_segment_set_last_stop),
20258 (gst_segment_set_seek), (gst_segment_set_newsegment),
20259 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20260 (gst_segment_clip):
20261 * gst/gstsegment.h:
20262 Make binding friendly.
20264 2005-11-21 Andy Wingo <wingo@pobox.com>
20266 * gst/gsttagsetter.h:
20267 * gst/gsttaglist.h:
20268 * gst/gststructure.h:
20270 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20273 * gst/gsterror.c (_gst_core_errors_init):
20274 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20277 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20278 (noinst_HEADERS): noinst the -private.
20280 2005-11-21 Michael Smith <msmith@fluendo.com>
20283 * gst/gstregistry.h:
20284 Remove unimplemented declarations for which we can see no sensible
20287 2005-11-21 Andy Wingo <wingo@pobox.com>
20289 * gst/gst.h: Include glib-compat.h.
20291 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20293 * gst/glib-compat.c: Include the public and the private header.
20295 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20299 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20301 * check/gst/gstevent.c (create_custom_events): Check that
20302 FLUSH_STOP is serialized.
20304 * check/elements/identity.c (event_func):
20305 * check/elements/fakesrc.c (event_func): No stream lock, the core
20308 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20309 stream lock taking, yay.
20311 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20312 ensure that core takes the stream lock.
20314 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20317 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20318 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20319 it already. For the flush start we do take it though so we get the
20320 right preroll state change messages.
20322 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20323 the stream lock here, the core does it for us.
20325 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20326 GST_STREAM_GET_LOCK.
20327 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20328 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20329 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20330 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20331 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20332 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20334 * gst/gstpad.c: Update for stream lock name change.
20336 * gst/base/gstbasesink.c: Update for preroll lock name change.
20338 2005-11-21 Wim Taymans <wim@fluendo.com>
20340 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20341 (gst_clock_get_master):
20343 * gst/gstsystemclock.c: (gst_system_clock_init):
20344 Convert Clock flags to object flags.
20345 Added methods to manage master/slave clocks.
20347 2005-11-21 Wim Taymans <wim@fluendo.com>
20349 * check/gst/gstsegment.c: (GST_START_TEST):
20350 * docs/design/part-TODO.txt:
20351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20352 (gst_base_sink_event), (gst_base_sink_do_sync),
20353 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20354 (gst_base_sink_query), (gst_base_sink_change_state):
20355 * gst/base/gstbasesink.h:
20356 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20357 (gst_base_src_default_newsegment),
20358 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20359 (gst_base_src_get_range), (gst_base_src_loop),
20360 (gst_base_src_change_state):
20361 * gst/base/gstbasesrc.h:
20362 * gst/base/gstbasetransform.c:
20363 (gst_base_transform_prepare_output_buf),
20364 (gst_base_transform_event), (gst_base_transform_change_state):
20365 * gst/base/gstbasetransform.h:
20366 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20367 (gst_collect_pads_event):
20368 * gst/base/gstcollectpads.h:
20369 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20370 (gst_fake_src_create):
20371 * gst/elements/gstfakesrc.h:
20372 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20373 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20374 (gst_segment_set_last_stop), (gst_segment_set_seek),
20375 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20376 (gst_segment_to_running_time), (gst_segment_clip):
20377 * gst/gstsegment.h:
20378 More segment updates, replace code in plugins with segment
20381 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20383 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20384 Don't ignore sscanf results
20386 2005-11-21 Andy Wingo <wingo@pobox.com>
20388 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20391 * *.c: Ran scripts/update-macros. Oh yes.
20393 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20394 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20397 * scripts/update-macros: New script. Run it on your files to
20398 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20401 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20403 * docs/gst/Makefile.am:
20404 * docs/gst/gstreamer-docs.sgml:
20405 * docs/gst/gstreamer-sections.txt:
20406 * docs/gst/gstreamer.types:
20408 more docs fixes, add new api to the docs
20410 2005-11-21 Andy Wingo <wingo@pobox.com>
20412 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20413 state_broadcast call.
20415 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20417 2005-11-21 Julien MOUTTE <julien@moutte.net>
20419 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20420 function calls for arrays.
20422 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20424 * docs/random/ensonic/media-device-daemon.txt:
20425 wild idea, can this be done?
20426 * docs/gst/gstreamer-sections.txt:
20431 * gst/gstpluginfeature.c:
20435 doc fixes and additions
20437 2005-11-21 Andy Wingo <wingo@pobox.com>
20439 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20440 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20441 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20442 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20443 private to the basesrc implementation.
20445 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20446 behalf of event function if necessary. It should no longer be
20447 necessary to take the stream lock in pad's event functions. Fixes
20450 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20451 * docs/gst/gstreamer-sections.txt:
20452 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20453 (gst_structure_fixate_field_nearest_double),
20454 (gst_structure_fixate_field_boolean):
20455 * gst/gststructure.h:
20456 * win32/common/libgstreamer.def:
20457 * win32/gstreamer.def:
20459 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20462 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20464 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20465 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20466 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20467 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20468 (gst_fdsrc_uri_handler_init):
20469 * gst/elements/gstfdsrc.h:
20470 Port fd:// URI handler from 0.8 to fdsrc
20472 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20474 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20475 (gst_value_serialize_fourcc):
20477 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20478 consistent with our other format defines (#320324).
20480 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20482 * gst/gstvalue.c: (gst_value_is_fixed):
20483 Revert previous commit. Value lists are by definition
20484 not fixed, as they are a list of possible values.
20486 2005-11-21 Andy Wingo <wingo@pobox.com>
20488 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20489 during the stable series if we need it. Fixes #319178.
20491 * gst/gstevent.c (gst_event_new_filler): Removed.
20493 * check/gst/gstevent.c: Update comment about filler events.
20495 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20497 * gst/gstvalue.c: (gst_value_is_fixed):
20498 Should handle both value arrays and value lists.
20500 2005-11-21 Andy Wingo <wingo@pobox.com>
20502 patch by: Alessandro Dessina <alessandro nnva org>
20504 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20505 functions to access arrays. Fixes #321962.
20507 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20509 * docs/gst/gstreamer.types:
20510 gst_collectpads_get_type => gst_collect_pads_get_type.
20512 * gst/base/gstbasetransform.c:
20513 Remove unused SIGNAL_HANDOFF enum.
20515 2005-11-21 Andy Wingo <wingo@pobox.com>
20517 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20518 the event type (upstream, downstream, serialized). Renamed
20519 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20520 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20521 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20523 * gst/gstevent.c: Update for new CUSTOM event names.
20525 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20528 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20531 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20533 * docs/gst/gstreamer-sections.txt:
20534 * win32/common/libgstbase.def:
20535 * win32/libgstbase.def:
20536 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20537 (gst_collect_pads_class_init), (gst_collect_pads_init),
20538 (gst_collect_pads_finalize), (gst_collect_pads_new),
20539 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20540 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20541 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20542 (gst_collect_pads_start), (gst_collect_pads_stop),
20543 (gst_collect_pads_peek), (gst_collect_pads_pop),
20544 (gst_collect_pads_available), (gst_collect_pads_read),
20545 (gst_collect_pads_flush), (gst_collect_pads_event),
20546 (gst_collect_pads_chain):
20547 * gst/base/gstcollectpads.h:
20548 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20549 unimplemented functions as unimplemented. Add padding to
20550 GstCollectData. (#320766, #320423)
20552 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20554 * gst/gstmessage.c:
20555 Improve docs for DURATION message (usage of duration parameter)
20558 2005-11-20 Wim Taymans <wim@fluendo.com>
20560 * check/Makefile.am:
20561 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20565 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20566 (gst_segment_set_seek), (gst_segment_set_newsegment),
20567 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20568 (gst_segment_clip):
20569 * gst/gstsegment.h:
20570 Added segment helper structure and methods. Not fully implemented
20572 Added segment check.
20574 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20576 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20577 Add a deserialisation test for fractions
20578 * examples/metadata/read-metadata.c: (message_loop),
20579 (make_pipeline), (main):
20580 Fix up metadata reading sample.
20581 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20583 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20584 Don't try and fixate empty caps
20585 * gst/gst_private.h:
20586 Wrap in G_BEGIN_DECLS/G_END_DECLS
20587 * gst/gstvalue.c: (gst_value_collect_fraction),
20588 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20589 (gst_value_transform_string_fraction),
20590 (gst_value_compare_fraction):
20591 Add some extra guards to ensure that we don't end up
20592 with an invalid denominator of 0 in a gstfraction and
20593 that fractions always get reduced.
20595 2005-11-20 Wim Taymans <wim@fluendo.com>
20597 * docs/gst/gstreamer-sections.txt:
20599 * gst/gstelement.c:
20608 2005-11-20 Wim Taymans <wim@fluendo.com>
20610 * docs/design/part-TODO.txt:
20612 Make a proper enum of the flag.
20614 2005-11-19 Wim Taymans <wim@fluendo.com>
20616 * docs/design/part-TODO.txt:
20617 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20618 (gst_format_to_quark), (gst_format_register):
20620 * gst/gstquery.c: (_gst_query_initialize),
20621 (gst_query_type_get_name), (gst_query_type_to_quark),
20622 (gst_query_type_register):
20624 Add type to quark and type to string conversions.
20626 2005-11-19 Andy Wingo <wingo@pobox.com>
20628 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20631 2005-11-19 Wim Taymans <wim@fluendo.com>
20633 * docs/design/part-TODO.txt:
20634 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20635 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20636 (gst_bin_handle_message_func):
20638 Make message handling overridable.
20640 2005-11-19 Andy Wingo <wingo@pobox.com>
20642 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20645 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20647 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20648 is a GstClockTime. Fixes #321710.
20650 * gst/gstclock.h (GstClock): Remove offset property. Add
20651 internal_calibration and external_calibration. Fix padding. Pad
20652 also by GstClockTime so we don't run into problems.
20654 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20655 (gst_clock_get_rate_offset): Remove.
20656 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20659 * gst/gstutils.c (g_static_rec_cond_wait)
20660 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20662 * gst/gstbin.c: Remove terrible continue_state prototype.
20664 * gst/gstelement.h (gst_element_continue_state): Make public.
20666 * gst/gstelement.h:
20667 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20668 by continue_state. Fixes #319389.
20670 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20671 Really fixes #168438. However I don't see anywhere where the
20672 filter function is called... stupid GStreamer...
20674 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20675 don't have a dispose function, so it won't get called when the
20676 object is unreffed, but oh well!
20678 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20679 allows a destroy function to be set so user_data can be freed.
20681 (gst_index_set_filter): Call gst_index_set_filter_full.
20683 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20685 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20686 string should produce an error, given the lack of a way to
20687 represent NULL strings. Fixes #165650.
20690 * gst/gstvalue.c (gst_value_array_append_value)
20691 (gst_value_array_prepend_value, gst_value_array_get_size)
20692 (gst_value_array_get_value): New API, copied from
20693 gst_value_list_*, only operates on arrays.
20694 (gst_value_list_append_value, gst_value_list_prepend_value)
20695 (gst_value_list_concat, gst_value_list_get_size)
20696 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20698 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20699 init_list, because it works on both.
20700 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20701 (gst_value_copy_list_or_array): Renamed from copy_list.
20702 (gst_value_free_list_or_array): Renamed from free_list.
20703 (gst_value_collect_list_or_array): Renamed from collect_list.
20704 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20705 (gst_value_list_or_array_peek_pointer): Renamed from
20707 (_gst_value_array_value_table, _gst_value_list_value_table):
20708 Update value table functions.
20709 (gst_value_compare_list_or_array): Renamed from compare_list.
20711 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20714 * gst/gsttaglist.c:
20715 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20716 GstTagList*. Fixes #143472.
20718 * gst/gststructure.h: Clarify what the foreach/map functions can
20719 or can't do to their arguments.
20721 2005-11-18 Wim Taymans <wim@fluendo.com>
20723 * gst/gstclock.c: (gst_clock_set_calibration),
20724 (gst_clock_get_calibration):
20726 Calibration can be set with internal time equal to current
20729 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20735 2005-11-18 Andy Wingo <wingo@pobox.com>
20738 * pkgconfig/gstreamer-net.pc.in:
20739 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20740 * pkgconfig/Makefile.am: Add net pkgconfig files.
20742 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20745 * gst/gstghostpad.c:
20751 2005-11-18 Andy Wingo <wingo@pobox.com>
20753 * gst/net/gstnetclientclock.c: Turn off debugging.
20755 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20756 times connverge somewhat. Can't make a real test.
20758 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20759 integer arithmetic. Return the minimum of the domain, which can be
20760 set as "internal" for gst_clock_set_calibration.
20761 (gst_net_client_clock_observe_times): Call _set_calibration.
20762 (gst_net_client_clock_new): Call _set_calibration instead of
20765 * check/net/gstnetclientclock.c (test_functioning): Use the right
20769 * gst/gstclock.c (gst_clock_get_calibration)
20770 (gst_clock_set_calibration): New functions, obsolete the ones I
20771 added yesterday. Doh. Precision issues mean we have to extrapolate
20772 from a point in the more recent past than 1970.
20773 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20775 (gst_clock_adjust_unlocked): Use the right calibration data.
20777 2005-11-18 Edward Hervey <edward@fluendo.com>
20779 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20780 Also reset the ->current_* values in READY->PAUSED
20782 2005-11-18 Andy Wingo <wingo@pobox.com>
20784 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20785 Whoops, check the right fd. Also add some debugging.
20786 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20787 (do_linear_regression): Add a crapload of debugging. Subtract off
20788 the minimum values from the input series to discard unneeded bits.
20789 Use only int arithmetic. There is still double arithmetic when
20790 calculating the intercept that needs fixing. Return boolean to
20791 indicate success; FALSE would mean the domain or range is too
20792 great. Still needs fixes.
20794 2005-11-18 Wim Taymans <wim@fluendo.com>
20796 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20797 For the current position in stream time, we need to subtract
20800 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20801 Release lock before calling the callback function of async
20804 2005-11-18 Andy Wingo <wingo@pobox.com>
20806 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20807 Port goes all the way to MAXUINT16.
20809 * gst/net/gstnettimeprovider.c: Make the port range the same as
20810 for the kernel: 0 assigns, otherwise ports are less than
20813 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20816 * check/net/gstnetclientclock.c (test_functioning): Add the start
20819 2005-11-18 Wim Taymans <wim@fluendo.com>
20821 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20822 (gst_bin_remove_func), (bin_bus_handler):
20824 Removing a clock provider from a bin, triggers a clock lost message
20825 so that a new clock will be selected.
20826 Adding a clock to a bin triggers a clock provider message.
20827 Make sure we reselect a clock when we received a clock lost message.
20828 Keep a reference to the element that provided the clock.
20830 2005-11-18 Andy Wingo <wingo@pobox.com>
20832 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20833 the clock initially so it produces values around the base time.
20834 (gst_net_client_clock_class_init): Typo fix.
20835 (gst_net_client_clock_thread): Add note on when the socket gets
20838 2005-11-17 Wim Taymans <wim@fluendo.com>
20840 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20841 Free remote and local time arrays.
20843 2005-11-17 Wim Taymans <wim@fluendo.com>
20845 * gst/net/gstnetclientclock.c: (do_linear_regression),
20846 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20847 Fix compilation, uninitialized vars and a forgotten continue.
20849 2005-11-17 Andy Wingo <wingo@pobox.com>
20851 * check/Makefile.am (check_PROGRAMS):
20852 * check/net/gstnetclientclock.c: Add a most minimal test for the
20853 net client clock. More to come later.
20855 * gst/net/gstnet.h:
20856 * gst/net/Makefile.am: Add netclientclock.
20858 * gst/net/gstnetclientclock.h:
20859 * gst/net/gstnetclientclock.c: New files, implement an untested
20860 GstClock that takes its time from a network time provider.
20861 Implements the algorithm in network-clock.scm.
20863 * tests/network-clock.scm (*window-size*): Rename from
20865 * tests/network-clock.scm (network-time):
20866 * tests/network-clock-utils.scm (q-push): Update callers.
20868 2005-11-17 Wim Taymans <wim@fluendo.com>
20870 * gst/gstbin.c: (gst_bin_provide_clock_func),
20871 (gst_bin_sort_iterator_new):
20872 And unref the child too..
20874 2005-11-17 Wim Taymans <wim@fluendo.com>
20876 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20877 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20878 Refactor the sort iterator so it can be used while holding the
20880 Make clock selection select a clock closest to the source.
20882 2005-11-17 Michael Smith <msmith@fluendo.com>
20884 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20885 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20887 Anonymous structs are a gcc (and some other compilers) extension, so
20888 don't use them. Since this is only for ABI-compatibility, and our
20889 API/ABI freeze is over in a few days, this whole thing will only
20890 last a few days, so don't bother trying to think up a meaningful
20891 name for the struct.
20893 2005-11-17 Andy Wingo <wingo@pobox.com>
20895 * gst/gstclock.h (GstClock): Add rate and offset properties,
20896 preserving ABI stability. Add rate/offset accessors. Will file bug
20897 for the freeze break.
20899 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20900 and offset, trying to keep precision and avoiding
20901 underflow/overflow.
20902 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20903 functions. Make gst_clock_set_time_adjust obsolete.
20904 (gst_clock_set_time_adjust): Note that this function is obsolete.
20905 Will file bug soon.
20907 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20908 greppable by using GST_PADDING-1+1.
20910 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20912 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20914 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20915 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20917 * gst/gstpadtemplate.h:
20918 * gst/gstpluginfeature.h:
20919 Don't use c++ style comments in headers (#321638).
20921 2005-11-16 Andy Wingo <wingo@pobox.com>
20923 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20926 * check/net/gstnettimeprovider.c: Check to see that the time
20927 provider actually provides times. Works, yo!
20929 2005-11-16 Wim Taymans <wim@fluendo.com>
20931 * check/Makefile.am:
20934 * check/elements/fakesrc.c: (GST_START_TEST):
20935 Set element to NULL before disposing it.
20937 2005-11-16 Andy Wingo <wingo@pobox.com>
20939 * gst/net/Makefile.am:
20940 * gst/net/gstnet.h:
20941 * gst/net/gstnettimeprovider.c:
20942 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20943 provider, include it from gstnet.h, and add it to the build.
20945 * gst/net/gstnettimepacket.h:
20946 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20947 sending and receiving.
20949 2005-11-16 Wim Taymans <wim@fluendo.com>
20951 * check/Makefile.am:
20952 Enable valgrind check.
20954 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20955 (gst_fake_src_alloc_buffer):
20958 2005-11-16 Wim Taymans <wim@fluendo.com>
20960 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20961 Call parent finalize too.
20963 2005-11-16 Wim Taymans <wim@fluendo.com>
20965 * check/Makefile.am:
20966 Enable valgrind check that should work fine now.
20968 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20969 * gst/gstqueue.c: (gst_queue_init):
20970 Fix memleaks in pad allocation.
20972 2005-11-16 Andy Wingo <wingo@pobox.com>
20974 * gst/net/Makefile.am:
20975 * gst/net/gstnet.h: New part of core to hold network elements and
20976 objects. Put in core because it exposes API that applications want
20977 to use. The library is named libgstnet-tempname right now because
20978 of the existing libgstnet in gst-plugins-base. Solution is
20979 probably to rename the one in plugins-base; will file a bug for
20982 * gst/net/gstnettimeprovider.c:
20983 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20984 get_time call over the network.
20987 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20989 * check/Makefile.am:
20990 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20991 get additions shortly.
20993 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20995 * gst/gstpad.c: (gst_pad_new_from_static_template):
20997 add gst_pad_new_from_static_template functions
20998 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20999 (gst_check_setup_sink_pad):
21000 * gst/elements/gsttee.c: (gst_tee_init):
21003 2005-11-16 Wim Taymans <wim@fluendo.com>
21005 * gst/gstpad.c: (gst_pad_pause_task):
21006 Removed warning, it's not really an error either.
21008 2005-11-16 Wim Taymans <wim@fluendo.com>
21010 * gst/base/gstbasetransform.c:
21011 (gst_base_transform_prepare_output_buf),
21012 (gst_base_transform_event):
21013 Check if the caps are NULL, this can happen if the element
21014 is shutting down and the pad caps are set to NULL.
21016 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21018 * gst/elements/gsttee.c: (gst_tee_init):
21019 fix pad template leak in tee
21021 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21023 * gst/glib-compat.c: (g_value_dup_gst_object):
21024 * gst/glib-compat.h:
21025 * gst/gstpad.c: (gst_pad_set_property):
21026 use gst_object_ref when setting the pad template; this will
21027 trigger the pad template leaks on GLib 2.6 and the slaves
21029 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21031 * gst/glib-compat.c: (gst_flags_get_first_value):
21032 * gst/glib-compat.h:
21033 * gst/gstregistryxml.c:
21034 remove functions copied from GLib 2.6
21036 2005-11-16 Michael Smith <msmith@fluendo.com>
21039 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21040 do, but only breaks with newer valgrind versions. We're not a
21041 valgrind tool, we have no link-time dependencies on libcoregrind.
21043 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21045 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21047 * gst/gstmessage.h:
21050 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21052 * gst/base/gstbasesrc.c: (gst_base_src_init):
21053 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21054 * gst/gstqueue.c: (gst_queue_init):
21055 * gst/gstregistryxml.c: (load_feature):
21056 Revert all these unrefs, they don't even pass make check !
21058 2005-11-15 Johan Dahlin <johan@gnome.org>
21060 * gst/base/gstbasesrc.c: (gst_base_src_init):
21061 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21062 * gst/gstqueue.c: (gst_queue_init):
21063 Free pad templates, fixes a couple of leaks.
21065 2005-11-15 Daniel Fischer <dan at f3c dot com>
21067 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21069 * gst/gstpad.c: (gst_pad_get_property):
21070 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21071 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21074 2005-11-15 Wim Taymans <wim@fluendo.com>
21079 2005-11-15 Andy Wingo <wingo@pobox.com>
21081 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21083 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21084 using GST_CLOCK_TIME_NONE to disable base time management.
21085 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21086 time if it was NONE before.
21087 (gst_pipeline_change_state): Only munge the base time if
21088 stream_time != GST_CLOCK_TIME_NONE.
21090 * check/gst/gstpipeline.c (test_base_time): Punt around the
21091 problem of the probe not being called, because that's not the
21092 issue I'm looking at. Add a check that setting stream_time to NONE
21093 disables base time management.
21095 2005-11-15 Wim Taymans <wim@fluendo.com>
21097 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21098 segment_stop == -1 at startup.
21100 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21101 (gst_base_transform_change_state):
21102 Init segment values at start.
21104 2005-11-15 Wim Taymans <wim@fluendo.com>
21106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21107 0 segment values are 0 in any format.
21109 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21110 * gst/base/gstbasetransform.h:
21111 Parse newsegment correctly in basetransform
21113 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21114 Sync to clock using updated segment values.
21116 2005-11-15 Andy Wingo <wingo@pobox.com>
21118 * check/gst/gstpipeline.c (test_base_time): Add check that the
21119 base time and stream time are reset correctly.
21121 2005-11-15 Wim Taymans <wim@fluendo.com>
21123 * docs/design/part-TODO.txt:
21124 Some more TODO items.
21126 2005-11-15 Andy Wingo <wingo@pobox.com>
21128 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21129 error if the user selected "no clock" as the clocking method.
21131 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21132 timestamps with live capture.
21134 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21135 is 0 but we are a live source, timestamp the buffers using the
21138 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21140 * docs/gst/gstreamer-sections.txt:
21142 * gst/gstghostpad.c:
21147 2005-11-14 Wim Taymans <wim@fluendo.com>
21150 add suppressions from Wim's Debian machine
21152 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21155 add suppressions from Andy's AMD64 Ubuntu machine
21157 2005-11-14 Andy Wingo <wingo@pobox.com>
21159 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21160 STATE_LOCK not necessary. Fixes #311489.
21162 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21165 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21166 this function is not implemented.
21168 2005-11-14 Julien MOUTTE <julien@moutte.net>
21170 * gst/base/gstbasetransform.c:
21171 (gst_base_transform_prepare_output_buf):
21172 Ref the source pad caps while we need them.
21175 2005-11-11 Wim Taymans <wim@fluendo.com>
21177 * docs/gst/gstreamer-sections.txt:
21178 Added some docs for GstCollectData.
21180 * gst/base/gstadapter.c:
21181 Some small code example fix.
21183 * gst/base/gstcollectpads.c:
21184 * gst/base/gstcollectpads.h:
21185 Document some more.
21187 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21189 * configure.ac: back to HEAD
21191 === release 0.9.5 ===
21193 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21196 releasing 0.9.5, "Bike Lunch Day"
21198 2005-11-11 Wim Taymans <wim@fluendo.com>
21200 * gst/gstbuffer.c: (_gst_buffer_copy):
21203 * gst/gstcaps.c: (gst_caps_is_equal):
21205 Make _is_equal fast in the trivial cases.
21207 * gst/gstminiobject.c:
21208 * gst/gstminiobject.h:
21209 More docs. Spifify .h file.
21214 2005-11-11 Wim Taymans <wim@fluendo.com>
21216 * gst/base/gstbasetransform.c:
21217 (gst_base_transform_prepare_output_buf),
21218 (gst_base_transform_handle_buffer):
21220 If we're processing a buffer and need to allocate an output
21221 buffer, we cannot accept a format change. If we did get a
21222 format change, we have to alloc a buffer ourselves of the
21225 2005-11-11 Wim Taymans <wim@fluendo.com>
21227 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21228 While checking the flag for reentrancy in the gstcaps function
21229 is nice to detect recursive invocations, it also makes it
21230 impossible to call getcaps from multiple threads, which must be
21231 possible. So, checking for recursive calls has to go.
21233 2005-11-11 Michael Smith <msmith@fluendo.com>
21235 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21236 Don't sync on buffers that fall partially outside our current
21237 segment. Prevents an assertion failure/abort playing some files.
21239 2005-11-10 Andy Wingo <wingo@pobox.com>
21241 * check/gst/gstbin.c (test_message_state_changed_children): Style
21244 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21245 gst_bus_poll with the signal watch. Ensures that poll and a signal
21246 watch see the same messages.
21248 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21249 a poll and a watch at the same time get the same messages.
21251 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21253 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21254 * gst/gstcaps.c: (gst_caps_intersect):
21255 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21256 and it's not needed.
21258 2005-11-10 Wim Taymans <wim@fluendo.com>
21260 * docs/design/part-TODO.txt:
21263 2005-11-10 Wim Taymans <wim@fluendo.com>
21265 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21266 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21267 (gst_base_src_do_sync), (gst_base_src_get_range):
21268 Implement clock sync in base class.
21270 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21272 patch by: Tim-Philipp Müller <tim at centricular dot net>
21274 * gst/gststructure.c: (gst_structure_parse_field),
21275 (gst_structure_from_string):
21276 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21277 so that gst_parse_launch() can deal with spaces in filtered link
21278 caps (fixes #164479)
21279 * check/gst/capslist.h:
21280 * check/gst/gststructure.c: (GST_START_TEST):
21281 add unit tests for this change
21283 2005-11-10 Wim Taymans <wim@fluendo.com>
21285 * docs/gst/gstreamer-sections.txt:
21286 * gst/gstelement.c:
21287 * gst/gstelement.h:
21288 Fix docs, move some STATE macros to private.
21290 2005-11-10 Wim Taymans <wim@fluendo.com>
21292 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21293 Added check for bug #317341
21297 Some more spiffifying.
21299 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21300 Call peer linkfunction if we are a source pad. Totally fixes
21304 Update docs, source pads should call the peer linkfunction
21305 so they can atomically perform the pad link.
21307 2005-11-09 Wim Taymans <wim@fluendo.com>
21311 Uber-spiffy-spiffify some more.
21313 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21315 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21316 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21317 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21318 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21319 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21320 * gst/gstpad.c: (gst_pad_init):
21321 Use GST_DEBUG_FUNCPTR() more extensively.
21323 2005-11-09 Wim Taymans <wim@fluendo.com>
21325 * gst/gstobject.c: (gst_object_class_init):
21327 Documentation fixes.
21329 2005-11-09 Edward Hervey <edward@fluendo.com>
21331 * gst/gsttypefindfactory.c:
21334 2005-11-09 Edward Hervey <edward@fluendo.com>
21336 * gst/base/gsttypefindhelper.c:
21337 * gst/gsttypefind.c:
21338 * gst/gsttypefind.h:
21341 2005-11-09 Wim Taymans <wim@fluendo.com>
21343 * gst/gstiterator.c:
21350 2005-11-09 Wim Taymans <wim@fluendo.com>
21356 2005-11-09 Wim Taymans <wim@fluendo.com>
21358 * docs/gst/gstreamer-sections.txt:
21359 Moved the message async delivery private lock and cond
21360 to the private section.
21362 * gst/gstmessage.c:
21363 * gst/gstmessage.h:
21366 2005-11-09 Edward Hervey <edward@fluendo.com>
21368 * docs/gst/gstreamer-sections.txt:
21371 Document GstURIHandler
21373 2005-11-09 Wim Taymans <wim@fluendo.com>
21375 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21376 (gst_iterator_find_custom):
21377 * gst/gstiterator.h:
21380 2005-11-09 Wim Taymans <wim@fluendo.com>
21383 Document another field.
21385 * gst/gststructure.c:
21386 * gst/gststructure.h:
21389 2005-11-09 Wim Taymans <wim@fluendo.com>
21392 Documented structs.
21394 2005-11-09 Wim Taymans <wim@fluendo.com>
21396 * docs/gst/gstreamer-sections.txt:
21397 Added some new macros.
21404 2005-11-09 Wim Taymans <wim@fluendo.com>
21406 * docs/design/part-TODO.txt:
21407 Some more items for the TODO
21413 2005-11-09 Andy Wingo <wingo@pobox.com>
21415 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21416 to work on something else now tho...
21418 * gst/base/gstadapter.c: More adapter docs.
21420 * gst/elements/gstfilesink.c (gst_file_sink_start)
21421 (gst_file_sink_stop): New functions, replace the state change
21423 (gst_file_sink_class_init): Hook up the start and stop functions.
21424 (gst_file_sink_base_init): Don't set the state change handler any
21425 more. It was a bit ugly too, being set from here...
21426 (gst_file_sink_get_property, gst_file_sink_set_property):
21428 (gst_file_sink_set_location): More robust check that doesn't call
21429 GST_STATE. Ugggggg.
21431 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21433 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21434 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21436 2005-11-08 Wim Taymans <wim@fluendo.com>
21438 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21439 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21440 (gst_base_sink_chain), (gst_base_sink_change_state):
21441 * gst/base/gstbasesink.h:
21442 * gst/base/gstbasesrc.h:
21443 * gst/gstelement.h:
21445 Avoid excessive typechecking in macros.
21447 * gst/gstminiobject.c: (gst_mini_object_get_type),
21448 (gst_mini_object_init), (gst_mini_object_new),
21449 (gst_mini_object_free):
21450 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21451 (gst_object_finalize):
21452 Remove cruft code, optimize alloc_trace.
21454 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21456 * docs/faq/gst-uninstalled:
21457 fix up PS1 for systems that try to reset it
21459 2005-11-07 Wim Taymans <wim@fluendo.com>
21461 * gst/base/gstbasesrc.c: (gst_base_src_init),
21462 (gst_base_src_get_range):
21463 Set the segment_end to -1 initially. Fixed typefind.
21465 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21467 * gst/base/gstadapter.c:
21468 Debug category should be 'adapter', not 'GstAdapter'.
21470 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21471 (gst_collectpads_class_init), (gst_collectpads_init),
21472 (gst_collectpads_peek), (gst_collectpads_pop),
21473 (gst_collectpads_event), (gst_collectpads_chain):
21474 Add debug category and some debugging output. Use boilerplate
21475 macros. Remove some extraneous words from docs.
21477 2005-11-05 Andy Wingo <wingo@pobox.com>
21479 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21482 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21484 * docs/gst/gstreamer-sections.txt:
21487 * gst/gstminiobject.h:
21492 2005-11-04 Wim Taymans <wim@fluendo.com>
21494 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21495 Small update to stop at the configured segment_end
21498 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21500 * gst/gstregistry.c:
21501 * gst/gstregistry.h:
21504 2005-11-04 Edward Hervey <edward@fluendo.com>
21506 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21507 Check if we are doing a segment seek and have arrived at the
21508 end of that segment.
21510 2005-11-04 Wim Taymans <wim@fluendo.com>
21512 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21513 Don't leak a mutex unlock in case of an error.
21518 2005-11-04 Wim Taymans <wim@fluendo.com>
21520 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21522 Get the context to wake up only once.
21524 2005-11-03 Wim Taymans <wim@fluendo.com>
21526 * check/states/sinks.c: (GST_START_TEST):
21527 Uncomment fixed check.
21529 * docs/design/part-TODO.txt:
21532 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21533 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21534 (gst_base_sink_get_position):
21535 If we are going to PLAYING, post the right pending state
21536 when we post the intermediate paused message.
21538 * gst/gstelement.c: (gst_element_continue_state),
21539 (gst_element_set_state_func), (gst_element_change_state):
21540 Don't post state changes that were between the same state
21541 and were not ASYNC.
21543 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21545 * docs/gst/gstreamer-sections.txt:
21548 * gst/gstminiobject.h:
21551 more docs and doc style fixes
21553 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21555 * docs/gst/gstreamer-sections.txt:
21556 * gst/gstelement.c:
21557 * gst/gstminiobject.c:
21560 2005-11-03 Andy Wingo <wingo@pobox.com>
21562 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21563 state-changed messages actually have the right order and the right
21566 2005-11-03 Wim Taymans <wim@fluendo.com>
21568 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21569 Added some more checks. Specifically the case where NO_PREROLL
21570 elements are in the pipeline.
21572 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21573 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21574 (gst_base_sink_get_position):
21575 Post READY->PAUSED state change messages too.
21576 Fix bug where VOID was posted as pending state...
21578 * gst/gstbin.c: (gst_bin_recalc_state):
21579 use _element_continue_state() to continue the state change.
21581 * gst/gstelement.c: (gst_element_continue_state),
21582 (gst_element_commit_state), (gst_element_set_state_func),
21583 (gst_element_change_state), (gst_element_change_state_func):
21584 Lots of state change cleanups, assign the STATE_RETURN in
21585 a new continue_state() function that also propagates the
21586 last return value from a state change to the app.
21587 Update some debug statements with proper category.
21589 2005-11-03 Wim Taymans <wim@fluendo.com>
21591 * docs/design/part-events.txt:
21592 * docs/design/part-gstpipeline.txt:
21593 * docs/design/part-messages.txt:
21594 * docs/design/part-overview.txt:
21595 * docs/design/part-seeking.txt:
21596 * docs/design/part-states.txt:
21597 * docs/design/part-trickmodes.txt:
21598 * docs/manual/advanced-position.xml:
21599 Small docs updates.
21602 People think !! is ugly, this looks better.
21604 * gst/gstpad.c: (gst_pad_set_blocked_async):
21605 Remove !! since it's fixed elsewhere now.
21607 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21609 * gst/gstminiobject.h:
21611 Add !! to _FLAG_IS_SET macros to make the result boolean.
21613 2005-11-03 Edward Hervey <edward@fluendo.com>
21615 * gst/gstpad.c: (gst_pad_set_blocked_async):
21616 comparing a flag and a gboolean rarely returns coherent results...
21617 Added two characters (!!) to make that work correctly.
21619 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21621 * gst/gstbus.c: (gst_bus_class_init):
21624 * gst/gstqueue.c: (gst_queue_loop):
21625 Don't assume a miniobject that isn't a buffer is an
21626 event (it could be that there is a refcounting
21627 problem somewhere and the pointer is stale and
21628 refers to an already destroyed miniobject).
21630 2005-11-03 Julien MOUTTE <julien@moutte.net>
21632 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21634 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21636 * docs/manual/advanced-position.xml:
21637 Update seek example and explanations to current 0.9 API.
21639 * gst/elements/gsttypefindelement.c:
21640 (gst_type_find_element_activate):
21641 Remove FIXME comment now that the found caps
21644 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21646 * gst/gstregistryxml.c: (load_feature):
21647 Add another GST_STR_NULL instance
21649 2005-11-02 Edward Hervey <edward@fluendo.com>
21651 * gst/gstpad.c: (handle_pad_block):
21652 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21654 2005-11-02 Wim Taymans <wim@fluendo.com>
21659 * gst/gstelement.c: (gst_element_commit_state):
21660 Remove unused value.
21662 * gst/gstiterator.c:
21663 Mention that the returned element is reffed in the docs.
21665 2005-11-02 Wim Taymans <wim@fluendo.com>
21667 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21668 (gst_pad_push), (gst_pad_push_event):
21669 Unlock blocked pads when they are flushed.
21671 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21674 * docs/gst/gstreamer-sections.txt:
21677 * gst/gstregistry.c: (gst_registry_scan_path_level):
21678 fix for a nasty little missed situation where an installed plug-in
21679 which was in the cache did not get overridden by an uninstalled one
21680 which was earlier in the plugin path because the newly created plugin
21681 for the uninstalled one (not in the registry) didn't get its
21682 ->registered set to TRUE
21684 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21686 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21687 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21688 (gst_collectpads_is_active), (gst_collectpads_collect),
21689 (gst_collectpads_collect_range), (gst_collectpads_start),
21690 (gst_collectpads_stop), (gst_collectpads_peek),
21691 (gst_collectpads_pop), (gst_collectpads_available),
21692 (gst_collectpads_read), (gst_collectpads_flush):
21693 Guard public API with assertions.
21696 Fix docs for gst_pad_set_link_function().
21698 2005-11-02 Johan Dahlin <johan@gnome.org>
21700 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21701 Unref found_caps after we used it.
21703 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21705 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21706 Don't try to ref NULL.
21708 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21710 * win32/common/config.h.in:
21711 provide a GST_FUNCTION that just gives a string for now
21713 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21715 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21716 (gst_object_flags_get_type), (register_gst_bin_flags),
21717 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21718 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21719 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21720 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21721 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21722 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21723 (gst_clock_flags_get_type), (register_gst_state),
21724 (gst_state_get_type), (register_gst_state_change_return),
21725 (gst_state_change_return_get_type), (register_gst_state_change),
21726 (gst_state_change_get_type), (register_gst_element_flags),
21727 (gst_element_flags_get_type), (register_gst_core_error),
21728 (gst_core_error_get_type), (register_gst_library_error),
21729 (gst_library_error_get_type), (register_gst_resource_error),
21730 (gst_resource_error_get_type), (register_gst_stream_error),
21731 (gst_stream_error_get_type), (register_gst_event_type),
21732 (gst_event_type_get_type), (register_gst_seek_type),
21733 (gst_seek_type_get_type), (register_gst_seek_flags),
21734 (gst_seek_flags_get_type), (register_gst_format),
21735 (gst_format_get_type), (register_gst_index_certainty),
21736 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21737 (gst_index_entry_type_get_type),
21738 (register_gst_index_lookup_method),
21739 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21740 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21741 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21742 (gst_index_flags_get_type), (register_gst_debug_level),
21743 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21744 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21745 (gst_iterator_result_get_type), (register_gst_iterator_item),
21746 (gst_iterator_item_get_type), (register_gst_message_type),
21747 (gst_message_type_get_type), (register_gst_mini_object_flags),
21748 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21749 (gst_pad_link_return_get_type), (register_gst_flow_return),
21750 (gst_flow_return_get_type), (register_gst_activate_mode),
21751 (gst_activate_mode_get_type), (register_gst_pad_direction),
21752 (gst_pad_direction_get_type), (register_gst_pad_flags),
21753 (gst_pad_flags_get_type), (register_gst_pad_presence),
21754 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21755 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21756 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21757 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21758 (gst_plugin_flags_get_type), (register_gst_rank),
21759 (gst_rank_get_type), (register_gst_query_type),
21760 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21761 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21762 (gst_tag_flag_get_type), (register_gst_task_state),
21763 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21764 (gst_alloc_trace_flags_get_type),
21765 (register_gst_type_find_probability),
21766 (gst_type_find_probability_get_type), (register_gst_uri_type),
21767 (gst_uri_type_get_type), (register_gst_parse_error),
21768 (gst_parse_error_get_type):
21769 * win32/common/gstversion.h:
21770 update win32 copies
21772 2005-11-01 Luca Ognibene <luogni@tin.it>
21775 fix docs. popt is dead, long live GOption.
21777 2005-10-31 Wim Taymans <wim@fluendo.com>
21782 2005-10-31 Andy Wingo <wingo@pobox.com>
21786 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21788 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21789 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21790 the possibility of deadlocks here if code calling notify() or
21791 set() has a lock that can be taken in another notify handler (ABBA
21792 with class lock and e.g. python GIL state lock).
21794 2005-10-28 Julien MOUTTE <julien@moutte.net>
21796 * gst/gstbus.c: Doc updates.
21798 2005-10-28 Wim Taymans <wim@fluendo.com>
21800 * docs/design/part-TODO.txt:
21801 * gst/gstiterator.c:
21802 * gst/gstsystemclock.c:
21803 * gst/gstsystemclock.h:
21806 2005-10-28 Edward Hervey <edward@fluendo.com>
21808 * docs/gst/gstreamer-docs.sgml:
21809 * docs/gst/gstreamer-sections.txt:
21810 the GstURIType documentation page is private, it only defines GstURIType
21811 which should be defined in the GstURIHandler page
21813 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21815 * gst/gstbin.c: (gst_bin_class_init):
21818 Documentation updates.
21820 2005-10-28 Wim Taymans <wim@fluendo.com>
21822 * docs/gst/gstreamer-sections.txt:
21825 Documented the clocks.
21827 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21829 * docs/gst/gstreamer-sections.txt:
21830 move some macros to private sections
21831 * gst/gstminiobject.c:
21832 * gst/gstminiobject.h:
21833 add descriptions provided by ds and some more
21835 mark macro as to be removed
21837 2005-10-28 Wim Taymans <wim@fluendo.com>
21839 * docs/design/part-TODO.txt:
21840 Add an item to TODO.
21842 * gst/gstiterator.c: (gst_iterator_fold),
21843 (gst_iterator_find_custom):
21844 * gst/gstiterator.h:
21847 2005-10-28 Wim Taymans <wim@fluendo.com>
21849 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21850 (gst_base_transform_init):
21853 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21854 An EOS event marks the queue as completely filled.
21856 2005-10-27 Wim Taymans <wim@fluendo.com>
21858 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21859 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21860 Some more debugging.
21862 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21863 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21864 (gst_base_transform_event), (gst_base_transform_getrange),
21865 (gst_base_transform_chain):
21866 * gst/base/gstbasetransform.h:
21868 Protect transform and concurrent buffer alloc with a new lock.
21869 Try not to break ABI/API.
21871 2005-10-27 Wim Taymans <wim@fluendo.com>
21873 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21874 (gst_base_src_init), (gst_base_src_query),
21875 (gst_base_src_default_newsegment),
21876 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21877 (gst_base_src_send_event), (gst_base_src_event_handler),
21878 (gst_base_src_pad_get_range), (gst_base_src_loop),
21879 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21880 (gst_base_src_start), (gst_base_src_deactivate),
21881 (gst_base_src_activate_push), (gst_base_src_change_state):
21882 Move some stuff around and cleanup things.
21884 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21886 * gst/base/gstbasesrc.c: (gst_base_src_query):
21887 Add missing break statements.
21889 2005-10-27 Wim Taymans <wim@fluendo.com>
21891 * check/gst/gstbin.c: (GST_START_TEST):
21892 An extra refcount is taken in basesrc.
21894 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21895 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21896 (gst_base_src_loop):
21897 Small cleanups, check for flushing after being unlocked from the
21898 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21899 Don't send out EOS when going to READY.
21901 2005-10-27 Wim Taymans <wim@fluendo.com>
21903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21904 (gst_base_sink_get_position):
21907 * gst/gstbin.c: (message_check), (bin_replace_message),
21908 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21909 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21910 (bin_query_duration_init), (bin_query_duration_fold),
21911 (bin_query_duration_done), (bin_query_generic_fold),
21913 * tools/gst-launch.c: (main):
21916 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21918 * examples/controller/audio-example.c: (main):
21919 * examples/queue/queue.c: (event_loop):
21920 * gst/base/gstbasetransform.h:
21921 * gst/gstelement.c: (gst_element_send_event):
21923 * gst/gstpad.c: (gst_pad_send_event):
21926 changing log priority in error situations
21928 2005-10-25 Wim Taymans <wim@fluendo.com>
21930 * gst/gstbin.c: (message_check), (bin_replace_message),
21931 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21932 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21933 (bin_query_duration_init), (bin_query_duration_fold),
21934 (bin_query_duration_done), (bin_query_generic_fold),
21936 Some doc and debug updates.
21937 Cache previously requested query DURATION for speed. invalidate
21938 cached duration if element posts a DURATION message.
21940 2005-10-25 Wim Taymans <wim@fluendo.com>
21942 * docs/design/part-TODO.txt:
21945 * gst/gstbin.c: (message_check), (bin_replace_message),
21946 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21947 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21948 (bin_query_duration_init), (bin_query_duration_fold),
21949 (bin_query_duration_done), (bin_query_generic_fold),
21951 Handle SEGMENT_START/DONE messages correctly.
21952 More evolved query algorithm that handles duration queries
21955 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21956 (gst_element_get_state_func), (gst_element_abort_state),
21957 (gst_element_commit_state), (gst_element_lost_state):
21958 Some more debugging.
21960 * gst/gstmessage.h:
21963 2005-10-25 Wim Taymans <wim@fluendo.com>
21965 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21966 Don't use invalid stream_time.
21968 * gst/gstevent.c: (gst_event_new_newsegment):
21969 stream_time in newsegment cannot be undefined.
21971 2005-10-24 Wim Taymans <wim@fluendo.com>
21976 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21978 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21980 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21982 * docs/libs/tmpl/gstdparam.sgml:
21983 * docs/libs/tmpl/gstdplinint.sgml:
21984 * docs/libs/tmpl/gstdpman.sgml:
21985 * docs/libs/tmpl/gstdpsmooth.sgml:
21986 * docs/libs/tmpl/gstunitconvert.sgml:
21989 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21994 === release 0.9.4 ===
21996 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21999 releasing 0.9.4, "Tyrannosaurus Rex"
22001 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22003 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22004 (gst_file_sink_get_current_offset):
22005 Use fseeko() and ftello() if available. When falling back on
22006 lseek() to get the current offset, fflush() first to make sure
22007 everything is up-to-date and we get the right offset.
22009 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22011 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22012 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22013 * gst/gsterror.c: (_gst_stream_errors_init):
22015 * gst/gstqueue.c: (gst_queue_loop):
22017 remove prematurely added error category and clean up the instances
22019 2005-10-21 Wim Taymans <wim@fluendo.com>
22021 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22022 (gst_base_sink_get_position), (gst_base_sink_query),
22023 (gst_base_sink_change_state):
22024 Simply set the right flag when going to playing, that's all
22025 we need to do instead of calling a function inside the object
22026 lock (that could take the lock as well and deadlock)
22028 2005-10-21 Wim Taymans <wim@fluendo.com>
22030 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22031 (gst_base_src_loop):
22032 Don't warn, the peer element knows what to do best when
22033 the seek failed, it might try something else.
22035 2005-10-21 Wim Taymans <wim@fluendo.com>
22037 * gst/base/gstbasesrc.c: (gst_base_src_init),
22038 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22041 2005-10-21 Wim Taymans <wim@fluendo.com>
22043 * docs/design/part-segments.txt:
22046 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22047 Correctly set caps, even on the subbufer.
22049 2005-10-21 Wim Taymans <wim@fluendo.com>
22051 * docs/gst/gstreamer-docs.sgml:
22052 * docs/gst/gstreamer-sections.txt:
22053 * gst/gstelement.h:
22056 * gst/gstmessage.h:
22059 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22063 And 2% more doc coverage.
22065 2005-10-21 Andy Wingo <wingo@pobox.com>
22067 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22068 position reporting.
22070 2005-10-20 Wim Taymans <wim@fluendo.com>
22072 * gst/gsterror.c: (gst_error_get_message):
22075 * gst/gststructure.c:
22080 2005-10-20 Wim Taymans <wim@fluendo.com>
22085 Another 1% more coverage.
22087 2005-10-20 Wim Taymans <wim@fluendo.com>
22089 * docs/gst/gstreamer-sections.txt:
22090 * gst/gstelement.c: (gst_element_get_state_func),
22091 (gst_element_abort_state), (gst_element_commit_state),
22092 (gst_element_lost_state):
22094 * gst/gstquery.c: (gst_query_set_position),
22095 (gst_query_parse_position), (gst_query_set_duration),
22096 (gst_query_parse_duration), (gst_query_new_convert):
22098 Yay! 1% more docs coverage.
22100 2005-10-20 Wim Taymans <wim@fluendo.com>
22103 * gst/gstquery.c: (gst_query_set_position),
22104 (gst_query_parse_position), (gst_query_set_duration),
22105 (gst_query_parse_duration), (gst_query_new_convert):
22107 * gst/gstutils.c: (gst_element_query_convert):
22109 Docs and consistency fixes.
22111 2005-10-20 Wim Taymans <wim@fluendo.com>
22117 2005-10-20 Wim Taymans <wim@fluendo.com>
22119 * gst/gstbin.c: (message_check), (bin_replace_message),
22120 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22121 (update_degree), (gst_bin_sort_iterator_next),
22122 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22123 Reworked the message handling a bit, cache the messages instead of
22124 only the senders. alows us to do more in the future.
22126 2005-10-20 Wim Taymans <wim@fluendo.com>
22128 * docs/design/part-TODO.txt:
22131 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22132 (gst_base_sink_query):
22133 Don't use clock time to report position when in EOS.
22135 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22137 * tools/gst-inspect.c: (print_interfaces),
22138 (print_element_properties_info), (print_element_info):
22139 Fix interface output with gst-inspect -a; don't print
22140 newlines after double/float properties.
22142 2005-10-20 Wim Taymans <wim@fluendo.com>
22144 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22145 (gst_base_sink_query):
22146 Speed up current position calculation.
22148 * gst/base/gstbasesrc.c: (gst_base_src_query),
22149 (gst_base_src_default_newsegment):
22150 Correctly set stream position in newsegment.
22152 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22153 (update_degree), (gst_bin_sort_iterator_next),
22154 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22155 * gst/gstmessage.c: (gst_message_new_custom):
22156 Clean up debugging info
22158 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22159 (gst_queue_loop), (gst_queue_handle_src_query):
22162 2005-10-19 Wim Taymans <wim@fluendo.com>
22164 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22165 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22166 Fix query handling again.
22168 2005-10-19 Wim Taymans <wim@fluendo.com>
22170 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22171 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22172 * gst/base/gstbasesrc.c: (gst_base_src_query):
22173 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22174 * gst/elements/gsttypefindelement.c:
22175 (gst_type_find_handle_src_query), (find_element_get_length),
22176 (gst_type_find_element_activate):
22179 * gst/gstquery.c: (gst_query_new_position),
22180 (gst_query_set_position), (gst_query_parse_position),
22181 (gst_query_new_duration), (gst_query_set_duration),
22182 (gst_query_parse_duration), (gst_query_set_segment),
22183 (gst_query_parse_segment):
22185 Bundling query position/duration is not a good idea since duration
22186 does not change much and we don't want to recalculate it for every
22187 position query, so they are separated again..
22188 Base value in segment query is not needed.
22190 * gst/gstqueue.c: (gst_queue_handle_src_query):
22191 * gst/gstutils.c: (gst_element_query_position),
22192 (gst_element_query_duration), (gst_pad_query_position),
22193 (gst_pad_query_duration):
22195 Updates for query API change.
22196 Added some docs here and there.
22198 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22200 * check/gst/gstbin.c: (GST_START_TEST):
22201 * check/gst/gstghostpad.c: (GST_START_TEST):
22202 * check/pipelines/cleanup.c: (GST_START_TEST):
22203 wait on thread to die so we can check refcount correctly
22205 2005-10-18 Wim Taymans <wim@fluendo.com>
22207 * check/pipelines/stress.c: (GST_START_TEST):
22208 Make check a little more time consuming.
22210 2005-10-18 Wim Taymans <wim@fluendo.com>
22212 * check/Makefile.am:
22213 * check/pipelines/stress.c: (GST_START_TEST),
22214 (simple_launch_lines_suite), (main):
22215 Small state change torture test.
22217 * docs/design/part-states.txt:
22218 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22219 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22220 (gst_base_sink_change_state):
22221 Never take state lock from streaming thread, clean up ugly
22222 hacks. Unfortunatly core does not yet support nice ways to
22223 async commit state.
22225 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22227 Start state recalc if a STATE_DIRTY message is posted, but only
22228 on the toplevel bin.
22230 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22231 (gst_element_get_state_func), (gst_element_abort_state),
22232 (gst_element_commit_state), (gst_element_lost_state),
22233 (gst_element_set_state_func), (gst_element_change_state):
22234 * gst/gstelement.h:
22235 State variables are now protected with the LOCK, the state
22236 lock is only used to serialize _set_state().
22238 2005-10-18 Wim Taymans <wim@fluendo.com>
22240 * check/gst/gstbin.c: (GST_START_TEST):
22241 * check/gst/gstmessage.c: (GST_START_TEST):
22242 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22243 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22245 * gst/gstelement.c: (gst_element_abort_state),
22246 (gst_element_commit_state), (gst_element_lost_state):
22247 * gst/gstmessage.c: (gst_message_new_state_changed),
22248 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22249 (gst_message_new_segment_done), (gst_message_new_duration),
22250 (gst_message_parse_state_changed),
22251 (gst_message_parse_segment_start),
22252 (gst_message_parse_segment_done), (gst_message_parse_duration):
22253 * gst/gstmessage.h:
22254 * tools/gst-launch.c: (event_loop):
22255 Seriously, this is better than a previous commit as we only need
22256 to notify the fact that an element changed state in a streaming
22257 thread, marking the state of the parents dirty, hence the
22258 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22261 2005-10-18 Wim Taymans <wim@fluendo.com>
22263 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22264 (gst_bin_recalc_func):
22265 * gst/gstelement.c: (gst_element_set_clock),
22266 (gst_element_abort_state), (gst_element_lost_state):
22267 Cleanups, prepare for state change fixes.
22269 2005-10-18 Wim Taymans <wim@fluendo.com>
22272 * gst/gstelement.c: (gst_element_class_init),
22273 (gst_element_set_state), (gst_element_set_state_func):
22274 * gst/gstelement.h:
22275 Pending ABI changes.
22276 GThreadPool in GstBinClass to monitor async state changes.
22277 state_cookie in GstElement to detect concurrent gst/set state.
22278 set_state is now virtual too in case a very complicated element
22279 has to be constructed.
22281 2005-10-18 Wim Taymans <wim@fluendo.com>
22283 * check/gst/gstbin.c: (GST_START_TEST):
22284 * check/gst/gstmessage.c: (GST_START_TEST):
22285 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22286 * gst/gstbin.c: (bin_bus_handler):
22287 * gst/gstelement.c: (gst_element_commit_state),
22288 (gst_element_lost_state):
22289 * gst/gstmessage.c: (gst_message_new_state_changed),
22290 (gst_message_new_segment_start), (gst_message_new_segment_done),
22291 (gst_message_new_duration), (gst_message_parse_state_changed),
22292 (gst_message_parse_segment_start),
22293 (gst_message_parse_segment_done), (gst_message_parse_duration):
22294 * gst/gstmessage.h:
22295 * tools/gst-launch.c: (event_loop):
22296 Make messages future proof.
22297 state-change gets a flag if it was a message comming from the
22299 segment-start/stop can also be specified in other formats.
22300 A message to notify an app that a pipeline changed playback
22302 Also fix a GstMessage leak in -launch
22304 2005-10-18 Andy Wingo <wingo@pobox.com>
22306 * gst/gstelement.c (gst_element_dispose): More helpful message.
22308 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22310 reviewed by: <delete if not using a buddy>
22312 * common/gtk-doc.mak:
22314 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22316 * gst/gstregistry.c: (gst_registry_scan_path_level):
22317 unref a plug-in we get that was already initialized
22319 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22321 * docs/gst/gstreamer-sections.txt:
22322 * docs/libs/gstreamer-libs-sections.txt:
22323 * gst/gstelement.h:
22324 add new api entries
22325 hide internal macro
22327 2005-10-17 Andy Wingo <wingo@pobox.com>
22329 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22332 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22334 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22336 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22337 (gst_element_get_state_func): Better debug message.
22338 (gst_element_commit_state): s/INFO/DEBUG/.
22339 (gst_element_lost_state, gst_element_change_state):
22341 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22342 (gst_message_new_custom): s/INFO/LOG/.
22344 2005-10-17 Michael Smith <msmith@fluendo.com>
22346 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22347 Check if end time is valid using end time, not start time.
22349 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22351 * check/gst-libs/controller.c: (GST_START_TEST),
22352 (gst_controller_suite):
22353 * libs/gst/controller/gstcontroller.c:
22354 (gst_controlled_property_set_interpolation_mode):
22355 * libs/gst/controller/gstcontroller.h:
22356 * libs/gst/controller/gstinterpolation.c:
22357 * testsuite/controller/.cvsignore:
22358 * testsuite/controller/Makefile.am:
22359 * testsuite/controller/interpolator.c:
22360 merge controller testsuites
22362 remove mem-chunk from docs
22364 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22366 * gst/gstmemchunk.c:
22367 * gst/gstmemchunk.h:
22368 * gst/gsttrashstack.c:
22369 * gst/gsttrashstack.h:
22370 out. get out. you're fired. to the Attic !
22372 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22374 * gst/gstcaps.c: (gst_caps_intersect):
22375 fix signedness issues in a (hopefully) correct way
22376 * gst/gstelement.c: (gst_element_pads_activate):
22378 * gst/gstobject.c: (gst_object_set_parent):
22381 2005-10-17 Julien MOUTTE <julien@moutte.net>
22383 * gst/gstvalue.h: Fix prototypes.
22385 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22387 * docs/gst/gstreamer-sections.txt:
22388 * gst/gst.c: (gst_version_string):
22390 * gst/gstversion.h.in:
22391 * win32/common/libgstreamer.def:
22392 add gst_version_string ()
22394 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22398 * gst/gst.c: (init_post):
22399 * win32/common/config.h.in:
22401 * gst/gstcaps.c: (gst_caps_intersect):
22402 use gint64, the range could be bigger than a guint
22404 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22407 document potential problem in 2038
22409 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22411 * gst/gstcaps.c: (gst_caps_intersect):
22412 Fix guint j diving under 0
22414 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22417 * win32/common/config.h:
22418 * win32/common/config.h.in:
22419 check for process.h, declares getpid() on Windows
22421 include process.h if we have it
22422 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22423 * gst/gstmemchunk.h:
22424 fix signedness issues
22425 * win32/common/libgstreamer.def:
22428 2005-10-16 Julien MOUTTE <julien@moutte.net>
22430 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22431 fix. Because of unsigned ints, caps intersection was going nuts and
22432 trying to access structures with G_MAXUINT index. That fixes
22433 videotestsrc ! ffmpegcolorspace ! fakesink
22434 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22437 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22440 use the gettext macro
22441 * gst/elements/gstelements.c:
22443 * gst/indexers/gstindexers.c:
22444 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22445 * win32/common/config.h:
22447 * win32/common/config.h.in:
22448 add the template to generate config.h
22449 * win32/common/gstenumtypes.c:
22450 * win32/common/gstversion.h:
22453 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22455 * gst/gst.c: (gst_version):
22456 * gst/gstversion.h.in:
22459 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22462 Oops, add missing closing bracket.
22464 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22467 use common m4's for argument checking
22469 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22471 * docs/gst/gstreamer-sections.txt:
22473 Add GST_EVENT_TYPE_NAME() macro.
22475 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22478 * gst/gstpluginfeature.c:
22480 privatize more symbols
22482 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22485 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22486 everything that uses GStreamer API should have the includes
22488 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22490 * docs/gst/gstreamer-sections.txt:
22491 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22493 give each value a _get_type, removes the DATA exports
22495 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22499 remove _gst_registry_auto_load, not used anymore
22500 * gst/gstbin.c: (gst_bin_get_type):
22502 * gst/gstelement.c: (gst_element_get_type):
22503 * gst/gstelement.h:
22504 * gst/gstobject.c: (gst_object_get_type):
22506 * gst/gstpad.c: (gst_pad_get_type):
22508 make _get_type functions similar, fixes data export from library
22510 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22513 correctly make conditionals
22514 * gst/elements/Makefile.am:
22515 * gst/elements/gstelements.c:
22516 fix typo causing fdsrc not to build
22518 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22520 * testsuite/Makefile.am:
22521 * testsuite/bytestream/.cvsignore:
22522 * testsuite/bytestream/Makefile.am:
22523 * testsuite/bytestream/filepadsink.c:
22524 * testsuite/bytestream/gstbstest.c:
22525 * testsuite/bytestream/test1.c:
22526 * testsuite/bytestream/testfile1:
22527 * testsuite/caps/normalisation.c:
22528 * testsuite/caps/random.c: (main):
22529 * testsuite/cleanup/.cvsignore:
22530 * testsuite/cleanup/Makefile.am:
22531 * testsuite/cleanup/cleanup1.c:
22532 * testsuite/cleanup/cleanup2.c:
22533 * testsuite/cleanup/cleanup3.c:
22534 * testsuite/cleanup/cleanup4.c:
22535 * testsuite/cleanup/cleanup5.c:
22536 * testsuite/controller/interpolator.c:
22537 * testsuite/debug/printf_extension.c: (main):
22538 * testsuite/elements/tee.c:
22539 * testsuite/negotiation/.cvsignore:
22540 * testsuite/negotiation/Makefile.am:
22541 * testsuite/negotiation/pad_link.c:
22542 * testsuite/pad/Makefile.am:
22543 * testsuite/pad/chainnopull.c:
22544 * testsuite/pad/getnopush.c:
22545 * testsuite/pad/link.c:
22546 * testsuite/refcounting/sched.c: (create_pipeline):
22547 * testsuite/registry/Makefile.am:
22548 * testsuite/registry/gst-print-formats.c:
22549 * testsuite/schedulers/.cvsignore:
22550 * testsuite/schedulers/142183-2.c:
22551 * testsuite/schedulers/142183.c:
22552 * testsuite/schedulers/143777-2.c:
22553 * testsuite/schedulers/143777.c:
22554 * testsuite/schedulers/147713.c:
22555 * testsuite/schedulers/147819.c:
22556 * testsuite/schedulers/147894-2.c:
22557 * testsuite/schedulers/147894.c:
22558 * testsuite/schedulers/Makefile.am:
22559 * testsuite/schedulers/group_link.c:
22560 * testsuite/schedulers/queue_link.c:
22561 * testsuite/schedulers/relink.c:
22562 * testsuite/schedulers/unlink.c:
22563 * testsuite/schedulers/unref.c:
22564 * testsuite/schedulers/useless_iteration.c:
22565 * testsuite/states/bin.c:
22566 clean out/remove some stuff from the testsuite directories
22568 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22571 check for some headers
22572 * gst/elements/Makefile.am:
22573 * gst/elements/gstelements.c:
22574 don't compile fdsrc without sys/socket.h
22575 * gst/indexers/Makefile.am:
22576 * gst/indexers/gstindexers.c: (plugin_init):
22577 don't compile fileindex without mmap
22579 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22586 * check/Makefile.am:
22587 * docs/gst/Makefile.am:
22588 * examples/helloworld/Makefile.am:
22590 * gst/base/Makefile.am:
22591 * gst/check/Makefile.am:
22592 * gst/elements/Makefile.am:
22593 * gst/indexers/Makefile.am:
22594 * gst/parse/Makefile.am:
22595 * libs/gst/controller/Makefile.am:
22596 * libs/gst/dataprotocol/Makefile.am:
22597 * examples/helloworld/helloworld.c: (event_loop):
22598 compile fixes, though it's not being compiled currently
22600 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22602 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22603 Add some simple tests for the new taglist date API.
22605 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22607 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22608 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22609 Beautify 'last-message' output: print 'none' for buffer timestamps
22610 and durations if none is set; improve alignment with next messages.
22612 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22614 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22615 * gst/gstpluginfeature.h:
22616 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22617 * gst/gstregistry.h:
22618 * docs/gst/gstreamer-sections.txt:
22619 Add new API to check plugin feature version requirements.
22621 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22622 Some basic tests for the above.
22624 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22626 * gst/gststructure.c: (gst_structure_to_string):
22627 guard against NULL printf - happens when for example
22628 a message structure with GstClock gets serialized
22630 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22632 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22633 Fix presumable copy'n'pasto.
22635 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22637 * gst/elements/gstfakesrc.h:
22638 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22639 * gst/elements/gsttypefindelement.c:
22640 fix some signedness
22641 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22642 I wonder if this could actually write +2GB files before
22644 2005-10-13 Andy Wingo <wingo@pobox.com>
22646 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22647 Fix Timmeke Waymans bug.
22648 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22649 string of the proper length to gst_caps_from_string. There's a
22650 potential for, before this fix, that this could cause someone
22651 connecting over the network to cause a segfault if the payload is
22652 not NUL-terminated.
22654 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22656 * docs/design/draft-push-pull.txt:
22657 * docs/design/part-overview.txt:
22658 * docs/random/TODO-pre-0.9:
22659 * docs/random/old/ChangeLog.gstreamer:
22660 * gst/base/gstpushsrc.c:
22664 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22666 * gst/glib-compat.c: (gst_flags_get_first_value):
22667 * gst/glib-compat.h:
22668 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22669 (gst_value_compare_double), (gst_value_serialize_flags):
22670 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22673 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22676 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22678 * tools/gst-launch.c: (event_loop):
22679 print out clock nicely
22681 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22683 * docs/gst/gstreamer-sections.txt:
22684 * gst/gsttaglist.h:
22685 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22686 (gst_tag_list_get_date_index):
22687 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22688 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22690 2005-10-13 Julien MOUTTE <julien@moutte.net>
22692 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22693 (gst_collectpads_chain):
22694 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22697 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22699 * docs/gst/gstreamer-sections.txt:
22702 * tools/gst-inspect.c: (main):
22703 * tools/gst-launch.c: (main):
22704 * tools/gst-run.c: (main):
22705 * tools/gst-xmlinspect.c: (main):
22706 fix GOption context leaks
22709 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22713 * win32/common/config.h:
22715 * win32/vs6/grammar.dsp:
22716 * win32/vs6/libgstelements.dsp:
22717 * win32/vs6/libgstreamer.dsp:
22720 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22723 * gst/base/gstbasesrc.c: (gst_base_src_query):
22724 fix more guint64<->gdouble conversions
22726 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22729 add win32-update target
22730 * win32/common/gstconfig.h:
22731 * win32/common/gstenumtypes.c:
22732 * win32/common/gstenumtypes.h:
22733 * win32/common/gstversion.h:
22734 add files that visual studio can't generate
22736 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22739 add a win32-update target
22742 2005-10-12 Wim Taymans <wim@fluendo.com>
22744 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22745 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22746 * gst/gstelement.c: (gst_element_commit_state),
22747 (gst_element_set_state):
22748 Protect flags with proper lock.
22749 unref provided cached clock in dispose.
22751 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22754 * gst/gstminiobject.h:
22756 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22757 removed unused flags from miniobject
22760 2005-10-12 Wim Taymans <wim@fluendo.com>
22762 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22763 (gst_file_sink_event), (gst_file_sink_render):
22764 Flush before seeking.
22766 2005-10-12 Andy Wingo <wingo@pobox.com>
22768 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22769 always been the case.
22771 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22773 * check/gst/gstbin.c: (GST_START_TEST):
22774 * docs/gst/gstreamer-sections.txt:
22775 * gst/base/gstbasesink.c: (gst_base_sink_init):
22776 * gst/base/gstbasesrc.c: (gst_base_src_init),
22777 (gst_base_src_get_range), (gst_base_src_check_get_range),
22778 (gst_base_src_start), (gst_base_src_stop):
22779 * gst/base/gstbasesrc.h:
22780 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22781 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22782 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22786 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22788 * gst/gstelement.c: (gst_element_is_locked_state),
22789 (gst_element_set_locked_state), (gst_element_commit_state),
22790 (gst_element_set_state):
22791 * gst/gstelement.h:
22792 * gst/gstindex.c: (gst_index_init):
22794 * gst/gstminiobject.h:
22795 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22796 (gst_object_set_parent):
22798 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22799 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22801 * gst/gstpadtemplate.h:
22802 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22803 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22804 * gst/gstpipeline.h:
22805 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22806 (gst_file_index_commit):
22807 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22808 * testsuite/pad/link.c: (gst_test_src_init),
22809 (gst_test_filter_init), (gst_test_sink_init):
22810 * testsuite/states/locked.c: (main):
22811 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22812 moved bitshift from macro to enum definition
22814 2005-10-12 Wim Taymans <wim@fluendo.com>
22816 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22817 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22818 (gst_file_sink_render):
22819 Some more debugging info.
22821 2005-10-12 Wim Taymans <wim@fluendo.com>
22823 * docs/design/part-states.txt:
22824 * tools/gst-launch.c: (main):
22826 Revert non-intentional change.
22828 2005-10-12 Wim Taymans <wim@fluendo.com>
22830 * check/gst/gstbin.c: (GST_START_TEST):
22831 * check/gst/gstelement.c: (GST_START_TEST):
22832 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22833 * check/gst/gstghostpad.c: (GST_START_TEST):
22834 * check/gst/gstpipeline.c: (GST_START_TEST):
22835 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22836 * check/states/sinks.c: (GST_START_TEST):
22837 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22838 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22839 (gst_bin_remove_func), (gst_bin_get_state_func),
22840 (gst_bin_recalc_state), (gst_bin_change_state_func),
22842 * gst/gstelement.c: (gst_element_get_state_func),
22843 (gst_element_get_state), (gst_element_abort_state),
22844 (gst_element_commit_state), (gst_element_set_state),
22845 (gst_element_change_state), (gst_element_change_state_func):
22846 * gst/gstelement.h:
22847 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22848 (gst_pipeline_provide_clock_func):
22849 * gst/gstutils.c: (gst_element_link_pads_filtered):
22850 * tools/gst-launch.c: (main):
22851 * tools/gst-typefind.c: (main):
22852 Use GstClockTime in _get_state() instead of GTimeVal.
22853 Remove old code in gstutils.c
22855 2005-10-12 Andy Wingo <wingo@pobox.com>
22857 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22860 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22861 there is no task. Shouldn't affect any code, as nothing in our
22862 plugins checks this return value.
22863 (gst_pad_stop_task): Also take the stream lock if the pad has no
22864 task. Docs updated.
22866 2005-10-12 Wim Taymans <wim@fluendo.com>
22868 * gst/gstpad.c: (pre_activate), (post_activate),
22869 (gst_pad_activate_pull), (gst_pad_activate_push):
22870 Cleanup activation code. Reset old state if
22873 2005-10-12 Wim Taymans <wim@fluendo.com>
22875 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22876 (gst_base_sink_change_state):
22877 No need to prerol after receiving EOS.
22879 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22880 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22881 * gst/elements/gstidentity.c: (gst_identity_event):
22882 Print events more verbosely.
22884 2005-10-12 Wim Taymans <wim@fluendo.com>
22886 * check/Makefile.am:
22887 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22888 * check/states/sinks2.c:
22889 Moved sinks2 testcode in sinks check.
22891 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22892 (gst_bin_remove_func), (gst_bin_recalc_state),
22893 (gst_bin_change_state_func), (bin_bus_handler):
22894 Fix potential race condition when _get_state() iterated over an
22895 ASYNC element right before it posted a state completion.
22898 Do proper cast here.
22900 * gst/gstevent.c: (gst_event_new_newsegment),
22901 (gst_event_parse_newsegment):
22902 A playback rate of 0.0 is not allowed.
22904 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22906 * win32/common/config.h:
22907 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22908 (_trewinddir), (_ttelldir), (_tseekdir):
22909 * win32/common/dirent.h:
22910 * win32/common/gtchar.h:
22911 * win32/common/libgstbase.def:
22912 * win32/common/libgstreamer.def:
22913 * win32/vs6/grammar.dsp:
22914 * win32/vs6/gst_inspect.dsp:
22915 * win32/vs6/gst_launch.dsp:
22916 * win32/vs6/gstreamer.dsw:
22917 * win32/vs6/libgstbase.dsp:
22918 * win32/vs6/libgstelements.dsp:
22919 * win32/vs6/libgstreamer.dsp:
22920 Visual Studio 6 project files, and a new common directory.
22923 2005-10-11 Wim Taymans <wim@fluendo.com>
22925 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22926 (gst_base_sink_do_sync), (gst_base_sink_query),
22927 (gst_base_sink_change_state):
22928 * gst/base/gstbasesink.h:
22929 Correctly parse newsegment info.
22931 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22933 * gst/gst.c: (init_post):
22934 split plugin paths correctly
22936 2005-10-11 Wim Taymans <wim@fluendo.com>
22938 * check/gst/gstevent.c: (GST_START_TEST):
22939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22940 (gst_base_sink_change_state):
22941 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22942 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22943 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22944 * gst/gstevent.c: (gst_event_new_newsegment),
22945 (gst_event_parse_newsegment):
22947 Added extra flag to newsegment for future API freeze.
22948 Updated check and base elements.
22950 2005-10-11 Julien MOUTTE <julien@moutte.net>
22952 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22953 (gst_collectpads_add_pad), (gst_collectpads_pop),
22954 (gst_collectpads_event), (gst_collectpads_chain):
22955 * gst/base/gstcollectpads.h: Handle EOS correctly.
22957 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22959 * tools/gst-launch.c: (main):
22960 more null protecting
22962 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22964 * gst/gst-i18n-lib.h:
22965 check for ENABLE_NLS, not GETTEXT_PACKAGE
22966 * gst/gstregistry.c: (gst_registry_add_plugin),
22967 (gst_registry_scan_path_level),
22968 (_gst_registry_remove_cache_plugins):
22969 protect possibly NULL strings
22970 * gst/parse/types.h:
22971 config.h already included before
22972 * tools/gst-inspect.c: (main):
22973 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22974 check for ENABLE_NLS, not GETTEXT_PACKAGE
22975 * tools/gst-launch.c: (main):
22976 check for ENABLE_NLS, not GETTEXT_PACKAGE
22978 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22981 if we don't have glib, fail before testing 2.8
22982 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22983 fix a leak, should fix plugins-base testsuite
22985 2005-10-11 Andy Wingo <wingo@pobox.com>
22987 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22988 take the mode we're going to as an arg. Go head and set the mode
22989 and flushing flags now, so that if the activate function starts a
22990 thread all the flags will be in the right state.
22991 (post_activate): Renamed also. Just handle making sure streaming
22992 finishes for the deactivation case, and setting the deactivated
22994 (gst_pad_set_active): Complain loudly if deactivation fails.
22995 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22996 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22997 remove the terrible hack.
22999 2005-10-11 Wim Taymans <wim@fluendo.com>
23001 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23002 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23003 (gst_bin_recalc_state), (gst_bin_change_state_func),
23004 (gst_bin_dispose), (bin_bus_handler):
23006 Prepare to make current EOS message queue more generic.
23009 * gst/gstevent.c: (gst_event_new_newsegment),
23010 (gst_event_parse_newsegment):
23012 Rename base to stream_time.
23014 * gst/gstmessage.h:
23017 2005-10-11 Wim Taymans <wim@fluendo.com>
23019 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23020 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23021 (gst_bin_change_state_func), (bin_bus_handler):
23023 Work on proper clock selection.
23025 2005-10-11 Edward Hervey <edward@fluendo.com>
23027 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23028 * libs/gst/controller/gstcontroller.h:
23029 Added GList* version of _remove_properties() in order to be able to wrap
23032 2005-10-11 Wim Taymans <wim@fluendo.com>
23034 * docs/design/part-states.txt:
23037 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23038 (gst_bin_change_state_func), (bin_bus_handler):
23039 Doc updates. Don't distribute the same clock over and over again.
23045 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23046 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23047 (gst_pad_send_event):
23049 Make probe emission threadsafe again.
23050 Register quarks and move _get_name() from utils.
23053 * gst/gstpipeline.c: (gst_pipeline_class_init),
23054 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23055 Only redistribute the clock of it changed.
23057 * gst/gstsystemclock.h:
23062 Moved the _flow_get_name() to GstPad.
23064 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23066 * check/gst-libs/gdp.c: (GST_START_TEST):
23067 * check/gst/gstcaps.c: (GST_START_TEST):
23068 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23069 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23070 (gst_dp_packet_from_caps):
23071 fix more valgrind warnings before turning up the heat
23073 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23075 * gst/parse/grammar.y:
23076 some cleanup before the hacking
23078 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23080 * gst/base/gstbasesrc.c: (gst_base_src_query):
23082 * gst/gstutils.c: (gst_guint64_to_gdouble),
23083 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23085 externalize, basesrc uses it
23086 obviously the implementation needs testing
23088 2005-10-10 Wim Taymans <wim@fluendo.com>
23090 * tests/sched/Makefile.am:
23091 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23092 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23094 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23096 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23097 apparently converting from guint64 to double is not implemented
23100 2005-10-10 Wim Taymans <wim@fluendo.com>
23102 * check/Makefile.am:
23103 * check/generic/states.c: (GST_START_TEST):
23104 * check/gst/gstbin.c: (GST_START_TEST):
23105 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23106 * check/states/sinks.c: (GST_START_TEST):
23107 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23109 Check fixes, use API as stated in design docs, remove hacks.
23111 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23112 (gst_base_sink_change_state):
23113 Catch stopping our task while we're shutting down.
23115 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23116 (gst_bin_remove_func), (gst_bin_get_state_func),
23117 (gst_bin_recalc_state), (gst_bin_change_state_func),
23120 * gst/gstelement.c: (gst_element_init),
23121 (gst_element_get_state_func), (gst_element_abort_state),
23122 (gst_element_commit_state), (gst_element_lost_state),
23123 (gst_element_set_state), (gst_element_change_state),
23124 (gst_element_change_state_func):
23125 * gst/gstelement.h:
23126 New state change algorithm (see #318116)
23128 * gst/gstpipeline.c: (gst_pipeline_class_init),
23129 (gst_pipeline_init), (gst_pipeline_set_property),
23130 (gst_pipeline_get_property), (do_pipeline_seek),
23131 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23132 * gst/gstpipeline.h:
23133 Remove crude state change hacks.
23136 Remove crude hacks.
23138 * tools/gst-launch.c: (main):
23139 Fixes for state change. Needs some more work to fully use the
23142 2005-10-10 Andy Wingo <wingo@pobox.com>
23144 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23146 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23147 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23150 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23152 * gst/gstiterator.c: (gst_iterator_new):
23153 Fix my previous commit: GTypes passed to gst_iterator_new()
23154 can be fundamental types.
23156 2005-10-10 Wim Taymans <wim@fluendo.com>
23158 * gst/gstelement.c: (gst_element_iterate_pad_list),
23159 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23160 (gst_element_iterate_sink_pads):
23161 Use src/sink pads lists for the respective iterators instead
23164 2005-10-10 Andy Wingo <wingo@pobox.com>
23166 Merged in popt removal + GOption addition patch from Ronald, bug
23169 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23170 GstElement macros around, remove popt-related symbols, add goption
23173 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23175 * docs/gst/Makefile.am:
23176 * docs/libs/Makefile.am: No POPT_CFLAGS.
23178 * examples/manual/Makefile.am:
23179 * docs/manual/basics-init.xml: Doc updates with an example.
23181 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23182 (gst_init), (parse_one_option), (parse_goption_arg):
23183 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23184 bit of hand merging and debugging to get the GOption stuff working
23187 * tests/Makefile.am:
23188 * tools/Makefile.am:
23189 * tools/gst-inspect.c: (main):
23190 * tools/gst-launch.c: (main):
23191 * tools/gst-run.c: (main):
23192 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23194 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23196 * gst/gstiterator.c: (gst_iterator_new):
23197 Add assertions to make sure passed GType is likely to really
23198 be a GType (as the compiler won't catch it if the size and
23199 GType arguments get mixed up, see #318447).
23201 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23203 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23205 * gst/gstbin.c: (gst_bin_iterate_sorted):
23206 Pass GType and size arguments to gst_iterator_new() in the right
23207 order (maybe we should make _new() take the GType as first argument
23208 just like _new_list()?) (#318447).
23211 2005-10-10 Wim Taymans <wim@fluendo.com>
23213 * gst/gstelement.c: (gst_element_finalize):
23214 And free the GStaticRecMutex too
23216 2005-10-10 Andy Wingo <wingo@pobox.com>
23218 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23219 Allocate and free the mutex properly.
23221 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23223 (GstElement): The state_lock is now recursive. Rebuild your
23224 plugins, suckers. Old macros adapted.
23226 * docs/gst/gstreamer-sections.txt: Doc updates.
23229 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23230 (g_static_rec_cond_wait): Ported from state changes patch, while
23231 we wait on bug #317802 to be solved in a well-distributed GLib.
23233 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23234 gst_element_change_state, variable name changes.
23235 (gst_element_change_state): Split out of gst_element_set_state in
23236 preparation for the state change merge. Doesn't pay attention to
23237 the 'transition' argument.
23238 (gst_element_set_state): Updates, hopefully purely cosmetic.
23239 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23240 state change patch.
23241 (gst_element_get_state_func): Renamed from get_state, cosmetic
23244 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23246 * gst/elements/gstelements.c:
23247 * win32/GStreamer.vcproj:
23249 * win32/dirent.c: (_tseekdir):
23250 * win32/gst-inspect.vcproj:
23251 * win32/gst-launch.vcproj:
23252 * win32/gstconfig.h:
23253 * win32/gstelements.vcproj:
23254 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23255 * win32/gstreamer.def:
23256 * win32/msvc71.sln:
23257 updates for the win32 build (patch from Sebastien Moutte)
23259 2005-10-10 Andy Wingo <wingo@pobox.com>
23261 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23262 gst_bin_get_state, cleaned up (but no logic changes).
23263 (bin_element_is_sink): Comment updates.
23264 (sink_iterator_filter): Remove needless cast.
23265 (gst_bin_iterate_sinks): Doc update.
23266 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23267 cleaned up (but no logic changes).
23269 * check/states/sinks.c (test_src_sink): Cleanups from the state
23271 (test_livesrc_sink): Sync on the state.
23273 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23274 the state change patch.
23276 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23279 * check/gst/gstbin.c: Merge in some style fixes and additional
23280 checks from Wim's state change patch.
23282 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23284 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23285 (gst_type_find_helper):
23286 Check whether we have the requested data already in our list of
23287 cached buffers before pulling a new buffer; also make the buffer
23288 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23290 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23295 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23296 don't use long long, it's not portable. Replacing with
23297 gint64 seems to work; let's hope no skeletons fall out of the closet.
23299 2005-10-10 Andy Wingo <wingo@pobox.com>
23301 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23303 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23305 * docs/gst/gstreamer-sections.txt:
23310 * gst/gstmessage.c: (gst_message_parse_state_changed):
23313 more docs, fix compilation
23315 2005-10-09 Philippe Khalaf <burger@speedy.org>
23316 * gst/gstmessage.c:
23317 Fixed a few forgotten variables on previous commit
23319 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23321 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23322 Fix evil typefind crasher: getrange() might return a short
23323 buffer at the end of a file, but gst_type_find_peek() must
23324 either return the full data as requested or NULL, but
23325 never a short buffer.
23327 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23329 * gst/gstmessage.c: (gst_message_new_state_changed),
23330 (gst_message_parse_state_changed):
23331 * gst/gstmessage.h:
23332 don't use "new", it's a C++ keyword
23334 2005-10-08 Wim Taymans <wim@fluendo.com>
23336 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23337 * gst/gstelement.c: (gst_element_post_message):
23338 * gst/gstpipeline.c: (gst_pipeline_change_state):
23339 Small docs and debug updates.
23341 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23343 * docs/gst/gstreamer-sections.txt:
23344 * gst/gstelementfactory.c:
23346 * gst/gsttaglist.c:
23349 2005-10-08 Wim Taymans <wim@fluendo.com>
23351 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23352 (gst_bin_dispose), (bin_bus_handler):
23353 Fix typos, add comments.
23354 Clear EOS list when going to PAUSED from any direction and do it
23355 in a threadsafe way.
23356 Get base time in a threadsafe way too.
23357 Fix confusing debug in the change_state function.
23358 Various other small cleanups.
23360 * gst/gstelement.c: (gst_element_post_message):
23361 Fix very verbose bus posting code.
23363 * gst/gstpipeline.c: (gst_pipeline_class_init),
23364 (gst_pipeline_set_property), (gst_pipeline_get_property),
23365 (gst_pipeline_change_state):
23366 Small ARG_ -> PROP_ cleanup
23368 2005-10-08 Wim Taymans <wim@fluendo.com>
23370 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23371 Do a less CPU demanding EOS check because we can.
23373 2005-10-08 Wim Taymans <wim@fluendo.com>
23375 * libs/gst/dataprotocol/dataprotocol.c:
23376 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23377 (gst_dp_packet_from_event):
23378 * libs/gst/dataprotocol/dataprotocol.h:
23379 * libs/gst/dataprotocol/dp-private.h:
23380 It's about time we bump the version number.
23381 Since event types don't fit in the guint8 anymore describing
23382 the payload type, make payload type 16 bits wide.
23384 2005-10-08 Wim Taymans <wim@fluendo.com>
23386 * docs/design/part-TODO.txt:
23387 * docs/design/part-clocks.txt:
23388 * docs/design/part-events.txt:
23389 * docs/design/part-gstbin.txt:
23390 * docs/design/part-gstelement.txt:
23391 * docs/design/part-gstpipeline.txt:
23392 * docs/design/part-live-source.txt:
23393 * docs/design/part-messages.txt:
23394 * docs/design/part-overview.txt:
23395 * docs/design/part-states.txt:
23398 2005-10-08 Wim Taymans <wim@fluendo.com>
23402 Fix event quark registration.
23403 Add some space between events so we can insert them in the
23406 2005-10-08 Wim Taymans <wim@fluendo.com>
23408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23409 (gst_base_sink_handle_buffer):
23410 Better log message.
23413 * gst/gstelement.h:
23416 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23417 (gst_queue_set_property), (gst_queue_get_property):
23419 Remove old unused properties.
23421 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23422 * docs/gst/gstreamer-sections.txt:
23423 * gst/gstmessage.c:
23424 * gst/gstmessage.h:
23425 * gst/gstminiobject.c:
23426 * gst/gstminiobject.h:
23430 lots of new docs and doc fixes
23432 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23434 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23436 * gst/gstregistry.c: (gst_registry_lookup_locked),
23437 (gst_registry_scan_path_level):
23438 * gst/gstregistryxml.c: (load_plugin):
23439 Only ever load one plugin for a given plugin basename.
23440 This ensures correct overriding of GST_PLUGIN_PATH over
23441 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23442 system installed plugins.
23444 2005-10-08 Wim Taymans <wim@fluendo.com>
23446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23447 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23448 Prepare for doing QOS.
23450 2005-10-08 Wim Taymans <wim@fluendo.com>
23452 * check/gst/gstbin.c: (GST_START_TEST):
23453 * check/pipelines/cleanup.c: (GST_START_TEST):
23454 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23455 Allow new clock message too.
23457 2005-10-08 Wim Taymans <wim@fluendo.com>
23459 * gst/gstmessage.c: (gst_message_new_error),
23460 (gst_message_new_warning), (gst_message_new_tag),
23461 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23462 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23463 (gst_message_new_segment_start), (gst_message_new_segment_done),
23464 (gst_message_parse_state_changed),
23465 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23466 (gst_message_parse_new_clock):
23467 * gst/gstmessage.h:
23468 Also carry the clock in question.
23470 2005-10-08 Wim Taymans <wim@fluendo.com>
23472 * gst/gstmessage.c: (gst_message_new_custom),
23473 (gst_message_new_eos), (gst_message_new_error),
23474 (gst_message_new_warning), (gst_message_new_tag),
23475 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23476 (gst_message_new_new_clock), (gst_message_new_segment_start),
23477 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23478 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23479 * gst/gstmessage.h:
23481 Added clock related messages.
23483 * gst/gstpipeline.c: (gst_pipeline_change_state):
23484 Post message when the clock changed.
23486 * tools/gst-launch.c: (event_loop):
23489 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23491 * tools/gst-inspect.c: (print_element_properties_info):
23492 Can't pass NULL strings to g_print() on windows.
23494 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23496 * docs/Makefile.am:
23497 * docs/gst/Makefile.am:
23498 * docs/gst/gstreamer-docs.sgml:
23499 * docs/gst/running.xml:
23500 * docs/version.entities.in:
23501 add a chapter on running GStreamer.
23502 document GST_DEBUG and GST_PLUGIN* env vars
23504 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23509 remove PLUGINS_BUILDDIR stuff
23510 * gst/gst.c: (init_post):
23511 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23513 remove, it was condescending and not needed
23515 2005-10-08 Wim Taymans <wim@fluendo.com>
23517 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23518 (gst_base_sink_handle_object), (gst_base_sink_event),
23519 (gst_base_sink_wait), (gst_base_sink_handle_event),
23520 (gst_base_sink_change_state):
23521 * gst/base/gstbasesink.h:
23522 Repost EOS message while going to PLAYING if still EOS.
23523 Make sure that when receiving a FLUSH_START we don't attempt
23524 to sync on the clock anymore.
23526 2005-10-08 Wim Taymans <wim@fluendo.com>
23528 * tools/gst-launch.c: (event_loop):
23529 Better message printout.
23531 2005-10-08 Wim Taymans <wim@fluendo.com>
23533 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23534 (gst_bin_child_proxy_get_children_count):
23535 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23536 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23537 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23538 (gst_child_proxy_set_valist):
23539 * gst/parse/grammar.y:
23540 Make ChildProxy threadsafe and fix mem leaks.
23542 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23544 * gst/gst.c: (init_post):
23545 debug the GST_PLUGIN_ env vars
23547 2005-10-08 Wim Taymans <wim@fluendo.com>
23549 * check/gst/gstbin.c: (GST_START_TEST):
23550 * check/gst/gstmessage.c: (GST_START_TEST):
23551 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23552 * gst/gstelement.c: (gst_element_commit_state),
23553 (gst_element_lost_state):
23554 * gst/gstmessage.c: (gst_message_new_state_changed),
23555 (gst_message_parse_state_changed):
23556 * gst/gstmessage.h:
23557 * tools/gst-launch.c: (event_loop):
23558 Added extra field to STATE_CHANGE message with the pending
23559 state, which will be different from the new state soon.
23561 2005-10-08 Wim Taymans <wim@fluendo.com>
23563 * gst/gstbus.c: (gst_bus_pop):
23565 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23566 Small cleanups and doc updates.
23568 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23570 * gst/gst.c: (init_pre):
23571 * gst/gstbin.c: (gst_bin_add_func):
23572 log distributing clocks and base time
23573 * gst/gstregistry.c: (gst_registry_add_plugin),
23574 (gst_registry_scan_path_level), (gst_registry_scan_path):
23575 clean up the debugging output a little
23576 * gst/gstutils.c: (gst_element_state_get_name):
23577 warn about a memleak (I've actually seen this be used, though
23578 it was probably a bug)
23580 2005-10-07 Wim Taymans <wim@fluendo.com>
23582 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23583 (gst_base_src_init), (gst_base_src_default_newsegment),
23584 (gst_base_src_newsegment), (gst_base_src_do_seek),
23585 (gst_base_src_loop), (gst_base_src_start):
23586 * gst/base/gstbasesrc.h:
23587 Make the newsegment event customizable by subclasses.
23589 2005-10-07 Wim Taymans <wim@fluendo.com>
23591 * gst/gstevent.c: (gst_event_new_buffersize),
23592 (gst_event_parse_buffersize):
23594 New event for future idea.
23596 2005-10-07 Andy Wingo <wingo@pobox.com>
23598 * gst/gstelement.c (gst_element_post_message): Doc update.
23600 * docs/gst/gstreamer-sections.txt: Update.
23602 * gst/gstmessage.c (gst_message_new_application): Made into a
23603 function like honest API calls.
23604 (gst_message_new_element): New message type.
23606 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23608 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23609 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23612 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23613 NO_PREROLL from gst_element_change_state to fall through.
23615 2005-10-07 Wim Taymans <wim@fluendo.com>
23617 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23618 (gst_ghost_pad_do_activate_push):
23619 Activating a ghostpad with no internal pad in push mode
23622 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23625 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23626 Fixes compilation on Windows.
23628 2005-10-07 Michael Smith <msmith@fluendo.com>
23630 * tools/gst-inspect.c:
23631 Print out feature and plugin count at the end when printing out
23634 2005-10-04 Michael Smith <msmith@fluendo.com>
23636 * gst/gsterror.c: (_gst_stream_errors_init):
23637 Add another error string used in a few existing plugins.
23640 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23641 * tools/gst-inspect.c: (print_element_info):
23642 When a feature disappears from a plugin (and the feature exists in
23643 the cached registry file), things went horribly wrong. This isn't a
23644 complete fix, we should actually be removing the 'missing' features
23645 from the features list when we load the actual plugin. That's not
23648 2005-10-04 Johan Dahlin <johan@gnome.org>
23650 * check/gst/gstiterator.c: (GST_START_TEST):
23651 * gst/gstbin.c: (gst_bin_iterate_elements),
23652 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23653 * gst/gstelement.c: (gst_element_iterate_pads):
23654 * gst/gstformat.c: (gst_format_iterate_definitions):
23655 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23656 (gst_iterator_new_list), (gst_iterator_filter):
23657 * gst/gstiterator.h:
23658 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23659 Add a GType to GstIterator, update callsites and tests.
23661 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23663 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23664 give events a chance to be handled by event probes when the pad
23667 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23669 * gst/gstevent.c: (gst_event_type_get_name),
23670 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23672 add string representations for event types
23674 2005-10-06 Wim Taymans <wim@fluendo.com>
23676 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23677 Don't use NULL pointers.
23679 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23681 * gst/gst_private.h:
23683 * gst/gstelement.c:
23685 * gst/gstpluginfeature.c:
23686 widen the debug category in output to fit the biggest one we have
23687 add a bus category and use it
23688 play with the colors
23689 fix up some categories
23691 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23693 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23694 add push activation of sink ghost pads.
23695 Andye, please verify
23697 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23699 * gst/gstutils.c: (gst_element_link_pads):
23700 fix a bug in the case where neither element has a pad
23701 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23702 add a test for that case
23704 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23706 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23707 emit have-data before checking for peers. This allows
23708 for probe handlers to connect elements. This helps autopluggers.
23709 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23711 add six checks, linked/unlinked with no/true/false probe
23713 2005-10-04 Wim Taymans <wim@fluendo.com>
23715 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23716 (gst_fake_sink_event), (gst_fake_sink_preroll),
23717 (gst_fake_sink_render), (gst_fake_sink_change_state):
23718 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23719 (gst_fake_src_get_property), (gst_fake_src_create),
23720 (gst_fake_src_stop):
23721 * gst/elements/gstidentity.c: (gst_identity_stop):
23722 Protect last_message with lock.
23724 2005-10-04 Edward Hervey <edward@fluendo.com>
23727 Added precision in the comments for GST_FORMAT_DEFAULT
23729 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23731 * tools/gst-launch.c: (main):
23732 Don't try to run erroneous pipelines.
23734 2005-10-04 Julien MOUTTE <julien@moutte.net>
23736 * gst/gstbus.c: We don't need this header.
23738 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23741 back to development
23743 === release 0.9.3 ===
23745 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23749 Releasing 0.9.3, "Unregistered"
23751 2005-10-03 Andy Wingo <wingo@pobox.com>
23753 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23754 whereby calling a pad's activatepush() function can start a thread
23755 that starts to push or pull before the pad gets the FLUSHING flag
23756 unset. Hack around it by holding the stream lock until the flag is
23757 set. Need to replace this with a proper solution. Together with
23758 the ghost pad fixes, this fixes mp3 playing/tagreading.
23760 * docs/design/part-gstghostpad.txt: Add a note about activation of
23761 proxy pads outside of ghost pads.
23763 * gst/gstghostpad.c: Implement the ghost pad activation design.
23765 2005-10-02 Andy Wingo <wingo@pobox.com>
23767 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23768 It is volatile, after all.
23770 * docs/design/part-gstghostpad.txt: Flesh out activation with
23773 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23776 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23779 Fix (unused) AM_CONDITIONAL tests.
23781 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23783 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23785 * gst/gstutils.c: (gst_pad_query_convert):
23786 Add assertion that makes sure src_val is >=0, just like
23787 gst_query_new_convert() has. (#315895)
23789 2005-09-30 Edward Hervey <edward@fluendo.com>
23791 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23792 Let's not iterate pads we're not interested in, it avoids getting
23793 sky-high refcounts on sinkpad.
23795 2005-09-30 Wim Taymans <wim@fluendo.com>
23797 * gst/gstelement.c: (gst_element_set_state),
23798 (gst_element_change_state):
23799 Small tweak, element in ASYNC remains ASYNC.
23801 2005-09-30 Wim Taymans <wim@fluendo.com>
23803 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23804 Only error is an error.
23806 * gst/gstbin.c: (gst_bin_change_state):
23809 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23810 Also call pad_block in pad alloc.
23812 * gst/gstutils.c: (gst_flow_get_name):
23815 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23817 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23818 (gst_base_src_get_range):
23819 Fix documentation typos. Add some more debug info.
23821 2005-09-29 David Schleef <ds@schleef.org>
23823 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23824 more end-user friendly.
23825 * tools/gst-inspect.c: (main): Check if command-line argument is
23826 a file and attempt to load that file as a plugin.
23828 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23830 * check/gst/gstbin.c:
23831 * check/states/sinks.c:
23832 fix tests for the new warning
23833 * check/gst/gstpipeline.c:
23834 add a test for pipeline and bus interaction
23835 * gst/gstelement.c:
23836 elements should be NULL if they get disposed; add a warning if not
23838 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23841 for 2.6 refcounting, make debug log more correct by printing
23842 the actual refcounts at the time of swap (Wim)
23844 2005-09-29 Andy Wingo <wingo@pobox.com>
23846 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23847 removes signal watches previously added via
23848 gst_bus_add_signal_watch.
23849 (gst_bus_add_signal_watch): Don't return the source id, just store
23850 it on the bus if there wasn't an id already.
23852 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23853 add_signal_watch and remove_signal_watch.
23855 2005-09-29 Edward Hervey <edward@fluendo.com>
23857 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23858 Better if we actually iterate the list :)
23860 2005-09-29 Wim Taymans <wim@fluendo.com>
23862 * check/gst/gstbin.c: (GST_START_TEST):
23863 Change for new bus API.
23865 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23866 (send_messages), (GST_START_TEST), (gstbus_suite):
23867 Change for new bus signal API.
23869 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23870 (gst_bus_source_prepare), (gst_bus_source_check),
23871 (gst_bus_create_watch), (gst_bus_add_watch_full),
23872 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23873 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23875 Remove support for multiple GSources operating on different
23876 message types as it is too complex and unneeded when using
23878 Added support for receiving signals from the bus.
23880 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23882 * docs/libs/tmpl/gstdataprotocol.sgml:
23883 * docs/manual/advanced-dataaccess.xml:
23884 * gst/elements/gstcapsfilter.c:
23886 rename filter-caps to caps property
23888 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23890 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23891 More robust fraction string parsing.
23893 * docs/pwg/appendix-porting.xml:
23894 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23896 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23898 * gst/gstcaps.c: (gst_caps_do_simplify):
23899 Thou shalt not free a structure and then continue using it
23900 in the next loop iteration.
23902 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23904 Add test case for caps simplification.
23906 2005-09-29 Wim Taymans <wim@fluendo.com>
23908 * check/gst/gstbin.c: (GST_START_TEST):
23911 2005-09-29 Wim Taymans <wim@fluendo.com>
23913 * check/gst/gstbin.c: (GST_START_TEST):
23916 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23917 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23918 (find_element), (gst_bin_sort_iterator_next),
23919 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23920 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23921 (gst_bin_change_state), (gst_bin_dispose):
23922 A bin does not have a bus, it gets the bus from the parent.
23924 * gst/gstelement.c: (gst_element_requires_clock),
23925 (gst_element_provides_clock), (gst_element_is_indexable),
23926 (gst_element_is_locked_state), (gst_element_change_state),
23927 (gst_element_set_bus_func):
23930 * gst/gstpipeline.c: (gst_pipeline_class_init),
23931 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23932 The pipeline provides a bus.
23934 2005-09-28 Johan Dahlin <johan@gnome.org>
23936 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23937 gst_structure_get_enum instead of gst_structure_get_int
23939 * gst/gststructure.c (gst_structure_get_enum): Impl.
23941 * gst/gststructure.h (gst_structure_get_enum): Add
23943 * docs/gst/gstreamer-sections.txt: Ditto
23945 * gst/gstmessage.c (gst_message_new_state_changed): Use
23946 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23947 which does introspection.
23948 Reviewed by Christian Schaller
23950 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23952 * gst/gstinfo.c: (gst_debug_log_default):
23953 don't do dummy g_strdup()s
23954 * libs/gst/controller/gstcontroller.c:
23955 (on_object_controlled_property_changed),
23956 (gst_controlled_property_new), (gst_controller_new_valist),
23957 (gst_controller_new_list),
23958 (gst_controller_remove_properties_valist), (gst_controller_set),
23959 (gst_controller_get), (gst_controller_sync_values),
23960 (gst_controller_get_value_array), (_gst_controller_class_init),
23961 (gst_controller_get_type):
23962 * libs/gst/controller/gstcontroller.h:
23963 * libs/gst/controller/gstinterpolation.c:
23964 (gst_controlled_property_find_timed_value_node):
23965 convert // to /**/ comments
23967 2005-09-28 Wim Taymans <wim@fluendo.com>
23969 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23970 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23971 (gst_bus_sync_signal_handler):
23973 Added async-message and sync-message signals to the bus.
23974 Added helper BusFunc to emit signals for all posted messages.
23976 * gst/gstmessage.c: (gst_message_type_get_name),
23977 (gst_message_type_to_quark), (gst_message_get_type):
23978 * gst/gstmessage.h:
23979 Register quarks for message names.
23981 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23983 * docs/libs/gstreamer-libs-sections.txt:
23984 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23985 (gst_controller_new_list):
23986 * libs/gst/controller/gstcontroller.h:
23987 added another constructor for language bindings
23989 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23991 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23995 * gst/gstinfo.c: (_gst_debug_init):
23996 slightly more readable color for refcount debugging
23998 2005-09-28 Wim Taymans <wim@fluendo.com>
24000 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24001 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24002 (find_element), (gst_bin_sort_iterator_next),
24003 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24004 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24005 (gst_bin_change_state), (gst_bin_dispose):
24006 Small doc fixes. get_clock -> provide_clock.
24008 * gst/gstelement.c: (gst_element_class_init),
24009 (gst_element_provides_clock), (gst_element_provide_clock),
24010 (gst_element_get_clock), (gst_element_commit_state),
24011 (gst_element_lost_state):
24012 * gst/gstelement.h:
24013 Make get/set_clock() symetric. Add provide_clock vmethod since
24014 that is actually what this function does.
24016 * gst/gstpipeline.c: (gst_pipeline_class_init),
24017 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24018 (gst_pipeline_get_clock):
24019 get_clock -> provide_clock.
24021 2005-09-28 Andy Wingo <wingo@pobox.com>
24023 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24024 lieu of real docs...
24026 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24028 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24030 * gst/elements/gstcapsfilter.c:
24031 * gst/elements/gstfakesink.c:
24032 * gst/elements/gstfakesrc.c:
24033 * gst/elements/gstfdsink.c:
24034 * gst/elements/gstfdsrc.c:
24035 * gst/elements/gstfilesink.c:
24036 * gst/elements/gstfilesrc.c:
24037 * gst/elements/gstidentity.c:
24038 * gst/elements/gsttee.c:
24039 * gst/elements/gsttypefindelement.c:
24040 Make element details static.
24042 2005-09-28 Wim Taymans <wim@fluendo.com>
24044 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24045 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24046 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24047 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24048 (gst_bin_change_state), (gst_bin_dispose):
24049 Some documentation updates.
24050 Clean up dispose handlers.
24052 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24053 * gst/gstpad.c: (gst_pad_dispose):
24054 Clean up dispose handler.
24056 * gst/gstpipeline.c: (gst_pipeline_change_state):
24057 Removed spurious UNLOCK.
24059 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24061 * docs/gst/gstreamer-sections.txt:
24062 * gst/base/gstbasesrc.h:
24063 * gst/gstelement.h:
24067 * gst/gstpipeline.c:
24068 * gst/gstpipeline.h:
24071 added two new functions to the docs
24072 documents all undocumented GstXXXFlags
24073 completed some incomplete docs
24075 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24077 * gst/gstbin.c: (gst_bin_dispose):
24078 * gst/gstelement.c: (gst_element_dispose):
24079 remove now useless and leaky resurrection code in dispose
24080 * gst/base/gstbasesrc.c: (gst_base_src_init):
24081 * gst/gstelementfactory.c: (gst_element_factory_create):
24082 * gst/gstobject.c: (gst_object_set_parent):
24085 2005-09-27 Wim Taymans <wim@fluendo.com>
24087 * docs/design/part-TODO.txt:
24090 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24091 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24092 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24093 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24094 (gst_bin_change_state):
24095 * gst/gstelement.h:
24096 Remove element variable, we keep element info in the iterator now.
24098 2005-09-27 Andy Wingo <wingo@pobox.com>
24100 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24103 2005-09-27 Wim Taymans <wim@fluendo.com>
24105 * check/gst/gstbin.c: (GST_START_TEST):
24106 Enable check that works now.
24108 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24109 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24110 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24111 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24112 (gst_bin_change_state):
24114 Redid the state change algorithm using a topological sort algo.
24115 Handles all cases correctly.
24116 Exposed iterator for state change order.
24118 * gst/gstelement.h:
24119 Temp storage for state changes. Need to get rid of this soon.
24121 2005-09-27 Wim Taymans <wim@fluendo.com>
24123 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24124 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24125 (link_fold_func), (gst_pad_proxy_setcaps):
24126 Leak fixes, the fold functions need to unref the passed object and
24127 _get_parent_*() returns ref to parent.
24129 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24131 * check/gst/gstbuffer.c: (test_make_writable):
24132 Plug leak in test case and fix 'make check-valgrind'
24134 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24136 * gst/gstbuffer.c: (gst_subbuffer_init):
24137 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24138 works correctly in all circumstances (we could have just copied
24139 the parent buffer's readonly flag, but conceptually it seems
24140 cleaner to mark all subbuffers as read-only). (based on patch
24141 by Alessandro Decina, #314710).
24143 * check/gst/gstbuffer.c: (create_read_only_buffer),
24144 (test_make_writable), (test_subbuffer_make_writable),
24146 Add some tests for gst_buffer_make_writable().
24148 2005-09-27 Wim Taymans <wim@fluendo.com>
24150 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24151 use gst_object_has_ancestor().
24153 * gst/gstobject.c: (gst_object_has_ancestor):
24155 gst_object_has_ancestor() copied from gstbin.c as it is a
24158 * tests/instantiate/create.c: (create_all_elements):
24159 * tests/lat.c: (handoff_src), (handoff_sink):
24160 * tests/sched/runxml.c: (main):
24161 * tests/seeking/seeking1.c: (main):
24162 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24164 Fix compilation of some tests.
24166 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24169 Remove comment. GST_TYPE_G_ERROR is here to stay,
24170 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24171 (#316961, #300610).
24173 2005-09-26 Wim Taymans <wim@fluendo.com>
24175 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24176 Added check that shows error in state change order.
24178 2005-09-26 Wim Taymans <wim@fluendo.com>
24180 * gst/gstbin.c: (gst_bin_change_state):
24181 Make state change function use 3 queues again, we were
24182 adding elements in the wrong order.
24184 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24187 * gst/gstpad.c: (gst_pad_dispose):
24188 Added some debug info first.
24190 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24192 * docs/design/draft-push-pull.txt:
24193 * docs/design/part-events.txt:
24194 * docs/design/part-overview.txt:
24195 * docs/design/part-scheduling.txt:
24196 Replace all _pull_region() with _pull_range()
24198 2005-09-26 Andy Wingo <wingo@pobox.com>
24200 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24202 * check/gst-libs/controller.c: Update for controller api change.
24205 * tests/Makefile.am:
24206 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24207 over by GLib bug 118439.
24209 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24210 routines to a function.
24212 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24214 * libs/gst/controller/gsthelper.c:
24215 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24216 (gst_object_sync_values): Renamed from sink_values. Ugh.
24218 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24220 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24221 Renamed from controller_key, as it is exported.
24223 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24225 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24230 * gst/gstpadtemplate.h:
24233 * gst/gstqueryutils.c:
24234 * gst/gstqueryutils.h:
24235 remove queryutils headers after moving the two used functions
24236 to gstquery. also fixes build problem for gstsiddec
24238 2005-09-26 Michael Smith <msmith@fluendo.com>
24240 * tools/gst-launch.1.in:
24241 Correct documentation in manpage of debug syntax
24243 2005-09-26 Wim Taymans <wim@fluendo.com>
24245 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24246 (gst_base_src_is_seekable), (gst_base_src_change_state):
24247 Some more debugging info.
24249 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24251 * docs/gst/gstreamer-sections.txt:
24252 * gst/base/gstbasetransform.h:
24256 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24258 * docs/gst/.cvsignore:
24259 * docs/gst/tmpl/.cvsignore:
24260 * docs/gst/tmpl/gstpipeline.sgml:
24261 * docs/gst/tmpl/gstplugin.sgml:
24262 * gst/gstpipeline.c:
24265 inlined the last two docs files
24266 removed the tmpl directory from cvs (no more conflicts here!)
24268 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24270 * docs/gst/gstreamer-sections.txt:
24271 * docs/gst/tmpl/.cvsignore:
24272 * docs/gst/tmpl/gstpad.sgml:
24273 * docs/gst/tmpl/gstpadtemplate.sgml:
24275 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24276 (gst_pad_finalize), (gst_pad_set_pad_template):
24278 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24279 (gst_pad_template_class_init), (gst_pad_template_init),
24280 (gst_pad_template_dispose), (name_is_valid),
24281 (gst_static_pad_template_get), (gst_pad_template_new),
24282 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24283 (gst_pad_template_pad_created):
24284 * gst/gstpadtemplate.h:
24285 inlined two more docs
24286 factored gstpadtemplate out of gstpad
24288 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24290 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24291 (test_children_state_change_order_semi_sink):
24292 Fix test case: we can't rely on a fixed state change order when
24293 going from READY => PAUSED because the sink might commit its
24294 new state first when the first buffer created by the source
24295 reaches the sink before the source has finished its change state.
24296 (Test case still fails at times, see #316856, comment 5 onwards)
24298 2005-09-24 Wim Taymans <wim@fluendo.com>
24300 * docs/design/part-events.txt:
24301 * docs/design/part-gstbus.txt:
24302 * docs/design/part-gstpipeline.txt:
24303 * docs/design/part-messages.txt:
24304 * docs/design/part-overview.txt:
24305 * docs/design/part-segments.txt:
24309 * gst/gstelement.c:
24312 * gst/gstiterator.c:
24313 Various documentation updates.
24315 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24318 Well, that's embarassing. Luckily we weren't using
24319 GST_CLOCK_DIFF anywhere.
24321 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24323 * common/gtk-doc.mak:
24324 don't fail on building XML, FC4 slave shows a bunch of doc
24325 missing bits that I don't get
24327 * gst/gstpipeline.c:
24328 * gst/gststructure.c:
24331 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24333 * docs/design/part-gstbin.txt:
24334 * docs/design/part-gstbus.txt:
24336 Add blurb about how the bus goes into flushing mode and
24337 drops all messages when its bin goes from READY into NULL
24340 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24342 * docs/gst/gstreamer-sections.txt:
24343 * gst/gststructure.c: (gst_structure_get_clock_time):
24344 * gst/gststructure.h:
24345 add a method to get a GstClockTime out of a structure
24347 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24349 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24350 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24351 Added test to check state change order in bins (can still be made
24352 to fail here under heavy disk load; bails out with 'Push on pad
24353 fakesink:sink0, but it was not activated in push mode').
24355 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24356 Fix state change order when there is only a semi sink (#316856)
24358 * gst/gstbus.c: (gst_bus_class_init):
24359 Use _class_peek_parent(), not _class_ref(); fix docs to say
24360 'default main context' instead of 'mainloop' where that is
24363 * gst/gstelement.c: (gst_element_commit_state),
24364 (gst_element_set_state):
24365 Fix typos in debug messages
24367 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24370 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24371 * gst/gstpluginfeature.c:
24373 various doc updates
24374 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24375 change an assert into an error until it gets fixed properly
24377 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24379 * docs/gst/gstreamer-sections.txt:
24380 * docs/gst/tmpl/.cvsignore:
24381 * docs/gst/tmpl/gstelement.sgml:
24382 * docs/gst/tmpl/gstinfo.sgml:
24383 * docs/gst/tmpl/gstobject.sgml:
24384 * gst/gstelement.c:
24385 * gst/gstelement.h:
24388 * gst/gstobject.c: (gst_object_class_init):
24390 inlined 3 more biiiig doc files and added some missing docs on the fly
24392 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24394 * check/gst/.cvsignore:
24395 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24396 * gst/gstregistryxml.c: (load_plugin),
24397 (gst_registry_xml_save_plugin):
24398 put back source in registry. add checks for find_plugin.
24399 * testsuite/states/bin.c: (assert_state), (empty_bin),
24400 (test_adding_one_element), (main):
24401 * testsuite/states/locked.c: (main):
24402 some compile/run fixes
24404 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24406 * check/gst/gstvalue.c: (GST_START_TEST):
24407 fix leaks in the test itself
24409 2005-09-22 Wim Taymans <wim@fluendo.com>
24411 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24412 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24413 (gst_base_sink_query):
24414 Prepare for more accurate position reporting and query
24417 * gst/gstelement.c: (gst_element_send_event),
24418 (gst_element_set_state):
24421 2005-09-22 Wim Taymans <wim@fluendo.com>
24423 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24424 (gst_query_parse_segment):
24426 More documentation.
24427 Add segment query for future use.
24429 2005-09-22 Wim Taymans <wim@fluendo.com>
24431 * gst/gstbin.c: (gst_bin_add_func):
24432 Some more debug info.
24434 * gst/gstelement.c: (gst_element_send_event):
24435 Simplify send_event
24437 * gst/gstelement.h:
24438 Don't know how flags got broken.
24443 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24445 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24446 Add simplistic test suite for GST_TYPE_DATE serialisation and
24449 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24451 * docs/gst/gstreamer-sections.txt:
24452 * gst/gststructure.c: (gst_structure_set_valist),
24453 (gst_structure_get_date):
24454 * gst/gststructure.h:
24455 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24456 (gst_date_copy), (gst_value_compare_date),
24457 (gst_value_serialize_date), (gst_value_deserialize_date),
24458 (gst_value_transform_date_string),
24459 (gst_value_transform_string_date), (_gst_value_initialize):
24461 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24462 bunch of utility functions along with a hack that checks that
24463 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24464 is required. Part of the grand scheme in #170777.
24466 2005-09-22 Andy Wingo <wingo@pobox.com>
24468 * gst/gstconfig.h.in: Psych out gtk-doc.
24470 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24472 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24474 * tools/gst-inspect.c (print_element_list): Plug some
24475 inconsequential leaks.
24477 * gst/gstregistry.c (gst_registry_get_default): Doc.
24479 * check/gst/gstplugin.c:
24480 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24481 * gst/gstelementfactory.c (gst_element_factory_create):
24482 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24485 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24486 (gst_plugin_feature_load): Doc, don't eat refs.
24488 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24489 (gst_plugin_list_free): Doc.
24490 (gst_plugin_load_file): Doc updates.
24492 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24493 accessors returning refcounted objects, return a ref.
24495 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24496 accessor for caps. IDEMPOTENCE. Oh yes.
24498 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24500 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24502 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24503 (_gst_debug_register_funcptr):
24504 Add mutex to serialise access to the hash table with
24505 the function pointer => function name string mapping;
24506 make that hash table static scope (#316809).
24508 * gst/registries/.cvsignore:
24509 Remove left-over file.
24511 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24513 * docs/pwg/appendix-porting.xml:
24514 And something about newsegment events and caps-on-buffers to
24515 the porting guide (feel free to improve).
24517 2005-09-21 Andy Wingo <wingo@pobox.com>
24519 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24520 data and event probes on the same pad.
24521 (test_buffer_probe_once): Test that removing probes from within
24522 the probe functions works.
24524 2005-09-21 Andy Wingo <wingo@pobox.com>
24526 * check/gst/gstutils.c: New file.
24527 (test_buffer_probe_n_times): A simple buffer probe test. More to
24530 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24531 have-data::buffer, not have-data.
24532 (gst_pad_add_event_probe): Likewise for have-data::event.
24533 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24534 peer' isn't quite right yet though.
24535 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24536 (gst_pad_remove_data_probe): Change to take the guint handler_id
24537 as their arg, not the function+data, which is more glib-like.
24539 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24540 the signal emission to indicate if the data is a buffer or an
24542 (gst_pad_get_type): Initialize buffer and event quarks.
24543 (gst_pad_class_init): have-data is now a detailed signal, yes it
24546 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24548 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24549 * gst/gstutils.c: (gst_util_set_value_from_string),
24550 (gst_util_set_object_arg):
24551 Don't put functional code in g_return_if_fail() or
24552 g_return_val_if_fail() statements, otherwise things will
24553 break when G_DISABLE_CHECKS is defined during compilation.
24555 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24557 * docs/gst/tmpl/.cvsignore:
24558 * docs/gst/tmpl/gstvalue.sgml:
24561 inlied another one and added some obvious docs
24563 2005-09-21 Wim Taymans <wim@fluendo.com>
24565 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24566 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24567 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24568 (gst_fdsrc_get_property), (gst_fdsrc_create):
24569 * gst/elements/gstfdsrc.h:
24570 Properly implement fdsrc. Removed signal and timeout,
24571 better implemented somewhere else.
24573 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24575 * docs/gst/tmpl/.cvsignore:
24576 * docs/gst/tmpl/gstimplementsinterface.sgml:
24577 * gst/gstinterface.c:
24580 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24582 * docs/gst/gstreamer-sections.txt:
24583 * docs/gst/tmpl/.cvsignore:
24584 * docs/gst/tmpl/gstenumtypes.sgml:
24585 remove obsolete doc file
24587 2005-09-21 David Schleef <ds@schleef.org>
24589 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24590 little beer, fix a little leak.
24592 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24594 * docs/gst/gstreamer-docs.sgml:
24595 * docs/gst/gstreamer-sections.txt:
24596 * docs/gst/tmpl/.cvsignore:
24600 * gst/gstelement.h:
24601 * gst/gstindex.c: (gst_index_class_init):
24603 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24604 (gst_index_factory_class_init), (gst_index_factory_init),
24605 (gst_index_factory_finalize), (gst_index_factory_new),
24606 (gst_index_factory_destroy), (gst_index_factory_find),
24607 (gst_index_factory_create), (gst_index_factory_make):
24608 * gst/gstindexfactory.h:
24609 * gst/gstpluginfeature.c:
24610 * gst/gstpluginfeature.h:
24611 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24612 more docs inlined, splitted gstindex.{c,h}
24614 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24616 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24619 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24621 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24622 Set sync to FALSE by default.
24624 2005-09-20 Wim Taymans <wim@fluendo.com>
24626 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24627 (gst_base_sink_init):
24628 Make sync property settable from subclass.
24630 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24631 (gst_fake_sink_change_state):
24632 Set sync to FALSE by default.
24634 2005-09-20 Wim Taymans <wim@fluendo.com>
24636 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24637 * tools/gst-launch.c: (main):
24638 The timeout handler should have lower priority than the source
24639 so we don't timeout before popping a message with 0 timeout.
24640 Dump error messages after failed state change.
24642 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24644 * tools/gst-inspect.c: (print_element_properties_info):
24647 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24649 * check/gst/gstevent.c:
24650 * gst/elements/gstfakesink.c:
24651 * gst/elements/gstfakesink.h:
24652 remove the sync property from fakesink.
24653 has the side effect of setting sync TRUE
24654 for fakesink, which is a change. Anyone who knows how
24655 to fix this nicely in a GObject-y way, feel free.
24657 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24659 * docs/gst/gstreamer-docs.sgml:
24660 remove probe refsection
24662 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24664 * check/Makefile.am:
24665 disable valgrinding the controller test again
24666 * docs/gst/gstreamer-sections.txt:
24667 update for api-changes
24669 2005-09-20 Wim Taymans <wim@fluendo.com>
24671 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24672 (gst_base_sink_set_property), (gst_base_sink_get_property),
24673 (gst_base_sink_do_sync):
24674 * gst/base/gstbasesink.h:
24675 Added sync property to basesink to disable clock sync.
24677 2005-09-20 Andy Wingo <wingo@pobox.com>
24679 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24680 eating the caller's refcount.
24682 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24683 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24686 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24687 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24688 of GLib 2.8 public, so we can know which refcount to check in
24691 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24692 (gst_object_init): Only set the gst refcount if we're going ahead
24693 with the refcount hack.
24695 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24697 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24698 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24699 more leaks plumbed, added more debug-logging
24703 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24705 * gst/gstmessage.c:
24706 remove include of gstmemchunk.h
24708 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24710 * gst/gstclock.c: (_gst_clock_id_free):
24711 Commit from the Political Party For More Atomic CVS Commits,
24712 so that people don't waste too much of their day fishing
24713 out obvious leaks out of massive commits.
24714 Oh, and fix a pretty damn obvious leak in the memchunk
24717 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24719 * check/Makefile.am:
24720 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24721 plug mem-leak, re-add to valgrindable tests
24723 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24726 unbreak the build for those who have chronic arthritis
24727 and typing "make check" is just too taxing on the hands
24729 2005-09-20 Andy Wingo <wingo@pobox.com>
24731 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24732 really want it out, you should fix plugins at the same time.
24734 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24737 * docs/gst/gstreamer-sections.txt:
24739 added missing symbols to api docs
24740 disable ref-count hack if we have glib >= 2.8
24742 2005-09-19 David Schleef <ds@schleef.org>
24744 * docs/gst/Makefile.am: Ignore a few more internal headers
24745 * docs/gst/gstreamer-docs.sgml: Remove old sections
24746 * docs/gst/gstreamer-sections.txt: Remove old sections
24747 * docs/gst/tmpl/gstobject.sgml: update
24748 * docs/gst/tmpl/gstplugin.sgml: update
24749 * docs/gst/tmpl/gstpluginfeature.sgml: update
24750 * docs/random/ds/0.9-suggested-changes: update.
24751 * gst/Makefile.am: remove memchunk and trashstack, since they're
24753 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24754 * gst/gst.h: don't include some headers
24755 * gst/gstchildproxy.c: add gstmarshal.h
24756 * gst/gstclock.c: Don't use memchunks
24757 * gst/gstminiobject.c: Add some docs
24758 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24759 * gst/gstobject.h: same
24760 * gst/gstplugin.c: include gstmacros.h
24761 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24762 * gst/gstquery.c: don't use memchunks
24763 * gst/gstregistry.c: rename gst_registry_deinit()
24764 * gst/gstregistry.h: same
24766 2005-09-19 David Schleef <ds@schleef.org>
24768 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24769 * docs/libs/gstreamer-libs-sections.txt:
24770 * docs/libs/tmpl/gstgetbits.sgml:
24771 * docs/libs/tmpl/gstputbits.sgml:
24773 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24775 * win32/gstenumtypes.c:
24776 * win32/gstenumtypes.h:
24779 2005-09-19 Wim Taymans <wim@fluendo.com>
24781 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24782 Automatically PAUSE and RESUME a pipeline when a flushing seek
24785 2005-09-19 Andy Wingo <wingo@pobox.com>
24787 * gst/gstregistry.h: Spacing fixen.
24789 2005-09-19 Wim Taymans <wim@fluendo.com>
24791 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24792 Handle state change failure more correctly.
24794 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24796 * check/Makefile.am:
24797 * check/pipelines/cleanup.c: (run_pipeline):
24798 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24800 enable cleanup again after fixing the leak
24802 some more info on docs
24804 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24806 * check/Makefile.am:
24807 re-enable tests now that leaks are plugged
24809 * check/gst/gstbin.c:
24810 * check/gst/gstpipeline.c:
24811 add some more tests while fixing leaks
24812 * common/check.mak:
24813 make sure binaries are uptodate when valgrinding/gdbing
24815 * gst/gstelementfactory.c:
24816 remove a ref too many, and add a FIXME for when we get
24817 round to disposing of classes
24819 fix the refcounting when loading a plugin from a file and
24820 the code pretends that the pointer is the same even though
24821 of course it can change
24822 * gst/gstpluginfeature.c:
24823 unref plugins marked cached (a bit confusing as a name)
24824 as the docs state should be done
24825 various doc additions to explain refcounting
24826 * gst/gstregistry.c:
24827 * gst/gstregistryxml.c:
24830 2005-09-19 Wim Taymans <wim@fluendo.com>
24832 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24833 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24834 (send_messages), (GST_START_TEST), (gstbus_suite):
24835 * check/gst/gstpipeline.c: (GST_START_TEST):
24836 * check/pipelines/cleanup.c: (run_pipeline):
24837 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24839 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24840 (gst_bus_source_check), (gst_bus_source_dispatch),
24841 (gst_bus_create_watch), (gst_bus_add_watch_full),
24842 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24844 * tools/gst-launch.c: (event_loop):
24845 * tools/gst-md5sum.c: (event_loop):
24846 GstBusHandler -> GstBusFunc, return value has the same meaning as
24847 any other GSource (FALSE == remove source).
24848 _add_watch() and _add_watch_full() now take a MessageType mask to
24849 only handle specific types of messages.
24850 _poll() returns the GstMessage instead of the message type to avoid
24852 _have_pending() takes a MessageType mask now too.
24853 Added testsuite for multiple bus watches.
24854 Fix testsuites and applications for new bus API.
24856 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24858 * check/Makefile.am:
24859 mark a bunch of the tests as to fix until we fix them
24861 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24863 * common/check.mak:
24864 use GST_PLUGIN settings for valgrind tests as well, so we're
24865 valgrinding the correct thing
24866 * gst/gst.c: (init_post):
24869 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24871 * gst/gst.c: (init_post), (gst_deinit):
24872 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24873 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24874 * gst/gstindex.c: (gst_index_factory_class_init),
24875 (gst_index_factory_finalize):
24876 * gst/gstobject.c: (gst_object_dispose):
24877 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24878 (gst_plugin_load_file), (gst_plugin_desc_free):
24879 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24880 (gst_plugin_feature_finalize):
24881 * gst/gstregistry.c: (gst_registry_class_init),
24882 (gst_registry_init), (gst_registry_finalize),
24883 (gst_registry_get_default), (gst_registry_deinit):
24884 * gst/gstregistry.h:
24885 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24886 various cleanups and memleak plugging. make valgrind is happy now.
24888 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24890 * common/check.mak:
24891 add a check-valgrind target
24893 2005-09-18 David Schleef <ds@schleef.org>
24895 * tools/gst-inspect.c: Revert the GOption code.
24897 2005-09-17 David Schleef <ds@schleef.org>
24899 * check/Makefile.am: Fix environment variables.
24900 * check/gst/gstplugin.c: Fix for API changes.
24901 * tools/gst-inspect.c: Fix for API changes.
24902 * tools/gst-xmlinspect.c: Fix for API changes.
24903 * gst/gstelementfactory.c:
24906 * gst/gstpluginfeature.c:
24907 * gst/gstpluginfeature.h:
24908 * gst/gstregistry.c:
24909 * gst/gstregistry.h:
24910 * gst/gstregistryxml.c:
24911 * gst/gsttypefind.c:
24912 * gst/gsttypefindfactory.c:
24913 * gst/indexers/gstfileindex.c:
24914 * gst/indexers/gstmemindex.c:
24915 * gst/schedulers/Makefile.am:
24916 Change registry to keep track of both plugins and features,
24917 removing the feature tracking from plugins themselves.
24919 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24921 * check/Makefile.am:
24922 * tools/gst-register.1.in:
24923 remove gst-register
24925 2005-09-15 David Schleef <ds@schleef.org>
24927 * check/gst/gstplugin.c:
24928 * gst/gstelementfactory.c:
24930 * gst/gstpluginfeature.c:
24931 * gst/gstregistry.c:
24932 Getting tired of debugging. Disabled all the unreffing of
24933 plugins and features, which fixes the segfaults, but of
24934 course leaks like crazy. At least playbin works.
24936 2005-09-15 David Schleef <ds@schleef.org>
24938 * check/gst/gstplugin.c: (register_check_elements),
24939 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24941 * gst/elements/gsttypefindelement.c: Fix refcounting.
24942 * gst/gsttypefind.c:
24943 * gst/gsttypefindfactory.c:
24944 * gst/gsttypefindfactory.h:
24946 2005-09-15 David Schleef <ds@schleef.org>
24948 * gst/gstindex.c: get refcounting correct.
24949 * gst/gstregistry.c: Handle the case where a feature/plugin is
24952 2005-09-15 David Schleef <ds@schleef.org>
24954 * check/Makefile.am:
24955 * check/gst/gstplugin.c: Add test
24956 * gst/gstplugin.c: Fix problems noticed by testsuite
24958 * gst/gstregistry.c:
24959 * gst/gstregistry.h:
24961 2005-09-15 David Schleef <ds@schleef.org>
24963 * gst/gstplugin.c: Implement semi-decent recounting and locking
24964 in plugins and plugin features.
24966 * gst/gstpluginfeature.c:
24967 * gst/gstpluginfeature.h:
24968 * gst/gstregistry.c:
24970 2005-09-15 Michael Smith <msmith@fluendo.com>
24972 * gst/gstregistry.c: (gst_registry_get_feature_list):
24973 Implement this. Makes oggdemux work; decodebin still broken.
24975 2005-09-14 David Schleef <ds@schleef.org>
24977 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24979 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24980 * gst/check/Makefile.am:
24981 * libs/gst/controller/Makefile.am:
24982 * libs/gst/dataprotocol/Makefile.am:
24984 2005-09-14 David Schleef <ds@schleef.org>
24986 * configure.ac: Remove getbits library. Nothing uses it, and
24987 it should be in something like liboil if someone did want
24989 * libs/gst/Makefile.am:
24990 * libs/gst/getbits/Makefile.am:
24991 * libs/gst/getbits/gbtest.c:
24992 * libs/gst/getbits/getbits.c:
24993 * libs/gst/getbits/getbits.h:
24994 * libs/gst/getbits/gstgetbits_generic.c:
24995 * libs/gst/getbits/gstgetbits_i386.s:
24996 * libs/gst/getbits/gstgetbits_inl.h:
24998 2005-09-14 David Schleef <ds@schleef.org>
25000 * gst/Makefile.am: Dist glib-compat.h
25002 2005-09-14 David Schleef <ds@schleef.org>
25004 * configure.ac: Remove gst/registries, since it's no longer used.
25005 * gst/registries/Makefile.am:
25006 * gst/registries/gstlibxmlregistry.c:
25007 * gst/registries/gstlibxmlregistry.h:
25008 * gst/registries/gstxmlregistry.c:
25009 * gst/registries/gstxmlregistry.h:
25010 * gst/registries/registrytest.c:
25012 2005-09-14 David Schleef <ds@schleef.org>
25014 * gst/glib-compat.h:
25015 * gst/gstregistryxml.c:
25016 Convergence is near. Seriously.
25018 2005-09-14 David Schleef <ds@schleef.org>
25020 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25021 * gst/glib-compat.h:
25022 Attempt #4 to appease the buildbots.
25024 2005-09-14 David Schleef <ds@schleef.org>
25026 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25029 2005-09-14 David Schleef <ds@schleef.org>
25031 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25034 2005-09-14 David Schleef <ds@schleef.org>
25036 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25039 2005-09-14 David Schleef <ds@schleef.org>
25041 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25042 * gst/glib-compat.h: Add some functions that are in newer versions
25043 of glib than we care to require.
25044 * gst/gstregistryxml.c: Use them.
25046 2005-09-14 David Schleef <ds@schleef.org>
25048 * po/POTFILES.in: remove gst-register.c
25050 2005-09-14 David Schleef <ds@schleef.org>
25052 * docs/gst/gstreamer-docs.sgml:
25053 * docs/gst/gstreamer-sections.txt:
25054 * docs/gst/gstreamer.types:
25055 * docs/gst/tmpl/gstelement.sgml:
25056 * docs/gst/tmpl/gstplugin.sgml:
25057 * docs/gst/tmpl/gstpluginfeature.sgml:
25058 Documentation updates for registry changes.
25060 2005-09-14 David Schleef <ds@schleef.org>
25062 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25063 because we don't require glib-2.8.
25065 2005-09-14 David Schleef <ds@schleef.org>
25067 * gst/gstregistryxml.c: Added. Essentially moved out of the
25068 registries directory.
25070 2005-09-14 David Schleef <ds@schleef.org>
25072 * check/Makefile.am:
25073 * check/generic/states.c:
25077 * gst/gst_private.h:
25078 * gst/gstelementfactory.c:
25083 * gst/gstpluginfeature.c:
25084 * gst/gstpluginfeature.h:
25085 * gst/gstregistry.c:
25086 * gst/gstregistry.h:
25087 * gst/gstregistrypool.c: remove
25088 * gst/gstregistrypool.h: remove
25089 * gst/gsttypefind.c:
25090 * gst/gsttypefindfactory.c:
25092 * tools/Makefile.am:
25093 * tools/gst-compprep.c:
25094 * tools/gst-inspect.c:
25095 * tools/gst-register.c: remove
25096 * tools/gst-xmlinspect.c:
25097 Registry rewrite. Changes registry from being a file created
25098 by a tool into a simple cache file created automatically by
25099 libgstreamer. Removed gst-register (because it's no longer
25100 needed). Remove registry pools, because we only have one
25101 registry implementation (XML). Fix up other subsystems as
25104 2005-09-13 Michael Smith <msmith@fluendo.com>
25106 * gst/gstconfig.h.in:
25107 Don't Use windows linking attributes for MinGW. Fixes #316157
25109 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25111 * gst/gstutils.c: (set_state_async_thread_func),
25112 (gst_element_set_state_async):
25113 Apparently people think it's better if this function doesn't
25114 try to set the state to whatever state was asked for on the first
25115 call to this function for any object. Seriously.
25117 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25119 * check/gst/gstpipeline.c: (GST_START_TEST):
25120 * docs/gst/gstreamer-sections.txt:
25121 * gst/gstutils.c: (set_state_async_thread_func),
25122 (gst_element_set_state_async):
25124 add a "gst_element_set_state_async" method that
25125 sets the state and starts a thread to make sure the state
25126 change completes as best as it can
25128 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25130 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25131 codify design+behaviour in testsuite after discussion
25133 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25135 * docs/gst/tmpl/gstelement.sgml:
25136 * docs/manual/appendix-quotes.xml:
25138 * gst/gstelement.c: (gst_element_set_state):
25141 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25143 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25144 (gst_base_transform_prepare_output_buf),
25145 (gst_base_transform_handle_buffer):
25146 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25147 (gst_capsfilter_prepare_buf):
25148 Remove the requirement for sub-classes to call the parent
25149 implementation of prepare_output_buffer with a wrapper function.
25151 * gst/gsttaglist.h:
25152 * gst/gsttagsetter.h:
25153 Fix #define wrapper
25155 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25157 * docs/gst/gstreamer-sections.txt:
25160 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25162 * docs/gst/gstreamer-sections.txt:
25163 * docs/gst/tmpl/gstelement.sgml:
25164 * docs/gst/tmpl/gstplugin.sgml:
25165 * gst/gstminiobject.c:
25167 docs now stop throwing warnings
25169 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25171 * docs/gst/gstreamer-sections.txt:
25172 * docs/gst/gstreamer.types:
25173 * docs/gst/tmpl/gstpad.sgml:
25174 * docs/gst/tmpl/gsttypes.sgml:
25175 * gst/base/gstadapter.h:
25176 * gst/base/gstbasesink.h:
25177 * gst/base/gstbasesrc.h:
25183 * gst/gstelement.h:
25185 * gst/gstmessage.h:
25187 * gst/gststructure.c:
25188 * gst/registries/gstlibxmlregistry.h:
25189 various documentation fixes
25191 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25193 * docs/gst/gstreamer-sections.txt:
25194 * docs/gst/tmpl/gstvalue.sgml:
25195 rearrange gstvalue section
25196 * gst/gstutils.c: (gst_element_state_get_name):
25198 * gst/gstvalue.c: (_gst_value_initialize):
25202 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25204 * check/gst-libs/controller.c:
25205 Header include fix.
25206 * gst/base/gstbasetransform.c:
25207 (gst_base_transform_default_prepare_buf),
25208 (gst_base_transform_handle_buffer):
25209 * gst/base/gstbasetransform.h:
25210 Some more basetransform changes and fixes to enable sub-classes
25211 that modify buffer metadata only.
25212 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25213 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25214 (gst_capsfilter_prepare_buf):
25215 If the output pad has fixed allowed caps and input buffers
25216 don't have any, set the fixed caps on outgoing buffers.
25218 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25219 * check/elements/identity.c: (GST_START_TEST):
25220 Make the error a little clearer when the test fails because
25221 identity made a copy of the buffer.
25222 * docs/gst/gstreamer-sections.txt:
25223 New symbols in gstbasetransform.h
25224 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25225 (gst_base_transform_init), (gst_base_transform_transform_size),
25226 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25227 (gst_base_transform_default_prepare_buf),
25228 (gst_base_transform_get_unit_size),
25229 (gst_base_transform_buffer_alloc),
25230 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25231 (gst_base_transform_change_state),
25232 (gst_base_transform_set_passthrough),
25233 (gst_base_transform_set_in_place),
25234 (gst_base_transform_is_in_place):
25235 * gst/base/gstbasetransform.h:
25236 Change BaseTransform to separate in_place operate from same_caps
25237 output. in_place implies that the element can perform the transform
25238 on incoming buffers in-place, even if the caps on the output are
25240 Sub-class elements can now implement special buffer allocation
25241 methods for outgoing buffers if they wish to.
25242 Big documentation addition.
25243 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25244 * gst/elements/gstelements.c:
25245 Changes for basetransform modifications.
25246 * gst/elements/Makefile.am:
25247 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25248 Compile fix. Extra debug output.
25250 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25252 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25254 add tests for valid pad naming
25255 * gst/check/gstcheck.c: (gst_check_log_message_func),
25256 (gst_check_log_critical_func):
25258 remove printing of code, it is fragile when the code contains
25259 % and the line number is enough info
25260 * gst/check/gstcheck.h:
25261 * gst/gstpad.c: (gst_pad_template_new):
25264 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25267 say what CHECK flags we use
25268 * docs/libs/gstreamer-libs.types:
25269 * libs/gst/controller/Makefile.am:
25270 * libs/gst/controller/gst-controller.c:
25271 * libs/gst/controller/gst-controller.h:
25272 * libs/gst/controller/gst-helper.c:
25273 * libs/gst/controller/gst-interpolation.c:
25274 * libs/gst/controller/gstcontroller.c:
25275 * libs/gst/controller/gsthelper.c:
25276 * libs/gst/controller/gstinterpolation.c:
25277 * tools/gst-inspect.c: (print_plugin_info):
25278 we don't use dashes in header names
25280 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25282 * check/Makefile.am:
25283 * check/gst/.cvsignore:
25284 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25285 (gst_pipeline_suite), (main):
25286 adding a test for pipelines and state changes
25287 * gst/gstutils.c: (get_state_func):
25289 * gstreamer.spec.in:
25292 2005-09-08 Michael Smith <msmith@fluendo.com>
25294 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25295 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25296 (gst_file_src_is_seekable), (gst_file_src_get_size),
25297 (gst_file_src_start):
25298 * gst/elements/gstfilesrc.h:
25299 Various fixes for unseekable, unmmapable, and non-normal files, so
25300 that fallback to read() rather than mmap() works.
25301 * gst/gstevent.c: (gst_event_new_newsegment):
25302 Allow newsegment events with segment_start == segment_end, as will
25303 correctly happen if you use filesrc on a zero-size file, for
25306 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25308 * gst/gstplugin.c: (gst_plugin_load_file):
25309 Call g_module_close when we don't load the module
25311 * gst/registries/gstlibxmlregistry.c:
25312 (gst_xml_registry_get_property):
25313 Port leak fix from 0.8
25315 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25317 * docs/gst/gstreamer-docs.sgml:
25318 * docs/gst/tmpl/.cvsignore:
25319 * docs/gst/tmpl/gsttrace.sgml:
25320 * docs/gst/tmpl/gsttrashstack.sgml:
25323 * gst/gstelement.h:
25325 * gst/gstmessage.c:
25326 * gst/gstmessage.h:
25329 * gst/gsttaginterface.c:
25330 * gst/gsttaginterface.h:
25331 * gst/gsttaglist.c:
25332 * gst/gsttaglist.h:
25333 * gst/gsttagsetter.c:
25334 * gst/gsttagsetter.h:
25337 * gst/gsttrashstack.c:
25338 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25339 inlined docs for gsttrace, gsttrashstack
25341 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25344 * gst/elements/gstbufferstore.h:
25345 * gst/elements/gsttypefindelement.c:
25346 * gst/elements/gsttypefindelement.h:
25348 * gst/gsttypefind.c:
25349 * gst/gsttypefind.h:
25350 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25351 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25352 (gst_type_find_factory_dispose),
25353 (gst_type_find_factory_unload_thyself),
25354 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25355 (gst_type_find_factory_get_caps),
25356 (gst_type_find_factory_get_extensions),
25357 (gst_type_find_factory_call_function):
25358 * gst/gsttypefindfactory.h:
25359 * gst/registries/gstlibxmlregistry.c:
25360 * gst/registries/gstxmlregistry.c:
25361 splitted gsttypefind into gsttypefind, gsttypefindfactory
25363 2005-09-07 Andy Wingo <wingo@pobox.com>
25365 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25366 condition whereby the pad's task function is entered before the
25367 pad_mode variable was set.
25369 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25371 * gst/gstpad.c: (gst_pad_alloc_buffer):
25372 Catch misbehaving pad_alloc functions that don't
25373 set up caps and do it for them.
25375 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25377 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25378 test for pipe!=NULL
25379 * docs/gst/tmpl/.cvsignore:
25380 * docs/gst/tmpl/gstmemchunk.sgml:
25381 * docs/gst/tmpl/gstparse.sgml:
25382 * docs/gst/tmpl/gsttaglist.sgml:
25383 * docs/gst/tmpl/gsttagsetter.sgml:
25384 * docs/gst/tmpl/gsttypefind.sgml:
25385 * docs/gst/tmpl/gsttypefindfactory.sgml:
25386 * gst/gstmemchunk.c:
25389 * gst/gsttaginterface.c:
25390 * gst/gsttypefind.c:
25391 * gst/gsttypefind.h:
25394 === release 0.9.2 ===
25396 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25401 releasing 0.9.2, "South"
25403 2005-09-05 Andy Wingo <wingo@pobox.com>
25405 * gst/registries/gstxmlregistry.h:
25406 * gst/registries/gstxmlregistry.c: Um... resurrect...
25408 * gst/registries/gstxmlregistry.h:
25409 * gst/registries/gstxmlregistry.c: and update to newer API.
25410 Incidentally they should be a bit faster now that they don't have
25413 2005-09-05 Andy Wingo <wingo@pobox.com>
25415 * gst/registries/gstxmlregistry.h:
25416 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25417 replaced by the libxml registry a while back
25419 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25421 * docs/gst/tmpl/gstplugin.sgml:
25422 * gst/elements/gstelements.c:
25424 * gst/gstplugin.c: (gst_plugin_register_func),
25425 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25426 (gst_plugin_get_source):
25428 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25429 (gst_xml_registry_save_plugin):
25430 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25431 (gst_xml_registry_save_plugin):
25432 * tools/gst-inspect.c: (print_plugin_info):
25433 add a "source" plugin description field, to represent the source
25434 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25435 will set it to PACKAGE, which is automake's idea of the name of
25436 the source project.
25438 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25443 * docs/Makefile.am:
25444 * docs/faq/Makefile.am:
25445 * docs/gst/tmpl/gstelement.sgml:
25446 * docs/gst/tmpl/gsttypes.sgml:
25447 * docs/htmlinstall.mak:
25448 * docs/manual/Makefile.am:
25449 * docs/pwg/Makefile.am:
25450 reorganize doc build a little
25451 split out docbook and gtk-doc stuff
25452 have two separate --enable's and enable them through autogen
25453 but disable by default in configure (to be similar to other
25455 * gstreamer.spec.in:
25456 clean up docs install
25474 translation updates
25476 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25478 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25481 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25482 (gst_fake_sink_change_state):
25483 Make state change function thread-safe.
25485 * gst/gstpad.c: (gst_pad_alloc_buffer):
25486 Set offset on generic buffer allocated by fallback.
25488 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25490 * docs/gst/gstreamer-sections.txt:
25491 * docs/gst/tmpl/gstelement.sgml:
25493 * libs/gst/controller/gst-controller.c:
25494 (gst_controlled_property_set_interpolation_mode),
25495 (gst_controlled_property_new),
25496 (gst_controller_find_controlled_property):
25497 run the wingo-magic script against the docs
25499 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25501 * docs/gst/gstreamer-docs.sgml:
25502 * docs/gst/gstreamer-sections.txt:
25503 * docs/gst/tmpl/.cvsignore:
25504 * docs/gst/tmpl/gstelementdetails.sgml:
25505 * docs/gst/tmpl/gstelementfactory.sgml:
25508 * gst/gstelementfactory.c:
25509 * gst/gstelementfactory.h:
25510 merged elementdetails docs into elementfactory docs
25513 2005-09-02 Andy Wingo <wingo@pobox.com>
25515 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25516 consider this enum an enum and not a flags.
25518 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25520 * docs/gst/gstreamer-docs.sgml:
25521 * docs/gst/tmpl/.cvsignore:
25522 * docs/gst/tmpl/gstghostpad.sgml:
25523 * docs/gst/tmpl/gstiterator.sgml:
25524 * docs/gst/tmpl/gstmacros.sgml:
25525 * docs/gst/tmpl/gstrealpad.sgml:
25526 * docs/gst/tmpl/gstregistry.sgml:
25527 * docs/gst/tmpl/gstregistrypool.sgml:
25528 * docs/gst/tmpl/gststructure.sgml:
25529 * docs/gst/tmpl/gstsystemclock.sgml:
25530 * docs/gst/tmpl/gsttrace.sgml:
25531 * gst/gstghostpad.c:
25533 * gst/gstmemchunk.c:
25534 * gst/gstmemchunk.h:
25536 * gst/gstregistry.c:
25537 * gst/gstregistrypool.c:
25538 * gst/gststructure.c:
25539 * gst/gstsystemclock.c:
25542 2005-09-02 Andy Wingo <wingo@pobox.com>
25544 * gst/gstelement.h (GstState): Renamed from GstElementState,
25545 changed to be a normal enum instead of flags.
25546 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25547 munged to be GST_STATE_CHANGE_*.
25548 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25549 work with the new state representation.
25550 (GstStateChange): New enumeration of possible state transitions.
25551 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25552 (GstElementClass::change_state): Pass the GstStateChange along as
25553 an argument. Helps language bindings, so they don't have to use
25554 tricky lock-needing macros like GST_STATE_CHANGE ().
25556 * scripts/update-states (file): New script. Run it on a file to
25557 update it for state naming and API changes. Updates files in
25560 * All files updated for the new API.
25562 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25564 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25565 * gst/gstutils.c: (gst_util_set_value_from_string),
25566 (gst_util_set_object_arg):
25567 fix a bunch of unchecked return values
25568 * tools/gst-complete.c: (main):
25569 * gstreamer.spec.in:
25572 2005-09-01 Wim Taymans <wim@fluendo.com>
25574 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25575 (gst_base_sink_event), (gst_base_sink_do_sync),
25576 (gst_base_sink_handle_event):
25577 * gst/base/gstbasesink.h:
25578 Handle newsegments more correctly.
25583 * gst/gstevent.c: (gst_event_new_newsegment):
25584 A newsegment cannot have a start_time of -1
25586 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25588 * win32/gstenumtypes.c:
25589 * win32/gstenumtypes.h:
25592 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25594 * libs/gst/controller/gst-controller.c:
25595 (gst_controlled_property_set_interpolation_mode),
25596 (gst_controlled_property_new):
25597 fixed boolean again
25599 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25601 * docs/faq/gst-uninstalled:
25606 * gst/gstutils.c: (gst_element_link_filtered):
25608 add gst_element_link_filtered
25610 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25612 * docs/gst/gstreamer-docs.sgml:
25613 * docs/gst/gstreamer-sections.txt:
25614 * docs/gst/tmpl/.cvsignore:
25615 * docs/gst/tmpl/gsterror.sgml:
25616 * docs/gst/tmpl/gstfilter.sgml:
25617 * docs/gst/tmpl/gsturihandler.sgml:
25618 * docs/gst/tmpl/gsturitype.sgml:
25619 * docs/gst/tmpl/gstutils.sgml:
25620 * docs/gst/tmpl/gstxml.sgml:
25625 * gst/gsturitype.c:
25628 inlined more docs, fixed double id-ref
25630 2005-08-31 Wim Taymans <wim@fluendo.com>
25632 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25633 (gst_base_transform_handle_buffer):
25634 Passthrough elements don't need the caps as they don't care.
25636 2005-08-31 Wim Taymans <wim@fluendo.com>
25638 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25639 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25640 Don't leak refcounts on buffers.
25642 2005-08-31 Wim Taymans <wim@fluendo.com>
25644 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25645 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25646 (gst_base_transform_chain), (gst_base_transform_change_state):
25647 * gst/base/gstbasetransform.h:
25648 Handle the case where we are not negotiated more gracefully.
25650 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25652 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25653 (gst_file_src_map_region):
25654 Set READONLY flag on mmap'ed buffers, otherwise
25655 gst_buffer_make_writable() won't work properly (#314708).
25657 2005-08-31 Wim Taymans <wim@fluendo.com>
25659 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25660 passthrough elements can even do inplace on non writable
25661 buffers (as they don't touch them).
25663 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25665 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25666 (gst_test_mono_source_set_property),
25667 (gst_test_mono_source_class_init), (GST_START_TEST),
25668 (gst_controller_suite):
25669 more tests (hehe I have the most)
25671 describe popping messages whenusing mulltiple sources
25672 * libs/gst/controller/gst-controller.c:
25673 (gst_controlled_property_set_interpolation_mode),
25674 (gst_controlled_property_new):
25675 * libs/gst/controller/gst-controller.h:
25676 * libs/gst/controller/gst-interpolation.c:
25677 implement boolean properties
25679 2005-08-31 Wim Taymans <wim@fluendo.com>
25681 * gst/gstminiobject.c: (gst_mini_object_ref):
25682 Cannot assert that the refcount has to be positive
25683 since a disposed object can be resurrected.
25685 2005-08-31 Wim Taymans <wim@fluendo.com>
25687 * gst/gstpad.c: (gst_pad_init):
25688 Revert change, need to first fix badly behaving
25691 2005-08-30 Wim Taymans <wim@fluendo.com>
25693 * check/elements/fakesrc.c: (setup_fakesrc):
25694 * check/elements/identity.c: (setup_identity):
25695 Activate pads before using them.
25697 2005-08-30 Wim Taymans <wim@fluendo.com>
25699 * gst/base/gstadapter.c: (gst_adapter_flush):
25700 Flushing out 0 bytes is ok for this function.
25702 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25703 no newsegment gives a warning and sets the start/stop to
25706 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25707 (gst_base_transform_set_passthrough):
25710 * gst/gstminiobject.c: (gst_mini_object_ref):
25711 Check refcount here too.
25713 * gst/gstpad.c: (gst_pad_init):
25714 Pads are initially flushing and refusing data.
25716 * gst/gstutils.c: (gst_element_link_pads_filtered):
25717 When adding a capsfilter element make sure it has the
25718 same state as the parent bin.
25720 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25722 * docs/gst/tmpl/.cvsignore:
25723 * docs/gst/tmpl/gstformat.sgml:
25724 * docs/gst/tmpl/gstversion.sgml:
25728 * gst/gstversion.h.in:
25729 more docs and two more inlined
25731 2005-08-30 Wim Taymans <wim@fluendo.com>
25733 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25734 Don't sync to clock.
25736 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25738 * docs/gst/gstreamer-sections.txt:
25739 ultral33t func10ns deserve to appear in the docs actually
25740 * docs/gst/tmpl/.cvsignore:
25741 * docs/gst/tmpl/gstcompat.sgml:
25742 * docs/gst/tmpl/gstconfig.sgml:
25743 * gst/check/gstcheck.c:
25745 * gst/gstconfig.h.in:
25748 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25750 * docs/gst/tmpl/.cvsignore:
25751 * docs/gst/tmpl/gstquery.sgml:
25752 * docs/gst/tmpl/gstutils.sgml:
25755 inlined and extended docs
25757 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25759 * check/gst-libs/controller.c: (GST_START_TEST),
25760 (gst_controller_suite):
25762 * docs/gst/tmpl/gstutils.sgml:
25763 * docs/libs/gstreamer-libs-sections.txt:
25764 * docs/libs/tmpl/gstdataprotocol.sgml:
25766 * examples/controller/audio-example.c: (main):
25767 controller example works now
25770 * tools/gst-inspect.c: (print_element_properties_info):
25771 show param spec flags
25773 2005-08-29 Andy Wingo <wingo@pobox.com>
25775 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25777 2005-08-28 Andy Wingo <wingo@pobox.com>
25779 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25780 as having two arguments instead of just one. Allows superclasses
25781 to access information on subclasses -- see the terrible for() loop
25782 in gtype.c:g_type_create_instance for the reason why. All callers
25785 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25787 * docs/design/part-messages.txt:
25789 * docs/gst/tmpl/.cvsignore:
25790 * docs/gst/tmpl/gstcaps.sgml:
25791 * docs/gst/tmpl/gstclock.sgml:
25797 * gst/gstmessage.c:
25798 added descriptions for bus and message
25799 inline caps and clock docs
25801 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25803 * gst/gstmessage.c:
25804 * gst/gstmessage.h:
25807 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25809 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25812 2005-08-26 Andy Wingo <wingo@pobox.com>
25814 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25815 element_set_state's return val.
25816 (test_2_elements): Add test that's been disabled for months.
25818 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25819 can-activate-pull properties.
25821 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25822 can-activate-pull properties. Implement is_seekable so fakesrc can
25823 operate in pull mode.
25825 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25827 (gst_base_sink_activate, gst_base_sink_activate_pull)
25828 (gst_base_sink_activate_push): Make activation mode choosing work.
25830 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25831 is right. Make pull mode work. Post an eos before pausing in pull
25833 (gst_base_sink_change_state): Pay attention to the core's
25834 change_state() return val.
25836 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25837 has-getrange properties. Cleanups.
25839 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25840 has_getrange and replace with can_activate_pull and
25843 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25844 locking comments. Remove has_loop, has_chain and replace with
25845 can_activate_pull and can_activate_push.
25847 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25850 * examples/Makefile.am:
25851 * examples/metadata/Makefile.am:
25852 * examples/metadata/read-metadata.c: (message_loop),
25853 (have_pad_handler), (make_pipeline), (print_tag), (main):
25854 Add metadata reading example that loops over a list of filenames,
25855 dumping any tags found.
25857 * gst/gstbus.c: (gst_bus_dispose):
25858 * gst/gstelement.c: (gst_element_dispose):
25859 Release a few potentially-held references in dispose.
25861 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25863 * docs/gst/tmpl/gstminiobject.sgml:
25864 do *not* add tmpl/*.sgml files to CVS!
25866 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25868 * libs/gst/bytestream/.cvsignore:
25869 * libs/gst/bytestream/Makefile.am:
25870 * libs/gst/bytestream/adapter.c:
25871 * libs/gst/bytestream/adapter.h:
25872 * libs/gst/bytestream/bytestream.c:
25873 * libs/gst/bytestream/bytestream.h:
25874 * libs/gst/bytestream/filepad.c:
25875 * libs/gst/bytestream/filepad.h:
25876 removing obsolete files
25878 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25880 * docs/gst/gstreamer-docs.sgml:
25881 * docs/libs/gstreamer-libs-docs.sgml:
25882 disabed additional index entries again, as this makes docs-gen just
25883 slow and they aren't useful yet
25884 * docs/libs/gstreamer-libs-sections.txt:
25885 little -section.txt cleanup for libs
25887 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25889 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25890 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25891 fix up some debugging
25892 (gst_base_transform_get_unit_size),
25893 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25894 (gst_base_transform_handle_buffer):
25895 * gst/base/gstbasetransform.h:
25896 handle and store timed NEWSEGMENT events so that subclasses that
25897 calculate time by counting samples have a segment_start time they
25898 need to add to their timestamps - see audioresample
25900 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25903 removed ';' from the end of macro defs
25904 * docs/gst/gstreamer-docs.sgml:
25905 * docs/gst/gstreamer-sections.txt:
25906 * docs/gst/tmpl/.cvsignore:
25908 * gst/gstelement.c: (gst_element_class_init),
25909 (gst_element_set_state), (activate_pads),
25910 (gst_element_save_thyself):
25911 * gst/gstevent.c: (gst_event_new_newsegment):
25913 * gst/gstiterator.c:
25914 * gst/gstiterator.h:
25917 * gst/gstutils.c: (gst_pad_query_convert):
25919 fixed parameter name mismatches between source, header and docs
25920 added some more docs, resolved the last batch of unused elements in
25921 docs (now someone needs to doc them)
25923 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25925 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25926 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25927 don't walk through the plugins backwards. Where is all this
25928 reversed logic coming from ?
25930 2005-08-25 Wim Taymans <wim@fluendo.com>
25932 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25933 (gst_base_transform_transform_size),
25934 (gst_base_transform_configure_caps),
25935 (gst_base_transform_get_unit_size),
25936 (gst_base_transform_buffer_alloc),
25937 (gst_base_transform_change_state):
25938 * gst/base/gstbasetransform.h:
25939 Cache caps unit_size.
25940 Make sure we cannot negotiate up and downstream at the
25943 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25945 * gst/gst.c: (init_pre), (init_post):
25946 register the installed plugin path after the env var
25947 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25948 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25949 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25950 directories, so the tests can prefer uninstalled over installed
25952 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25954 * gst/base/gstbasetransform.h:
25959 2005-08-25 Wim Taymans <wim@fluendo.com>
25961 * gst/gstbin.c: (bin_bus_handler):
25962 Be a bit more conservative about the posted message.
25964 * gst/gstbus.c: (gst_bus_post):
25965 Some cleanups, warn wrong return values.
25967 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25969 * check/gst/gstbin.c: (GST_START_TEST):
25970 * gst/gstbin.c: (bin_bus_handler):
25971 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25972 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25973 (gst_message_new_warning), (gst_message_new_tag),
25974 (gst_message_new_state_changed), (gst_message_new_segment_start),
25975 (gst_message_new_segment_done), (gst_message_new_custom):
25976 * gst/gstmessage.h:
25977 * tools/gst-launch.c: (event_loop):
25978 * tools/gst-md5sum.c: (event_loop):
25979 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25981 2005-08-25 Wim Taymans <wim@fluendo.com>
25983 * check/generic/states.c: (GST_START_TEST):
25984 Cleanup can be done at the end.
25986 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25987 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25988 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25989 Oh boy.. Thanks for finding this, Thomas.
25991 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25993 * docs/gst/gstreamer.types:
25994 added missing types
25996 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25998 * docs/gst/gstreamer-docs.sgml:
25999 * docs/gst/gstreamer-sections.txt:
26000 * docs/gst/tmpl/.cvsignore:
26002 * gst/gstiterator.c:
26004 * gst/registries/gstxmlregistry.h:
26005 added missing classes and symbols (123 more to go)
26006 removed removed symbols from section file
26007 fixed many doc-comments
26009 2005-08-24 Wim Taymans <wim@fluendo.com>
26011 * check/generic/states.c: (GST_START_TEST):
26012 Make sure all tasks are stopped.
26014 * check/gst/gstbin.c: (GST_START_TEST):
26015 Unref after usage for proper valgrinding.
26017 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26018 Really wait for the task to stop before destroying the
26021 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26022 (gst_queue_src_activate_push):
26023 Small cleanups. Don't stop the task when we did not start
26026 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26027 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26028 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26031 Protect the stream lock with the object lock.
26032 Disallow setting the stream lock when running.
26033 Add cleanup_all to wait for the threadpool to finish.
26034 Remove code to autoallocate a mutex if none was provided.
26035 Add _join() to wait for a task to stop.
26036 Protect the thread pool with a global lock.
26038 2005-08-24 Wim Taymans <wim@fluendo.com>
26040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26041 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26042 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26043 * gst/base/gstbasesink.h:
26044 Handle newsegment events correctly.
26045 Drop buffers out of the segment range.
26047 2005-08-22 Andy Wingo <wingo@pobox.com>
26049 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26050 macro, implements an interface and gstimplementsinterface for a
26053 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26055 * check/Makefile.am:
26056 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26057 add a test that does a bunch of state changes on elements
26058 needs some fixing for valgrind
26059 * check/states/sinks.c: (gst_object_suite):
26062 add prototype for gst_caps_is_equal_fixed
26064 * gst/gstregistrypool.c:
26067 2005-08-24 Andy Wingo <wingo@pobox.com>
26069 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26070 convert a negative value. Doesn't make much sense. Mostly this is
26071 here to force callers to ensure -1 maps to -1.
26073 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26075 * docs/pwg/advanced-types.xml:
26076 Well done to Michael for catching my deliberate introduction
26077 of this spelling mistake.
26078 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26079 * gst/gstelement.h:
26080 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26081 unlink pads before removing the element from the bin.
26083 2005-08-24 Andy Wingo <wingo@pobox.com>
26085 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26086 the same thing as GST_DEBUG=*:4.
26087 (parse_debug_level, parse_debug_category): New helper parsers.
26089 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26091 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26092 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26093 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26094 (gst_base_transform_buffer_alloc),
26095 (gst_base_transform_handle_buffer):
26096 use gboolean return values and pointers to size so we can use the
26097 full GST_BUFFER_SIZE range (guint) for buffer sizes
26098 use GstPadDirection for transform_caps
26099 * gst/base/gstbasetransform.h:
26100 rename get_size to get_unit_size since that's what it is
26101 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26102 use GstPadDirection for transform_caps
26103 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26105 cleanup and debugging
26107 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26109 * gst/gstelement.c: (gst_element_class_init),
26110 (gst_element_set_state), (activate_pads),
26111 (gst_element_save_thyself):
26112 * tools/gst-compprep.c: (main):
26113 * tools/gst-inspect.c: (print_element_properties_info):
26114 * tools/gst-xmlinspect.c: (print_element_properties):
26115 Fixed long standing mem-leak
26117 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26119 * check/gst/gstbin.c: (GST_START_TEST):
26120 * gst/gstbin.c: (bin_bus_handler):
26121 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26122 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26123 (gst_message_new_warning), (gst_message_new_tag),
26124 (gst_message_new_state_changed), (gst_message_new_segment_start),
26125 (gst_message_new_segment_done), (gst_message_new_custom):
26126 * gst/gstmessage.h:
26127 * tools/gst-launch.c: (event_loop):
26128 * tools/gst-md5sum.c: (event_loop):
26129 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26130 that applications can sensibly post custom messages with references
26131 to their own objects.
26133 2005-08-24 Andy Wingo <wingo@pobox.com>
26135 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26138 2005-08-24 Wim Taymans <wim@fluendo.com>
26140 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26141 (gst_base_transform_transform_caps),
26142 (gst_base_transform_transform_size),
26143 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26144 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26145 (gst_base_transform_handle_buffer):
26146 * gst/base/gstbasetransform.h:
26147 Many fixes and new features added by Thomas. Can now also do
26148 transforms with variable sizes and a custom fixate_caps function.
26150 2005-08-24 Wim Taymans <wim@fluendo.com>
26152 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26156 Cast to ClockTime before formatting to time.
26161 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26163 * check/gst-libs/controller.c: (GST_START_TEST),
26164 (gst_controller_suite):
26165 * docs/gst/tmpl/gstcaps.sgml:
26166 * docs/gst/tmpl/gstghostpad.sgml:
26167 * docs/gst/tmpl/gstquery.sgml:
26168 * docs/gst/tmpl/gstutils.sgml:
26169 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26170 (gst_object_sink_values), (gst_object_get_value_arrays),
26171 (gst_object_get_value_array):
26172 gracefully handle helper method calls to objects that are not beeing
26173 controlled, added test case for that
26175 2005-08-23 Wim Taymans <wim@fluendo.com>
26177 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26178 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26179 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26180 (gst_event_parse_qos), (gst_event_new_seek),
26181 (gst_event_parse_seek):
26183 Some more debugging output and doc cleanups.
26185 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26186 Fix possible deadlock.
26188 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26190 * docs/gst/gstreamer-docs.sgml:
26191 * docs/gst/gstreamer-sections.txt:
26192 * docs/gst/gstreamer.types:
26193 * docs/gst/tmpl/.cvsignore:
26196 * gst/gstelement.c:
26198 added 100 symbols from gstreamer-unused.txt to the right sections
26199 fixed more broken comments
26200 added GstBus to docs
26202 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26204 * docs/gst/gstreamer-sections.txt:
26205 * docs/gst/tmpl/.cvsignore:
26206 * docs/gst/tmpl/gstbin.sgml:
26207 * docs/gst/tmpl/gstbuffer.sgml:
26208 * gst/base/gstbasesrc.c:
26209 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26212 * tools/gst-launch.1.in:
26213 inlined more doc comments, added missing comments and fixed comments
26216 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26218 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26222 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26224 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26225 * gst/gststructure.h:
26226 add a fixate function for booleans; add a FIXME that these func
26227 names should probably be gst_structure_fixate_*
26229 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26231 * docs/gst/gstreamer-docs.sgml:
26232 * docs/gst/gstreamer-sections.txt:
26234 * gst/gstbin.c: (gst_bin_get_type),
26235 (gst_bin_child_proxy_get_child_by_index),
26236 (gst_bin_child_proxy_get_children_count),
26237 (gst_bin_child_proxy_init):
26238 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26239 (gst_child_proxy_get_child_by_index),
26240 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26241 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26242 (gst_child_proxy_get), (gst_child_proxy_set_property),
26243 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26244 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26245 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26246 * gst/gstchildproxy.h:
26247 * gst/parse/grammar.y:
26248 * tools/gst-inspect.c: (print_interfaces),
26249 (print_element_properties_info), (print_element_info):
26250 ported gstchildproxy over from 0.8
26251 ported gst-inspect fixes and enhancements over from 0.8
26253 2005-08-22 Wim Taymans <wim@fluendo.com>
26255 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26256 (gst_base_transform_handle_buffer):
26257 Also call the transform function if we have ANY caps.
26259 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26262 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26264 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26265 Don't pretend to handle seek events if the source is not seekable
26267 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26270 Remove extra parameter to debug output
26272 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26273 (gst_base_src_do_seek), (gst_base_src_activate_push):
26274 Fix seek event handling.
26276 * gst/gstpipeline.c: (gst_pipeline_change_state):
26277 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26278 (gst_queue_src_activate_push):
26279 Don't start the src pad task on FLUSH_STOP if the pad
26283 2005-08-22 Wim Taymans <wim@fluendo.com>
26285 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26286 Added check for gst_static_caps_get() refcounting.
26288 2005-08-22 Wim Taymans <wim@fluendo.com>
26290 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26291 Make _static_caps_get() refcounting sane.
26293 * gst/gstelement.c: (gst_element_set_state):
26294 Add g_return_val_if_fail() to protect against segfaults.
26296 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26298 * docs/gst/tmpl/gstevent.sgml:
26301 inlined remaining docs, added missing doc comments
26303 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26305 * check/gst/gstbin.c: (GST_START_TEST):
26306 since we don't know when preroll is done, use refcount range
26308 * gst/check/gstcheck.h:
26309 add macro for checking refcount range
26311 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26313 * check/Makefile.am:
26314 clean up environment for when registry gets built versus
26315 when actual tests are run; valgrind seems to not report
26316 leaks if GST_PLUGIN_PATH is set to some specific values
26317 * check/gst/gstbin.c: (GST_START_TEST):
26318 add more refcounting checks; maybe this exposes a
26320 * common/check.mak:
26321 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26322 * gst/check/gstcheck.h:
26323 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26324 (gst_bin_change_state):
26325 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26326 add/fix debugging/whitespace
26328 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26330 * check/gst/gstevent.c: (event_probe), (test_event),
26332 Er, don't call gst_bin_watch_for_state_change you idiot.
26334 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26336 * check/Makefile.am:
26337 Use CHECK_CFLAGS and CHECK_LIBS
26338 * check/gst/gstevent.c: (event_probe), (test_event),
26341 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26342 (gst_base_src_start), (gst_base_src_stop),
26343 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26344 (gst_base_src_change_state):
26345 Sprinkle gst_base_src_stop liberally around error paths to fix
26346 problems reusing a source after failed state changes.
26347 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26348 (helper_find_suggest), (gst_type_find_helper):
26349 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26351 * docs/gst/tmpl/gstevent.sgml:
26352 Migrate part of the docs from the SGML file. Wait for ensonic to
26353 tell me how I did it wrong ;)
26354 * tools/gst-typefind.c: (main):
26355 Extra robustness to state changes between files.
26357 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26359 * check/Makefile.am:
26360 don't valgrind the controller test - it's leaking - Stefan, HELP
26361 * gst/check/gstcheck.c: (gst_check_message_error),
26362 (gst_check_chain_func), (gst_check_setup_element),
26363 (gst_check_teardown_element), (gst_check_setup_src_pad),
26364 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26365 (gst_check_teardown_sink_pad):
26366 * gst/check/gstcheck.h:
26367 add a bunch of methods to set up elements, and src and sink pads
26368 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26369 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26372 * gst/gstmessage.c:
26374 whitespace/doc fixes
26376 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26378 * gst/gstelement.h:
26379 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26380 be handled by the application and not always printed as well
26382 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26384 * check/Makefile.am:
26386 * gst/check/gstcheck.c: (gst_check_message_error):
26387 * gst/check/gstcheck.h:
26388 add a fail_unless_equals_int
26389 add fail_unless for error messages
26391 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26393 * check/Makefile.am:
26395 * common/Makefile.am:
26396 * common/check.mak:
26398 factor out some of the common stuff so we can use it
26400 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26402 * check/Makefile.am:
26403 * check/gst/gstiterator.c: (GST_START_TEST):
26404 * check/gst/gstsystemclock.c: (GST_START_TEST),
26405 (gst_systemclock_suite):
26406 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26408 valgrind more tests
26410 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26412 * check/elements/.cvsignore:
26413 * check/elements/gstfakesrc.c:
26414 rename to name of element
26415 * check/elements/identity.c: (chain_func), (event_func),
26416 (setup_identity), (cleanup_identity), (GST_START_TEST),
26417 (identity_suite), (main):
26418 add a test for identity
26419 * check/Makefile.am:
26420 * pkgconfig/Makefile.am:
26421 * pkgconfig/gstreamer-check.pc.in:
26422 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26426 move the check stuff to a library that gets installed
26427 * check/gst-libs/controller.c: (GST_START_TEST):
26428 * check/gst-libs/gdp.c:
26429 * check/gst/gst.c: (GST_START_TEST):
26430 * check/gst/gstbin.c:
26431 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26432 * check/gst/gstbus.c:
26433 * check/gst/gstcaps.c: (GST_START_TEST):
26434 * check/gst/gstelement.c:
26435 * check/gst/gstghostpad.c:
26436 * check/gst/gstiterator.c:
26437 * check/gst/gstmessage.c:
26438 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26439 * check/gst/gstobject.c:
26440 * check/gst/gstpad.c: (GST_START_TEST):
26441 * check/gst/gststructure.c: (GST_START_TEST):
26442 * check/gst/gstsystemclock.c: (GST_START_TEST),
26443 (gst_systemclock_suite):
26444 * check/gst/gsttag.c: (gst_tag_suite):
26445 * check/gst/gstvalue.c:
26446 * check/pipelines/cleanup.c:
26447 * check/pipelines/simple_launch_lines.c:
26448 * check/states/sinks.c:
26449 change include statement
26451 * docs/gst/gstreamer-sections.txt:
26452 * docs/gst/tmpl/gstpad.sgml:
26453 document more pad stuff
26454 * gst/gstminiobject.c: (gst_mini_object_ref),
26455 (gst_mini_object_unref):
26458 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26460 * docs/gst/tmpl/gst.sgml:
26462 eliminate another tmpl file, fix spelling in the long-description
26464 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26466 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26467 (test_event), (timediff), (gstevents_suite):
26468 Should fix build on 64-bit arch's
26470 2005-08-18 Andy Wingo <wingo@pobox.com>
26472 Make sure that when a pipeline goes to PLAYING, that data has
26473 actually hit the sink.
26475 * check/states/sinks.c (test_sink): A sink that doesn't get any
26476 data shouldn't return SUCCESS for going to either PLAYING or
26477 PAUSED. Test also the return values on the way back down.
26479 * gst/gstelement.c (gst_element_set_state): When changing the
26480 state of an element currently changing state asynchronously, go to
26481 lost-state after commiting the pending state. Makes future calls
26482 to get_state continue to return ASYNC.
26484 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26485 ASYNC when going to PLAYING if we still don't have preroll, as can
26486 happen with live sources.
26488 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26490 * docs/pwg/advanced-types.xml:
26491 Hack long paragraph into 2 chunks as a workaround for buggy
26492 jadetex version in sid and breezy that loops infinitely and
26495 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26497 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26498 (test_event), (timediff), (gstevents_suite):
26499 Provide more error margin in clock measurements to allow for
26500 g_get_current_time inaccuracies.
26502 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26504 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26505 (test_event), (timediff), (gstevents_suite):
26506 Fix error message output so I might be able to tell why the
26507 test works here but fails on the build farm.
26509 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26511 * check/Makefile.am:
26512 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26513 (test_event), (timediff), (gstevents_suite), (main):
26516 * docs/design/part-seeking.txt:
26517 Spelling correction
26519 * docs/gst/tmpl/gstevent.sgml:
26520 * docs/gst/tmpl/gstfakesrc.sgml:
26523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26524 Treat a buffer-without-newsegment the same as a receiving
26525 a newsegment not in time format, and disable syncing to the clock
26528 * gst/gstbus.c: (gst_bus_set_sync_handler):
26529 Assert if anyone tries to replace the existing sync_handler for bus,
26530 as only the owner should be setting it.
26533 Have a fixed set of custom event enums with events identified by
26534 their structure name (as in 0.8), rather than a free-for-all
26535 allowing collisions between enum values from different plugins.
26537 * gst/gstpad.c: (gst_pad_class_init):
26540 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26541 Handle out-of-band downstream events from the sending thread.
26543 2005-08-17 Andy Wingo <wingo@pobox.com>
26545 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26546 play-timeout==0 to mean no timeout at all. In that case, don't
26547 bother with a get_state or a warning, just return directly, even
26550 * gst/base/gstbasetransform.c: Debug changes.
26553 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26554 ensure bins post state change messages. A bit of a hack but I can't
26555 think of a way to avoid it.
26557 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26559 2005-08-16 Andy Wingo <wingo@pobox.com>
26561 * gst/base/gstadapter.h:
26562 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26563 peek() but you own the data. Not terribly efficient atm.
26565 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26567 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26568 (gst_element_found_tags):
26570 Add two utility functions for tag handling.
26572 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26574 * docs/manual/advanced-dataaccess.xml:
26575 * docs/manual/basics-helloworld.xml:
26576 Fix docs to use _bin_add() before _link(), which fixes the examples
26577 with recent core versions (reported by Madhan Raj M
26578 <raj_madan@rediffmail.com>, #313199).
26580 2005-08-16 Wim Taymans <wim@fluendo.com>
26582 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26583 Added subtract checks.
26585 * docs/design/part-events.txt:
26586 Some more docs about newsegment
26588 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26591 * gst/gstcaps.c: (gst_caps_to_string):
26592 Add comments, cleanups.
26594 * gst/gstelement.c: (gst_element_save_thyself):
26597 * gst/gstvalue.c: (gst_value_collect_int_range),
26598 (gst_string_unwrap), (gst_value_union_int_int_range),
26599 (gst_value_union_int_range_int_range),
26600 (gst_value_intersect_int_int_range),
26601 (gst_value_intersect_int_range_int_range),
26602 (gst_value_intersect_double_double_range),
26603 (gst_value_intersect_double_range_double_range),
26604 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26605 (gst_value_subtract_int_range_int),
26606 (gst_value_subtract_double_range_double),
26607 (gst_value_subtract_double_range_double_range),
26608 (gst_value_subtract_from_list), (gst_value_subtract_list),
26609 (gst_value_can_compare), (gst_value_compare_fraction):
26610 Cleanups, add comments, remove unneeded asserts.
26612 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26614 * tools/gst-launch.c: (event_loop):
26615 don't convert NULL structures to strings
26617 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26619 * docs/gst/gstreamer-sections.txt:
26620 made some defines private
26621 * docs/gst/tmpl/gstconfig.sgml:
26622 * docs/gst/tmpl/gstqueue.sgml:
26623 * docs/gst/tmpl/gsttaglist.sgml:
26624 * docs/gst/tmpl/gsttypes.sgml:
26625 * docs/gst/tmpl/gstutils.sgml:
26626 * docs/pwg/appendix-porting.xml:
26627 * gst/base/gstbasesink.h:
26628 * gst/base/gstbasesrc.c:
26629 * gst/base/gstbasesrc.h:
26630 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26631 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26632 * gst/gstelement.c: (gst_element_class_init):
26633 * gst/gstpad.c: (gst_pad_class_init):
26634 * gst/gstqueue.c: (gst_queue_class_init):
26635 * gst/gstxml.c: (gst_xml_class_init):
26636 documented all undocumented signal inline
26637 * libs/gst/controller/gst-controller.h:
26640 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26642 * docs/pwg/appendix-porting.xml:
26643 Document _set_link_function -> _set_setcaps_function.
26645 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26647 * check/Makefile.am:
26648 add a .check target for running the check
26649 * check/gst-libs/controller.c: (GST_START_TEST):
26651 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26652 complete checks for gstbuffer; would be nice if I could get the
26653 gcov stuff to work so I can see if I actually completed gstbuffer.c
26654 * check/gstcheck.h:
26655 add ASSERT_BUFFER_REFCOUNT
26657 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26659 * docs/gst/gstreamer-sections.txt:
26660 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26662 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26663 spew out a warning if a tag that is already registered
26664 is re-registered, unless it is re-registered with a
26665 different type (#308438).
26667 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26669 * docs/pwg/appendix-porting.xml:
26670 * docs/pwg/building-state.xml:
26671 Add some paragraphs about state changes in 0.9 to the PWG
26672 and the porting guide, in particular about the new meaning
26673 of GST_STATE_PAUSED and how to write state change functions
26674 with concurrent access by multiple threads in mind.
26676 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26678 * docs/gst/gstreamer-docs.sgml:
26679 * docs/libs/gstreamer-libs-docs.sgml:
26680 added deprecation and since indexes
26681 * libs/gst/controller/gst-controller.c:
26682 * libs/gst/controller/gst-helper.c:
26686 2005-08-11 Wim Taymans <wim@fluendo.com>
26688 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26689 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26690 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26691 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26692 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26693 (gst_ghost_pad_set_target):
26694 Actually implement (re)setting the target on a ghostpad
26695 as described in the docs.
26697 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26699 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26700 Check whether GST_DEBUG_NO_COLOR environment variable is
26701 set and disable coloured debug output if that is the case.
26703 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26705 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26706 (gst_type_find_helper):
26707 The memory returned by gst_type_find_peek() needs to
26708 stay valid until the end of a typefind function, and
26709 typefind functions may keep results from different
26710 offsets around, so we can't just unref the buffer from
26711 the previous _peek(), but have to save all buffers
26712 returned by _peek() until typefinding is done and only
26715 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26717 * docs/gst/gstreamer-sections.txt:
26719 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26721 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26723 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26724 Fix a pretty good memleak.
26726 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26728 * gst/gstiterator.h:
26729 Fix wrong include and 'make distcheck'.
26731 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26733 * gst/gstbin.c: (bin_bus_handler):
26734 Use gst_element_post_message() instead.
26736 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26738 * gst/base/gstadapter.h:
26739 * gst/base/gstbasesink.h:
26740 * gst/base/gstbasesrc.h:
26741 * gst/base/gstbasetransform.h:
26742 * gst/base/gstcollectpads.h:
26743 * gst/base/gstpushsrc.h:
26744 * gst/gstiterator.h:
26745 Add padding to our base elements' class and instance structs and
26746 to GstIterator (you will need to rebuild all plugins and apps!)
26748 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26750 * gst/gstbin.c: (bin_bus_handler):
26751 Make default message forwarding from child->bus to bin->bus
26752 threadsafe and make it not emit warnings if the parent has no bus.
26754 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26756 * gst/gstelement.c: (activate_pads):
26757 On paused->ready, set pad->caps to NULL, as is the documented
26758 behaviour in this state change. Fixes playback of series of
26759 media files when visualization is enabled in Totem.
26761 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26763 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26764 Allow NULL as filter-caps (which means "any").
26766 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26768 * docs/libs/gstreamer-libs-sections.txt:
26769 * libs/gst/controller/gst-controller.c:
26770 * libs/gst/controller/gst-controller.h:
26771 * libs/gst/controller/gst-helper.c:
26772 adding more entries to the docs and fix small doc-bugs
26774 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26776 * docs/gst/gstreamer-docs.sgml:
26777 * docs/gst/gstreamer-sections.txt:
26778 * docs/gst/gstreamer.types:
26779 * docs/gst/tmpl/gstbasesink.sgml:
26780 * docs/gst/tmpl/gstbasesrc.sgml:
26781 * docs/gst/tmpl/gstbasetransform.sgml:
26782 * docs/gst/tmpl/gstfakesrc.sgml:
26783 * gst/base/gstcollectpads.c:
26784 * gst/base/gstcollectpads.h:
26785 * libs/gst/controller/gst-controller.c:
26786 * libs/gst/controller/gst-controller.h:
26787 * libs/gst/controller/gst-helper.c:
26788 * libs/gst/controller/gst-interpolation.c:
26789 * libs/gst/controller/lib.c:
26790 added long/short desc for controller docs
26791 added collectpads base class docs
26792 added correct includes to base-class docs
26794 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26796 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26797 (gst_test_mono_source_set_property),
26798 (gst_test_mono_source_class_init), (GST_START_TEST),
26799 (gst_controller_suite):
26800 * docs/gst/gstreamer-docs.sgml:
26801 * docs/gst/gstreamer-sections.txt:
26802 * docs/gst/gstreamer.types:
26803 * docs/libs/gstreamer-libs-docs.sgml:
26804 * docs/libs/gstreamer-libs-sections.txt:
26805 * gst/base/gstadapter.c:
26806 * libs/gst/controller/gst-controller.c:
26807 (gst_controlled_property_new), (gst_controlled_property_free),
26808 (gst_controller_new_valist),
26809 (gst_controller_remove_properties_valist),
26810 (gst_controller_sink_values), (_gst_controller_finalize):
26811 * libs/gst/controller/gst-controller.h:
26812 * libs/gst/controller/gst-helper.c:
26813 (gst_object_control_properties), (gst_object_uncontrol_properties),
26814 (gst_object_get_controller), (gst_object_set_controller),
26815 (gst_object_sink_values), (gst_object_get_value_arrays),
26816 (gst_object_get_value_array):
26817 more tests (and fixes) for the controller
26818 more docs for the controller
26819 integrated companies docs for the adapter
26821 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26823 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26824 (GST_START_TEST), (fakesrc_suite):
26825 add tests for sizetype
26827 2005-08-04 Andy Wingo <wingo@pobox.com>
26829 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26830 fixes buffer_alloc proxying among other things.
26832 * gst/base/gstbasetransform.c:
26833 * gst/base/gstbasetransform.h:
26834 Revert patch to gstbasetransform from 7-28 removing
26837 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26838 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26839 Semantics changed, should return not the size of the output buffer
26840 but the byte size of a buffer with a given caps.
26842 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26844 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26845 out) are not the pad caps until setcaps finishes.
26846 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26847 not-in-place case as well. Deal with changing from in-place to
26848 not-in-place within calling pad_alloc_buffer. Still a bit
26849 concerned about the overhead here...
26851 2005-08-03 Andy Wingo <wingo@pobox.com>
26853 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26854 fixating is an error.
26856 2005-08-04 Edward Hervey <edward@fluendo.com>
26858 * gst/base/gstadapter.h:
26859 Added gst_adapter_get_type() to the header
26861 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26863 * check/Makefile.am:
26864 * check/gst-libs/controller.c:
26865 * libs/gst/controller/gst-controller.c:
26866 (gst_controller_new_valist):
26867 added check test suite for the controller
26868 * gst/base/gstpushsrc.c:
26871 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26873 * docs/gst/Makefile.am:
26874 * docs/gst/gstreamer-docs.sgml:
26875 * docs/gst/gstreamer-sections.txt:
26876 * docs/gst/gstreamer.types:
26877 * docs/gst/tmpl/gstfakesrc.sgml:
26879 * gst/base/gstbasesink.c:
26880 * gst/base/gstbasesink.h:
26881 * gst/base/gstbasesrc.c:
26882 * gst/base/gstbasesrc.h:
26883 * gst/base/gstbasetransform.c:
26884 * gst/base/gstpushsrc.c:
26885 * gst/base/gstpushsrc.h:
26886 add short/long description docs to base classes
26887 add pushsrc to the docs
26888 remove consolidated doc fragments
26890 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26893 * docs/libs/Makefile.am:
26894 * docs/libs/gstreamer-libs-docs.sgml:
26895 * docs/libs/gstreamer-libs-sections.txt:
26896 * docs/libs/gstreamer-libs.types:
26897 * examples/Makefile.am:
26898 * examples/controller/.cvsignore:
26899 * examples/controller/Makefile.am:
26900 * examples/controller/audio-example.c: (main):
26901 * libs/gst/Makefile.am:
26902 * libs/gst/controller/.cvsignore:
26903 * libs/gst/controller/Makefile.am:
26904 * libs/gst/controller/gst-controller.c:
26905 (on_object_controlled_property_changed), (gst_timed_value_compare),
26906 (gst_timed_value_find),
26907 (gst_controlled_property_set_interpolation_mode),
26908 (gst_controlled_property_new), (gst_controlled_property_free),
26909 (gst_controller_find_controlled_property),
26910 (gst_controller_new_valist), (gst_controller_new),
26911 (gst_controller_remove_properties_valist),
26912 (gst_controller_remove_properties), (gst_controller_set),
26913 (gst_controller_set_from_list), (gst_controller_unset),
26914 (gst_controller_get), (gst_controller_get_all),
26915 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26916 (gst_controller_get_value_array),
26917 (gst_controller_set_interpolation_mode),
26918 (_gst_controller_finalize), (_gst_controller_init),
26919 (_gst_controller_class_init), (gst_controller_get_type):
26920 * libs/gst/controller/gst-controller.h:
26921 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26922 (g_object_uncontrol_properties), (g_object_get_controller),
26923 (g_object_set_controller), (g_object_sink_values),
26924 (g_object_get_value_arrays), (g_object_get_value_array):
26925 * libs/gst/controller/gst-interpolation.c:
26926 (gst_controlled_property_find_timed_value_node),
26927 (interpolate_none_get), (interpolate_trigger_get),
26928 (interpolate_trigger_get_value_array):
26929 * libs/gst/controller/lib.c: (gst_controller_init):
26930 * pkgconfig/Makefile.am:
26931 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26932 * pkgconfig/gstreamer-control.pc.in:
26933 * testsuite/Makefile.am:
26934 * testsuite/controller/.cvsignore:
26935 * testsuite/controller/Makefile.am:
26936 * testsuite/controller/interpolator.c: (main):
26937 added controller code
26938 removed dparam pc files
26940 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26941 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26942 (gst_collectpads_stop):
26943 Broadcast the condition when shutting down, to make sure we wake all
26944 threads up. Shut down pads on finalize, for safety.
26946 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26947 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26948 (gst_base_transform_handle_buffer),
26949 (gst_base_transform_change_state):
26950 Handle PAUSED->READY->PAUSED transition after negotiation
26952 * gst/gstmessage.c: (gst_message_init):
26953 Extra piece of debug for new messages.
26955 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26958 * docs/gst/tmpl/gstbasesrc.sgml:
26959 * docs/gst/tmpl/gstelement.sgml:
26960 * docs/gst/tmpl/gstevent.sgml:
26961 * docs/gst/tmpl/gstfakesrc.sgml:
26962 * docs/gst/tmpl/gstformat.sgml:
26963 * docs/gst/tmpl/gstghostpad.sgml:
26964 * docs/gst/tmpl/gstpad.sgml:
26965 * docs/gst/tmpl/gstquery.sgml:
26966 * docs/gst/tmpl/gststructure.sgml:
26967 * docs/gst/tmpl/gsttaglist.sgml:
26968 * docs/gst/tmpl/gstvalue.sgml:
26969 * docs/libs/gstreamer-libs-docs.sgml:
26970 * docs/libs/gstreamer-libs-sections.txt:
26971 * docs/libs/gstreamer-libs.types:
26972 * libs/gst/Makefile.am:
26973 * libs/gst/control/.cvsignore:
26974 * libs/gst/control/Makefile.am:
26975 * libs/gst/control/control.c:
26976 * libs/gst/control/control.h:
26977 * libs/gst/control/dparam.c:
26978 * libs/gst/control/dparam.h:
26979 * libs/gst/control/dparam_smooth.c:
26980 * libs/gst/control/dparam_smooth.h:
26981 * libs/gst/control/dparamcommon.h:
26982 * libs/gst/control/dparammanager.c:
26983 * libs/gst/control/dparammanager.h:
26984 * libs/gst/control/dplinearinterp.c:
26985 * libs/gst/control/dplinearinterp.h:
26986 * libs/gst/control/unitconvert.c:
26987 * libs/gst/control/unitconvert.h:
26988 * testsuite/Makefile.am:
26989 * testsuite/dynparams/.cvsignore:
26990 * testsuite/dynparams/Makefile.am:
26991 * testsuite/dynparams/dparamstest.c:
26992 * tools/Makefile.am:
26993 * tools/gst-inspect.c: (print_element_info), (main):
26994 * tools/gst-xmlinspect.c: (print_element_info), (main):
26995 deactivate and remove dparams (libgstcontrol)
26997 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26999 * gst/elements/gsttypefindelement.c:
27000 (gst_type_find_element_have_type), (gst_type_find_element_init),
27001 (stop_typefinding), (gst_type_find_element_handle_event),
27002 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27003 * gst/elements/gsttypefindelement.h:
27004 Set caps on all outgoing buffers, not just the first one.
27006 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27008 * gst/elements/gsttypefindelement.c:
27009 (gst_type_find_element_have_type),
27010 (gst_type_find_element_check_set_buffer_caps),
27011 (gst_type_find_element_init), (stop_typefinding),
27012 (gst_type_find_element_handle_event),
27013 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27014 * gst/elements/gsttypefindelement.h:
27015 Set caps on first outgoing buffer when we've found the type.
27017 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27019 * docs/gst/gstreamer-docs.sgml:
27020 * docs/gst/gstreamer-sections.txt:
27021 * docs/gst/tmpl/gstscheduler.sgml:
27022 * docs/gst/tmpl/gstschedulerfactory.sgml:
27023 Remove some old cruft from docs.
27025 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27028 Fix inline docs for GstPadLinkReturn.
27030 * gst/gststructure.c: (gst_structure_has_name):
27031 * gst/gststructure.h:
27032 * docs/gst/gstreamer-sections.txt:
27033 New API: gst_structure_has_name().
27035 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27038 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27039 and _LARGEFILE_SOURCE in config.h as required. Do not
27040 export those flags in our .pc files any longer (#142209).
27042 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27044 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27045 (gst_file_sink_do_seek), (gst_file_sink_event),
27046 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27047 Redo seek/tell calls with large file support in mind; add some
27048 debugging messages; add log message that tells us when large
27049 file support is unavailable or not enabled for some reason.
27051 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27052 Add log message that tells us when large file support
27053 is unavailable or not enabled for some reason.
27055 2005-07-29 Wim Taymans <wim@fluendo.com>
27057 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27058 Added test for removing an element with ghostpad from a bin.
27059 Fixed test as current implementation does the right thing.
27061 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27062 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27063 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27064 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27065 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27066 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27067 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27068 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27069 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27070 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27071 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27072 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27073 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27074 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27075 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27076 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27077 * gst/gstghostpad.h:
27078 Clean up ghostpads, remove properties for internal stuff.
27081 Prepare for switching targets, not all use cases work yet.
27083 2005-07-29 Wim Taymans <wim@fluendo.com>
27085 * docs/design/part-gstghostpad.txt:
27088 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27089 (gst_bin_remove_func):
27090 Unlinking pads while holding the bin LOCK is not a good
27093 * gst/gstpad.c: (gst_pad_class_init),
27094 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27095 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27096 No prob setting template after creating the pad.
27098 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27100 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27101 (gst_bus_peek), (gst_bus_source_dispatch),
27102 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27103 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27104 gst_bus_poll may be called from other threads. Handle
27105 this nicely by not making poll_data disappear off the
27106 stack once gst_bus_poll returns.
27107 gst_bus_peek now increments the refcount on the returned
27110 2005-07-29 Wim Taymans <wim@fluendo.com>
27112 * docs/design/part-gstghostpad.txt:
27113 Overview of current GhostPad datastructures and use
27114 cases for changing the target.
27116 2005-07-28 Wim Taymans <wim@fluendo.com>
27118 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27119 Added checks for hierarchy consistency whan adding linked
27122 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27123 Added check to test element scheduling without bin/pipeline.
27125 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27126 First add elements to bin, then link.
27128 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27129 (gst_bin_remove_func):
27130 Unlink pads from elements added/removed from bin to maintain
27131 hierarchy consistency.
27133 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27135 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27136 (gst_base_transform_handle_buffer):
27137 * gst/base/gstbasetransform.h:
27138 Remove broken delay_configure (fixes renegotiation of software
27139 scaling pipelines); remove some leftover printf()s.
27141 2005-07-28 Wim Taymans <wim@fluendo.com>
27143 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27144 Added some more tests for wrong hierarchy
27146 * docs/design/part-overview.txt:
27149 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27152 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27153 (gst_element_dispose):
27154 Some more cleanups.
27156 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27157 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27158 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27159 (gst_pad_set_caps), (gst_pad_send_event):
27160 Check for correct hierarchy when linking pads. Moving to
27161 strict requirement for ghostpads when linking elements in
27165 Clean ups. Added WRONG_HIERARCHY return value.
27167 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27169 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27170 Better debug if no transform is possible.
27172 2005-07-27 Wim Taymans <wim@fluendo.com>
27174 * docs/random/wtay/network-transp:
27175 Some old doc I had.
27177 2005-07-27 Wim Taymans <wim@fluendo.com>
27179 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27180 (gst_dp_event_from_packet):
27181 Fix serialization of seek events.
27183 2005-07-27 Wim Taymans <wim@fluendo.com>
27185 * check/gst-libs/gdp.c: (GST_START_TEST):
27186 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27187 Fix compilation and fix event serialization.
27189 2005-07-27 Wim Taymans <wim@fluendo.com>
27192 * docs/design/part-TODO.txt:
27193 * docs/design/part-events.txt:
27196 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27197 (gst_base_sink_event), (gst_base_sink_do_sync),
27198 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27199 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27200 (gst_base_src_do_seek), (gst_base_src_event_handler),
27201 (gst_base_src_loop):
27202 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27203 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27204 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27205 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27206 (gst_base_transform_set_passthrough),
27207 (gst_base_transform_is_passthrough):
27208 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27209 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27215 * gst/gstelement.c: (gst_element_seek):
27216 * gst/gstelement.h:
27217 Update gst_element_seek.
27219 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27220 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27221 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27222 (gst_event_new_eos), (gst_event_new_newsegment),
27223 (gst_event_parse_newsegment), (gst_event_new_tag),
27224 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27225 (gst_event_parse_qos), (gst_event_new_seek),
27226 (gst_event_parse_seek), (gst_event_new_navigation):
27228 Make GstEvent use GstStructure. Add parsing code, make sure the
27229 API is sufficiently generic.
27230 Mark possible directions of events and serialization.
27232 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27233 (_gst_message_copy), (gst_message_new_segment_start),
27234 (gst_message_new_segment_done), (gst_message_new_custom),
27235 (gst_message_parse_segment_start),
27236 (gst_message_parse_segment_done):
27239 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27240 (gst_pad_set_caps), (gst_pad_send_event):
27241 Update for new events.
27242 Catch events sent in wrong directions.
27244 * gst/gstqueue.c: (gst_queue_link_src),
27245 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27246 (gst_queue_handle_src_query):
27251 Remove event code from this file.
27253 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27254 (gst_dp_event_from_packet):
27257 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27259 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27260 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27261 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27262 Make debugging actually useful.
27264 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27266 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27267 (gst_pad_fixate_caps):
27268 Implement default fixation once again, so that gst_pad_fixate()
27269 actually does anything at all. This probably needs to be some
27270 sort of a last resort, and use profile-based fixation first, but
27271 since that doesn't exist yet, this is the best we have. Fixes
27272 visualization in Totem.
27274 2005-07-22 Wim Taymans <wim@fluendo.com>
27276 * docs/design/part-events.txt:
27279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27280 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27281 (gst_base_sink_activate_pull):
27282 Some more comments.
27284 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27285 (gst_fake_src_create):
27286 Fix handoff marshall.
27288 * gst/elements/gstidentity.c: (gst_identity_class_init),
27289 (gst_identity_transform_ip):
27290 We're a real inplace element.
27292 * gst/gstbus.c: (gst_bus_post):
27293 Added some comments.
27295 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27296 * tests/muxing/case1.c: (main):
27297 * tests/sched/dynamic-pipeline.c: (main):
27298 * tests/sched/interrupt1.c: (main):
27299 * tests/sched/interrupt2.c: (main):
27300 * tests/sched/interrupt3.c: (main):
27301 * tests/sched/runxml.c: (main):
27302 * tests/sched/sched-stress.c: (main):
27303 * tests/seeking/seeking1.c: (event_received), (main):
27304 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27306 * tests/threadstate/threadstate3.c: (main):
27307 * tests/threadstate/threadstate4.c: (main):
27308 * tests/threadstate/threadstate5.c: (main):
27311 2005-07-21 Wim Taymans <wim@fluendo.com>
27313 * docs/design/part-seeking.txt:
27314 Some small additions.
27316 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27317 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27318 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27319 * gst/base/gstbasesink.h:
27320 discont values are gint64, handle the math correctly.
27322 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27323 Make the basesrc report error if the source pad is not linked.
27325 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27326 (gst_queue_loop), (gst_queue_handle_src_query),
27327 (gst_queue_src_activate_push):
27328 Make queue collect data even if the srcpad is not linked.
27329 Start pushing out data as soon as it is linked.
27331 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27333 Added gst_flow_get_name() to ease error reporting.
27335 2005-07-20 Wim Taymans <wim@fluendo.com>
27337 * gst/gstmessage.c: (gst_message_new_segment_start),
27338 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27339 (gst_message_parse_segment_done):
27340 * gst/gstmessage.h:
27341 Added a bunch of messages for advanced seeking.
27343 * gst/parse/grammar.y:
27344 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27345 (gst_dpman_state_changed):
27346 Fix some new-pad -> pad-added signals
27348 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27350 * docs/manual/appendix-porting.xml:
27351 * docs/pwg/appendix-porting.xml:
27352 Document new-pad/state-change signal renames and the FixedList
27355 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27357 * docs/manual/advanced-autoplugging.xml:
27358 * docs/manual/basics-helloworld.xml:
27359 * docs/manual/basics-pads.xml:
27360 * docs/random/ds/0.9-suggested-changes:
27361 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27362 * gst/gstelement.h:
27366 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27367 (gst_structure_parse_array), (gst_structure_parse_value):
27368 * gst/gstvalue.c: (gst_type_is_fixed),
27369 (gst_value_list_prepend_value), (gst_value_list_append_value),
27370 (gst_value_list_get_size), (gst_value_list_get_value),
27371 (gst_value_transform_array_string), (gst_value_serialize_array),
27372 (gst_value_deserialize_array), (gst_value_intersect_array),
27373 (gst_value_is_fixed), (_gst_value_initialize):
27375 GstElement::new-pad -> pad-added, GstElement::state-change ->
27376 state-changed, GstValueFixedList -> GstValueArray, add format and
27377 flags as their own arguments in gst_element_seek() (should improve
27378 "bindeability"), remove function generators since they don't work
27379 under a whole bunch of compilers (they were deprecated already
27382 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27384 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27385 (_gst_debug_register_funcptr):
27387 Fix illegal cast on some platforms (#309253).
27389 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27391 * gst/gstmessage.c: (gst_message_new_custom):
27392 * gst/gstmessage.h:
27393 Add _new_custom, make _new_application a macro to _new_custom.
27395 2005-07-20 Wim Taymans <wim@fluendo.com>
27397 * gst/base/gstbasesrc.c: (gst_base_src_init),
27398 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27399 * gst/base/gstbasesrc.h:
27400 Add a gboolean to decide when to push out a discont.
27402 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27403 (gst_queue_loop), (gst_queue_handle_src_query),
27404 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27405 (gst_queue_set_property), (gst_queue_get_property):
27408 * tests/threadstate/threadstate1.c: (main):
27409 Make a thread test compile and run... very silly..
27412 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27414 * docs/manual/appendix-porting.xml:
27415 Mention removal of libgstgconf-0.9.la and existence of gconf
27418 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27420 * docs/pwg/advanced-clock.xml:
27421 * docs/pwg/appendix-porting.xml:
27422 * docs/pwg/intro-preface.xml:
27423 * docs/pwg/other-base.xml:
27424 * docs/pwg/other-manager.xml:
27425 * docs/pwg/other-nton.xml:
27426 * docs/pwg/other-ntoone.xml:
27427 * docs/pwg/other-oneton.xml:
27428 * docs/pwg/pwg.xml:
27429 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27430 demuxer), remove n-to-n (was never written), fix some code examples
27431 and links and update the porting section to include all this.
27433 2005-07-19 Wim Taymans <wim@fluendo.com>
27435 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27436 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27437 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27438 (gst_queue_src_activate_push), (gst_queue_change_state),
27439 (gst_queue_get_property):
27441 Propagate GstFlowReturn more intelligently upstream and output
27442 an ERROR/EOS when streaming stopped due to fatal error.
27444 2005-07-19 Wim Taymans <wim@fluendo.com>
27446 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27447 Don't block forever for the state change to complete, the
27448 pipeline already did with a sensible timeout.
27450 2005-07-19 Wim Taymans <wim@fluendo.com>
27452 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27453 Make sure we never call the create function is we
27456 2005-07-19 Andy Wingo <wingo@pobox.com>
27458 * gst/parse/parse.l: Attempt to solve bug #172815.
27460 2005-07-19 Wim Taymans <wim@fluendo.com>
27462 * docs/design/part-clocks.txt:
27463 * docs/design/part-events.txt:
27464 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27465 Small docs updates.
27466 Only update the seeking values when we are not
27469 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27471 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27472 Oops, ignore the result of gst_pad_push_event here.
27474 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27476 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27477 (gst_base_src_activate_push):
27478 Send discont event from the loop function, as pads
27479 aren't activated yet in the activate_push handler.
27481 * gst/gstbin.c: (bin_bus_handler):
27482 Don't leak element name.
27484 2005-07-18 Andy Wingo <wingo@pobox.com>
27486 * configure.ac: Use AS_LIBTOOL_TAGS.
27488 2005-07-18 Wim Taymans <wim@fluendo.com>
27490 * docs/gst/gstreamer.types:
27491 Remove deleted types.
27493 2005-07-18 Wim Taymans <wim@fluendo.com>
27495 * check/elements/gstfakesrc.c: (GST_START_TEST):
27498 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27499 (init_popt_callback):
27501 * gst/gst_private.h:
27502 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27503 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27506 * gst/gstconfig.h.in:
27507 * gst/gstelement.c: (gst_element_class_init),
27508 (gst_element_set_base_time), (gst_element_get_base_time),
27509 (iterator_fold_with_resync), (gst_element_change_state),
27510 (gst_element_dispose), (gst_element_get_bus):
27511 * gst/gstelement.h:
27512 * gst/gstelementfactory.h:
27513 * gst/gsterror.c: (_gst_core_errors_init):
27516 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27518 * gst/gstinfo.c: (_gst_debug_init):
27519 * gst/gstmessage.c: (_gst_message_copy):
27520 * gst/gstmessage.h:
27521 * gst/gstminiobject.h:
27524 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27525 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27528 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27529 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27530 (gst_pipeline_get_last_stream_time):
27531 * gst/gstpipeline.h:
27532 * gst/gstpluginfeature.h:
27534 * gst/gstscheduler.c:
27535 * gst/gstscheduler.h:
27536 * gst/gststructure.h:
27537 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27538 (gst_task_finalize), (gst_task_func), (gst_task_create),
27539 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27540 (gst_task_stop), (gst_task_pause):
27542 * gst/gsttypefind.h:
27544 * gst/registries/gstlibxmlregistry.c: (load_feature),
27545 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27546 * gst/registries/gstxmlregistry.c:
27547 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27548 * gst/schedulers/threadscheduler.c:
27549 * libs/gst/control/dparammanager.h:
27550 * tools/gst-inspect.c: (print_element_list),
27551 (print_plugin_features), (print_element_features):
27552 * tools/gst-xmlinspect.c: (print_element_list),
27553 (print_plugin_info), (main):
27554 Removed plugable schedulers.
27555 Removed Scheduler/Manager from elements.
27556 Removed gsttypes.h, rearranged includes.
27557 Removed dependency pad<->element, element<>pipeline, and
27558 various others, fix includes.
27559 implement gst_pad_get_parent() with gst_object_get_parent()
27560 Make GstTask sefcontained.
27561 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27563 Fix endless loop in iterator_fold_with_resync.
27566 2005-07-18 Wim Taymans <wim@fluendo.com>
27572 2005-07-18 Wim Taymans <wim@fluendo.com>
27575 No more cothreads.h
27577 2005-07-18 Wim Taymans <wim@fluendo.com>
27581 Let's remove these.
27583 2005-07-18 Wim Taymans <wim@fluendo.com>
27585 * docs/design/part-dynamic.txt:
27586 * docs/design/part-events.txt:
27587 * docs/design/part-seeking.txt:
27588 Some more docs in the works.
27590 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27591 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27592 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27593 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27594 (gst_base_transform_handle_buffer),
27595 (gst_base_transform_sink_activate_push),
27596 (gst_base_transform_src_activate_pull),
27597 (gst_base_transform_set_passthrough),
27598 (gst_base_transform_is_passthrough):
27601 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27604 * gst/gstevent.c: (gst_event_finalize):
27607 * gst/gstutils.c: (gst_element_unlink),
27608 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27609 (gst_pad_proxy_setcaps):
27611 Add _get_parent_element() to get a pads parent as an element.
27613 2005-07-18 Wim Taymans <wim@fluendo.com>
27615 * check/gst/gstbin.c: (GST_START_TEST):
27618 2005-07-18 Wim Taymans <wim@fluendo.com>
27620 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27621 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27622 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27623 (gst_base_sink_event), (gst_base_sink_do_sync),
27624 (gst_base_sink_chain), (gst_base_sink_loop),
27625 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27626 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27628 Fix logic for returning ASYNC when not prerolled.
27630 2005-07-18 Wim Taymans <wim@fluendo.com>
27632 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27633 Fix nasty refcount bug.
27635 2005-07-16 Philippe Khalaf <burger@speedy.org>
27637 * gst/elements/gstfdsrc.c:
27638 * gst/elements/gstfdsrc.h:
27639 * gst/elements/gstelements.c:
27640 * gst/elements/Makefile.am:
27641 Ported fdsrc to 0.9.
27643 2005-07-16 Wim Taymans <wim@fluendo.com>
27645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27646 (gst_base_sink_do_sync):
27649 2005-07-16 Wim Taymans <wim@fluendo.com>
27651 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27652 (gst_base_sink_event), (gst_base_sink_get_times),
27653 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27654 * gst/base/gstbasesink.h:
27655 Store and use discont values when syncing buffers as described
27658 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27659 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27660 (gst_base_src_activate_push):
27661 Push discont event when starting.
27663 * gst/elements/gstidentity.c: (gst_identity_transform):
27666 * gst/gstbin.c: (gst_bin_change_state):
27667 Small cleanups in base_time distribution.
27669 * gst/gstelement.c: (gst_element_set_base_time),
27670 (gst_element_get_base_time), (gst_element_change_state):
27671 * gst/gstelement.h:
27672 Added methods for the base_time of the element.
27675 * gst/gstpipeline.c: (gst_pipeline_send_event),
27676 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27677 (gst_pipeline_get_last_stream_time):
27678 * gst/gstpipeline.h:
27680 Handle seeking as described in design doc, remove stream_time
27682 Cleanups clock and stream_time selection code. Added accessors
27683 for the stream_time.
27686 2005-07-16 Andy Wingo <wingo@pobox.com>
27688 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27691 2005-07-16 Wim Taymans <wim@fluendo.com>
27693 * check/gst/gstbin.c: (GST_START_TEST):
27694 Make elements silent as the deep_notify refs the
27695 parent, which might make the test fail.
27697 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27698 Don't hold the lock for too long.
27700 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27702 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27703 Don't unref the caps we passed to gst_caps_make_writable() after
27704 passing them. gst_caps_make_writable() will do that for us.
27706 2005-07-15 Andy Wingo <wingo@pobox.com>
27708 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27711 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27712 own marshalling function for the handoff signal. Properly type the
27713 buffer as a buffer. Fixes some warnings. Should do a more general
27715 (gst_identity_class_init): Plug into the right marshaller.
27717 2005-07-15 Wim Taymans <wim@fluendo.com>
27719 * docs/design/part-TODO.txt:
27720 * docs/design/part-clocks.txt:
27721 * docs/design/part-element-sink.txt:
27722 * docs/design/part-events.txt:
27723 * docs/design/part-gstpipeline.txt:
27724 Updated docs, mostly DISCONT related.
27726 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27728 * docs/pwg/building-pads.xml:
27729 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27731 2005-07-15 Andy Wingo <wingo@pobox.com>
27733 * tools/gst-typefind.c: Update, add copyright block.
27735 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27736 Normalize and truncate caps before fixation.
27739 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27740 discards all but the first structure from its argument.
27742 2005-07-15 Wim Taymans <wim@fluendo.com>
27744 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27745 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27746 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27747 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27748 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27749 (gst_base_transform_chain), (gst_base_transform_change_state),
27750 (gst_base_transform_set_passthrough),
27751 (gst_base_transform_is_passthrough):
27752 * gst/base/gstbasetransform.h:
27753 Make passthrough work using the bufferpools.
27754 Changed API a bit, subclasses have to write into a buffer
27755 provided by the base class.
27756 More debug info in nego functions.
27758 * gst/elements/gstidentity.c: (gst_identity_init),
27759 (gst_identity_transform):
27760 Port to new base class.
27762 2005-07-15 Wim Taymans <wim@fluendo.com>
27764 * gst/gstmessage.c: (gst_message_new_state_changed):
27765 * tools/gst-launch.c: (event_loop), (main):
27766 Totally dump messages in -launch with the -m option.
27767 Fix message name for State messages,
27769 2005-07-14 Wim Taymans <wim@fluendo.com>
27771 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27772 Post error messages on errors.
27774 2005-07-14 Wim Taymans <wim@fluendo.com>
27776 * gst/gstcaps.c: (gst_caps_do_simplify):
27780 Define error for stream stopped.
27782 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27783 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27784 Do proper return values.
27786 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27787 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27788 (gst_pad_get_range):
27789 Better return values.
27792 Reorganise return values, add macro to check for fatal errors.
27794 * gst/gstqueue.c: (gst_queue_chain):
27795 Return proper GstFlowReturn values,
27797 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27799 * docs/gst/gstreamer-sections.txt:
27800 * docs/gst/gstreamer.types:
27801 * docs/gst/tmpl/gst.sgml:
27802 * docs/gst/tmpl/gstbasesink.sgml:
27803 * docs/gst/tmpl/gstbasesrc.sgml:
27804 * docs/gst/tmpl/gstbasetransform.sgml:
27805 * docs/gst/tmpl/gstbin.sgml:
27806 * docs/gst/tmpl/gstbuffer.sgml:
27807 * docs/gst/tmpl/gstcaps.sgml:
27808 * docs/gst/tmpl/gstclock.sgml:
27809 * docs/gst/tmpl/gstcompat.sgml:
27810 * docs/gst/tmpl/gstconfig.sgml:
27811 * docs/gst/tmpl/gstelement.sgml:
27812 * docs/gst/tmpl/gstelementdetails.sgml:
27813 * docs/gst/tmpl/gstelementfactory.sgml:
27814 * docs/gst/tmpl/gstenumtypes.sgml:
27815 * docs/gst/tmpl/gsterror.sgml:
27816 * docs/gst/tmpl/gstevent.sgml:
27817 * docs/gst/tmpl/gstfakesink.sgml:
27818 * docs/gst/tmpl/gstfakesrc.sgml:
27819 * docs/gst/tmpl/gstfilesink.sgml:
27820 * docs/gst/tmpl/gstfilesrc.sgml:
27821 * docs/gst/tmpl/gstfilter.sgml:
27822 * docs/gst/tmpl/gstformat.sgml:
27823 * docs/gst/tmpl/gstghostpad.sgml:
27824 * docs/gst/tmpl/gstimplementsinterface.sgml:
27825 * docs/gst/tmpl/gstindex.sgml:
27826 * docs/gst/tmpl/gstindexfactory.sgml:
27827 * docs/gst/tmpl/gstinfo.sgml:
27828 * docs/gst/tmpl/gstiterator.sgml:
27829 * docs/gst/tmpl/gstmacros.sgml:
27830 * docs/gst/tmpl/gstmemchunk.sgml:
27831 * docs/gst/tmpl/gstminiobject.sgml:
27832 * docs/gst/tmpl/gstobject.sgml:
27833 * docs/gst/tmpl/gstpad.sgml:
27834 * docs/gst/tmpl/gstpadtemplate.sgml:
27835 * docs/gst/tmpl/gstparse.sgml:
27836 * docs/gst/tmpl/gstpipeline.sgml:
27837 * docs/gst/tmpl/gstplugin.sgml:
27838 * docs/gst/tmpl/gstpluginfeature.sgml:
27839 * docs/gst/tmpl/gstquery.sgml:
27840 * docs/gst/tmpl/gstqueue.sgml:
27841 * docs/gst/tmpl/gstregistry.sgml:
27842 * docs/gst/tmpl/gstregistrypool.sgml:
27843 * docs/gst/tmpl/gstscheduler.sgml:
27844 * docs/gst/tmpl/gstschedulerfactory.sgml:
27845 * docs/gst/tmpl/gststructure.sgml:
27846 * docs/gst/tmpl/gstsystemclock.sgml:
27847 * docs/gst/tmpl/gsttaglist.sgml:
27848 * docs/gst/tmpl/gsttagsetter.sgml:
27849 * docs/gst/tmpl/gsttrace.sgml:
27850 * docs/gst/tmpl/gsttrashstack.sgml:
27851 * docs/gst/tmpl/gsttypefind.sgml:
27852 * docs/gst/tmpl/gsttypefindfactory.sgml:
27853 * docs/gst/tmpl/gsttypes.sgml:
27854 * docs/gst/tmpl/gsturihandler.sgml:
27855 * docs/gst/tmpl/gsturitype.sgml:
27856 * docs/gst/tmpl/gstutils.sgml:
27857 * docs/gst/tmpl/gstvalue.sgml:
27858 * docs/gst/tmpl/gstversion.sgml:
27859 * docs/gst/tmpl/gstxml.sgml:
27860 * docs/libs/tmpl/gstcontrol.sgml:
27861 * docs/libs/tmpl/gstdataprotocol.sgml:
27862 * docs/libs/tmpl/gstdparam.sgml:
27863 * docs/libs/tmpl/gstdplinint.sgml:
27864 * docs/libs/tmpl/gstdpman.sgml:
27865 * docs/libs/tmpl/gstdpsmooth.sgml:
27866 * docs/libs/tmpl/gstgetbits.sgml:
27867 * docs/libs/tmpl/gstunitconvert.sgml:
27868 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27869 (gst_push_src_base_init), (gst_push_src_class_init),
27870 (gst_push_src_init), (gst_push_src_create):
27871 * gst/base/gstpushsrc.h:
27872 * gst/elements/gstelements.c:
27873 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27874 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27875 (gst_fake_sink_init), (gst_fake_sink_set_property),
27876 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27877 (gst_fake_sink_event), (gst_fake_sink_preroll),
27878 (gst_fake_sink_render), (gst_fake_sink_change_state):
27879 * gst/elements/gstfakesink.h:
27880 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27881 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27882 (gst_fake_src_base_init), (gst_fake_src_class_init),
27883 (gst_fake_src_init), (gst_fake_src_event_handler),
27884 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27885 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27886 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27887 (gst_fake_src_create_buffer), (gst_fake_src_create),
27888 (gst_fake_src_start), (gst_fake_src_stop):
27889 * gst/elements/gstfakesrc.h:
27890 * gst/elements/gstfilesink.c: (_do_init),
27891 (gst_file_sink_base_init), (gst_file_sink_class_init),
27892 (gst_file_sink_init), (gst_file_sink_dispose),
27893 (gst_file_sink_set_location), (gst_file_sink_set_property),
27894 (gst_file_sink_get_property), (gst_file_sink_open_file),
27895 (gst_file_sink_close_file), (gst_file_sink_query),
27896 (gst_file_sink_event), (gst_file_sink_render),
27897 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27898 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27899 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27900 * gst/elements/gstfilesink.h:
27901 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27902 (gst_file_src_class_init), (gst_file_src_init),
27903 (gst_file_src_finalize), (gst_file_src_set_location),
27904 (gst_file_src_set_property), (gst_file_src_get_property),
27905 (gst_file_src_map_region), (gst_file_src_map_small_region),
27906 (gst_file_src_create_mmap), (gst_file_src_create_read),
27907 (gst_file_src_create), (gst_file_src_is_seekable),
27908 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27909 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27910 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27911 (gst_file_src_uri_handler_init):
27912 * gst/elements/gstfilesrc.h:
27913 more autistic cleanliness in functions/names/defines
27915 2005-07-13 Andy Wingo <wingo@pobox.com>
27917 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27918 source couldn't negotiate.
27920 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27924 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27925 function. I am channeling Hades. Put your boots on suckers!!!
27927 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27929 * testsuite/caps/Makefile.am:
27930 * testsuite/caps/value_compare.c:
27931 * testsuite/caps/value_intersect.c:
27932 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27933 move two testsuite apps over to the check dir
27935 2005-07-12 Wim Taymans <wim@fluendo.com>
27937 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27938 Added more debug info in the negotiate process.
27940 * gst/gstmessage.h:
27941 Prepare for segment playback.
27943 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27949 * tools/gst-launch.c: (main):
27950 NULL pipeline on errors.
27952 2005-07-12 Andy Wingo <wingo@pobox.com>
27954 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27955 not it comes from a malloc region. Make sure our copy gets freed.
27957 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27959 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27960 * check/gst/gstmessage.c: (GST_START_TEST):
27961 * check/gst/gststructure.c: (GST_START_TEST),
27962 (gst_structure_suite), (main):
27964 * gst/gstelement.c: (gst_element_message_full):
27965 clean up GError and debug string now that they get copied
27966 * gst/gstmessage.c: (gst_message_new_error),
27967 (gst_message_new_warning), (gst_message_parse_error),
27968 (gst_message_parse_warning):
27969 use GST_TYPE_G_ERROR for structure_new, and take copies of
27970 arguments, so that we don't mess up refcounting
27972 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27974 * check/Makefile.am:
27975 add per-test valgrind targets
27976 * check/gst-libs/gdp.c: (GST_START_TEST),
27977 (gst_data_protocol_suite), (main):
27980 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27982 * check/Makefile.am:
27983 instate more valgrindable tests
27984 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27985 (GST_START_TEST), (fakesrc_suite):
27986 * check/gst/gstpad.c: (GST_START_TEST):
27987 * check/gst/gststructure.c: (GST_START_TEST):
27989 * docs/gst/tmpl/gstminiobject.sgml:
27990 * gst/gstpad.c: (gst_pad_finalize):
27991 fix the static mutex leak
27993 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27995 * check/Makefile.am:
27996 add two more tests for valgrinding
27997 * check/gst/gstvalue.c: (GST_START_TEST):
27998 test refcount of deserialized buffer, found a leak
27999 * docs/gst/gstreamer-docs.sgml:
28000 * docs/gst/gstreamer-sections.txt:
28001 * docs/gst/gstreamer.types:
28002 * docs/gst/tmpl/gstminiobject.sgml:
28003 add miniobject to docs
28004 * gst/gstminiobject.c:
28006 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28007 (gst_string_unwrap):
28008 fix a hard-to-find invalid write for one of the tests
28009 fix a leak for deserialized buffers
28011 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28013 * docs/pwg/advanced-events.xml:
28014 * docs/pwg/advanced-request.xml:
28015 * docs/pwg/advanced-scheduling.xml:
28016 * docs/pwg/appendix-porting.xml:
28017 * docs/pwg/building-boiler.xml:
28018 * docs/pwg/intro-preface.xml:
28019 * docs/pwg/other-ntoone.xml:
28020 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28021 of example code and explanation for pad activation, loop() and
28022 getrange() functions and a bit more. Remove old comments pointing
28024 * examples/pwg/Makefile.am:
28025 Add loop/getrange examples.
28027 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28030 check for valgrind binary + some fixes
28032 valgrind suppressions for the tests
28033 * check/Makefile.am:
28034 add a valgrind: target that valgrinds the unit tests
28035 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28036 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28037 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28038 * check/gst/gstghostpad.c:
28040 * check/gst/gstdata.c:
28042 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28043 (thread_unref), (gst_mini_object_suite), (main):
28045 * gst/gst.c: (gst_deinit):
28047 add a method to clean up.
28048 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28049 (gst_system_clock_obtain):
28050 allow for disposing the system clock.
28051 * tools/gst-launch.c: (main):
28054 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28056 * docs/gst/tmpl/gstbasesrc.sgml:
28057 * docs/gst/tmpl/gstfakesrc.sgml:
28058 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28059 (gst_base_src_init), (gst_base_src_set_property),
28060 (gst_base_src_get_property), (gst_base_src_get_range),
28061 (gst_base_src_start):
28062 * gst/base/gstbasesrc.h:
28063 add num-buffers property
28064 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28065 (gst_fakesrc_init), (gst_fakesrc_set_property),
28066 (gst_fakesrc_get_property), (gst_fakesrc_create),
28067 (gst_fakesrc_start):
28068 remove num-buffers property
28070 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28072 * docs/gst/gstreamer-sections.txt:
28073 * docs/gst/tmpl/gstbasesink.sgml:
28074 * docs/gst/tmpl/gstbasesrc.sgml:
28075 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28076 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28077 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28078 (gst_base_sink_set_property), (gst_base_sink_get_property),
28079 (gst_base_sink_handle_object), (gst_base_sink_event),
28080 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28081 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28082 (gst_base_sink_loop), (gst_base_sink_deactivate),
28083 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28084 (gst_base_sink_change_state):
28085 * gst/base/gstbasesink.h:
28086 * gst/base/gstbasesrc.h:
28087 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28088 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28089 (gst_filesink_init):
28090 more macro splitting
28092 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28094 * gst/gstelement.c: (gst_element_get_bus):
28096 * tools/gst-launch.c: (check_intr), (event_loop):
28099 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28101 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28104 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28106 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28107 (gst_base_src_finalize):
28108 add finalize method and clean up properly
28109 * gst/gstpipeline.c: (gst_pipeline_dispose):
28112 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28114 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28116 add more things to check
28117 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28118 * gst/gstelement.c:
28121 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28123 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28124 (GST_START_TEST), (fakesrc_suite):
28125 * check/gst-libs/gdp.c: (GST_START_TEST):
28126 * check/gst/gst.c: (GST_START_TEST):
28127 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28128 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28129 * check/gst/gstbus.c: (GST_START_TEST):
28130 * check/gst/gstcaps.c: (GST_START_TEST):
28131 * check/gst/gstdata.c: (GST_START_TEST):
28132 * check/gst/gstelement.c: (GST_START_TEST):
28133 * check/gst/gstghostpad.c: (GST_START_TEST):
28134 * check/gst/gstiterator.c: (GST_START_TEST):
28135 * check/gst/gstmessage.c: (GST_START_TEST):
28136 * check/gst/gstobject.c: (GST_START_TEST):
28137 * check/gst/gstpad.c: (GST_START_TEST):
28138 * check/gst/gststructure.c: (GST_START_TEST):
28139 * check/gst/gstsystemclock.c: (GST_START_TEST),
28140 (gst_systemclock_suite):
28141 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28142 * check/gst/gstvalue.c: (GST_START_TEST):
28143 * check/pipelines/cleanup.c: (GST_START_TEST):
28144 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28145 * check/states/sinks.c: (GST_START_TEST):
28146 * check/gstcheck.c: (gst_check_init):
28147 * check/gstcheck.h:
28148 add debugging category
28149 use GST_START_TEST now, so we add a debug line
28151 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28153 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28154 add test for state change message on a bin
28155 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28157 * gst/gstbin.c: (gst_bin_init):
28158 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28159 * gst/gstelement.c: (gst_element_post_message),
28160 (gst_element_set_state):
28161 * gst/gstelementfactory.c: (gst_element_factory_create):
28162 * gst/gstmessage.c: (gst_message_new):
28163 * gst/gstscheduler.c:
28164 various debugging additions and cleanups
28166 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28168 * check/Makefile.am:
28169 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28171 adding tests for elements
28172 * gst/gstelement.c: (gst_element_dispose):
28174 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28176 * gst/registries/gstlibxmlregistry.c: (load_feature):
28177 plug more leaks. A simple gst_init() now is leakfree, yay.
28179 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28181 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28182 (gst_xml_registry_load):
28183 plug another memleak
28185 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28188 use GST_SET_ERROR_CFLAGS
28189 * docs/faq/cvs.xml:
28190 change to ERROR_CFLAGS
28192 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28195 make GST_ERROR_CFLAGS overridable and re-enable Werror
28196 * docs/faq/cvs.xml:
28197 add a note about error CFLAGS
28198 * docs/gst/tmpl/gstfakesrc.sgml:
28199 * gst/elements/gstfakesrc.c:
28200 comment out some unused code
28201 * gst/gst.c: (split_and_iterate):
28202 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28206 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28208 * common/Makefile.am:
28209 * common/gtk-doc.mak:
28210 * docs/gst/Makefile.am:
28211 factor out gtk-doc.mak
28213 2005-07-07 Wim Taymans <wim@fluendo.com>
28215 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28216 (gst_thread_scheduler_dispose):
28217 Unlock the STREAM_LOCK completely.
28219 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28221 * check/Makefile.am:
28222 * check/elements/.cvsignore:
28223 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28224 (START_TEST), (fakesrc_suite), (main):
28225 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28226 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28227 (gst_fakesrc_create), (gst_fakesrc_start):
28228 * gst/elements/gstfakesrc.h:
28229 adding a first element test
28231 2005-07-07 Andy Wingo <wingo@pobox.com>
28233 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28236 2005-07-07 Wim Taymans <wim@fluendo.com>
28242 2005-07-07 Wim Taymans <wim@fluendo.com>
28244 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28245 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28246 Allow subclasses to implement their own negotiation.
28248 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28250 * docs/design/part-gstbin.txt:
28251 * docs/design/part-gstpipeline.txt:
28252 Update design notes to reflect the movement of
28253 responsibility for bus handling from GstPipeline to
28256 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28259 Remove unnecessary queue2/3/4 examples.
28261 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28263 * examples/Makefile.am:
28264 * examples/helloworld/helloworld.c: (event_loop), (main):
28265 * examples/queue/queue.c: (event_loop), (main):
28266 * examples/queue2/queue2.c: (main):
28267 Update a couple of the examples to work again.
28269 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28270 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28271 Spelling corrections and extra debug.
28273 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28274 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28275 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28277 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28278 (gst_pipeline_change_state):
28279 * gst/gstpipeline.h:
28280 Move the bus handler for children to the GstBin, and create a
28281 separate bus for receiving messages from children to the one the
28282 bus sends 'upwards' on.
28284 2005-07-06 Wim Taymans <wim@fluendo.com>
28287 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28288 (gst_base_sink_handle_object), (gst_base_sink_loop),
28289 (gst_base_sink_change_state):
28290 * gst/base/gstbasesink.h:
28291 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28292 (gst_base_src_init), (gst_base_src_setcaps),
28293 (gst_base_src_getcaps), (gst_base_src_loop),
28294 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28295 (gst_base_src_start), (gst_base_src_change_state):
28296 * gst/base/gstbasesrc.h:
28297 Make basesrc negotiate.
28298 Handle the case where preroll fails in basesink.
28301 2005-07-06 Wim Taymans <wim@fluendo.com>
28303 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28304 Implement the fixate function.
28305 Clean up acceptcaps.
28307 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28309 * docs/pwg/building-filterfactory.xml:
28310 * docs/pwg/pwg.xml:
28311 Remove never-written filter-factory chapter; I'll add the various
28312 base classes to part 4 ("other element types") later on.
28314 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28316 * docs/pwg/advanced-negotiation.xml:
28317 * docs/pwg/building-boiler.xml:
28318 * docs/pwg/building-pads.xml:
28319 * docs/pwg/pwg.xml:
28320 * examples/pwg/Makefile.am:
28321 Add a chapter on caps negotiation, simplify the original code
28322 samples a bit w.r.t. caps negotiation, add link to the advanced
28323 section. Add a bunch of examples showing different use cases of
28324 different types of caps negotiation. Upstream renegotiation isn't
28325 fully documented yet since nobody knows how that works.
28327 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28329 * check/gst/gstpad.c:
28330 * check/gstcheck.c:
28331 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28332 if pad has no parent, return NULL as list of internal links
28334 2005-07-05 Andy Wingo <wingo@pobox.com>
28336 * gst/elements/gstfilesrc.c:
28337 * gst/elements/gstfakesrc.c:
28338 * gst/base/gstpushsrc.c:
28339 * gst/base/gstbasesrc.h:
28340 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28342 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28345 better report generation target (lcov needs a patch)
28347 2005-07-05 Andy Wingo <wingo@pobox.com>
28349 * gst/elements, testsuite: Null if we got it...
28351 2005-07-05 Wim Taymans <wim@fluendo.com>
28354 * libs/gst/dataprotocol/Makefile.am:
28355 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28356 * libs/gst/dataprotocol/dataprotocol.h:
28357 * pkgconfig/Makefile.am:
28358 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28359 * pkgconfig/gstreamer-dataprotocol.pc.in:
28360 Ported dataprotol to 0.9.
28361 Added pkgconfig files.
28363 2005-07-05 Andy Wingo <wingo@pobox.com>
28365 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28366 Default to returning TRUE for the case when tranform_caps returns
28367 a fixed caps, like for identity or volume.
28369 * check/gst/gstbus.c (pound_bus_with_messages):
28370 * check/gst/gstmessage.c (START_TEST):
28371 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28372 message API change.
28374 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28375 logic weaks here: always run transform_caps, trying passthrough
28376 operation only if the original caps intersects with the transform.
28378 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28379 source and sink caps.
28381 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28382 Intersect the peer caps with the pad template before going into
28384 (gst_base_transform_transform_caps): More debugging.
28386 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28389 2005-07-04 Edward Hervey <edward@fluendo.com>
28393 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28396 2005-07-04 Andy Wingo <wingo@pobox.com>
28398 * check/gst/gstpad.c: Only set explicit caps on pads.
28400 2005-07-01 Andy Wingo <wingo@pobox.com>
28402 * tests/network-clock.scm: Commentary update.
28404 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28405 Didn't really make sense, not implementable with basetransform,
28407 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28408 attempt at implementing the sync property, needs an unlock method.
28410 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28411 New func, by default returns the same caps (the identity
28413 (gst_base_transform_getcaps): Uses transform_caps to return
28414 something sensible.
28415 (gst_base_transform_setcaps): Complicated logic to get caps on
28416 both pads, even if they are different, and to call set_caps once
28417 for every time both pads get their caps set.
28418 (gst_base_transform_handle_buffer): Give the ref to the transform
28419 function. Allows in-place modification of the buffer.
28421 * gst/base/gstbasetransform.h (transform_caps): New class method.
28422 Given caps on one side, what can I do on the other.
28423 (set_caps): Take two caps, one for each side of the element.
28426 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28427 caps in place. This is safe because we can check the mutability of
28428 the caps, and a good idea because fixate functions are just called
28429 as a matter of last resort. (Not actually implemented.)
28430 (gst_pad_set_caps): If the caps we're setting is actually the same
28431 as the existing pad caps, just update the pointer without calling
28432 setcaps. Assert that caps is either NULL or fixed, as per the
28435 * gst/gstghostpad.c: Update for fixate changes.
28437 2005-07-02 Andy Wingo <wingo@pobox.com>
28440 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28441 two refcounts makes it immutable, which is enough. Doc more.
28443 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28445 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28446 Put the mini_object into GValue as a mini_object,
28447 not a gpointer, since that's how we declared
28450 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28452 * examples/pwg/Makefile.am:
28453 Fix buildbot again.
28455 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28457 * docs/pwg/building-testapp.xml:
28459 * examples/pwg/Makefile.am:
28462 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28465 * examples/Makefile.am:
28466 * examples/pwg/Makefile.am:
28467 * examples/pwg/extract.pl:
28468 Enable building the PWG examples.
28469 * docs/pwg/advanced-interfaces.xml:
28470 Add URI interface stub.
28471 * docs/pwg/advanced-types.xml:
28472 * docs/pwg/other-autoplugger.xml:
28473 * docs/pwg/appendix-porting.xml:
28474 * docs/pwg/pwg.xml:
28475 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28476 * docs/pwg/building-boiler.xml:
28477 * docs/pwg/building-chainfn.xml:
28478 * docs/pwg/building-pads.xml:
28479 * docs/pwg/building-props.xml:
28480 * docs/pwg/building-state.xml:
28481 * docs/pwg/building-testapp.xml:
28482 Update the building-*.xml parts for 0.9 changes. All examples
28483 code blocks compile in examples/pwg/*.
28485 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28487 * docs/manual/advanced-autoplugging.xml:
28488 * docs/manual/appendix-checklist.xml:
28489 * docs/manual/appendix-integration.xml:
28490 * docs/manual/highlevel-components.xml:
28491 Fix playbin/decodebin examples, update docs a bit, mention bus
28492 instead of signals in various places, mention kmplayer and
28493 kaffeine since they have a working GStreamer backend in the KDE
28496 2005-06-30 Wim Taymans <wim@fluendo.com>
28499 * docs/design/draft-ghostpads.txt:
28500 * docs/design/draft-push-pull.txt:
28501 * docs/design/draft-query.txt:
28502 * docs/design/part-TODO.txt:
28503 * docs/design/part-query.txt:
28504 Added CHANGES-0.9 doc, updated status of other docs.
28509 2005-06-30 Wim Taymans <wim@fluendo.com>
28511 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28512 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28513 (gst_base_sink_change_state):
28514 * gst/base/gstbasesink.h:
28515 Some tweaks, only EOS and a buffer complete a preroll.
28517 2005-06-30 Andy Wingo <wingo@pobox.com>
28519 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28520 activate_push down to the internal pad as well.
28522 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28524 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28526 * gst/gsttaginterface.c:
28527 Some documentation fixes (#307394 and #307397).
28529 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28531 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28533 * gst/gstvalue.c: (gst_value_intersect_list):
28534 Fix memleak (#309125).
28536 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28538 * docs/manual/advanced-dataaccess.xml:
28539 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28540 * docs/manual/basics-pads.xml:
28541 Add reference for filtered caps to above chapter.
28543 2005-06-30 Wim Taymans <wim@fluendo.com>
28545 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28546 (gst_bin_change_state):
28548 Lame attempt at making the state change function a bit
28551 2005-06-30 Wim Taymans <wim@fluendo.com>
28553 * docs/design/part-clocks.txt:
28554 * docs/design/part-element-sink.txt:
28555 * docs/design/part-events.txt:
28556 * docs/design/part-preroll.txt:
28557 * docs/design/part-states.txt:
28558 Some more tweeks and additions to the docs.
28560 2005-06-30 Wim Taymans <wim@fluendo.com>
28562 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28563 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28564 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28565 (gst_pad_check_pull_range), (gst_pad_get_range),
28566 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28568 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28569 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28570 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28571 (gst_pad_remove_buffer_probe):
28572 Removed atomic operations, use existing LOCK.
28573 Move exception handling out of main code path.
28575 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28577 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28578 (silly_return_true_function), (gst_pad_class_init),
28579 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28580 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28581 (gst_pad_send_event):
28582 Fix accumulator, add default value by using _emitv() instead
28583 of _emit() for signal emission.
28585 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28587 * docs/manual/advanced-dataaccess.xml:
28588 * examples/manual/Makefile.am:
28590 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28593 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28595 * gst/elements/gstfilesink.c: (gst_filesink_render):
28596 Simplify code so that we don't have to handle short
28597 writes and return GST_FLOW_ERROR if an error occured.
28599 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28601 * docs/gst/gstreamer-docs.sgml:
28602 Remove probes more.
28604 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28606 * docs/gst/gstreamer-sections.txt:
28607 * docs/gst/tmpl/gstpad.sgml:
28608 * docs/gst/tmpl/gstprobe.sgml:
28610 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28611 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28612 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28613 (gst_pad_push_event), (gst_pad_send_event):
28615 * gst/gstutils.c: (gst_pad_add_data_probe),
28616 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28617 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28618 (gst_pad_remove_buffer_probe):
28620 Remove old probes, add new g-signal-based probes and some utility
28623 2005-06-29 Edward Hervey <edward@fluendo.com>
28625 * gst/gstelementfactory.c:
28628 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28629 the definition to the header file.
28631 2005-06-29 Andy Wingo <wingo@pobox.com>
28633 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28634 plugins from the source directory.
28636 2005-06-29 Wim Taymans <wim@fluendo.com>
28638 * docs/gst/tmpl/gstbuffer.sgml:
28639 * docs/gst/tmpl/gstclock.sgml:
28640 Some fixings for blantently wrong text.
28642 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28644 * check/Makefile.am:
28645 * gst/gst.c: (add_path_func), (init_pre):
28646 * gst/gstregistry.c: (gst_registry_add_path):
28647 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28648 only scan the GST_PLUGIN_PATH locations, and not add
28651 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28653 * docs/gst/gstreamer-sections.txt:
28654 * docs/gst/tmpl/gstbasesrc.sgml:
28655 * gst/gstelement.c:
28656 * gst/gstelement.h:
28661 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28663 * docs/manual/advanced-autoplugging.xml:
28664 Fix autoplugging example.
28666 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28668 * docs/manual/advanced-autoplugging.xml:
28669 * docs/manual/mime-world.fig:
28670 Try to get autoplugging working, fix type detection. Fix text
28671 in hello-world image.
28673 2005-06-29 Wim Taymans <wim@fluendo.com>
28675 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28676 (gst_base_sink_change_state):
28680 map SIGNAL and BROADCAST to the right function.
28683 Remove redundant braces.
28685 * gst/gstpad.c: (gst_pad_set_caps):
28686 Don't call setcaps function when reseting caps to NULL.
28688 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28689 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28690 (gst_system_clock_id_unschedule):
28691 Use BROADCAST as this is what we do.
28693 2005-06-29 Wim Taymans <wim@fluendo.com>
28695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28696 We are actually prerolling before commiting the state
28699 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28701 * docs/manual/advanced-clocks.xml:
28702 * docs/manual/advanced-interfaces.xml:
28703 * docs/manual/advanced-metadata.xml:
28704 * docs/manual/advanced-position.xml:
28705 * docs/manual/advanced-schedulers.xml:
28706 * docs/manual/advanced-threads.xml:
28707 * docs/manual/appendix-porting.xml:
28708 * docs/manual/basics-bins.xml:
28709 * docs/manual/basics-bus.xml:
28710 * docs/manual/basics-elements.xml:
28711 * docs/manual/basics-helloworld.xml:
28712 * docs/manual/basics-pads.xml:
28713 * docs/manual/highlevel-components.xml:
28714 * docs/manual/manual.xml:
28715 * docs/manual/thread.fig:
28716 Update (until threads/scheduling) Application Development Manual;
28717 remove GstThread, add GstBus, add simple porting checklist, add
28718 documentation for tag writing, clocks, make all examples until this
28719 part compile and run.
28720 * examples/manual/Makefile.am:
28721 Update from changes to Application Development Manual; add bus
28722 example, remove thread example.
28724 2005-06-28 Wim Taymans <wim@fluendo.com>
28726 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28727 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28728 (gst_bus_source_dispatch):
28729 Add debugging messages.
28730 Make internal methods static.
28731 Handle the case where the bus is flushed in the handler.
28733 * gst/gstelement.c: (gst_element_get_bus):
28734 Fix refcount in _get_bus();
28736 * gst/gstpipeline.c: (gst_pipeline_change_state),
28737 (gst_pipeline_get_clock_func):
28738 Clock refcounting fixes.
28739 Handle the case where preroll timed out more gracefully.
28741 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28742 Clean up the internal thread in dispose. This is needed
28743 for subclasses that actually get disposed.
28745 * gst/schedulers/threadscheduler.c:
28746 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28747 (gst_thread_scheduler_dispose):
28748 Free thread pool in dispose.
28750 2005-06-28 Andy Wingo <wingo@pobox.com>
28752 * tests/network-clock-utils.scm (debug, print-event): New utils.
28754 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28755 (*packet-loss*): Unified loss probability.
28756 (network-time): Report out-of-band events.
28758 * tests/plot-data: Add support for out-of-band events. Hack it
28759 into this script instead of passing it down the pipe; should fix
28762 2005-06-28 Wim Taymans <wim@fluendo.com>
28764 * docs/gst/gstreamer.types:
28765 * docs/gst/tmpl/gstbasesrc.sgml:
28766 * docs/gst/tmpl/gstpad.sgml:
28769 2005-06-28 Wim Taymans <wim@fluendo.com>
28771 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28772 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28773 (gst_proxy_pad_do_fixatecaps):
28774 Correctly proxy the check_pull_range function.
28776 2005-06-28 Andy Wingo <wingo@pobox.com>
28778 * tests/network-clock.scm: Removed need for slib.
28780 2005-06-28 Wim Taymans <wim@fluendo.com>
28782 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28783 (gst_basesink_preroll_queue_flush):
28784 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28785 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28786 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28787 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28788 (gst_proxy_pad_set_property):
28791 * gst/gstqueue.c: (gst_queue_init):
28792 The deprecated pad loop function is removed now.
28794 2005-06-28 Andy Wingo <wingo@pobox.com>
28796 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28797 New parameters, simulate network packet loss.
28799 * tests/network-clock-utils.scm: Initialize the RNG.
28801 2005-06-28 Wim Taymans <wim@fluendo.com>
28803 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28804 (gst_basesink_event), (gst_basesink_deactivate):
28805 Flushing the preroll queue always needs to unlock the waiters.
28807 2005-06-28 Edward Hervey <edward@fluendo.com>
28809 * gst/gstpipeline.c: (gst_pipeline_send_event):
28810 Wheen a seek was successful on a pipeline, set the stream_time to the
28811 seek offset in order to have a synchronized stream_time.
28813 2005-06-28 Wim Taymans <wim@fluendo.com>
28815 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28816 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28817 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28818 (gst_proxy_pad_do_fixatecaps):
28819 Call wrapper function instead of just calling the function
28820 pointers. This takes care of any locking and whatmore.
28822 2005-06-28 Wim Taymans <wim@fluendo.com>
28824 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28825 (gst_pad_pull_range):
28827 CONNECTED -> LINKED.
28829 2005-06-28 Andy Wingo <wingo@pobox.com>
28831 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28832 source-munging commit!!!
28834 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28835 (gst_object_sink): Take gpointer arguments, not GstObject --
28836 avoids casts. Like GLib.
28838 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28841 2005-06-27 Andy Wingo <wingo@pobox.com>
28843 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28846 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28847 returns a sorted copy of the trace list.
28848 (gst_alloc_trace_print_live): New API, only prints traces with
28849 live objects. Sort the list.
28850 (gst_alloc_trace_print_all): Sort the list.
28851 (gst_alloc_trace_print): Align columns.
28853 * gst/elements/gstttypefindelement.c:
28854 * gst/elements/gsttee.c:
28855 * gst/base/gstbasesrc.c:
28856 * gst/base/gstbasesink.c:
28857 * gst/base/gstbasetransform.c:
28858 * gst/gstqueue.c: Adapt for pad activation changes.
28860 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28862 (gst_pipeline_dispose): Drop ref on sched.
28864 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28865 (gst_pad_activate_default): Push mode by default.
28866 (pre_activate_switch, post_activate_switch): New stubs, things to
28867 do before and after switching activation modes on pads.
28868 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28869 the pad's activate function to choose which mode to activate.
28870 Shortcut on deactivation and call the right function directly.
28871 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28873 (gst_pad_activate_push): New API, same for push mode.
28874 (gst_pad_set_activate_function)
28875 (gst_pad_set_activatepull_function)
28876 (gst_pad_set_activatepush_function): Setters for new API.
28878 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28879 Trace all miniobjects.
28880 (gst_mini_object_make_writable): Unref the arg if we copy, like
28881 gst_caps_make_writable.
28883 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28885 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28886 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28887 Adapt for new pad API.
28889 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28891 * gst/gstelement.h:
28892 * gst/gstelement.c (gst_element_iterate_src_pads)
28893 (gst_element_iterate_sink_pads): New API functions.
28895 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28896 should fold into gstiterator.c in some form.
28897 (gst_element_pads_activate): Simplified via use of fold and
28898 delegation of decisions to gstpad->activate.
28900 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28903 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28904 class once in init, like gstmessage. Didn't run into this issue
28905 but it seems correct. Don't initialize a trace, gstminiobject does
28908 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28909 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28911 (assert_live_count): New util function, uses alloc traces to check
28914 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28915 To be modified when unlink drops the internal pad.
28917 2005-06-27 Wim Taymans <wim@fluendo.com>
28919 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28920 (gst_bin_change_state):
28921 Cleanup the get_state() function a little, make sure it
28922 iterates the same set of elements.
28923 Added stub iterate_state_order().
28925 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28927 * docs/gst/gstreamer-docs.sgml:
28928 * docs/gst/gstreamer-sections.txt:
28929 * docs/gst/gstreamer.types:
28930 * docs/gst/tmpl/gstbasesink.sgml:
28931 * docs/gst/tmpl/gstbasesrc.sgml:
28932 * docs/gst/tmpl/gstbasetransform.sgml:
28933 * docs/gst/tmpl/gstelement.sgml:
28934 * docs/gst/tmpl/gstiterator.sgml:
28935 * gst/base/gstbasesrc.c:
28936 * gst/base/gstbasesrc.h:
28937 * gst/base/gstbasetransform.h:
28938 * gst/gstelement.c:
28939 * gst/gstiterator.h:
28940 adding basetransform and iterator docs
28942 2005-06-27 Andy Wingo <wingo@pobox.com>
28944 * docs/design/part-activation.txt: Notes on how activation should
28945 work -- not quite implemented yet.
28947 2005-06-25 Wim Taymans <wim@fluendo.com>
28949 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28950 At least get the chain function correct, needs more
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 Right, two problems here: ghostpads don't take locks and
28961 glib _rec_mutex_lock_full() with depth==0 still locks.
28962 Catch illegal locking and g_warn them.
28964 2005-06-25 Wim Taymans <wim@fluendo.com>
28966 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28967 Have to check for completion now...
28969 2005-06-25 Wim Taymans <wim@fluendo.com>
28971 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28972 (gst_basesink_handle_object), (gst_basesink_event),
28973 (gst_basesink_do_sync), (gst_basesink_handle_event),
28974 (gst_basesink_change_state):
28976 Unlock STREAM_LOCK whatever the recursion was.
28978 2005-06-25 Wim Taymans <wim@fluendo.com>
28980 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28981 (gst_basesink_preroll_queue_empty),
28982 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28983 (gst_basesink_event), (gst_basesink_do_sync),
28984 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28985 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28986 (gst_basesink_change_state):
28987 Reworked the base sink, handle event and buffer serialisation
28988 correctly and removed possible deadlock.
28989 Handle EOS correctly.
28991 2005-06-25 Wim Taymans <wim@fluendo.com>
28993 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28994 (gst_pipeline_change_state):
28995 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28996 Allow elements to post EOS in the state change function.
28997 Fix up -launch, make it exit the poll loop when the
28998 pipeline actually changed state.
28999 Fix up warning parsing in -launch.
29001 2005-06-25 Wim Taymans <wim@fluendo.com>
29003 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29004 (gst_tee_sink_activate):
29005 Core takes STREAM_LOCK for us now.
29007 2005-06-25 Wim Taymans <wim@fluendo.com>
29009 * gst/gstelement.c: (gst_element_get_state_func),
29010 (gst_element_set_state):
29011 * gst/gstelement.h:
29012 * gst/gstmessage.c: (gst_message_parse_error),
29013 (gst_message_parse_warning):
29014 Keep track of current target state while performing a state
29015 change so that subclasses can do something interesting.
29016 Fix parsing of warning/error messages when GError is NULL.
29018 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29020 * docs/gst/Makefile.am:
29021 * docs/gst/gstreamer-docs.sgml:
29022 * docs/gst/gstreamer-sections.txt:
29023 * docs/gst/gstreamer.types:
29024 * docs/gst/tmpl/gstbasesink.sgml:
29025 * docs/gst/tmpl/gstbasesrc.sgml:
29026 * docs/gst/tmpl/gstbin.sgml:
29027 * docs/gst/tmpl/gstcompat.sgml:
29028 * docs/gst/tmpl/gstfakesink.sgml:
29029 * docs/gst/tmpl/gstfakesrc.sgml:
29030 * docs/gst/tmpl/gstfilesink.sgml:
29031 * docs/gst/tmpl/gstfilesrc.sgml:
29032 * docs/gst/tmpl/gstindex.sgml:
29033 * docs/manual/appendix-quotes.xml:
29034 * gst/base/gstbasesrc.h:
29035 * gst/elements/gstfakesrc.h:
29036 * gst/gstmessage.h:
29037 start pulling in base classes and elements in our docs
29039 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29041 * docs/gst/Makefile.am:
29042 * docs/libs/Makefile.am:
29043 fixed make distcheck with gtk-doc 1.3
29045 2005-06-23 Wim Taymans <wim@fluendo.com>
29047 * gst/gstelement.c: (gst_element_get_state_func),
29048 (gst_element_set_state), (gst_element_change_state):
29049 When the state did not change, also report NO_PREROLL
29052 2005-06-23 Wim Taymans <wim@fluendo.com>
29054 * gst/gstpad.c: (gst_pad_event_default):
29055 * gst/gstqueue.c: (gst_queue_loop):
29056 No unsafe task pausing please.
29058 2005-06-23 Wim Taymans <wim@fluendo.com>
29060 * gst/schedulers/threadscheduler.c:
29061 (gst_thread_scheduler_task_start),
29062 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29063 Ref the task before pushing it on the threadpool. This
29064 makes sure that we have a ref when the threadfunction is
29067 2005-06-23 Andy Wingo <wingo@pobox.com>
29069 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29070 offset is greater than the file's size.
29072 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29073 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29074 * gst/gstobject.c (gst_object_class_init): Make the class lock
29075 recursive. Wim won't let me drop deep_notify. Decodebin works
29076 again, whoopdy doo.
29078 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29079 internal pad, and hacks accordingly. Doesn't do it on the target
29080 pad because we change its caps. Probably catches all cases of
29082 (gst_ghost_pad_set_property): Connect to notify::caps as
29085 * tests/network-clock.scm (plot-simulation): Pipe data to the
29086 elite python skript.
29088 * tests/network-clock-utils.scm (define-parameter): New macro,
29089 defines a parameter that can be set via the command line.
29090 (set-parameter!, parse-parameter-arguments): Command line args
29093 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29096 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29098 * gst/elements/gsttypefindelement.c:
29099 (gst_type_find_element_handle_event):
29100 Don't restart typefinding on a discont.
29101 * gst/gstelement.c: (gst_element_set_state):
29102 Debug spelling fix.
29103 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29104 Allow changing mode of an active pad.
29105 Debug output fixes.
29106 * gst/registries/gstlibxmlregistry.c: (load_feature):
29107 Don't cast a static pad template to a normal pad template.
29109 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29111 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29112 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29113 remove gst_strtoll completely, since it didn't actually do
29114 anything more than what g_ascii_strtoull already does.
29115 check for range errors when deserializing
29116 do a cast for the unsigned cases; but further fixing needs
29117 a decision on what the interpretation of "(int)" and
29118 deserialization should be for values that fall outside the
29119 type's boundaries (ie, refuse, or interpret as casting)
29121 2005-06-23 Wim Taymans <wim@fluendo.com>
29123 * check/Makefile.am:
29124 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29125 * docs/design/part-live-source.txt:
29126 * docs/design/part-states.txt:
29127 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29128 (gst_basesrc_set_live), (gst_basesrc_is_live),
29129 (gst_basesrc_get_range), (gst_basesrc_activate),
29130 (gst_basesrc_change_state):
29131 * gst/base/gstbasesrc.h:
29132 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29133 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29134 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29135 * gst/gstelement.c: (gst_element_get_state_func),
29136 (gst_element_set_state):
29137 * gst/gstelement.h:
29139 * tools/gst-launch.c: (event_loop), (main):
29140 Added support for live sources and other elements that
29142 Updated design docs, added live-source design doc.
29143 Implemented live source functionality in basesrc
29144 Fix error condition in _bin_get_state()
29145 Implement live source handling in -launch.
29146 Added check for live sources.
29147 Fixed case in GstBin where elements were changed state
29151 2005-06-23 Andy Wingo <wingo@pobox.com>
29153 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29154 borken refcounting.
29156 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29157 gst_caps_replace takes care of this for us.
29159 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29160 gst_pad_set_caps on the target, not just its setcaps() function.
29162 * tests/network-clock.scm:
29163 * tests/network-clock-utils.scm: A network clock simulator.
29164 Something of an algorithmic testbed before doing something in C.
29166 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29168 * check/Makefile.am:
29169 * check/gst/capslist.h:
29170 copy over from 0.8, and add two with bitmasks specified with
29172 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29173 add test to parse everything from capslist.h
29174 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29176 add test for structure deserialization
29177 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29178 add tests for deserialization of strings to int types
29179 * gst/gststructure.c: (gst_structure_nth_field_name):
29180 * gst/gststructure.h:
29181 add a way to get the name of a field referenced by index
29182 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29183 instead of checking if the resulting long long lies between
29184 min and max, we check if the long long would fit into
29185 a number of bytes for the final type.
29186 This fixes cases where a string represents 2^32 - 1, which
29187 when cast to int would be the (valid) -1, but is bigger than
29190 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29192 * gst/parse/grammar.y:
29193 add a log line for type deserialization
29195 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29197 * check/gst/gstvalue.c: (START_TEST):
29198 * gst/gstvalue.c: (gst_value_deserialize):
29199 return long long, not int, so gint64 deserialization actually
29200 works. Is there any flag that makes the compiler check this ?
29203 2005-06-22 Wim Taymans <wim@fluendo.com>
29206 Added convenience macros for setting buffers in GValue.
29208 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29210 * check/gst/.cvsignore:
29211 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29212 add a test deserializing int64, and comment part out because
29215 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29217 * check/Makefile.am:
29218 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29219 * testsuite/Makefile.am:
29220 * testsuite/caps/Makefile.am:
29221 * testsuite/caps/value_serialize.c:
29222 * testsuite/test_gst_init.c:
29223 move a value_serialize test over
29225 2005-06-20 Wim Taymans <wim@fluendo.com>
29230 * gst/gstvalue.c: (gst_value_compare_buffer),
29231 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29232 (gst_value_compare_flags), (gst_value_serialize_flags),
29233 (gst_value_deserialize_flags), (_gst_value_initialize):
29234 Fix serialisation of buffers, they are not boxed types anymore
29236 2005-06-20 Wim Taymans <wim@fluendo.com>
29238 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29239 Testcase to show error in buffer-on-caps serialisation.
29241 2005-06-20 Andy Wingo <wingo@pobox.com>
29243 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29244 will be adding to later.
29246 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29247 if its socks fill with rocks.
29248 (gst_system_clock_obtain): Set the name on object construction.
29249 Avoid double-checked locking.
29251 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29253 * gst/gsturi.c: (gst_element_make_from_uri):
29254 Fix potential endless loop.
29256 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29258 * check/Makefile.am:
29260 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29262 move over from testsuite dir and clean up
29265 * testsuite/Makefile.am:
29266 * testsuite/tags/.cvsignore:
29267 * testsuite/tags/Makefile.am:
29268 * testsuite/tags/merge.c:
29269 remove testsuite/tags
29271 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29273 * docs/gst/gstreamer-sections.txt:
29274 * docs/gst/tmpl/gstenumtypes.sgml:
29275 * win32/gstenumtypes.c:
29276 clean up documentation build a little
29278 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29280 * check/gstcheck.h:
29281 add macros for checking refcounts on objects and caps
29282 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29283 add some more unit tests
29284 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29285 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29286 fix leaked refcounts (I hope :)) so unittest works
29290 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29292 * configure.ac: back to HEAD
29294 === release 0.9.1 ===
29296 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29302 2005-06-17 Andy Wingo <wingo@pobox.com>
29304 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29305 assert; it's always possible that the pad gets deactivated in
29306 between the checks in gstpad.c and the implementation. Rely on
29307 finish_preroll() to return a FLUSHING or similar instead of on the
29310 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29311 clock and post an EOS message if we come out of finish_preroll in
29314 2005-06-16 David Schleef <ds@schleef.org>
29316 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29317 (gst_capsfilter_set_property): Allow NULL as possible value
29318 for filter_caps property, indicating GST_CAPS_ANY.
29320 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29322 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29324 * gst/schedulers/Makefile.am:
29326 * gstreamer.spec.in:
29329 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29331 * gstreamer.spec.in:
29334 2005-06-08 Andy Wingo <wingo@pobox.com>
29336 * gst/gstutils.c: RPAD fixes all around.
29337 (gst_element_link_pads): Refcounting fixes.
29339 * tools/gst-inspect.c:
29340 * tools/gst-xmlinspect.c:
29342 * gst/base/gsttypefindhelper.c:
29343 * gst/base/gstbasesink.c:
29344 * gst/gstqueue.c: RPAD fixes.
29346 * gst/gstghostpad.h:
29347 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29348 pads. The tricky thing is they provide both source and sink
29349 interfaces, since they proxy the internal pad for the external
29350 pad, and vice versa. Implement with lower-level ProxyPad objects,
29351 with the interior proxy pad as a child of the exterior ghost pad.
29352 Should write a doc on this.
29354 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29355 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29358 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29359 pads are real pads. No ghost pads in this file. Not documenting
29360 the myriad s/RPAD/PAD/ and REALIZE fixes.
29361 (gst_pad_class_init): Add properties for "direction" and
29362 "template". Both are construct-only, so they can't change during
29363 the life of the pad. Fixes properly deriving from GstPad.
29364 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29365 derived objects, just set properties when creating the objects via
29367 (gst_pad_get_parent): Implement as a function, return NULL if the
29368 parent is not an element.
29369 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29370 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29372 * gst/gstobject.c (gst_object_class_init): Make name a construct
29373 property. Don't set it in the object init.
29375 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29376 with UNKNOWN direction.
29377 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29378 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29379 (gst_element_remove_pad): Remove ghost-pad special cases.
29380 (gst_element_pads_activate): Remove rpad cruft.
29382 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29383 catch the pad's-parent-not-an-element case.
29385 * gst/gst.h: Include gstghostpad.h.
29387 * gst/gst.c (init_post): No more real, ghost pads.
29389 * gst/Makefile.am: Add gstghostpad.[ch].
29391 * check/Makefile.am:
29392 * check/gst/gstbin.c:
29393 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29394 into a bin creates ghost pads, and that the refcounts are right.
29395 Partly moved from gstbin.c.
29397 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29399 * check/gst-libs/.cvsignore:
29400 * check/gst/.cvsignore:
29401 * check/pipelines/.cvsignore:
29403 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29404 (START_TEST), (cleanup_suite), (main):
29405 add some tests related to cleanup after running pipelines
29407 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29409 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29410 add a testsuite for GstBuffer
29412 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29414 * gst/gstminiobject.h:
29415 add defines for accessing the refcount
29417 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29419 * Makefile.am: added support for html unit test coverage reports
29421 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29423 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29424 Free existing caps if the capsfilter changes. Add a FIXME about
29425 setting those caps on the pads.
29427 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29428 Before adding a ghost pad to a parent bin, check that there isn't
29429 already one for the element on the bin. Prevents infinite recursion
29430 when using decodebin in parse pipelines. Andy says he'll rewrite the
29431 way this works anyway, so ignore the hack.
29433 2005-06-02 Andy Wingo <wingo@pobox.com>
29435 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29436 file size, pass it on to the type find helper.
29438 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29439 segment_start and segment_end properly according to the seek
29440 method. Segment_end is still a bit flaky because offset can be
29441 negative for CUR and END cases, but it takes -1 as an "unset"
29444 2005-06-02 Wim Taymans <wim@fluendo.com>
29446 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29447 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29448 (gst_basesink_activate):
29449 * gst/base/gstbasesink.h:
29450 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29451 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29452 (gst_pad_query), (gst_pad_start_task):
29454 * gst/gstqueue.c: (gst_queue_bufferalloc),
29455 (gst_queue_handle_sink_event), (gst_queue_chain):
29456 Bufferalloc: return GstFlowReturn to more accuratly report
29457 why allocation failed.
29459 2005-06-02 Wim Taymans <wim@fluendo.com>
29461 * gst/gstpipeline.c: (gst_pipeline_send_event):
29462 Take snapshot of state without blocking.
29464 2005-06-02 Wim Taymans <wim@fluendo.com>
29466 * docs/design/part-TODO.txt:
29467 * docs/design/part-caps.txt:
29468 * docs/design/part-clocks.txt:
29469 * docs/design/part-negotiation.txt:
29470 * docs/design/part-preroll.txt:
29473 2005-05-30 Wim Taymans <wim@fluendo.com>
29475 * gst/elements/gstidentity.c: (gst_identity_event),
29476 (gst_identity_transform), (gst_identity_get_property):
29477 Protect last_message property as it is accessed from
29480 2005-05-30 Wim Taymans <wim@fluendo.com>
29482 * gst/gstelement.c: (gst_element_init),
29483 (gst_element_pads_activate), (gst_element_change_state):
29484 Slicker pad activation code.
29486 2005-05-30 Wim Taymans <wim@fluendo.com>
29489 * gst/gstelement.h:
29490 * gst/gstelementfactory.h:
29492 Move elementfactory methods to separate .h file.
29494 2005-05-30 Wim Taymans <wim@fluendo.com>
29496 * docs/design/part-overview.txt:
29497 * gst/gstsystemclock.h:
29498 Small typo fixes, doc updates.
29500 2005-05-30 Wim Taymans <wim@fluendo.com>
29502 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29503 (init_popt_callback):
29504 Remove cpu-opt flag.
29506 2005-05-30 Wim Taymans <wim@fluendo.com>
29508 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29509 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29511 Avoid typechecking in places where not needed.
29512 Added accessor for malloc_data.
29514 2005-05-30 Wim Taymans <wim@fluendo.com>
29516 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29517 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29518 (gst_pad_configure_sink), (gst_pad_configure_src),
29519 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29520 (gst_pad_start_task):
29521 Propagate errors from _set_caps() in configure_src/sink
29522 functions instead of returning TRUE.
29523 FLUSH events can travel up and downstream
29526 2005-05-30 Wim Taymans <wim@fluendo.com>
29528 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29529 (gst_basesink_activate):
29530 Handle EOS in preroll.
29532 2005-05-30 Wim Taymans <wim@fluendo.com>
29534 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29535 (gst_queue_loop), (gst_queue_handle_src_event):
29536 Remove old pieces of code
29537 Flushing the queue in an upstream event is a very bad idea.
29539 2005-05-26 Andy Wingo <wingo@pobox.com>
29541 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29542 gst_value_set_mini_object so as to add a ref on the object (which
29543 will be removed when the value is unset).
29545 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29546 arg type in ::handoff.
29548 * gst/gstelement.c (gst_element_change_state): Also deactivate
29549 pads in READY->NULL, just in case the element didn't make it to
29550 PAUSED. Wingo tested, Wim approved.
29552 2005-05-26 Wim Taymans <wim@fluendo.com>
29554 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29555 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29556 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29557 A flushing pad cannot be used to alloc_buffer from.
29559 2005-05-26 Wim Taymans <wim@fluendo.com>
29561 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29562 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29563 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29564 (gst_bus_create_watch), (gst_bus_add_watch_full):
29566 Implement a real GSource and use g_main_context_wakeup() to
29567 signal new messages instead of the socketpair.
29569 2005-05-25 Wim Taymans <wim@fluendo.com>
29571 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29572 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29573 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29574 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29575 (gst_pad_send_event), (gst_pad_start_task):
29576 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29577 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29578 (gst_queue_sink_activate), (gst_queue_src_activate),
29579 (gst_queue_change_state):
29581 Fix state changes for non sinks. We now change sinks, then elements
29582 with unconnected srcpads, then the rest.
29583 More efficient queue unlocking in flush and state changes.
29584 Set the pad activate mode even if it does not have an activate
29587 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29589 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29590 Don't go in pull mode for non-seekable sources.
29591 * gst/elements/gsttypefindelement.h:
29592 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29593 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29594 (free_entry), (stop_typefinding),
29595 (gst_type_find_element_handle_event), (find_peek),
29596 (gst_type_find_element_chain), (do_pull_typefind),
29597 (gst_type_find_element_change_state):
29598 Allow typefinding (w/o seeking) in push-mode, simplified version
29599 of what was in 0.8.
29600 * gst/gstutils.c: (gst_buffer_join):
29602 gst_buffer_join() from 0.8.
29604 2005-05-25 Wim Taymans <wim@fluendo.com>
29606 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29607 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29608 (gst_pad_send_event), (gst_pad_start_task):
29609 Disable attempt at mode switching until it is figured out.
29611 2005-05-25 Wim Taymans <wim@fluendo.com>
29613 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29614 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29615 (gst_basesink_finish_preroll), (gst_basesink_chain),
29616 (gst_basesink_loop), (gst_basesink_activate),
29617 (gst_basesink_change_state):
29618 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29619 (gst_basesrc_get_range), (gst_basesrc_loop),
29620 (gst_basesrc_activate):
29621 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29622 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29623 (gst_real_pad_init), (gst_real_pad_set_property),
29624 (gst_real_pad_get_property), (gst_pad_set_active),
29625 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29626 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29627 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29628 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29629 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29630 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29631 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29632 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29633 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29634 (gst_pad_stop_task):
29636 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29637 (gst_queue_loop), (gst_queue_src_activate):
29638 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29639 (gst_task_get_state):
29641 * gst/schedulers/threadscheduler.c:
29642 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29643 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29645 Remove ACTIVE pad flag, use FLUSHING everywhere
29646 Added _pad_chain(), _pad_get_range() to call chain/getrange
29648 Add locks around IS_FLUSHING when reading.
29649 Take STREAM lock in chain(), get_range() functions so plugins
29650 don't need to take it anymore.
29654 2005-05-25 Wim Taymans <wim@fluendo.com>
29656 * tools/gst-launch.c: (event_loop):
29657 Unref message after using its contents instead of
29660 2005-05-24 Wim Taymans <wim@fluendo.com>
29662 * docs/design/draft-ghostpads.txt:
29663 * docs/design/draft-push-pull.txt:
29664 * docs/design/draft-query.txt:
29665 * docs/design/part-overview.txt:
29666 Docs updates, added general overview doc.
29668 2005-05-21 David Schleef <ds@schleef.org>
29670 * docs/gst/tmpl/old/GstBin.sgml:
29671 * docs/gst/tmpl/old/GstBuffer.sgml:
29672 * docs/gst/tmpl/old/GstCaps.sgml:
29673 * docs/gst/tmpl/old/GstClock.sgml:
29674 * docs/gst/tmpl/old/GstCompat.sgml:
29675 * docs/gst/tmpl/old/GstData.sgml:
29676 * docs/gst/tmpl/old/GstElement.sgml:
29677 * docs/gst/tmpl/old/GstEvent.sgml:
29678 * docs/gst/tmpl/old/GstIndex.sgml:
29679 * docs/gst/tmpl/old/GstStructure.sgml:
29680 * docs/gst/tmpl/old/GstTag.sgml:
29681 * docs/gst/tmpl/old/cothreads.sgml:
29682 * docs/gst/tmpl/old/cothreads_compat.sgml:
29683 * docs/gst/tmpl/old/gettext.sgml:
29684 * docs/gst/tmpl/old/gobject2gtk.sgml:
29685 * docs/gst/tmpl/old/grammar.tab.sgml:
29686 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29687 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29688 * docs/gst/tmpl/old/gst_private.sgml:
29689 * docs/gst/tmpl/old/gstaggregator.sgml:
29690 * docs/gst/tmpl/old/gstarch.sgml:
29691 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29692 * docs/gst/tmpl/old/gstbufferstore.sgml:
29693 * docs/gst/tmpl/old/gstdata_private.sgml:
29694 * docs/gst/tmpl/old/gstdisksink.sgml:
29695 * docs/gst/tmpl/old/gstdisksrc.sgml:
29696 * docs/gst/tmpl/old/gstelementfactory.sgml:
29697 * docs/gst/tmpl/old/gstextratypes.sgml:
29698 * docs/gst/tmpl/old/gstfakesink.sgml:
29699 * docs/gst/tmpl/old/gstfakesrc.sgml:
29700 * docs/gst/tmpl/old/gstfdsink.sgml:
29701 * docs/gst/tmpl/old/gstfdsrc.sgml:
29702 * docs/gst/tmpl/old/gstfilesink.sgml:
29703 * docs/gst/tmpl/old/gstfilesrc.sgml:
29704 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29705 * docs/gst/tmpl/old/gstidentity.sgml:
29706 * docs/gst/tmpl/old/gstindexfactory.sgml:
29707 * docs/gst/tmpl/old/gstmarshal.sgml:
29708 * docs/gst/tmpl/old/gstmd5sink.sgml:
29709 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29710 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29711 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29712 * docs/gst/tmpl/old/gstpipefilter.sgml:
29713 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29714 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29715 * docs/gst/tmpl/old/gstshaper.sgml:
29716 * docs/gst/tmpl/old/gstspider.sgml:
29717 * docs/gst/tmpl/old/gstspideridentity.sgml:
29718 * docs/gst/tmpl/old/gststatistics.sgml:
29719 * docs/gst/tmpl/old/gsttee.sgml:
29720 * docs/gst/tmpl/old/gsttimecache.sgml:
29721 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29722 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29723 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29724 * docs/gst/tmpl/old/types.sgml:
29725 I didn't intend to add these or check them in.
29727 2005-05-19 David Schleef <ds@schleef.org>
29729 * configure.ac: Use -no-common everywhere. In a sane world, it
29730 would be the default in libtool, because without it, you can't
29731 build DLLs on Windows.
29732 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29733 * docs/gst/gstreamer-sections.txt:
29734 * docs/gst/tmpl/gstcpu.sgml:
29735 * docs/gst/tmpl/gstdata.sgml:
29736 * docs/gst/tmpl/gstthread.sgml:
29738 2005-05-19 David Schleef <ds@schleef.org>
29740 * gst/gstminiobject.c: (gst_value_set_mini_object),
29741 (gst_value_take_mini_object), (gst_value_get_mini_object):
29742 * gst/gstminiobject.h: Add GValue set/get functions.
29744 2005-05-19 Wim Taymans <wim@fluendo.com>
29746 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29747 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29748 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29750 * gst/gstbus.c: (gst_bus_post):
29751 * gst/gstelement.c: (gst_element_get_random_pad):
29752 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29753 Make subbufer unref the parent in finalize.
29754 some more debugging info.
29757 2005-05-19 Wim Taymans <wim@fluendo.com>
29759 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29760 (gst_basesink_init), (gst_basesink_finalize),
29761 (gst_basesink_activate), (gst_basesink_change_state):
29762 Don't free preroll queue too early.
29764 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29768 Hi, I'm outdated. Please shoot me.
29770 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29772 * gst/gstpipeline.c: (gst_pipeline_send_event):
29773 Do not access variables after they have been deleted.
29775 2005-05-19 Wim Taymans <wim@fluendo.com>
29777 * tools/gst-inspect.c: (print_plugin_features):
29778 A plugin feature does unfortunatly not use the
29781 2005-05-18 Wim Taymans <wim@fluendo.com>
29783 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29784 Port _span() functions to new subbuffers.
29786 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29788 * gst/gstbin.c: (gst_bin_add_func):
29789 Fix clock settery in bins when adding kids after the clock has
29792 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29794 * gst/elements/gstidentity.c: (gst_identity_class_init):
29795 Workaround until signals support GstMiniObject.
29797 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29800 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29802 2005-05-18 Wim Taymans <wim@fluendo.com>
29804 * gst/base/Makefile.am:
29805 * gst/base/gstadapter.c: (gst_adapter_base_init),
29806 (gst_adapter_class_init), (gst_adapter_init),
29807 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29808 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29809 (gst_adapter_flush), (gst_adapter_available),
29810 (gst_adapter_available_fast):
29811 * gst/base/gstadapter.h:
29812 Ported and added adapter to the base classes.
29814 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29817 * gst/gstmessage.c:
29818 Make sure the class is reffed/unreffed once before threads can be
29819 used. Fixes #304551.
29821 2005-05-17 Wim Taymans <wim@fluendo.com>
29823 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29824 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29825 * gst/gstminiobject.c: (gst_mini_object_get_type),
29826 (gst_mini_object_free):
29827 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29828 (gst_pad_push), (gst_pad_push_event):
29829 * gst/gstqueue.c: (gst_queue_change_state):
29830 Don't queue buffers in basesink when we are flushing.
29831 Unref buffer when flushing in basesink.
29832 Flush queue when going to READY
29833 Unref buffer when _push() returns an error.
29834 Don't free MiniObject instance when refcount is incremented
29835 in _finalize() so that we can recover objects.
29837 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29839 * docs/manual/advanced-schedulers.xml:
29840 * docs/manual/appendix-checklist.xml:
29841 * docs/pwg/advanced-clock.xml:
29842 * docs/pwg/advanced-interfaces.xml:
29843 * docs/pwg/advanced-request.xml:
29844 * docs/pwg/advanced-types.xml:
29845 * docs/pwg/intro-preface.xml:
29846 * examples/plugins/example.c: (gst_example_get_type),
29847 (gst_example_class_init), (gst_example_chain),
29848 (gst_example_set_property), (gst_example_get_property),
29849 (gst_example_change_state), (plugin_init):
29850 * examples/plugins/example.h:
29853 2005-05-17 Wim Taymans <wim@fluendo.com>
29855 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29856 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29857 * gst/gstqueue.c: (gst_queue_change_state):
29858 Clear queue when going to READY.
29859 Remove IN_SETCAPS flag too.
29861 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29863 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29864 Remove implicit cast from gboolean to GstElementStateReturn;
29865 make sure we still return failure in paused => ready case if
29866 the parent class fails to change state and our own stop
29869 2005-05-17 Wim Taymans <wim@fluendo.com>
29871 * tools/gst-launch.c: (event_loop):
29872 Message was unreffed too soon.
29874 2005-05-16 Andy Wingo <wingo@pobox.com>
29876 * gst/gstbin.c (sink_iterator_filter): Err... um...
29878 * check/gst/gstbin.c (test_ghost_pads): New test for the
29879 ghosting-if-elements-not-in-same-bin behavior.
29881 2005-05-16 David Schleef <ds@schleef.org>
29883 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29884 accessing refcount directly.
29886 2005-05-15 David Schleef <ds@schleef.org>
29888 * check/Makefile.am: remove GstData checks
29889 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29890 * gst/Makefile.am: add miniobject, remove data
29891 * gst/gst.h: add miniobject, remove data
29892 * gst/gstdata.c: remove
29893 * gst/gstdata.h: remove
29894 * gst/gstdata_private.h: remove
29895 * gst/gsttypes.h: remove GstEvent and GstMessage
29896 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29897 * gst/gstmarshal.list: change BOXED -> OBJECT
29899 Implement GstMiniObject.
29900 * gst/gstminiobject.c:
29901 * gst/gstminiobject.h:
29903 Modify to be subclasses of GstMiniObject.
29904 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29905 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29906 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29907 (gst_subbuffer_get_type), (gst_subbuffer_init),
29908 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29911 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29912 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29913 (_gst_event_copy), (gst_event_new):
29915 * gst/gstmessage.c: (_gst_message_initialize),
29916 (gst_message_get_type), (gst_message_class_init),
29917 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29918 (gst_message_new), (gst_message_new_error),
29919 (gst_message_new_warning), (gst_message_new_tag),
29920 (gst_message_new_state_changed), (gst_message_new_application):
29921 * gst/gstmessage.h:
29922 * gst/gstprobe.c: (gst_probe_perform),
29923 (gst_probe_dispatcher_dispatch):
29925 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29926 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29927 (_gst_query_copy), (gst_query_new):
29929 Update elements for GstData -> GstMiniObject changes
29931 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29932 (gst_queue_chain), (gst_queue_loop):
29933 * gst/elements/gstbufferstore.c:
29934 (gst_buffer_store_add_buffer_func),
29935 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29936 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29937 (gst_fakesink_render):
29938 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29939 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29940 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29941 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29942 (gst_filesrc_create_read):
29943 * gst/elements/gstidentity.c: (gst_identity_class_init):
29944 * gst/elements/gsttypefindelement.c:
29945 (gst_type_find_element_src_event), (free_entry_buffers),
29946 (gst_type_find_element_handle_event):
29947 * libs/gst/dataprotocol/dataprotocol.c:
29948 (gst_dp_header_from_buffer):
29949 * libs/gst/dataprotocol/dataprotocol.h:
29950 * libs/gst/dataprotocol/dp-private.h:
29952 2005-05-15 David Schleef <ds@schleef.org>
29954 * gst/elements/gstelements.c: Don't include headers that were
29957 2005-05-15 David Schleef <ds@schleef.org>
29959 * gst/elements/Makefile.am: Remove some elements that don't
29960 need to be in the core (or even exist at all).
29961 * gst/elements/gstaggregator.c:
29962 * gst/elements/gstaggregator.h:
29963 * gst/elements/gstmd5sink.c:
29964 * gst/elements/gstmd5sink.h:
29965 * gst/elements/gstmultifilesrc.c:
29966 * gst/elements/gstmultifilesrc.h:
29967 * gst/elements/gstpipefilter.c:
29968 * gst/elements/gstpipefilter.h:
29969 * gst/elements/gstshaper.c:
29970 * gst/elements/gstshaper.h:
29971 * gst/elements/gststatistics.c:
29972 * gst/elements/gststatistics.h:
29973 * po/POTFILES.in: Remove above files.
29975 2005-05-14 Andy Wingo <wingo@pobox.com>
29977 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29978 so as to get the refs right.
29979 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29980 unreffing objects that don't pass the filter.
29982 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29983 gst_element_set_bus.
29984 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29985 normal cases, this will destroy the bus.
29987 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29990 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29993 2005-05-13 Andy Wingo <wingo@pobox.com>
29995 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29996 gst_pad_link, call pad_link_maybe_ghosting,
29997 (pad_link_maybe_ghosting): Links pads, making sure that the
29998 elements being linked are in the same bin.
29999 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30000 Helpers for pad_link_maybe_ghosting.
30002 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30005 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30007 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30009 * docs/design/part-element-source.txt:
30012 2005-05-12 Wim Taymans <wim@fluendo.com>
30014 * gst/base/gstbasesink.c: (gst_basesink_init),
30015 (gst_basesink_activate):
30016 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30017 (gst_basesrc_is_seekable):
30018 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30019 (bin_element_is_sink), (gst_bin_change_state):
30020 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30021 * gst/gstelement.h:
30022 Identify sinks by their flag to avoid overly complicated
30024 Do state changes even for elements not reachable from the
30026 BaseSink is a sink now :)
30027 Some more debugging info in the basesrc.
30030 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30032 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30033 Implement _query on a bin, similar to _send_event.
30035 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30037 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30038 Discont event offset format should be GST_FORMAT_BYTES,
30039 not GST_FORMAT_TIME.
30041 2005-05-12 Wim Taymans <wim@fluendo.com>
30043 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30044 Same fix as Ronald's but without the signal.
30046 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30048 * gst/gstutils.c: (gst_element_query_position):
30049 No, an element is not a pad.
30051 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30053 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30054 (gst_bin_get_state):
30055 If a child is removed from a bin while we remove the child from
30056 the bin and while we're retrieving its state, signal this to the
30057 get_state function so we abort the wait (instead of waiting for
30058 a timeout) and can immediately re-iterate over all other elements.
30060 2005-05-12 Wim Taymans <wim@fluendo.com>
30062 * gst/base/Makefile.am:
30063 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30064 (gst_basesrc_start):
30065 * gst/base/gstbasesrc.h:
30066 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30067 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30068 (gst_pushsrc_init), (gst_pushsrc_create):
30069 * gst/base/gstpushsrc.h:
30070 Added is_seekable to BaseSrc
30071 Added simple PushSrc.
30073 2005-05-11 Wim Taymans <wim@fluendo.com>
30075 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30076 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30077 (gst_element_link_pads), (gst_element_query_position),
30078 (gst_element_query_convert), (intersect_caps_func),
30079 (gst_pad_query_position), (gst_pad_query_convert):
30080 Fix refcounting in utils function.
30081 No point in trying to activate a pad when it's added, it could
30082 be added from the state change function and then we deadlock, the
30083 element has to decide what to do.
30085 2005-05-10 Andy Wingo <wingo@pobox.com>
30087 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30088 *all* the arguments.
30090 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30091 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30092 lock (according to the docs -- if this is wrong change the docs).
30094 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30095 flush messages in the NULL state.
30097 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30098 message immediately and return.
30099 (gst_bus_set_flushing): New function. If a bus is flushing, it
30100 flushes out any queued messages and immediately unrefs new
30101 messages. This is so when an element goes to NULL, all of the
30102 unhandled messages coming from it can be freed, and their
30103 references to the element dropped. In other words: message source
30104 ref considered harmful :P
30106 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30107 we're finished with it.
30109 * gst/gstmessage.c (gst_message_new_state_changed):
30111 2005-05-10 Wim Taymans <wim@fluendo.com>
30113 * gst/gstvalue.c: (gst_value_compare_flags),
30114 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30115 (_gst_value_initialize):
30116 Added flags serialize/deserialize/compare code.
30118 2005-05-09 Andy Wingo <wingo@pobox.com>
30120 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30121 Intersect the peer's caps with our caps.
30123 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30125 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30126 * gst/elements/gsttypefindelement.c: (find_peek):
30127 Handle negative offsets better. Fixes decodebin.
30129 2005-05-09 Wim Taymans <wim@fluendo.com>
30131 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30132 (gst_base_transform_event):
30133 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30134 Implement accept_caps.
30135 Fix silly lock/unlock mismatch in base class.
30137 2005-05-09 Wim Taymans <wim@fluendo.com>
30139 * docs/design/draft-push-pull.txt:
30140 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30141 * gst/elements/gstfilesink.c: (gst_filesink_init),
30142 (gst_filesink_query):
30143 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30144 (gst_type_find_handle_src_query), (find_element_get_length):
30145 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30146 * gst/gstelement.h:
30147 * gst/gstmessage.c:
30148 * gst/gstmessage.h:
30149 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30150 (gst_real_pad_get_caps_unlocked),
30151 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30152 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30153 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30154 (gst_real_pad_dispose), (gst_real_pad_finalize),
30155 (gst_pad_load_and_link), (gst_pad_save_thyself),
30156 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30157 (gst_pad_check_pull_range), (gst_pad_pull_range),
30158 (gst_pad_template_get_type), (gst_pad_template_class_init),
30159 (gst_pad_template_init), (gst_pad_template_dispose),
30160 (name_is_valid), (gst_static_pad_template_get),
30161 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30162 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30163 (gst_pad_get_element_private), (gst_pad_start_task),
30164 (gst_pad_pause_task), (gst_pad_stop_task),
30165 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30166 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30167 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30168 (gst_ghost_pad_new):
30170 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30171 (gst_query_new_position), (gst_query_set_position),
30172 (gst_query_parse_position), (gst_query_new_convert),
30173 (gst_query_set_convert), (gst_query_parse_convert):
30175 * gst/gstqueryutils.c:
30176 * gst/gstqueryutils.h:
30177 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30178 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30179 (gst_queue_handle_src_query):
30180 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30181 (gst_element_query_position), (gst_element_query_convert),
30182 (intersect_caps_func), (gst_pad_query_position),
30183 (gst_pad_query_convert):
30185 * tools/gst-inspect.c: (print_pad_info):
30186 * tools/gst-xmlinspect.c: (print_element_info):
30187 Remove old query functions. Ported old code.
30188 Added position/convert helper functions to gstutils.
30189 Reordered gstpad.c code, grouping relevant things.
30190 Remove gst_message_new(), always need to speficy a specific
30194 2005-05-09 Andy Wingo <wingo@pobox.com>
30196 * gst/gstiterator.h: Add some includes.
30198 * gst/gstqueryutils.h: Include more headers.
30201 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30202 some uses of gst_pad_query.
30204 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30205 NULL out parameters.
30206 (gst_query_new_position): New proc, allocates a new position
30209 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30210 gstqueryutils.c to the build.
30212 * gst/gststructure.c (gst_structure_set_valist): Implement with
30213 the generic G_VALUE_COLLECT.
30215 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30217 * gst/Makefile.am: (gst_headers):
30218 Added gstqueryutils.h to the list of headers to install, that was
30219 a 'nachty' move wingo :)
30221 2005-05-06 Andy Wingo <wingo@pobox.com>
30224 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30225 GstData, init a memchunk.
30226 (standard_definitions): Add a few query types, deprecate a few.
30227 (gst_query_get_type): New proc.
30228 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30230 (gst_query_new_application, gst_query_get_structure): New public
30233 * docs/design/draft-query.txt: Removed LINKS from the query types,
30234 because all the rest can be dispatched to other pads -- seemed
30235 ugly to have a query that couldn't be dispatched. internal_links
30236 is fine as a pad method.
30238 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30239 in gstpad.c, but maintain binary compatibility for the moment.
30240 Will fix before 0.9 is out.
30242 * gst/gstqueryutils.c:
30243 * gst/gstqueryutils.h: New files, implement 3 methods for each
30244 query type: parse_query, parse_response, and set. Probably need an
30247 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30249 * gst/elements/gstfilesink.c (gst_filesink_query2):
30250 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30251 query_types, and formats methods.
30253 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30254 (gst_pad_set_query2_function): New functions.
30255 (gst_real_pad_init): Set query2_default as the default query2
30256 function. Basically just dispatches to internally linked pads.
30260 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30261 without using the atomic operations. Only one thread can possibly
30262 be accessing the data at this point. Changed so as to avoid
30263 gst_atomic operations.
30265 2005-05-06 Wim Taymans <wim@fluendo.com>
30267 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30268 Also set caps if we use the fallback buffer alloc.
30270 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30272 * docs/gst/Makefile.am:
30273 * docs/gst/gstreamer-docs.sgml:
30274 * docs/gst/gstreamer-sections.txt:
30275 * docs/gst/tmpl/gstatomic.sgml:
30276 * docs/gst/tmpl/gstmemchunk.sgml:
30277 * testsuite/elements/struct_i386.h:
30278 * win32/GStreamer.vcproj:
30280 Purge GstAtomic stuff from docs and win32 makefiles as well
30282 2005-05-06 Wim Taymans <wim@fluendo.com>
30284 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30285 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30286 * gst/gstpad.c: (gst_pad_peer_get_caps):
30287 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30288 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30289 (gst_queue_src_activate), (gst_queue_change_state):
30291 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30292 (intersect_caps_func):
30293 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30294 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30295 Some fixes for the peer_get_caps() change.
30297 2005-05-06 Wim Taymans <wim@fluendo.com>
30299 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30300 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30301 (gst_basesink_activate):
30302 Actually do something with error codes returned from the push
30305 2005-05-06 Wim Taymans <wim@fluendo.com>
30307 * docs/design/part-element-sink.txt:
30308 * docs/design/part-element-source.txt:
30309 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30310 (gst_basesink_event), (gst_basesink_activate):
30311 * gst/base/gstbasesink.h:
30312 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30313 (gst_basesrc_activate):
30314 * gst/base/gstbasesrc.h:
30315 * gst/gstelement.c: (gst_element_pads_activate):
30316 Some more documentation.
30317 Fixed scheduling decision in _pads_activate().
30319 2005-05-05 Andy Wingo <wingo@pobox.com>
30321 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30324 2005-05-05 Wim Taymans <wim@fluendo.com>
30326 * gst/base/Makefile.am:
30327 * gst/base/gstbasesink.h:
30328 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30329 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30330 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30331 (gst_collectpads_class_init), (gst_collectpads_init),
30332 (gst_collectpads_finalize), (gst_collectpads_new),
30333 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30334 (find_pad), (gst_collectpads_remove_pad),
30335 (gst_collectpads_is_active), (gst_collectpads_collect),
30336 (gst_collectpads_collect_range), (gst_collectpads_start),
30337 (gst_collectpads_stop), (gst_collectpads_peek),
30338 (gst_collectpads_pop), (gst_collectpads_available),
30339 (gst_collectpads_read), (gst_collectpads_flush),
30340 (gst_collectpads_chain):
30341 * gst/base/gstcollectpads.h:
30342 * gst/elements/Makefile.am:
30343 * gst/elements/gstelements.c:
30344 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30345 (gst_fakesink_get_times), (gst_fakesink_event),
30346 (gst_fakesink_preroll), (gst_fakesink_render):
30347 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30348 (gst_filesink_init), (gst_filesink_set_location),
30349 (gst_filesink_open_file), (gst_filesink_close_file),
30350 (gst_filesink_pad_query), (gst_filesink_event),
30351 (gst_filesink_render), (gst_filesink_change_state):
30352 * gst/elements/gstfilesink.h:
30353 Added object to help in making collect pad based elements.
30355 Make event function in sink baseclass return gboolean.
30357 2005-05-05 Wim Taymans <wim@fluendo.com>
30359 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30360 (gst_bin_get_by_name):
30362 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30363 (gst_clock_finalize):
30364 * gst/gstdata.c: (gst_data_replace):
30366 * gst/gstelement.c: (gst_element_request_pad),
30367 (gst_element_pads_activate):
30368 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30369 (gst_object_unref):
30370 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30371 (gst_pad_set_checkgetrange_function),
30372 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30373 (gst_pad_check_pull_range), (gst_pad_pull_range),
30374 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30375 (gst_pad_pause_task), (gst_pad_stop_task):
30376 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30377 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30378 Fix name lookup in GstBin.
30379 Added _data_replace() function and _buffer_replace()
30380 Use finalize method to clean up clock.
30381 Fix refcounting on request pads.
30382 Fix pad schedule mode error.
30383 Some more object refcounting debug info,
30386 2005-05-04 Andy Wingo <wingo@pobox.com>
30388 * check/Makefile.am:
30389 * docs/gst/tmpl/gstatomic.sgml:
30390 * docs/gst/tmpl/gstplugin.sgml:
30391 * gst/base/gstbasesink.c: (gst_basesink_activate):
30392 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30393 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30394 (gst_basesrc_query), (gst_basesrc_set_property),
30395 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30396 (gst_basesrc_activate):
30397 * gst/base/gstbasesrc.h:
30398 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30399 (gst_base_transform_src_activate):
30400 * gst/elements/gstelements.c:
30401 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30402 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30403 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30404 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30405 (gst_type_find_element_checkgetrange),
30406 (gst_type_find_element_activate):
30407 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30408 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30409 (gst_caps_load_thyself):
30410 * gst/gstelement.c: (gst_element_pads_activate),
30411 (gst_element_save_thyself), (gst_element_restore_thyself):
30412 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30413 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30415 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30416 (gst_xml_parse_file), (gst_xml_parse_memory),
30417 (gst_xml_get_element), (gst_xml_make_element):
30418 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30419 (_file_index_id_save_xml), (gst_file_index_commit):
30420 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30421 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30423 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30424 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30425 * tools/gst-complete.c: (main):
30426 * tools/gst-compprep.c: (main):
30427 * tools/gst-inspect.c: (print_element_properties_info):
30428 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30429 * tools/gst-xmlinspect.c: (print_element_properties):
30432 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30434 * gst/gstplugin.c: (gst_plugin_check_module),
30435 (gst_plugin_check_file), (gst_plugin_load_file):
30436 apply patch from #172526 to make register work on MacOSX
30438 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30440 * docs/gst/tmpl/gstconfig.sgml:
30441 * gst/gstconfig.h.in:
30442 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30443 * testsuite/debug/printf_extension.c: (main):
30444 Do not use GST_PTR_FORMAT on pointers to types with
30445 sizeof < sizeof(gpointer). Fixes test on 64-bit
30446 * testsuite/elements/property.h:
30447 use correct printf format
30449 2005-05-02 Wim Taymans <wim@fluendo.com>
30451 * docs/design/draft-push-pull.txt:
30452 * docs/design/draft-query.txt:
30453 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30454 (gst_basesrc_start):
30455 Added draft for new query API.
30456 Added draft for better selecting scheduling methods.
30457 Make basesrc ignore length if the subclass does not support
30460 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30463 possible fixes for automake-1.5 - _LIBADD is reserved
30465 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30467 * docs/faq/Makefile.am:
30468 * docs/manual/Makefile.am:
30469 * docs/manuals.mak:
30470 * docs/pwg/Makefile.am:
30472 possible fixes for automake-1.5
30474 2005-04-28 Wim Taymans <wim@fluendo.com>
30476 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30477 (gst_basesink_pad_getcaps), (gst_basesink_init),
30478 (gst_basesink_do_sync):
30479 * gst/gstclock.c: (gst_clock_entry_new):
30480 * gst/gstevent.c: (gst_event_discont_get_value):
30481 * gst/gstpipeline.c: (pipeline_bus_handler),
30482 (gst_pipeline_change_state):
30483 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30484 Better debugging of clocking info.
30485 Allow NULL values when getting discont values.
30487 2005-04-27 Wim Taymans <wim@fluendo.com>
30489 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30490 * check/gst/gstpad.c: (gst_pad_suite):
30491 Increase timeout for checks.
30493 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30495 * check/Makefile.am:
30496 fix the broken rule for cleanup. Apparently this rule is
30497 only needed on FC2, so maybe this warrants further autotool
30500 2005-04-26 Wim Taymans <wim@fluendo.com>
30502 * gst/gsttrashstack.h:
30503 Ooohh. a nasty one! After having a failed pop() from the stack,
30504 it's possible that the stack is empty. In that case, don't
30505 follow the NULL pointer.
30507 2005-04-25 Wim Taymans <wim@fluendo.com>
30509 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30510 (gst_pad_set_checkgetrange_function),
30511 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30512 (gst_pad_check_pull_range), (gst_pad_pull_range),
30513 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30514 (gst_pad_pause_task), (gst_pad_stop_task):
30515 * gst/gstplugin.c: (gst_plugin_load):
30517 Remove gst_library_load as it does more harm than good with
30518 the new g_module flags.
30519 Revert bogus caps template check in pad linking, pad caps
30520 are important when linking not the template, which is more
30521 general than the current caps.
30523 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30525 * gst/autoplug/.cvsignore:
30526 * gst/autoplug/Makefile.am:
30527 * gst/autoplug/gstsearchfuncs.c:
30528 * gst/autoplug/gstsearchfuncs.h:
30529 * gst/autoplug/gstspider.c:
30530 * gst/autoplug/gstspider.h:
30531 * gst/autoplug/gstspideridentity.c:
30532 * gst/autoplug/gstspideridentity.h:
30533 * gst/autoplug/spidertest.c:
30536 2005-04-25 Wim Taymans <wim@fluendo.com>
30538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30539 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30540 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30541 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30543 Added stubs for unimplemented functions.
30545 2005-04-24 David Schleef <ds@schleef.org>
30547 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30550 2005-04-24 David Schleef <ds@schleef.org>
30552 Convert everything from GstAtomicInt to g_atomic_int_*, and
30557 * gst/gstatomic_impl.h:
30565 * gst/gstdata_private.h:
30569 * gst/gstmessage.c:
30572 * gst/gststructure.c:
30573 * gst/gststructure.h:
30574 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30577 2005-04-24 David Schleef <ds@schleef.org>
30579 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30580 make the regressions tests work. Remove some code that is no
30582 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30583 Disable warning for pads without templates.
30585 2005-04-24 David Schleef <ds@schleef.org>
30587 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30588 functions that handle filtered links.
30589 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30591 * gst/gstutils.c: Fix/remove utility functions that handle
30594 * gst/gstvalue.c: Add serialization/deserialization of caps
30595 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30596 requires fixing so that the filter caps notation creates
30597 a capsfilter element and sets the filter_caps property. I
30598 think everyone probably wants to keep the shorthand notation.
30599 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30600 * docs/gst/tmpl/gstpad.sgml:
30602 * gst/elements/gstelements.c: Register capsfilter element.
30603 * gst/Makefile.am: fix spacing
30604 * docs/random/ds/0.9-suggested-changes: random
30606 2005-04-23 David Schleef <ds@schleef.org>
30608 * gst/elements/Makefile.am:
30609 * gst/elements/gstcapsfilter.c: New element that acts like an
30610 identity, but filters caps. Will eventually replace filtered
30611 caps in pad linking.
30612 * gst/gstutils.c: (gst_element_create_all_pads): New function
30613 to create all the ALWAYS pads that are registered with an
30614 element class. This functionality should eventually be
30615 merged in with GstElement initialization.
30617 * testsuite/trigger/README: part of trigger test code that should
30618 have been checked in a long time ago.
30620 2005-04-23 David Schleef <ds@schleef.org>
30622 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30623 needed with new versions of libtool (nobody will confirm this),
30624 and hard to carry around.
30625 * gst/autoplug/Makefile.am:
30626 * gst/base/Makefile.am:
30627 * gst/elements/Makefile.am:
30628 * gst/indexers/Makefile.am:
30629 * gst/schedulers/Makefile.am:
30630 * libs/gst/bytestream/Makefile.am:
30631 * libs/gst/control/Makefile.am:
30632 * libs/gst/dataprotocol/Makefile.am:
30633 * libs/gst/getbits/Makefile.am:
30635 2005-04-21 Wim Taymans <wim@fluendo.com>
30637 * docs/design/draft-push-pull.txt:
30638 * docs/design/part-MT-refcounting.txt:
30639 * docs/design/part-TODO.txt:
30640 * docs/design/part-caps.txt:
30641 * docs/design/part-events.txt:
30642 * docs/design/part-gstbus.txt:
30643 * docs/design/part-gstpipeline.txt:
30644 * docs/design/part-messages.txt:
30645 * docs/design/part-push-pull.txt:
30646 * docs/design/part-query.txt:
30649 2005-04-21 Wim Taymans <wim@fluendo.com>
30651 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30652 (gst_message_new), (gst_message_new_error),
30653 (gst_message_new_warning), (gst_message_new_tag),
30654 (gst_message_new_state_changed), (gst_message_new_application),
30655 (gst_message_get_structure):
30656 * gst/gstmessage.h:
30657 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30658 (gst_structure_copy_conditional):
30659 Use parent refcount in GstMessage to ensure GstStructure
30661 Cleaned up headers a bit.
30664 2005-04-20 Wim Taymans <wim@fluendo.com>
30666 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30667 (gst_basesink_pad_getcaps), (gst_basesink_init),
30668 (gst_basesink_chain_unlocked):
30669 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30670 (gst_type_find_helper):
30671 * gst/elements/gsttypefindelement.c:
30672 (gst_type_find_element_have_type), (gst_type_find_element_init),
30673 (stop_typefinding), (gst_type_find_element_handle_event),
30674 (find_suggest), (gst_type_find_element_chain),
30675 (gst_type_find_element_checkgetrange),
30676 (gst_type_find_element_getrange), (do_typefind),
30677 (gst_type_find_element_activate):
30678 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30679 (gst_buffer_default_free), (gst_buffer_default_copy),
30680 (gst_buffer_set_caps):
30681 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30682 (gst_caps_replace):
30683 * gst/gstmessage.c: (gst_message_new),
30684 (gst_message_new_state_changed):
30685 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30686 (gst_pad_set_checkgetrange_function),
30687 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30688 (gst_pad_set_caps), (gst_pad_check_pull_range),
30689 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30691 * gst/gsttypefind.c: (gst_type_find_register):
30692 Make gst_caps_replace() work like other _replace() functions.
30693 Use _caps_replace() where possible.
30694 Make sure _message_new() initialises its field.
30695 Add gst_static_pad_template_get_caps()
30698 2005-04-18 Andy Wingo <wingo@pobox.com>
30700 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30701 on the peer, not the pad. I think that was a typo. Pass an extra
30702 arg to see if random access is possible. Activate the pads as
30703 PULL_RANGE if possible.
30705 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30707 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30708 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30711 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30713 * docs/faq/using.xml:
30714 Add note on gstreamer-properties (#154996).
30716 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30718 * docs/random/bbb/optional-properties:
30719 Some analysis on optional properties.
30721 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30723 * docs/gst/tmpl/gstelementfactory.sgml:
30724 * gst/gstelement.h:
30725 * gst/gstelementfactory.c: (gst_element_factory_init),
30726 (gst_element_factory_cleanup), (gst_element_register),
30727 (__gst_element_factory_add_static_pad_template),
30728 (gst_element_factory_get_static_pad_templates),
30729 (gst_element_factory_can_src_caps),
30730 (gst_element_factory_can_sink_caps):
30731 * gst/registries/Makefile.am:
30732 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30733 (gst_xml_registry_class_init), (gst_xml_registry_init),
30734 (gst_xml_registry_new), (gst_xml_registry_set_property),
30735 (gst_xml_registry_get_property), (get_time), (make_dir),
30736 (gst_xml_registry_get_perms_func),
30737 (plugin_times_older_than_recurse), (plugin_times_older_than),
30738 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30739 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30740 (add_to_char_array), (read_string), (read_uint), (read_enum),
30741 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30742 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30743 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30744 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30745 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30746 (gst_xml_registry_rebuild):
30747 * gst/registries/gstlibxmlregistry.h:
30748 * tools/gst-compprep.c: (main):
30749 * tools/gst-inspect.c: (print_pad_templates_info):
30750 * tools/gst-xmlinspect.c: (print_element_info):
30751 Use libxml2 for registry parsing, use staticpadtemplates in
30752 elementfactories. Makes gst_init() +/- 10x faster.
30754 2005-04-12 Wim Taymans <wim@fluendo.com>
30756 * gst/base/Makefile.am:
30757 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30758 (gst_basesink_pad_getcaps), (gst_basesink_init),
30759 (gst_basesink_event), (gst_basesink_change_state):
30760 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30761 (gst_basesrc_init), (gst_basesrc_query),
30762 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30763 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30764 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30765 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30766 (gst_basesrc_stop), (gst_basesrc_activate),
30767 (gst_basesrc_change_state):
30768 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30769 (helper_find_suggest), (gst_type_find_helper):
30770 * gst/base/gsttypefindhelper.h:
30771 * gst/elements/Makefile.am:
30772 * gst/elements/gstelements.c:
30773 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30774 (gst_fakesink_get_times), (gst_fakesink_event),
30775 (gst_fakesink_preroll), (gst_fakesink_render):
30776 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30777 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30778 (gst_fakesrc_get_property), (gst_fakesrc_create),
30779 (gst_fakesrc_start), (gst_fakesrc_stop):
30780 * gst/elements/gstfakesrc.h:
30781 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30782 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30783 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30784 (gst_filesrc_create_read), (gst_filesrc_create),
30785 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30786 (gst_filesrc_start):
30787 * gst/elements/gsttypefindelement.c:
30788 (gst_type_find_element_have_type), (gst_type_find_element_init),
30789 (start_typefinding), (stop_typefinding), (push_buffer_store),
30790 (gst_type_find_element_handle_event),
30791 (gst_type_find_element_chain),
30792 (gst_type_find_element_checkgetrange),
30793 (gst_type_find_element_getrange), (do_typefind),
30794 (gst_type_find_element_activate),
30795 (gst_type_find_element_change_state):
30796 * gst/elements/gsttypefindelement.h:
30797 * gst/gstpipeline.c: (pipeline_bus_handler):
30798 Added typefind helper.
30799 Small preroll fix in the base sink.
30800 Disable typefind code in basesrc.
30801 Crude port of typefindelement.
30805 2005-04-11 Wim Taymans <wim@fluendo.com>
30807 * check/gst/gstbus.c: (gstbus_suite):
30808 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30809 * check/gstcheck.h:
30810 Fix up the timeout so that the test does not fail.
30812 2005-04-06 Wim Taymans <wim@fluendo.com>
30815 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30816 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30817 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30818 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30819 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30820 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30821 (gst_basesrc_stop), (gst_basesrc_activate),
30822 (gst_basesrc_change_state), (basesrc_find_peek),
30823 (basesrc_find_suggest), (gst_basesrc_type_find):
30824 * gst/base/gstbasesrc.h:
30825 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30826 (gst_filesrc_class_init), (gst_filesrc_init),
30827 (gst_filesrc_finalize), (gst_filesrc_set_location),
30828 (gst_filesrc_set_property), (gst_filesrc_get_property),
30829 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30830 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30831 (gst_filesrc_create_read), (gst_filesrc_create),
30832 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30833 * gst/elements/gstfilesrc.h:
30834 * gst/gstelement.c: (gst_element_get_state_func),
30835 (gst_element_lost_state), (gst_element_pads_activate):
30836 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30837 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30838 (gst_pad_pull_range):
30840 More work on the generic source base class, implement seeking,
30842 Make filesrc extend the base source class.
30843 Added gst_pad_set_checkgetrange_function to GstPad.
30845 2005-04-06 Andy Wingo <wingo@pobox.com>
30847 * pkgconfig/gstreamer-base.pc.in:
30848 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30850 * pkgconfig/Makefile.am:
30851 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30853 2005-04-04 Wim Taymans <wim@fluendo.com>
30855 * gst/base/Makefile.am:
30857 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30858 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30859 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30860 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30861 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30862 (gst_basesrc_base_init), (gst_basesrc_class_init),
30863 (gst_basesrc_init), (gst_basesrc_get_formats),
30864 (gst_basesrc_get_query_types), (gst_basesrc_query),
30865 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30866 (gst_basesrc_set_property), (gst_basesrc_get_property),
30867 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30868 (gst_basesrc_loop), (gst_basesrc_activate),
30869 (gst_basesrc_change_state):
30870 * gst/base/gstbasesrc.h:
30871 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30872 (gst_fakesrc_class_init), (gst_fakesrc_init),
30873 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30874 (gst_fakesrc_get_property), (gst_fakesrc_create):
30875 * gst/elements/gstfakesrc.h:
30876 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30877 (gst_filesrc_open_file), (gst_filesrc_loop),
30878 (gst_filesrc_activate), (filesrc_find_peek),
30879 (gst_filesrc_type_find):
30880 Made base source class, make fakesrc extend it.
30881 Add comments to basesink class.
30882 Some filesrc cleanup.
30884 2005-03-31 David Schleef <ds@schleef.org>
30886 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30887 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30888 expected to link against libgstreamer.
30889 * gst/base/Makefile.am: link against libgstreamer
30890 * gst/elements/Makefile.am: same
30892 2005-03-31 Andy Wingo <wingo@pobox.com>
30894 * tests/instantiate/Makefile.am:
30895 * tests/instantiate/caps.c: Add test to test speed of caps copy
30898 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30899 GMemChunk to be fair.
30901 * gst/gsttrashstack.h: Remove warning about using the fallback
30902 trash stack implementation, it's still faster than malloc.
30904 2005-03-30 Andy Wingo <wingo@pobox.com>
30906 * tests/complexity.c: Add a copyright.
30908 2005-03-31 Wim Taymans <wim@fluendo.com>
30910 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30911 (gst_base_transform_class_init), (gst_base_transform_init),
30912 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30913 (gst_base_transform_get_property),
30914 (gst_base_transform_sink_activate),
30915 (gst_base_transform_src_activate),
30916 (gst_base_transform_change_state):
30917 * gst/base/gstbasetransform.h:
30918 * gst/elements/gstidentity.c: (gst_identity_class_init),
30919 (gst_identity_event), (gst_identity_check_perfect),
30920 (gst_identity_transform), (gst_identity_start),
30921 (gst_identity_stop):
30922 Added start/stop methods to transform base class so subclasses
30923 don't need to deal with state changes even.
30925 2005-03-31 Wim Taymans <wim@fluendo.com>
30927 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30928 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30930 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30931 (gst_pad_pull_range):
30932 Added rate to the discont event to prepare for variable speed
30933 and reverse playback.
30935 2005-03-29 David Schleef <ds@schleef.org>
30938 * testsuite/trigger/Makefile.am:
30939 * testsuite/trigger/trigger.c: A little example program to show
30940 how trigger-based elements can work.
30942 2005-03-29 Wim Taymans <wim@fluendo.com>
30944 * gst/base/Makefile.am:
30946 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30947 (gst_basesink_base_init), (gst_basesink_class_init),
30948 (gst_basesink_pad_getcaps), (gst_basesink_init),
30949 (gst_basesink_activate), (gst_basesink_change_state):
30950 * gst/base/gstbasesink.h:
30951 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30952 (gst_base_transform_base_init), (gst_base_transform_finalize),
30953 (gst_base_transform_class_init), (gst_base_transform_init),
30954 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30955 (gst_base_transform_event), (gst_base_transform_getrange),
30956 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30957 (gst_base_transform_set_property),
30958 (gst_base_transform_get_property),
30959 (gst_base_transform_sink_activate),
30960 (gst_base_transform_src_activate),
30961 (gst_base_transform_change_state):
30962 * gst/base/gstbasetransform.h:
30963 * gst/elements/gstidentity.c: (gst_identity_finalize),
30964 (gst_identity_class_init), (gst_identity_init),
30965 (gst_identity_event), (gst_identity_check_perfect),
30966 (gst_identity_transform), (gst_identity_set_property),
30967 (gst_identity_get_property), (gst_identity_change_state):
30968 * gst/elements/gstidentity.h:
30969 * gst/gstelement.c: (gst_element_get_state_func),
30970 (gst_element_lost_state), (gst_element_pads_activate):
30971 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30972 (gst_pad_check_pull_range), (gst_pad_pull_range):
30974 Simplify pad activation.
30975 Added function to check if pull_range can be performed.
30976 Error out when pulling inactive or flushing pads.
30977 Removed const from refcounted types as it does not make sense.
30978 Simplify pad templates in basesink
30979 Added base class for simple 1-to-1 transforms.
30980 Make identity subclass the base transform.
30982 2005-03-29 Andy Wingo <wingo@pobox.com>
30984 * docs/libs/gstreamer-libs-overrides.txt:
30985 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30986 really don't understand what's going on, but like whatever. I want
30989 * docs/gst/Makefile.am:
30990 * docs/libs/Makefile.am: Dist the overrides files.
30992 * check/Makefile.am (clean-local): Remove .libs directories.
30994 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30995 elements to EXTRA_DIST, so po/ files are happy.
30997 * po/POTFILES.in: Er, remove it here.
30999 * po/POTFILES: Remove gstspider.c.
31001 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31003 * docs/libs/gstreamer-libs-docs.sgml:
31004 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31007 * tests/complexity.c (main): Set the length of the preroll queue
31008 on the sinks to prevent a lockup.
31010 * libs/gst/dataprotocol/Makefile.am:
31011 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31012 the same as the one in check/gst-libs/gdp.c.
31014 * po/, docs/gst/: Commit automatic changes to docs and po files.
31016 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31017 the versioned libgstbase.
31019 * check/Makefile.am: Depend on an unversioned gst-register, seems
31020 to make autoconf happier.
31022 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31024 2005-03-28 Wim Taymans <wim@fluendo.com>
31027 * docs/design/part-gstelement.txt:
31028 * docs/design/part-negotiation.txt:
31029 * docs/design/part-preroll.txt:
31030 * docs/design/part-scheduling.txt:
31031 * docs/design/part-states.txt:
31033 * gst/base/Makefile.am:
31035 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31036 (gst_basesink_base_init), (gst_basesink_class_init),
31037 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31038 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31039 (gst_basesink_set_pad_functions),
31040 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31041 (gst_basesink_set_property), (gst_basesink_get_property),
31042 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31043 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31044 (gst_basesink_preroll_queue_push),
31045 (gst_basesink_preroll_queue_empty),
31046 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31047 (gst_basesink_event), (gst_basesink_get_times),
31048 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31049 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31050 (gst_basesink_loop), (gst_basesink_activate),
31051 (gst_basesink_change_state):
31052 * gst/base/gstbasesink.h:
31053 * gst/elements/Makefile.am:
31054 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31055 (gst_fakesink_class_init), (gst_fakesink_init),
31056 (gst_fakesink_set_property), (gst_fakesink_get_property),
31057 (gst_fakesink_get_times), (gst_fakesink_event),
31058 (gst_fakesink_preroll), (gst_fakesink_render),
31059 (gst_fakesink_change_state):
31060 * gst/elements/gstfakesink.h:
31061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31062 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31063 * gst/gstelement.c: (gst_element_add_pad),
31064 (gst_element_get_state_func), (gst_element_abort_state),
31065 (gst_element_commit_state), (gst_element_lost_state),
31066 (gst_element_set_state), (gst_element_pads_activate):
31067 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31068 * gst/gstpipeline.c: (gst_pipeline_send_event),
31069 (gst_pipeline_change_state):
31070 Added state change code.
31071 Added/updated docs.
31072 Added sink base class, make fakesink extend the base class.
31073 Small cleanups in GstPipeline.
31075 2005-03-26 David Schleef <ds@schleef.org>
31077 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31078 is broken and should be implemented in a different library.
31079 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31080 * gst/gst.h: remove gstcpu.h
31081 * gst/gstcpu.c: remove
31082 * gst/gstcpu.h: remove
31083 * gst/Makefile.am.future: Remove this file. It's ancient.
31085 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31087 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31088 (gst_bin_send_event):
31089 Add default event/set_manager handlers. The set_manager handler
31090 takes care that the manager is distributed over kids that were
31091 already in the bin before the manager was set. The event handler
31092 is a utility virtual function that sends the event over all sinks,
31093 so that gst_element_send_event (bin, event); has the expected
31095 * gst/gstpad.c: (gst_pad_event_default):
31096 Re-install default event handling for discontinuities, so that
31097 seeking works without requiring hacks in applications or extra
31099 * gst/gstpipeline.c: (gst_pipeline_class_init),
31100 (gst_pipeline_send_event):
31101 Half hack, half utility: set a pipeline to PAUSED for seek events,
31102 since that is the only way we can guarantee a/v sync. Means that
31103 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31104 and it "just works".
31106 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31108 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31109 Lock/unlock mismatch.
31111 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31113 * docs/faq/gst-uninstalled:
31114 add gst-plugins-base
31115 * docs/gst/Makefile.am:
31116 don't error out until docs are fixed
31117 * docs/gst/gstreamer.types:
31120 2005-03-22 Wim Taymans <wim@fluendo.com>
31122 * check/Makefile.am:
31123 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31124 * gst/gststructure.c: (gst_structure_set_valist),
31125 (gst_structure_copy_conditional):
31126 Activated more tests.
31127 Added message test.
31128 Added G_TYPE_POINTER to GstStructure.
31131 2005-03-22 Wim Taymans <wim@fluendo.com>
31133 * docs/design/part-TODO.txt:
31134 * docs/design/part-events.txt:
31135 * docs/design/part-gstbin.txt:
31136 * docs/design/part-gstbus.txt:
31137 * docs/design/part-gstpipeline.txt:
31138 * docs/design/part-messages.txt:
31140 * gst/gstmessage.c:
31143 2005-03-21 Wim Taymans <wim@fluendo.com>
31145 * gst/gstbus.c: (gst_bus_post):
31146 Fix copy-and-paste error.
31148 2005-03-21 Wim Taymans <wim@fluendo.com>
31150 * check/Makefile.am:
31152 * gst/elements/Makefile.am:
31153 * gst/elements/gstelements.c:
31154 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31155 (gst_fakesink_event), (gst_fakesink_chain):
31156 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31157 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31158 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31159 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31160 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31161 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31162 (gst_fakesrc_loop), (gst_fakesrc_activate),
31163 (gst_fakesrc_change_state):
31164 * gst/elements/gstfakesrc.h:
31165 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31166 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31167 (gst_filesrc_open_file), (gst_filesrc_loop),
31168 (gst_filesrc_activate), (gst_filesrc_change_state),
31169 (filesrc_find_peek), (filesrc_find_suggest),
31170 (gst_filesrc_type_find):
31171 * gst/elements/gstidentity.c: (gst_identity_finalize),
31172 (gst_identity_class_init), (gst_identity_init),
31173 (gst_identity_proxy_getcaps), (identity_queue_push),
31174 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31175 (gst_identity_getrange), (gst_identity_chain),
31176 (gst_identity_sink_loop), (gst_identity_src_loop),
31177 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31178 (gst_identity_set_property), (gst_identity_get_property),
31179 (gst_identity_change_state):
31180 * gst/elements/gstidentity.h:
31181 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31182 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31183 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31184 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31185 (gst_tee_sink_activate):
31186 * gst/elements/gsttee.h:
31187 * gst/gst.c: (gst_register_core_elements), (init_post):
31189 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31190 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31191 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31192 (gst_bin_change_state):
31194 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31195 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31196 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31197 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31198 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31199 (bus_watch_callback), (bus_watch_destroy),
31200 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31201 (poll_timeout), (gst_bus_poll):
31205 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31206 (gst_element_post_message), (gst_element_message_full),
31207 (gst_element_get_state_func), (gst_element_get_state),
31208 (gst_element_abort_state), (gst_element_commit_state),
31209 (gst_element_lost_state), (gst_element_set_state),
31210 (gst_element_pads_activate), (gst_element_change_state),
31211 (gst_element_dispose), (gst_element_set_manager_func),
31212 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31213 (gst_element_set_manager), (gst_element_get_manager),
31214 (gst_element_set_bus), (gst_element_get_bus),
31215 (gst_element_set_scheduler), (gst_element_get_scheduler):
31216 * gst/gstelement.h:
31217 * gst/gstevent.c: (gst_event_new_segment_seek),
31218 (gst_event_new_flush):
31220 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31221 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31222 (gst_message_new_eos), (gst_message_new_error),
31223 (gst_message_new_warning), (gst_message_new_tag),
31224 (gst_message_new_state_changed), (gst_message_new_application),
31225 (gst_message_get_structure), (gst_message_parse_tag),
31226 (gst_message_parse_state_changed), (gst_message_parse_error),
31227 (gst_message_parse_warning):
31228 * gst/gstmessage.h:
31229 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31230 (gst_real_pad_set_property), (gst_pad_set_active),
31231 (gst_pad_is_active), (gst_pad_set_blocked_async),
31232 (gst_pad_set_blocked), (gst_pad_is_blocked),
31233 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31234 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31235 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31236 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31237 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31238 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31239 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31240 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31241 (gst_pad_set_caps), (gst_pad_configure_sink),
31242 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31243 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31244 (gst_real_pad_dispose), (gst_real_pad_finalize),
31245 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31246 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31247 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31249 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31250 (pipeline_bus_handler), (gst_pipeline_change_state),
31251 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31252 * gst/gstpipeline.h:
31254 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31255 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31256 (gst_queue_link_src), (gst_queue_bufferalloc),
31257 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31258 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31259 (gst_queue_loop), (gst_queue_handle_src_event),
31260 (gst_queue_handle_src_query), (gst_queue_src_activate),
31261 (gst_queue_change_state):
31263 * gst/gstscheduler.c: (gst_scheduler_init),
31264 (gst_scheduler_dispose), (gst_scheduler_create_task),
31265 (gst_scheduler_factory_create):
31266 * gst/gstscheduler.h:
31267 * gst/gststructure.c: (gst_structure_get_type),
31268 (gst_structure_copy_conditional):
31269 * gst/gststructure.h:
31270 * gst/gsttaginterface.h:
31271 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31272 (gst_task_init), (gst_task_dispose), (gst_task_create),
31273 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31279 * gst/schedulers/Makefile.am:
31280 * gst/schedulers/cothreads_compat.h:
31281 * gst/schedulers/entryscheduler.c:
31282 * gst/schedulers/faircothreads.c:
31283 * gst/schedulers/faircothreads.h:
31284 * gst/schedulers/fairscheduler.c:
31285 * gst/schedulers/gstbasicscheduler.c:
31286 * gst/schedulers/gstoptimalscheduler.c:
31287 * gst/schedulers/gthread-cothreads.h:
31288 * gst/schedulers/threadscheduler.c:
31289 (gst_thread_scheduler_task_get_type),
31290 (gst_thread_scheduler_task_class_init),
31291 (gst_thread_scheduler_task_init),
31292 (gst_thread_scheduler_task_start),
31293 (gst_thread_scheduler_task_stop),
31294 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31295 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31296 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31297 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31299 * libs/gst/Makefile.am:
31300 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31301 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31302 (gst_file_pad_parent_set):
31303 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31304 (gst_dp_event_from_packet):
31305 * tests/complexity.c: (main):
31306 * tests/mass_elements.c: (main):
31307 * testsuite/states/locked.c: (message_received), (main):
31308 * testsuite/states/parent.c: (main):
31309 * tools/gst-inspect.c: (print_element_flag_info),
31310 (print_implementation_info), (print_pad_info):
31311 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31313 * tools/gst-md5sum.c: (event_loop), (main):
31314 * tools/gst-typefind.c: (main):
31315 * tools/gst-xmlinspect.c: (print_element_info):
31317 Added GstBus for mainloop integration.
31318 Added GstMessage for sending notifications on the bus.
31319 Added GstTask as an abstraction for pipeline entry points.
31321 Removed Schedulers.
31322 Simplified GstQueue for multithreaded core.
31323 Made _link threadsafe, removed old capsnego.
31324 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31325 Added pad blocking functions.
31326 Reworked scheduling functions in GstPad to prepare for
31327 scheduling updates soon.
31328 Moved events out of data stream.
31329 Simplified GstEvent types.
31330 Added return values to push/pull.
31331 Removed clocking from GstElement.
31332 Added prototypes for state change function for next merge.
31333 Removed iterate from bins and state change management.
31334 Fixed some elements, disabled others for now.
31335 Fixed -inspect and -launch.
31336 Added check for GstBus.
31338 2005-03-10 Wim Taymans <wim@fluendo.com>
31340 * docs/design/part-MT-refcounting.txt:
31341 * docs/design/part-clocks.txt:
31342 * docs/design/part-gstelement.txt:
31343 * docs/design/part-gstobject.txt:
31344 * docs/design/part-standards.txt:
31345 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31346 (gst_bin_remove_func), (gst_bin_remove):
31350 * testsuite/clock/clock1.c: (main):
31351 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31353 * testsuite/dlopen/loadgst.c: (do_test):
31354 * testsuite/refcounting/bin.c: (add_remove_test1),
31355 (add_remove_test2), (main):
31356 * testsuite/refcounting/element.c: (main):
31357 * testsuite/refcounting/element_pad.c: (main):
31358 * testsuite/refcounting/pad.c: (main):
31359 * tools/gst-launch.c: (sigint_handler_sighandler):
31360 * tools/gst-typefind.c: (main):
31362 Added doc about clock.
31363 removed gst_bin_iterate_recurse_up(), marked methods
31365 Fix more testsuites.
31367 2005-03-09 Wim Taymans <wim@fluendo.com>
31369 * gst/gstpad.c: (gst_pad_get_direction),
31370 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31371 (gst_pad_collect_valist):
31372 * testsuite/bins/interface.c: (main):
31373 * testsuite/caps/audioscale.c: (test_caps):
31374 * testsuite/caps/caps.c: (test1), (test2), (test3):
31375 * testsuite/caps/deserialize.c: (main):
31376 * testsuite/caps/enumcaps.c: (main):
31377 * testsuite/caps/filtercaps.c: (main):
31378 * testsuite/caps/intersect2.c: (main):
31379 * testsuite/caps/random.c: (main):
31380 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31381 * testsuite/caps/sets.c: (check_caps):
31382 * testsuite/caps/simplify.c: (check_caps), (main):
31383 * testsuite/caps/subtract.c: (check_caps):
31384 Fix _pad_get_direction wrt ghostpads.
31385 Fix caps testsuite.
31387 2005-03-09 Wim Taymans <wim@fluendo.com>
31389 * check/Makefile.am:
31390 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31391 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31392 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31393 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31394 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31395 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31396 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31397 (bin_element_is_sink), (gst_bin_iterate_sinks),
31398 (gst_bin_iterate_all_by_interface):
31400 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31401 (gst_element_change_state), (gst_element_dispose),
31402 (gst_element_finalize), (gst_element_set_loop_function):
31403 * gst/gstelement.h:
31404 * gst/gstiterator.c: (find_custom_fold_func):
31405 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31406 (gst_pad_collectv), (gst_pad_collect_valist),
31407 (gst_pad_template_new):
31408 * gst/gstpipeline.c: (gst_pipeline_class_init),
31409 (gst_pipeline_dispose), (gst_pipeline_set_property),
31410 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31411 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31412 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31414 * gst/schedulers/entryscheduler.c:
31415 * gst/schedulers/gstbasicscheduler.c:
31416 (gst_basic_scheduler_cothreaded_chain),
31417 (gst_basic_scheduler_chain_add_element):
31418 * testsuite/bins/interface.c: (main):
31420 Added GstSystemClock test.
31421 Implemented clock distribution code in GstBin.
31422 Implemented iterate sinks method for future use.
31423 Rearranged gstelement.h
31424 Fix GstIterator comparison bug.
31425 Moved some code to GstPipeline, mostly clocking related.
31427 2005-03-09 Wim Taymans <wim@fluendo.com>
31430 * gst/gst_private.h:
31431 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31432 (gst_bin_remove_func), (gst_bin_remove),
31433 (gst_bin_get_by_name_recurse_up):
31434 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31435 (gst_clock_id_compare_func), (gst_clock_id_wait),
31436 (gst_clock_id_wait_async), (gst_clock_init),
31437 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31438 * gst/gstelement.h:
31439 * gst/gstinfo.c: (_gst_debug_init):
31441 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31442 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31444 Bump version number, we're now 0.9.0
31445 Add future debugging category.
31446 Fix NULL _unref() in _get_by_name_recurse_up
31447 Rearrange gstpad.h.
31450 2005-03-08 Wim Taymans <wim@fluendo.com>
31452 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31453 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31454 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31455 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31456 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31457 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31458 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31459 * gst/elements/gstidentity.c: (gst_identity_class_init):
31460 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31461 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31462 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31463 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31464 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31466 * gst/gstelement.c: (gst_element_class_init),
31467 (gst_element_base_class_init), (gst_element_init),
31468 (gst_element_get_random_pad), (gst_element_wait_state_change),
31469 (gst_element_change_state), (gst_element_dispose),
31470 (gst_element_finalize), (gst_element_set_loop_function):
31471 * gst/gstelement.h:
31472 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31473 * gst/gstthread.c: (gst_thread_class_init),
31474 (gst_thread_release_children_locks), (gst_thread_change_state):
31475 * gst/schedulers/gstbasicscheduler.c:
31476 (gst_basic_scheduler_loopfunc_wrapper),
31477 (gst_basic_scheduler_chain_wrapper),
31478 (gst_basic_scheduler_src_wrapper),
31479 (gst_basic_scheduler_remove_element):
31480 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31481 Remove threadsafe properties. Fix elements because GObject
31482 complains when installing a property before declaring a
31483 set/get_property handler.
31484 Rearrange gstelement.h file, use STATE macros for state locks.
31485 Free mutexes in the finalize method instead of dispose.
31487 2005-03-08 Wim Taymans <wim@fluendo.com>
31489 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31490 * gst/gstthread.c: (gst_thread_release_children_locks):
31491 Added parentage check.
31492 Fix build og GstThread again.
31494 2005-03-08 Wim Taymans <wim@fluendo.com>
31496 * docs/design/part-MT-refcounting.txt:
31497 * docs/design/part-conventions.txt:
31498 * docs/design/part-gstobject.txt:
31499 * docs/design/part-relations.txt:
31500 * docs/design/part-standards.txt:
31501 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31502 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31503 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31504 (gst_bin_iterate_all_by_interface):
31507 * gst/gstelement.c: (gst_element_class_init),
31508 (gst_element_change_state), (gst_element_set_loop_function):
31509 * gst/gstelement.h:
31510 * gst/gstiterator.c:
31511 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31512 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31513 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31514 (gst_object_set_parent), (gst_object_unparent),
31515 (gst_object_check_uniqueness):
31517 Docs updates, clean up some headers.
31519 2005-03-07 Wim Taymans <wim@fluendo.com>
31521 * check/.cvsignore:
31522 * check/Makefile.am:
31523 * check/gst-libs/.cvsignore:
31524 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31525 * check/gst/.cvsignore:
31526 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31527 (START_TEST), (gstbus_suite), (main):
31528 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31529 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31530 (gst_data_suite), (main):
31531 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31532 (add_fold_func), (gstiterator_suite), (main):
31533 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31534 (thread_name_object), (thread_name_object_default),
31535 (gst_object_name_compare), (gst_object_suite), (main):
31536 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31537 (gst_pad_suite), (main):
31538 * check/gstcheck.c: (gst_check_log_message_func),
31539 (gst_check_log_critical_func), (gst_check_init):
31540 * check/gstcheck.h:
31541 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31542 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31545 2005-03-07 Wim Taymans <wim@fluendo.com>
31547 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31548 (gst_list_iterator_next), (gst_list_iterator_resync),
31549 (gst_list_iterator_free), (gst_iterator_new_list),
31550 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31551 (gst_iterator_free), (gst_iterator_push), (filter_next),
31552 (filter_resync), (filter_uninit), (filter_free),
31553 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31554 (gst_iterator_foreach), (find_custom_fold_func),
31555 (gst_iterator_find_custom):
31556 * gst/gstiterator.h:
31557 Added missing files.
31559 2005-03-07 Wim Taymans <wim@fluendo.com>
31563 * docs/design/part-MT-refcounting.txt:
31564 * docs/design/part-conventions.txt:
31565 * docs/design/part-gstobject.txt:
31566 * docs/design/part-relations.txt:
31567 * examples/mixer/mixer.c: (main):
31568 * examples/thread/thread.c: (eos), (main):
31570 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31571 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31572 (gst_spider_plug_from_srcpad):
31573 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31574 (gst_spider_identity_change_state),
31575 (gst_spider_identity_sink_loop_type_finding):
31576 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31577 * gst/elements/gstidentity.c: (gst_identity_init):
31578 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31579 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31580 * gst/elements/gsttypefindelement.c: (free_entry):
31583 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31584 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31585 (gst_bin_set_index), (gst_bin_set_element_sched),
31586 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31587 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31588 (gst_bin_iterate_elements), (iterate_child_recurse),
31589 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31590 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31591 (compare_interface), (gst_bin_get_by_interface),
31592 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31594 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31595 (gst_buffer_default_free), (gst_buffer_default_copy),
31596 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31597 (gst_buffer_create_sub):
31599 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31600 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31601 (gst_caps_unref), (gst_static_caps_get),
31602 (gst_caps_remove_and_get_structure), (gst_caps_append),
31603 (gst_caps_append_structure), (gst_caps_remove_structure),
31604 (gst_caps_copy_nth), (gst_caps_set_simple),
31605 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31606 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31607 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31608 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31609 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31610 (gst_caps_structure_figure_out_union),
31611 (gst_caps_switch_structures), (gst_caps_do_simplify),
31612 (gst_caps_replace), (gst_caps_from_string),
31613 (gst_caps_copy_conditional):
31615 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31616 (_gst_clock_id_free), (gst_clock_id_unref),
31617 (gst_clock_id_compare_func), (gst_clock_id_wait),
31618 (gst_clock_id_wait_async), (gst_clock_class_init),
31619 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31620 (gst_clock_get_time), (gst_clock_set_time_adjust),
31621 (gst_clock_set_property), (gst_clock_get_property):
31624 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31625 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31627 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31628 (gst_element_requires_clock), (gst_element_provides_clock),
31629 (gst_element_set_clock), (gst_element_clock_wait),
31630 (gst_element_wait), (gst_element_set_time_delay),
31631 (gst_element_is_indexable), (gst_element_add_pad),
31632 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31633 (pad_compare_name), (gst_element_get_static_pad),
31634 (gst_element_request_pad), (gst_element_get_request_pad),
31635 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31636 (gst_element_class_get_pad_template_list),
31637 (gst_element_class_get_pad_template), (gst_element_error_func),
31638 (gst_element_get_random_pad), (gst_element_get_event_masks),
31639 (gst_element_send_event), (gst_element_seek),
31640 (gst_element_get_query_types), (gst_element_query),
31641 (gst_element_get_formats), (gst_element_convert),
31642 (gst_element_is_locked_state), (gst_element_set_locked_state),
31643 (gst_element_sync_state_with_parent), (gst_element_change_state),
31644 (gst_element_finalize), (gst_element_yield),
31645 (gst_element_interrupt), (gst_element_set_scheduler),
31646 (gst_element_get_scheduler), (gst_element_set_loop_function):
31647 * gst/gstelement.h:
31649 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31650 (gst_format_get_by_nick), (gst_format_get_details),
31651 (gst_format_iterate_definitions):
31653 * gst/gstindex.c: (gst_index_gtype_resolver):
31656 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31657 (gst_mem_chunk_free):
31658 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31659 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31660 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31661 (gst_object_dispatch_properties_changed),
31662 (gst_object_set_name_default), (gst_object_set_name),
31663 (gst_object_get_name), (gst_object_set_name_prefix),
31664 (gst_object_get_name_prefix), (gst_object_set_parent),
31665 (gst_object_get_parent), (gst_object_unparent),
31666 (gst_object_check_uniqueness), (gst_object_save_thyself),
31667 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31668 (gst_object_set_property), (gst_object_get_property),
31669 (gst_object_get_path_string):
31671 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31672 (gst_real_pad_init), (gst_real_pad_get_property),
31673 (gst_pad_custom_new), (gst_pad_get_direction),
31674 (gst_pad_set_active), (gst_pad_is_active),
31675 (gst_pad_set_event_function), (gst_pad_is_linked),
31676 (gst_pad_link_free), (gst_pad_link_intersect),
31677 (gst_pad_link_fixate), (gst_pad_set_caps),
31678 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31679 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31680 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31681 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31682 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31683 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31684 (gst_pad_realize), (gst_pad_get_allowed_caps),
31685 (gst_real_pad_dispose), (gst_real_pad_finalize),
31686 (gst_pad_collectv), (gst_pad_collect_valist),
31687 (gst_pad_template_dispose), (gst_pad_template_new),
31688 (gst_pad_get_internal_links):
31690 * gst/gstpipeline.c: (gst_pipeline_dispose),
31691 (gst_pipeline_change_state):
31692 * gst/gstpipeline.h:
31694 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31695 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31696 * gst/gstpluginfeature.h:
31697 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31698 * gst/gstquery.c: (_gst_query_type_initialize),
31699 (gst_query_type_register), (gst_query_type_get_by_nick),
31700 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31702 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31703 * gst/gstscheduler.c: (gst_scheduler_add_element),
31704 (gst_scheduler_factory_create):
31705 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31706 (gst_structure_free), (gst_structure_set_name),
31707 (gst_structure_id_set_value), (gst_structure_set_value),
31708 (gst_structure_set_valist), (gst_structure_remove_field),
31709 (gst_structure_remove_fields),
31710 (gst_structure_remove_fields_valist),
31711 (gst_structure_remove_all_fields), (gst_structure_foreach),
31712 (gst_structure_map_in_place),
31713 (gst_caps_structure_fixate_field_nearest_int),
31714 (gst_caps_structure_fixate_field_nearest_double):
31715 * gst/gststructure.h:
31716 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31717 (gst_system_clock_init), (gst_system_clock_dispose),
31718 (gst_system_clock_async_thread),
31719 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31720 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31721 * gst/gstsystemclock.h:
31722 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31723 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31724 * gst/gsttaginterface.c:
31725 * gst/gstthread.c: (gst_thread_dispose),
31726 (gst_thread_release_children_locks), (gst_thread_change_state),
31727 (gst_thread_main_loop):
31728 * gst/gsttrashstack.h:
31729 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31731 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31732 (gst_element_request_pad), (gst_element_get_pad_from_template),
31733 (gst_element_request_compatible_pad),
31734 (gst_element_get_compatible_pad_filtered),
31735 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31736 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31737 (gst_element_link_many), (gst_element_link),
31738 (gst_element_link_pads), (gst_element_unlink_pads),
31739 (gst_element_unlink_many), (gst_element_unlink),
31740 (gst_pad_can_link_filtered), (gst_pad_can_link),
31741 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31742 (gst_object_default_error), (gst_bin_add_many),
31743 (gst_bin_remove_many), (gst_element_populate_std_props),
31744 (gst_element_class_install_std_props), (gst_buffer_merge),
31745 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31746 (link_fold_func), (gst_pad_proxy_setcaps):
31748 * gst/gstvalue.c: (gst_value_deserialize_string):
31749 * gst/parse/grammar.y:
31750 * gst/schedulers/gstbasicscheduler.c:
31751 (gst_basic_scheduler_cothreaded_chain),
31752 (gst_basic_scheduler_chain_recursive_add),
31753 (gst_basic_scheduler_pad_link):
31754 * gst/schedulers/gstoptimalscheduler.c:
31755 (get_group_schedule_function),
31756 (gst_opt_scheduler_state_transition),
31757 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31758 * libs/gst/bytestream/bytestream.c:
31759 * libs/gst/dataprotocol/dataprotocol.c:
31760 (gst_dp_header_from_buffer):
31763 * tests/threadstate/threadstate2.c: (eos):
31764 * tools/gst-compprep.c: (main):
31765 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31766 (print_pad_info), (print_children_info):
31767 * tools/gst-launch.c: (idle_func), (main):
31768 * tools/gst-md5sum.c: (idle_func), (main):
31769 * tools/gst-xmlinspect.c: (print_element_info):
31770 First THREADED backport attempt, focusing on adding locks and
31771 making sure the API is threadsafe. Needs more work. More docs
31774 2005-02-24 Andy Wingo <wingo@pobox.com>
31776 * tests/bench-complexity.scm:
31777 * tests/complexity.gnuplot: New files, good for running complexity
31780 * tests/Makefile.am:
31781 * tests/complexity.c: New test, sets up N elements, at each level
31782 teeing into M streams per element. Eeeenteresting.
31784 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31785 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31786 running bench-mass_elements.scm.
31788 * tests/bench-mass_elements.scm: New script, runs mass_elements
31789 for various numbers of identities, outputting the results to a
31790 file. Requires guile 1.6. Just for testing.
31792 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31794 * gst/schedulers/fairscheduler.c:
31795 compile with debug disabled
31797 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31800 hunting season on 0.9 is now OPEN