1 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
4 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
7 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
9 * gst/gstbuffer.c: (gst_buffer_finalize):
10 Avoid costly typechecking for trivially correct pointers.
12 * gst/gstpoll.c: (gst_poll_wait):
13 Add some G_LIKELY here and there.
15 * libs/gst/base/gstadapter.c: (gst_adapter_push):
18 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
20 * docs/random/wtay/poll-timeout:
23 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
25 * tests/old/testsuite/caps/intersection.c: (main):
26 * tests/old/testsuite/plugin/loading.c: (main):
27 Remove references to deprecated API g_mem_chunk*.
30 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
32 * tools/gst-inspect.c: (main):
33 Add --plugin option. Fixes #560301.
35 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
37 * docs/random/wtay/poll-timeout:
38 Quick braindump for a possible (not totally verified) atomic case.
40 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
42 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
43 (gst_registry_binary_initialize_magic),
44 (gst_registry_binary_write_cache),
45 (gst_registry_binary_check_magic):
46 * gst/gstregistrybinary.h:
47 Don't write and check a CRC for the binary registry file. It's
48 guaranteed that the registry is completely written (it's first written
49 to a temporary file and then moved) and if the registry was corrupted
50 by some hardware failure we would have bigger problems.
52 Bump binary registry version to 0.10.21.1 for this as it's an
53 incompatible change and to ensure that the registry gets rebuild
56 This saves some milliseconds for reading/writing the registry.
59 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
61 * docs/random/wtay/poll-timeout:
62 Some pseudo code for how we could implement clock timeouts with GstPoll.
64 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
66 * plugins/elements/gstfilesink.c:
67 Update Author string to match others.
69 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
71 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
72 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
73 being fixed and inline the trivial check.
75 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
77 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
78 (gst_caps_merge_structure), (gst_caps_get_structure),
79 (gst_caps_copy_nth), (gst_caps_set_simple),
80 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
81 (gst_caps_is_equal_fixed), (gst_caps_intersect),
82 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
84 Callgrind micro optimisations.
85 Avoid array bounds checks and force inline of trivial function.
87 * gst/gstobject.c: (gst_object_set_name_default):
88 -1 is equivalent to letting glib to the strlen but then there is more
89 room for optimisations and it's not our fault.
91 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
92 no need to clear the array, we're cool.
94 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
95 The most common _is_fixed() check is done on fundamental glib base
96 types so we check this first instead of doing a huge amount of
97 useless GST_TYPE_ARRAY calls.
99 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
102 Add a SKIP seek flag for use with advanced trickmodes.
103 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
105 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
107 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
108 No need to memset, we can clear the value ourselves.
110 * gst/gstvalue.c: (gst_type_is_fixed),
111 (gst_value_get_compare_func):
112 Some optimisations from a few callgrind sessions:
113 When checking if a type is fixed, check for trivial fundamental types
114 first before checking types for which we need to get the type followed
115 by the heavy duty type checks, this reduces the amount of
116 g_type_fundamental() calls a lot.
117 When getting the compare function, first check for our registered types.
118 If that fails, do the heavy duty g_type_is_a() checks, reduces the
119 amount of g_type_is_a() considerably.
121 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
123 * docs/design/part-TODO.txt:
124 Mumble something about removing GstXML.
126 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
128 * gst/gstbin.c: (gst_bin_handle_message_func):
129 Get the seqnum before we dispose the message.
131 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
133 * docs/design/part-TODO.txt:
134 Refer to the framestepping document.
136 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
138 * gst/gstbin.c: (bin_handle_async_start),
139 (gst_bin_handle_message_func), (gst_bin_query):
140 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
141 (gst_base_sink_event), (gst_base_sink_change_state):
142 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
143 (gst_base_src_loop), (gst_base_src_change_state):
144 Copy seqnums from events to messages so that they can all be related
147 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
149 * tools/gst-launch.c: (event_loop):
150 Print the message seqnums.
152 2008-11-04 Andy Wingo <wingo@pobox.com>
154 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
156 2008-11-04 Andy Wingo <wingo@pobox.com>
158 Add sequence numbers to events and messages. See #559250.
160 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
164 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
165 events with a new sequence number, and copy it when copying.
166 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
167 an event's sequence number.
170 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
171 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
174 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
176 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
178 * docs/manual/advanced-position.xml:
179 * docs/manual/basics-bins.xml:
180 * docs/manual/basics-bus.xml:
181 * docs/manual/basics-pads.xml:
182 * docs/manual/intro-gstreamer.xml:
183 * docs/manual/intro-preface.xml:
184 Some Application Development Manual fixes thanks to
185 Andrew Feren. Fixes #558459.
187 2008-11-03 Stefan Kost <ensonic@users.sf.net>
189 * gst/gstregistrybinary.c:
190 Don't bother with the GTimer if we don't output the results.
192 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
194 Patch by: David Schleef <ds@schleef.org>
196 * libs/gst/net/Makefile.am:
197 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
199 2008-10-31 Stefan Kost <ensonic@users.sf.net>
201 * gst/gstregistrybinary.c:
202 Oh my, studip, stupid me. Remove double stat() call.
204 2008-10-31 Stefan Kost <ensonic@users.sf.net>
207 Use g_unlink instead of unlink.
209 * gst/gststructure.c:
218 Formatting & whitespaces.
220 2008-10-31 Stefan Kost <ensonic@users.sf.net>
222 * plugins/elements/gstidentity.c:
223 Doc typo. Use return value of parent_class->event.
225 * plugins/elements/gsttypefindelement.c:
226 Chain up at the end for consistency.
228 2008-10-30 Stefan Kost <ensonic@users.sf.net>
231 * docs/gst/gstreamer-docs.sgml:
232 * docs/gst/gstreamer-sections.txt:
233 * docs/gst/running.xml:
234 * docs/libs/gstreamer-libs-docs.sgml:
235 Change to xinclude based build - its faster and easier to maintain.
237 2008-10-30 Stefan Kost <ensonic@users.sf.net>
239 * gst/gstregistrybinary.c:
240 * gst/gstregistryxml.c:
241 Use g_unlink() as none of these are directories.
243 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
245 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
248 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
250 * libs/gst/base/gstbasetransform.c:
251 (gst_base_transform_find_transform), (gst_base_transform_getrange):
252 If we have a fixate function, call it even if we already have fixed caps
253 because the subclass might add some caps. Makes audioconvert add a
254 default channel layout.
256 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
258 * libs/gst/base/gstbasetransform.c:
259 (gst_base_transform_prepare_output_buffer),
260 (gst_base_transform_getrange):
261 Clear the output buffer variable.
262 Cleanups to the error path in the getrange function.
265 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
267 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
268 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
269 Use gst_buffer_try_new_and_alloc() and handle errors instead of
270 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
273 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
275 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
276 Set the last_stop to a more meaningful position when configuring the
277 segment. ie. the start/stop of the segment or clipped against the
278 updated segment boundaries.
280 * tests/check/gst/gstsegment.c: (GST_START_TEST):
281 Add some unit tests for the last_stop.
283 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
285 * libs/gst/base/gstbytereader.c:
286 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
289 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
291 * docs/gst/gstreamer-sections.txt:
293 API: Move float endianness conversion macros from libgstfloatcast
294 to core as it's useful in general, even in core. Fixes bug #555196.
295 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
296 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
297 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
299 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
300 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
301 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
302 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
304 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
306 * docs/libs/gstreamer-libs-sections.txt:
307 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
308 (gst_byte_reader_peek_data):
309 * libs/gst/base/gstbytereader.h:
310 * win32/common/libgstbase.def:
311 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
312 to get a pointer to the data at the current position and have
315 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
318 Fix a bug in the output of the configure script summary
319 when --gst-disable-registry is supplied
321 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
323 * libs/gst/base/gstbitreader.c:
324 * libs/gst/base/gstbytereader.c:
325 Fix the names of 2 functions in the docs strings.
327 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
329 * libs/gst/base/gstbasetransform.c:
330 (gst_base_transform_prepare_output_buffer),
331 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
332 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
333 refcount problems as seen in banshee and maybe also in farsight2.
334 Remove atomic int now that we need to take the lock anyways.
336 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
338 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
339 (gst_base_sink_default_prepare_seek_segment),
340 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
341 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
342 (gst_base_sink_query):
343 Implement more seeking in pull mode.
344 Use pad convert functions to convert position to the requested format.
345 Fix position/duration reporting in pull mode.
346 Implement position and duration reporting in other formats than time.
348 * libs/gst/base/gstbasesink.h:
349 Add member to keep track of when the segment is playing.
351 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
353 * gst/gstpad.c: (gst_pad_configure_src):
354 When we use gst_pad_alloc_buffer() without wanting to set the caps we
355 also don't need to check if the caps are compatible because the caller
356 presumably is going to perform its own custom checks. Fixes some cases
357 where basetransform elements would error out when it was not needed.
359 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
361 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
364 * libs/gst/base/gstbasetransform.c:
365 (gst_base_transform_handle_buffer),
366 (gst_base_transform_reconfigure):
369 * win32/common/libgstbase.def:
372 2008-10-19 Stefan Kost <ensonic@users.sf.net>
374 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
375 Remove duplicated assignment and log a message in failure case.
377 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
379 Patch by: Dig Ge <dig.ge.cn at gmail com>
381 * tests/examples/helloworld/helloworld.c: (main):
382 Fix copy'n'paste bug in hello world example (#556900).
384 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
386 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
387 (gst_base_sink_query):
388 Query the total number of bytes when activating the pad in pull mode.
389 Implement duration query in pull mode by using the installed pad convert
390 function to convert from bytes to the requested format.
392 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
394 * docs/libs/gstreamer-libs-sections.txt:
395 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
396 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
397 (gst_base_sink_event), (gst_base_sink_perform_seek),
398 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
399 (gst_base_sink_send_event), (gst_base_sink_change_state):
400 * libs/gst/base/gstbasesink.h:
401 Add method to commit the state in subclasses.
402 Refactor the flush_start and flush_stop code because we need it for
403 flushing while seeking too.
404 Implement the beginnings of seeking in pull mode.
405 Use the segment last_stop field for the pulling offset.
406 Fix the pause method in pull mode.
407 Configure the segment to BYTES for pull mode.
408 API: GstBaseSink::gst_base_sink_do_preroll()
410 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
412 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
415 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
417 * gst/gstquark.c: (_priv_gst_quarks_initialize):
418 Fix printf format warning.
420 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
422 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
423 Fix flow aggregation of tee. Error out immediately for all flow returns
424 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
425 and return OK if at least one pad is linked.
427 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
428 and otherwise returned the flow return of the last pad, which is wrong.
430 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
431 (GST_START_TEST), (tee_suite):
432 Add unit tests for the flow aggregation.
434 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
436 * docs/design/part-TODO.txt:
437 Remove item from the todo list because it was fixed with the latency
438 state change rewrites.
440 * docs/design/part-seeking.txt:
441 * docs/design/part-segments.txt:
444 * gst/gstevent.c: (gst_event_new_new_segment_full),
445 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
446 (gst_event_parse_buffer_size), (gst_event_new_qos),
447 (gst_event_parse_qos), (gst_event_new_seek),
448 (gst_event_parse_seek), (gst_event_new_latency),
449 (gst_event_parse_latency):
450 Use quarks to construct and parse events.
452 * gst/gstquark.c: (_priv_gst_quarks_initialize):
454 Add some more quarks to the table.
455 Emit a warning when the quark tables are not in sync.
457 * tests/check/gst/gstbus.c: (GST_START_TEST):
460 2008-10-13 Stefan Kost <ensonic@users.sf.net>
462 * plugins/elements/Makefile.am:
463 * plugins/indexers/Makefile.am:
464 Don't install static libs for plugins. Fixes #550851 for core.
466 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
468 * gst/gstbus.c: (gst_bus_source_finalize),
469 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
470 (gst_bus_enable_sync_message_emission),
471 (gst_bus_disable_sync_message_emission),
472 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
473 Fix deadlock, g_source_get_id() cannot be called in finalize.
474 Keep track of the watch source by keeping a pointer to the source object
476 Use the bus lock to protect access to the pointer to the current
479 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
481 Base on Patch by: Olivier Crete <tester at tester dot ca>
483 * gst/gstbus.c: (gst_bus_source_finalize),
484 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
485 Only allow one bus watch to be set at a time. This is necessary
486 because the dispatcher pops the message from the bus and the second
487 watcher will then get NULL or the next message (and the first won't
488 get this next message then, etc). If more than one "watcher" is
489 required signal watches should be used. Fixes bug #526044.
491 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
493 * tools/gst-launch.c:
494 Change the printing of the 'buffering...' output to avoid putting
495 a \r in a translateable string (flagged by the TP).
497 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
500 Clarify that the save_thyself() and restore_thyself() virtual
501 functions of GstObject need to be overriden, not
502 gst_object_(save|restore)_thyself() which is impossible.
505 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
507 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
508 Revert a patch from 21 months ago that broke caps negotiation in pull
509 mode. Basically, having a buffer pass over a pad will trigger the
510 setcaps function when caps change, just like in push mode.
512 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
514 * docs/design/part-negotiation.txt:
515 Update the docs some more.
517 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
518 If we pull a buffer with non-trivial caps, suggest those caps with the
521 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
523 * docs/design/part-TODO.txt:
524 Add another limitation of pad-blocking with segment seeks not pushing
527 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
529 * win32/common/libgstbase.def:
530 * win32/common/libgstreamer.def:
531 Add new symbols to the win32 defs files
533 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
535 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
536 (gst_bin_handle_message_func):
537 The message src can be NULL, don't try to print the object names in that
540 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
541 Add some more debug info.
543 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
546 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
549 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
551 * docs/design/part-negotiation.txt:
554 * docs/libs/gstreamer-libs-sections.txt:
555 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
556 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
557 (gst_base_sink_init), (gst_base_sink_set_blocksize),
558 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
559 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
560 (gst_base_sink_loop), (gst_base_sink_pad_activate),
561 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
562 (gst_base_sink_change_state):
563 * libs/gst/base/gstbasesink.h:
564 Add blocksize property and methods to control the amount of data
566 Negotiate first before activating upstream in pull mode so that they can
567 negotiate themselves.
568 When we operate in pull mode, we only accept the caps that we
570 Make the sink go ASYNC to PAUSED, like all other sinks.
571 API: GstBaseSink::gst_base_sink_set_blocksize()
572 API: GstBaseSink::gst_base_sink_get_blocksize()
573 API: GstBaseSink::blocksize
575 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
576 (gst_base_src_set_live), (gst_base_src_is_live),
577 (gst_base_src_set_format), (gst_base_src_query_latency),
578 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
579 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
580 (gst_base_src_set_property), (gst_base_src_get_property):
581 * libs/gst/base/gstbasesrc.h:
582 Add typechecking in public API functions.
583 Add methods to control the blocksize in subclasses.
584 API: GstBaseSrc::gst_base_src_set_blocksize()
585 API: GstBaseSrc::gst_base_src_get_blocksize()
587 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
589 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
590 (buffer_probe), (event_probe), (GST_START_TEST):
591 We now see 3 events go through our pad, since basesink now sends
592 upstream latency events.
594 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
596 * gst/gstpipeline.c: (gst_pipeline_change_state):
597 Release the object lock before trying to flush the bus.
599 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
601 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
602 Forward LATENCY events upstreams so that elements know about the total
603 pipeline latency. Fixes #555307.
605 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
607 * plugins/elements/gstqueue.c:
608 Allow through queries when we don't know how
609 to adjust them (not TIME or BYTES), as otherwise it's
610 not possible to query the current position in order
611 to seek in other formats at all.
613 2008-10-08 Andy Wingo <wingo@pobox.com>
615 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
617 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
621 Unbreak -good build, private is a reserved c++ keyword.
623 2008-10-08 Andy Wingo <wingo@pobox.com>
625 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
626 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
627 removal: re-add GST_GHOST_PAD_CAST to the header.
629 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
630 (GstGhostPadClass): Publically expose these structures so as to
631 allow easy subclassing from C. Hide the member data behind a
632 private opaque data pointer.
634 * gst/gstghostpad.c: Adapt to store instance data in the type
635 instance's private data region, not in the public struct.
637 2008-10-08 Andy Wingo <wingo@pobox.com>
639 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
640 template via g_object_get(), be sure to unref it.
642 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
644 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
646 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
647 If we can't get a cache file don't try to save something to it.
648 Dereferencing NULL pointers usually isn't a good idea.
650 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
652 * tests/check/Makefile.am:
653 * tests/check/gst/gstabi.c:
654 * tests/check/gst/struct_sparc.h:
655 * tests/check/libs/libsabi.c:
656 * tests/check/libs/struct_sparc.h:
659 * tests/check/gst/gstvalue.c: (GST_START_TEST):
660 Cast signed integer to unsigned to avoid a compiler warning.
662 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
664 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
665 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
666 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
667 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
668 (gst_byte_reader_peek_int24_be):
669 Use new GST_READ_UINT24_(LE|BE) macros.
671 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
673 * docs/gst/gstreamer-sections.txt:
675 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
676 as it's too easy to break the ISO C strict aliasing rules with simple
677 casts to the corresponding type and this would introduce hard to debug
678 bugs. Fixes bug #545714.
680 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
682 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
684 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
685 * gst/gstghostpad.c: (gst_ghost_pad_construct):
686 Add 'Since' bits to gtk-doc chunks for new API.
688 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
690 * docs/gst/gstreamer-sections.txt:
693 2008-10-06 Andy Wingo <wingo@pobox.com>
695 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
696 that will be called on the malloc_data to free it. Basically a way
697 to avoid subclassing when all you need is a different free
698 function, i.e. free() instead of g_free().
700 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
701 calling the free function.
702 (gst_buffer_init): Initialize the free function to g_free.
704 2008-10-06 Andy Wingo <wingo@pobox.com>
707 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
708 finishes the initialization of ghost pad. Useful for language
709 bindings and subclassers of GstGhostPad. Fixes #539108.
710 (gst_ghost_pad_new_full): Use the new constructor.
712 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
714 Base on Patch by: Olivier Crete <tester at tester dot ca>
716 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
717 (gst_bin_remove_func), (update_degree),
718 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
719 Keep track of pads that are being linked/unlinked and resync the state
722 * gst/gstpad.c: (gst_pad_get_direction),
723 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
724 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
725 (gst_pad_link_prepare), (gst_pad_link),
726 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
727 (gst_pad_check_pull_range), (gst_pad_get_range),
728 (gst_pad_pull_range):
729 Some code cleanups, use macros to check pad direction.
730 Don't need to take the lock on the pad direction.
731 Post structure change when pads are linked/unlinked.
732 Change some checks into _return_if_fail().
734 * tests/check/gst/gstbin.c:
735 (test_link_structure_change_state_changed_sync_cb),
736 (GST_START_TEST), (gst_bin_suite):
737 Add testcase for pad link/unlinke resync during a state change.
740 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
742 * docs/gst/gstreamer-sections.txt:
743 * gst/gstmessage.c: (gst_message_new_structure_change),
744 (gst_message_parse_structure_change):
746 Implement STRUCTURE_CHANGED messages. These messages will be used to
747 signal the parent bin of link/unlink operations that could require a
748 resync when doing a state change. See ##510354.
749 API: gst_message_new_structure_change()
750 API: gst_message_parse_structure_change()
752 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
756 Add some more quarks for new message. See #510354.
758 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
760 * docs/libs/gstreamer-libs-docs.sgml:
761 * docs/libs/gstreamer-libs-sections.txt:
762 * libs/gst/base/Makefile.am:
763 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
764 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
765 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
766 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
767 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
768 (gst_bit_reader_skip_to_byte):
769 * libs/gst/base/gstbitreader.h:
770 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
771 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
772 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
773 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
774 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
775 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
776 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
777 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
778 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
779 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
780 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
781 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
782 * libs/gst/base/gstbytereader.h:
783 * tests/check/Makefile.am:
784 * tests/check/libs/bitreader.c: (GST_START_TEST),
785 (gst_bit_reader_suite):
786 * tests/check/libs/bytereader.c: (GST_START_TEST),
787 (gst_byte_reader_suite):
788 API: Add bit reader and byte reader classes, including documentation
789 and an extensive unit test suite. Fixes bug #553554.
791 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
793 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
794 (gst_base_sink_query):
795 Improve position reporting while flushing and other intermediate state
796 changes. Fixes #553874.
798 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
800 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
802 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
803 Original patch by : Simon Descaries
804 Fix small refount leak in caps compatibility check.
807 2008-10-06 Stefan Kost <ensonic@users.sf.net>
809 * docs/pwg/advanced-request.xml:
810 Fix 0.8 api usage in example. Fixes #554561
812 * docs/pwg/appendix-porting.xml:
813 Change 0.9 to 0.10 here.
815 2008-10-06 Stefan Kost <ensonic@users.sf.net>
817 * docs/manual/basics-data.xml:
818 Change "event-event interaction" to "element-element interaction".
819 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
822 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
825 Back to development -> 0.10.21.1
827 === release 0.10.21 ===
829 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
832 releasing 0.10.21, "Take These Things From Me"
834 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
837 0.10.20.4 pre-release
839 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
841 * libs/gst/base/gstbasetransform.c:
842 * plugins/elements/gstcapsfilter.c:
843 * tests/check/Makefile.am:
844 * tests/check/elements/.cvsignore:
845 * tests/check/elements/capsfilter.c:
846 Fix assertion in basetransform when the subclass chooses not to
847 allocate a buffer in prepare_buffer(), and make capsfilter error out
848 cleanly if requested to apply caps that don't completely specify the
849 buffer. Fixes #551509
851 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
853 * libs/gst/base/gstbasetransform.c:
854 (gst_base_transform_prepare_output_buffer):
855 Take new caps ref because our old one might have been gone when the
856 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
858 2008-09-15 Stefan Kost <ensonic@users.sf.net>
861 Do not probe availability of check unit test library when cross
862 compiling, as test would not work anyway. Also cleanup verbose output
863 of the check test. Fixes #551952.
865 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
867 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
869 * gst/gstelement.c: (gst_element_sync_state_with_parent):
870 Avoid leaking the parent ref when we fail changing the state of the
871 element using gst_element_sync_state_with_parent(). Fixes #551978.
873 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
875 * docs/manual/intro-motivation.xml::
876 Remove some bits that no longer apply, update others (#551642).
878 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
881 0.10.20.2 pre-release
889 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
891 * win32/common/config.h.in:
892 Add GST_DATADIR, hard-code cpu to x86.
894 * win32/common/libgstreamer.def:
897 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
900 Fix Since: markers for new geo tags.
902 2008-09-02 Stefan Kost <ensonic@users.sf.net>
905 Fix actual tag name define after renaming from altitude to elevation.
907 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
909 * gst/gstpad.c: (add_unref_pad_to_list),
910 (gst_pad_get_internal_links_default):
911 Add fallback when calling the deprecated function on an element that
912 implements the new internal_link handler.
914 2008-09-01 Stefan Kost <ensonic@users.sf.net>
916 * docs/gst/gstreamer-sections.txt:
919 Add new tags for geo location and clarify purpose of existing location
922 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
924 Patch by: Olivier Crete <tester at tester dot ca>
926 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
927 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
928 Use thread-safe internal links iterator. Fixes #549504.
930 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
932 Based on patch by: Olivier Crete <tester at tester dot ca>
934 * docs/gst/gstreamer-sections.txt:
935 * win32/common/libgstreamer.def:
936 * gst/gstpad.c: (gst_pad_init),
937 (gst_pad_set_iterate_internal_links_function),
938 (int_link_iter_data_free), (iterate_pad),
939 (gst_pad_iterate_internal_links_default),
940 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
942 Add threadsafe replacement functions for getting internal links of an
943 element. Deprecate the old internal links functions.
944 API:GstPad::gst_pad_set_iterate_internal_links_function()
945 API:GstPad::GstPadIterIntLinkFunction
946 API:GstPad::gst_pad_iterate_internal_links()
947 API:GstPad::gst_pad_iterate_internal_links_default()
949 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
950 (gst_proxy_pad_init):
951 Implement threadsafe internal links.
953 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
954 Unit test for internal links on tee. See #549504.
956 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
958 * tests/check/Makefile.am:
959 libs/transform1 test requires libs/test_transform.c
961 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
963 * gst/gstpad.c: (gst_pad_get_internal_links_default):
964 Die evil deadlock, die !
966 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
968 * gst/gstutils.c: (gst_element_get_compatible_pad):
969 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
970 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
971 Fix all leaks due to the bug in gst_pad_template_new() by which it does
972 not steal the refcount of the given caps as stated.
974 REVERT THIS COMMIT ONCE FIXED !
975 REVERT THIS COMMIT ONCE FIXED !
976 REVERT THIS COMMIT ONCE FIXED !
977 REVERT THIS COMMIT ONCE FIXED !
978 REVERT THIS COMMIT ONCE FIXED !
979 REVERT THIS COMMIT ONCE FIXED !
981 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
985 After 3 years it's about time to revise the documentation of the
988 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
990 * gst/gstpad.c: (gst_pad_get_internal_links_default):
991 Make the internal links function less thread-unsafe and add some
994 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
997 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
998 build with --disable-gst-debug.
1000 2008-08-28 David Schleef <ds@schleef.org>
1002 * gst/gstpadtemplate.c: Revert last change, since it breaks
1003 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1004 but shouldn't be enabled until we've released fixed versions
1005 of -good and -ffmpeg.
1007 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1010 Put the gst_object_get_name() back in.
1012 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1014 * gst/gstpadtemplate.c:
1015 The old behaviour was that gst_pad_template_new() takes ownership of
1016 the caps. As we now call g_object_new() which calls g_object_set() and
1017 which copies the caps, we have to unref them to not leak them. Fixes
1018 make valgrid for me.
1020 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1023 Don't segfault on input like "tel:+1-123-555-1234".
1025 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1028 Due to popular request also include ObjectType in
1029 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1031 2008-08-26 David Schleef <ds@schleef.org>
1033 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1034 src_val must be positive, because that's not a requirement.
1035 This causes problems with converting negative granulepos
1037 * gst/gstquery.c: Same, gst_query_new_convert().
1039 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1041 * gst/gstclock.c: (gst_clock_add_observation):
1042 Add some more debugging to the clock slaving code.
1044 * win32/common/libgstbase.def:
1045 Add new basetransform method.
1047 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1049 * gst/gstbin.c: (gst_bin_element_set_state):
1050 Take the (recursive) state lock between getting the locked state of an
1051 element and changing the element state. This allows the application to
1052 lock an element's state and then change its state without races.
1054 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1056 * gst/gstbin.c: (gst_bin_element_set_state):
1057 When an element is in the locked state we still want to update the
1058 base_time of the element.
1060 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1062 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1063 Use the result from gst_pad_set_caps() instead of assuming the element
1064 always accepted the caps computed by the default negotiate function.
1066 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1068 * docs/libs/gstreamer-libs-sections.txt:
1069 * libs/gst/base/gstbasetransform.c:
1070 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1071 (gst_base_transform_chain), (gst_base_transform_suggest),
1072 (gst_base_transform_reconfigure):
1073 * libs/gst/base/gstbasetransform.h:
1074 Implement method for reconfiguring basetransform.
1075 API: GstBaseTransform::gst_base_transform_reconfigure()
1077 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1079 patch by: Murray Cumming <murrayc@murrayc.com>
1082 Mention that this is just like gst_buffer_merge() but with extra
1083 unreffing for C coders. Advise language bindings not to wrap it.
1086 Also fix file comment.
1088 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1090 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1092 * plugins/elements/gstfakesink.c:
1093 * plugins/elements/gstfakesrc.c:
1094 Call super::event() when not handling it. Fixes #544855.
1096 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1098 Patch by: Alessandro Decina <alessandro@nnva.org>
1099 * plugins/elements/gstfilesrc.c:
1100 Use 64 bit variants of stat functions on win32, to enable support
1101 of large files there.
1104 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1106 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1107 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1108 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1109 (gst_base_sink_get_position), (gst_base_sink_change_state):
1110 Improve position reporting in the flushing state.
1111 Also report the position when we are not yet prerolled but we
1112 have a newsegment event. Fixes #543444.
1113 Improve the pull-based negotiation code.
1115 * tests/check/elements/fakesink.c: (GST_START_TEST),
1117 Add testcase for position reporting while flushing in PAUSED and
1120 * tests/check/generic/sinks.c: (GST_START_TEST):
1121 Update unit-test, we can now query the position as soon as we receive a
1124 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1126 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1128 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1129 When the subclass event handler releases the PREROLL_LOCK, we could be
1130 in the flushing state and we have to ignore the event. Fixes #548394.
1132 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1134 * tools/gst-launch.1.in:
1135 Document GST_REGISTRY_UPDATE environment variable.
1137 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1139 * libs/gst/base/gstbasetransform.c:
1140 (gst_base_transform_prepare_output_buffer):
1141 If the element is configured in passthrough mode but the
1142 prepare_output_buffer gave us a new output buffer, discard that buffer
1143 and reuse the input buffer.
1145 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1147 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1149 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1150 (gst_tee_request_new_pad), (gst_tee_release_pad),
1151 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1152 * plugins/elements/gsttee.h:
1153 Protect pad_alloc with a new lock so that we can be sure that nothing is
1154 performing a pad_alloc when removing the pad. Fixes #547835.
1156 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1157 (buffer_alloc_harness_teardown), (app_thread_func),
1158 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1159 Added testcase for shutdown race.
1161 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1166 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1168 * libs/gst/base/gstbasetransform.c:
1169 (gst_base_transform_prepare_output_buffer),
1170 (gst_base_transform_buffer_alloc):
1171 Go over the buffer_alloc function again and make sure we always end up
1172 allocating a buffer.
1174 Avoid doing pad alloc when we have a pending suggestion because we
1175 cannot yet deal with changing caps in that case. Fixes #547728
1177 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1179 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1181 * docs/manual/advanced-clocks.xml:
1182 * docs/manual/clocks.png:
1183 * docs/manual/diagrams-clocks.svg:
1184 Add one more image showing different times together with a describing
1185 paragraph. Fixes #547729.
1187 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1189 * win32/common/libgstbase.def:
1192 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1194 * libs/gst/base/gstbasetransform.c:
1195 (gst_base_transform_transform_caps),
1196 (gst_base_transform_prepare_output_buffer),
1197 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1198 Don't overwrite the outsize when calculating the expected size of a new
1199 buffer because we still need it in case we cannot process the new
1201 When converting the size of the new buffer to an upstream size, actually
1202 use the expected size of the buffer, not some other random value.
1203 Use an atomic int to signal that a new upstream caps suggestion is
1205 When we can convert the current buffer to a new format, check if the
1206 buffer size is of the expected size and allocate a new buffer of the
1207 expected size when this is not the case. Fixes #546883.
1209 * tests/check/libs/transform1.c: (GST_START_TEST):
1210 remove ifdeffed code from the unit test.
1212 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1214 * pkgconfig/gstreamer-uninstalled.pc.in:
1215 * pkgconfig/gstreamer.pc.in:
1216 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1217 called gstcontroller-0.10.
1219 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1221 * gst/gstchildproxy.h:
1223 Remove double interface from doc-string.
1225 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1227 * libs/gst/base/gstbasesrc.c:
1228 * libs/gst/base/gstbasetransform.c:
1229 Fix headings in docs and gtk-doc warnings.
1231 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1233 * gst/gstregistrybinary.c:
1234 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1238 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1240 * libs/gst/base/gstbasetransform.c:
1241 (gst_base_transform_buffer_alloc):
1242 Fix a "may be used unitialized" warning.
1244 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1246 * docs/gst/gstreamer-sections.txt:
1248 Document preset-iface vmethods.
1250 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1252 * docs/manual/advanced-interfaces.xml:
1253 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1254 only used to discover devices.
1256 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1258 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1260 * gst/gst.c: (init_pre):
1261 Make sure gettext returns translations in UTF-8 encoding rather
1262 than in the current locale encoding (#546822).
1264 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1266 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1269 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1270 Improve unit test subset tests and add a testcase for the subset failure
1273 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1274 Improve subtraction unit test.
1276 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1278 * plugins/elements/gsttee.c:
1279 Unlock, instead of locking again.
1281 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1284 Clarify the docs a bit more.
1286 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1288 * tests/examples/metadata/read-metadata.c:
1289 Don't leak old taglist.
1291 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1293 Patch by: Olivier Crete <tester at tester dot ca>
1295 * gst/gststructure.c:
1296 (gst_structure_fixate_field_nearest_fraction):
1297 Avoid overflows in fixation code when dealing with MAXINT values, which
1298 v4l2src seems to do.
1301 * tests/check/gst/gststructure.c: (GST_START_TEST):
1302 Make a unit test to check the fix.
1304 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1306 * plugins/elements/gstcapsfilter.c: (copy_func),
1307 (gst_capsfilter_set_property):
1308 Use new caps suggestion feature of basetransform to request a caps
1309 negotiation upstream.
1311 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1313 * docs/libs/gstreamer-libs-sections.txt:
1315 API: GstBaseTransform::gst_base_transform_suggest()
1317 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1318 (gst_base_transform_init), (gst_base_transform_transform_caps),
1319 (gst_base_transform_transform_size),
1320 (gst_base_transform_configure_caps),
1321 (gst_base_transform_can_transform),
1322 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1323 (gst_base_transform_prepare_output_buffer),
1324 (gst_base_transform_buffer_alloc),
1325 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1326 (gst_base_transform_chain), (gst_base_transform_activate),
1327 (gst_base_transform_set_passthrough),
1328 (gst_base_transform_is_passthrough),
1329 (gst_base_transform_set_in_place),
1330 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1331 (gst_base_transform_set_qos_enabled),
1332 (gst_base_transform_is_qos_enabled),
1333 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1334 (gst_base_transform_reconfigure):
1335 * libs/gst/base/gstbasetransform.h:
1336 Rewrite of basetransform to perform negotiation outside of the
1337 buffer_alloc functions. Fixes #545853.
1339 * tests/check/libs/transform1.c: (GST_START_TEST),
1343 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1345 * tests/check/gst/gstpreset.c:
1346 Only run preset tests when $HOME is writable. Preliminary fix for
1349 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1351 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1352 (gst_bin_change_state_func), (bin_handle_async_done),
1353 (gst_bin_handle_message_func):
1354 Fix race for bins that simulate ASYNC state changes by inserting
1355 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1356 pending ASYNC messages even when the bin does not have ASYNC children.
1357 We note detect this behaviour because we will receive an ASYNC message
1358 that is originating from the bin itself.
1359 Fixes races with decodebin2 state changes.
1361 * tests/check/gst/gstbin.c: (GST_START_TEST):
1362 Add some more debug.
1364 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1366 * gst/gsttaglist.c: (_gst_tag_initialize):
1369 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1372 Argh. actually save the text before committing. Now adds
1373 gst_tag_merge_strings_with_comma() to gst_tag_register().
1375 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1379 Do as tim pointed out and actually register the new tag. Also improve
1380 te docs and use gst_tag_merge_strings_with_comma() method to allow
1381 retriving all keywords merged in one list.
1383 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1386 * docs/gst/gstreamer.types:
1387 Revert 'accidential' change of the configure option removal. We still
1388 need to generate the types file in configure --disable-load-save.
1390 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1392 * docs/gst/gstreamer-sections.txt:
1394 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1396 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1398 * gst/gstpadtemplate.c:
1399 (gst_pad_template_class_init), (gst_static_pad_template_get),
1400 (gst_pad_template_new), (gst_pad_template_pad_created),
1401 (gst_pad_template_set_property), (gst_pad_template_get_property):
1402 Add "name-template", "direction", "presence" and "caps" properties,
1403 so that gst_pad_template_new() is just a thin wrapper around
1404 g_object_new(), which is better for bindings. (Fixes: #539772)
1406 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1409 Be more liberal in what URIs we accept.
1410 Do not unescape bits of the URI for no apparent reason before passing to
1411 the element. Fixes #545352.
1413 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1415 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1418 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1420 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1423 * docs/gst/gstreamer-sections.txt:
1424 * docs/gst/gstreamer.types:
1425 * docs/gst/gstreamer.types.in:
1428 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1429 * gst/gstconfig.h.in:
1430 * gst/gstelement.c: (gst_element_get_index):
1431 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1432 (gst_registry_binary_load_feature),
1433 (gst_registry_binary_read_cache):
1434 * gst/gstregistryxml.c: (load_feature),
1435 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1436 * plugins/Makefile.am:
1438 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1439 (print_plugin_features), (print_element_features):
1440 * tools/gst-xmlinspect.c: (print_event_masks),
1441 (print_element_info):
1442 * win32/common/gstconfig.h:
1443 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1445 Disabling the indexers and URI handler code will only reduce the
1446 required amount of memory by a very small amount but on the other hand
1447 requires much more maintaince work. Apart from that many places of
1448 code are broken when disabling them.
1450 Disabling the enum types doesn't reduce the required amount of memory
1451 by more than a few bytes and makes it hard to fix bugs like #539772,
1452 i.e. use the enums as GObject properties.
1454 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1456 * docs/design/part-TODO.txt:
1457 Add some thoughts and problems with upstream renegotiation.
1459 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1461 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1462 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1463 Remove silly redundant debug.
1464 Add some more debug info.
1465 Clarify the docs regarding new caps received from pad_alloc.
1467 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1469 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1470 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1471 Make setting the caps more threadsafe.
1473 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1475 * docs/design/part-element-transform.txt:
1478 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1480 * plugins/elements/gstqueue.c: (gst_queue_init),
1481 (gst_queue_acceptcaps):
1482 Add and use a custom acceptcaps function instead of falling back to the
1483 potentially less optimized default implementation.
1485 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1487 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1488 Only sanity-check the buffer size if requested_caps == buffer_caps
1489 (ie. don't take pad caps into account, they're not relevant here)
1491 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1493 * plugins/elements/gsttee.c:
1494 * plugins/elements/gsttee.h:
1495 Reverting as not everything is clear yet. Needs some general design
1498 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1501 ChangeLog surgery for tee commit.
1503 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1505 * docs/gst/gstreamer-sections.txt:
1506 Cleanup section-file.
1508 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1510 * plugins/elements/gsttee.c:
1511 * plugins/elements/gsttee.h:
1512 Relay tag events in tee. Fixes parts of #474016.
1513 Downgrades 3 reoccurring debugs to log.
1515 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1518 * libs/gst/Makefile.am:
1519 Build the net library if we have winsock2.
1521 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1523 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1525 * docs/manual/advanced-threads.xml:
1526 * docs/manual/diagrams-pipelines.svg:
1527 * docs/manual/hello-world.png:
1528 * docs/manual/linked-elements.png:
1529 * docs/manual/mime-world.png:
1530 * docs/manual/queue.png:
1531 * docs/manual/thread-buffering.png:
1532 * docs/manual/thread-synchronizing.png:
1533 Replace one diagram with two separate ones and updates others.
1536 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1539 Fix link in documentation.
1541 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1544 Fix confusing documentation.
1546 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1548 * libs/gst/base/gstbasesrc.h:
1549 revert the changes to the header file for the ABI.
1551 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1553 * libs/gst/base/gstbasesrc.c:
1554 * libs/gst/base/gstbasesrc.h:
1555 Don't cache the seekable status.
1558 2008-07-24 Rene Stadler <mail@renestadler.de>
1560 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1561 code to close the pipeline graph. This prevents the program from
1562 printing internal data flow errors.
1564 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1566 * docs/manual/basics-bus.xml:
1567 Correct typo. Fixes bug #544320.
1569 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1572 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1573 Add check (taken from -base) for winsock, adds WIN32_LIBS
1575 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1577 Define GST_EXPORTS when building libgstreamer (only used on win32)
1578 * gst/gst_private.h:
1580 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1581 for symbols that we need to export in both these files.
1583 Include gst_private.h higher up to avoid some compile problems on win32.
1585 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1590 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1593 Previous commit was wrong NULL caps does not exist
1594 and indicate an error, so also add a FIXME to
1595 gst_caps_is_equal where NULL caps are accepted.
1597 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1600 Allow passing of NULL to gst_caps_union
1602 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1604 * gst/gstghostpad.c:
1605 Add in doc that gst_ghost_pad_set_target can accept
1606 NULL to clear target
1608 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1611 * gst/gstregistry.c:
1612 GstRegistryPool doesn't exist; don't refer to it in docs.
1613 Don't refer to functions that don't exist in docs, it's
1616 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1619 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1621 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1623 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1625 * docs/pwg/building-testapp.xml:
1626 Don't use an undeclared variable in the example program.
1629 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1631 * gst/gstdebugutils.c:
1632 Squeeze ghost-pad links and remove <> from classname labels to save
1633 more horizontal space.
1635 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1637 * gst/gstdebugutils.c:
1638 Give request and sometimes pads a different shpe style. Condense the
1639 graphs a little more.
1641 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1644 Don't require flex and bison if the parser is disabled.
1646 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1648 * libs/gst/controller/gstinterpolationcontrolsource.c:
1649 (_list_find_sorted_custom):
1650 Don't use declarations after statements.
1652 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1654 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1655 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1656 of the the child-added / -removed signals as GstChildProxy
1657 only supports GstObjects.
1659 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1661 * gst/gstdebugutils.c:
1664 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1666 Patch by: Alessandro Decina <alessandro at nnva dot org>
1669 Fix "ignored return value" compiler warning with newer glibc.
1671 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1673 * gst/gstchildproxy.c:
1674 Fix copy&paste error in gst_child_proxy_removed() documentation.
1676 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1678 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1679 Print error debug message if plugin description fields that should
1682 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1683 Don't crash if the string to serialise is NULL (it really should
1684 not be, but apparently this used to work with the xml registry ...).
1686 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1688 * tools/gst-plot-timeline.py:
1689 Fix parsing of log messages
1691 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1693 * win32/common/libgstbase.def::
1694 Sort alphabetically so make check-exports doesn't barf.
1696 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1699 Use gst_format_get_name() to improve debug output.
1702 Remove #ifdef'ed code. Add TODO comment.
1705 Add debug output to ease spotting format != segment.format assertions.
1707 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1709 * tests/check/libs/gdp.c: (gst_dp_suite):
1710 Also enable the GDP unit test again on PPC now that the bug
1713 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1715 * libs/gst/dataprotocol/dataprotocol.c:
1716 Don't write to the same region of memory as a uint64 and uint16
1717 as this breaks strict aliasing rules and apparantly breaks on PPC
1718 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1720 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1722 * libs/gst/controller/gstinterpolationcontrolsource.c:
1723 Optimize list handling. Use own find function. Exploit that fact that
1724 the list is sorted. Also pass back the node before, so that we can
1725 insert quickly. Have a fast path for append.
1727 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1729 * docs/design/draft-framestep.txt:
1730 * docs/design/part-negotiation.txt:
1733 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1736 Show configuration sumary after configure run. Based on patch by
1737 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1739 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1741 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1743 * docs/manual/advanced-autoplugging.xml:
1744 * docs/manual/advanced-threads.xml:
1745 * docs/manual/basics-bins.xml:
1746 * docs/manual/basics-elements.xml:
1747 * docs/manual/basics-helloworld.xml:
1748 * docs/manual/basics-pads.xml:
1749 Add scale factor for pdf output.
1751 * docs/manual/intro-basics.xml:
1752 Switched sections "pads" and "bins" and added a pipeline diagram.
1754 * docs/manual/intro-gstreamer.xml:
1755 Added more info on gstreamer.
1757 * docs/manual/intro-motivation.xml:
1758 Commented out the whole section "current problem", which sounds
1759 historical and somehow osolete; it could be turned in a positive
1760 way and reused to improve the design principles.
1762 * docs/manual/intro-preface.xml:
1763 - Update URLs to library.gnome.org.
1764 - Do not mention GTK+ in preliminary reading (irrelevant).
1765 - Mention Plugin Writer's Manual and further reading only in the
1767 - Added a list of most relevant GObject/glib topics.
1769 * docs/manual/Makefile.am:
1770 * docs/manual/bin-element-ghost.fig:
1771 * docs/manual/bin-element-ghost.png:
1772 * docs/manual/bin-element-noghost.fig:
1773 * docs/manual/bin-element-noghost.png:
1774 * docs/manual/bin-element.fig:
1775 * docs/manual/bin-element.png:
1776 * docs/manual/filter-element-multi.fig:
1777 * docs/manual/filter-element-multi.png:
1778 * docs/manual/filter-element.fig:
1779 * docs/manual/filter-element.png:
1780 * docs/manual/gstreamer-overview.png:
1781 * docs/manual/hello-world.fig:
1782 * docs/manual/hello-world.png:
1783 * docs/manual/linked-elements.fig:
1784 * docs/manual/linked-elements.png:
1785 * docs/manual/mime-world.fig:
1786 * docs/manual/mime-world.png:
1787 * docs/manual/queue.fig:
1788 * docs/manual/queue.png:
1789 * docs/manual/simple-player.png:
1790 * docs/manual/sink-element.fig:
1791 * docs/manual/sink-element.png:
1792 * docs/manual/src-element.fig:
1793 * docs/manual/src-element.png:
1794 * docs/manual/diagrams-general.svg:
1795 * docs/manual/diagrams-pipelines.svg:
1796 Removed .fig, added .png counterpart.
1800 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1802 * plugins/elements/gstmultiqueue.c:
1803 * plugins/elements/gstmultiqueue.h:
1804 revert extra-size-buffers stuff, caused some race conditions
1805 and extra-size-buffers is not used anymore. Docs needs some updates
1807 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1809 * win32/common/config.h:
1810 * win32/common/gstenumtypes.c:
1811 * win32/common/gstenumtypes.h:
1812 * win32/common/gstversion.h:
1815 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1817 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1818 (GST_DEBUG_BIN_TO_DOT_FILE):
1819 Add missing Since' markers to gtk-doc blurbs.
1821 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1823 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1824 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1825 (set_caps_1), (set_caps_ct1), (transform_ct1),
1826 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1827 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1828 (transform_size_ct2), (buffer_alloc_ct2):
1829 Add some more tests with switching caps in buffer_alloc.
1831 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1833 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1834 (gst_test_trans_class_init), (result_sink_chain),
1835 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1836 (gst_test_trans_push), (gst_test_trans_pop):
1837 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1838 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1839 (set_caps_1), (set_caps_ct1), (transform_ct1),
1840 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1841 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1842 (transform_size_ct2), (buffer_alloc_ct2),
1843 (gst_basetransform_suite):
1844 More tests, prepare for tests with switching caps in buffer_alloc.
1846 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1848 * plugins/elements/gstmultiqueue.c:
1849 * plugins/elements/gstmultiqueue.h:
1850 Fix dead-lock in underrun_cb
1852 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1854 * docs/design/part-states.txt:
1855 Fix device open/close docs.
1857 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1860 Mention bugnumber for last commit.
1862 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1864 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1866 * docs/manual/manual.xml:
1867 - Reorganised the previous "introduction" bundle into Foreword,
1868 Introduction, and About GStreamer. The two first are <preface>
1869 docbook elements. The later is the first part of the book.
1870 - added intro-gstreamer.xml (content partially from
1872 - moved appendix-win32.xml into appendix-integration.xml
1874 * docs/manual/intro-preface.xml: gstreamer section moved...
1875 * docs/manual/intro-gstreamer.xml: ...here. new file.
1877 * docs/manual/appendix-win32.xml: removed file. Content moved...
1878 * docs/manual/appendix-integration.xml: ...here.
1880 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1881 * docs/manual/appendix-checklist.xml: ...here.
1885 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1887 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1889 * docs/manual/basics-helloworld.xml:
1890 * docs/manual/hello-world.fig:
1891 - Explicitely include glib.h.
1892 - Do not use global variables.
1893 - Use g_printerr() instead of g_print().
1894 - Minor formating/renaming to increase readibility.
1895 - Renamed new_pad() to on_pad_added()
1896 - Improved explenatory comments.
1897 - renamed ogg parser to ogg demuxer
1898 - Use "autoaudiosink" instead of "alsasink".
1901 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1904 Remove cvs conflict marker.
1906 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1909 Document that for plgin-docs we extraxt he short-desc from the element
1912 * docs/design/part-states.txt:
1913 Tell that devices should be closed in PAUSED -> READY.
1915 * docs/manual/README:
1916 Document how tests in the manual are handled.
1921 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1923 * gst/gstbin.c: (bin_query_latency_fold):
1924 Only care about latency min and max when the sink is actually a live
1927 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1929 * docs/design/part-block.txt:
1932 * docs/design/part-element-transform.txt:
1933 Add notes about why transform needs to know input/output sizes.
1934 Add some issues that need to be solved.
1935 Add some more use cases.
1937 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1938 (gst_test_trans_class_init), (result_sink_chain),
1939 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1940 (gst_test_trans_push), (gst_test_trans_pop):
1941 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1942 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1943 (set_caps_1), (set_caps_ct1), (transform_ct1),
1944 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1945 (gst_basetransform_suite):
1946 Add suport for different pad templates and buffer-alloc.
1947 Add more checks for caps and buffer-alloc.
1948 Add checks for proxy buffer alloc.
1949 Add unit test for copy transform.
1951 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1953 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1955 * docs/manual/appendix-integration.xml:
1956 * docs/manual/appendix-licensing.xml:
1957 * docs/manual/basics-elements.xml:
1958 * docs/manual/basics-helloworld.xml:
1959 * docs/manual/basics-pads.xml:
1960 * docs/manual/highlevel-components.xml:
1961 * docs/manual/highlevel-xml.xml:
1962 * docs/manual/intro-basics.xml:
1963 * docs/manual/intro-preface.xml:
1964 Typo and formatting fixes (#538594).
1966 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1968 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1969 Fix some memory leaks and uses of object instances that we don't
1972 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1974 * plugins/elements/gstmultiqueue.c:
1975 Add functionality to extra-size-buffers property.
1977 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1979 * plugins/elements/gstmultiqueue.c:
1980 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1981 activate the pads if they are added in STATE_NULL.
1983 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1985 * docs/libs/gstreamer-libs-sections.txt:
1987 * libs/gst/check/gstcheck.c:
1988 * libs/gst/check/gstcheck.h:
1989 API: gst_check_teardown_pad_by_name
1991 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1993 * libs/gst/check/gstcheck.c:
1994 * libs/gst/check/gstcheck.h:
1995 Also setup request pads and allow setup pads by name (#537812)
1996 API: gst_check_setup_src_pad_by_name
1997 API: gst_check_setup_sink_pad_by_name
1999 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2001 * tests/check/gst/gstbuffer.c:
2002 * tests/check/pipelines/parse-launch.c:
2003 Use HAVE_VALGRIND_H some more.
2005 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2007 * scripts/cvs-update.sh:
2008 Pass arguments to make.
2009 Run autoregen.sh if Makefile is not there.
2011 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2015 Don't assume that <valgrind/valgrind.h> exists just because
2016 the binary is there.
2018 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2020 * tests/check/Makefile.am:
2021 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2022 (gst_test_trans_class_init), (gst_test_trans_init),
2023 (gst_test_trans_set_data), (result_sink_chain),
2024 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2025 (gst_test_trans_pop):
2026 * tests/check/libs/transform1.c: (GST_START_TEST),
2027 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2028 Add some test basetransform element and the beginnings of various
2031 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2033 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2034 Increase code readability.
2035 Don't try to compare buffer offsets when ther are invalid.
2037 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2039 * docs/design/Makefile.am:
2040 Dist some more design docs.
2042 * docs/random/moving-plugins:
2043 Small addition: good plugins mustn't have functional code
2044 within assertion macros.
2046 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2048 * docs/design/draft-framestep.txt:
2049 Some ideas about a framestep API
2051 * docs/design/part-element-transform.txt:
2052 Start design and use cases for basetransform in order to get it
2055 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2058 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2059 be in UTF-8 encoding.
2061 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2064 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2066 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2068 * plugins/elements/gstcapsfilter.c:
2069 * plugins/elements/gstfakesink.c:
2070 * plugins/elements/gstfakesrc.c:
2071 * plugins/elements/gstfdsink.c:
2072 * plugins/elements/gstfdsrc.c:
2073 * plugins/elements/gstfilesink.c:
2074 * plugins/elements/gstfilesrc.c:
2075 * plugins/elements/gstidentity.c:
2076 * plugins/elements/gstmultiqueue.c:
2077 * plugins/elements/gstqueue.c:
2078 * plugins/elements/gsttee.c:
2079 * plugins/elements/gsttypefindelement.c:
2080 Remove short_description. Add basic docs for gsttypefindelement.
2081 Simplify markup for fakesrc/fdsrc.
2083 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2085 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2088 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2090 Patch by: Joel Larsson <tilljoel at gmail dot com>
2092 * docs/plugins/gstreamer-plugins.args:
2093 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2094 (gst_fd_src_init), (gst_fd_src_update_fd),
2095 (gst_fd_src_set_property), (gst_fd_src_get_property),
2096 (gst_fd_src_create):
2097 * plugins/elements/gstfdsrc.h:
2098 Add timeout property like udpsrc. Fixes #538628.
2099 Add some more docs and example pipelines.
2101 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2103 * docs/libs/gstreamer-libs-sections.txt:
2104 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2105 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2106 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2107 (gst_base_sink_do_sync):
2108 * libs/gst/base/gstbasesink.h:
2109 * win32/common/libgstbase.def:
2110 Add method to allow sinks to specify additional delay between the sync
2111 times and the actual rendering of the data.
2112 API: gst_base_sink_set_render_delay()
2113 API: gst_base_sink_get_render_delay()
2115 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2118 Bump version number back to dev -> 0.10.20.1
2120 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2122 * docs/gst/gstreamer-sections.txt:
2123 * gst/gsttaglist.c: (_gst_tag_initialize):
2125 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2128 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2130 * libs/gst/controller/gstcontroller.c:
2131 Revert one change, that make ret value possible uninitialized.
2133 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2135 * libs/gst/controller/gstcontroller.c:
2136 Use freeze/thaw notify to sync notify emission a bit (its also more
2137 efficient). Move debug output to LOG (is called a lot in a loop).
2138 Always unset g_values if the have been initialized.
2140 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2142 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2143 (gst_base_sink_wait_eos), (gst_base_sink_event):
2144 If we have not seen a buffer before EOS, use the segment values to
2145 report the current position instead of invalid positions.
2147 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2149 * docs/plugins/tmpl/.cvsignore:
2150 * tests/check/gst/.cvsignore:
2153 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2155 * libs/gst/controller/gstinterpolation.c:
2156 * libs/gst/controller/gstinterpolationcontrolsource.c:
2157 * tests/check/libs/controller.c:
2158 Rewrite handling of default values. Fix overflow with unsigned types
2159 in linear interpolation. Remove now obsolete _first_value() function.
2160 Add more tests. Fixes #538201.
2162 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2164 * libs/gst/base/gstbasetransform.c:
2165 (gst_base_transform_class_init), (gst_base_transform_init),
2166 (gst_base_transform_transform_caps),
2167 (gst_base_transform_prepare_output_buffer):
2169 When a buffer is writable, its metadata is also writable so we don't
2170 need to subbuffer (which then makes the buffer not-writable anymore).
2172 === release 0.10.20 ===
2174 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2177 releasing 0.10.20, "You Crazy Diamond"
2179 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2182 0.10.19.3 pre-release
2184 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2188 Rename DATADIR to GST_DATADIR to avoid build problems
2189 on win32. Patch By: David Schleef <ds@schleef.org>
2192 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2195 Explicitely link with -ldl if dladdr() is found there. Before it was
2196 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2197 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2199 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2201 * gst/gsterror.c: (_gst_stream_errors_init):
2202 Fix typo (spotted by Fabricio Godoy, #536723).
2204 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2207 0.10.19.2 pre-release
2209 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2211 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2212 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2214 Make sure we don't generate invalid QoS messages.
2216 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2218 * gst/gstevent.c: (gst_event_new_qos):
2219 Add some assert and docs for invalid input to the qos function.
2221 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2223 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2224 (gst_base_sink_get_position):
2225 The reported position must always be smaller than the last seen
2226 timestamps (or timestamp + duration for reverse).
2228 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2230 Patch by: Rob Bradford <rob at robster dot org dot uk>
2232 * gst/gstregistry.c: (gst_registry_scan_path_level):
2233 Don't recurse into .debug directories as some distros install
2234 the debugging symbols next to the plugins in .debug directories
2235 and dlopen() crashes on them sometimes. Fixes bug #508070.
2237 Add FIXME for 0.11 to not recurse into directories at all because
2238 it's very inconsistent to the behaviour of other PATH environment
2241 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2243 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2244 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2245 Fix position query range checks in reverse playback.
2247 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2251 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2252 clear of the reference to the resulting pad must be released later
2253 or not, resulting in possible leaks. Fixes bug #533865.
2255 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2257 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2259 * gst/gstelementfactory.c:
2260 Small doc fix. Fixes #535285.
2262 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2264 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2266 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2267 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2268 (gst_base_src_loop), (gst_base_src_set_flushing),
2269 (gst_base_src_change_state):
2270 Make sending an EOS event to the basesrc non-blocking even if the
2271 implementation does blocking waits in the create function. This is done
2272 by unlocking the create function when EOS is sent.
2275 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2277 * tools/gst-inspect.c: (print_element_properties_info):
2278 If possible print the element type of GValueArray properties.
2280 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2282 * gst/gstiterator.c:
2283 Remove an unused field from the private GstListIterator struct.
2285 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2287 * libs/gst/controller/gstcontroller.c:
2288 Add parameter guards.
2290 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2292 * tests/check/gst/gstpipeline.c:
2293 Revert test change and add comment why it should not work.
2295 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2297 * tests/check/gst/gstpipeline.c:
2298 Extending the test a little to verify that we also get the NULL state-
2301 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2303 * gst/gstpreset.c: (gst_preset_default_get_meta),
2304 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2305 (gst_preset_load_preset), (gst_preset_save_preset),
2306 (gst_preset_rename_preset), (gst_preset_delete_preset),
2307 (gst_preset_set_meta):
2308 Add Since: markers to docs blurbs.
2310 * win32/common/libgstreamer.def:
2311 Add recently-added API.
2313 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2315 Patch by: Stefan Kost <ensonic@users.sf.net>
2318 Add DATADIR for storing presets.
2320 * docs/gst/gstreamer-docs.sgml:
2321 * docs/gst/gstreamer-sections.txt:
2322 * docs/gst/gstreamer.types.in:
2323 Add GstPreset to docs.
2327 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2328 (preset_open_and_parse_header), (preset_parse_version),
2329 (preset_merge), (preset_get_keyfile),
2330 (gst_preset_default_get_preset_names),
2331 (gst_preset_default_get_property_names),
2332 (gst_preset_default_load_preset),
2333 (gst_preset_default_save_presets_file),
2334 (gst_preset_default_save_preset),
2335 (gst_preset_default_rename_preset),
2336 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2337 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2338 (gst_preset_default_reset), (gst_preset_get_preset_names),
2339 (gst_preset_get_property_names), (gst_preset_load_preset),
2340 (gst_preset_save_preset), (gst_preset_rename_preset),
2341 (gst_preset_delete_preset), (gst_preset_set_meta),
2342 (gst_preset_get_meta), (gst_preset_class_init),
2343 (gst_preset_base_init), (gst_preset_get_type):
2345 Add GstPreset to core. Fixes #396779
2347 * tests/check/Makefile.am:
2348 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2349 (gst_preset_test_set_property), (gst_preset_test_class_init),
2350 (gst_preset_test_base_init), (gst_preset_test_get_type),
2351 (gst_preset_test_plugin_init), (GST_START_TEST),
2352 (remove_preset_file), (test_setup), (test_teardown),
2354 Add GstPreset unit tests.
2356 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2358 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2359 The default event function on a sinkpad should return TRUE when
2360 there are no internal links but should collect the return values from
2361 the internal links otherwise.
2363 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2365 * plugins/elements/gsttypefindelement.c:
2366 (gst_type_find_element_src_event),
2367 (gst_type_find_element_handle_event):
2368 Use faster and safer _pad_push_event().
2370 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2372 * docs/gst/gstreamer-sections.txt:
2373 * gst/gstutils.c: (element_find_unlinked_pad),
2374 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2376 API: add gst_bin_find_unlinked_pad()
2377 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2379 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2385 Fixed a bunch of typos.
2387 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2390 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2391 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2392 (gst_parse_bin_from_description_full):
2394 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2396 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2398 * docs/pwg/advanced-tagging.xml:
2399 Small docs update, can't be bothered to rewrite the nonsensical
2402 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2405 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2407 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2409 * gst/parse/grammar.y:
2410 Remove unneeded casts.
2412 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2414 * gst/parse/grammar.y:
2415 * tests/check/pipelines/parse-launch.c:
2416 Get all missing elements from a parse launch string if possible
2417 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2419 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2421 * tests/check/Makefile.am:
2422 * tests/check/pipelines/parse-launch.c:
2423 Add some unit tests for the new gst_parse_launch*_full() API.
2424 (Exposes a previously-existing memory leak in the error code
2425 path, so adding to VALGRIND_TO_FIX for now).
2427 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2429 * docs/gst/gstreamer-sections.txt:
2430 * gst/gst.c: (init_post):
2431 * gst/gst_private.h: (_GstParseContext):
2432 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2433 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2434 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2435 (gst_parse_launch_full):
2436 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2437 (GstParseFlags), (GstParseContext):
2438 * gst/gstutils.c: (gst_parse_bin_from_description),
2439 (gst_parse_bin_from_description_full):
2441 * gst/parse/grammar.y:
2442 * gst/parse/types.h:
2443 * win32/common/libgstreamer.def:
2444 Add new gst_parse_*_full API (#528178):
2445 API: gst_parse_launch_full()
2446 API: gst_parse_launchv_full()
2447 API: gst_parse_bin_from_description_full()
2448 API: gst_parse_context_new()
2449 API: gst_parse_context_free()
2450 API: gst_parse_context_get_missing_elements()
2452 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2454 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2456 * docs/faq/gst-uninstalled:
2457 Also support ffmpeg in gst-uninstalled.
2459 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2462 After discussion on IRC use the binary registry as default
2463 but allow to disable it with --disable-binary-registry.
2465 * win32/common/libgstreamer.def:
2466 Add the two new symbols for the binary registry.
2468 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2470 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2471 * gst/gstutils.c: (gst_parse_bin_from_description):
2472 * gst/parse/grammar.y: (graph):
2473 More guards against bad input; typo fix; some minor clean-ups.
2475 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2477 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2479 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2480 If nothing else can be used, use the last buffer's start time as
2481 the segment's last stop. Fixes bug #534258.
2483 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2485 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2486 Move size sanity check to the right place: downstream may return
2487 a buffer with a smaller size if the buffer caps are different than
2488 the requested ones, as may happen when doing reverse negotiation.
2490 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2492 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2493 (gst_file_sink_render):
2494 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2495 (gst_file_src_start):
2496 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2499 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2501 * gst/gstpad.c: (gst_pad_load_and_link):
2502 * gst/gstutils.c: (gst_element_link_pads),
2503 (gst_element_unlink_pads):
2504 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2505 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2506 (gst_check_teardown_sink_pad),
2507 (gst_check_element_push_buffer_list):
2508 * tests/check/elements/fakesink.c: (GST_START_TEST):
2509 * tests/check/elements/filesink.c:
2510 * tests/check/elements/filesrc.c: (GST_START_TEST):
2511 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2512 (mq_sinkpad_to_srcpad):
2513 * tests/check/elements/tee.c: (GST_START_TEST):
2514 * tests/check/generic/sinks.c: (GST_START_TEST):
2515 * tests/check/gst/gstbin.c: (GST_START_TEST):
2516 * tests/check/gst/gstevent.c: (GST_START_TEST):
2517 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2518 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2519 * tests/check/gst/gstquery.c: (GST_START_TEST):
2520 * tests/check/gst/gstutils.c: (GST_START_TEST):
2521 * tests/check/libs/basesrc.c: (GST_START_TEST):
2522 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2523 (gst_parse_test_element_change_state):
2524 Don't use gst_element_get_pad().
2526 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2529 Fix installing plugin documentation when gtk-doc is disabled.
2531 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2533 * docs/manual/advanced-autoplugging.xml:
2534 * docs/manual/basics-helloworld.xml:
2535 * docs/manual/basics-pads.xml:
2536 * docs/manual/highlevel-components.xml:
2537 Avoid using a bad function in the example code.
2539 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2541 * gst/gstclock.c: (gst_clock_set_calibration):
2542 Fix debug of the new clock rate.
2544 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2546 * win32/common/libgstbase.def:
2547 Add gst_base_sink_wait_clock() to the exported symbols.
2549 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2551 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2553 * libs/gst/base/gstbasetransform.c:
2554 (gst_base_transform_sink_event):
2555 Unref events that the GstBaseTransform::event vfunc didn't want to
2556 have forwarded by the base class. Closes a leak in identity.
2559 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2561 * docs/libs/gstreamer-libs-sections.txt:
2562 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2563 * libs/gst/base/gstbasesink.h:
2564 Expose a method that was previously used internally to synchronize
2565 against the clock because it can be useful for subclasses too.
2566 API: GstBaseSink::gst_base_sink_wait_clock()
2568 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2570 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2571 Add sanity check to make sure we don't get smaller buffers
2572 than requested (and fallback to normal buffer alloc if we do).
2574 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2576 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2577 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2578 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2579 Refactor adjusting the running_time with latency and offset into a
2581 When doing clipping, we still want to use the subclass get_times method,
2582 just in case the DURATION or TIMESTAMP are not set.
2584 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2586 * docs/gst/gstreamer-sections.txt:
2587 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2588 * gst/gsttypefind.h:
2589 * win32/common/libgstreamer.def:
2590 API: add gst_type_find_suggest_simple(), #533740.
2592 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2594 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2595 Use right error code when typefinding fails, so we can use
2596 the default (translated) error messages.
2598 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2600 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2601 (gst_base_src_start):
2602 When the subclass did not set caps on outgoing buffers, configure the
2603 caps we negotiated on the source pad.
2604 When the typefind helper does not find caps, error out properly instead
2605 of doing things with NULL caps.
2607 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2609 * gst/gsttypefind.h:
2610 Tabs to spaces, oh yes!
2612 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2614 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2615 Add David's and Benjamin's tests for array intersection to the
2616 unit test suite (#147931).
2618 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2621 Document that gst_event_new_tag() and gst_event_new_navigation()
2622 take ownership of the taglist/structure passed to them. (#533635).
2624 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2627 Don't descend into the plugins dir if plugin docs building
2631 Add a note about the new type:GTypeName syntax for the plugin
2632 documentation .types file.
2634 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2636 * gst/gstmessage.c: (gst_message_new_error),
2637 (gst_message_new_warning), (gst_message_new_info):
2639 Mark the debug string parameters as const. Fixes bug #533490.
2641 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2643 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2644 Sort buffer cache list by end offsets. This makes sure that we don't
2645 stop to search for a cached buffer that contains the requested data
2647 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2648 more efficient. Fixes bug #459862.
2650 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2653 Explain why we copy the list.
2655 * gst/gstpipeline.c:
2659 Add one debug-log statement to help tracing probelms with linking pads.
2661 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2663 * tests/check/gst/gstinfo.c:
2664 Add a test for removing the default log handler. Seems to fail under
2667 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2669 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2670 Release pad lock before calling out to avoid a possible deadlock.
2672 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2674 * gst/parse/grammar.y:
2675 Remove unneeded value unset.
2677 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2678 Add unit test for de/serialization of caps.
2680 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2682 * plugins/elements/gstfakesink.c:
2683 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2684 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2685 (gst_fake_src_class_init):
2686 Use custom marshalers that take GstMiniObject as first parameter.
2687 Using OBJECT as parameter while a GstMiniObject is given will lead
2688 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2690 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2692 * plugins/elements/gsttypefindelement.c:
2693 (gst_type_find_element_handle_event),
2694 (gst_type_find_element_send_cached_events),
2695 (gst_type_find_element_change_state):
2696 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2699 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2701 * plugins/elements/gsttypefindelement.c:
2702 (gst_type_find_handle_src_query), (stop_typefinding),
2703 (gst_type_find_element_handle_event),
2704 (gst_type_find_element_send_cached_events),
2705 (gst_type_find_element_change_state):
2706 Forward FLUSH_START events immediately and clean up instead of
2709 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2711 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2713 * libs/gst/base/gstbasetransform.c:
2714 (gst_base_transform_buffer_alloc):
2715 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2716 fall back to default negotiation in the chain function if the caps
2717 are different from what was requested. Fixes bug #526768.
2719 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2722 * tests/check/gst/gstsegment.c:
2723 No, let's not use g_slice_{dup|copy} here, since they only exist
2724 since GLib 2.14 and we still depend only on >= 2.12. Also add
2725 unit test for gst_segment_copy().
2727 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2729 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2730 Try to fix 'dereferencing type-punned pointer will break strict
2731 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2732 changed the default GType typedef from gulong to gsize at some point,
2733 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2734 g_once_* functions all take a gsize * though, so work around the type
2735 mismatch for C++ by doing everything in gsize and casting to GType
2738 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2740 * plugins/elements/gstmultiqueue.c:
2741 Add documentation for the signals to push our core plugin docs
2742 coverage back up to 100%.
2744 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2746 * gst/gstinfo.h (GST_FUNCTION):
2747 Reverted GST_FUNCTION to the old version as we don't want the
2748 full signature in C++ code. Also added support for MSVC.
2750 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2753 Intern the type name string, similar to what G_DEFINE_TYPE does.
2755 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2758 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2760 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2762 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2764 * libs/gst/base/gstbasetransform.c:
2765 (gst_base_transform_buffer_alloc):
2766 Don't passthrough buffer allocation too easily if the caps change.
2767 This breaks when working in passthrough mode and upstream changes
2768 it's caps. Fixes bug #526768.
2770 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2772 * gst/gstinfo.c (gst_debug_log_valist):
2773 Improved the __FILE__ part of debug output for MSVC.
2775 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2777 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2778 Declaration after statement fix for compilers like MSVC.
2780 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2782 * win32/common/config.h.in:
2783 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2784 use the real thing than having "???" unconditionally.
2786 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2788 * gst/gstinfo.h (GST_FUNCTION):
2789 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2791 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2793 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2796 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2797 (gst_base_sink_set_flushing):
2798 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2801 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2803 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2804 (gst_fake_src_init), (gst_fake_src_set_property),
2805 (gst_fake_src_get_property), (gst_fake_src_start):
2806 * plugins/elements/gstfakesrc.h:
2807 Added format property to control the format of the newsegment events.
2808 API: GstFakeSrc:format
2810 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2812 * win32/common/libgstreamer.def:
2813 Add gst_pad_has_name() to the exported symbols.
2815 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2817 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2818 * libs/gst/base/gstbasetransform.c:
2819 (gst_base_transform_prepare_output_buffer):
2820 Don't allow negative sizes when allocating new buffers.
2823 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2825 Patch by: Sjoerd Simons <sjoerd at luon net>
2827 * gst/gstbus.c: (gst_bus_source_dispatch):
2828 Don't print a warning if the queue is empty when we try to pop
2829 here. That could happen if another thread or callback set the
2830 bus to flushing between the source's check/prepare and the
2831 dispatch being called (#531538).
2833 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2835 * plugins/elements/gstmultiqueue.c:
2838 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2840 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2841 Add unit test for deserializing uint64s and check some really large
2842 numbers in the int64 test.
2844 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2846 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2847 (print_interfaces), (print_element_properties_info),
2848 (print_signal_info):
2849 Use "%s" as format string instead of printing strings directly.
2851 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2853 * gst/gstclock.c: (gst_clock_set_calibration):
2854 Make some checks actually useful.
2856 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2857 Remove some unused code. Unsigned integers tend to be >= 0.
2859 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2861 * gst/gstminiobject.c: (gst_value_get_mini_object):
2862 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2863 function was not in the unscheduled 0.10.19 release.
2865 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2867 * gst/gstregistry.c: (gst_registry_scan_path_level):
2868 Only print one log message per non-plugin file.
2870 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2872 * gst/gstinfo.c: (gst_debug_log_default):
2873 Fix alignment of debug log columns on 64-bit.
2875 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2877 * docs/libs/Makefile.am:
2878 * docs/libs/gstreamer-libs-sections.txt:
2879 Ignore private controller headers for docs.
2881 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2883 * libs/gst/controller/gstcontrollerprivate.h:
2884 * libs/gst/controller/gsthelper.c:
2885 * libs/gst/controller/gstinterpolation.c:
2886 * libs/gst/controller/gstinterpolationcontrolsource.c:
2887 (gst_interpolation_control_source_set_interpolation_mode):
2888 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2889 * libs/gst/controller/lib.c:
2890 Move some private declarations into private headers.
2892 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2894 * gst/gstdebugutils.c: (debug_dump_element_pad):
2895 Remove some code that is unused after Stefan's refactoring and uses
2896 uninitialized variables now, resulting in a compiler warning.
2898 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2900 * gst/gstregistry.c: (gst_registry_scan_path_level):
2901 Run g_str_has_suffix() only on the file name, not the
2904 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2906 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2907 Since we're not called only from the chain function any longer,
2908 we can't assume that there's always data in the queue, so move
2909 the is_full check to the beginning of the loop (otherwise we'd
2910 hit the assert when changing the limit properties while the
2911 queue is empty or not running yet).
2912 Also, only set a discont if items were actually removed from
2915 * tests/check/elements/queue.c: (test_leaky_downstream):
2916 Test case for the above.
2918 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2920 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2922 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2923 (gst_queue_chain), (queue_capacity_change),
2924 (gst_queue_set_property):
2925 When changing thr max capacity of a leaky queue, immediatly drop buffers
2926 instead of waiting for a push on the sinkpad. Fixes #530637.
2928 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2930 * gst/gstdebugutils.c:
2931 Refactor code and fix handling of ghostpads and their proxypads.
2933 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2935 * docs/gst/gstreamer-sections.txt:
2936 * gst/gstevent.c: (gst_event_has_name):
2938 * tests/check/gst/gstevent.c: (GST_START_TEST):
2939 Add method to conveniently check the name of a custom event with
2940 gst_event_has_name().
2941 Reformat the event docs so that related methods are put together instead
2942 of the default alphabetical sort.
2943 Update unit test with new method.
2944 API: GstEvent::gst_event_has_name()
2946 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2948 * libs/gst/check/Makefile.am:
2949 Don't add an explicit link to libgstreamer-0.10.la; it's already
2950 included in GST_OBJ_LIBS.
2952 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2955 Register GstClock type from a type-safe context. Fixes bug #530317.
2957 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2959 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2961 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2963 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2965 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2967 Use the GLib stuff to create a private structure.
2968 Add some locking around some dispose methods to make them a little
2969 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2971 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2973 * libs/gst/base/gstbasesink.h:
2974 * libs/gst/base/gstbasesrc.h:
2975 * libs/gst/base/gstbasetransform.h:
2976 * libs/gst/base/gstcollectpads.h:
2977 Fix doc typos and unify caps a bit.
2979 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2981 * tools/gst-launch.1.in:
2982 Forgot to also add the envvar docs here.
2984 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2986 * gst/gst.c: (init_post), (gst_deinit):
2987 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2988 (test_concurrent_create), (gst_pipeline_suite):
2989 Ref some more classes in gst_init() to work around thread-safety
2990 issues in pre-2.16 GLibs, and add basic unit test.
2992 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2994 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2995 (gst_base_sink_send_event):
2996 Rearrange the latency query code. We always want to do the upstream
2997 query, even if we are not live so that the upstream elements can get the
2998 latency results too. If we fail doing the query and we are live, we
2999 return TRUE afterwards.
3001 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3003 patch by: Jason Zhao <e3423c@motorola.com>
3005 * docs/gst/running.xml:
3007 Enable/disable scan_and_update_registry() based on commandline switch
3008 or environment variable. Fixes #520468.
3011 Fix typo in my previous commit.
3013 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3015 * gst/gstregistrybinary.c:
3016 Add a warning if we hit unhandled factories when saving.
3017 More debug logging detail, but move to LOG category.
3019 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3021 * gst/gstregistry.c:
3022 Tell the *truth* when improving the documentation.
3024 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3026 * gst/gstelementfactory.c: (gst_element_factory_make):
3027 Unref the factory after it was used the last time, not before.
3029 * gst/gstindexfactory.c: (gst_index_factory_make):
3030 Improve debugging a bit and don't leak a ref to the index factory with
3033 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3035 * gst/gstregistry.c:
3036 Improve the documentation.
3038 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3041 The glib macro seems to be borked. Use g_slice_copy directly and cast
3042 in the hope that this fixes the warning on 64bit.
3044 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3047 Document the new function. Use g_slice_dup() (no need for
3048 gst_segment_init()).
3050 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3052 * docs/gst/gstreamer-sections.txt:
3053 Move GParamSepc macros to standart section.
3056 Dn't document _get_type - its in private section in docs anyway and
3057 this doc-blob was incomplete.
3060 Fix wrong symbol names in docs.
3063 Add once doc sentence.
3065 * tests/check/gst/.cvsignore:
3068 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3070 * docs/gst/Makefile.am:
3071 And remove those libs here.
3073 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3075 * docs/libs/Makefile.am:
3076 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3078 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3080 Patch by: Olivier Crete <tester at tester dot ca>
3082 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3083 Add the min-threshold to the min latency if possible. Fixes #529148.
3085 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3087 * docs/gst/gstreamer.types.in:
3088 Stupid editor, I removed that line as it should go in yet.
3090 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3092 * docs/gst/gstreamer.types.in:
3093 * docs/libs/gstreamer-libs.types:
3094 Remove library types fro core docs and have them in libs docs.
3095 Reformat and cleanup. Add comment for miniobject types.
3097 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3099 * gst/gsturi.c: (gst_uri_get_protocol):
3100 Fix leak: g_strdown operates on the string in place, while
3101 g_ascii_strdown() returns a newly-allocated string.
3103 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3105 * tools/gst-inspect.c: (print_uri_handler_info),
3106 (print_element_info):
3107 Print the URI protocols and the URI type supported by the element.
3109 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3111 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3112 Use g_value_take_string() instead of the deprecated
3113 g_value_set_string_take_ownership().
3115 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3117 * gst/gstregistrybinary.c: (_gst_crc32):
3118 Return the old CRC instead of 0 if we give a NULL buffer
3119 or a buffer with a length of 0.
3121 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3123 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3124 (gst_uri_get_protocol), (gst_uri_has_protocol),
3125 (gst_uri_construct), (gst_uri_handler_set_uri):
3126 A valid URI scheme can also include '+', '-' and '.' additional
3127 to alphanumeric characters as per RFC 3986 Section 3.1.
3129 Handle URI schemes case insensitive in all places and convert
3130 to lower-case when constructing an URI or setting an URI with
3131 the GstURIHandler interface. Fixes bug #528868.
3132 All elements can still assume (as before) that they will
3133 get passed URIs with a lower-case URI scheme by the GstURIHandler
3136 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3138 * gst/gstcaps.c: (gst_static_caps_get):
3139 * gst/gstclock.c: (gst_clock_entry_new):
3140 Don't use g_atomic_set_int where it's not needed.
3142 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3144 * gst/gstvalue.c: (gst_value_deserialize_caps):
3145 * gst/parse/grammar.y:
3148 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3150 * gst/gstutils.c: (gst_atomic_int_set):
3151 Use g_atomic_int_set() here too instead of assignment +
3154 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3158 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3159 now that we depend on new enough GLib.
3161 * gst/gstcaps.c: (gst_static_caps_get):
3162 * gst/gstclock.c: (gst_clock_entry_new):
3163 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3164 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3165 (gst_debug_category_set_threshold):
3166 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3167 (gst_base_sink_set_qos_enabled):
3168 * libs/gst/net/gstnettimeprovider.c:
3169 (gst_net_time_provider_set_property):
3170 Use g_atomic_int_set() instead of gst_atomic_int_set().
3172 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3175 Also use G_GINT64_CONSTANT for the queries.
3177 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3180 Use G_GINT64_CONSTANT in varargs function.
3182 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3184 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3185 Initialize the registry magic with zeroes.
3187 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3189 * gst/gstregistrybinary.c: (_gst_crc32),
3190 (gst_registry_binary_write),
3191 (gst_registry_binary_initialize_magic),
3192 (gst_registry_binary_write_cache),
3193 (gst_registry_binary_check_magic),
3194 (gst_registry_binary_read_cache):
3195 * gst/gstregistrybinary.h:
3196 Add crc32 checksum to the binary registry file and check this before
3197 accepting a registry file.
3199 Also free the data list when writing to the registry file fails.
3201 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3203 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3204 (gst_registry_binary_load_feature),
3205 (gst_registry_binary_load_plugin):
3206 If an element supports the Uri interface, returns a valid pointer
3207 to the supported URI protocols but this pointer contains nothing
3208 don't try to save that as it will corrupt the registry.
3210 Don't unref the plugin if we added it to the registry already but
3211 fail to load a feature as gst_registry_add_plugin() takes ownership
3214 Improve debugging a bit.
3216 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3219 Clarify some tag item docs after discussion on irc.
3221 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3223 * docs/gst/gstreamer-docs.sgml:
3224 Remove commented out plugins (they have their own docs). Update
3227 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3229 * docs/gst/gstreamer-docs.sgml:
3230 * docs/gst/gstreamer-sections.txt:
3231 * gst/gstparamspecs.c:
3232 * gst/gstparamspecs.h:
3233 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3234 docs to own section.
3237 This now only documents GValue.
3239 * docs/libs/gstreamer-libs-sections.txt:
3240 * libs/gst/controller/gstcontroller.h:
3241 Remove GST_PARAM_CONTROLLABLE.
3243 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3246 Correct file path. Tell about how to use -overrides.txt.
3247 * docs/design/draft-tagreading.txt:
3248 Small design update.
3250 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3252 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3253 (gst_registry_binary_load_plugin):
3254 Fix a typo in a debug message and revert change from yesterday as
3255 gst_registry_add_plugin() will only fail if something is really wrong
3256 already and we can't survive it anyway.
3258 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3260 * gst/gst.c: (init_post), (gst_deinit):
3261 Pre-register GstGError GType from a thread-safe context
3262 (fixes #527967); unref enum type classes in deinit.
3264 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3266 Patch by: Rene Stadler <mail at renestadler de>
3268 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3269 Merging an empty list with another list in KEEP_ALL mode should
3270 yield an empty list as result and not the second list (#512578).
3272 * tests/check/gst/gsttagsetter.c:
3273 Add unit test for tag merge modes and the aforementioned bug.
3275 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3277 Patch by: Rene Stadler <mail at renestadler de>
3280 Fix description to match the order in the table (#512577).
3282 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3284 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3286 * libs/gst/net/gstnettimepacket.h:
3287 * docs/libs/gstreamer-libs-sections.txt:
3288 Define socklen_t as int if it's not defined yet. Fixes compilation
3289 with MSVC6 and other versions where socklen_t is not defined in
3290 the windows headers (#518022).
3292 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3294 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3295 If gst_registry_add_plugin() fails our reference to the plugin is
3296 invalid so don't try to use it anymore and instead error out.
3298 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3300 * tools/gst-xmlinspect.c: (print_element_info), (main):
3301 De-cruft a bit. If no argument is specified, print all elements in
3302 XML syntax rather than a freestyle list of elements like gst-inspect.
3303 Also, don't print XML header chunk unless we actually have something
3304 to print (ie. don't print it before an error message); print error
3305 message to stderr not stdout. Remove support for printing plugin
3306 info (it would just output something freestyle along the lines of
3307 gst-inspect so far), which fixes #514507. Also add license header.
3309 2008-04-11 Julien Moutte <julien@fluendo.com>
3312 * configure.ac: Merge platform specific defines, introduce a new
3313 define on OS X to remember that forking when updating registry is
3315 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3317 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3319 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3320 condition that leads to absolutely no plugins being registered on
3323 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3325 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3327 * gst/gstutils.c: (gst_pad_add_data_probe),
3328 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3329 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3330 (gst_pad_add_buffer_probe_full):
3332 * docs/gst/gstreamer-sections.txt:
3333 * win32/common/libgstreamer.def:
3334 Add gst_pad_add_*_probe_full() functions with a notify callback that
3335 lets the caller free the data it passes to the probe functions. This
3336 is useful for bindings such as gst-python or gstreamermm (#526814).
3337 API: gst_pad_add_data_probe_full
3338 API: gst_pad_add_buffer_probe_full
3339 API: gst_pad_add_event_probe_full
3341 * tests/check/gst/gstutils.c:
3342 Add minimal unit test to make sure freeing the data actually works
3345 * tests/benchmarks/.cvsignore:
3346 Random cvsignore addendum.
3348 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3350 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3351 (GST_DEBUG_BIN_TO_DOT_FILE):
3352 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3353 to it in the docs (since these are macros the types of the arguments
3354 won't be shown in the docs otherwise).
3356 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3359 Do not abort on out of memory for pad_alloc_buffer.
3361 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3363 * libs/gst/check/gstcheck.c:
3364 Remove blank line between symbol name ad parameters to fix gtkdoc
3367 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3369 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3371 * docs/gst/gstreamer-sections.txt:
3374 * win32/common/libgstreamer.def:
3375 Expose gst_segment_copy() to make things easier for the c++ bindings.
3377 API: gst_segment_copy()
3379 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3381 * gst/gst.c: (gst_init_get_option_group), (init_post):
3382 Fix const position; ref GType classes for enum types to work
3383 around thread-safety issues in GLib versions < 2.16.
3385 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3387 * docs/design/part-buffering.txt:
3388 Fix some typos and set the estimated total for push mode to -1.
3390 * gst/gstquery.c: (gst_query_new_buffering):
3391 Set buffering-left to 0 as we're not buffering by default.
3393 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3394 Implement BUFFERING query.
3396 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3398 Based on patch by: Milosz Derezynski <internalerror gmail com>
3400 * gst/gsterror.c: (_gst_stream_errors_init):
3402 Add two new error codes for encrypted content. Fixes #524659.
3403 API: GST_STREAM_ERROR_DECRYPT
3404 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3406 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3411 * win32/common/libgstreamer.def:
3414 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3416 * plugins/elements/gstidentity.c: (gst_identity_event),
3417 (gst_identity_start):
3418 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3419 event after processing some data. Fixes bug #526042.
3421 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3423 * docs/gst/gstreamer-sections.txt:
3424 * gst/gstquery.c: (gst_query_parse_latency),
3425 (gst_query_set_buffering_percent),
3426 (gst_query_parse_buffering_percent),
3427 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3429 Rename _avail -> _range
3430 API: gst_query_set_buffering_range
3431 API: gst_query_parse_buffering_range
3433 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3435 * docs/design/part-buffering.txt:
3438 * gst/gstquery.c: (gst_query_parse_latency),
3439 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3440 (gst_query_parse_buffering_percent):
3442 Add busy field and quark for the buffering query so that the app can
3443 only use the query to see if buffering is in progress.
3445 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3447 * docs/gst/gstreamer-sections.txt:
3448 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3449 (gst_message_parse_buffering_stats):
3451 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3452 (gst_query_parse_latency), (gst_query_new_buffering),
3453 (gst_query_set_buffering_percent),
3454 (gst_query_parse_buffering_percent),
3455 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3456 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3458 Reorder the message docs and headers for clarity.
3459 Add aditional buffering stats API for messages.
3460 Add buffering query.
3461 Convert some leftover queries to use GstQuark.
3462 API: gst_message_set_buffering_stats
3463 API: gst_message_parse_buffering_stats
3464 API: GST_QUERY_BUFFERING
3465 API: GstBufferingMode
3466 API: gst_query_new_buffering
3467 API: gst_query_set_buffering_percent
3468 API: gst_query_parse_buffering_percent
3469 API: gst_query_set_buffering_stats
3470 API: gst_query_parse_buffering_stats
3472 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3474 * gst/gstmessage.c: (gst_message_new_error),
3475 (gst_message_new_warning), (gst_message_new_info),
3476 (gst_message_new_buffering), (gst_message_new_state_changed),
3477 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3478 (gst_message_new_new_clock), (gst_message_new_segment_start),
3479 (gst_message_new_segment_done), (gst_message_new_duration),
3480 (gst_message_new_async_start), (gst_message_parse_buffering),
3481 (gst_message_parse_state_changed),
3482 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3483 (gst_message_parse_new_clock), (gst_message_parse_error),
3484 (gst_message_parse_warning), (gst_message_parse_info),
3485 (gst_message_parse_segment_start),
3486 (gst_message_parse_segment_done), (gst_message_parse_duration),
3487 (gst_message_parse_async_start):
3488 Use GstQuark for messages.
3490 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3492 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3494 Add some more quarks needed for messages and queries.
3496 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3498 * docs/design/part-buffering.txt:
3499 Remove the "none" buffering mode, STREAM is a good default.
3500 Move estimated-time to the avail query, that's when it will be needed.
3501 Other small typo fixes and updates.
3503 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3505 * gst/gstindex.c: (gst_index_resolver_get_type):
3506 Don't put descriptions into the nick field of a GEnumValue: it's not
3507 meant for that and some language bindings rely on the nick field to
3508 construct constants and the like. Fixes #526705.
3510 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3515 Merge other changes from 0.10.19 release branch.
3517 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3519 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3522 Actually build dlls when cross-compiling with mingw32.
3525 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3527 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3530 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3532 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3534 * docs/design/draft-latency.txt:
3537 * docs/design/part-buffering.txt:
3538 Update design docs with more buffering ideas.
3540 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3543 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3545 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3548 Revert part that belongs to the preset patch.
3550 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3553 Add qoutes to the define. Fixes # 525961.
3555 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3557 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3558 (gst_file_index_load), (gst_file_index_add_id),
3559 (gst_file_index_get_assoc_entry):
3560 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3561 (gst_mem_index_free_id), (gst_mem_index_add_id),
3562 (gst_mem_index_index_format):
3563 Use GSlice when possible.
3565 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3567 * libs/gst/controller/gstinterpolationcontrolsource.c:
3568 (gst_control_point_free),
3569 (gst_interpolation_control_source_set_internal):
3570 Use GSlice for allocating the control points.
3572 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3574 * plugins/elements/gsttypefindelement.c:
3575 (gst_type_find_element_class_init),
3576 (gst_type_find_element_set_property),
3577 (gst_type_find_element_get_property),
3578 (gst_type_find_element_activate):
3579 * plugins/elements/gsttypefindelement.h:
3581 Fix pad leak when peer query fails.
3582 We can still typefind when the peer returns -1.
3583 Add property to force caps and bypass typefinding. This will be used in
3587 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3592 * gst/glib-compat-private.h:
3593 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3594 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3595 Unconditionally use GSlice for allocation.
3597 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3598 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3599 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3600 (gst_structure_free):
3601 Use GSlice for allocation.
3603 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3605 * gst/parse/Makefile.am:
3606 * gst/parse/grammar.tab.pre.c:
3607 * gst/parse/grammar.tab.pre.h:
3608 * gst/parse/lex._gst_parse_yy.pre.c:
3609 Require a new enough flex and bison and remove the parser hacks to use
3610 a pre-regenerated version.
3612 2008-04-01 Julien Moutte <julien@fluendo.com>
3614 patch by: Jason Zhao <E3423C@motorola.com>
3616 * configure.ac: Add a configure switch to disable option parsing
3620 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3623 * gst/gstregistry.c:
3624 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3625 and handle this case.
3628 Add a comment here describing, why we stat each plugin and not try to
3631 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3633 * libs/gst/base/gstbasetransform.c:
3634 (gst_base_transform_prepare_output_buffer):
3635 Also unset the GAP flag on buffers if we're working inplace but
3636 the element is not GAP-aware.
3638 Mark a comment as FIXME 0.11.
3640 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3643 Fix type in log message and add one to ease seeing how long registry
3644 cache verification takes.
3646 * gst/gstregistry.c:
3647 Only test plugin filenames against G_MODULE_SUFFIX.
3649 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3651 * gst/gstdebugutils.c:
3652 Improve handling ghost/proxy pads.
3654 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3656 * docs/gst/gstreamer-sections.txt:
3659 Expose macro to docs and fix link to it.
3661 2008-03-27 Michael Smith <msmith@fluendo.com>
3663 * libs/gst/dataprotocol/dataprotocol.c:
3664 (gst_dp_packet_from_event_1_0):
3665 When calculating GDP body CRC, use the correct pointer.
3666 Fixes part of #522401.
3668 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3670 Patch by: Mark Nauwelaerts <manauw at skynet be>
3672 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3673 (gst_identity_init), (gst_identity_prepare_output_buffer):
3674 Identity is not always a passthrough element, it can modify the buffer
3675 timestamps when it has a datarate and operates in single-segment mode.
3676 We therefore make it an in_place filter with a custom buffer prepare
3677 function that conditionally makes the input buffer metadata writable
3678 when needed. Fixes #523985.
3680 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3682 Patch by: Mark Nauwelaerts <manauw at skynet be>
3685 * libs/gst/base/gstbasesrc.h:
3686 * libs/gst/base/gstbasetransform.c:
3687 * libs/gst/check/gstcheck.c:
3688 Small documentation fixes. Fixes #523978.
3690 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3692 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3693 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3694 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3696 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3698 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3699 (single_queue_underrun_cb):
3700 When trying to make room in the queue, bump the max allowed buffers
3701 bigger than the current amount of buffers in the queue. this fixes some
3702 nasty deadlocks in multiqueue when dynamically changing the limits of
3705 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3707 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3709 * gst/gstcaps.c: (gst_caps_set_simple),
3710 (gst_caps_set_simple_valist), (gst_caps_intersect):
3712 Constify the field gchar * params in set_simple and friends.
3715 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3717 * gst/gstvalue.c: (gst_value_transform_object_string):
3718 Transform a GstObject to a more meaningfull string that includes the
3719 object type in addition to its name.
3721 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3724 ChangeLog surgery to add bugnumber to commit.
3726 2008-03-23 Rene Stadler <mail@renestadler.de>
3728 * libs/gst/base/gstbasetransform.c:
3729 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3731 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3733 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3734 Rename constant everywhere and don't forget one occurence.
3736 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3738 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3739 Align memory to the pointer size even if the architecture allows
3740 unaligned memory access. Unaligned memory access usually comes with
3741 performance penality.
3743 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3745 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3746 (gst_registry_binary_check_magic),
3747 (gst_registry_binary_load_pad_template),
3748 (gst_registry_binary_load_feature),
3749 (gst_registry_binary_load_plugin):
3750 Align memory to the pointer size instead of always 32 bit. Fixes
3751 unaligned memory accesses on ia64 and friends.
3753 * gst/gstregistrybinary.h:
3754 Bump binary registry format version for this as it changes the
3755 format on those architectures that don't have unaligned access
3756 and 64 bit pointers.
3758 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3760 * docs/pwg/advanced-dparams.xml:
3761 * docs/pwg/building-props.xml:
3762 * docs/pwg/other-source.xml:
3763 * gst/glib-compat.h:
3764 * gst/gstbin.c: (gst_bin_class_init):
3765 * gst/gstclock.c: (gst_clock_class_init):
3766 * gst/gstindex.c: (gst_index_class_init):
3767 * gst/gstobject.c: (gst_object_class_init):
3768 * gst/gstpad.c: (gst_pad_class_init):
3769 * gst/gstpipeline.c: (gst_pipeline_class_init):
3770 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3771 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3772 * libs/gst/base/gstbasetransform.c:
3773 (gst_base_transform_class_init):
3774 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3775 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3776 (_gst_check_fault_handler_sighandler),
3777 (_gst_check_fault_handler_setup), (gst_check_init):
3778 * libs/gst/controller/gstcontroller.c:
3779 (_gst_controller_class_init):
3780 * libs/gst/controller/gstlfocontrolsource.c:
3781 (gst_lfo_control_source_class_init):
3782 * libs/gst/net/gstnetclientclock.c:
3783 (gst_net_client_clock_class_init):
3784 * libs/gst/net/gstnettimeprovider.c:
3785 (gst_net_time_provider_class_init):
3786 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3787 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3788 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3789 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3790 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3791 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3792 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3793 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3794 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3795 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3796 * plugins/elements/gsttee.c: (gst_tee_class_init):
3797 * plugins/elements/gsttypefindelement.c:
3798 (gst_type_find_element_class_init):
3799 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3800 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3801 use it everywhere for GParamSpecs that use static strings (i.e. all).
3802 This gives us less memory usage, fewer allocations and thus less
3803 memory defragmentation. Fixes bug #523806.
3805 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3807 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3808 (gst_param_spec_mini_object):
3809 * gst/gstminiobject.h:
3810 * win32/common/libgstreamer.def:
3811 * docs/gst/gstreamer-sections.txt:
3812 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3813 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3814 GstParamSpecMiniObject into a public header for this.
3816 This make GstMiniObject a bit more consistent with GObject and makes
3817 it possible to extend the param specs.
3819 gst_value_dup_mini_object is mainly useful for set_property methods.
3823 * tools/gst-inspect.c: (print_element_properties_info):
3824 Print something useful for GstMiniObject properties and not just
3827 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3829 * docs/gst/gstreamer-sections.txt:
3830 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3831 (gst_registry_binary_check_magic):
3832 * gst/gstregistrybinary.h:
3833 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3834 and add it to the (private part) of the docs to fix the build.
3836 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3838 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3839 (gst_registry_binary_check_magic),
3840 (gst_registry_binary_read_cache):
3841 * gst/gstregistrybinary.h:
3842 Don't use GST_MAJORMINOR for the binary registry version. Instead
3843 hardcode a value that must be changed whenever the format changes
3844 in an incompatible way.
3845 Also don't GST_ERROR when there is a version mismatch, just
3846 regenerate the registry silently.
3848 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3851 Back to development - 0.10.18.1
3853 === release 0.10.18 ===
3855 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3858 releasing 0.10.18, "So far away"
3860 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3863 * win32/common/config.h:
3864 0.10.17.4 pre-release
3866 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3868 Patch by: Ole André Vadla Ravnås
3869 <ole dot andre dot ravnas at tandberg dot com>
3871 * docs/gst/gstreamer-sections.txt:
3872 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3873 (gst_poll_update_winsock_event_mask),
3874 (gst_poll_prepare_winsock_active_sets),
3875 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3876 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3877 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3878 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3879 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3881 * win32/common/libgstreamer.def:
3882 Add new function gst_poll_fd_ignored() for improved Windows
3884 Various minor fixes and cleanups. See #520808.
3886 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3888 * gst/gstindex.c: (gst_index_entry_free):
3890 Don't free key strings which we don't own. Fixes crash in
3891 gst_index_entry_free() (#522741).
3893 * tests/check/Makefile.am:
3894 * tests/check/gst/.cvsignore:
3895 * tests/check/gst/gstindex.c: (test_index_entries),
3896 (gst_index_suite), (gst_index):
3897 Add unit test for the above.
3899 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3901 * win32/common/libgstreamer.def:
3902 Remove symbols that were removed recently. Fixes bug #521740.
3904 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3907 * win32/common/config.h:
3908 0.10.17.3 pre-release
3910 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3912 Patch by: Ole André Vadla Ravnås
3913 <ole dot andre dot ravnas at tandberg dot com>
3915 * docs/gst/gstreamer-sections.txt:
3916 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3917 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3918 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3919 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3920 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3921 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3922 (gst_poll_fd_can_write), (gst_poll_wait),
3923 (gst_poll_set_controllable), (gst_poll_restart),
3924 (gst_poll_set_flushing):
3926 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3927 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3928 (gst_net_time_provider_new):
3929 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3930 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3931 * tests/benchmarks/gstpollstress.c: (main):
3932 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3933 Remove GstPollMode from the API, it does not make sense to let the
3934 application control this.
3935 Add support for Win32.
3936 Fix the testsuite. Fixes #520671.
3938 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3940 Patch by: Ole André Vadla Ravnås
3941 <ole dot andre dot ravnas at tandberg dot com>
3943 * gst/gstregistrybinary.c:
3944 Include io.h for write() and close() when building with MSVC. Fixes
3947 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3950 * gst/gst_private.h:
3951 * gst/gstconfig.h.in:
3952 * gst/gstregistry.h:
3953 * gst/gstregistrybinary.c:
3954 * win32/common/gstconfig.h:
3955 Move registry backend API to private headers where we can. Add
3956 fixme-0.11 comments for the others. Add stubs for the xml backend when
3957 using the binary to ensure they functions exists (they should not be
3958 used though). Fixes #520756.
3960 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3963 * win32/common/config.h:
3966 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3968 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3969 (gst_registry_binary_read_cache):
3970 * gst/gstregistryxml.c: (gst_registry_save):
3971 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3972 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3973 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3974 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3975 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3978 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3980 * gst/gstminiobject.c:
3981 Import gst_private.h before any other header that might include other
3982 glib headers. This fixes the build on windows using native compilers.
3984 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3986 * win32/common/gstconfig.h:
3987 Add here too, just for completeness.
3989 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3992 * gst/gstconfig.h.in:
3993 * gst/gstregistry.h:
3994 Fix broken use of config.h-defined preprocessor directive in a public
3995 header file. Add a corresponding define to gstconfig.h, since we can't
3996 really remove those function declarations from the header file now
3997 (or can we? and why are they there in the first place?).
3999 2008-03-03 Andy Wingo <wingo@pobox.com>
4001 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4004 * gst/gststructure.c (gst_structure_from_string): Warn if
4005 structure_from_string didn't consume the whole string, but the
4006 caller did not provide an end pointer.
4008 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4010 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4012 * gst/gstregistryxml.c: (read_string), (load_feature):
4013 Strings allocated by libxml2 should be freed with xmlFree(), not
4014 with g_free(). Fixes issues on windows in certain contexts (#519698).
4016 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4018 * gst/gstinterface.c: (gst_element_implements_interface):
4019 Don't crash if the element supports the interface queried, but does
4020 not implement GstImplementsInterface. Fixes #519584.
4022 * tests/check/Makefile.am:
4023 * tests/check/gst/.cvsignore:
4024 * tests/check/gst/gstinterface.c:
4025 Add unit test for the above.
4027 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4029 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4032 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4034 * gst/gstsegment.c: (gst_segment_set_seek),
4035 (gst_segment_to_stream_time):
4036 Improve some comment.
4037 Update variables where it makes more sense.
4039 2008-02-29 Rene Stadler <mail@renestadler.de>
4041 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4042 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4043 URIHandlers implemented using language bindings.
4045 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4047 * gst/gstelementfactory.h:
4048 * tests/check/elements/fakesink.c:
4049 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4050 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4051 * tests/check/elements/filesink.c: (setup_filesink):
4052 * tests/check/elements/filesrc.c: (setup_filesrc):
4053 * tests/check/elements/identity.c: (setup_identity):
4054 * tests/check/elements/tee.c:
4055 * tests/check/generic/sinks.c:
4056 * tests/check/generic/states.c: (setup), (teardown):
4057 * tests/check/gst/gst.c:
4058 * tests/check/gst/gstabi.c:
4059 * tests/check/gst/gstbin.c:
4060 * tests/check/gst/gstbus.c: (pull_messages):
4061 * tests/check/gst/gstcaps.c:
4062 * tests/check/gst/gstelement.c:
4063 * tests/check/gst/gstevent.c:
4064 * tests/check/gst/gstghostpad.c:
4065 * tests/check/gst/gstiterator.c:
4066 * tests/check/gst/gstmessage.c:
4067 * tests/check/gst/gstminiobject.c: (my_foo_init):
4068 * tests/check/gst/gstobject.c: (thread_name_object),
4070 * tests/check/gst/gstpad.c:
4071 * tests/check/gst/gstplugin.c:
4072 * tests/check/gst/gstpoll.c:
4073 * tests/check/gst/gstquery.c:
4074 * tests/check/gst/gstsegment.c:
4075 * tests/check/gst/gststructure.c:
4076 * tests/check/gst/gstsystemclock.c:
4077 * tests/check/gst/gsttask.c:
4078 * tests/check/gst/gstutils.c:
4079 * tests/check/gst/gstvalue.c:
4080 * tests/check/gst/struct_hppa.h:
4081 * tests/check/gst/struct_i386.h:
4082 * tests/check/gst/struct_ppc32.h:
4083 * tests/check/gst/struct_ppc64.h:
4084 * tests/check/gst/struct_x86_64.h:
4085 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4086 * tests/check/libs/basesrc.c:
4087 * tests/check/libs/controller.c: (GST_START_TEST):
4088 * tests/check/libs/gdp.c:
4089 * tests/check/libs/gstnetclientclock.c:
4090 * tests/check/libs/gstnettimeprovider.c:
4091 * tests/check/libs/libsabi.c:
4092 * tests/check/libs/struct_hppa.h:
4093 * tests/check/libs/struct_i386.h:
4094 * tests/check/libs/struct_ppc32.h:
4095 * tests/check/libs/struct_ppc64.h:
4096 * tests/check/libs/struct_x86_64.h:
4097 * tests/check/pipelines/cleanup.c:
4098 * tests/check/pipelines/simple-launch-lines.c:
4099 * tests/check/pipelines/stress.c:
4100 And correct even more valid sparse warnings.
4102 * win32/common/libgstreamer.def:
4103 Add gst_poll_fd_init to the list of symbols.
4105 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4107 * gst/gstconfig.h.in:
4108 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4109 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4110 (gst_check_log_critical_func), (gst_check_drop_buffers),
4111 (gst_check_element_push_buffer_list):
4112 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4113 (gst_controller_get_type):
4114 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4115 (gst_object_get_controller), (gst_object_get_control_source):
4116 * libs/gst/controller/gstinterpolationcontrolsource.c:
4117 (gst_interpolation_control_source_new):
4118 * libs/gst/controller/gstlfocontrolsource.c:
4119 (gst_lfo_control_source_new):
4120 * libs/gst/dataprotocol/dataprotocol.c:
4121 (gst_dp_event_from_packet_0_2):
4122 * plugins/elements/gstfdsrc.c:
4123 * plugins/elements/gstmultiqueue.c:
4124 * plugins/elements/gsttee.c:
4125 * plugins/elements/gsttypefindelement.c:
4126 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4127 (gst_file_index_add_association):
4128 * plugins/indexers/gstmemindex.c:
4129 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4130 * tests/check/elements/queue.c: (setup_queue):
4131 * tests/check/gst/gstpipeline.c:
4132 * tests/check/libs/collectpads.c: (setup), (teardown),
4133 (gst_collect_pads_suite):
4134 * tests/examples/adapter/adapter_test.c:
4135 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4136 * tests/examples/xml/createxml.c:
4137 * tests/examples/xml/runxml.c:
4138 * tools/gst-inspect.c:
4140 Correct all relevant warnings found by the sparse semantic code
4141 analyzer. This include marking several symbols static, using
4142 NULL instead of 0 for pointers, not using variable sized arrays
4143 on the stack, moving variable declarations to the beginning of
4144 a block and using "foo (void)" instead of "foo ()" for declarations.
4146 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4148 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4149 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4150 Don't reset GstPollFDs, this is not necessary at all.
4152 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4153 (delayed_restart), (delayed_control):
4154 Use GST_POLL_FD_INIT.
4156 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4158 * gst/gstpoll.c: (gst_poll_fd_init):
4162 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4163 Use some more init macros.
4165 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4167 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4168 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4169 Use init macros and functions.
4171 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4173 * docs/gst/gstreamer-sections.txt:
4174 * gst/gstpoll.c: (gst_poll_fd_init):
4176 Add INIT macro and _init method for initializing the GstPollFD.
4178 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4180 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4181 (gst_fd_sink_update_fd):
4182 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4183 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4184 (delayed_restart), (delayed_control):
4185 Initialize some uninitialized variables as spotted by valgrind.
4187 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4189 * tests/benchmarks/Makefile.am:
4190 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4192 Add poll stress test.
4194 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4196 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4198 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4199 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4200 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4201 * plugins/elements/gstfdsink.h:
4202 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4203 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4204 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4205 (gst_fd_src_uri_set_uri):
4206 * plugins/elements/gstfdsrc.h:
4207 Port to GstPoll. See #505417.
4209 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4211 * win32/common/libgstreamer.def:
4212 Add new gst_poll_ symbols to win32 defs.
4214 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4216 * docs/libs/gstreamer-libs-sections.txt:
4217 * libs/gst/net/gstnetclientclock.c:
4218 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4219 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4220 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4221 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4222 * libs/gst/net/gstnetclientclock.h:
4223 * libs/gst/net/gstnettimeprovider.c:
4224 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4225 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4226 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4227 (gst_net_time_provider_new):
4228 * libs/gst/net/gstnettimeprovider.h:
4229 Use a private stuct to not break ABI.
4231 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4233 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4235 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4236 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4237 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4238 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4239 * libs/gst/net/gstnetclientclock.h:
4240 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4241 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4242 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4243 (gst_net_time_provider_new):
4244 * libs/gst/net/gstnettimeprovider.h:
4245 Massive code removal and cleanups because of GstPoll.
4248 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4251 Add checks for poll, ppoll and pselect.
4253 * docs/gst/gstreamer-docs.sgml:
4254 * docs/gst/gstreamer-sections.txt:
4255 Add docs for GstPoll.
4259 * gst/gstpoll.c: (find_index), (selectable_fds),
4260 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4261 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4262 (gst_poll_set_mode), (gst_poll_get_mode),
4263 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4264 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4265 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4266 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4267 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4268 (gst_poll_fd_can_write), (gst_poll_wait),
4269 (gst_poll_set_controllable), (gst_poll_restart),
4270 (gst_poll_set_flushing):
4272 Add generic poll abstraction. We ideally don't want to have this in core
4273 here but in glib intead...
4274 This code will be used in various network elements and ultimately for
4275 the nanosecond precision monotonic clock (that's why it's here in core).
4276 It'll allow us to implement cancelable socket operations for windows too.
4278 * tests/check/Makefile.am:
4279 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4280 (delayed_stop), (delayed_restart), (delayed_flush),
4281 (delayed_control), (gst_poll_suite):
4282 Add GstPoll unit test.
4284 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4287 Improve documentation of gst_filter_run(). Fixes #518627.
4289 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4292 Add a few lines about the new 'check-inspected-versions' target.
4294 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4296 * tests/check/gst/gstevent.c:
4297 Add qos to the event test. Rename tcase/tsuite; is not only about
4300 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4302 * plugins/elements/gstqueue.c:
4303 Ensure that buffer metadata is writeable, before modifying. Spotted by
4306 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4308 * plugins/elements/gstqueue.c:
4309 * plugins/elements/gstqueue.h:
4310 When dropping buffers in leaky modes, mark next buffers we sent as
4313 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4315 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4316 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4318 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4320 * plugins/elements/Makefile.am:
4321 * plugins/elements/gstbufferstore.c:
4322 * plugins/elements/gstbufferstore.h:
4323 * plugins/elements/gsttypefindelement.h:
4324 Remove GstBufferStore, no idea why we were still building it.
4325 It's not used anywhere and superseded by GstAdapter.
4327 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4328 (gst_file_src_create_mmap):
4329 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4330 Printf format fixes for 64-bit integers.
4332 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4335 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4336 We're not in 0.8 times anymore.
4338 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4340 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4341 (gst_check_element_push_buffer_list):
4342 * libs/gst/check/gstcheck.h:
4343 Make the declaration in the header for
4344 gst_check_element_push_buffer_list match the implementation.
4346 Fix up spelling, grammar and wording of the documentation in a few
4347 places, and add the Since keyword to new API functions.
4348 Use g_list_delete_link instead of g_list_remove in
4349 gst_check_drop_buffers, since it's immeasurably more efficient.
4351 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4352 Use new gst_check_drop_buffers function where appropriate.
4354 * win32/common/libgstbase.def:
4355 * win32/common/libgstreamer.def:
4356 Add new symbols gst_collect_pads_take_buffer,
4357 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4360 Changelog surgery to add API keyword to new gst_check API.
4362 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4364 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4365 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4366 Update pre-generated flex files with flex 2.3.34.
4368 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4370 * gst/gstminiobject.c:
4371 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4372 friendly to subclasses and not require them to know all internals
4373 of their parent class.
4375 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4377 * docs/libs/gstreamer-libs-sections.txt:
4378 * libs/gst/base/gstcollectpads.c:
4379 * libs/gst/base/gstcollectpads.h:
4380 Add sub-buffer functions to collectpads. Fixes #516187.
4381 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4383 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4386 Copy selected buffer-flags when creating subbuffers.
4389 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4391 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4392 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4393 * gst/gstmessage.c: (gst_message_class_init),
4394 (gst_message_finalize):
4395 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4396 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4397 (gst_mmap_buffer_finalize):
4398 Properly chain up finalize functions to the parent class.
4400 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4402 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4404 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4405 (gst_index_set_resolver_full):
4407 Add new function with option to dispose of user_data in resolver.
4408 Actually call the dispose function when finalizing the object and not
4409 just when changing the resolver/filter.
4410 API: GstIndex::gst_index_set_resolver_full()
4412 * docs/gst/gstreamer-sections.txt:
4413 Add new function to docs. Fixes #515469.
4415 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4417 * gst/gstindex.c: (gst_index_finalize):
4418 Chain up finalize to the parent class. Fixes leaking the GstObject
4419 name and other things.
4421 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4424 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4425 pre-releases or releases.
4427 * docs/faq/gst-uninstalled:
4430 * docs/random/release:
4431 Change one of the steps - we only upload core & base to Gnome FTP
4433 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4435 * gst/gstconfig.h.in:
4436 Add 'id' for example.
4440 * plugins/elements/gstfdsink.c:
4441 Link to signals. Doc and comment fixes.
4443 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4445 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4446 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4447 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4448 unused and unimplemented; finally, it is plugin features, not
4449 plugins, that have ranks.
4451 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4453 * gst/gstpluginfeature.h:
4454 Clarify GstRank range docs.
4456 2008-02-05 David Schleef <ds@schleef.org>
4458 * gst/gst.c: Add a separate gst_deinitialized that prevents
4459 gst_init() from being called after gst_deinit(). Fixes #509559
4461 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4463 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4464 (gst_bin_class_init):
4465 * gst/gstelement.c: (gst_element_base_class_init),
4466 (gst_element_class_add_pad_template):
4467 * gst/gstpadtemplate.c: (gst_pad_template_init):
4468 * gst/gstpipeline.c: (gst_pipeline_get_type),
4469 (gst_pipeline_base_init), (gst_pipeline_class_init):
4470 * libs/gst/base/gstbasesink.c:
4471 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4472 (gst_base_src_base_init), (gst_base_src_class_init):
4473 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4474 (gst_capsfilter_class_init):
4475 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4476 (gst_fake_sink_class_init):
4477 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4478 (gst_fake_src_class_init):
4479 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4480 (gst_fd_sink_class_init):
4481 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4482 (gst_fd_src_class_init):
4483 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4484 (gst_file_sink_class_init):
4485 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4486 (gst_file_src_class_init):
4487 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4488 (gst_identity_class_init):
4489 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4490 (gst_multi_queue_class_init):
4491 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4492 (gst_queue_class_init):
4493 * plugins/elements/gsttee.c: (gst_tee_base_init),
4494 (gst_tee_class_init):
4495 * plugins/elements/gsttypefindelement.c:
4496 (gst_type_find_element_base_init),
4497 (gst_type_find_element_class_init):
4498 * tests/check/gst/gstelement.c: (gst_element_suite):
4499 Revert previous changes to the behaviour of GstPadTemplates, etc
4500 and the possiblity to call them in class_init as it breaks too
4501 many elements. Reopens bug #491501.
4503 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4506 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4508 * tools/gst-launch.c:
4509 Dump one graph per pipeline state-change and state change name
4510 (if GST_DEBUG_DUMP_DOT_DIR is set).
4512 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4515 * tests/check/gst/gstpad.c:
4516 Be sure that we have a new copy of the caps and not
4517 reffed caps from a template
4519 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4521 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4522 * gst/gstpipeline.c: (gst_pipeline_get_type),
4523 (gst_pipeline_class_init):
4524 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4525 (gst_base_sink_class_init):
4526 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4527 (gst_base_src_class_init):
4528 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4529 (gst_base_transform_class_init):
4530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4531 (gst_collect_pads_class_init):
4532 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4533 * libs/gst/net/gstnettimeprovider.c:
4534 (gst_net_time_provider_base_init),
4535 (gst_net_time_provider_class_init):
4536 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4537 (gst_capsfilter_class_init):
4538 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4539 (gst_fake_sink_class_init):
4540 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4541 (gst_fake_src_class_init):
4542 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4543 (gst_fd_sink_class_init):
4544 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4545 (gst_fd_src_class_init):
4546 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4547 (gst_file_sink_class_init):
4548 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4549 (gst_file_src_class_init):
4550 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4551 (gst_identity_class_init):
4552 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4553 (gst_multi_queue_class_init):
4554 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4555 (gst_queue_class_init):
4556 * plugins/elements/gsttee.c: (gst_tee_base_init),
4557 (gst_tee_class_init):
4558 * plugins/elements/gsttypefindelement.c:
4559 (gst_type_find_element_base_init),
4560 (gst_type_find_element_class_init):
4561 Don't use base_init where not absolutely necessary. For example it's
4562 not necessary anymore for adding pad templates or setting element
4565 Leave empty base_init functions in several places as GST_BOILERPLATE
4566 still defines and uses them.
4568 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4570 * gst/gstelement.c: (gst_element_base_class_init),
4571 (gst_element_class_add_pad_template):
4572 * gst/gstpadtemplate.c:
4573 Make it possible (and recommended) to set element details and add
4574 pad templates in the class_init functions by copying the details/pad
4575 templates in GstElement's base_init.
4577 Also make it possible to replace existing pad templates by adding
4578 a new one with the same name. This was done in a hackish fashion
4579 in same elements before already.
4581 Don't reference pad templates that are added a second time. A
4582 new pad template has a refcount of one and is not floating anymore
4583 and to be owned by the element's class. Make this more explicit by
4584 mentioning it in the docs of gst_element_class_add_pad_template().
4586 These changes are backwards compatible. Fixes bug #491501.
4588 * tests/check/gst/gstelement.c:
4589 Add unit test for setting element details, adding pad templates and
4590 replacing them in a subclass.
4592 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4594 * tools/gst-inspect.c: (print_interfaces),
4595 (print_element_properties_info), (print_pad_info),
4596 (print_signal_info), (print_element_info):
4597 Fix a few memory leaks.
4599 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4601 * docs/libs/gstreamer-libs-sections.txt:
4602 * libs/gst/check/gstcheck.c:
4603 * libs/gst/check/gstcheck.h:
4604 Add more functions for unit testing: gst_check_drop_buffers,
4605 gst_check_caps_equal, gst_check_element_push_buffer_list,
4606 gst_check_element_push_buffer
4607 API: gst_check_drop_buffers
4608 API: gst_check_caps_equal
4609 API: gst_check_element_push_buffer_list
4610 API: gst_check_element_push_buffer
4612 2008-02-01 Julien Moutte <julien@fluendo.com>
4614 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4615 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4616 (gst_index_finalize), (gst_index_entry_free),
4617 (gst_index_add_association): Fix memory leaks.
4618 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4619 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4620 (gst_mem_index_free_format), (gst_mem_index_free_id),
4621 (gst_mem_index_finalize): Fix memory leaks.
4622 * win32/common/config.h: Updated to CVS HEAD.
4624 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4627 Some more details about how the plugin docs works.
4629 * docs/plugins/gstreamer-plugins-sections.txt:
4632 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4634 * gst/parse/grammar.tab.pre.c:
4635 * gst/parse/grammar.tab.pre.h:
4636 * gst/parse/grammar.y:
4637 * gst/parse/lex._gst_parse_yy.pre.c:
4638 Add delayed set-property. This allows to set properties on dynamicaly
4639 created objects (pads in videomxer). Fixes #509391.
4641 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4644 Check if caps are not NULL (fix bug #510194)
4646 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4648 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4649 (gst_base_sink_get_position_paused):
4650 Add fixme regarding EOS in pull mode.
4651 Fix position reporting in PAUSED for negative rates.
4653 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4655 * gst/gstminiobject.c: (gst_mini_object_replace):
4656 When replacing a miniobject, do a quick equality check first so that we
4657 can avoid a ref/unref pair.
4659 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4661 * docs/design/part-synchronisation.txt:
4664 * docs/plugins/Makefile.am:
4665 * docs/plugins/gstreamer-plugins-docs.sgml:
4666 * docs/plugins/gstreamer-plugins-sections.txt:
4667 * plugins/elements/gstmultiqueue.c:
4668 Add multiqueue to the docs.
4670 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4675 === release 0.10.17 ===
4677 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4680 releasing 0.10.17, "Due Negligence"
4682 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4685 Revert caps != NULL check temporarily for 0.10.17 release.
4687 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4690 Check if caps are not NULL (fix bug #510194)
4692 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4695 Fix compilation on systems that have posix timers but no
4698 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4701 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4703 * tools/gst-inspect.c:
4704 Revert previous commit in preparation for an impromptu 0.10.17 release
4706 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4708 * tools/gst-inspect.c: (print_interfaces),
4709 (print_element_properties_info), (print_pad_info),
4710 (print_signal_info), (print_element_info):
4711 Fix a few memory leaks.
4713 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4718 === release 0.10.16 ===
4720 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4723 releasing 0.10.16, "Special Dispensation"
4725 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4728 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4729 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4730 not fail when trying to crosscompile on OpenEmbedded (#511750).
4732 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4735 Use $(MAKE) instead of make to fix the build if GNU make is
4736 called different. Fixes bug #510747.
4738 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4740 * gst/gstplugin.c: (_gst_plugin_initialize):
4741 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4742 again, which I broke two commits ago when changing the API
4743 of gst_plugin_register_static(): the g_list_foreach() in
4744 _gst_plugin_register_static still assumed the old function
4745 signature and would therefore fail (re-fixes #510187).
4747 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4748 (_gst_plugin_register_static), (gst_plugin_register_static):
4749 Revert the (technically correct) change to call g_thread_init() from
4750 the pre-main() constructor. This will break programs which call
4751 g_thread_init() without an if (!g_thread_supported()) guard in their
4752 main function. We could just blame it on GLib or the application, but
4753 it's probably best to just avoid this altogether and simply not use
4754 any GLib functions here and use plain old malloc() with a simple
4755 array to store the plugins to register later when gst_init() is
4756 finally called (re-fixes #510187).
4758 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4759 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4760 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4761 (GST_START_TEST), (gst_plugin_suite):
4762 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4765 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4767 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4768 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4769 This makes gtk-doc complain, but results in slightly better
4770 compiler errors. The old _gst_plugin_register_static() is
4771 still guarded, so there'll be a compiler warning about that
4772 instead. Fixes #510187 too.
4774 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4776 * gst/gst.c: (init_post):
4777 * gst/gstplugin.c: (_gst_plugin_register_static),
4778 (gst_plugin_register_static), (_gst_plugin_initialize):
4779 * gst/gstplugin.h: (GstPluginFilter):
4780 Change API of gst_plugin_register_static() to not take
4781 a GstPluginDesc, but rather just take all the arguments
4782 in a GstPluginDesc directly. This is more intuitive and
4783 avoids certain mistakes when porting code from
4784 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4787 * tests/check/gst/gstplugin.c:
4788 Fix up for changed API.
4790 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4792 * docs/faq/legal.xml:
4793 Update FAQ, Totem actually has an exception these days.
4795 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4797 * win32/common/libgstreamer.def:
4798 Add new API declarations
4800 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4802 * gst/gstminiobject.c:
4803 Spelling fixes for the API docs.
4805 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4807 * libs/gst/base/gstbasetransform.c:
4808 Fix long property description for QoS.
4810 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4813 _gst_trace_on is already provided by gsttrace.h, no need to declare
4816 * docs/libs/gstreamer-libs-sections.txt:
4817 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4818 and remove strange tcase_add_test which is outputting a warning.
4820 * libs/gst/check/gstcheck.c:
4821 * libs/gst/check/gstcheck.h:
4822 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4823 and define them in gstcheck.c instead of having every .c file whcih
4824 includes gstcheck.h be defining its own copy and relying on symbol
4825 interposing to marry them all, which doesn't work on Solaris.
4827 * tests/check/elements/identity.c: (GST_START_TEST):
4828 Don't define 'buffers' locally, it comes from libgstcheck.
4830 * tests/check/generic/sinks.c: (send_buffer):
4831 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4833 * tests/check/gst/gststructure.c: (GST_START_TEST):
4834 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4835 * tests/check/gst/gstutils.c: (GST_START_TEST):
4836 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4837 Add a bunch of casts to make various constants fit the types
4838 they're being assigned to.
4840 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4842 * gst/gstchildproxy.c:
4843 Improve docs and add some ideas for making this more general-purpose.
4845 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4847 * gst/gst_private.h: (GST_CAT_TYPES):
4848 Add GST_CAT_TYPES, for consistency, and so that the other
4849 debug categories don't make fun of it. Spotted by Saur on IRC.
4851 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4853 * gst/parse/Makefile.am:
4854 Move types.h from EXTRA_DIST to noinst_HEADERS.
4856 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4859 Add -Wno-portability to the automake parameters to stop warnings
4860 about GNU make extensions being used. We require GNU make in almost
4861 every Makefile anyway.
4864 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4865 at the same time is required for per target flags.
4867 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4870 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4871 __GNUC__ is defined before using it.
4873 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4875 * docs/gst/gstreamer-sections.txt:
4876 * gst/gst.c: (init_post):
4877 * gst/gstplugin.c: (_gst_plugin_register_static),
4878 (gst_plugin_register_static), (_gst_plugin_initialize),
4879 (gst_plugin_register_func):
4880 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4881 API: add gst_plugin_register_static() and deprecate
4882 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4884 Also, in _gst_plugin_register_static(), make sure to call
4885 g_thread_init() before calling GLib functions such as
4886 g_list_append() if we're not initialised yet, since that
4887 may lead to random crashes with older GSlice/GLib versions.
4889 * tests/check/gst/gstplugin.c:
4890 Adapt unit test to above changes.
4892 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4894 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4895 * gst/gstcaps.c: (gst_caps_to_string):
4896 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4897 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4898 Yet another gratuitous GString micro-optimisation: add a (private)
4899 function that serialises a structure appending to an existing
4900 GString, so that when we serialise caps we don't need to alloc+free
4901 a throwaway GString for each structure (each of which also entailing
4902 multiple reallocs on the way); also use g_string_sized_new() in
4903 various places with an approximate string length to avoid reallocs
4904 within GString. See #500143.
4906 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4908 * gst/gststructure.c: (gst_structure_id_set_value):
4909 Always check UTF-8 conformance of structure strings and not only
4910 if the debugging system is enabled; reasoning: the behaviour of
4911 the actual code shouldn't really change depending on whether the
4912 debugging system is enabled or not (#508291).
4914 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4917 Remove old coverage target in favour of "make lcov".
4919 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4921 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4922 (gst_base_src_loop):
4923 The start segment for reverse playback goes from start to last_stop.
4925 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4927 Patch by: Peter Kjellerstedt <pkj axis com>
4930 Cast the results from the timeval/spec_to_time macros to what the
4931 docs say it casts to, a GstClockTime. fixes #508175.
4933 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4936 Update some comments.
4938 * tools/gst-inspect.c: (print_element_properties_info):
4939 Improve printing of flags.
4941 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4943 * libs/gst/base/gstbasetransform.c:
4944 (gst_base_transform_transform_size):
4945 Print element name with g_warning() if there's a problem
4948 2008-01-07 David Schleef <ds@schleef.org>
4950 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4952 * libs/gst/controller/gstcontroller.h:
4953 * libs/gst/controller/gstcontrolsource.h:
4954 * libs/gst/controller/gstinterpolationcontrolsource.h:
4955 * libs/gst/controller/gstlfocontrolsource.h:
4956 * libs/gst/dataprotocol/dataprotocol.h:
4957 Fix empty prototypes. Fixes bug #507957.
4959 2008-01-07 David Schleef <ds@schleef.org>
4961 * docs/faq/dependencies.xml: Fix typo.
4963 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4965 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4966 (gst_base_src_loop):
4967 Don't update the last_stop position in do_seek, that's the position we
4969 Read backwards when we have a negative rate.
4971 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4972 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4974 Add check for reverse reading.
4976 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4978 Patch by: Alexis Ballier <aballier at gentoo org>
4980 * tests/check/gst/gstabi.c:
4981 * tests/check/gst/struct_ppc64.h:
4982 * tests/check/libs/libsabi.c:
4983 * tests/check/libs/struct_ppc64.h:
4984 Decide which header to include based on the userland ABI target
4985 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4986 for 64-bit userland (#503590). Might need something similar for
4989 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4991 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4992 Log the reason why fopen fails in addition to the fact that it failed.
4994 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4996 * gst/parse/parse.l:
4997 Use "%option never-interactive" to prevent useless calls to isatty()
4998 on every input when parsing. Also use "%option noinput" to not define
4999 the static input/yyinput functions which we don't use anyway. This
5000 removes a compiler warning with gcc 4.3 and saves some bytes in the
5003 * gst/parse/lex._gst_parse_yy.pre.c:
5004 Regenerated for the above change.
5006 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5008 * gst/gstpad.c: (fixate_value):
5009 Don't crash when trying to fixate and empty list.
5012 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5014 * docs/faq/gst-uninstalled:
5015 Clarify the comments to make the usage of this script and what it
5016 does easier to understand.
5018 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5020 * tools/gst-plot-timeline.py:
5021 Add more options to gst-plot-timeline
5023 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5025 * docs/design/part-synchronisation.txt:
5026 Some more info on how the stream_time in GstBaseSink is done.
5028 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5030 * tests/check/generic/sinks.c: (gst_sinks_suite):
5031 Put back the tcase_set_timeout(), apparently it's needed after
5032 all; fix it up in a way that makes things work with valgrind too.
5034 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5036 * gst/gstdebugutils.c:
5037 Add warning when failed to open file for writing.
5039 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5041 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5043 * gst/gstvalue.c: (gst_value_is_fixed):
5044 Optimisation: bail out of the loop as early as possible (#500143).
5046 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5048 * gst/gstcaps.c: (gst_caps_to_string):
5049 * gst/gstinfo.c: (gst_debug_construct_term_color):
5050 * gst/gstparse.c: (gst_parse_launchv):
5051 * gst/gstutils.c: (gst_util_dump_mem):
5052 * gst/gstvalue.c: (gst_value_serialize_any_list),
5053 (gst_value_transform_any_list_string):
5054 Bunch of gratuitous nano-optimisations.
5056 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5058 * tests/check/generic/sinks.c: (async_done_func),
5059 (async_done_eos_func):
5060 Fix leak in unit test (bus sync handler must unref the message
5061 if it returns GST_BUS_DROP). Don't fiddle with the default test
5062 timeout, this is smaller than the current preconfigured value
5063 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5064 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5066 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5068 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5071 Check for stdio_ext.h for the filesink changes.
5073 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5074 (gst_file_sink_class_init), (gst_file_sink_init),
5075 (gst_file_sink_dispose), (gst_file_sink_set_property),
5076 (gst_file_sink_get_property), (gst_file_sink_open_file),
5077 (gst_file_sink_close_file):
5078 * plugins/elements/gstfilesink.h:
5079 Add two properties to control the buffering mode and size.
5080 API: GstFileSink::buffer-mode
5081 API: GstFileSink::buffer-size
5084 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5086 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5087 Add some more docs to explain why a FIXME was wrongly added.
5089 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5092 Fix typo in the gst_object_{ref,unref} documentation.
5094 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5096 * tests/check/libs/controller.c:
5097 * tests/check/libs/typefindhelper.c:
5098 * tests/check/pipelines/parse-launch.c:
5099 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5100 going to be deprecated (see #498924).
5102 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5104 * gst/gsttypefind.c: (gst_type_find_register):
5105 Make gst_type_find_register work for static typefind functions,
5106 ie. allow passing plugin == NULL (prerequisite for #498924).
5108 * gst/gstelementfactory.c: (gst_element_register):
5109 Small docs addition.
5111 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5113 * gst/gstpad.c: (gst_pad_dispose):
5114 Really unlink the peer pad instead of setting the peer pointer to NULL
5115 when we dispose the pad.
5116 This correctly calls the unlink functions and makes sure that the peer
5117 does not have a handle to invalid memory. See #504671.
5119 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5120 Add testsuite for above case.
5122 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5124 Patch by: Peter Kjellerstedt <pkj axis com>
5126 * libs/gst/check/gstcheck.h:
5127 Fix detection of the check version we're compiling against (would
5128 otherwise break if check goes v0.10.0); correctly report the
5129 name of the failed test again in case of failure, instead of
5130 just 'tf' (fixes #504499).
5132 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5134 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5135 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5136 (gst_base_src_loop), (gst_base_src_set_flushing),
5137 (gst_base_src_change_state):
5138 Allow sending EOS to the source to make it send out an EOS event from
5139 the streaming thread.
5140 Update docs and deprecate the old NULL/READY shutdown method.
5142 * tests/check/libs/basesrc.c: (GST_START_TEST),
5143 (gst_basesrc_suite):
5144 Add unit test for controlled shutdown.
5146 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5148 * docs/design/part-synchronisation.txt:
5151 * gst/gstsegment.c: (gst_segment_set_seek),
5152 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5153 (gst_segment_to_running_time):
5154 The seek format can be different from the segment format when the start
5155 and stop values are not to be updated, when we only do a rate change for
5158 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5159 (gst_segment_suite):
5160 Add a testcase for the rate-only seeks, checking that the format is
5161 correctly ignored when start and stop are not updated.
5163 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5165 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5167 * win32/vs8/grammar.vcproj:
5168 * win32/vs8/libgstcontroller.vcproj:
5169 * win32/vs8/libgstreamer.vcproj:
5170 Fix compilation with VS8 and include some missing files.
5172 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5175 Small docs addition: mention that the strings returned by
5176 gst_tag_list_get_string*() are in UTF-8 encoding.
5178 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5181 The check-exports stuff moved to common/win32.mak, so include that.
5183 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5185 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5186 (gst_base_src_perform_seek), (gst_base_src_get_range),
5187 (gst_base_src_set_playing), (gst_base_src_change_state):
5188 Make _wait_playing() not check any variables so that we can call this
5189 function from subclasses. Move the checks elsewhere similar to
5190 _wait_preroll() in basesink.
5192 Only signal the LIVE cond when we are going back to PLAYING.
5194 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5196 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5197 Use g_remove() and g_rename(). Check result of g_rename(), and
5198 don't leak the open file descriptor if we error out when writing.
5200 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5201 Must check the return value of close() after writing out the new
5202 registry file. Sometimes write problems such as out-of-diskspace
5203 are only reported when the file is closed and not already during
5204 the write. This may have caused partial/broken registry files in
5205 some rare circumstances. Should fix #503675.
5207 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5209 * docs/gst/.cvsignore:
5210 * docs/libs/.cvsignore:
5211 * docs/plugins/.cvsignore:
5212 Ignore files generated by new common/* modifications
5214 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5216 * win32/common/libgstbase.def:
5217 Yes, you can also have a <TAB> if you want.
5219 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5221 * win32/common/libgstbase.def:
5222 Add new basetransform API to win export file.
5224 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5226 * tests/check/gst/gstbin.c:
5227 Adjust the test to the refcount change two days ago.
5229 2007-12-14 David Schleef <ds@schleef.org>
5231 * docs/faq/getting.xml: Fix typo.
5233 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5235 * docs/libs/gstreamer-libs-sections.txt:
5236 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5237 (gst_base_transform_prepare_output_buffer),
5238 (gst_base_transform_set_gap_aware):
5239 * libs/gst/base/gstbasetransform.h:
5240 API: Add gst_base_transform_set_gap_aware() to control whether
5241 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5242 get buffers with this flag at all. Fixes #503231.
5244 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5246 * libs/gst/base/gstbasesink.c:
5247 * libs/gst/base/gstbasesrc.c:
5248 * libs/gst/base/gstbasetransform.c:
5249 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5250 thread. Correct log message in gstbasesrc.c.
5252 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5254 * gst/gstutils.c: (element_find_unconnected_pad):
5255 Fix possible compiler warning (#503417).
5257 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5259 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5260 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5262 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5264 * tools/gst-inspect.c: (print_element_properties_info):
5265 Add support for GstFraction properties.
5267 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5270 Add check-exports target and run it as part of 'make check'
5271 (see #499140 and #493983).
5273 * gst/gst_private.h:
5274 * gst/gstelementfactory.h:
5275 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5276 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5277 (_priv_gst_in_valgrind):
5278 * gst/gstinfo.h: (GstLogFunction):
5279 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5280 (gst_type_find_register):
5281 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5282 (gst_type_find_factory_get_type):
5283 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5284 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5285 (gst_controller_new_valist), (gst_controller_new_list),
5286 (_gst_controller_dispose), (_gst_controller_class_init):
5287 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5288 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5289 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5290 (gst_object_get_controller), (gst_object_set_controller),
5291 (gst_object_suggest_next_sync), (gst_object_sync_values),
5292 (gst_object_set_control_source), (gst_object_get_control_source),
5293 (gst_object_get_value_arrays), (gst_object_get_value_array),
5294 (gst_object_get_control_rate), (gst_object_set_control_rate):
5295 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5296 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5297 Make some functions that should be static static; rename some
5298 private symbols so that they don't get exported; add some FIXME
5299 comments so we can move accidentally exported functions into
5300 our private section in 0.11.
5302 * win32/common/libgstreamer.def:
5303 Add gst_utils_get_timestamp().
5305 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5309 Add more missing "Since:" tags to docs.
5311 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5314 Add mising "Since:" to docs.
5316 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5319 Include "glib-compat-private.h" to fix the build on system with
5320 glib < 2.10. Fixes #503131.
5322 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5326 Actually its not PURE as it gets the time from elsewhere.
5328 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5330 * docs/gst/gstreamer-sections.txt:
5332 * gst/gstdebugutils.c:
5336 * libs/gst/base/gstbasesink.c:
5337 * tools/gst-launch.c:
5338 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5339 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5340 Thanks Tim for spotting.
5341 API: gst_util_get_timestamp
5343 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5346 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5348 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5350 * gst/gststructure.c: (gst_structure_validate_name),
5351 (gst_structure_new_valist), (gst_structure_parse_value),
5352 (gst_structure_from_string):
5353 Don't crash in _from_string() if the structure name is not valid
5354 (fixes #501560). Allow structure names to start with a number
5355 again (this apparently broke the ubuntu codec installer).
5357 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5359 Add unit test for the crash; update unit tests for new behaviour.
5361 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5364 Clarify gst_element_get_compatible_pad() documentation.
5367 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5369 * tests/check/Makefile.am:
5370 Don't forget to dist {gst,libs}/struct_hppa.h.
5372 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5374 * libs/gst/base/gstbasesink.c:
5375 Use new API to get elapsed time.
5377 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5379 * gst/gstdebugutils.c:
5381 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5383 * tools/gst-launch.c:
5384 Use new API to get elapsed time.
5386 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5388 * docs/gst/gstreamer-sections.txt:
5390 * gst/gstdebugutils.c:
5392 Rename new API + ChangeLog surgery to remove old name from last entry..
5394 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5396 * docs/gst/gstreamer-sections.txt:
5398 * gst/gstdebugutils.c:
5400 Now hide the different clock stuff behind a macro.
5402 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5405 * gst/gstdebugutils.c:
5407 Apply the posix-timer check from #361155. Conditionally use the posix
5408 timer for logging. This gives better timestamp precission, less
5409 overhead and no ntp jitter.
5411 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5413 * gst/gstminiobject.c: (gst_mini_object_get_type),
5414 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5415 (gst_mini_object_finalize), (gst_mini_object_copy),
5416 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5417 (gst_mini_object_replace), (param_mini_object_validate),
5418 (gst_param_spec_mini_object_get_type):
5419 Some cleanup and checking against invalid function parameters.
5421 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5423 * docs/gst/gstreamer-sections.txt:
5425 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5426 (gst_systemclock_suite):
5427 Start merging in the easy bits of #361155, the monotonic clock patch.
5428 This one adds a few handy macros with docs and a testsuite.
5430 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5432 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5433 Be a bit smarter when seeking, like, don't try to do a seek when it's
5434 not needed. This avoids errors when the file is not seekable.
5437 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5439 * docs/gst/gstreamer-docs.sgml:
5440 * docs/gst/gstreamer-sections.txt:
5441 * docs/gst/gstreamer.types.in:
5446 * plugins/elements/gstqueue.c:
5447 Due to popular request remove preset interface again. :-(.
5449 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5451 * tools/gst-inspect.c:
5452 Print 'default value' for enums and flags too.
5454 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5456 * docs/random/ensonic/profiling.txt:
5460 Fix typo and give better log output.
5462 * gst/gstdebugutils.c:
5463 * gst/gstdebugutils.h:
5464 More ideas, make graphs a bit smaller and fix param name in macro.
5466 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5469 Try harder to use the return value from fgets().
5471 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5474 For theses two fgets we handle the error below.
5476 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5478 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5479 Only send upstream events upstream. Fixes #498746.
5481 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5483 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5485 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5486 (gst_identity_init), (gst_identity_transform_ip),
5487 (gst_identity_set_property), (gst_identity_get_property):
5488 * plugins/elements/gstidentity.h:
5489 Add property to disable handoff signal emission. Fixes #498694.
5490 API: GstIdentity::signal-handoffs
5492 2007-11-21 Julien Moutte <julien@fluendo.com>
5494 * docs/faq/gst-uninstalled: Yet another missing library for the
5495 uninstalled script (fft)
5497 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5499 * docs/faq/developing.xml:
5500 Add a question about how to submit new translations.
5502 * docs/random/release:
5503 Update the contact email address for the Translation Project
5505 * plugins/elements/gstfdsrc.c:
5506 The parent_class for fdsrc is pushsrc, not GstElement.
5508 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5511 Plug a leak and fix saving.
5513 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5515 * docs/gst/gstreamer-sections.txt:
5516 Add new gst_preset__get_property_names() function to the docs
5519 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5523 Change _get_preset_names API to return a strv with copies. Add
5524 _get_property_names to allow implementations to filter and provide
5525 good default implementation.
5527 2007-11-20 Julien MOUTTE <julien@moutte.net>
5529 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5532 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5535 More cleanups, docs, and TODOs from comments that now slowly come in.
5537 2007-11-19 Julien MOUTTE <julien@moutte.net>
5539 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5542 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5545 Fix bogus warning and make the property type specific code more
5548 2007-11-19 Julien MOUTTE <julien@moutte.net>
5550 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5553 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5555 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5556 (gst_bin_add_func), (gst_bin_remove_func),
5557 (gst_bin_change_state_func), (gst_bin_continue_func):
5558 Change email, cleanups add some more debug and comments.
5559 Also set bus and clock on new elements when the pipeline was in error.
5561 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5564 * gst/gstdebugutils.c:
5565 Fix build with --disable-gst-debug. Fixes #497859.
5566 Spotted by Sameer Naik.
5568 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5571 Little documentation improvment.
5574 More TODO cleanups. Remove c++ comments.
5576 * libs/gst/controller/gstcontroller.c:
5577 Add TODO and use quark from static string.
5579 * tests/check/gst/gstmessage.c:
5580 * tests/check/gst/gststructure.c:
5581 Use quark from static string.
5583 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5586 Add some comments and TODOs.
5589 Add padding for future changes.
5591 * plugins/elements/gstqueue.c:
5592 Implement the iface.
5594 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5596 * docs/gst/gstreamer-docs.sgml:
5597 * docs/gst/gstreamer-sections.txt:
5598 * docs/gst/gstreamer.types.in:
5603 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5605 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5611 === release 0.10.15 ===
5613 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5616 releasing 0.10.15, "October"
5618 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5620 * win32/vs6/libgstreamer.dsp:
5621 Convert line endings back to DOS.
5623 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5625 * docs/design/draft-tagreading.txt:
5626 * docs/random/ensonic/profiling.txt:
5627 Update fast tagreading draft and performance profiling ideas.
5629 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5631 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5632 Don't hold the object lock when unreffing a buffer because it could
5633 cause a deadlock when the finalize function wants to grab the object
5634 lock too. Fixes #495133.
5636 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5638 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5639 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5640 Also accumulate time correctly when doing reverse playback. Fixes
5642 When converting to running and stream time, use default values for
5643 start/stop/time/accum when comparing different formats. Fixes #494245.
5645 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5646 Do running/stream time in TIME format.
5648 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5649 (gst_segment_suite):
5650 2 new unit tests for segment accumulation.
5652 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5654 * gst/gst.c: (init_pre):
5655 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5656 (_gst_debug_bin_to_dot_file):
5657 Move getenv() back into gst_init, so everyone can live happily
5658 ever after. Make sure the symbol isn't exported though.
5660 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5662 Patch by: Sebastien Moutte <sebastien moutte net>
5664 * win32/common/gstenumtypes.c:
5665 * win32/common/gstenumtypes.h:
5668 * win32/vs6/libgstreamer.dsp:
5669 Update vs6 project files (#494343).
5671 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5673 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5674 (gst_base_src_perform_seek), (gst_base_src_default_event),
5675 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5676 (gst_base_src_activate_pull):
5677 Unify flushing code, remove some old unlock code that is no longer used.
5678 Take the streaming lock when seeking to avoid races. Fixes #492729.
5679 Added some more comments.
5681 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5683 * gst/gst.c: (_gst_disable_segtrap):
5684 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5685 we can use gst_segtrap_is_enabled() there now that we have that API.
5686 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5687 to do the getenv here (and export the variable).
5689 * gst/gstdebugutils.c: (debug_dump_element),
5690 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5691 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5693 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5694 (gst_debug_log_default):
5695 Rename _gst_info_start_time to priv_gst_info_start_time so it
5696 doesn't get exported (was never in any header).
5698 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5699 (gst_plugin_loading_mutex):
5700 Make static mutex gst_plugin_loading_mutex really static (was never
5701 in any header), and use gst_segtrap_is_enabled() instead of
5702 _gst_disable_segtrap.
5704 * gst/gsttrace.c: (_gst_trace_default):
5705 Make local _gst_trace_default static (was never in any header).
5707 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5709 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5711 * win32/common/libgstbase.def:
5712 * win32/common/libgstcontroller.def:
5713 * win32/common/libgstdataprotocol.def:
5714 * win32/common/libgstnet.def:
5715 * win32/common/libgstreamer.def:
5716 Add more missing symbols, remove some duplicates, and sort
5717 as the 'sort' command sorts it (partially fixes #493983).
5719 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5721 * gst/gstelement.c: (gst_element_set_state_func):
5722 Only change the state cookie if a different state was set on the
5723 element. See #492729.
5725 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5728 Remove unused and uninitialised type variables that were still
5729 exported for some reason (they were never in any header files
5732 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5734 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5735 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5736 (gst_base_sink_event), (gst_base_sink_get_position_last),
5737 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5738 (gst_base_sink_change_state):
5739 Don't try to report a 0 position when we don't know, return -1 and FALSE
5740 instead. This mostly happens when we are prerolling.
5741 Make sure we can report the right position before we post the ASYNC_DONE
5742 message so that a message handler can query position without races.
5744 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5745 (async_done_handoff), (async_done_func), (send_buffer),
5746 (async_done_eos_func), (gst_sinks_suite):
5747 Add two tests for the above.
5749 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5752 Update with new email address.
5754 * docs/design/part-TODO.txt:
5755 Add some more info about future pad-block and negotiation changes.
5757 * docs/design/part-buffering.txt:
5758 Add some ideas about buffering reporting.
5760 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5762 * tests/check/gst/gstobject.c:
5763 Disable silly racy test that always fails on this combination of CPU
5766 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5768 Patch by: Murray Cumming <murrayc@murrayc.com>
5771 Corrected the registration of the parent-set and parent-unset
5772 signals: The parameter is a GstObject, not a GObject (#493134).
5774 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5776 * gst/gst_private.h:
5785 Move declaration of private _gst_foo_initialize() functions into
5786 our private header file where they should have been all along.
5788 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5790 * docs/plugins/gstreamer-plugins-sections.txt:
5791 * gst/gstdebugutils.h:
5793 * plugins/elements/gstqueue.c:
5794 gtk-doc fixes; trailing-comma-in-enum fix.
5796 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5798 * gst/gst.c: (gst_deinit):
5799 Clean up on deinit (not the external ones though, doesn't seem to be
5800 needed for some reason).
5802 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5804 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5805 Remove __declspec(dllimport) for MSVC that was copied over into core
5806 from a plugin, obviously without ever having been tested (note the
5807 single underscore in _declspec in the initial commit), and that doesn't
5808 really make sense. See #492077.
5810 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5812 * gst/gst.c: (init_post):
5813 * gst/gstevent.c: (_gst_event_initialize):
5814 * gst/gstquery.c: (_gst_query_initialize):
5815 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5816 g_type_class_ref() other types as well, see #349410 and #64764.
5818 * gst/gstbuffer.c: (_gst_buffer_initialize):
5819 * gst/gstmessage.c: (_gst_message_initialize):
5820 Simplify existing g_type_class_ref().
5822 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5824 * gst/gstformat.c: (_gst_format_initialize):
5825 g_type_class_ref() our GstFormat type to make sure we avoid the
5826 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5827 bug #64764. Should fix intermittent tee unit test failures (#474823).
5829 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5831 * tests/check/elements/tee.c: (test_num_buffers):
5832 Simplify, simplify, simplify - or not. Rewrite unit test
5833 not to use gst_parse_launch(); allow N sub-streams. Increasing
5834 the number of sub-streams seems to reproduce #474823 more easily.
5836 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5838 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5841 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5842 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5843 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5844 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5845 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5846 so use _pipe() directly (#492077).
5848 * win32/common/dirent.c: (_treaddir):
5849 Add a couple of casts to make it build without warnings with MSVC.
5851 * win32/common/libgstreamer.def:
5852 Add some more symbols that need to be exported.
5854 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5856 * tests/examples/metadata/read-metadata.c: (message_loop):
5857 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5858 arriving in a second or third tag message are added to
5859 the tag list as well.
5861 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5863 * libs/gst/base/gstbasesrc.c:
5864 Its "Since:" and not "@Since:". And remove an superflous cast.
5866 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5868 * docs/libs/gstreamer-libs-sections.txt:
5869 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5870 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5871 (gst_base_sink_get_property), (gst_base_sink_render_object),
5872 (gst_base_sink_preroll_object),
5873 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5874 (gst_base_sink_change_state):
5875 * libs/gst/base/gstbasesink.h:
5876 Add a new last-buffer property that contains the last buffer used in
5877 basesink for preroll or rendering. useful for making snapshots.
5878 API: gst_base_sink_get_last_buffer()
5879 API: GstBaseSink::last-buffer
5881 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5883 * docs/gst/running.xml:
5885 * gst/gstdebugutils.c:
5886 * gst/gstdebugutils.h:
5887 * tools/gst-launch.c:
5888 Improve bin graph dumping, by using the envvar to specify a path.
5889 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5891 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5893 * plugins/elements/gsttypefindelement.c:
5894 (gst_type_find_element_handle_event),
5895 (gst_type_find_element_activate):
5896 Post special error message if we can't determine the type of a stream
5899 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5901 * docs/gst/running.xml:
5902 * gst/gstdebugutils.c:
5903 Document new env-var. Add one log-line after dumpng a graph.
5905 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5908 Ugly hack to put the (recently removed and non-portable, apparently)
5909 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5910 GNU ld, because without that 'make check' fails miserably on my debian
5911 stable box. Someone with more knowledge of linker intricacies and
5912 portability issues than me fix this properly please.
5914 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5916 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5917 Reset last seen position after flushing so that we don't report the old
5920 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5922 * gst/gstelementfactory.c: (gst_element_register):
5924 Patch from Alessandro Decina adding get_type_full and
5925 get_protocols_full private vfuncs to the URIHandler interface
5926 to allow bindings to support creating URI handlers.
5927 Partially fixes: #339279
5928 API: GstURIHandlerInterface::get_type_full
5929 API: GstURIHandlerInterface::get_protocols_full
5931 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5933 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5934 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5935 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5936 Make it so that pads are considered linked until a buffer is pushed
5937 and discovered otherwise. This avoids problems with decodebin2 hanging
5938 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5941 Make sure we lock the multiqueue when updating the max-size properties.
5943 Fix a crash on Solaris in a debug statement in get_request_pad that
5944 passes a NULL string to GST_DEBUG.
5946 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5947 (run_output_order_test):
5948 Fix the test to allow the first buffer on not-linked pads to come out
5949 of sequence while multiqueue discovers that they are not-linked.
5951 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5954 * libs/gst/check/Makefile.am:
5955 Use a custom export symbol regex for libgstcheck, as it needs
5956 to export symbols that don't match the standard GStreamer gst_*
5957 pattern, and --export-dynamic is not portable (only works on
5960 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5961 (gst_check_setup_sink_pad):
5962 Make sure to pass a message parameter to the fail_* macros.
5964 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5965 Fix some compiler warnings.
5967 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5969 * tests/check/gst/gststructure.c: (test_to_string):
5970 Disable test that checks that white spaces are not allowed
5971 in structure names or field names, since we need to
5972 support that for now for backwards compatibility reasons.
5974 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5976 * docs/gst/gstreamer-sections.txt:
5979 API: add GST_TAG_ARTIST_SORTNAME
5980 API: add GST_TAG_ALBUM_SORTNAME
5981 API: add GST_TAG_TITLE_SORTNAME
5982 Add tag variants for sorting (#414539).
5984 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5986 * gst/gststructure.c:
5987 Also allow white space for names so we don't break
5988 backwards compatibility.
5990 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5992 * docs/design/part-TODO.txt:
5993 * docs/design/part-segments.txt:
5994 * docs/design/part-streams.txt:
5997 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5999 * docs/gst/gstreamer-sections.txt:
6000 Fixed documentation from my previous commit (added new API add
6001 gst_value_set_structure(), add gst_value_get_structure() and
6002 GST_VALUE_HOLDS_STRUCTURE).
6004 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6006 * gst/gstdebugutils.c:
6007 Reflow code to fix uninitialized variable warning.
6009 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6011 * gst/gstcaps.c: (gst_caps_to_string),
6012 (gst_caps_from_string_inplace):
6013 * gst/gststructure.c: (gst_structure_get_abbrs),
6014 (gst_structure_to_string), (gst_structure_from_string):
6015 * gst/gstvalue.c: (gst_value_set_structure),
6016 (gst_value_get_structure), (gst_value_serialize_structure),
6017 (gst_value_deserialize_structure), (_gst_value_initialize):
6019 * tests/check/gst/gststructure.c: (GST_START_TEST),
6020 (gst_structure_suite):
6021 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6022 Added GstStructure to gst_value_table and its related functions.
6023 Changed gst_structure_to_string to print ';' in the end.
6024 Changed gst_caps_to_string to not print ';' beteween its
6025 fields (structures) anymore and remove the lastes ';' from latest
6026 structure. Now it is possible to have nested structures.
6027 In addition, backward compatibilty is assured by accepting '\0' as
6028 end delimiter. Fixes: #487969.
6029 API: add gst_value_set_structure()
6030 API: add gst_value_get_structure()
6031 API: add GST_VALUE_HOLDS_STRUCTURE
6033 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6036 When no GSource callback has been set up, tell developer
6037 to use a function that actually exists.
6039 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6041 * docs/gst/gstreamer-sections.txt:
6045 * gst/gstdebugutils.c:
6046 * gst/gstdebugutils.h:
6049 * tools/gst-launch.c:
6050 Allow dumping pipelines as dot graphs. Fixes #456573.
6052 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6054 * gst/gststructure.c:
6055 Allow '+' as well, it can be part of media or mime types
6056 such as image/svg+xml.
6058 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6060 * docs/gst/gstreamer-sections.txt:
6063 API: add gst_bus_pop_filtered
6064 API: add gst_bus_timed_pop_filtered
6065 Two new functions for waiting for specific message types on the
6066 bus for a specified amount of time without iterating any main
6067 loops or main contexts.
6069 * tests/check/gst/gstbus.c:
6070 Some tests for the new functions.
6072 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6074 * docs/libs/gstreamer-libs-sections.txt:
6075 Make gtk-doc ignore stuff it should ignore.
6077 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6079 * libs/gst/check/gstcheck.c:
6080 * libs/gst/check/gstcheck.h:
6081 Allow runtime selection of unit tests to run via the GST_CHECKS
6082 environment variable (test case function names, comma-separated).
6084 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6086 * gst/gststructure.c:
6087 * tests/check/gst/gststructure.c:
6088 Revert serialisation change and constrain structure-names after
6089 consensus on irc. Update api documentation to reflect the change.
6091 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6093 * gst/gststructure.c:
6094 Improve serialization and fix tests.
6096 * tests/check/gst/gststructure.c:
6097 Add another test that covers why I actually did the previous structure
6100 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6102 * tools/gst-inspect.c: (print_element_info):
6103 Don't crash when inspecting an element.
6105 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6107 * tests/check/gst/gststructure.c:
6108 Add unit test for escaping of structure name when serialising
6109 and deserialising to/from strings.
6111 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6113 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6114 (gst_single_queue_new):
6115 * plugins/elements/gstqueue.c: (gst_queue_init),
6116 (gst_queue_push_one):
6117 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6118 upstream is tricked into thinking it can suggest a format downstream
6119 while downstream does not support that format. The real problem is that
6120 core calls acceptcaps when pushing a buffer with new caps, for which we
6121 do a little workaround by setting the caps on the srcpad ourselves
6122 before pushing the buffer (until this is figured out). Fixes #486758.
6124 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6126 * gst/gststructure.c:
6128 Add some more comments and debug output. Quote structure name to fix
6129 deserialisation of some strings.
6131 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6134 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6135 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6137 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6139 * tools/gst-inspect.c:
6140 Save approx. 400 1 byte allocs when printing. Use API to acces element
6146 * tools/gst-xmlinspect.c:
6147 Use API to acces element details.
6149 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6152 Fix some spelling errors.
6154 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6156 * gst/gstbin.c: (bin_handle_async_done):
6157 Correctly set the next state if all of our async children commited their
6158 state. This makes sure we can actually cancel the state change in
6159 progress. Fixes a regression in Rhythmbox when seeking.
6161 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6164 Don't shadow local variable.
6167 Don't shadow global function name.
6169 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6171 * gst/gstelementfactory.c:
6172 * gst/gstpluginfeature.c:
6173 * gst/gstpluginfeature.h:
6174 * gst/gstregistrybinary.c:
6175 * gst/gstregistryxml.c:
6176 * gst/gsttypefind.c:
6177 Use already-interned string for the private GstPluginFeature
6180 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6182 * docs/libs/gstreamer-libs-sections.txt:
6183 Add new API to docs; fixes the build.
6185 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6187 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6189 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6190 (gst_base_sink_event):
6191 * libs/gst/base/gstbasesink.h:
6192 Add function to wait for EOS, subclasses can use this to correctly wait
6193 for devices to drain before performing the EOS logic. Fixes #485343.
6194 API: gst_base_sink_wait_eos()
6196 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6199 Cast description string constants in GST_PLUGIN_DEFINE macros
6200 to a (gchar*) to make C++ code using these macros compile
6201 without warning with g++-4.2 (see #462737). Even if slightly
6202 ugly, this seems preferable to putting the description strings
6203 into the GLib quark table or making the structure member a
6204 const gchar * and doing casts in core code that allocs and
6205 frees these strings, or requiring a cast in the C++ code.
6207 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6210 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6211 to print the entire class/function signature into the log
6212 file for C++ code. This only affects C++ code, for C code
6213 everything remains the same.
6215 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6217 * gst/gstbin.c: (remove_from_queue):
6218 Work around a problem with pipelines containing (semi)loops until a
6219 proper, more complicated solution is ready. See #475455.
6221 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6225 * gst/gstregistrybinary.c:
6226 * gst/gstregistryxml.c:
6227 Put more strings into the GLib quark table. No need to keep
6228 a hundred-something copies of identical version strings,
6229 license strings, package name strings and package origin
6232 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6234 * docs/manual/advanced-dataaccess.xml:
6235 Don't imply that it's okay to unconditionally change
6236 buffer data or buffer metadata in a pad probe callback,
6237 and a bunch of other comments. Fixes #430031.
6239 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6241 * win32/common/gstenumtypes.c:
6242 * win32/common/gstenumtypes.h:
6243 * win32/common/gstversion.h:
6244 Update generated files.
6246 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6248 * docs/manual/advanced-autoplugging.xml:
6249 Prefix section with broken code with a warning (see #342432).
6251 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6253 * docs/manual/appendix-integration.xml:
6254 * docs/manual/basics-init.xml:
6255 Call g_thread_init() before g_option_context_new() to
6256 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6258 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6260 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6261 (gst_base_sink_queue_object_unlocked),
6262 (gst_base_sink_queue_object), (gst_base_sink_event),
6263 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6264 When we received EOS and are waiting for when to post the EOS message,
6265 our state is prerolled and we should not return ASYNC.
6266 Reorganize some code paths to implement this behavior.
6268 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6270 Add unit test to verify above EOS fix.
6272 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6274 * plugins/elements/gsttypefindelement.c:
6275 (gst_type_find_element_have_type), (gst_type_find_element_init),
6276 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6277 Move detecting the input caps of the sinkpad to the setcaps function.
6278 This allows us to update the output caps when we receive new input caps
6279 instead of always using the first detected caps.
6281 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6283 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6284 (gst_base_sink_get_position):
6285 Don't try to preroll non-async elements after a flush.
6286 Subtract latency form clock times when reporting position.
6288 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6290 * gst/gstpad.c: (gst_pad_pause_task):
6292 Small comment and documentation update.
6294 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6296 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6297 (gst_base_src_set_live), (gst_base_src_is_live),
6298 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6299 (gst_base_src_default_event), (gst_base_src_wait),
6300 (gst_base_src_do_sync), (gst_base_src_get_range),
6301 (gst_base_src_pad_get_range), (gst_base_src_loop),
6302 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6303 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6304 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6305 (gst_base_src_change_state):
6306 Rework the locking of basesrc in a similar fashion to basesink. We
6307 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6308 us to handle live sources and semi live ones much better.
6310 Fix unlocking when seeking, shutting down and pausing in live sources.
6312 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6314 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6315 Fix compilation again.
6317 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6320 Use meaningful categories for the logs to clean the default one.
6322 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6324 * tests/check/pipelines/cleanup.c:
6325 Print message name and not just number.
6327 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6329 * docs/design/draft-tagreading.txt:
6330 Add some more thoughts.
6332 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6334 * tests/check/pipelines/simple-launch-lines.c:
6335 Print message name and not just number.
6337 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6339 * libs/gst/base/gsttypefindhelper.c:
6340 Speedup typefinding. This is work in progress (see #459862).
6342 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6345 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6346 Spotted by Josep Torra Valles <josep@fluendo.com>.
6348 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6351 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6352 field has moved to GstObject.
6354 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6356 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6357 (gst_base_src_get_range), (gst_base_src_change_state):
6358 Call unlock for live sources so that they can't get stuck in _create and
6359 produce a buffer before they are set back to PLAYING.
6361 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6363 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6364 (gst_queue_locked_dequeue):
6365 Comment the segment-related code... in the PROPER function.
6366 See #482147 and my commit from yesterday.
6368 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6370 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6371 Also initialize the counter that calculates the first timestamp on a
6372 buffer correctly for non-live sources.
6374 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6376 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6377 Disable code that's breaking the current-time-level reporting.
6380 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6382 * docs/gst/gstreamer-sections.txt:
6383 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6384 as they shouldn't show up. Fixes the docs build.
6386 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6389 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6390 Define M_PI which is used in files which are including gstinfo.h.
6391 VS6 includes doesn't define it.
6392 * win32/common/libgstbase.def:
6393 * win32/common/libgstcontroller.def:
6394 * win32/common/libgstreamer.def:
6395 Add new exported functions and variables.
6396 * win32/vs6/libgstcontroller.dsp:
6397 * win32/vs6/libgstreamer.dsp:
6398 Update the list of files to build.
6400 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6402 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6404 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6405 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6406 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6407 Improve debugging. Fixes #480858.
6409 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6411 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6413 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6414 First patch of code cleanups, use the macros and right arguments in the
6415 macros to signal and lock the queue. See #480858.
6417 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6419 * gst/gstbus.c: (poll_func):
6420 Improve debugging when dealing with _poll().
6422 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6424 * gst/gstregistryxml.c:
6425 Fix memory leak I introduced a few days ago.
6427 2007-09-26 Michael Smith <msmith@fluendo.com>
6429 * gst/gstbuffer.c: (gst_buffer_finalize):
6430 Make it once again possible to free GstBuffers in the default
6432 The poisoning scribbles on parts of the miniobject we need in
6436 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6438 * docs/gst/gstreamer-sections.txt:
6441 API: add GST_TAG_COMPOSER, fixes #459809.
6443 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6447 Add the 3-clause BSD license and the MIT/X11 license to the license
6448 list. Fixes #479784.
6450 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6452 * docs/faq/getting.xml:
6453 Add Q+A about different GStreamer versions (#364056).
6455 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6457 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6458 (gst_base_sink_event), (gst_base_sink_change_state):
6459 Return correct gboolean from query function.
6461 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6463 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6464 (gst_base_sink_event), (gst_base_sink_query),
6465 (gst_base_sink_change_state):
6466 Simplify latency query.
6467 When not synchronizing, we can report latency without querying the peer
6470 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6474 Fix small typos in the docs.
6476 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6478 * docs/design/draft-latency.txt:
6479 * docs/design/draft-push-pull.txt:
6480 * docs/design/draft-tagreading.txt:
6481 * docs/design/part-MT-refcounting.txt:
6482 * docs/design/part-activation.txt:
6483 * docs/design/part-block.txt:
6484 * docs/design/part-element-source.txt:
6485 * docs/design/part-events.txt:
6486 * docs/design/part-gstbin.txt:
6487 * docs/design/part-gstelement.txt:
6488 * docs/design/part-gstobject.txt:
6489 * docs/design/part-gstpipeline.txt:
6490 * docs/design/part-messages.txt:
6491 * docs/design/part-preroll.txt:
6492 * docs/design/part-push-pull.txt:
6493 * docs/design/part-qos.txt:
6494 * docs/design/part-query.txt:
6495 * docs/design/part-scheduling.txt:
6496 * docs/design/part-seeking.txt:
6497 * docs/design/part-segments.txt:
6498 * docs/design/part-states.txt:
6499 Documentation updates and typo fixes.
6501 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6503 * plugins/elements/gstfakesink.c:
6504 Add some debug text to error message to indicate that
6505 we errored out on request.
6507 * tools/gst-launch.c:
6508 When the state change to PLAYING fails, check for an
6509 error message on the bus and print it.
6511 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6513 translated by: Jorge González González <aloriel@gmail.com>
6517 Added Spanish translation.
6519 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6521 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6522 Fix printf arguments.
6524 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6526 * tests/check/generic/states.c:
6527 Improved state change unit test.
6529 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6532 Move priv to the right place.
6534 * gst/gstsystemclock.c:
6535 Add FIXME: and improve log.
6537 * tests/check/Makefile.am:
6538 * tests/examples/manual/Makefile.am:
6539 Work with all types of registries.
6541 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6543 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6544 Don't unref the event after pushing it. Fixes #478401.
6546 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6549 * tests/examples/manual/.cvsignore:
6550 Ignore registries in any format.
6552 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6554 * gst/glib-compat-private.h:
6555 Add compatibility macro for g_intern_string() for
6556 GLib-2.8 (any reason we can't just bump the
6557 requirement to at least 2.10?)
6559 * gst/gstpadtemplate.h:
6560 * gst/gstelementfactory.c:
6561 * gst/gstregistryxml.c:
6562 * gst/gstregistrybinary.c:
6563 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6564 up the internal code accordingly. This shouldn't be a problem, since
6565 there is no reason external code could ever assume the string in such
6566 a structure is dynamically allocated unless it did that itself; the
6567 use of g_strdup() is private to element factories. The new code also
6568 saves some memory by putting pad template name strings into the GLib
6569 quark table instead of allocating them dynamically.
6570 Declaring this field constant fixes warnings with g++-4.2 when using
6571 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6573 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6575 * gst/gstelementfactory.c:
6576 Release static caps. Fixes #475723.
6578 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6582 Make some internal API take const gchar * instead of just
6583 gchar * to avoid compiler warnings with g++-4.2.2 when
6584 passing string constants (partially fixes #478092).
6586 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6588 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6589 A latency query fails when one of the sinks fail.
6591 * gst/gstelement.c: (gst_element_set_base_time):
6594 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6596 * gst/gstbin.c: (gst_bin_continue_func):
6597 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6598 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6599 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6601 Fix minor compilation warnings shown with Forte.
6603 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6605 * plugins/elements/gstqueue.c: (apply_buffer),
6606 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6607 Measure queue level based on the diff between head and tail timestamps
6608 even when pushing the first buffer.
6610 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6612 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6613 (gst_base_sink_event), (gst_base_sink_change_state):
6614 Sinks that don't preroll can always be queried for the latency.
6615 Don't post ASYNC start when we are not async.
6617 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6619 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6620 (gst_queue_handle_sink_event), (gst_queue_chain),
6621 (gst_queue_push_one), (gst_queue_handle_src_query),
6622 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6623 * plugins/elements/gstqueue.h:
6624 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6625 push more buffers but allow pushing of EOS and NEWSEGMENT.
6626 Add some more debug info here and there. Fixes #476514.
6628 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6630 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6631 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6632 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6633 (gst_base_sink_set_flushing), (gst_base_sink_query),
6634 (gst_base_sink_change_state):
6635 Latency query is allowed after we are prerolled. Introduce a new flag
6636 for this and stop abusing other variables.
6638 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6640 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6641 Push OOB events downstream when we get them in send_event. This allows
6642 the application to insert events in the pipeline.
6643 Add some more comments.
6645 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6647 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6648 (do_bin_latency), (gst_bin_change_state_func):
6649 * gst/gstpipeline.c: (gst_pipeline_change_state):
6650 Move latency query from GstPipeline to GstBin so that we can also
6651 use it when async-handling is enabled on bins.
6653 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6655 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6656 (gst_base_src_do_sync), (gst_base_src_change_state):
6658 Clean up the timestamping and syncing code for pseudo live sources.
6660 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6662 Patch by: Steve Fink <sphink gmail com>
6664 * docs/manual/appendix-checklist.xml:
6665 Mention less -R switch in the section about debug output (#474055).
6667 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6669 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6670 Queue can latency to the pipeline up to the configured max size in time.
6671 Report this fact in the latency query.
6673 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6675 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6677 * libs/gst/controller/gstinterpolation.c:
6678 * libs/gst/controller/gstlfocontrolsource.c:
6679 Use gst_guint64_to_gdouble() when converting from a uint64 or
6680 GstClockTime to double to fix the build on win32. Fixes #474371.
6682 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6684 * gst/gstbuffer.c: (gst_buffer_finalize):
6685 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6686 When finalizing a buffer the complete struct is filled with 0xff,
6687 thus making a use of the buffer after the final unref impossible.
6689 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6691 * tests/check/libs/controller.c: (GST_START_TEST):
6692 Use fail_unless_equals_int(a, b) instead of
6693 fail_unless_equals (a == b) to get better output on failures.
6695 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6697 * tests/check/gst/gsturi.c:
6698 Also check for the other file URI variant on win32.
6700 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6702 * gst/gsturi.c: (gst_uri_get_location):
6703 If there's no hostname, we want to return 'c:/foo/bar.txt'
6704 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6706 * tests/check/gst/gsturi.c:
6707 Unit test for the above and a few more things.
6709 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6711 * docs/design/part-live-source.txt:
6712 Add docs on how live sources should timestamp.
6714 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6715 Add some more debug info.
6716 For subclasses that are live and like to sync, add aditional startup
6717 latency to sync time and timestamps so that we timstamp according to the
6720 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6723 Also do a g_type_class_ref() for the subbuffer type in
6726 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6728 * docs/gst/gstreamer-sections.txt:
6729 * gst/gstpad.c: (gst_pad_peer_query):
6731 Add function to perform a query on the peer of a pad.
6732 API: gst_pad_peer_query()
6734 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6736 * tests/check/gst/gstsystemclock.c:
6737 Cleanup the test a little (use gst-logging and not g_message). Improve
6738 test to check if a wait reached the target.
6740 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6742 * docs/libs/gstreamer-libs-sections.txt:
6743 Add new API to docs and fix the build.
6745 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6747 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6748 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6749 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6750 (gst_base_src_get_property), (gst_base_src_do_sync):
6751 * libs/gst/base/gstbasesrc.h:
6752 Add property to make the basesrc timestamp buffers based on the current
6754 API: GstBaseSrc::do-timestamp
6755 API: gst_base_src_set_do_timestamp()
6756 API: gst_base_src_get_do_timestamp()
6758 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6760 * docs/random/release:
6761 Really make sure translations are up-to-date before
6762 a release (#465010).
6764 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6766 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6767 Always destroy the timer, also in error cases.
6769 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6771 * docs/manual/highlevel-xml.xml:
6772 Fix XML example code. Fixes #472714.
6774 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6776 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6777 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6778 (gst_base_sink_query):
6779 Protect eos and have_preroll with the OBJECT lock so we don't need to
6780 take the PREROLL lock when querying the latency. Fixes #473846.
6782 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6785 Give some log-messages a category.
6787 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6789 * gst/gststructure.c:
6790 (gst_structure_fixate_field_nearest_fraction):
6791 Fix fraction list fixation code. Take the fraction with the smallest
6792 difference with the target instead of the first one in the list.
6794 * tests/check/gst/gststructure.c: (GST_START_TEST),
6795 (gst_structure_suite):
6796 Added test to verify correct fraction list fixation behaviour.
6798 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6800 * win32/common/libgstreamer.def:
6801 Export gst_bus_add_signal_watch too.
6803 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6805 * docs/libs/gstreamer-libs-sections.txt:
6806 Add new methods to docs.
6808 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6809 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6810 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6811 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6812 * libs/gst/base/gstbasesink.h:
6813 Add ts-offset property to fine-tune the synchronisation.
6814 API: GstBaseSink::ts-offset property
6815 API: gst_base_sink_set_ts_offset()
6816 API: gst_base_sink_get_ts_offset()
6818 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6820 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6821 (gst_base_sink_init), (gst_base_sink_set_sync),
6822 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6823 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6824 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6825 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6826 (gst_base_sink_get_property), (gst_base_sink_change_state):
6827 * libs/gst/base/gstbasesink.h:
6828 Add async property to instruct the sink never to inform the parent about
6829 ASYNC state changes, update docs.
6830 Check argument with g_return_* for the public functions.
6831 API: GstBaseSink::async property
6832 API: gst_base_sink_set_async_enabled()
6833 API: gst_base_sink_is_async_enabled()
6835 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6837 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6840 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6841 (gst_base_src_default_query), (gst_base_src_wait),
6842 (gst_base_src_do_sync), (gst_base_src_change_state):
6843 Rearrange some code so that we can add support for measuring the
6846 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6848 * docs/random/ensonic/dynlink.txt:
6849 More thoughs on this.
6851 * plugins/elements/gstcapsfilter.c:
6852 Add bugzilla ticket number to FIXME comment.
6854 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6856 * docs/design/part-TODO.txt:
6857 * docs/design/part-block.txt:
6860 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6863 Revert patch which uses $(gst_headers) instead of $^ because it
6866 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6868 * tests/check/gst/gstbin.c: (GST_START_TEST):
6869 Fix leaks in the new unit test.
6871 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6874 Don't use GST_INFO before the debug system is actually initialised
6875 (shouldn't do any harm, but won't print anything either, so we can
6876 just as well remove it).
6879 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6880 compilers that don't support variadic macros (such as MSVC), should
6881 check for debug_level <= __gst_debug_min as well, since that's the
6882 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6883 inline helper functions. Should improve performance a bit, but also
6884 makes sure uses of GST_INFO et.al are ignored if the debugging
6885 system isn't initialised yet (instead of printing an assertion
6888 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6890 patch by: David Nečas <yeti@physics.muni.cz>
6893 Replace some non portable makefile constructs.
6895 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6897 * common/gtk-doc-plugins.mak:
6898 Grrrrr. Don't remove the types file on make clean.
6900 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6902 * tools/gst-launch.1.in:
6903 Add colorspace to example pipeline. Fixes #458274.
6905 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6907 * docs/random/release:
6908 The release manager should run 'make download-po' before making a
6909 release to make sure translations are up-to-date.
6915 Add some new translations.
6917 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6919 * tools/gst-launch.c: (event_loop), (main):
6920 Don´t try to do any state management when a live pipeline posts
6922 Also make the buffering string translatable.
6924 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6926 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6927 (bin_handle_async_start), (gst_bin_handle_message_func):
6929 When adding elements, insert messages into the bus of the newly added
6930 element and make sure the element is the source of the message. This
6931 allows the parent bin to intercept the message and do the
6932 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6933 messages to the app (which is not allowed).
6936 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6937 Fix testsuite so that is does not work around messages that should not
6938 have been posted in the first place.
6940 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6942 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6943 (update_degree), (gst_bin_sort_iterator_next):
6944 Fix annoying bug in the sorted iterator where a sink that is not really
6945 a sink (when it has downstream links) screwed up the iterator.
6947 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6948 Unit test to verify the fix.
6950 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6953 Add some more docs for the messages.
6955 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6956 (gst_base_sink_query):
6957 Add some more debugging.
6959 * tools/gst-launch.c: (event_loop):
6960 When interrupting, don't try to set pipeline to PAUSED twice.
6962 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6965 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6966 (bin_handle_async_start), (gst_bin_handle_message_func):
6967 Move ASYNC_START message posting to where it belongs, similar to
6969 Don't post ASYNC_START when we are in error.
6970 Post ASYNC_START when we added an async element to a bin.
6972 2007-08-14 Julien MOUTTE <julien@moutte.net>
6974 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6975 generation from vargs. Fixes #466595.
6977 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6979 * gst/gstbin.c: (gst_bin_element_set_state):
6980 Always change the state of a NO_PREROLL element even if it has ASYNC
6981 elements inside (in case of a bin).
6983 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6984 Unit test for this case.
6986 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6988 * libs/gst/check/gstbufferstraw.c:
6989 * libs/gst/check/gstcheck.h:
6990 * libs/gst/controller/gstcontroller.c:
6991 * libs/gst/controller/gstcontrolsource.h:
6992 * libs/gst/controller/gstlfocontrolsource.h:
6993 * plugins/elements/gstcapsfilter.h:
6994 * plugins/elements/gstfdsink.h:
6995 * plugins/elements/gstfdsrc.h:
6996 Add more missing docs.
6998 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7000 * gst/gststructure.c:
7001 Add Since tag to docs.
7003 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7005 * docs/gst/gstreamer-sections.txt:
7006 * gst/gststructure.c: (gst_structure_get_uint):
7007 * gst/gststructure.h:
7008 Add function to get uint from a structure.
7009 API: gst_structure_get_uint()
7011 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7013 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7014 (gst_caps_intersect):
7015 Fix proper check for simple caps.
7017 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7019 * docs/gst/Makefile.am:
7020 * docs/libs/Makefile.am:
7021 Remove cruft and do some cleanups.
7023 * docs/gst/gstreamer-docs.sgml:
7024 * docs/libs/gstreamer-libs-docs.sgml:
7025 Prepare for comming gtkdoc features (rebase against online docs).
7027 2007-08-10 Michael Smith <msmith@fluendo.com>
7029 * docs/gst/gstreamer-sections.txt:
7030 Add gst_registry_add_path to docs.
7032 2007-08-10 Michael Smith <msmith@fluendo.com>
7034 * gst/gstregistry.h:
7035 Add gst_registry_add_path, which was missing from this header.
7037 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7039 * libs/gst/controller/gstlfocontrolsource.c:
7042 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7044 * libs/gst/base/gstbasesink.c:
7045 Don't send an async_start message during downwards state change if
7046 target state is less than READY
7048 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7050 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7054 Added Hungarian translation.
7056 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7063 Updated translations.
7065 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7067 * libs/gst/controller/Makefile.am:
7068 Dist gstlfocontrolsourceprivate.h
7070 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7072 * docs/libs/gstreamer-libs.types:
7073 Don't register the enum type gst_lfo_waveform_get_type() in the
7074 .types file - only GObject derived types belong.
7076 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7078 Patch by: <arenevier at fdn dot fr>
7081 Remove comma from last element in enum to avoid compile errors when
7082 using -pendantic. Fixes #464366.
7084 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7086 * docs/design/part-TODO.txt:
7087 Add some more TODO items
7089 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7092 * gst/gstcaps.c: (gst_caps_intersect):
7093 Optimize trivial intersection case between identical caps pointers.
7095 * gst/gstelement.c: (gst_element_continue_state),
7096 (gst_element_set_state_func):
7098 Fix spelling and grammar mistakes.
7100 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7104 Update POTFILES. Fixes #461599.
7106 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7109 Fix confusing typo in debug output.
7111 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7113 reviewed by: Stefan Kost <ensonic@users.sf.net>
7115 * libs/gst/controller/Makefile.am:
7116 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7117 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7118 (gst_lfo_control_source_new),
7119 (gst_lfo_control_source_set_waveform),
7120 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7121 (gst_lfo_control_source_finalize),
7122 (gst_lfo_control_source_dispose),
7123 (gst_lfo_control_source_set_property),
7124 (gst_lfo_control_source_get_property),
7125 (gst_lfo_control_source_class_init):
7126 * libs/gst/controller/gstlfocontrolsource.h:
7127 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7128 API: Add GstLFOControlSource, a control source that gives values
7129 for specific timestamps based on several periodic waveforms.
7132 * tests/check/libs/controller.c: (GST_START_TEST),
7133 (gst_controller_suite):
7134 * docs/libs/gstreamer-libs-docs.sgml:
7135 * docs/libs/gstreamer-libs-sections.txt:
7136 * docs/libs/gstreamer-libs.types:
7137 Add documentation and unit tests for GstLFOControlSource.
7139 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7144 === release 0.10.14 ===
7146 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7149 releasing 0.10.14, "Breathing Vacuum"
7151 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7153 * gst/gstelement.c: (gst_element_class_set_details_simple):
7155 Make strings passed to gst_element_class_set_details_simple()
7156 constant, as they should be (#462752).
7158 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7160 * gst/gstbin.c: (gst_bin_change_state_func),
7161 (bin_handle_async_done), (gst_bin_handle_message_func):
7162 Don't forget about the fact that some element went ASYNC even after a
7163 resync. This makes us post the ASYNC_DONE message correctly.
7166 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7168 * gst/gstregistry.c: (gst_registry_add_feature):
7169 When replacing an existing feature in the registry, make sure to
7170 continue holding a reference until we've replaced the name string
7171 within our feature hash table. Make sure to use g_hash_table_replace
7172 instead of g_hash_table_insert to ensure the new name string is used
7173 as a key instead of the old one that we're about to free.
7176 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7178 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7179 (gst_plugin_feature_set_name):
7180 Revert patch from #459466 until after the release and we can work
7181 out exactly what the problem is (if any).
7183 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7185 * docs/gst/gstreamer-sections.txt:
7188 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7190 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7192 * docs/libs/Makefile.am:
7193 Include our build-prefix libs and includes before the generic ones to
7194 avoid linking against the installed libs when we want the build-tree
7197 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7199 Patch by: Steve Fink <sphink gmail com>
7201 * docs/pwg/building-testapp.xml:
7202 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7203 if people try to build or install the example from the plugin
7204 template against a GStreamer from package using the configure
7207 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7209 Patch by: Steve Fink <sphink gmail com>
7211 * tools/gst-inspect.1.in:
7212 Document --print-all and --print-plugin-auto-install-info command
7213 line options in man page.
7215 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7217 * docs/gst/gstreamer-sections.txt:
7218 Add docs for new api function.
7220 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7222 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7223 * gst/gstelementfactory.h:
7224 API: gst_element_factory_has_interface()
7225 Added method to check if an element factory implements a named
7228 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7231 * docs/gst/gstreamer.types.in:
7232 Another conditional doc check.
7235 * gst/gstparamspecs.h:
7236 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7241 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7243 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7244 (gst_registry_binary_load_feature),
7245 (gst_registry_binary_load_plugin),
7246 (gst_registry_binary_read_cache):
7247 Print error just once and with additional info.
7249 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7251 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7252 (helper_find_suggest), (helper_find_get_length),
7253 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7254 (gst_type_find_helper_for_buffer):
7255 Cleanup the typefindhelper code and add private doc comments.
7257 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7259 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7260 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7261 Fix capsfilter for cases where the caps set on capsfilter will provide
7262 additional information.
7265 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7267 * gst/gsttypefindfactory.c:
7268 Fix docs that recommened wrong function to use.
7270 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7272 * tools/gst-inspect.c: (print_plugin_features):
7273 Also give media-type for typefinders in element output.
7275 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7277 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7278 (gst_registry_remove_features_for_plugin_unlocked),
7279 (gst_registry_add_feature), (gst_registry_remove_feature),
7280 (gst_registry_lookup_feature_locked):
7281 * gst/gstregistry.h:
7282 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7285 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7287 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7288 (gst_plugin_feature_set_name):
7289 Avoid double memory usage for pluginfeature names. Fixes #459466.
7291 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7294 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7295 driving the pipeline may need to explicitly check for NOT_LINKED as
7296 well, since IS_FATAL doesn't cover that.
7298 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7300 * docs/pwg/advanced-types.xml:
7301 Fix typo and duplicate entry in video formats list.
7303 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7305 * libs/gst/controller/gstinterpolation.c:
7306 Also round to the nearest int when using cubic interpolation.
7308 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7310 * libs/gst/controller/gstinterpolation.c:
7311 When linearly interpolating integer types, round to the nearest int
7312 by adding 0.5. Don't do it for float/double types.
7313 Fixes the failing controller test on my machine, which is somehow
7314 rounding differently than on the buildbots.
7316 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7318 * tools/gst-plot-timeline.py:
7319 Better log parsing (categories can have -). Adjust text vs. lines, so
7320 that they span the same y-range.
7322 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7324 * docs/random/ensonic/audiobaseclasses.txt:
7325 * docs/random/ensonic/dynlink.txt:
7326 * docs/random/ensonic/profiling.txt:
7329 * docs/random/moving-plugins:
7330 Add note to use g_assert type macros.
7332 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7335 * libs/gst/check/Makefile.am:
7336 Add libm check as we use in for plugins.
7338 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7340 * gst/gstbin.c: (gst_bin_continue_func):
7341 Check that the state_cookie hasn't changed since the continue_func
7342 was scheduled. Avoids problems where the state changes back to
7343 something it shouldn't be because it was changed in the meantime.
7345 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7347 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7348 (gst_registry_binary_save_string),
7349 (gst_registry_binary_save_pad_template),
7350 (gst_registry_binary_save_feature),
7351 (gst_registry_binary_save_plugin),
7352 (gst_registry_binary_load_feature),
7353 (gst_registry_binary_load_plugin),
7354 (gst_registry_binary_read_cache):
7355 Fix memory leak. Be less verbose in the log.
7357 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7359 * tests/check/elements/.cvsignore:
7360 Add file to cvsignore as commanded.
7362 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7364 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7365 (mq_dummypad_event), (run_output_order_test):
7366 Use a GStaticMutex to protect all cases where libcheck
7367 fail_if/fail_unless macros might be called from multiple threads
7368 simultaneously to avoid errors like:
7369 "check_pack.c:107: :-1081725400:Bad message type arg"
7371 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7373 * tests/check/pipelines/stress.c: (GST_START_TEST):
7374 Make sure we set the pipeline back to the NULL state before
7375 dropping our final reference.
7377 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7379 * tests/check/elements/tee.c: (GST_START_TEST):
7380 Make the tee stress-test a little less stressful so it doesn't just
7381 time out on slow-machines, and remove a small race when it's starting
7382 up by adding a get_state() call.
7384 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7387 Avoid reading registry twice on startup. Fixes #457322.
7389 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7391 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7392 * pkgconfig/gstreamer-check.pc.in:
7393 Substitute the CFLAGS for libcheck into our .pc file too so that
7394 dependent modules will pick it up properly if libcheck is installed
7395 into some other prefix.
7397 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7400 Revert the pkg-config check for libcheck, since it pulls in the
7401 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7402 a proper solution, either from the check project, or something else.
7404 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7407 Use pkg-config to locate check.
7409 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7416 Add deprecation guards.
7418 * libs/gst/base/gstcollectpads.h:
7419 Don't document object (this is implicitly private).
7421 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7423 * gst/gststructure.c: (gst_structure_parse_value):
7424 When deserialising foo=bar without a type cast, check if it's a
7425 boolean before falling back to a string type, otherwise things like
7426 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7427 because the filtercaps end up having a signed=(string)true field,
7428 which causes problems later when intersection caps.
7430 * tests/check/gst/gststructure.c: (GST_START_TEST):
7431 Add a unit test for this.
7433 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7435 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7437 * libs/gst/controller/Makefile.am:
7438 * libs/gst/controller/gstcontroller.c:
7439 (gst_controlled_property_add_interpolation_control_source),
7440 (gst_controlled_property_new), (gst_controlled_property_free),
7441 (gst_controller_find_controlled_property),
7442 (gst_controller_new_valist), (gst_controller_new_list),
7443 (gst_controller_new), (gst_controller_remove_properties_valist),
7444 (gst_controller_remove_properties_list),
7445 (gst_controller_remove_properties),
7446 (gst_controller_set_property_disabled),
7447 (gst_controller_set_disabled), (gst_controller_set_control_source),
7448 (gst_controller_get_control_source), (gst_controller_get),
7449 (gst_controller_sync_values), (gst_controller_get_value_array),
7450 (_gst_controller_dispose), (gst_controller_get_type),
7451 (gst_controlled_property_set_interpolation_mode),
7452 (gst_controller_set), (gst_controller_set_from_list),
7453 (gst_controller_unset), (gst_controller_unset_all),
7454 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7455 * libs/gst/controller/gstcontroller.h:
7456 * libs/gst/controller/gstcontrollerprivate.h:
7457 * libs/gst/controller/gstcontrolsource.c:
7458 (gst_control_source_class_init), (gst_control_source_init),
7459 (gst_control_source_get_value),
7460 (gst_control_source_get_value_array), (gst_control_source_bind):
7461 * libs/gst/controller/gstcontrolsource.h:
7462 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7463 (gst_object_get_control_source):
7464 * libs/gst/controller/gstinterpolation.c:
7465 (gst_interpolation_control_source_find_control_point_node),
7466 (gst_interpolation_control_source_get_first_value),
7467 (_interpolate_none_get), (interpolate_none_get),
7468 (interpolate_none_get_boolean_value_array),
7469 (interpolate_none_get_enum_value_array),
7470 (interpolate_none_get_string_value_array),
7471 (_interpolate_trigger_get), (interpolate_trigger_get),
7472 (interpolate_trigger_get_boolean_value_array),
7473 (interpolate_trigger_get_enum_value_array),
7474 (interpolate_trigger_get_string_value_array):
7475 * libs/gst/controller/gstinterpolationcontrolsource.c:
7476 (gst_control_point_free), (gst_interpolation_control_source_reset),
7477 (gst_interpolation_control_source_new),
7478 (gst_interpolation_control_source_set_interpolation_mode),
7479 (gst_interpolation_control_source_bind),
7480 (gst_control_point_compare), (gst_control_point_find),
7481 (gst_interpolation_control_source_set_internal),
7482 (gst_interpolation_control_source_set),
7483 (gst_interpolation_control_source_set_from_list),
7484 (gst_interpolation_control_source_unset),
7485 (gst_interpolation_control_source_unset_all),
7486 (gst_interpolation_control_source_get_all),
7487 (gst_interpolation_control_source_get_count),
7488 (gst_interpolation_control_source_init),
7489 (gst_interpolation_control_source_finalize),
7490 (gst_interpolation_control_source_dispose),
7491 (gst_interpolation_control_source_class_init):
7492 * libs/gst/controller/gstinterpolationcontrolsource.h:
7493 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7494 API: Refactor GstController into the core controller which can take
7495 a GstControlSource for providing actual values for timestamps.
7496 Implement a interpolation control source and use this for backward
7497 compatibility, deprecate a bunch of functions that are now handled
7498 by GstControlSource or GstInterpolationControlSource.
7499 Make it possible to disable the controller completely or only for
7500 specific properties. Fixes #450711.
7501 * docs/libs/gstreamer-libs-docs.sgml:
7502 * docs/libs/gstreamer-libs-sections.txt:
7503 * docs/libs/gstreamer-libs.types:
7504 Add new functions and classes to the docs.
7505 * tests/check/libs/controller.c: (GST_START_TEST),
7506 (gst_controller_suite):
7507 * tests/examples/controller/audio-example.c: (main):
7508 Port unit test and example to the new API and add some new
7511 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7513 Patch by: Mark Nauwelaerts <manauw at skynet be>
7515 * plugins/elements/gstmultiqueue.c:
7516 (gst_multi_queue_get_internal_links), (apply_buffer),
7517 (single_queue_overrun_cb), (gst_single_queue_new):
7518 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7519 the pipeline layout can be tracked correctly. Fixes #453732.
7521 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7523 * docs/gst/Makefile.am:
7524 * docs/libs/Makefile.am:
7525 * docs/plugins/Makefile.am:
7526 Simplify --extra-dir as gtkdoc scans recursively.
7528 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7530 * tools/gst-launch.c: (main):
7531 When we got an error, there is no point in waiting for preroll when
7534 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7536 * plugins/elements/gsttee.c: (gst_tee_base_init),
7537 (gst_tee_request_new_pad), (gst_tee_release_pad),
7538 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7539 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7541 Be a lot smarter when deciding what srcpad to use for proxying
7542 the buffer_alloc. Also handle pad added/removed when doing so.
7544 Keep track of what pads we already pushed on in case we have pads
7545 added/removed while pushing. Fixes #374639
7547 * tests/check/Makefile.am:
7548 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7550 Added unit test for pad resync.
7552 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7556 Updated translations.
7558 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7560 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7564 Added new Finnish translation.
7566 2007-06-28 Wim Taymans <wim@fluendo.com>
7568 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7569 (single_queue_overrun_cb):
7570 When figuring out when a queue is filled, use our internal time estimate
7571 based on segments, just like check_full does.
7573 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7575 * gst/gstminiobject.c: (gst_mini_object_get_type):
7576 Remove 3 do-nothing methods.
7578 2007-06-27 Wim Taymans <wim@fluendo.com>
7580 Patch by: Tim Angus <tim at ngus dot net>
7582 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7583 (gst_capsfilter_set_property):
7584 Take a reference instead of a copy when setting "caps".
7585 Fix documentation to clarify this behaviour. Fixes #449414.
7587 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7589 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7590 * gst/gstplugin.c: (gst_plugin_init):
7591 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7592 * gst/gstquery.c: (gst_query_get_type):
7593 * gst/gstregistry.c: (gst_registry_init):
7594 * gst/gsturi.c: (gst_uri_handler_base_init):
7595 Remove empty instance_init() functions to save relocs and lessen the
7596 noise. Remove some of the function prototypes that are doubled by
7599 2007-06-27 Wim Taymans <wim@fluendo.com>
7601 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7603 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7604 Add peer and direction in the XML serialisation of ghostpads.
7607 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7610 Preserve useful information, thanks Tim.
7612 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7614 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7615 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7616 (gst_single_queue_push_one), (gst_multi_queue_loop),
7617 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7618 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7619 (compute_high_id), (gst_single_queue_new):
7620 * plugins/elements/gstmultiqueue.h:
7621 Take the multiqueue lock when updating the fill level so we don't get
7624 After applying a buffer or event on the src pad segment, make sure to
7625 call gst_data_queue_limits_changed() to get the data queue to unblock
7626 and check the filled state again.
7628 Rework the not-linked pad handling so the logic is that not-linked
7629 pads can push as fast as they like, but only so they never get
7630 ahead of any linked pads.
7632 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7633 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7634 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7636 Add a test to check that not-linked pads always stay behind
7641 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7643 * docs/random/release:
7644 Some updates to the release procedure.
7646 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7648 * gst/gstelementfactory.c: (__gst_element_details_clear):
7649 Microoptimization that saves stunning 80 bytes.
7651 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7653 * docs/plugins/gstreamer-plugins.args:
7654 * docs/plugins/inspect/plugin-coreelements.xml:
7655 * docs/plugins/inspect/plugin-coreindexers.xml:
7656 Update docs with caps info.
7658 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7661 Updated Italian translation.
7663 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7667 Update Vietnamese translations.
7669 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7671 * libs/gst/base/gstbasesink.c:
7672 Remove unused signal enum.
7674 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7676 * docs/gst/gstreamer-sections.txt:
7678 * gst/gstutils.c: (gst_type_register_static_full):
7679 Beef up and include the docs for gst_type_register_static_full and
7680 gst_element_class_set_details_simple and add the API keyword
7683 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7685 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7686 (update_time_level), (gst_single_queue_push_one),
7687 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7688 (single_queue_overrun_cb), (single_queue_underrun_cb),
7689 (single_queue_check_full):
7690 Fix setting max-* properties after adding queues.
7691 Use IS_FILLED for checking visible items.
7692 Signal overrun if multiple queues overrun.
7693 Add extra debug output.
7694 Patch by: Wim Taymans <wim@fluendo.com>
7696 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7698 * gst/gstelement.c: (gst_element_class_set_details_simple):
7700 * gst/gstutils.c: (gst_type_register_static_full):
7702 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7703 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7704 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7705 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7706 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7707 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7708 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7709 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7710 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7711 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7712 (apply_buffer), (gst_queue_chain):
7713 * plugins/elements/gsttee.c: (gst_tee_base_init):
7714 * plugins/elements/gsttypefindelement.c:
7715 (gst_type_find_element_base_init),
7716 (gst_type_find_element_class_init):
7717 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7718 API: add gst_type_register_static_full
7719 API: add gst_element_class_set_details_simple
7721 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7723 * docs/pwg/advanced-types.xml:
7724 Fix typo in iana.org URI.
7726 2007-06-19 Andy Wingo <wingo@pobox.com>
7728 * tests/check/pipelines/simple-launch-lines.c
7729 (test_state_change_returns): Enable pull-mode tests now that
7730 basesink has been fixed.
7732 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7733 Changed from gst_base_sink_is_prerolled, reversing the sense of
7734 the return value. Returns FALSE also if the sink is in pull mode,
7735 in which case it needs no preroll.
7736 (gst_base_sink_query, gst_base_sink_change_state): Update for
7737 needs_preroll change.
7738 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7739 chaining up, in which we return SUCCESS directly if we activated
7740 in pull mode instead of ASYNC. Involves countering an async_start
7741 message sent before chaining up; not sure if this is correct, in
7742 an ideal world we only send async-start when activating in push
7745 * tests/check/pipelines/simple-launch-lines.c
7746 (test_state_change_returns): New test, partially disabled until
7749 2007-06-19 Wim Taymans <wim@fluendo.com>
7751 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7752 (gst_multi_queue_sink_event):
7755 2007-06-19 Wim Taymans <wim@fluendo.com>
7757 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7758 (gst_bin_change_state_func), (bin_push_state_continue),
7759 (bin_handle_async_start), (bin_handle_async_done),
7760 (gst_bin_handle_message_func):
7761 Move the common code for posting state-change messages into
7763 Broadcast the state signal after we posted the messages.
7764 Mark the bin as busy when it's doing a state-change.
7765 Make sure async-start/done messages don't interfere with the bin's
7766 state when it's busy.
7767 After the state change, let the bin check which elements completed the
7768 state change while it was busy so that it can update its state.
7770 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7772 * docs/random/release:
7773 Add a note about updating the doap file to the release checklist
7775 2007-06-18 Wim Taymans <wim@fluendo.com>
7777 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7778 (gst_single_queue_push_one), (gst_multi_queue_chain),
7779 (gst_multi_queue_sink_event):
7780 Make sure we don't reference the buffer/event after we have given away
7781 ownership in the queue.
7783 2007-06-18 Wim Taymans <wim@fluendo.com>
7785 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7786 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7787 Update queue state _after_ adding the item in the queue because else we
7788 could end up being full without the element added yet.
7790 2007-06-18 Wim Taymans <wim@fluendo.com>
7792 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7793 (gst_bin_remove_func), (gst_bin_get_state_func),
7794 (gst_bin_element_set_state), (gst_bin_continue_func),
7795 (bin_push_state_continue), (bin_handle_async_start),
7796 (bin_handle_async_done), (gst_bin_handle_message_func):
7798 Immediatly commit the toplevel bin state when receiving an async-done
7799 message. This enables us to avoid spawning a thread to commit the state
7800 in some common cases and it also avoids some races.
7801 Avoid spawning a state thread when adding/removing async elements to a
7802 toplevel bin. Instead we immediatly update the bin state.
7803 Get rid of iterating all the children when getting the state in the bin
7804 because it is now always up-to-date.
7805 Fix bug where locked elements would always return _SUCCESS even it they
7806 returned NO_PREROLL before being locked.
7807 Fix the order of the state_change, async-start/done messages that was
7808 sometimes incorrect.
7809 Mark the state_dirty field as deprecated, we don't need it anymore as we
7810 are always up-to-date.
7812 * gst/gstelement.c: (gst_element_get_state_func),
7813 (gst_element_continue_state):
7814 Small debug inprovements.
7815 Return the previous element state return when nothing is pending instead
7816 of blindly returning SUCCESS.
7818 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7820 Add a whole bunch of new testcases.
7822 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7826 Update translations.
7828 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7831 Fix typo in the docs.
7833 2007-06-15 Wim Taymans <wim@fluendo.com>
7835 * docs/libs/gstreamer-libs-sections.txt:
7836 Add docs for new methods.
7838 2007-06-15 Wim Taymans <wim@fluendo.com>
7840 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7841 (gst_multi_queue_item_new):
7842 Don't use GSlice because we don't depend on >= 2.10 yet.
7844 2007-06-15 Wim Taymans <wim@fluendo.com>
7846 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7847 (update_time_level), (apply_segment), (apply_buffer),
7848 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7849 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7850 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7851 (single_queue_underrun_cb), (single_queue_check_full):
7852 Remove debug printf.
7854 2007-06-15 Wim Taymans <wim@fluendo.com>
7856 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7857 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7858 (gst_data_queue_set_flushing), (gst_data_queue_push),
7859 (gst_data_queue_pop), (gst_data_queue_drop_head),
7860 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7861 * libs/gst/base/gstdataqueue.h:
7863 Added methods to get the current levels and to inform the queue that the
7864 'full' limits changed.
7866 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7867 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7868 (gst_single_queue_flush), (update_time_level), (apply_segment),
7869 (apply_buffer), (gst_single_queue_push_one),
7870 (gst_multi_queue_item_steal_object),
7871 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7872 (gst_multi_queue_loop), (gst_multi_queue_chain),
7873 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7874 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7875 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7876 (single_queue_underrun_cb), (single_queue_check_full),
7877 (gst_single_queue_new):
7878 Keep track of time in the queue by measuring the difference between
7879 running_time on input and output. This gives more accurate results and
7880 can compensate for segments correctly.
7881 Make a queue by default only 5 buffers deep. We will now increase the
7882 buffer size depending on the filledness of the other queues.
7883 Factor out commong flush code.
7884 Make sure we don't add additional refcounts to buffers when we can avoid
7886 Propagate GstFlowReturn differently.
7887 Use GSlice for intermediate GstMultiQueueItems.
7889 Resize queues on over and underruns based on filled level of other
7891 When checking if the queue is filled, prefer to measure in time if we
7892 can and fall back to bytes when no time is known.
7894 * plugins/elements/gstqueue.c:
7897 2007-06-15 Wim Taymans <wim@fluendo.com>
7899 * libs/gst/base/gstbasetransform.c:
7900 (gst_base_transform_sink_event):
7901 Work around the brokenness of the event vmethod in basetransform. Prefer
7902 to return TRUE when the subclass returned FALSE (meaning don't forward
7905 * libs/gst/base/gstbasetransform.h:
7908 2007-06-15 Wim Taymans <wim@fluendo.com>
7910 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7911 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7912 (gst_base_src_default_query), (gst_base_src_get_range),
7913 (gst_base_src_start):
7914 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7917 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7919 * docs/pwg/advanced-types.xml:
7920 Added more formats to caps table.
7922 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7924 * tools/gst-launch.c: (main):
7925 Remove crufy code. GOption does not need this workaround.
7927 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7929 * libs/gst/controller/gstcontroller.c:
7930 (gst_controlled_property_set_interpolation_mode):
7931 Fix wrong getter for enums in controller.
7933 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7935 * libs/gst/check/gstcheck.c: (gst_check_init):
7936 Intercept criticals and warnings in the Gst-Phonon log domain, so
7937 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7940 2007-06-14 Edward Hervey <edward@fluendo.com>
7942 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7943 Since this file doesn't include "gst.h" it will not go through the
7944 macros that disable GST_LOG if debugging was disabled.
7946 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7948 * libs/gst/check/Makefile.am:
7949 * libs/gst/check/gstcheck.h:
7950 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7951 * pkgconfig/gstreamer-check.pc.in:
7952 Ugly 'fix' for the controller unit test on the p5 bot: in
7953 fail_unless_equals_float() check whether the values are 'almost
7954 equal' by allowing a small absolute error, which should be good
7955 enough for our use cases (normal numbers and values close to 0).
7956 Proper fixage left to floating point arithmetic aficionados.
7958 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7960 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7961 (gst_base_sink_render_object), (gst_base_sink_get_position):
7962 Add two breaks thats where missing.
7964 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7966 * docs/libs/gstreamer-libs-sections.txt:
7967 * libs/gst/check/gstcheck.h:
7968 API: add fail_unless_equals_float() and assert_equals_float().
7969 Add documentation for some of the macros.
7971 * tests/check/libs/controller.c: (GST_START_TEST):
7972 Use newly-added asserts.
7974 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7976 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7977 Show the caps change in the log to help spotting the case of not
7978 exactly matching caps.
7980 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7982 * docs/pwg/building-boiler.xml:
7983 Fix typos, spotted by Thijs Vermeir (#447190).
7985 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7987 * docs/plugins/tmpl/.cvsignore:
7988 Ignore file to keep the buildbots happy
7990 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7992 * docs/plugins/Makefile.am:
7993 * docs/plugins/gstreamer-plugins-docs.sgml:
7994 * docs/plugins/gstreamer-plugins-sections.txt:
7995 Pull fdsink into the docs too.
7997 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7999 * libs/gst/controller/gstinterpolation.c:
8000 Actually use the new functions with min/max checks for the trigger and
8001 none interpolation modes for get() and get_value_array() instead of
8004 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8006 * libs/gst/controller/gstcontroller.c:
8007 (gst_controlled_property_free):
8008 Unset the minimum and maximum GValues when freeing the corresponding
8009 GstControllerProperty struct.
8011 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8013 * libs/gst/controller/gstcontroller.c:
8014 (gst_controlled_property_new):
8015 * libs/gst/controller/gstcontrollerprivate.h:
8016 * libs/gst/controller/gstinterpolation.c:
8017 (gst_controlled_property_find_control_point_node),
8018 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8019 (interpolate_none_get_string_value_array),
8020 (interpolate_trigger_get),
8021 (interpolate_trigger_get_enum_value_array),
8022 (interpolate_trigger_get_string_value_array):
8023 Protect against values larger or smaller than the minimum or maximum
8024 allowed value for the property when using values that can be compared.
8026 Optimize trigger interpolator a bit by taking the last requested value
8027 into account instead of always looping through the complete list.
8029 Fix coding style a bit, everywhere else we use "return foo" instead
8032 * tests/check/libs/controller.c: (GST_START_TEST),
8033 (gst_controller_suite):
8034 Add unit test for the protection against too large or too small
8037 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8039 * docs/random/slomo/controller.txt:
8040 Add some thoughts about the future of the controller.
8042 2007-06-08 Wim Taymans <wim@fluendo.com>
8044 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8045 Don't overflow in retimestamping code.
8047 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8049 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8050 Use gst_util_guint64_to_gdouble for conversions.
8051 * win32/common/libgstreamer.def:
8052 Add new exported functions.
8054 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8057 Small docs addition.
8059 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8062 Remove that test line again.
8064 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8067 Test commit mail sending.
8069 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8072 Fix typo and test commit mail sending.
8074 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8076 * tests/examples/controller/audio-example.c:
8077 Improve comment and test commit mail sending.
8079 2007-06-07 Wim Taymans <wim@fluendo.com>
8081 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8082 (gst_bin_remove_func), (gst_bin_element_set_state),
8083 (bin_handle_async_start), (bin_handle_async_done),
8084 (gst_bin_handle_message_func):
8085 Add helper function to find messages.
8086 Generate the async-done messages together with the state change
8088 Small cleanups in handling toplevel bins.
8090 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8092 * libs/gst/base/gstdataqueue.c:
8093 * libs/gst/base/gstdataqueue.h:
8094 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8095 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8096 (gst_multi_queue_sink_event):
8097 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8098 Fix multiqueue leaking buffers and events when downstream or the
8099 queue are flushing. Make refcounting assumptions explicit and
8100 document them (shouldn't break existing code that uses it other than
8101 maybe leak miniobjects, but that already happens anyway). Add unit
8102 test for the most common flushing case. Fixes #423700.
8104 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8106 * libs/gst/controller/gstcontroller.c:
8107 Clarify docs: The get_all, get_value_array(s) functions
8108 don't modify the GObject properties.
8110 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8112 * libs/gst/controller/gstcontroller.c:
8113 (gst_controlled_property_set_interpolation_mode),
8114 (gst_controlled_property_prepend_default),
8115 (gst_controlled_property_new), (gst_controller_set_unlocked),
8116 (gst_controller_set), (gst_controller_set_from_list),
8117 (gst_controller_unset), (gst_controller_unset_all):
8118 * libs/gst/controller/gstcontrollerprivate.h:
8119 * libs/gst/controller/gstinterpolation.c:
8120 Factor out the 'set' logic into gst_controller_set_unlocked for the
8121 gst_controller_set and gst_controller_set_from_list functions.
8123 To make life of the interpolators easier always add a control point
8124 at timestamp zero with the default value.
8126 In the linear interpolator make things more obvious by better variable
8129 Implement cubic interpolation mode (by using a natural cubic spline)
8130 and map the quadratic interpolation mode to this too (as quadratic
8131 doesn't make much sense, see discussion on the list).
8133 * tests/check/libs/controller.c: (GST_START_TEST),
8134 (gst_controller_suite):
8135 Add unit test for the cubic interpolation mode and check everywhere
8136 if the interpolation mode could be set as expected.
8138 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8140 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8141 Don't use GLib-2.10 functions, we still depend on
8142 GLib-how-old-is-it-again-2.8.
8144 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8146 * docs/gst/gstreamer-sections.txt:
8150 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8151 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8152 (_gst_param_fraction_values_cmp),
8153 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8154 * gst/gstparamspecs.h:
8156 * tests/check/Makefile.am:
8157 * tests/check/gst/.cvsignore:
8158 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8159 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8160 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8161 (GST_START_TEST), (gst_param_spec_suite):
8162 API: add GstParamSpecFraction, so elements can have fraction
8163 properties without lots of painful string parsing (#444648).
8165 2007-06-05 Wim Taymans <wim@fluendo.com>
8167 * gst/gstobject.c: (gst_object_class_init):
8168 Fix signal signature.
8171 Add small clarification in the api docs.
8173 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8174 States are protected with object lock.
8176 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8179 I should probably be listed as an author by now.
8181 * docs/random/release:
8182 Update the release doc
8184 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8187 Make docs for gst_value_compare() mention return enums that
8190 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8195 === release 0.10.13 ===
8197 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8200 releasing 0.10.13, "With or without you"
8202 2007-05-25 Wim Taymans <wim@fluendo.com>
8204 * gst/gstbin.c: (bin_handle_async_done):
8205 Make sure that the child bin stops after completing the async state
8206 change so that the parent can continue the state change to PLAYING.
8209 2007-05-25 Wim Taymans <wim@fluendo.com>
8211 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8212 (unref_data), (gst_collect_pads_remove_pad),
8213 (gst_collect_pads_check_pads):
8214 Use additional refcounting to avoid crashes when dynamically adding and
8215 removing pads. Fixes #420206.
8217 2007-05-24 Wim Taymans <wim@fluendo.com>
8219 * tools/gst-launch.c: (event_loop):
8220 When buffering goes from a two digit to a single digit number, make sure
8221 to remove the old second digit by writing a blank over it.
8223 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8225 * libs/gst/base/gstdataqueue.c:
8226 Eliminate tabs and trailing comma in enum list; fix some typos.
8228 2007-05-24 Wim Taymans <wim@fluendo.com>
8230 * tests/check/gst/gstbin.c: (GST_START_TEST):
8231 Allow refcount of 3 and 4 because some state thread might still be busy
8234 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8236 * plugins/elements/Makefile.am:
8237 * plugins/elements/gstmultiqueue.h:
8238 * plugins/elements/gstqueue.h:
8239 These are not installed headers, no need for padding.
8241 2007-05-24 Wim Taymans <wim@fluendo.com>
8243 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8244 (gst_bin_continue_func):
8245 Enable latency for next release.
8246 Restore STATE_LOCK around recalc_state that was left out during the
8247 rewrite and could result in racy behaviour when _get_state and
8248 recalc_state are run concurrently. See #440463.
8250 2007-05-23 Wim Taymans <wim@fluendo.com>
8252 * tests/check/gst/gstsystemclock.c: (store_callback),
8254 Improve test_async_order to also work when both timers are already
8255 expired when we get scheduled to check it.
8257 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8259 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8260 (gst_bin_set_property), (gst_bin_get_property),
8261 (gst_bin_remove_func), (gst_bin_handle_message_func):
8263 'private' is a c++ keyword, let's not use that in header files,
8264 otherwise c++ compilers will throw a tantrum.
8266 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8268 * plugins/elements/gstelements.c:
8269 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8270 (gst_file_sink_get_current_offset):
8271 * plugins/indexers/gstindexers.c: (plugin_init):
8272 Use #ifdef for HAVE_XYZ for consistency.
8274 * tests/check/Makefile.am:
8275 * tests/check/elements/.cvsignore:
8276 * tests/check/elements/filesink.c: (setup_filesink),
8277 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8278 Add some unit tests for filesink.
8280 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8282 Patch by: Mark Nauwelaerts <manauw at skynet be>
8284 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8285 (gst_file_sink_query), (gst_file_sink_do_seek),
8286 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8287 * plugins/elements/gstfilesink.h:
8288 Fix position reporting; rename data_written member to current_pos to
8289 reflect its real meaning (fixes #412648).
8291 2007-05-22 Edward Hervey <edward@fluendo.com>
8293 * docs/gst/gstreamer-sections.txt:
8294 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8295 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8296 (gst_bin_remove_func), (gst_bin_handle_message_func):
8298 Add a property for bins that handle the state change of their childs.
8301 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8303 * libs/gst/controller/gstinterpolation.c:
8304 Use an array of the correct type when using _get_value_array with
8305 linear interpolation.
8307 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8309 * gst/gstelement.c (gst_element_requires_clock,
8310 gst_element_provides_clock, gst_element_request_pad,
8311 gst_element_class_set_details, gst_element_class_set_details_simple,
8312 gst_element_default_send_event, gst_element_abort_state,
8313 gst_element_continue_state, gst_element_set_state,
8314 gst_element_set_state_func, iterator_activate_fold_with_resync):
8315 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8316 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8317 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8318 gst_pad_get_range, gst_pad_pull_range):
8319 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8320 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8321 GstPadActivateModeFunction, GstPadChainFunction,
8322 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8323 GstPadFixateCapsFunction, GstPadTemplate):
8324 * gst/gstpipeline.c (gst_pipeline_change_state,
8325 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8326 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8327 gst_pipeline_get_delay):
8328 Whitespace and docs fixes.
8330 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8332 * libs/gst/controller/gstinterpolation.c:
8333 (interpolate_trigger_get_enum_value_array),
8334 (interpolate_trigger_get_string_value_array):
8335 Add support for retrieving value arrays when using the trigger
8338 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8340 * libs/gst/controller/gstcontroller.c:
8341 (gst_controller_get_value_array):
8342 * libs/gst/controller/gstcontroller.h:
8343 Clarify the docs of gst_controller_get_value_array(): The array where
8344 the values should be written to must be allocated as there seems to be
8345 no way to get the size of a random GType. This doesn't change any
8346 behaviour. Also fix some typos all over the place and remove an unused,
8347 commented function that is not necessary as g_object_set() could be
8349 * tests/check/libs/controller.c: (GST_START_TEST),
8350 (gst_controller_suite):
8351 Add unit test for gst_controller_get_value_array().
8353 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8355 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8357 Disable part of the gst_buffer_try_new_and_alloc test, because
8358 it can happily succeed on 64-bit systems where there's more address
8361 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8363 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8364 Add unit test for the improved caps checking from bug #421543.
8366 2007-05-21 Wim Taymans <wim@fluendo.com>
8368 * docs/design/part-synchronisation.txt:
8371 * gst/gstbin.c: (gst_bin_query):
8372 * plugins/elements/gstqueue.c: (apply_segment):
8378 2007-05-21 Wim Taymans <wim@fluendo.com>
8380 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8381 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8382 (gst_pad_configure_src):
8383 Added simple version of improved caps checking. It was previously
8384 assumed that a setcaps function would check the validity of the caps but
8385 people prefer us to check caps against the template automatically.
8388 2007-05-21 Wim Taymans <wim@fluendo.com>
8390 * libs/gst/base/gstbasetransform.h:
8391 Fix macro for locking/unlocking the transform lock.
8393 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8395 * docs/plugins/tmpl/.cvsignore:
8398 2007-05-18 Edward Hervey <edward@fluendo.com>
8400 * plugins/elements/gstqueue.c: (gst_queue_loop):
8401 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8402 for the subtle art of warning a potentially blocking thread that it
8403 should check the source pad return value, and relay the information
8406 2007-05-18 Edward Hervey <edward@fluendo.com>
8408 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8409 Release the queue lock !
8411 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8413 * docs/libs/gstreamer-libs-sections.txt:
8414 Add the two new controller functions to the appropiate places.
8416 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8418 reviewed by: Stefan Kost <ensonic@users.sf.net>
8420 * libs/gst/controller/gstcontroller.c:
8421 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8422 (_gst_controller_get_property), (_gst_controller_set_property),
8423 (_gst_controller_init), (_gst_controller_class_init):
8424 * libs/gst/controller/gstcontroller.h:
8425 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8426 (gst_object_get_control_rate), (gst_object_set_control_rate):
8427 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8428 Add API that provides sync suggestion timestamps for elements that
8429 call gst_object_sync_values() from which those elements can subdivide
8430 their processing loop to get the best results for the controlled
8431 properties. For now it just suggests last_sync + control_rate as
8432 new timestamp but this will be improved in the future.
8434 While doing that change the control-rate property to a GstClockTime
8435 from guint and change it's meaning from samples to nanoseconds as
8436 the GstController doesn't know anything about sampling rate. Strictly
8437 speaking this breaks ABI but as the control-rate property didn't do
8438 anything in the past and as such couldn't be used this should be no
8441 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8443 reviewed by: Stefan Kost <ensonic@users.sf.net>
8445 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8446 (gst_controller_unset_all):
8447 * libs/gst/controller/gstcontrollerprivate.h:
8448 * libs/gst/controller/gstinterpolation.c:
8449 (gst_controlled_property_find_control_point_node):
8450 Save last synced value from the list to continue searching from there
8451 in future syncs. This speeds everything up a bit.
8453 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8455 reviewed by: Stefan Kost <ensonic@users.sf.net>
8457 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8458 (gst_control_point_find), (gst_controlled_property_new),
8459 (gst_control_point_free), (gst_controlled_property_free),
8460 (gst_controller_set), (gst_controller_set_from_list),
8461 (gst_controller_unset), (gst_controller_unset_all),
8462 (gst_controller_sync_values):
8463 * libs/gst/controller/gstcontroller.h:
8464 * libs/gst/controller/gstcontrollerprivate.h:
8465 * libs/gst/controller/gstinterpolation.c:
8466 (gst_controlled_property_find_control_point_node),
8467 (interpolate_none_get), (interpolate_trigger_get):
8468 Add a new private GstControlPoint struct which "inherits" from
8469 GstTimedValue to allow different interpolators to store internal
8470 values next to each control point. From the outside everything is
8471 still a GstControlPoint so we don't loose binary compatibility.
8472 Also fixup all the GValue handling to not leak GValues or list nodes.
8473 * tests/check/libs/controller.c: (GST_START_TEST):
8474 Free the list nodes and GValues in the controller_misc test.
8476 2007-05-17 Edward Hervey <edward@fluendo.com>
8481 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8483 * gst/gstplugin.c: (gst_plugin_load_file):
8484 If we fail to load a plugin because of unresolved symbols or missing
8485 libraries and spew a warning to stderr, we may just as well mention
8486 which plugin it was that failed to load.
8488 2007-05-13 David Schleef <ds@schleef.org>
8490 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8491 handles the case when ENABLE_GTK_DOC is false, and installs
8492 the prebuilt documentation. So gtk-doc subdirs are
8493 unconditionally enabled. Fixes: #349099.
8495 2007-05-13 David Schleef <ds@schleef.org>
8497 * gst/gstutils.h: Reword some documentation.
8499 2007-05-12 David Schleef <ds@schleef.org>
8501 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8502 do anything with the passed "module" parameter, so remove it.
8503 Allows removal of additional vestigal code.
8505 2007-05-12 David Schleef <ds@schleef.org>
8508 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8509 Switch to using g_stat() because it's more portable.
8511 2007-05-12 David Schleef <ds@schleef.org>
8514 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8515 parsing for embedded systems.
8516 * gst/gstelementfactory.c:
8517 Allow gst_element_register() to be called with plugin==NULL.
8518 Did nobody notice that static elements were broken?
8520 2007-05-12 Wim Taymans <wim@fluendo.com>
8522 * tools/gst-launch.c: (event_loop):
8523 Give more interesting info when buffering starts and stops.
8524 Fix case where buffering starts but we fail to update the buffering flag
8525 because the target state is not PLAYING.
8527 2007-05-12 Wim Taymans <wim@fluendo.com>
8529 * plugins/elements/gstqueue.c: (gst_queue_init),
8530 (gst_queue_finalize), (update_time_level), (apply_segment),
8531 (apply_buffer), (gst_queue_locked_flush),
8532 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8533 (gst_queue_handle_sink_event), (gst_queue_chain),
8534 (gst_queue_push_one), (gst_queue_loop):
8535 * plugins/elements/gstqueue.h:
8536 Refactor an cleanup queue a bit.
8537 Do better time level calculations that also work when the srcpad is not
8539 Remove some unneeded debug lines.
8541 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8542 Added testcase for time level measurement.
8543 Try to make some stuff more racefree.
8545 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8547 * gst/gsturi.c: (gst_element_make_from_uri):
8548 Don't leak plugin feature.
8550 * tests/check/Makefile.am:
8551 * tests/check/gst/.cvsignore:
8552 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8553 Add brain-dead unit test.
8555 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8557 Patch by: Jeroen Wouters <woutersj at gmail com>
8559 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8560 Treat protocol strings in a case-insensitive way (#437563).
8562 2007-05-11 Michael Smith <msmith@fluendo.com>
8564 * gst/gstplugin.c: (gst_plugin_load_file):
8565 * gst/gstregistry.c: (gst_registry_scan_path_level):
8566 Don't print a g_warning for any failure to load a shared object.
8567 Instead, push this down into gstplugin.c, and warn _only_ if we
8568 failed to open the module (i.e. failure to link).
8569 Avoids warnings on normal, working, non-plugin .so files.
8571 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8573 * gst/gstplugin.c (gst_plugin_load_file):
8574 * gst/gstregistry.c (GST_CAT_DEFAULT,
8575 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8576 Print a g_warning if there was an error when loading a plugins during
8577 registry scan. The shuld help beginners starting with gst-plugin
8580 2007-05-10 Wim Taymans <wim@fluendo.com>
8582 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8583 (update_time_level), (gst_queue_locked_flush),
8584 (gst_queue_handle_sink_event), (gst_queue_chain),
8585 (gst_queue_push_one), (gst_queue_loop):
8586 * plugins/elements/gstqueue.h:
8587 Be smarter when calculating the current amount of data in the queue by
8588 measuring the difference between start and end timestamps (in running
8589 time) inside the queue. Fixes #432876.
8590 API: GstQueue::pushing to notify elements that we are pushing data again
8591 since the running signal is rather broken for this purpose.
8593 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8595 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8596 gst_queue_base_init, gst_queue_init):
8599 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8601 * win32/common/libgstreamer.def:
8602 Add new exported functions.
8603 * win32/vs6/grammar.dsp:
8604 Use grammar pre-generated files.
8606 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8608 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8611 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8613 * gst/gstutils.c: (gst_parse_bin_from_description):
8615 Maintain API and ABI when --disable-parse is used. Now that
8616 we have an appropriate error code, we can just return NULL and the
8617 appropriate error when gst_parse_launch() is used despite it having
8618 been disabled (#342564).
8620 * tests/check/Makefile.am:
8621 * tests/check/pipelines/.cvsignore:
8622 * tests/check/pipelines/parse-disabled.c:
8623 Make sure these functions exist and return NULL plus a GError when
8624 --disable-parse is used.
8626 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8628 * tests/benchmarks/complexity.c: (main):
8629 * tests/benchmarks/mass-elements.c: (main):
8630 Set a good example and don't leak messages.
8632 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8634 * docs/gst/Makefile.am:
8635 * docs/libs/Makefile.am:
8636 Correct fixxrefs options.
8638 * docs/plugins/Makefile.am:
8639 * docs/plugins/gstreamer-plugins-docs.sgml:
8640 * docs/plugins/gstreamer-plugins-sections.txt:
8641 * plugins/elements/Makefile.am:
8642 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8643 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8644 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8645 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8646 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8647 _GstCapsFilterClass, trans_class):
8648 * plugins/elements/gstelements.c (name, rank, type, _elements):
8649 * plugins/elements/gstidentity.c
8650 (gst_identity_check_imperfect_timestamp,
8651 gst_identity_check_imperfect_offset):
8652 Document capsfilter and add doc-blurb to identity.
8654 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8656 * libs/gst/controller/gstcontroller.c:
8657 (gst_controlled_property_set_interpolation_mode):
8658 * libs/gst/controller/gstinterpolation.c:
8659 Don't crash if someone tries to set an interpolation mode that
8660 is invalid or that isn't supported yet. Fixes #422295.
8662 * tests/check/libs/controller.c: (GST_START_TEST),
8663 (gst_controller_suite):
8664 Add a test case for the above.
8666 2007-05-03 Edward Hervey <edward@fluendo.com>
8668 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8669 Properly set the last_stop position on GstSegment. This will only happen
8670 if there is a buffer to push out.
8672 2007-05-03 Wim Taymans <wim@fluendo.com>
8674 * libs/gst/base/gstbasetransform.c:
8675 (gst_base_transform_buffer_alloc):
8676 always_in_place does not mean that the sink and source caps are the
8677 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8679 2007-05-03 Wim Taymans <wim@fluendo.com>
8681 * docs/libs/gstreamer-libs-sections.txt:
8682 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8683 (gst_base_src_default_query), (gst_base_src_get_range):
8684 * libs/gst/base/gstbasesrc.h:
8685 API: gst_base_src_query_latency(). Added method so that subclasses can
8686 easily get the latency values of the base source class.
8688 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8690 * tools/gst-inspect.c (print_implementation_info):
8693 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8695 * tools/Makefile.am:
8696 * tools/gst-launch.1.in:
8697 Don't create a customised man page based on the host architecture,
8698 describe the default registry path generically. That way the man
8699 page is the same for all architectures and packagers have one
8700 multilib issue less to deal with. Fixes #434926.
8702 2007-05-02 Wim Taymans <wim@fluendo.com>
8705 Fix documentation as spotted by rg on IRC.
8707 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8710 Improve docs for gst_element_{link,unlink}.
8712 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8714 * docs/design/part-events.txt:
8715 * docs/design/part-overview.txt:
8719 * libs/gst/base/gstbasesink.c:
8720 Typo fixes; minor docs addition.
8722 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8724 * docs/gst/gstreamer-sections.txt:
8725 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8726 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8728 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8729 or src that supports a given URI protocol exists.
8731 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8733 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8734 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8735 Set the location to NULL if "file://" is set as URI. Otherwise
8736 some random previous URI would still be set if "file://" is
8737 set on an already used filesink/filesrc.
8739 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8741 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8742 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8743 Special case the "file://" URI as as this is used by some
8744 applications to test with gst_element_make_from_uri if there's
8745 an element that supports the URI protocol.
8746 Also move the g_path_is_absolute() check for the location part
8747 of the URI to also check this for "file://localhost/bla" URIs.
8749 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8751 * docs/gst/gstreamer-sections.txt:
8752 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8754 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8756 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8758 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8760 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8761 (gst_registry_binary_load_pad_template),
8762 (gst_registry_binary_load_plugin),
8763 (gst_registry_binary_read_cache):
8764 * gst/gstregistrybinary.h:
8765 Implement no-mmap alternative for registry reading. Do code cleanups.
8766 Add more comments about avoiding strdups for all text data. Comments
8769 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8771 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8772 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8773 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8774 Comment structs and reformat to fix the build (that stuff should go
8775 into a priv. header).
8777 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8779 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8780 (gst_registry_binary_load_feature):
8781 * gst/gstregistrybinary.h:
8782 Refactor so that we can implement multiple features. Add support for
8783 TypeFindFactory features.
8785 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8787 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8790 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8792 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8794 * gst/gstbin.c: (gst_bin_element_set_state),
8795 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8796 (bin_handle_async_done), (gst_bin_handle_message_func):
8797 Fix build with --gst-disable-gst-debug
8799 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8801 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8802 Make sure streaming has finished before calling the ::stop() vfunc,
8803 since that vfunc might clear state which is being used in the
8804 streaming thread. This fixes a race that caused crashes in
8805 audioresample when shutting down a pipeline (#420106).
8807 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8809 * docs/gst/gstreamer-sections.txt:
8810 That was one byte missing.
8812 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8815 * docs/gst/gstreamer-sections.txt:
8817 * gst/gstconfig.h.in:
8818 * gst/gstobject.c: (gst_object_class_init),
8819 (gst_signal_object_class_init):
8821 2nd attempt to have a xml-less build as a joined effort of #413123
8824 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8826 * docs/design/draft-tagreading.txt:
8827 Added open issues/thoughts to draft.
8829 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8831 * gst/parse/grammar.tab.pre.c:
8832 * gst/parse/grammar.tab.pre.h:
8833 * gst/parse/lex._gst_parse_yy.pre.c:
8834 Update the prebuild parser sources.
8836 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8838 * gst/parse/Makefile.am:
8839 And now fix the building of the flex sources. Now everything should
8842 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8844 * gst/parse/Makefile.am:
8845 Now hopefully fix the build failures by setting proper rule
8846 dependencies and moving instead of copying.
8848 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8850 * tests/benchmarks/complexity.gnuplot:
8851 * tests/benchmarks/complexity.scm:
8852 * tests/benchmarks/mass-elements.gnuplot:
8853 * tests/benchmarks/mass-elements.scm:
8854 Total licensification.
8856 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8858 * gst/parse/Makefile.am:
8859 Fix the build by correcting the rule that gave wrong files to flex.
8861 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8863 * tests/benchmarks/complexity.c:
8864 * tests/benchmarks/mass-elements.c:
8865 Change licence to LGPL as granted by Benjamin and Andy.
8867 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8869 * gst/parse/Makefile.am:
8870 Add correct grammar.tab.h dependency if compiling without new enough
8871 flex. Fixes #431150.
8873 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8875 * gst/parse/Makefile.am:
8876 Fix typo and use outdated sources if the flex/bison sources are newer
8877 than the pregenerated ones but flex is too old. Print a warning in
8878 that case. This should fix the build on the build bot.
8880 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8882 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8883 * gst/parse/Makefile.am:
8884 * gst/parse/grammar.y:
8885 * gst/parse/parse.l:
8886 Make the parser reentrant and recursively callable. This requires flex
8887 >= 2.5.31, for older versions pregenerated sources are used as we
8888 can't bump the build dependency. Finally fixes #349180.
8890 * gst/gstparse.c: (gst_parse_launch):
8891 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8894 * docs/gst/Makefile.am:
8895 * docs/gst/Makefile.am:
8896 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8897 (__gst_parse_strfree), (__gst_parse_link_new),
8898 (__gst_parse_link_free), (__gst_parse_chain_new),
8899 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8900 (gst_parse_element_set), (gst_parse_free_link),
8901 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8902 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8903 (_gst_parse_launch):
8904 * gst/parse/grammar.tab.pre.h:
8905 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8906 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8907 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8908 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8909 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8910 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8911 (_gst_parse_yypop_buffer_state),
8912 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8913 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8914 (yy_fatal_error), (_gst_parse_yyget_extra),
8915 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8916 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8917 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8918 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8919 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8920 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8921 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8922 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8923 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8924 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8925 (_gst_parse_yyfree):
8926 If the installed flex version is too old use pre-generated parser
8927 sources. These pre-generated parser sources are always updated when
8928 the actual flex/bison sources change but require everybody who wants
8929 to change something in the parser to have flex >= 2.5.31 installed.
8931 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8933 * common/m4/gst-gettext.m4:
8934 * gst/gst-i18n-lib.h:
8935 Make --disable-nls to work
8937 2007-04-17 Wim Taymans <wim@fluendo.com>
8939 * gst/gstconfig.h.in:
8940 Revert previous change that broke the build.
8942 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8946 * gst/gstconfig.h.in:
8947 Drop libxml2 dependency when building with
8948 --enable-binary-registry --disable-loadsave
8950 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8952 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8953 (gst_registry_binary_read_cache):
8954 * gst/gstregistrybinary.h:
8955 Remove unnecessary <sys/mman.h> include which broke the win32 build
8956 with MingW; move includes from header file to .c file, even if the
8957 header file isn't installed; use g_strerror() where UTF-8 strings
8958 are expected, such as in GST_DEBUG messages.
8960 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8962 * docs/libs/gstreamer-libs-sections.txt:
8963 Remove bogus addition for API I didn't end up keeping.
8965 * libs/gst/base/gstbasesrc.h:
8966 Mention Since: 0.10.13 in the documentation.
8968 Add the API keyword to the previous ChangeLog entry.
8970 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8972 * docs/libs/gstreamer-libs-sections.txt:
8973 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8974 (gst_base_src_default_prepare_seek_segment),
8975 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8976 * libs/gst/base/gstbasesrc.h:
8977 Allow basesrc derived classes to execute seeks in other formats
8978 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8979 to prepare the GstSegment in any format that their perform_seek method
8980 will be able to understand. The default implementation provides the
8981 old behaviour of attempting to convert the seek offsets to the
8982 configured native format.
8984 API: basesrc::prepare_seek_segment vmethod.
8986 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8988 * gst/gstelement.c: (gst_element_get_state_func):
8989 Don't output the same debug statement twice.
8991 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8992 (gst_adapter_peek), (gst_adapter_take_buffer):
8993 Optimise the case where we have buffers at the head of the queue that
8994 can be joined quickly (because they're contiguous sub-buffers) by
8995 merging them together rather than copying data out into new memory.
8997 * gst/parse/grammar.y:
8998 * tests/check/pipelines/parse-launch.c:
8999 Fix a leak in an error path for parse_launch, and add a check
9000 for it to the testsuite.
9002 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9004 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9005 Don't deadlock when releasing a pad - gst_pad_set_active may try
9006 and take the multiqueue lock too.
9008 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9010 * gst/gsterror.c: (_gst_core_errors_init):
9012 API: add GST_CORE_ERROR_DISABLED (#392804).
9014 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9016 * docs/faq/gst-uninstalled:
9017 don't get empty paths on the PATH variables
9018 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9019 Don't format for the uncommon terminal width of 84 characters.
9021 2007-04-06 Wim Taymans <wim@fluendo.com>
9023 * gst/gstpipeline.c: (reset_stream_time),
9024 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9025 Only try to select a different pipeline clock when we went back to
9026 PAUSED and not when we merely got flushed.
9028 2007-04-05 Michael Smith <msmith@fluendo.com>
9030 * tools/gst-launch.1.in:
9031 fractions are better supported in gstreamer than ractions, so
9032 suggest using those.
9034 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9036 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9040 Added Danish translation.
9042 2007-04-05 Wim Taymans <wim@fluendo.com>
9044 * libs/gst/base/gstbasesink.c:
9045 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9046 Fix leak caused when refusing newsegment after EOS.
9048 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9049 (gst_fake_sink_init), (gst_fake_sink_set_property),
9050 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9051 (gst_fake_sink_render), (gst_fake_sink_change_state):
9052 * plugins/elements/gstfakesink.h:
9053 Add num-buffers property to make the element generate EOS after a
9054 configurable amount of buffers.
9055 API: fakesink::num-buffers property.
9057 * tests/check/elements/fakesink.c: (GST_START_TEST),
9059 Fix GstBus leak in test.
9060 Test for fakesink num-buffers.
9062 2007-04-05 Wim Taymans <wim@fluendo.com>
9064 * libs/gst/base/gstbasesink.c:
9065 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9066 (gst_base_sink_change_state):
9067 Don't accept anything after an EOS, return UNEXPECTED instead.
9069 * tests/check/elements/fakesink.c: (GST_START_TEST),
9071 Unit test for new EOS behaviour.
9073 2007-04-05 Wim Taymans <wim@fluendo.com>
9075 * gst/gstelement.c: (gst_element_get_request_pad):
9076 Make padtemplates also work when they don't contain %s or %d.
9078 2007-04-05 Wim Taymans <wim@fluendo.com>
9080 * docs/gst/gstreamer-sections.txt:
9081 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9082 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9084 Improve _adjust_unlocked() so that it overflows less.
9085 Add gst_clock_unadjust_unlocked to convert from external time to
9086 internal time based on calibration.
9087 Add some more debug.
9088 API: GstClock::gst_clock_unadjust_unlocked()
9090 2007-04-03 Wim Taymans <wim@fluendo.com>
9092 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9094 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9095 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9096 when releasing sink pad. Fixes #425400.
9098 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9100 * docs/random/ensonic/dynlink.txt:
9101 More work on proposal for new core api.
9103 * docs/libs/gstreamer-libs-sections.txt:
9104 * libs/gst/base/gstbasetransform.h:
9105 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9107 * libs/gst/controller/gstcontroller.c:
9108 (on_object_controlled_property_changed),
9109 (gst_controller_sync_values),
9110 (gst_controller_set_interpolation_mode):
9111 * libs/gst/controller/gstcontroller.h:
9112 Less verbose logging add docs for unimplemented parts and correctly
9113 return when using unavailable parts.
9115 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9117 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9118 Move all the debug to the CLOCK category, and associate it with
9121 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9123 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9124 Make take_buffer a bit quicker by removing redundant checks
9125 caused by calling gst_adapter_take.
9127 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9129 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9132 * tests/check/Makefile.am:
9133 * tests/check/elements/.cvsignore:
9134 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9135 (GST_START_TEST), (multiqueue_suite):
9136 Add some dead simple unit tests for the 'multiqueue' element
9137 (some bits don't work yet and are disabled for now).
9139 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9141 * gst/gstelement.c: (gst_element_get_request_pad),
9142 (gst_element_class_get_request_pad_template):
9143 Make gst_element_get_request_pad() create request pads only for
9144 request pad templates and not for, say, sometimes pad templates.
9146 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9148 * docs/design/draft-klass.txt:
9149 Add example that needs more thinking.
9151 * docs/design/draft-missing-plugins.txt:
9152 More thoughts about wrapper plugins.
9154 * docs/random/ensonic/embedded.txt:
9155 * docs/random/ensonic/profiling.txt:
9158 2007-03-25 Wim Taymans <wim@fluendo.com>
9160 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9161 (gst_base_src_loop):
9162 Only push the segment events in the PLAYING state for live sources.
9164 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9166 * gst/gstpipeline.c: (gst_pipeline_change_state):
9167 Modify the clock distribution path in PAUSED->PLAYING so that we
9168 never attempt to choose a new clock unless we're actually leaving
9169 the PAUSED state for the first time. This prevents choosing a
9170 different clock when the state_change gets called for a 2nd time due
9171 to some element doing an async state change.
9173 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9175 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9176 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9177 (gst_pad_chain_unchecked), (gst_pad_push):
9178 Revert last commit. This needs some more thoughts.
9180 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9182 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9183 (gst_pad_chain_unchecked), (gst_pad_push):
9184 Check in set_caps if the caps are compatible with the pad and remove
9185 two functions that are redundant now. Fixes #421543.
9187 2007-03-22 Wim Taymans <wim@fluendo.com>
9189 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9190 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9191 Unref some more to make valgrind happy.
9193 2007-03-22 Wim Taymans <wim@fluendo.com>
9195 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9196 (gst_system_clock_id_wait_jitter),
9197 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9198 Fix anoying regression that survived a few releases. When adding an
9199 async entry while blocking on a sync entry, the sync entry will unblock
9200 but still be busy, so it should continue to wait instead of returning
9202 Add some comments here and there.
9204 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9205 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9206 Add testcase for this.
9208 2007-03-22 Wim Taymans <wim@fluendo.com>
9210 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9211 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9212 WRONG_STATE and can silently pause the task. All other cases should
9215 2007-03-22 Wim Taymans <wim@fluendo.com>
9217 Patch by: Ville Syrjala <syrjala at sci dot fi>
9219 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9220 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9223 2007-03-21 Michael Smith <msmith@fluendo.com>
9225 * docs/pwg/advanced-types.xml:
9226 Fix some errors in the typefinding docs pointed out on irc.
9228 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9230 * libs/gst/base/gstbasesrc.c:
9231 Clarify FIXME comment in the face of having added unlock_stop()
9233 2007-03-21 Wim Taymans <wim@fluendo.com>
9235 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9236 Prepare for release where we warn against possible app breakage in the
9237 case of live pipelines along with an env var to enable/disable live
9238 preroll mode (GST_COMPAT=[no-]live-preroll).
9240 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9242 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9243 So we should use correct constants for checking for None offset.
9245 2007-03-20 Wim Taymans <wim@fluendo.com>
9247 * docs/design/part-block.txt:
9248 Mention the fact that the newly switched element should be set to at
9251 2007-03-20 Wim Taymans <wim@fluendo.com>
9254 Fix compilation with registry disabled as spotted by Saur.
9256 2007-03-20 Wim Taymans <wim@fluendo.com>
9258 Patch by: Olivier Crete <tester at tester dot ca>
9260 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9261 Look at the pending state too when syncing the element state to the
9262 parent. Fixes #420133.
9264 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9266 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9267 (gst_base_sink_change_state):
9268 * libs/gst/base/gstbasesink.h:
9269 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9270 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9271 (gst_base_src_deactivate):
9272 * libs/gst/base/gstbasesrc.h:
9273 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9274 for sub-classes to correctly clear any state they set trying to
9275 unlock, such as clearing out unlock commands from a command fd.
9276 API: basesrc::unlock_stop
9277 API: basesink::unlock_stop
9279 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9280 (gst_fd_sink_render), (gst_fd_sink_unlock),
9281 (gst_fd_sink_unlock_stop):
9282 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9283 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9284 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9286 Implement unlock_stop in fdsrc and fdsink.
9287 Implement seeking in fdsrc when a seekable fd is passed, as in
9288 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9290 2007-03-19 Wim Taymans <wim@fluendo.com>
9292 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9294 * gst/gstelement.c: (gst_element_class_init):
9295 Fix pad-added and pad-removed signal signatures so that the pad type is
9296 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9298 2007-03-19 Wim Taymans <wim@fluendo.com>
9300 * docs/gst/gstreamer-sections.txt:
9301 Add new element field and method.
9303 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9304 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9305 (gst_bin_recalc_state), (gst_bin_get_state_func),
9306 (gst_bin_element_set_state), (gst_bin_change_state_func),
9307 (gst_bin_continue_func), (bin_bus_handler),
9308 (bin_push_state_continue), (bin_handle_async_start),
9309 (bin_handle_async_done), (gst_bin_handle_message_func):
9310 Make async state changes a bit smarter by using new ASYNC_START and
9311 ASYNC_DONE messages. This reduces the number of times we run the state
9312 recalculation thread.
9313 Don't change state of element with a pending ASYNC_START message.
9314 Deprecate STATE_DIRTY messages.
9316 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9317 (gst_element_get_state_func), (gst_element_continue_state),
9318 (gst_element_lost_state), (gst_element_set_state_func),
9319 (gst_element_change_state):
9321 Keep the state that was last set by the app in a new element field.
9322 Don't allow state changes when handling an element event.
9323 Post ASYNC_START and ASYNC_DONE messages.
9324 Change lost_state so that we go to PAUSED and wait for the parent to set
9325 us to PLAYING again (so latency calculation can be performed)
9326 Export gst_element_change_state() method so that subclasses can use it.
9327 API: gst_element_change_state()
9328 API: GST_STATE_TARGET
9330 * gst/gstpipeline.c: (gst_pipeline_class_init),
9331 (reset_stream_time), (gst_pipeline_change_state),
9332 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9333 Using the new ASYNC_START message we can reset the base_time when
9334 needed. This can then be used to implement base_time redistribution in
9335 flushing seeks so that we can remove the explicit seek handling.
9336 Perform latency query and configuration when going to PLAYING.
9338 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9339 (gst_base_sink_query), (gst_base_sink_change_state):
9340 Post new ASYNC_START/ASYNC_DONE messages.
9342 * tests/check/generic/sinks.c: (GST_START_TEST):
9343 Fix test because the bin will not set the async element to PLAYING right
9346 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9347 Make the message check a little stronger.
9348 Handle ASYNC messages.
9350 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9351 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9352 Expect ASYNC_DONE messages.
9354 2007-03-19 Wim Taymans <wim@fluendo.com>
9356 * docs/gst/gstreamer-sections.txt:
9357 * gst/gstmessage.c: (gst_message_new_async_start),
9358 (gst_message_new_async_done), (gst_message_parse_info),
9359 (gst_message_parse_async_start):
9361 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9364 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9366 * tools/gst-inspect.c:
9367 (print_plugin_automatic_install_info_codecs):
9368 Now that we don't check for the 'Codec' keyword any longer in the
9369 klass, we shouldn't spew a warning if the klass isn't a decoder or
9370 encoder (since it might be a Source/Network, for example).
9372 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9374 * tools/gst-inspect.c:
9375 (print_plugin_automatic_install_info_codecs):
9376 Don't require decoder/demuxer/depayloader elements or
9377 encoder/muxer/paylader elements to have 'Codec' as part of their
9378 factory class string when introspecting a plugin's capabilities.
9379 draft-klass.txt mentions that it might be removed in future, and
9380 flump3dec doesn't have it as part of its class string, so chances
9381 are others might also not have it.
9383 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9405 Update translations from translation project
9407 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9409 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9410 (gst_child_proxy_set_property):
9411 Invert precondition check to be alike the ones in the mimiced gobject
9414 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9416 * docs/design/draft-tagreading.txt:
9417 * docs/random/ensonic/audiobaseclasses.txt:
9418 Do some Architect work.
9420 * gst/gstobject.c: (gst_object_set_name):
9424 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9426 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9428 * gst/gstsystemclock.c: (gst_system_clock_init),
9429 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9430 Defer starting the async system clock thread until the first async
9431 wait is scheduled. Fixes #414986.
9433 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9435 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9436 (gst_single_queue_free):
9437 Fix small leak (free GstSingleQueue structure too, not only contents).
9439 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9441 * gst/gstbin.c:(gst_bin_add):
9442 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9443 * win32/common/libgstbase.def:
9444 * win32/common/libgstreamer.def:
9445 Add new exported functions.
9447 2007-03-09 Wim Taymans <wim@fluendo.com>
9449 * docs/plugins/gstreamer-plugins-sections.txt:
9452 2007-03-09 Wim Taymans <wim@fluendo.com>
9454 * docs/gst/gstreamer-sections.txt:
9455 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9457 Add metadata copy functions. Fixes #393099.
9458 API: gst_buffer_copy_metadata()
9460 * gst/gstutils.c: (gst_buffer_stamp):
9461 * libs/gst/base/gstbasetransform.c:
9462 (gst_base_transform_prepare_output_buffer):
9463 Use new metadata copy functions.
9465 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9467 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9468 (gst_identity_init), (gst_identity_check_perfect),
9469 (gst_identity_check_imperfect_timestamp),
9470 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9471 (gst_identity_set_property), (gst_identity_get_property):
9472 * plugins/elements/gstidentity.h:
9473 Separate out check-imperfect-timestamp and check-imperfect-offset.
9474 Put back check-perfect as it was to keep compatibility.
9476 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9478 * gst/gstelement.c: (gst_element_dispose):
9479 There's no need to warn if VOID_PENDING is not NONE here, as
9480 long as the state is NULL it's ok, and that's checked immediately
9483 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9485 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9486 Fix check for perfect stream to ignore buffers with -1
9487 offsets/offset ends when checking data contiguity.
9489 2007-03-08 Wim Taymans <wim@fluendo.com>
9491 * tools/gst-launch.c: (event_loop):
9492 Print INFO messages.
9494 2007-03-08 Wim Taymans <wim@fluendo.com>
9496 * libs/gst/base/gstbasetransform.c:
9497 (gst_base_transform_sink_eventfunc),
9498 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9499 (gst_base_transform_activate):
9500 * libs/gst/base/gstbasetransform.h:
9501 Add support for dropping buffers with custom GstFlowReturn.
9502 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9503 buffers or dropped buffers.
9505 * docs/libs/gstreamer-libs-sections.txt:
9506 docs for new custom return code.
9508 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9509 Use drop support in base class to implement drop-probability.
9511 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9513 * gst/gst.c: (load_plugin_func):
9514 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9515 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9516 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9517 Remove newlines at end of debug log strings.
9519 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9521 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9522 Only post bus message at max, once per buffer received.
9524 2007-03-07 Wim Taymans <wim@fluendo.com>
9526 * docs/design/Makefile.am:
9527 * docs/design/part-synchronisation.txt:
9528 Add doc about synchronisation
9530 * docs/design/draft-latency.txt:
9531 * docs/design/part-TODO.txt:
9532 * docs/design/part-clocks.txt:
9533 * docs/design/part-events.txt:
9534 * docs/design/part-gstbus.txt:
9535 * docs/design/part-gstpipeline.txt:
9536 * docs/design/part-live-source.txt:
9537 * docs/design/part-messages.txt:
9538 * docs/design/part-overview.txt:
9539 * docs/design/part-streams.txt:
9540 * docs/design/part-trickmodes.txt:
9541 Documentation updates.
9543 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9546 Update the doap file.
9548 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9550 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9551 Rename non-perfect to imperfect for Mike and for the sanctity of the
9553 Also make sure bus message gets emitted for data-incontiguities.
9555 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9557 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9558 (gst_identity_start):
9559 * plugins/elements/gstidentity.h:
9560 Emit bus message if check-perfect is true and we encounter a
9561 non-perfect stream between 2 consecutive buffers.
9564 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9569 === release 0.10.12 ===
9571 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9574 releasing 0.10.12, "Inevitable Demise"
9576 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9579 Version 0.10.11.2 (0.10.12 pre-release)
9580 Bump libtool versioning.
9582 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9584 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9585 Log flow-names and not numbers.
9587 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9590 Convert to new AG_GST style.
9592 2007-02-28 Wim Taymans <wim@fluendo.com>
9594 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9595 Don't unref query twice.
9597 2007-02-28 Wim Taymans <wim@fluendo.com>
9599 * gst/gstvalue.c: (gst_value_transform_object_string),
9600 (_gst_value_initialize):
9601 Implement GstObject -> string transform so we print object names
9602 when serializing GValues containing GstObjects.
9604 2007-02-28 Wim Taymans <wim@fluendo.com>
9606 * docs/gst/gstreamer-sections.txt:
9607 Add new stuff to docs.
9609 2007-02-28 Wim Taymans <wim@fluendo.com>
9611 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9612 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9613 (gst_base_sink_change_state):
9614 Improve latency query code.
9615 Don't leak latency events.
9617 * tests/check/gst/gstbin.c: (GST_START_TEST):
9620 2007-02-28 Wim Taymans <wim@fluendo.com>
9622 * gst/gstelement.c: (gst_element_message_full),
9623 (gst_element_get_state_func):
9625 Improve docs a little. Added Since: for new macro.
9627 * gst/gstobject.c: (gst_object_sink):
9628 * gst/gstpipeline.c: (gst_pipeline_change_state),
9629 (gst_pipeline_set_new_stream_time):
9630 * gst/gstpipeline.h:
9631 Improve debugging and docs.
9633 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9636 2007-02-28 Wim Taymans <wim@fluendo.com>
9638 * gst/gstelement.c: (gst_element_message_full),
9639 (gst_element_set_locked_state), (gst_element_get_state_func),
9640 (gst_element_change_state):
9641 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9642 Documentation updates.
9643 Small code cleanups.
9645 * gst/gstmessage.c: (gst_message_new_info),
9646 (gst_message_parse_info):
9648 API: gst_message_new_info()
9649 API: gst_message_parse_info()
9650 Add INFO message create and parse code.
9652 2007-02-28 Wim Taymans <wim@fluendo.com>
9654 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9655 (bin_query_latency_done):
9656 Also report the live parameter of a latency query.
9658 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9660 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9661 Copy the current generic/states example from -base and adapt so
9662 we can use the exact same code everywhere.
9663 Check a STATES_IGNORE_ELEMENTS env var which can be used
9664 to ignore certain element factories for this test, which is
9665 what is being done in -base
9666 * tests/check/Makefile.am:
9667 Mention this environment variable.
9669 2007-02-27 Wim Taymans <wim@fluendo.com>
9671 * docs/gst/gstreamer-sections.txt:
9672 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9673 (gst_bus_timed_pop), (gst_bus_pop):
9675 API: gst_bus_timed_pop()
9676 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9677 message to arrive on the bus.
9679 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9681 Two unit tests for new _timed_pop() function.
9683 2007-02-23 Wim Taymans <wim@fluendo.com>
9685 * gst/gstpipeline.c: (gst_pipeline_change_state),
9686 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9687 Don't ref a NULL clock in _provide_clock_func().
9688 Don't allow an INVALID delay.
9689 Don't try to calculate base_time with an invalid start_time.
9690 Also distribute and notify a NULL clock when it was selected.
9692 * tools/gst-launch.c: (event_loop):
9693 Don't crash when a NULL clock was selected in the pipeline.
9695 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9697 * docs/design/Makefile.am:
9698 * docs/design/draft-missing-plugins.txt:
9699 * docs/random/draft-missing-plugins.txt:
9700 Some small updates: update plugin system identifier prefix
9701 ('gstreamer.net' to 'gstreamer'), mention our new install
9702 API in libgstbaseutils rather than libgimme-codec, add
9703 reference to the online docs.
9705 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9707 * win32/common/config.h:
9708 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9709 use moap cl ci to only check in what is mentioned in the ChangeLog.
9711 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9713 * docs/gst/gstreamer-sections.txt:
9715 Fix up documentation to link to the correct GstGError section.
9716 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9718 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9720 * tools/gst-launch.c: (event_loop):
9721 Make sure that we actually show the important message part of a
9723 No need to check if the gerror is not NULL to free; first of all
9724 g_free accepts NULL; and second the default error handler would
9725 segfault if gerror was NULL.
9727 2007-02-21 Wim Taymans <wim@fluendo.com>
9729 * docs/gst/gstreamer-sections.txt:
9730 Removed docs as well.
9732 2007-02-21 Wim Taymans <wim@fluendo.com>
9734 * gst/gstmessage.c: (gst_message_parse_duration):
9736 Remove new messages for release.
9738 2007-02-20 Wim Taymans <wim@fluendo.com>
9740 * docs/design/part-gstghostpad.txt:
9741 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9742 (gst_ghost_pad_new_full):
9743 Make the ghostpad a parent of the internal pad again for better backward
9744 compatibility. Don't write code that relies on this however.
9746 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9747 (gst_pad_link_check_hierarchy):
9748 Require that parents should be GstElements in the hierarchy check.
9750 2007-02-20 Wim Taymans <wim@fluendo.com>
9752 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9753 (gst_bin_change_state_func), (bin_query_min_max_init),
9754 (bin_query_latency_fold), (bin_query_latency_done),
9757 Implement latency query.
9759 2007-02-20 Wim Taymans <wim@fluendo.com>
9761 * docs/design/part-gstghostpad.txt:
9762 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9763 (gst_ghost_pad_internal_do_activate_push),
9764 (gst_ghost_pad_internal_do_activate_pull),
9765 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9766 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9767 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9768 Do not set the internal pad as a parent anymore so we can avoid
9769 hierarchy linking errors when the ghostpad has no parent yet. This also
9770 fixes failed activation because of unlinked internal pads, which in
9771 turn fixes the impossible case where you have to activate a pad before
9772 you can add it to a running element.
9775 * gst/gstpad.c: (pre_activate), (post_activate),
9776 (gst_pad_set_active), (gst_pad_activate_pull),
9777 (gst_pad_activate_push), (gst_pad_check_pull_range):
9778 Add some more debug info.
9779 Mark activation mode in pre_activate so that we don't try to activate in
9780 endless loops. Fixes #385084.
9782 2007-02-19 Wim Taymans <wim@fluendo.com>
9784 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9785 (gst_base_transform_check_get_range):
9786 Implement a checkgetrange function instead of relying on the default
9787 core behaviour that assumes we can operate in pull mode if we have a
9788 getrange function. First step at fixing #385084.
9790 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9792 * gst/gstchildproxy.h:
9793 * libs/gst/base/gstbasesink.h:
9794 * libs/gst/base/gstbasesrc.h:
9795 * libs/gst/base/gstbasetransform.h:
9796 More docs coverage and some ChangeLog surgery (add missing names)
9798 2007-02-15 Wim Taymans <wim@fluendo.com>
9800 * docs/design/part-TODO.txt:
9801 * docs/design/part-activation.txt:
9802 * docs/design/part-block.txt:
9803 * docs/design/part-buffering.txt:
9804 * docs/design/part-clocks.txt:
9805 * docs/design/part-element-source.txt:
9806 * docs/design/part-events.txt:
9807 * docs/design/part-gstbin.txt:
9808 * docs/design/part-gstbus.txt:
9809 * docs/design/part-gstpipeline.txt:
9810 * docs/design/part-live-source.txt:
9811 * docs/design/part-messages.txt:
9812 * docs/design/part-overview.txt:
9813 * docs/design/part-qos.txt:
9814 * docs/design/part-query.txt:
9815 * docs/design/part-states.txt:
9816 * docs/design/part-trickmodes.txt:
9817 Some doc updates. Start renaming from stream_time to running_time where
9818 it was used wrongly.
9820 2007-02-15 Wim Taymans <wim@fluendo.com>
9822 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9823 Answer LATENCY query.
9825 2007-02-15 Wim Taymans <wim@fluendo.com>
9827 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9831 2007-02-15 Wim Taymans <wim@fluendo.com>
9833 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9834 (gst_pad_dispatcher):
9835 Improve debugging of default pad dispatcher and query functions.
9837 2007-02-15 Wim Taymans <wim@fluendo.com>
9839 * docs/gst/gstreamer-sections.txt:
9840 Remove old unused method.
9842 2007-02-13 Wim Taymans <wim@fluendo.com>
9844 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9847 2007-02-13 Wim Taymans <wim@fluendo.com>
9849 * docs/design/part-seeking.txt:
9852 * gst/gstsegment.c: (gst_segment_set_seek):
9853 Revert old bogus change that should make seeking work again.
9855 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9857 * docs/random/ensonic/dynlink.txt:
9858 * docs/random/ensonic/interfaces.txt:
9859 * docs/random/ensonic/receipies.txt:
9860 Possible dynamic reconnection api, plus some type fixes the other two
9863 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9865 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9866 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9867 Also check for an absolute path following file:// in the filesrc
9868 element. Remove redundant check and call g_path_is_absolute() on the
9871 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9873 * docs/design/draft-klass.txt:
9874 Add existing category analysis.
9877 Fix doc example, framerate is a fraction.
9879 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9882 * docs/gst/Makefile.am:
9883 * docs/gst/gstreamer-sections.txt:
9884 * docs/libs/Makefile.am:
9885 Erm, forgot a bunch of --extra-dir.
9887 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9890 * docs/gst/Makefile.am:
9891 * docs/libs/Makefile.am:
9892 * docs/plugins/Makefile.am:
9893 Add crossreferences to glib/gobject docs.
9895 2007-02-12 Wim Taymans <wim@fluendo.com>
9897 * docs/design/draft-latency.txt:
9900 * docs/libs/gstreamer-libs-sections.txt:
9901 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9902 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9903 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9904 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9905 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9906 (gst_base_sink_get_position), (gst_base_sink_query),
9907 (gst_base_sink_change_state):
9908 * libs/gst/base/gstbasesink.h:
9909 API: gst_base_sink_query_latency() to let subclasses query the upstream
9911 API: gst_base_sink_get_latency() to let subclasses query the configured
9912 latency in the sink.
9913 Implement query and set latency.
9915 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9916 don't continue preroll when we are flushing. Fixes #405284.
9918 * tests/check/pipelines/stress.c: (change_state_timeout),
9919 (quit_timeout), (GST_START_TEST), (stress_suite):
9922 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9924 Patch by: René Stadler <mail at renestadler de>
9926 * docs/gst/gstreamer-sections.txt:
9927 * gst/gsttaglist.c: (_gst_tag_initialize):
9929 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9931 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9933 * docs/libs/Makefile.am:
9934 Fix path to core docs.
9936 * gst/gstbin.c: (gst_bin_get_by_interface),
9937 (gst_bin_iterate_all_by_interface):
9938 Refix docs by also renaming 'interface' to 'iface' in implementation.
9940 * docs/gst/gstreamer-sections.txt:
9942 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9943 * gst/gstchildproxy.h:
9944 * gst/gstelementfactory.c:
9945 * gst/gstpadtemplate.h:
9946 * libs/gst/controller/gstcontroller.c:
9947 (gst_controlled_property_new):
9950 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9952 * gst/gstbin.h:(gst_bin_get_by_interface),
9953 (gst_bin_iterate_all_by_interface):
9954 Replace interface parameter name by iface as interface is
9955 a reserved keyword in Visual Studio for C++ projects so it removes
9956 a build error for application developpers using VS.
9957 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9958 Fix a bug on Windows in uri format check. Now the prefix checked
9959 is file:// and next we check if the path after file:// is absolute.
9960 * win32/common/libgstbase.def:
9961 * win32/common/libgstdataprotocol.def:
9962 * win32/common/libgstgstreamer.def:
9963 Add new exported functions.
9965 2007-02-09 Andy Wingo <wingo@pobox.com>
9967 * tests/check/pipelines/simple-launch-lines.c
9968 (simple_launch_lines_suite, test_tee): Disable tee test until I
9969 have time to fix it :-(
9971 * tests/check/Makefile.am (noinst_HEADERS):
9972 * tests/check/libs/libsabi.c:
9973 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9974 * tests/check/gst/gstabi.c:
9975 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9977 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9978 tests for push and pull tee behavior.
9980 * plugins/elements/gsttee.h:
9981 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9982 mark as deprecated as well as unimplemented. It was a crack idea.
9983 Add support for tee operating in pull mode, off by default.
9985 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9986 normal-case logs down to LOG, raise errors to WARNING.
9987 (gst_registry_xml_read_cache): Don't log before calling a function
9990 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9991 exit (registry finalize).
9992 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9993 DEBUG log when we emit signals that people don't even have the
9994 chance to connect to.
9995 (gst_registry_scan_path_level): Less logging in the normal case.
9997 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9999 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10001 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10002 Correctly generate EOS for non-seekable files. We don't have a total
10003 length for them and would get an unexpected end of file if we only
10004 special-cased for regular files. (Fixes: #404569)
10006 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10008 * tests/check/elements/filesrc.c: (GST_START_TEST),
10010 Add unit test for the GstURIHandler interface in filesrc. This also
10011 tests the newly added file://localhost/foo/bar support.
10013 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10015 * gst/gstelementfactory.h:
10016 The klass string is not a hierarchy. Add reference to the design doc
10017 for more information and common types.
10019 2007-02-02 Wim Taymans <wim@fluendo.com>
10021 * gst/gstquery.c: (gst_query_new_latency):
10022 Remove old structure field.
10024 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10026 * tools/gst-launch.1.in:
10027 Give example for network streaming (#351998)
10029 2007-02-02 Wim Taymans <wim@fluendo.com>
10031 * docs/gst/gstreamer-sections.txt:
10032 Add docs for new methods.
10034 * gst/gstevent.c: (gst_event_new_latency),
10035 (gst_event_parse_latency):
10037 Add new LATENCY event to configure latency in a pipeline.
10038 API: gst_event_new_latency
10039 API: gst_event_parse_latency
10041 * gst/gstmessage.c: (gst_message_new_buffering),
10042 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10043 (gst_message_new_latency), (gst_message_parse_buffering),
10044 (gst_message_parse_lost_preroll):
10045 * gst/gstmessage.h:
10046 Added messages used in draft-latency.
10047 API: gst_message_new_lost_preroll
10048 API: gst_message_parse_lost_preroll
10049 API: gst_message_new_prerolled
10050 API: gst_message_new_latency
10052 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10053 (gst_query_parse_latency):
10055 Implemented new latency query as in design doc.
10056 API: gst_query_new_latency
10057 API: gst_query_set_latency
10058 API: gst_query_parse_latency
10060 2007-02-02 Wim Taymans <wim@fluendo.com>
10062 * docs/design/draft-latency.txt:
10063 Slight redesign to allow for dynamic latency adjustments.
10065 * docs/design/part-negotiation.txt:
10068 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10070 reviewed by: Wim Taymans <wim@fluendo.com>
10072 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10073 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10074 Allow file://localhost/foo/bar URLs and correctly fail for every other
10075 hostname that one sets. This was gnomevfssrc is linked for those if
10076 installed as it can handle it (#403172)
10078 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10080 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10082 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10083 (unref_data), (gst_collect_pads_add_pad_full):
10084 * libs/gst/base/gstcollectpads.h:
10085 Don't put the previously added destroy notify in the GstCollectData
10086 struct as all it's padding is already used and we don't want to break
10087 ABI. Instead put in the pad's GObject data for now. This should be
10088 cleaned up for 0.11 (#402393).
10090 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10092 reviewed by: Wim Taymans <wim@fluendo.com>
10094 * docs/libs/gstreamer-libs-sections.txt:
10095 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10096 (unref_data), (gst_collect_pads_add_pad),
10097 (gst_collect_pads_add_pad_full):
10098 * libs/gst/base/gstcollectpads.h:
10099 API: Add function to specify a destroy notification for custom
10100 GstCollectData when adding new pads in GstCollectPads (#402393).
10102 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10105 Update Swedish translation (#378255).
10107 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10109 * docs/design/draft-klass.txt:
10110 Fix the previous change, this is a list of categories and not a hierarchy.
10112 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10114 * docs/design/draft-klass.txt:
10115 Add info about how to get a list of used classes.
10117 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10119 * plugins/elements/gsttypefindelement.c:
10120 (gst_type_find_element_chain_do_typefinding),
10121 (gst_type_find_element_change_state):
10122 Don't leak found caps in chain function (no idea why that never
10123 showed up as a leak anywhere).
10125 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10128 Fix and expand GstPluginDesc API docs.
10130 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10133 * gst/gstelementfactory.c:
10134 * gst/gstpadtemplate.h:
10137 * libs/gst/controller/gstcontroller.c:
10138 (gst_controlled_property_new):
10139 * tests/examples/controller/audio-example.c:
10142 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10145 comment about refining the xml deps
10147 * docs/manuals.mak:
10148 comments about moving away from jade for docs
10151 recommit the ifdefs to use the binary registry
10153 * gst/gstbin.c: (gst_bin_change_state_func):
10154 this break is obsolete
10156 * gst/gstelementfactory.h:
10157 better GST_ELEMENT_DETAILS docs, add comment about translation
10162 * gst/gstobject.c: (gst_signal_object_get_type):
10163 add G_UNLIKELY as usual
10165 * gst/gstpad.c: (gst_pad_event_default):
10166 add fall trhu comment
10168 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10169 (gst_registry_binary_initialize_magic),
10170 (gst_registry_binary_save_string),
10171 (gst_registry_binary_save_pad_template),
10172 (gst_registry_binary_save_feature),
10173 (gst_registry_binary_save_plugin),
10174 (gst_registry_binary_write_cache),
10175 (gst_registry_binary_check_magic),
10176 (gst_registry_binary_load_pad_template),
10177 (gst_registry_binary_load_feature),
10178 (gst_registry_binary_load_plugin),
10179 (gst_registry_binary_read_cache):
10180 comment typo and formatting
10182 * gst/gstutils.c: (gst_element_state_get_name),
10183 (gst_element_state_change_return_get_name):
10184 remove obsolete breaks
10186 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10187 add FIXME 0.11 and remove cpp comment
10189 2007-01-29 Edward Hervey <edward@fluendo.com>
10191 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10192 Fix print statement in an even more portable way.
10194 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10196 * docs/gst/gstreamer-sections.txt:
10198 API: add GST_ROUND_DOWN_* macros (#401781).
10200 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10202 * docs/gst/gstreamer.types.in:
10203 * gst/gstregistry.c: (gst_registry_class_init):
10204 Document registry signals and make gtk-doc pick them up (#401381).
10206 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10208 * docs/pwg/building-testapp.xml:
10209 Add some audioconverts and audioresample to the pipeline, and some
10210 more comments and error handling.
10212 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10214 * docs/manual/manual.xml:
10215 * docs/pwg/pwg.xml:
10216 Fix typo (#400987).
10218 2007-01-26 Wim Taymans <wim@fluendo.com>
10220 * gst/gstcaps.c: (gst_static_caps_get):
10221 Init caps flags too.
10223 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10225 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10227 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10228 If not using mmap'ed files try to seek to the end instead of the
10229 start to determine whether we can seek at all. This fixes the case
10230 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10231 seeks for everything afterwards fail. Fixes #400656
10233 2007-01-25 Wim Taymans <wim@fluendo.com>
10235 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10236 Add some refcount debugging.
10237 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10238 in multiple streaming threads.
10240 2007-01-25 Wim Taymans <wim@fluendo.com>
10242 Patch by: David Schleef <ds at schleef dot org>
10244 * docs/libs/gstreamer-libs-sections.txt:
10245 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10246 * libs/gst/base/gstadapter.h:
10247 API: gst_adapter_copy() that can reduce the amount of memcpy when
10248 getting data from the adapter. Fixes #388201.
10250 2007-01-25 Edward Hervey <edward@fluendo.com>
10252 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10253 In print statements, "%x" is for guint. Fixes build on macosx.
10255 2007-01-24 Edward Hervey <edward@fluendo.com>
10257 * plugins/elements/gstmultiqueue.c:
10258 (gst_multi_queue_loop):
10260 (single_queue_overrun_cb), (single_queue_underrun_cb),
10261 (single_queue_check_full), (gst_single_queue_new):
10262 Implement single queue growth system.
10263 This uses the extra-size properties, and will grow single queues by
10264 that much if one goes full whereas there are others empty. This is
10265 called extra-mode in the code.
10266 When a single queue's levels go back below the initial max-size
10267 limits, it is no longer in extra-mode. This is to ensure we don't
10268 consume too much memory.
10271 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10273 * gst/gst.c: (gst_init_get_option_group):
10274 Make warning about late g_thread_init() calls a bit more explicit,
10275 so that it's more obvious to application developers what they need
10276 to do if a user files a bug against their application.
10278 2007-01-22 Edward Hervey <edward@fluendo.com>
10280 * plugins/elements/gstmultiqueue.c:
10281 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10282 Remove previous hack of unsetting the flushing flag for the source pad
10283 instead of activating it. Instead, fix the source pad activate function
10284 so that it no longer depends on having a parent set or not.
10286 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10288 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10290 * docs/manual/basics-bus.xml:
10291 Fix example code, gst_element_unref() doesn't exist any longer.
10293 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10295 Patch by: Mark Nauwelaerts <manauw at skynet be>
10298 Fix two docs typoes (#399094).
10300 2007-01-19 Edward Hervey <edward@fluendo.com>
10302 * docs/faq/gst-uninstalled:
10303 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10304 depending on libgstbaseutils can work in uninstalled environment.
10306 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10308 * gst/gsttaglist.h:
10309 * gst/gsttagsetter.c:
10310 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10311 statement for new tag.
10313 2007-01-17 Edward Hervey <edward@fluendo.com>
10315 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10316 When dynamically creating single queues, activate sinkpad before adding
10318 We should be doing the same thing for the source pad, but we can't
10319 since it would call a method which needs the parent to be set in order
10320 to work propertly. Instead of activating the source pad, we just unset
10321 the flushing flag, which is the minimal requirement for adding a pad
10322 to an element in a state greater than READY.
10324 2007-01-17 Edward Hervey <edward@fluendo.com>
10326 * docs/faq/gst-uninstalled:
10327 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10330 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10332 * tests/check/gst/gstabi.c:
10333 * tests/check/gst/struct_hppa.h:
10334 * tests/check/libs/libsabi.c:
10335 * tests/check/libs/struct_hppa.h:
10336 Add ABI structs for HPPA (see #393796).
10338 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10340 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10341 Actually write ABI structs to the file specified in the GST_ABI
10342 environment variable, as the message we print claims we would.
10344 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10346 * tests/check/gst/gsttask.c:
10347 Fix header comment.
10349 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10351 * gst/gsttaglist.c: (_gst_tag_initialize):
10352 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10353 previous two entries.
10355 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10357 * docs/gst/gstreamer-sections.txt:
10358 * gst/gsttaglist.c: (_gst_tag_initialize):
10359 * gst/gsttaglist.h:
10360 Add tag support for beat-per-minute.
10362 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10364 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10365 (gst_registry_binary_initialize_magic),
10366 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10367 (gst_registry_binary_save_pad_template),
10368 (gst_registry_binary_save_feature),
10369 (gst_registry_binary_save_plugin),
10370 (gst_registry_binary_write_cache),
10371 (gst_registry_binary_check_magic),
10372 (gst_registry_binary_load_pad_template),
10373 (gst_registry_binary_load_feature),
10374 (gst_registry_binary_load_plugin),
10375 (gst_registry_binary_read_cache):
10376 * gst/gstregistrybinary.h:
10377 Use glib types, cleanup comments, impement interfaces and uri-types.
10379 2007-01-13 Andy Wingo <wingo@pobox.com>
10381 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10382 getrange() to return buffers with other caps, while we fix
10383 demuxers and typefind, or otherwise change part-negotiation.txt.
10385 2007-01-12 Andy Wingo <wingo@pobox.com>
10387 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10388 Factor start/stop into this private function instead of partially
10389 in activate functions and partially in the change_state function.
10390 Fixes setup before the element has changed from READY->PAUSED, as
10391 is the case in pull-mode pipelines.
10392 (gst_base_transform_sink_activate_push)
10393 (gst_base_transform_src_activate_pull): Refactor to use
10394 gst_base_transform_activate().
10395 (gst_base_transform_change_state): Removed, not needed any more.
10397 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10398 Truncate before fixating.
10400 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10401 Don't set_caps() if the result of fixating is ANY, as it's not
10402 supported, and not necessary in the case of a link with no
10403 template caps on either side. Fixes tests/check/libs/basesrc in
10404 some pull-mode tests.
10406 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10407 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10408 (gst_base_transform_src_activate_pull):
10409 Track the activation mode.
10410 (gst_base_transform_setcaps): In pull mode, when activating the
10411 src pad, after activating the sink pad, activate the sink pad's
10412 peer, as discussed in part-negotiation.txt.
10414 * libs/gst/base/gstbasesrc.h:
10415 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10416 vmethod, as in basesink.
10418 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10420 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10421 mode, first proxy the setcaps to the peer pad.
10422 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10423 new fixate vmethod.
10424 (gst_base_sink_default_activate_pull): Rename from
10425 gst_base_sink_activate_pull.
10426 (gst_base_sink_negotiate_pull): New function, performs negotiation
10427 in pull mode before calling ::activate_pull().
10428 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10429 vmethod instead of the default implementation. I have no idea how
10430 this worked before. Negotiate before calling activate_pull.
10432 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10433 sink pads in pull mode. In addition to being correct, fixes
10434 filesrc ! decodebin ! identity ! fakesink.
10435 (gst_pad_get_range, gst_pad_pull_range): Don't call
10436 gst_pad_set_caps() if the caps changes; instead error out with
10437 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10439 2007-01-12 Andy Wingo <wingo@pobox.com>
10441 * docs/design/part-negotiation.txt: Update with more policy.
10443 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10445 * libs/gst/check/gstbufferstraw.h:
10446 * libs/gst/check/gstcheck.h:
10447 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10450 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10452 * tests/check/Makefile.am:
10453 * tests/check/gst/.cvsignore:
10454 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10455 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10456 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10457 (GST_START_TEST), (gst_tag_setter_suite):
10458 Add minimal unit test for beforementioned GstTagSetter bug.
10460 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10462 Patch by: René Stadler <mail at renestadler dot de>
10464 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10465 gst_tag_list_merge() returns a new list, so it's not the best idea
10466 to ingore its return value. Effectively meant that tags could only
10467 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10468 Also add function guard to require a non-NULL taglist as input (has
10469 always been so due to gst_tag_list_copy(), just making it explicit).
10471 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10473 * docs/random/draft-missing-plugins.txt:
10474 Some additions: mention new API that is supposed to be used at the
10475 various stages; short blob about new gst-inspect introspection
10476 option; mention potential future problem with plugins that have
10477 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10479 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10481 * tools/gst-inspect.c:
10482 (print_plugin_automatic_install_info_codecs),
10483 (print_plugin_automatic_install_info_protocols),
10484 (print_plugin_automatic_install_info), (main):
10485 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10486 introspect plugin files and get machine-parsable output that corresponds
10487 to the last bit of the missing-plugin installer string (small gotcha:
10488 doesn't take into account ranks).
10490 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10493 * docs/gst/gstreamer-sections.txt:
10495 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10496 (gst_registry_lookup_locked):
10497 * gst/gstregistry.h:
10498 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10499 (gst_registry_binary_initialize_magic),
10500 (gst_registry_binary_save_string),
10501 (gst_registry_binary_save_pad_template),
10502 (gst_registry_binary_save_feature),
10503 (gst_registry_binary_save_plugin),
10504 (gst_registry_binary_write_cache),
10505 (gst_registry_binary_check_magic),
10506 (gst_registry_binary_load_pad_template),
10507 (gst_registry_binary_load_feature),
10508 (gst_registry_binary_load_plugin),
10509 (gst_registry_binary_read_cache):
10510 * gst/gstregistrybinary.h:
10511 * gst/gstregistryxml.c: (load_feature),
10512 (gst_registry_xml_read_cache):
10513 commit binary registry (disabled by default, see #359653)
10515 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10517 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10518 Fix 'make check' too.
10520 2007-01-10 Andy Wingo <wingo@pobox.com>
10522 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10525 * docs/design/part-negotiation.txt: Update with, um, one way that
10526 pull-mode negotiation might work?
10529 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10530 that the pad must be a src pad; makes sense to call it the other
10531 way in pull mode, and the logic is symmetric anyway.
10533 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10535 * plugins/elements/gstfilesink.c:
10536 Include <stdio.h> for fseeko().
10538 2007-01-10 Wim Taymans <wim@fluendo.com>
10542 Reserve LATENCY event.
10544 2007-01-09 Wim Taymans <wim@fluendo.com>
10546 * docs/design/draft-latency.txt:
10549 2007-01-09 Wim Taymans <wim@fluendo.com>
10551 * docs/design/draft-latency.txt:
10554 * gst/gstelement.h:
10555 * gst/gststructure.c:
10559 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10561 * tests/check/.cvsignore:
10562 Ignore test-registry.xml as well.
10564 2007-01-09 Wim Taymans <wim@fluendo.com>
10566 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10567 unref data at the end when we are done with the pad.
10569 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10571 * docs/gst/gstreamer-sections.txt:
10572 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10573 (init_post), (gst_deinit), (gst_update_registry):
10575 API: add gst_update_registry() (#391296).
10577 * tests/check/Makefile.am:
10578 * tests/check/gst/gstregistry.c:
10579 * tests/check/gst/.cvsignore:
10580 Simple unit test for the above.
10582 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10584 * gst/gstregistry.c: (gst_registry_scan_path_level):
10585 Plugin extension on HP-UX is .sl, add that to the list of approved
10586 plugin extensions (see #393796).
10588 * tests/check/gst/gstpad.c: (GST_START_TEST):
10589 ulong => gulong. Fixes compilation with HP-UX compiler.
10591 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10592 Fix compilation if valgrind headers are not available.
10594 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10596 * win32/common/libgstreamer.def:
10597 Add new exported function.
10598 * win32/vs6/libgstbase.dsp:
10599 Add gstdataqueue.c to the build.
10600 * win32/vs6/libgstcoreelements.dsp:
10601 Add gstmultiqueue.c to the build.
10603 2007-01-06 Andy Wingo <wingo@pobox.com>
10605 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10606 activate_pull(), providing for a way to specialize the process of
10607 spawning a thread to pull on the sink pad. There is a default
10610 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10611 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10612 (gst_base_sink_init): Renamed pad activation functions (inserting
10613 "_pad" in their names). Refactor to use the new activate_pull
10614 vmethod, as appropriate.
10615 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10616 default activate_pull function to start a task pulling from the
10617 sink pad, as before.
10619 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10620 on the pads if necessary, as in push()/chain(). Update docs.
10621 Shouldn't affect existing pull() usage as it is currently only
10622 being used on buffers without caps.
10624 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10626 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10628 Call g_thread_init() first thing in gst_init() / gst_check_init().
10629 When initialisation is done via gst_init_get_option_group() and
10630 GOption parsing, issue a warning if the GLib thread system has not
10631 been initialised yet by the time gst_init_get_option_group() is
10632 called, as it's quite likely other GLib functions such as
10633 g_option_context_new() have been called already then, and
10634 g_thread_init() must be called before any other GLib function. The
10635 application in question must be fixed in that case, since memory
10636 corruption might happen otherwise.
10637 We issue the warning because even if the GLib folks decide to work
10638 around the problem on their end in future, this is still an issue
10639 with all GLib versions >= 2.10.0, so we should warn until we depend
10640 on a GLib version we know to be safe.
10641 Update documentation as well.
10642 Closes bug #391278.
10644 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10646 * tools/gst-inspect.c: (main):
10647 * tools/gst-launch.c: (main):
10648 * tools/gst-typefind.c: (main):
10649 * tools/gst-xmlinspect.c: (main):
10650 Call g_thread_init() really really early, before any other GLib
10651 function (see #342564 and recent discussion on gtk-devel-list).
10653 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10655 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10657 * gst/gst_private.h:
10658 * gst/gstconfig.h.in:
10660 On win32, all the __declspec stuff for symbol exporting is
10661 apparently only needed with MSVC, but doesn't work with MingW.
10662 Fixes compilation with MingW and #391909.
10664 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10666 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10667 Change some GST_ERROR_OBJECT that aren't really errors to
10668 GST_WARNING_OBJECT in order to reduce terminal spam.
10670 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10672 * tests/check/Makefile.am:
10673 disable test again, as there seem to be still race problems
10675 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10677 * tests/check/Makefile.am:
10678 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10679 (GST_START_TEST), (queue_suite):
10680 enable queue test again, add tests for the leaky behaviour
10682 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10685 * tests/examples/Makefile.am:
10686 Compile adapter test/example only if the required headers are
10687 available (fixes #391915).
10689 2007-01-01 David Schleef <ds@schleef.org>
10692 Restore the previous signal handler for SIGSEGV instead of
10693 setting to default, since we may have stolen it away from
10694 someone. (i.e., Mono)
10696 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10698 * docs/random/draft-missing-plugins.txt:
10699 Some small additions and clarifications.
10701 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10703 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10704 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10705 since that can lead to random memory corruptions and crashes
10706 (may or may not be related to #383244, #386711, and #386711).
10708 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10710 * tests/check/.cvsignore:
10711 * tests/check/Makefile.am:
10712 sync .cvsignome and CLEANFILES
10714 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10716 * tests/check/Makefile.am:
10719 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10721 * docs/design/part-states.txt:
10722 two tiny additional comments
10724 * gst/gststructure.c:
10727 * tests/check/Makefile.am:
10728 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10730 disable test for now, unless it gets fixed
10732 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10734 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10736 fix race in underrun test
10738 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10740 * tests/check/elements/.cvsignore:
10743 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10745 try to narrow test failure
10747 2006-12-21 David Schleef <ds@schleef.org>
10749 * plugins/elements/gstfakesrc.c:
10750 Use g_random_int_range(), since it produces better random
10751 numbers in a range than almost-correct floating point code.
10753 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10755 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10756 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10757 (gst_check_teardown_sink_pad):
10758 do not automatically (de)activate pads
10760 * tests/check/Makefile.am:
10761 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10762 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10763 add new, yet simple tests for queue
10765 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10766 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10767 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10769 * tests/check/elements/identity.c: (cleanup_identity):
10770 consistent pad (de)activation
10772 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10774 Patch by: Sebastian Dröge <slomo ubuntu com>
10776 * libs/gst/base/gstcollectpads.c:
10777 Fix two doc typos (#387866).
10779 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10781 * docs/manual/advanced-dparams.xml:
10782 Fix typo (g_object_control_properties() doesn't exist).
10784 2006-12-19 Edward Hervey <edward@fluendo.com>
10786 * gst/gstsegment.c: (gst_segment_set_seek):
10787 Fine tune the cases where the segment start/stop values are really
10789 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10790 Add tests for the return values of gst_segment_set_seek().
10792 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10797 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10799 Fix incorrect documentation and flesh it out a bit more.
10800 Set default values for the max properties on the GParamSpec as well,
10801 so it shows up correctly in gst-inspect.
10803 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10805 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10806 Correct docs of queue, add more detail and crosslink it more.
10808 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10810 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10811 Print additional debug info when the stream isn't perfectly
10812 timestamped; don't try to use invalid durations.
10814 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10816 * docs/design/Makefile.am:
10817 Dist new design docs.
10819 2006-12-16 Wim Taymans <wim@fluendo.com>
10821 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10823 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10824 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10825 (gst_collect_pads_stop), (gst_collect_pads_event),
10826 (gst_collect_pads_chain):
10827 * libs/gst/base/gstcollectpads.h:
10828 Add refcounting to the collectpads data so we can track when it's safe
10829 to free the data. Fixes #383382.
10831 2006-12-15 Wim Taymans <wim@fluendo.com>
10833 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10834 (gst_collect_pads_remove_pad):
10835 Automatically activate/deactivate pads when they are added to a
10836 started/stoped collectpads.
10838 2006-12-15 Wim Taymans <wim@fluendo.com>
10840 * gst/gstelement.c: (gst_element_add_pad):
10841 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10842 * gst/gstpad.c: (gst_pad_init):
10843 Set pads to FLUSHING when they are created. Check, warn and fix when a
10844 demuxer adds an inactive pad to itself when running. Fixes #339326.
10846 2006-12-15 Wim Taymans <wim@fluendo.com>
10848 * gst/gstelement.c: (gst_element_class_init),
10849 (gst_element_default_send_event), (gst_element_send_event),
10850 (gst_element_default_query), (gst_element_query):
10851 Expose default element send_event and query handling as vmethods that
10852 subclasses can chain up to.
10854 2006-12-15 Wim Taymans <wim@fluendo.com>
10856 * gst/gstelement.c: (gst_element_set_state_func):
10857 Small documentation fixes.
10859 2006-12-15 Wim Taymans <wim@fluendo.com>
10861 * docs/design/draft-latency.txt:
10862 Checked in draft for handling latency in pipelines.
10864 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10868 * gstreamer.spec.in:
10871 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10873 * gst/gst.c: (init_pre), (init_post):
10874 init_pre() and init_post() might be called via our GOptionGroup or
10875 from gst_init(), and we should skip both of them if we've already
10876 been initialised, otherwise we will init some things twice or add
10877 two default log functions.
10879 2006-12-13 Edward Hervey <edward@fluendo.com>
10881 * docs/manual/basics-bus.xml:
10882 No, gst_main_loop does not exist. Its g_main_loop.
10883 Discovered by somebody who abused the copy-paste technique of coding :)
10885 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10887 * gst/gstghostpad.c:
10888 Log ghostpad debug stuff to the GST_PADS category as well rather
10889 than just to the default category.
10891 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10894 * gst/gst.c: (init_pre):
10895 Add some basic system details such as OS and architecture
10896 to the debug output if possible, courtesy of uname().
10898 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10900 * docs/gst/running.xml:
10901 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10902 environment variables.
10904 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10906 * tests/check/gst/gstbin.c: (GST_START_TEST):
10907 It is acceptable to have a refcount of 2 or 3 at this point in the
10908 test, because the pipeline might be just posting its state_change
10909 message. The next line then waits for that message to appear using
10910 bus_poll, so that should be fine too.
10912 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10914 * gst/gst.c: (ensure_current_registry_forking):
10915 Ignore EINTR when reading from the child registry pipe.
10916 Explicitly ignore the return value from close, since it makes no
10919 * gst/gstminiobject.c: (gst_mini_object_ref),
10920 (gst_mini_object_unref):
10921 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10923 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10924 When removing cached plugins, remove their features too, so they're
10925 not visible after they've disappeared.
10927 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10928 In the unlikely case that we are linking pads with no parents, don't
10929 crash trying to get the non-existent parent bin.
10931 * gst/parse/grammar.y:
10932 Output debug in the PIPELINE category
10934 2005-03-08 Wim Taymans <wim@fluendo.com>
10936 Patch by: René Stadler <mail at renestadler dot de>
10938 * gst/gstclock.c: (gst_clock_new_periodic_id):
10939 Reject invalid clock times for interval of periodic ids.
10942 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10944 * gst/gstelementfactory.c: (gst_element_factory_create):
10945 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10946 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10947 * tools/gst-inspect.c: (print_element_info):
10948 Fix refcounting of gst_plugin_feature_load to match the docs.
10951 2006-12-07 Wim Taymans <wim@fluendo.com>
10953 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10954 (gst_base_sink_get_position):
10955 Improve debugging of events.
10957 2006-12-07 Wim Taymans <wim@fluendo.com>
10959 Patch by: René Stadler <mail at renestadler dot de>
10961 * gst/gstclock.c: (gst_clock_id_wait):
10962 Make period ids add the interval to the origial requested time instead
10963 of the possibly updated time which can be wrong when there are multiple
10964 waiters for the same id. Fixes #382592.
10966 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10967 (gst_system_clock_id_wait_jitter_unlocked),
10968 (gst_system_clock_id_wait_jitter):
10969 Fix restart in the async notify thread when an async entry is added to
10970 the front of the list. Fixes #381492.
10972 * tests/check/gst/gstsystemclock.c: (store_callback),
10973 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10974 Added test for multiple async waits.
10975 Added test for async wait order.
10977 2006-12-07 Wim Taymans <wim@fluendo.com>
10979 * gst/gstbin.c: (gst_bin_query):
10980 Add some more docs about the POSITION query.
10982 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10985 Bump version nano - back to CVS.
10987 === release 0.10.11 ===
10989 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10992 releasing 0.10.11, "Love never runs on time"
10994 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10996 * win32/common/libgstbase.def:
10997 * win32/common/libgstreamer.def:
10998 * win32/vs8/libgstbase.vcproj:
10999 * win32/vs8/libgstcoreelements.vcproj:
11000 * win32/vs8/libgstreamer.vcproj:
11001 Fix compilation on win32 under VS8
11002 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11003 Partially fixes #381175
11005 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11007 * gst/gstvalue.c: (gst_value_compare_fraction):
11008 If someone is foolish enough to compare 2 fractions with denominator =
11009 0, return UNORDERED rather than aborting.
11011 2006-11-28 Edward Hervey <edward@fluendo.com>
11013 * libs/gst/base/Makefile.am:
11014 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11015 (gst_data_queue_base_init), (gst_data_queue_class_init),
11016 (gst_data_queue_init), (gst_data_queue_new),
11017 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11018 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11019 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11020 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11021 (gst_data_queue_set_flushing), (gst_data_queue_push),
11022 (gst_data_queue_pop), (gst_data_queue_drop_head),
11023 (gst_data_queue_set_property), (gst_data_queue_get_property):
11024 * libs/gst/base/gstdataqueue.h:
11025 New GstDataQueue object for threadsafe queueing. Most useful for
11026 elements that need some queueing functionnality.
11027 * docs/libs/gstreamer-libs-docs.sgml:
11028 * docs/libs/gstreamer-libs-sections.txt:
11029 Insert documentation for GstDataQueue
11030 * plugins/elements/Makefile.am:
11031 * plugins/elements/gstelements.c:
11032 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11033 (gst_multi_queue_class_init), (gst_multi_queue_init),
11034 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11035 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11036 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11037 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11038 (gst_multi_queue_loop), (gst_multi_queue_chain),
11039 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11040 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11041 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11042 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11043 (wake_up_next_non_linked), (compute_next_non_linked),
11044 (single_queue_overrun_cb), (single_queue_underrun_cb),
11045 (single_queue_check_full), (gst_single_queue_new):
11046 * plugins/elements/gstmultiqueue.h:
11047 New multiqueue element, using GstDataQueue. Used for queuing multiple
11049 Closes #344639 and #347785
11051 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11053 * docs/pwg/advanced-types.xml:
11054 add more missing type details
11056 * tools/gst-run.c: (main):
11057 remove unused variable
11059 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11061 * docs/libs/Makefile.am:
11062 * docs/libs/gstreamer-libs.types:
11063 add types of base classes to enable gobject specific stuff in the docs
11065 * docs/random/ensonic/embedded.txt:
11066 more ideas about isolating platform specific things
11068 2006-11-20 Wim Taymans <wim@fluendo.com>
11070 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11072 * libs/gst/check/gstcheck.h:
11073 Fix compilation and running against 0.9.4. Fixes #377332.
11075 2006-11-20 Wim Taymans <wim@fluendo.com>
11077 * gst/gstsegment.c: (gst_segment_set_seek),
11078 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11079 (gst_segment_to_running_time):
11080 Fix boundary checking in to_running_time() and to_stream_time().
11083 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11084 stream and running time can now be calculated for the complete
11087 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11089 * gst/gstpad.c: (gst_pad_push_event):
11090 Can't access event structure after giving away ownership of
11093 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11095 * docs/random/ensonic/embedded.txt:
11096 * docs/random/ensonic/profiling.txt:
11097 * docs/random/ensonic/receipies.txt:
11100 2006-11-13 Wim Taymans <wim@fluendo.com>
11102 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11105 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11107 2006-11-13 Wim Taymans <wim@fluendo.com>
11109 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11111 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11112 Store new length in segment duration so we don't keep on calling the
11113 potentially expensize get_size() call. Fixes #370865.
11115 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11117 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11119 * win32/common/libgstreamer.def:
11120 Add two missing symbols (#366492).
11122 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11124 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11125 (gst_adapter_take_buffer):
11126 Fix format string to use all its arguments.
11127 Remove useless >= check on a guint
11129 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11131 * tests/examples/adapter/.cvsignore:
11132 Ignore build file as commanded by the build-bot
11134 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11136 * tests/examples/adapter/Makefile.am:
11137 * tests/examples/adapter/adapter_test.c: (run_test_take),
11138 (run_test_take_buffer), (run_tests), (main):
11140 Add new files from the previous commit
11142 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11146 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11147 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11148 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11149 * libs/gst/base/gstadapter.h:
11150 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11151 (GST_START_TEST), (gst_adapter_suite):
11152 * tests/examples/Makefile.am:
11153 Do some optimisation work in GstAdapter to avoid copies in more cases.
11154 It could still do slightly better by merging buffers when
11155 gst_buffer_is_span_fast is true, but is already faster.
11157 Also, avoid traversing a single-linked list to append each incoming
11158 buffer inside the adapter.
11160 Add simple test app that times the adapter behaviour in different
11161 situations, and extend the unit test to check that bytes enter and
11162 exit the adapter in their original order.
11164 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11166 * docs/random/draft-missing-plugins.txt:
11167 Update: use element message instead of adding a new message
11168 type to the core; don't provide GStreamer API to initiate the
11169 plugin download, just provide API to compose the strings needed
11170 and let an external libgimmestuff handle the rest.
11172 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11174 * tools/gst-inspect.c: (print_element_properties_info):
11175 Print a string instead of 'unknown type' for GValueArray properties
11177 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11179 * docs/random/draft-missing-plugins.txt:
11182 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11184 * tests/examples/typefind/typefind.c: (type_found), (main):
11185 Make typefind element example work again (#371894); add a
11188 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11190 * docs/random/draft-missing-plugins.txt:
11191 Commit initial draft about how to deal with missing plugins,
11192 needs work (API too).
11194 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11196 * docs/pwg/advanced-types.xml:
11197 documents the new caps elements (see #363118)
11199 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11201 * gst/gstplugin.c: (gst_plugin_load_file):
11202 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11203 (gst_file_src_map_region), (gst_file_src_start):
11204 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11205 (gst_file_index_commit):
11206 Use g_strerror() instead of strerror() - we want UTF-8.
11208 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11210 Patch by: Peter Kjellerstedt <pkj at axis com>
11212 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11213 Another printf fix (#371493).
11215 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11217 * tests/check/gst/gsttag.c:
11218 relicence (okay with author=company)
11220 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11222 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11223 (gst_pad_push_event):
11224 Enhance debug and improve docs
11229 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11231 * docs/random/ensonic/distributed.txt:
11232 * docs/random/ensonic/profiling.txt:
11235 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11237 * docs/gst/gstreamer-sections.txt:
11238 add new API and fix the build
11240 * gst/gstbin.c: (gst_bin_recalc_state):
11241 * gst/gstelement.c: (gst_element_message_full),
11242 (gst_element_get_state_func), (gst_element_set_state_func):
11243 use new API and improve logging
11245 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11247 API: add function to get StateChangereturn names to improve logs
11249 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11251 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11252 I'm considering shooting the next person to put strerror stuff
11253 in the translateable part of the message.
11255 2006-11-03 Wim Taymans <wim@fluendo.com>
11257 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11258 Get the type and printf conversion specifiers right.
11260 2006-11-03 Wim Taymans <wim@fluendo.com>
11262 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11264 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11265 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11266 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11267 Some small cleanups. Improve debugging.
11269 Signal all waiting threads with a broadcast instead of just one.
11272 2006-11-03 Wim Taymans <wim@fluendo.com>
11274 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11275 (gst_fd_src_create):
11276 Add some debugging.
11277 Only update fd when it's different from the old.
11279 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11281 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11282 Printf fixes for PPC/OSX, take two (#369366).
11284 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11286 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11288 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11289 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11290 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11291 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11292 don't cast to long long for portability reasons, but use
11293 GLib's types instead.
11295 2006-10-30 Michael Smith <msmith@fluendo.com>
11297 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11298 Get the arguments to lseek() the right way around.
11301 2006-10-30 Wim Taymans <wim@fluendo.com>
11303 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11306 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11308 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11310 Patch by: Kjartan Maraas <kmaraas at gnome org>
11312 * docs/design/part-MT-refcounting.txt:
11313 * docs/random/wtay/capsnego2-docs:
11316 Typo fixes (#366212).
11318 2006-10-28 Wim Taymans <wim@fluendo.com>
11320 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11323 * win32/common/libgstbase.def:
11324 * win32/common/libgstreamer.def:
11325 * win32/vs8/libgstbase.vcproj:
11326 * win32/vs8/libgstcontroller.vcproj:
11327 Add needed entries in .def files.
11329 Rearrange def files in vs8 solutions. Fixes #366286.
11331 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11333 * win32/common/gstconfig.h:
11334 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11335 hand-made win32 gstconfig.h. Fixes #366321.
11337 2006-10-27 Wim Taymans <wim@fluendo.com>
11339 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11340 (gst_ghost_pad_new_full):
11341 Make acceptcaps return TRUE when we don't have a target, just like
11344 2006-10-27 Wim Taymans <wim@fluendo.com>
11346 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11347 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11349 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11351 * gst/gststructure.c: (gst_structure_id_set_value):
11352 If someone tries to set a non-UTF8 string field on a structure,
11353 don't just print a warning, but also ignore the request and do
11354 not change/add that field to the structure.
11356 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11357 Test for the above.
11359 2006-10-25 David Schleef <ds@schleef.org>
11362 g_hash_table_insert() needs a cast to a non-const pointer duh.
11364 2006-10-25 David Schleef <ds@schleef.org>
11368 Change name parameter of _gst_debug_register_funcptr to const
11369 to reflect the constness of its use in the function as well
11370 as to quiet a gcc warning.
11372 2006-10-25 Edward Hervey <edward@fluendo.com>
11374 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11375 Don't push the buffer if it's empty.
11378 2006-10-24 Wim Taymans <wim@fluendo.com>
11383 * libs/gst/base/gstbasetransform.c:
11384 (gst_base_transform_sink_eventfunc):
11385 Debug segment values *after* updating them as this is more
11388 2006-10-23 Wim Taymans <wim@fluendo.com>
11390 * docs/design/part-events.txt:
11393 * docs/design/part-block.txt:
11394 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11395 (gst_pad_push_event):
11396 Revert BLOCKING patch, it tries to be smart without really having a
11397 clear idea what or how. So, now we discard all FLUSHING events again on
11398 a blocking pad. Should fix gnonlin again.
11400 2006-10-23 Wim Taymans <wim@fluendo.com>
11402 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11404 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11405 (gst_base_src_start), (gst_base_src_activate_push):
11406 Make sure size is always initialized. Fixes #364388.
11408 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11410 * docs/random/ensonic/distributed.txt:
11411 add some ideas about doing distributed processing
11413 * docs/random/ensonic/profiling.txt:
11414 get_rusage look promising
11416 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11418 * docs/manual/basics-helloworld.xml:
11419 Add a cast in example to fix compile warning
11421 2006-10-18 Wim Taymans <wim@fluendo.com>
11423 * gst/gstsegment.c: (gst_segment_set_last_stop),
11424 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11425 Relax arg checking again, -1 is allowed.
11427 2006-10-18 Wim Taymans <wim@fluendo.com>
11429 * gst/gstsegment.c: (gst_segment_set_last_stop),
11430 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11431 _set_last_stop() must be with a value != -1
11432 A _TYPE_SET to -1 means seek to 0.
11433 Calc last_stop correctly for negative rates.
11434 Make sure we work with positive durations when updating a segment.
11436 2006-10-18 Wim Taymans <wim@fluendo.com>
11438 * docs/design/part-live-source.txt:
11442 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11445 Add an explicit cast to GstBuffer** to keep old code that added an
11446 explicit cast to GstMiniObject** for gst_mini_object_replace()
11447 compiling without warning.
11449 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11451 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11452 check for validity of dates
11454 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11456 * docs/gst/gstreamer-sections.txt:
11457 Forgot this one, makes gtk-doc shut up.
11459 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11461 Patch by: Peter Kjellerstedt <pkj at axis com>
11464 Don't define xmlNodePtr to gpointer if the core was built with
11465 --disable-loadsave and --disable-registry, this will break
11466 applications that want to use libxml2 but are buildling against a
11467 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11468 instead so we don't have to mess with the libxml2 namespace
11471 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11474 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11475 type-punned pointer warnings.
11477 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11479 * gst/gstelement.h:
11480 Add casts to the correct return type to state <=> state transition
11483 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11485 * docs/design/part-live-source.txt:
11486 describe howto handle latency
11488 * docs/random/ensonic/profiling.txt:
11491 * tools/gst-plot-timeline.py:
11492 fix log parsing for solaris, remove unused function
11494 2006-10-16 Wim Taymans <wim@fluendo.com>
11496 * docs/design/part-trickmodes.txt:
11498 Update some docs regarding reverse playback.
11500 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11502 Patch by: Marcus Granado <mrc dot gran at gmail com>
11504 * win32/vs8/grammar.vcproj:
11505 Error out with a warning if glib-genmarshal.exe is not in path,
11506 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11508 2006-10-13 Wim Taymans <wim@fluendo.com>
11510 * gst/gstsegment.c: (gst_segment_set_seek):
11511 When seeking to stop -1, set last_stop (current position) to the
11512 duration of the segment.
11514 2006-10-13 Wim Taymans <wim@fluendo.com>
11516 * gst/gstelement.h:
11517 Clarify _NO_PREROLL a bit more.
11522 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11523 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11524 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11525 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11526 due to wrong locking order. Fixes #361769.
11527 Remove some redundant/misplaced checks in pad_block.
11529 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11530 For negative rates, count backwards from the duration.
11532 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11534 * gst/gsterror.c: (_gst_library_errors_init):
11535 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11536 up with something better).
11538 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11540 * win32/vs6/libgstreamer.dsp:
11541 * win32/vs7/libgstreamer.vcproj:
11542 * win32/vs8/libgstreamer.vcproj:
11543 Don't reference glib-compat.c which is currently not used and not
11544 disted; add gstquark.c which was recently added. Fixes #361730.
11546 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11548 * win32/common/libgstbase.def:
11549 * win32/common/libgstcontroller.def:
11550 * win32/common/libgstreamer.def:
11551 Add gst_caps_merge() and a bunch of other recently-added functions.
11554 2006-10-11 Wim Taymans <wim@fluendo.com>
11556 * docs/plugins/gstreamer-plugins.args:
11557 * docs/plugins/inspect/plugin-coreelements.xml:
11558 * docs/plugins/inspect/plugin-coreindexers.xml:
11559 Update element args.
11561 * gst/gstsystemclock.c:
11562 Small comment update.
11564 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11565 (gst_tee_request_new_pad), (gst_tee_release_pad),
11566 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11567 (gst_tee_sink_activate_pull):
11568 * plugins/elements/gsttee.h:
11570 Add default property defines.
11571 Implement release pad function.
11572 Give properties better blubs etc.
11573 Activate pads before adding them to a running tee.
11574 Do simple buffer_alloc on the first requested pad.
11575 Post error when activation fails.
11577 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11579 * gst/gst.c: (ensure_current_registry_forking):
11580 Check return value of write() to make compiler happy.
11582 2006-10-11 Wim Taymans <wim@fluendo.com>
11584 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11586 * plugins/elements/gstqueue.c: (gst_queue_chain):
11587 Recheck queue filledness after signalling the overrun when we're about
11588 to leak downstream because we released the lock when emitting the signal
11589 and the queue could be empty again. Fixes #352345.
11591 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11593 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11594 Fix refcounting here too, just like we did for _new_valist() a few
11595 days ago (#357180) (thanks to René Stadler). Also remove all those
11596 'Since: 0.9' from the gtk-doc blobs.
11598 * tests/check/libs/controller.c: (controller_refcount_new_list),
11599 (gst_controller_suite):
11600 Unit test for the above.
11602 2006-10-10 Wim Taymans <wim@fluendo.com>
11604 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11606 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11607 (gst_pad_save_thyself):
11609 Write pad direction in XML output. Fixes #345496.
11611 2006-10-10 Wim Taymans <wim@fluendo.com>
11613 Patch by: René Stadler <mail at renestadler dot de>
11615 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11616 (gst_controller_new_list), (_gst_controller_dispose),
11617 (_gst_controller_finalize), (_gst_controller_class_init):
11618 Take ref to controlled object so that it cannot disappear.
11621 2006-10-10 Wim Taymans <wim@fluendo.com>
11623 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11624 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11625 (gst_check_teardown_sink_pad):
11626 Activate/deactivate pads in setup/teardown respectively.
11628 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11630 Patch by: Josep Torra Valles <josep@fluendo.com>
11633 Cast values when making gstenumtypes.h. This pacifies Forte
11634 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11635 in the enumeration.
11637 2006-10-09 Wim Taymans <wim@fluendo.com>
11639 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11640 Rename some more @cur to @start to fix docs.
11642 * gst/gstsegment.c: (gst_segment_set_seek):
11644 time and start must always stay in sync as defined in design doc.
11646 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11647 Rename param to fix docs.
11649 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11650 Check that start and time are in sync.
11652 * tests/check/pipelines/parse-launch.c:
11653 (gst_parse_test_element_change_state):
11654 Activate pad before adding to the element.
11656 2006-10-09 Wim Taymans <wim@fluendo.com>
11658 * docs/design/part-qos.txt:
11663 Update seek event docs regarding negative rates.
11664 Rename @cur to @start.
11666 * gst/gstsegment.c: (gst_segment_set_seek):
11667 * gst/gstsegment.h:
11668 Update set_seek docs regarding negative rates.
11669 Correctly update last_stop to @stop when dealing with negative
11671 Rename @cur to @start.
11673 * tests/check/gst/gstpad.c: (GST_START_TEST):
11674 Activate pads before trying to use them.
11676 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11677 (gst_segment_suite):
11678 Add simple check for segments and negative rates.
11680 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11682 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11683 * gst/gsttaglist.h:
11684 * docs/gst/gstreamer-sections.txt:
11685 API: add gst_tag_list_is_empty() (#360467).
11687 * tests/check/gst/gsttag.c: (GST_START_TEST):
11690 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11692 * gst/gstmessage.h:
11693 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11694 a value that doesn't fit on enumeration.
11696 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11698 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11699 Remove local debugging system and use Gstreamer's instead.
11701 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11703 Patch by: Josep Torra Valles <josep@fluendo.com>
11705 * common/m4/gst-error.m4:
11706 Disable warning of statement not reached on Forte.
11707 * gst/gstmessage.h:
11708 Fix warning on Forte (value doesn't fit on enumeration).
11709 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11710 Fix warning on Forte (value doesn't fit on enumeration).
11711 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11712 DEBUG macro says it takes minimum of 2 args and so Forte
11713 complains about the use with just 1 arg.
11714 * plugins/elements/gstfdsink.c:
11715 * plugins/elements/gstfdsrc.c:
11716 * plugins/elements/gstfilesink.c:
11717 * plugins/elements/gstfilesrc.c:
11718 Use correct return type for the uri handler implementations.
11720 All these fix warnings in Forte. Fixes bug #360860.
11722 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11724 * gst/gstelement.h:
11725 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11726 format string, so don't use G_GNUC_PRINTF for those versions.
11728 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11730 * gst/gsttaglist.c: (gst_is_tag_list):
11731 * gst/gsttaglist.h:
11732 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11734 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11735 Small test for the above.
11737 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11739 * gst/gsttaglist.h:
11740 Less tabs, more spaces.
11742 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11745 Those two function declarations do actually belong there, revert
11746 commit from yesterday that turned them intro macros.
11748 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11750 Patch by: Josep Torra Valles <josep@fluendo.com>
11752 * gst/gst.c: (gst_init_get_option_group):
11753 Fix empty declaration and type mismatch.
11754 * gst/gstbin.c: (gst_bin_change_state_func):
11756 * gst/gstelement.c: (gst_element_continue_state),
11757 (gst_element_set_state_func), (gst_element_change_state),
11758 (gst_element_change_state_func):
11759 Fix type mismatches.
11760 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11761 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11762 Cast as appropriate.
11763 * gst/gstobject.c: (gst_class_signal_connect):
11764 Cast as appropriate. The function pointer parameter really
11765 has the wrong type but would break API if we change it.
11767 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11768 order of including string.h.
11769 * gst/gstutils.c: (gst_element_state_get_name):
11770 Remove unreachable line.
11771 * gst/gstxml.c: (gst_xml_parse_doc):
11773 All these caught by Forte.
11775 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11777 Patch by: Josep Torra Valles <josep@fluendo.com>
11779 * common/m4/gst-error.m4:
11781 We need to disable warnings on Forte for empty declarations
11782 due to gst-indent adding ;s to lines that just use macros
11783 where the macro actually doesn't need a ; at end to end
11786 2006-10-06 Wim Taymans <wim@fluendo.com>
11788 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11789 (gst_file_sink_close_file), (gst_file_sink_event),
11790 (gst_file_sink_render):
11791 Add some FIXME for the NEWSEGMENT handling.
11793 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11795 * gst/parse/grammar.y:
11796 Remove static function gst_parse_element_lock as all it does
11797 is return. Looks like cruft from 0.8.
11799 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11801 Patch by: Josep Torra Valles <josep@fluendo.com>
11803 * common/m4/gst-error.m4:
11805 * libs/gst/net/Makefile.am:
11806 Fix a compilation issue with Forte on Solaris. inet_aton is in
11809 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11811 * gst/gstpad.c: (pre_activate):
11812 * gst/gstregistry.c: (gst_registry_scan_path_level):
11813 * gst/gstregistryxml.c: (load_plugin):
11814 * libs/gst/controller/gstcontroller.c:
11815 (gst_controlled_property_set_interpolation_mode):
11816 * libs/gst/dataprotocol/dataprotocol.c:
11817 (gst_dp_packet_from_event_1_0):
11818 * libs/gst/net/gstnetclientclock.c:
11819 (gst_net_client_clock_observe_times):
11820 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11823 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11826 * docs/gst/gstreamer-sections.txt:
11827 * gst/gstconfig.h.in:
11828 * gst/gstelement.h:
11830 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11831 whether we can use G_GNUC_PRINTF in other header files and at
11832 least check the printf format/arguments of debug messages and
11833 GST_ELEMENT_ERROR messages when the printf extension is not
11835 Replace more tabs with spaces in gstinfo.h and remove two spurious
11836 function declarations in GST_DISABLE_DEBUG part with macros.
11838 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11840 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11841 More docs for the sync-message signal (mention that it is not
11842 emitted by default); log message structures of messages posted on
11845 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11847 * gst/gst.c: (ensure_current_registry_forking):
11848 Use a pipe pair to receive status results from the forked child, and
11849 ignore the result from waitpid. Fixes #355499
11851 2006-10-02 Wim Taymans <wim@fluendo.com>
11853 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11854 (gst_ghost_pad_suite):
11857 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11860 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11862 2006-10-02 Edward Hervey <edward@fluendo.com>
11864 * docs/design/part-block.txt:
11865 Further explain the use of flushing on blocked pads.
11866 * docs/gst/gstreamer-sections.txt:
11867 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11868 (gst_pad_push_event):
11870 Added new GstPadFlag : GST_PAD_BLOCKING.
11871 Adds the notion of pads really blocking, which enables to properly
11872 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11874 API: gst_pad_is_blocking()
11875 API: GST_PAD_IS_BLOCKING() macro
11876 API: GST_PAD_BLOCKING GstPadFlag
11878 2006-10-02 Wim Taymans <wim@fluendo.com>
11880 Patch by: mrcgran <mrc.gran at gmail dot com>
11882 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11883 Filter the proxied caps against the padtemplate if we have one.
11885 * gst/gstquery.c: (gst_query_new_segment):
11886 Add include for gstinfo.h so that compilation with
11887 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11889 2006-10-02 Wim Taymans <wim@fluendo.com>
11891 Patch by: Alessandro Decina <alessandro at nnva org>
11893 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11894 (gst_file_sink_set_location), (gst_file_sink_open_file),
11895 (gst_file_sink_close_file), (gst_file_sink_event),
11896 (gst_file_sink_render):
11897 Set file to NULL when closing filesink so that we can set a new filename
11898 in READY. Fixes #358613.
11900 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11902 Patch by: Alessandro Decina <alessandro at nnva org>
11904 * gst/gstevent.c: (_gst_event_copy):
11905 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11906 with event structures by setting the parent refcount address of the
11907 copied structure to the address of the refcount member of the newly
11908 copied event rather than the address of the refcount member of the
11909 original event. Fixes #358737.
11911 * tests/check/gst/gstevent.c: (GST_START_TEST):
11912 Unit test for the above.
11914 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11916 * docs/design/Makefile.am:
11917 Dist some more files.
11919 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11921 * tests/check/libs/controller.c: (GST_START_TEST),
11922 (gst_controller_suite):
11923 Add test for the previous fix; add some more tests
11924 for correct refcounting behaviour; fix a few leaks
11925 in test cases; call gst_controller_init() at start
11928 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11930 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11931 (gst_controller_set_from_list):
11932 Don't g_return_val_if_fail() on timed values with invalid timestamps
11933 inside a critical section without unlocking the mutex. Spotted by
11934 René Stadler. (#357617)
11935 Also, fix up refcounting properly: when returning an existing
11936 controller, we should increase the reference only once and not
11937 once per property and when trying to control a property again
11938 we should also increase the refcount.
11940 2006-09-29 Wim Taymans <wim@fluendo.com>
11942 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11943 * libs/gst/net/gstnettimeprovider.c:
11944 (gst_net_time_provider_thread):
11945 Stop reading commands when EOF as well.
11947 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11948 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11949 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11950 Unify description of the dump property.
11952 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11954 * tests/examples/manual/.cvsignore:
11955 OK, so it's actually cvsignore that needs changing. Stop laughing.
11957 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11959 * tests/examples/manual/Makefile.am:
11960 Gah, declare vars *before* using them
11962 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11964 * gst/gst.c: (init_pre), (scan_and_update_registry),
11965 (ensure_current_registry_nonforking),
11966 (ensure_current_registry_forking), (ensure_current_registry),
11967 (init_post), (gst_debug_help), (gst_deinit):
11968 * gst/gst_private.h:
11969 * gst/gstregistry.c: (gst_registry_finalize),
11970 (gst_registry_remove_features_for_plugin_unlocked),
11971 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11972 (gst_registry_scan_path),
11973 (_priv_gst_registry_remove_cache_plugins),
11974 (_priv_gst_registry_cleanup):
11975 * gst/gstregistry.h:
11976 Re-commit the registry changes, along with an extra fix:
11977 When a cached plugin is encountered at a different file path,
11978 update the stored path in the registry cache so that the parent
11979 process knows where it actually is now when it re-reads the registry
11980 cache. Fixes the thing that broke distcheck with the previous commit.
11982 * tests/check/Makefile.am:
11983 Clean up files named 'core' too when running make clean.
11985 * tests/examples/manual/Makefile.am:
11986 Set up a registry path for running these tests, and clean it properly
11989 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11992 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11993 want gmodule-no-export-2.0.pc instead so that we don't drag in
11994 --export-dynamic on every project that links to GStreamer.
11996 Also, make our export regex only match the start of symbols, rather
11997 than any symbol that contains '_gst' somewhere.
11999 * libs/gst/check/Makefile.am:
12000 The libgstcheck we build does however need export-dynamic, as it
12001 produces some symbols that don't match our _gst... style regex.
12004 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12006 * gst/gst.c: (init_pre), (scan_and_update_registry),
12007 (ensure_current_registry_nonforking),
12008 (ensure_current_registry_forking), (ensure_current_registry),
12009 (init_post), (gst_debug_help), (gst_deinit):
12010 * gst/gst_private.h:
12011 * gst/gstregistry.c: (gst_registry_finalize),
12012 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12013 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12014 (_gst_registry_cleanup):
12015 * gst/gstregistry.h:
12016 Revert previous change until I figure out why it breaks distcheck.
12018 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12020 * gst/gst.c: (init_pre), (scan_and_update_registry),
12021 (ensure_current_registry_nonforking),
12022 (ensure_current_registry_forking), (ensure_current_registry),
12023 (init_post), (gst_debug_help), (gst_deinit):
12025 Make init_pre and init_post take the full complement of GOptionFunc
12026 args so they can return useful GErrors. Make the registry updating
12029 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12030 ensure that the registry we're about to write out doesn't contain
12031 stale information about old-deleted plugin files.
12033 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12034 that deletion of plugin files is considered a registry change.
12036 * gst/gst_private.h:
12037 * gst/gstregistry.c: (gst_registry_finalize),
12038 (gst_registry_remove_features_for_plugin_unlocked),
12039 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12040 (gst_registry_scan_path),
12041 (_priv_gst_registry_remove_cache_plugins),
12042 (_priv_gst_registry_cleanup):
12043 * gst/gstregistry.h:
12044 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12045 by adding _priv prefix, so that they won't appear in the global
12046 symbol table. They still do atm though because of #318031. Move the
12047 prototypes to gst_private.h
12049 When removing a plugin, remove all features for that plugin too.
12052 2006-09-27 Wim Taymans <wim@fluendo.com>
12054 * docs/random/moving-plugins:
12055 Make it clear that the "compiled-in descriptions" really mean
12056 the element details.
12058 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12059 (gst_base_sink_wait_preroll):
12062 * docs/libs/gstreamer-libs-sections.txt:
12063 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12064 (gst_base_src_get_range), (gst_base_src_activate_push):
12065 * libs/gst/base/gstbasesrc.h:
12066 Added function to block while waiting for PLAYING, this function
12067 is used by live sources that block on the clock.
12068 API: gst_base_src_wait_playing()
12070 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12072 Patch by: Peter Kjellerstedt <pkj at axis com>
12075 gst-element-check.m4 is generated and should therefore be
12076 copied from the build dir rather than the source dir (#357593).
12077 'make distcheck' hasn't noticed this because we were disting
12078 the file as well, so stop doing that.
12080 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12082 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12083 Add some tests for gst_caps_intersect().
12085 * tools/gst-launch.c: (event_loop):
12086 Print all buffering percentages we get, even the 100% one.
12088 2006-09-26 Wim Taymans <wim@fluendo.com>
12090 * tools/gst-inspect.c: (print_element_properties_info),
12091 (print_signal_info):
12092 Fix printing of flags to match the look of enums.
12094 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12096 * gst/gstelementfactory.c:
12097 Fix typo in docs blurb.
12099 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12101 * gst/gsturi.c: (search_by_entry):
12102 Don't assert/crash here if a uri handler doesn't return any
12103 supported protocols. The list of protocols could be generated
12104 dynamically at runtime or at plugin registration, and an error
12105 in the underlying library shouldn't be fatal (#353301).
12107 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12110 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12111 (spotted by Peter Kjellerstedt).
12113 2006-09-23 Wim Taymans <wim@fluendo.com>
12115 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12117 * libs/gst/base/gstbasesrc.c:
12118 (gst_base_src_default_check_get_range), (gst_base_src_start),
12119 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12120 (gst_base_src_change_state):
12121 Match _start/_stop calls in the activate functions. Remove redundant
12122 _stop call from the state change function. Fixes #356910.
12123 Turn failure DEBUG into ERROR.
12125 2006-09-22 Wim Taymans <wim@fluendo.com>
12127 * docs/design/part-buffering.txt:
12128 * gst/gstmessage.c: (gst_message_new_buffering),
12129 (gst_message_parse_buffering):
12130 Update docs about buffering.
12132 * docs/design/part-trickmodes.txt:
12135 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12137 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12138 (gst_controller_new_list):
12139 Ref instances when returning them again (fixes #357180)
12141 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12143 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12144 Don't forget to release proxy lock when there's an error.
12146 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12149 Add extra initialisers for Caps things, to fix some plugin warnings
12152 2006-09-18 Wim Taymans <wim@fluendo.com>
12154 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12155 Also set template on the internal pad so that a getcaps from the
12156 target pad returns the template caps.
12158 2006-09-18 Wim Taymans <wim@fluendo.com>
12160 * gst/gstelement.c: (gst_element_post_message),
12161 (gst_element_dispose):
12162 Use _DEBUG_OBJECT some more.
12164 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12167 * tools/gst-launch.c: (main):
12168 If the toplevel element is not a GstPipeline, it must be put in a
12169 pipeline so that a bus and clock is selected.
12171 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12173 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12174 JITTER, RATE, and LATENCY query should be handled by the
12175 default case and not by the CONVERT query code.
12177 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12179 * gst/gstformat.c: (gst_format_register):
12180 Fix locking order (must take lock before using n_values).
12182 * gst/gstvalue.c: (gst_value_serialize_enum),
12183 (gst_value_deserialize_enum_iter_cmp),
12184 (gst_value_deserialize_enum):
12185 Fix serialisation/deserialisation of custom registered GstFormats.
12187 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12188 Unit test for custom format serialisation/deserialisation.
12190 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12192 * docs/pwg/building-boiler.xml:
12193 * plugins/elements/gstcapsfilter.c:
12194 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12197 2006-09-16 Edward Hervey <edward@fluendo.com>
12199 * libs/gst/base/gstbasetransform.c:
12200 (gst_base_transform_buffer_alloc):
12201 Check if requested caps are the same as the sinks caps IF
12202 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12204 This fixes the renegotiation issues stated in #352827.
12206 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12209 * docs/manual/advanced-autoplugging.xml:
12210 * tests/examples/Makefile.am:
12211 * tests/examples/manual/.cvsignore:
12212 * tests/examples/manual/Makefile.am:
12213 * tests/examples/manual/extract.pl:
12214 Extract the manual examples again like we used to do.
12217 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12219 * win32/common/config.h:
12222 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12225 Documents how to receive errors.
12227 2006-09-15 Wim Taymans <wim@fluendo.com>
12229 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12230 (event_loop), (main):
12231 Added some comments here and there.
12232 Post an application message when an interrupt is caught instead of doing
12233 an uncontrolled state change.
12234 Clean up the event loop.
12235 Handle buffering messages, pause/resume the pipeline.
12236 Make shutdown because of an interrupt more reliable.
12238 2006-09-15 Wim Taymans <wim@fluendo.com>
12240 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12241 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12242 (gst_base_sink_preroll_object):
12243 Make sure that our internal state is correct when we commit our state
12244 asynchronously. This solves a race where a state change to PLAYING
12245 could cause the sink to remain blocked in preroll in some situations.
12247 2006-09-15 Wim Taymans <wim@fluendo.com>
12249 * tools/gst-inspect.c: (print_element_properties_info),
12250 (print_signal_info):
12251 List flags as hex so it's easier to deal with.
12253 2006-09-15 Wim Taymans <wim@fluendo.com>
12255 * docs/libs/gstreamer-libs-sections.txt:
12256 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12257 (gst_base_sink_do_sync):
12258 * libs/gst/base/gstbasesink.h:
12259 Expose logic to wait for preroll so that subclasses such as audiosink
12260 can also use this method.
12261 API: gst_base_sink_wait_preroll()
12263 2006-09-15 Wim Taymans <wim@fluendo.com>
12265 * gst/gstobject.c: (gst_object_set_parent):
12266 * gst/gstpipeline.c: (do_pipeline_seek):
12267 Small cleanups in docs and code.
12269 * gst/gstsegment.c: (gst_segment_clip):
12270 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12271 if stop == start and start is in the segment, no clipping should be
12272 done. Also add a test for this.
12274 2006-09-15 Wim Taymans <wim@fluendo.com>
12276 * docs/design/part-buffering.txt:
12277 * docs/gst/gstreamer-sections.txt:
12278 * gst/gstmessage.c: (gst_message_new_buffering),
12279 (gst_message_parse_buffering):
12280 * gst/gstmessage.h:
12281 Added methods to create and parse BUFFERING messages.
12282 Added preliminary docs about buffering.
12283 API: gst_message_new_buffering
12284 API: gst_message_parse_buffering
12286 2006-09-06 Wim Taymans <wim@fluendo.com>
12289 Update documentation.
12291 * gst/gstelement.c: (gst_element_class_init),
12292 (gst_element_release_request_pad), (gst_element_set_clock),
12293 (gst_element_get_index), (gst_element_add_pad),
12294 (gst_element_remove_pad), (gst_element_get_random_pad),
12295 (gst_element_send_event), (gst_element_get_query_types),
12296 (gst_element_query), (gst_element_post_message),
12297 (gst_element_message_full), (gst_element_continue_state),
12298 (gst_element_lost_state), (gst_element_save_thyself),
12299 (gst_element_restore_thyself):
12300 Documentation updates.
12301 Rename last bit of the new-pad -> pad-added signal rename.
12302 Fix the case where an element query would only work if the source
12304 Avoid some useless type checking in message handling.
12309 Documentation updates.
12311 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12313 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12314 add an INFO line for when we actually update the fd
12316 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12321 === release 0.10.10 ===
12323 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12326 releasing 0.10.10, "Pais"
12328 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12330 * docs/manual/advanced-position.xml:
12331 Fix typo in sample code.
12333 2006-09-05 Wim Taymans <wim@fluendo.com>
12335 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12336 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12337 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12338 * libs/gst/net/gstnetclientclock.h:
12339 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12340 * libs/gst/net/gstnettimepacket.h:
12341 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12342 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12343 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12344 * libs/gst/net/gstnettimeprovider.h:
12345 Make stuff compile on windows. Fixes #345295.
12347 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12349 * gst/gst.c: (ensure_current_registry_forking):
12350 Print better details when child was terminated by signal.
12352 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12354 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12355 Print a warning rather than g_assert() if a plugin feature
12356 is a URI handler but returns no protocols (#353976).
12358 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12360 * docs/random/moving-plugins:
12363 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12365 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12366 Fix locking order, handle NULL function values properly.
12371 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12372 Initialise variable before using it and fix debug statement to
12373 print the address of the function rather than the address of the
12374 variable on the stack holding the address of the function.
12376 2006-09-01 Wim Taymans <wim@fluendo.com>
12378 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12379 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12380 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12381 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12382 (gst_ghost_pad_parent_unset),
12383 (gst_ghost_pad_internal_do_activate_push),
12384 (gst_ghost_pad_internal_do_activate_pull),
12385 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12386 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12387 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12388 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12389 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12390 (gst_ghost_pad_new_no_target_from_template),
12391 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12393 Avoid needless typechecking in macros.
12394 Since the internal pad is always present and never changes, there is
12395 no need to locking or ref when retrieving it.
12396 Improve debugging a bit.
12397 Handle link errors when setting the target. Fixes #341029.
12399 2006-09-01 Wim Taymans <wim@fluendo.com>
12401 * docs/libs/gstreamer-libs-sections.txt:
12402 * docs/plugins/gstreamer-plugins-sections.txt:
12403 Fix docs some more.
12405 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12406 (gst_collect_pads_event):
12407 * libs/gst/base/gstcollectpads.h:
12408 Documentation updates.
12409 Free queued buffer when removing a pad.
12411 2006-08-31 Michael Smith <msmith@fluendo.com>
12413 * gst/gstutils.c: (gst_element_link_pads),
12414 (gst_element_link_pads_filtered):
12415 Ensure that we set a capsfilter to NULL if we failed to link it
12416 when doing filtered linking, to avoid criticals.
12418 No need to check for unreffing srcpad, which is explicly NULLed
12419 above (a trivial code cleanup).
12421 2006-08-31 Wim Taymans <wim@fluendo.com>
12423 * docs/design/part-gstghostpad.txt:
12424 Update ascii art in documentation.
12426 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12427 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12428 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12429 (gst_ghost_pad_internal_do_activate_push),
12430 (gst_ghost_pad_internal_do_activate_pull),
12431 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12432 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12433 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12434 (gst_ghost_pad_set_target):
12435 Small cleanups and leak fixes.
12436 Remove some checks now that the internal pad is never NULL.
12437 Fix the case where linking pads without a target would create nasty
12438 criticals. Fixes #341029.
12439 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12440 value of _set_target().
12442 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12443 (gst_ghost_pad_suite):
12444 Some more tests for creating and linking untargeted ghostpads.
12446 2006-08-31 Edward Hervey <edward@fluendo.com>
12448 * docs/gst/gstreamer-sections.txt:
12449 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12450 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12451 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12452 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12453 (gst_ghost_pad_new_from_template),
12454 (gst_ghost_pad_new_no_target_from_template):
12455 * gst/gstghostpad.h:
12456 Refactored *_new() functions.
12457 Templates are now used as a g_object_new() parameter.
12458 Use template in _do_getcaps() if we don't have a target.
12459 Small documentation cleanups.
12460 Added two new constructors:
12461 gst_ghost_pad_new_from_template()
12462 gst_ghost_pad_new_no_target_from_template()
12463 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12464 (gst_ghost_pad_suite):
12465 Added tests for new ghostpad instanciation functions.
12467 API additions: gst_ghost_pad_new_from_template,
12468 gst_ghost_pad_new_no_target_from_template
12470 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12472 * docs/random/ensonic/profiling.txt:
12473 Ideas about qos profiling.
12475 2006-08-29 Wim Taymans <wim@fluendo.com>
12477 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12481 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12484 Improve and detypofy docs.
12486 * tests/check/Makefile.am:
12487 * tests/check/gst/.cvsignore:
12488 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12489 Add a basic test suite for GstXML.
12491 2006-08-29 Wim Taymans <wim@fluendo.com>
12493 * gst/gstelement.c: (activate_pads), (clear_caps),
12494 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12495 Clear the pad caps when the element shut down all of the pads and
12496 is not streaming data that could modify the caps.
12499 2006-08-28 Michael Smith <msmith@fluendo.com>
12501 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12502 Revert previous change; I misunderstood single-segment mode.
12504 2006-08-28 Michael Smith <msmith@fluendo.com>
12506 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12507 Unset DISCONT on buffers when using single-segment mode.
12509 2006-08-28 Wim Taymans <wim@fluendo.com>
12511 * gst/gstcaps.c: (gst_caps_merge_structure):
12513 Fix docs and indentation again.
12515 * tests/check/gst/gstquery.c: (GST_START_TEST):
12516 Fix leak in tests and add some more tests.
12518 2006-08-28 Edward Hervey <edward@fluendo.com>
12520 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12521 Inform GstSegment of the last stop position in order for the current
12522 segment to have a proper duration if it doesn't have a specific stop
12523 position from which a duration could be calculated.
12524 This bug was noticeable when a non-flushing, non-update new segment was
12525 followed by another segment (all buffers from the new segment were being
12528 2006-08-28 Wim Taymans <wim@fluendo.com>
12530 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12531 Small comment update.
12533 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12534 (gst_identity_transform_ip):
12535 Drop-probability is broken, mention this in the code with a
12536 FIXME and also in the property description.
12537 Make silent also be silent about the drop messages.
12539 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12541 * docs/manual/appendix-win32.xml:
12542 Remove mention of popt, we don't depend on that any
12543 longer (#353136). Add some comments pointing out that
12544 this section is slightly outdated.
12546 2006-08-28 Wim Taymans <wim@fluendo.com>
12548 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12550 * gst/gstquery.c: (gst_query_new_segment):
12551 * tests/check/gst/gstquery.c: (GST_START_TEST):
12552 Initialize variables when creating a new segment query.
12555 2006-08-28 Wim Taymans <wim@fluendo.com>
12557 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12559 * gst/gstelement.c: (gst_element_get_bus):
12560 * tests/check/gst/gstelement.c: (GST_START_TEST):
12561 Check for NULL before _reffing the bus. Fixes #353122.
12563 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12565 * docs/manual/basics-bus.xml:
12566 Docs update: fix wrong callback return value explanation; add
12567 some lines about the implicit relationship between main loop
12568 and main context; remove duplicate main loop variable declaration.
12570 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12572 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12573 Don't leak caps in unit test; add a few more simple
12576 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12578 * docs/gst/gstreamer-sections.txt:
12579 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12580 (gst_caps_structure_is_subset), (gst_caps_merge),
12581 (gst_caps_merge_structure):
12583 * libs/gst/base/gstbasetransform.c:
12584 (gst_base_transform_transform_caps):
12585 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12586 implement caps merging (fixes #352580)
12588 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12590 * tools/Makefile.am:
12591 * tools/gst-plot-timeline.py:
12592 add debug-log plotting developer tool (#340674)
12594 2006-08-23 Wim Taymans <wim@fluendo.com>
12596 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12597 (gst_pad_stop_task):
12598 Improve debugging for task functions.
12600 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12601 (gst_task_start), (gst_task_pause), (gst_task_join):
12602 Make sure that the task function started and finished after a
12604 Don't try to push the task function on the threadpool multiple
12606 Improve the g_warning message with some useful suggestions
12607 about how to fix the problem.
12609 2006-08-23 Wim Taymans <wim@fluendo.com>
12611 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12612 Handle RESYNC correctly in _proxy_getcaps.
12614 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12616 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12617 (gst_xml_parse_memory), (gst_xml_get_element):
12618 Chain up to parent class in dispose function and also
12619 unref the elements in the toplevel_elements GList.
12620 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12621 Always return a reference in gst_xml_get_element() rather
12622 than only sometimes.
12624 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12625 Don't leak GstXml object.
12627 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12629 * docs/gst/gstreamer-sections.txt:
12630 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12633 * libs/gst/base/gstbasetransform.c:
12634 (gst_base_transform_transform_caps):
12635 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12638 2006-08-21 Edward Hervey <edward@fluendo.com>
12640 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12641 Implement GObject::dispose virtual method in GstXML so we can free the
12642 top_elements GList.
12644 2006-08-21 Wim Taymans <wim@fluendo.com>
12646 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12647 (gst_buffer_create_sub):
12648 Copy duration/offset_end/caps when creating a subbuffer of the
12650 Make the subbuffer read-only when we make the metadata writable for
12651 now. Fixes #351768.
12653 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12654 Added check for metadata copy when creating subbuffers.
12656 2006-08-21 Edward Hervey <edward@fluendo.com>
12658 * libs/gst/base/gstbasetransform.c:
12659 (gst_base_transform_buffer_alloc):
12660 Only call downstream buffer_alloc if transform element is passthrough
12661 or always_in_place. Closes #350449.
12663 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12666 ChangeLog surgery to add comments to previous changes
12668 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12673 * gst/gstpad.c: (gst_pad_set_active):
12674 Be more verbose in the log
12676 * libs/gst/base/gstbasetransform.c:
12677 (gst_base_transform_transform_caps):
12678 Simplify caps to get rid of duplicates, fixes #345444
12680 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12684 Use these optimizations only internally.
12686 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12688 * gst/gstvalue.c: (gst_value_compare_list),
12689 (gst_value_compare_fraction_range),
12690 (gst_value_intersect_fraction_fraction_range),
12691 (gst_value_intersect_fraction_range_fraction_range),
12692 (gst_value_subtract_fraction_fraction_range),
12693 (gst_value_subtract_fraction_range_fraction_range),
12694 (gst_value_get_compare_func), (gst_value_compare),
12695 (gst_value_compare_with_func):
12697 Saves the expensive lookup of the compare function in many cases
12700 2006-08-18 Edward Hervey <edward@fluendo.com>
12702 * tests/check/gst/gstinfo.c: (gst_info_suite):
12703 Disable test that require gstdebug if it wasn't built in core.
12705 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12707 * docs/random/ensonic/logging.txt:
12710 * gst/gstinfo.c: (gst_debug_log_default):
12711 reorder fields, save some columns, add optional color codes for log
12714 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12716 * docs/random/ensonic/logging.txt:
12717 add ideas about making the logs a bit more useful
12719 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12721 * docs/pwg/advanced-events.xml:
12722 * docs/pwg/titlepage.xml:
12723 Update for 0.10 API (#340627). Add myself
12726 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12728 * docs/libs/gstreamer-libs-docs.sgml:
12729 * docs/libs/gstreamer-libs-sections.txt:
12730 * libs/gst/check/gstbufferstraw.c:
12731 Make gstcheck stuff show up in docs (still needs to
12732 be documented properly though).
12734 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12736 * docs/gst/gstreamer-sections.txt:
12738 * gst/gst.c: (init_post):
12739 * gst/gst_private.h:
12740 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12742 * gst/gstquery.c: (gst_query_new_position),
12743 (gst_query_set_position), (gst_query_parse_position),
12744 (gst_query_new_duration), (gst_query_set_duration),
12745 (gst_query_parse_duration), (gst_query_new_convert),
12746 (gst_query_set_convert), (gst_query_parse_convert),
12747 (gst_query_new_segment), (gst_query_set_segment),
12748 (gst_query_parse_segment), (gst_query_new_seeking),
12749 (gst_query_set_seeking), (gst_query_parse_seeking):
12750 Add internal helpers for pre-registering quarks from static strings
12751 and using the quark values directly instead of looking them up when
12752 creating and parsing queries. Can be used for event construction too.
12755 2006-08-16 Wim Taymans <wim@fluendo.com>
12760 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12762 * gst/gstutils.c: (gst_util_set_value_from_string):
12763 Fix memleak (#351502).
12765 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12766 Add unit test for most of gst_util_set_value_from_string()
12767 (not that one would want to encourage use of this function).
12769 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12771 * libs/gst/check/gstcheck.h:
12772 Use const gchar * variables in fail_unless_equals_string
12773 macro to avoid compiler warnings (and don't use tabs for
12776 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12778 * tools/gst-launch.c: (print_tag):
12779 More space on the left for the tag names, to cater
12780 for the 'extended comment' tag (not touching the
12781 string for the first line since it's translated).
12783 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12785 * libs/gst/check/gstcheck.h:
12786 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12787 print something when they fail.
12789 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12791 * docs/gst/gstreamer-sections.txt:
12792 * gst/gsttaglist.c: (_gst_tag_initialize):
12793 * gst/gsttaglist.h:
12794 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12795 Also change merge function for GST_TAG_COMMENT to
12798 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12800 * gst/gstinfo.c: (gst_debug_print_object):
12801 Make GST_PTR_FORMAT print messages as well.
12803 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12804 (GST_START_TEST), (gst_info_suite):
12807 2006-08-14 Edward Hervey <edward@fluendo.com>
12809 * gst/gstelementfactory.c: (gst_element_register):
12810 If the GstElementClass doesn't have a GstElementDetails with all fields
12811 filled up correctly (longname, description AND author), then error out
12812 nicely instead of crashing.
12814 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12816 * gst/gststructure.c:
12817 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12820 Expand on the difference between arrays and lists as we use them.
12822 2006-08-14 Wim Taymans <wim@fluendo.com>
12824 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12825 If the parent state change function failed, don't assume we can safely
12826 stop the source, this will be done when the pads are deactivated.
12828 2006-08-14 Wim Taymans <wim@fluendo.com>
12831 * gst/gsttask.c: (gst_task_join):
12834 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12835 (gst_pad_stop_task):
12836 When pad (de)activation failed for some reason, restore the old
12837 activation mode and set the pad to flushing instead of assuming the
12838 pad is deactivated.
12839 If the _task_join() failed, reinstall the task on the pad so that it can
12840 be stopped later and return an error.
12842 2006-08-11 Andy Wingo <wingo@pobox.com>
12845 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12846 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12847 is only for users of API that don't want to see deprecated
12848 functions in the headers; people that want to compile out
12849 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12850 CFLAGS. Fixes the build of multifdsink, or will soon..
12852 2006-08-11 Wim Taymans <wim@fluendo.com>
12854 * docs/gst/gstreamer-sections.txt:
12855 Add GstClockClass vmethod docs.
12858 Mark #endif with comment for associated #if
12860 * gst/gstclock.c: (gst_clock_id_wait):
12862 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12863 most clock implementations.
12865 Flesh out docs about resolution methods.
12866 API: GstClockClass::wait_jitter
12868 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12869 (gst_system_clock_async_thread),
12870 (gst_system_clock_id_wait_jitter_unlocked),
12871 (gst_system_clock_id_wait_jitter):
12872 Use base class wait_jitter variant for improved performance
12873 due to less clock polling.
12875 2006-08-11 Edward Hervey <edward@fluendo.com>
12877 * gst/gst.c: (gst_init_check), (init_post):
12878 Set gst as being initialized before scanning/updating the registry,
12879 since there might be my python plugin loader that calls gst_init() and
12880 we don't want to loop back in.
12883 2006-08-11 Wim Taymans <wim@fluendo.com>
12885 * docs/design/part-qos.txt:
12886 Bring docs in line with the code. Mostly the sign of the jitter was
12887 wrong in the docs. Fixes #349943.
12890 Fix the docs for the jitter.
12892 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12893 (gst_event_parse_tag), (gst_event_new_buffer_size),
12894 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12895 (gst_event_new_seek), (gst_event_parse_seek),
12896 (gst_event_new_navigation):
12897 Make sure the GstStructure has no parent when creating custom
12899 Add some more argument checking so that we avoid 0.0 rates.
12900 Flesh out the docs for the QoS event some more.
12902 2006-08-11 Wim Taymans <wim@fluendo.com>
12904 * docs/gst/gstreamer-sections.txt:
12905 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12906 (ensure_current_registry_forking), (ensure_current_registry),
12907 (parse_one_option), (parse_goption_arg), (gst_deinit),
12908 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12911 Added API and command line option to disable registry forking in
12912 addition to the environment variable.
12913 Constify some static arrays.
12914 Added some more debug.
12915 Don't deinit twice.
12916 API: gst_registry_fork_is_enabled()
12917 API: gst_registry_fork_set_enabled()
12918 API: --gst-disable-registry-fork command line option
12921 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12923 * gst/gst.c: (gst_init):
12924 Fix typo in error message.
12926 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12928 * libs/gst/controller/gstcontroller.h:
12929 fix ABI size-correction
12931 * tests/check/libs/gdp.c: (gst_dp_suite):
12932 make tests that use deprecated API conditional
12934 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12936 * docs/libs/gstreamer-libs-sections.txt:
12937 * libs/gst/controller/gstcontroller.c:
12938 (_gst_controller_get_property), (_gst_controller_set_property),
12939 (_gst_controller_init), (_gst_controller_class_init):
12940 * libs/gst/controller/gstcontroller.h:
12941 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12942 (gst_object_set_control_rate):
12943 API: add gst_object_{s,g}et_control_rate(), add private data section,
12946 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12947 * libs/gst/dataprotocol/dataprotocol.h:
12948 add deprecation guards to make gtk-doc happy and allow disabling cruft
12950 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12952 * tests/check/Makefile.am:
12953 * tests/check/gst/.cvsignore:
12954 Let's enable the new unit test as well.
12956 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12959 * docs/gst/gstreamer-sections.txt:
12960 * gst/gstconfig.h.in:
12961 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12962 (_gst_info_printf_extension_ptr),
12963 (_gst_info_printf_extension_segment):
12964 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12965 register that lets us easily dump GstSegments into debug
12968 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12969 (info_segment_format_printf_extension), (gst_info_suite):
12970 Add simple unit test that logs a bunch of different segments (not
12971 valgrinded at the moment because of leaks in
12972 gst_debug_add_log_function).
12974 2006-08-09 Edward Hervey <edward@fluendo.com>
12976 * libs/gst/base/gstbasetransform.c:
12977 (gst_base_transform_buffer_alloc):
12978 Even if we can't figure out the proper format to request downstream,
12979 call buffer_alloc() downstream with the input parameters without setting
12980 the caps on the srcpad. This will force negotiation in the chain
12984 2006-08-08 Edward Hervey <edward@fluendo.com>
12986 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12987 Unlinking from a pad without a target is now a perfectly valid case
12988 which should NOT raise an assertion.
12989 This case would happen if a linked ghostpad its target set to NULL after
12990 it was previously linked.
12992 2006-08-08 Edward Hervey <edward@fluendo.com>
12994 * tests/check/libs/gdp.c:
12995 Also comment out the test (see below).
12997 2006-08-08 Edward Hervey <edward@fluendo.com>
12999 * tests/check/libs/gdp.c: (gst_dp_suite):
13000 Use the architecture information from config.h and not gcc macros
13001 in order to properly disable a test that fails on PPC64.
13003 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13005 * gst/gstelement.c: (gst_element_remove_pad):
13006 Don't crash printing the warning if the pad has no parent.
13008 2006-08-02 Wim Taymans <wim@fluendo.com>
13010 * libs/gst/dataprotocol/dataprotocol.c:
13011 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13012 (gst_dp_crc), (gst_dp_header_payload_length),
13013 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13014 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13015 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13016 (gst_dp_event_from_packet), (gst_dp_validate_header),
13017 (gst_dp_validate_payload):
13018 Make debug category static
13019 Constify the crc table.
13020 Do some more arg checking in public functions.
13021 Fix some docs and do some small cleanups.
13023 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13024 Add some more checks to see if GDP deals with bogus input.
13026 2006-07-31 Wim Taymans <wim@fluendo.com>
13028 * gst/gstvalue.c: (gst_value_compare_list):
13029 Fix GstValueList comparison code. Fixes #347293.
13031 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13032 Check to test GstValueList comparison.
13034 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13036 * gst/gstelementfactory.c: (gst_element_factory_create):
13037 Remove unnecessary ref/unref pair
13039 * gst/parse/grammar.y:
13040 Make sure to free the parse buffer on all code paths.
13041 Move a g_free up to the error handler where it's easier to see.
13043 * tests/check/gst/gstevent.c: (test_event):
13044 Extending timeout for downstream travelling events to 10 seconds to
13045 hopefully avoid intermittent failure on the buildbots.
13047 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13048 Don't manually set the state of the src element - it will happen as a
13049 natural consequence of the pipeline changing state, and that way it
13050 will do it in the right order too.
13052 2006-07-31 Wim Taymans <wim@fluendo.com>
13054 * libs/gst/base/gstbasetransform.c:
13055 (gst_base_transform_buffer_alloc):
13056 Use OBJECT_LOCK and refcounting to get the pad caps in the
13057 buffer_alloc function because the caps could change while we are
13058 busy with them. Fixes #349105
13060 2006-07-31 Wim Taymans <wim@fluendo.com>
13062 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13063 Protect _PAD_CAPS with OBJECT_LOCK.
13065 2006-07-31 Wim Taymans <wim@fluendo.com>
13067 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13068 (gst_pad_get_property), (gst_pad_activate_pull),
13069 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13070 (gst_pad_set_activate_function),
13071 (gst_pad_set_activatepull_function),
13072 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13073 (gst_pad_set_getrange_function),
13074 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13075 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13076 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13077 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13078 (gst_pad_set_acceptcaps_function),
13079 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13080 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13081 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13082 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13083 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13084 (gst_pad_configure_sink), (gst_pad_configure_src),
13085 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13086 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13087 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13088 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13089 (gst_pad_send_event):
13090 Use _DEBUG_OBJECT when it makes sense.
13091 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13092 Small cleanups and code reflows.
13093 Avoid caps refcounting in _accept_caps.
13094 Refactor alloc_buffer so that the code performed on the peer is in a
13095 separate function. Also if the pad does not implement a buffer alloc
13096 function, we should still check if the pad is flushing before falling
13097 back to the default allocator.
13099 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13101 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13102 Make all uses of identity and fakesink have silent=true to avoid
13103 serialising every passing data structure, which is breaking tests
13104 on FC4 for some unknown reason.
13106 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13108 * gst/parse/Makefile.am:
13109 * gst/parse/grammar.y:
13110 * gst/parse/parse.l:
13111 Reverted previous patch as it required to bump the flex dependency to
13112 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13114 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13116 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13118 * gst/parse/Makefile.am:
13119 * gst/parse/grammar.y:
13120 * gst/parse/parse.l:
13121 push & pop the state of the lexer for reentrant use case
13124 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13126 * libs/gst/base/gstbasesrc.h:
13127 Note in the docs that the ::newsegment vfunc is not actually used by
13130 2006-07-28 Wim Taymans <wim@fluendo.com>
13132 * libs/gst/base/gstcollectpads.c:
13133 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13134 (gst_collect_pads_clear), (gst_collect_pads_flush),
13135 (gst_collect_pads_event), (gst_collect_pads_chain):
13136 When flushing a pad, also clear the queued buffer so that we don't
13137 accidentally use it when we shouldn't.
13138 Fix leaks by inreffing incomming buffer.
13139 Flush out queued buffers in case of errors.
13142 2006-07-28 Wim Taymans <wim@fluendo.com>
13144 * docs/random/phonon-gst:
13145 Random notes about a Phonon backend.
13147 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13149 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13151 * tests/check/libs/gdp.c: (gst_dp_suite):
13152 Take a whack at fixing the ppc compile using a different define to
13153 disable the broken test.
13155 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13156 Remove excess g_print()
13158 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13160 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13161 Oops, meant to uncomment this line too to dampen the noise a bit.
13163 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13165 * gst/parse/grammar.y:
13166 * gst/parse/parse.l:
13167 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13168 (GST_START_TEST), (parse_suite):
13169 Fix some of the leaks exposed by extending the parse-launch testsuite,
13170 and move the 3 I can't figure out into a separate test that won't run
13171 the pipelines unless the appropriate line is uncommented.
13173 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13175 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13176 Requesting 0 bytes before the end of the file should result in
13177 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13180 2006-07-27 Wim Taymans <wim@fluendo.com>
13182 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13183 Fix useless assert, a uint is always positive.
13185 * gst/gststructure.c: (gst_structure_nth_field_name),
13186 (gst_structure_foreach), (gst_structure_map_in_place):
13187 Check input arguments for public functions to avoid obvious crashes.
13189 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13190 * plugins/elements/gstfakesink.h:
13191 Do less useless typechecking.
13193 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13195 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13196 Do not use mmap() by default since there are a number of error
13197 conditions that we would like to handle in a non-fatal way that
13198 will result in a SIGBUS if we use mmap(). Examples: external
13199 devices (USB harddrive, portable music player) being unplugged
13200 while in use; file on mounted CD/DVD that can't be read because
13201 the medium is partly damaged. Fixes #348455 and #348475.
13203 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13206 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13207 rates are a gdouble
13209 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13211 * gst/gstregistry.c:
13212 Move big documentation comment into class section header, so that it
13213 appears in the API docs.
13215 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13217 * docs/gst/gstreamer-sections.txt:
13218 Oops. Commit the docs additions too for new API.
13219 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13221 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13223 * gst/gststructure.c: (gst_structure_id_set),
13224 (gst_structure_id_set_valist):
13225 * gst/gststructure.h:
13226 Add API for setting values into structures without performing
13227 a quark lookup, if the appropriate quark is already known.
13229 API: gst_structure_id_set
13230 API: gst_structure_id_set_valist
13232 * gst/parse/grammar.y:
13233 * gst/parse/parse.l:
13234 Remove some dead code shown by the coverage information.
13235 Don't throw a critical g_warning when encountering a syntax error,
13236 just warn and let the normal error path handle it.
13238 * plugins/elements/gstelements.c:
13239 Bump the rank of filesink up to PRIMARY so that it is preferred over
13240 gnomevfssink for file:// sink uri's
13242 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13243 (GST_START_TEST), (run_delayed_test),
13244 (gst_parse_test_element_base_init),
13245 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13246 (gst_parse_test_element_change_state),
13247 (gst_register_parse_element), (parse_suite):
13248 Beef up the tests for parse syntax to check that more error cases
13249 fail as they are supposed to. Increases the test coverage a bit.
13251 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13253 * docs/manual/basics-elements.xml:
13254 Fix gst_element_link() example.
13257 Mention in API docs that one should usually gst_bin_add()
13258 elements to a bin or pipeline before doing the linking.
13260 2006-07-26 Wim Taymans <wim@fluendo.com>
13262 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13263 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13264 Avoid function call for known types by keeping the buffer and
13265 subbuffer GType global.
13267 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13268 Random silly optimisations in read() path.
13270 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13272 * tools/gst-launch.c: (main):
13273 If the top-level of the parse is a normal bin, it doesn't do the
13274 right logic to run as a top-level element, so place it inside a
13277 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13279 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13280 Remove superfluous g_object_notify() calls, GObject does
13281 that for us automatically.
13283 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13286 on Win32, use dllspec to export the debug category symbols
13288 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13290 * gst/gsttaglist.c: (_gst_tag_initialize):
13291 Allow more than one GST_TAG_IMAGE per taglist.
13293 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13295 * gst/gstminiobject.c:
13297 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13298 (gst_fd_src_create):
13299 log recurring events at LOG level
13300 add more debug for when the fd gets set
13302 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13304 * gst/gstparse.c: (gst_parse_launch):
13305 Also remove reentrance checks if flex is MT safe (#348179)
13306 Fix my empty ChangeLog entry below
13308 2006-07-21 Andy Wingo <wingo@pobox.com>
13310 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13312 * libs/gst/check/Makefile.am
13313 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13314 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13315 * libs/gst/check/gstbufferstraw.h:
13316 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13317 functions, thus proving I am still a GStreamer haxor. OK I wrote
13318 them a long time ago, but anyways.
13320 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13323 * gst/gstparse.c: (gst_parse_launch):
13324 Check for flex version and omit mutex if we have a MT save flex
13327 2006-07-21 Wim Taymans <wim@fluendo.com>
13329 * gst/gstparse.c: (gst_parse_launch):
13330 Protect recursive calls to _parse with a recursive mutex
13333 2006-07-21 Wim Taymans <wim@fluendo.com>
13335 * tests/check/gst/gstpad.c: (GST_START_TEST):
13338 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13340 * gst/gstparse.c: (gst_parse_launch):
13341 Do not hang on recursive usage of gst_parse_launch()
13343 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13345 * gst/gsttaglist.c:
13346 Add some more docs, comments and FIXME 0.11s here and there
13347 and also fix some typos.
13349 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13351 * gst/gstsegment.h:
13352 Convert tabs to spaces for better readability.
13354 2006-07-20 Edward Hervey <edward@fluendo.com>
13356 * tests/check/libs/gdp.c: (gst_dp_suite):
13357 the test_buffer test fails at line 140 on ppc64 at the following
13359 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13360 GST_BUFFER_FLAG_IN_CAPS),
13361 "GST_BUFFER_IN_CAPS flag should have been copied !");
13362 See bug #348114 for more details.
13364 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13366 * docs/pwg/advanced-scheduling.xml:
13368 Fix typos (#348000).
13370 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13372 * docs/pwg/intro-basics.xml:
13373 Fix wrong links (#347927).
13375 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13377 * gst/gstregistry.h:
13378 * gst/gstregistryxml.c: (load_feature),
13379 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13380 * win32/common/config.h:
13381 make --disable-index work (#342564)
13383 2006-07-18 Wim Taymans <wim@fluendo.com>
13385 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13389 The attached patch adds two missing defines to gsttrace.h when tracing
13390 is disabled. It also corrects one existing define.
13393 2006-07-17 Wim Taymans <wim@fluendo.com>
13395 * docs/gst/gstreamer-sections.txt:
13396 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13398 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13399 Add two functions to check and change the SIGSEGV behaviour
13400 when loading plugins.
13401 Don't mess with the SIGSEGV handler when we were told not to.
13403 API: gst_segtrap_is_enabled
13404 API: gst_segtrap_set_enabled
13406 2006-07-14 Wim Taymans <wim@fluendo.com>
13408 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13409 * tests/check/elements/filesrc.c: (GST_START_TEST):
13410 Revert fix for regression in #347408 after release.
13412 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13414 Patch by: Antoine Tremblay <hexa00 at gmail com>
13416 * gst/gstutils.c: (gst_element_unlink):
13417 Free iterator when done (#347311).
13419 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13420 And add a test case for this.
13422 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13425 Bump nano back to CVS
13427 === release 0.10.9 ===
13429 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13432 releasing 0.10.9, "On the road again"
13434 2006-07-13 Wim Taymans <wim@fluendo.com>
13436 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13437 * tests/check/elements/filesrc.c: (GST_START_TEST):
13438 Revert pull-0 fix for release. Disable check. Fixes #347408.
13440 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13442 * libs/gst/dataprotocol/dataprotocol.c:
13443 (gst_dp_event_from_packet_1_0):
13444 Fixes #347337: failure to deserialize event packets with
13445 empty payload (only event type)
13447 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13450 do not install a .c file in the header directory
13452 2006-07-13 Edward Hervey <edward@fluendo.com>
13454 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13455 GhostPad no longer implicitely use the padtemplates of the targets.
13458 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13460 * gst/gstvalue.c: (gst_value_compare_list),
13461 (gst_value_compare_array), (_gst_value_initialize):
13462 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13463 Make GstValueArray comparison be order dependent as designed.
13464 Add checks for value lists and value array comparisons.
13467 2006-07-11 Edward Hervey <edward@fluendo.com>
13469 * gst/gstbin.c: (activate_pads),
13470 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13471 (gst_bin_change_state_func):
13472 (de)activate src pads before calling state_change on the childs.
13473 This is to avoid the case where a src ghostpad is blocked (holding the
13474 stream lock), which would block the deactivation of the ghostpad's
13476 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13477 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13478 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13479 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13480 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13481 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13482 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13483 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13484 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13485 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13486 (gst_ghost_pad_class_init),
13487 (gst_ghost_pad_internal_do_activate_push),
13488 (gst_ghost_pad_internal_do_activate_pull),
13489 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13490 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13491 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13492 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13493 GhostPads now create their internal GstProxyPad at creation (and not
13494 when they're linked, as it was being done previously).
13495 The internal and target pads are linked straight away.
13496 The data will also travel through the other pad in order to make
13497 pad blocking and probes non-hackish (the probe/block now really happens
13498 on the GhostPad and not on the target).
13499 * gst/gstpad.c: (gst_pad_set_blocked_async),
13500 (gst_pad_link_prepare), (gst_pad_push_event):
13501 Remove previous ghostpad cruft.
13502 * gst/gstutils.c: (gst_pad_add_data_probe),
13503 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13504 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13505 (gst_pad_remove_buffer_probe):
13506 Remove previous ghost pad cruft.
13507 Added more detailed debug statements.
13508 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13509 Fix the testsuite for refcounting changes.
13510 The comments about who has references were correct, but the refcount
13511 being checked wasn't the same (!?!).
13515 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13517 * docs/gst/gstreamer-sections.txt:
13518 * gst/gstconfig.h.in:
13519 More docs for configuration options, add docs to gtk-doc.
13521 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13524 * gst/gstconfig.h.in:
13525 * win32/common/config.h:
13526 Fix build when disabling tracing (fixes #344016). Also start to document
13527 the defines that disable the sub-systems.
13529 2006-07-10 Edward Hervey <edward@fluendo.com>
13531 * gst/gst.c: (ensure_current_registry_forking):
13532 let's make valgrind happy...
13534 2006-07-09 Wim Taymans <wim@fluendo.com>
13536 * gst/gstelement.c: (activate_pads),
13537 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13538 Better pad activation code: Reset the collect value too on resync.
13541 2006-07-09 Wim Taymans <wim@fluendo.com>
13543 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13544 (gst_pad_activate_push):
13545 Use some more macros where it makes sense.
13546 Allow pad mode switching instead of asserting. When a pad
13547 is activated in one mode and we activate it in another,
13548 deactivate it first before activating it in a different mode.
13551 2006-07-08 Andy Wingo <wingo@pobox.com>
13553 * tools/gst-launch.c (main): Handle err == NULL.
13555 * gst/gst.c (init_post, ensure_current_registry)
13556 (ensure_current_registry_forking)
13557 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13558 factoring out the registry scanning into separate functions. Don't
13559 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13560 Better environment var name/interface suggestions accepted.
13562 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13564 * gst/gstobject.c: (gst_object_set_name_default),
13565 (gst_object_set_name):
13566 Random micro-optimisation: don't use a hash table
13567 with strings as keys and the usual strdup/strcmp
13568 involved, but rather just use the GQuark of the
13569 type name as key, since it needs to be looked up
13570 anyway to get the type name string.
13572 * tests/check/gst/gstobject.c: (GST_START_TEST):
13575 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13577 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13578 (gst_bin_iterate_all_by_interface):
13579 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13580 GTypes are gulongs and thus the top 4 bytes might be cut
13581 off on some platforms when doing GPOINTER_TO_INT, leading
13582 to invalid GTypes and bad things happening (see RH bug #179654).
13583 Also add a check to make sure the type passed in is really
13586 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13591 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13595 * gst-element-check.m4:
13596 * gst-element-check.m4.in:
13597 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13598 instead of the unversioned gst-inspect (#324176, #168659).
13600 2006-07-06 Wim Taymans <wim@fluendo.com>
13602 * gst/gstmessage.h:
13603 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13606 2006-07-06 Wim Taymans <wim@fluendo.com>
13608 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13609 (gst_base_src_wait), (gst_base_src_update_length),
13610 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13611 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13612 (gst_base_src_loop), (gst_base_src_start),
13613 (gst_base_src_activate_pull):
13615 blocksize == 0 now means the default blocksize when working in push
13617 Remove some pointless asserts in _wait function.
13618 Fix offset/length calculations and EOS handling. We can now pull 0
13619 bytes as well, which is allowed.
13620 use _check_get_range() to decide if we can operate in _pull based
13622 Fix refcounting leak when check_get_range function was not
13624 API GstBaseSrc::blocksize range can be 0 too now (default)
13626 * tests/check/elements/filesrc.c: (GST_START_TEST),
13628 Added check to test _get_range() behaviour.
13630 2006-07-06 Wim Taymans <wim@fluendo.com>
13632 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13633 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13634 (gst_pad_pull_range):
13636 Lots of comments and docs added to the pad functions.
13637 Flesh out the expected behaviour of the get_range() functions.
13639 2006-07-06 Wim Taymans <wim@fluendo.com>
13644 * gst/gstiterator.h:
13648 Remove comma at end of enumerator list.
13650 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13652 * win32/common/libgstbase.def:
13653 * win32/common/libgstdataprotocol.def:
13654 * win32/common/libsgtreamer.def:
13655 Add new exported functions.
13657 2006-07-05 Wim Taymans <wim@fluendo.com>
13659 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13660 Add some more docs here and there.
13662 2006-07-05 Wim Taymans <wim@fluendo.com>
13664 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13665 (gst_base_sink_loop), (gst_base_sink_get_position):
13666 When operating in pull mode update the offset so that we
13669 2006-07-05 Wim Taymans <wim@fluendo.com>
13671 * gst/gstregistryxml.c: (read_string):
13672 Avoid strdup. (will happen in libxml, but hey!)
13675 Add some more docs.
13677 2006-07-05 Wim Taymans <wim@fluendo.com>
13679 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13680 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13681 (gst_buffer_suite):
13682 No point in checking if the size of the subbuffer > 0, the
13683 code handles it correclty as demonstrated by unit test.
13684 Also add a unit test for the zero sized _new_and_alloc and
13685 _copy. Fixes #346663.
13687 2006-07-05 Wim Taymans <wim@fluendo.com>
13689 * libs/gst/base/gstbasetransform.c:
13690 (gst_base_transform_prepare_output_buffer),
13691 (gst_base_transform_buffer_alloc),
13692 (gst_base_transform_handle_buffer):
13693 Make sure the buffer we pass to transform_ip has a refcount of
13694 1 and thus is writable. Fixes #343196
13696 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13698 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13699 (gst_file_src_init), (gst_file_src_set_property),
13700 (gst_file_src_get_property), (gst_file_src_map_region):
13701 * plugins/elements/gstfilesrc.h:
13702 Add "sequential" property, off by default, to use madvise and hint
13703 to the kernel that sequential access is desired.
13704 Touch all retrieved pages by default to ensure they are pulled
13705 into memory. (Closes #345720)
13707 2006-07-03 Wim Taymans <wim@fluendo.com>
13709 * docs/design/part-block.txt:
13710 * docs/design/part-dynamic.txt:
13711 Small docs updates.
13713 2006-07-03 Wim Taymans <wim@fluendo.com>
13715 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13716 (gst_caps_unref), (gst_static_caps_get),
13717 (gst_caps_append_structure):
13718 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13719 Use GSlice when the glib we build against is >= 2.10
13721 2006-07-03 Wim Taymans <wim@fluendo.com>
13723 * gst/gstelement.c: (gst_element_pads_activate):
13724 Small cleanup in pad activation code.
13726 2006-07-03 Wim Taymans <wim@fluendo.com>
13728 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13730 * gst/gst-i18n-app.h:
13731 * gst/gst-i18n-lib.h:
13732 * tools/gst-inspect.c: (print_signal_info):
13733 The attached patch will make the inclusion of gettext.h unconditional in
13734 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13735 libintl.h in tools/gst-inspect.c.
13736 This allows use of --disable-nls again and fixes #344642.
13738 2006-07-03 Edward Hervey <edward@fluendo.com>
13740 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13741 Implement pad blocking on events according to part-block.txt.
13742 More comments on behaviour.
13743 * tests/check/gst/gstevent.c: (test_event):
13744 Send event to peer pad of blocked pad (else it will block).
13746 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13748 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13749 (gst_check_run_suite):
13750 if we get the wrong message, give us the types as string
13751 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13753 * tests/check/elements/filesrc.c: (GST_START_TEST):
13754 add a test for trying to open a non-existing file
13756 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13758 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13759 add a test for adding self
13761 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13763 * libs/gst/check/gstcheck.h:
13764 add some assert_ as alias for fail_unless_*
13765 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13766 increase test coverage
13768 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13771 include lcov.mak for lcov coverage generation
13772 * tools/Makefile.am:
13775 2006-07-02 Edward Hervey <edward@fluendo.com>
13777 * tests/check/elements/.cvsignore:
13780 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13783 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13784 * tests/check/Makefile.am:
13785 clean up gcov files
13787 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13789 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13790 remove gst_caps_simplify; it was not declared and not used
13791 and deprecated in 0.8
13793 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13795 * docs/faq/gst-uninstalled:
13796 don't put empty paths on PYTHONPATH
13797 * docs/gst/gstreamer-sections.txt:
13798 remove some symbols that are not there
13800 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13802 * gst/gstcaps.c: (gst_caps_compare_structures):
13804 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13805 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13808 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13810 * libs/gst/dataprotocol/Makefile.am:
13811 build dataprotocol test by linking to the lib, instead of
13812 compiling the source, so we get coverage
13813 * tests/check/Makefile.am:
13814 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13815 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13816 add a test for filesrc
13818 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13820 * tests/check/gst/gststructure.c: (GST_START_TEST),
13821 (gst_structure_suite):
13822 Push coverage from 59.04% to 70.00%
13824 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13826 * tests/check/Makefile.am:
13827 gst-inspect every element; this makes sure that we also get
13828 coverage on element's get/set functions
13830 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13833 set CFLAGS and friends to -O0 if gcov is being used
13836 * libs/gst/base/Makefile.am:
13837 * libs/gst/check/Makefile.am:
13838 * libs/gst/controller/Makefile.am:
13839 * libs/gst/dataprotocol/Makefile.am:
13840 * libs/gst/net/Makefile.am:
13841 * plugins/elements/Makefile.am:
13842 * plugins/indexers/Makefile.am:
13843 add makefile rules to generate gcov data and clean up
13844 * tests/check/Makefile.am:
13845 add a coverage target that generates an html overview
13848 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13850 * tests/check/elements/fakesink.c:
13851 * tests/check/elements/fakesrc.c:
13852 * tests/check/elements/fdsrc.c:
13853 * tests/check/elements/identity.c:
13854 * tests/check/generic/sinks.c: (gst_sinks_suite):
13855 * tests/check/generic/states.c:
13856 * tests/check/gst/gst.c:
13857 * tests/check/gst/gstabi.c:
13858 * tests/check/gst/gstbin.c:
13859 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13860 * tests/check/gst/gstbus.c: (gst_bus_suite):
13861 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13862 * tests/check/gst/gstelement.c:
13863 * tests/check/gst/gstevent.c: (gst_event_suite):
13864 * tests/check/gst/gstghostpad.c:
13865 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13866 * tests/check/gst/gstmessage.c: (gst_message_suite):
13867 * tests/check/gst/gstminiobject.c:
13868 * tests/check/gst/gstobject.c:
13869 * tests/check/gst/gstpad.c:
13870 * tests/check/gst/gstpipeline.c:
13871 * tests/check/gst/gstplugin.c:
13872 * tests/check/gst/gstquery.c: (gst_query_suite):
13873 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13874 * tests/check/gst/gststructure.c:
13875 * tests/check/gst/gstsystemclock.c:
13876 * tests/check/gst/gsttag.c:
13877 * tests/check/gst/gsttask.c: (gst_task_suite):
13878 * tests/check/gst/gstutils.c:
13879 * tests/check/gst/gstvalue.c:
13880 * tests/check/libs/adapter.c:
13881 * tests/check/libs/basesrc.c:
13882 * tests/check/libs/collectpads.c:
13883 * tests/check/libs/controller.c:
13884 * tests/check/libs/gdp.c: (gst_dp_suite):
13885 * tests/check/libs/gstnetclientclock.c:
13886 * tests/check/libs/gstnettimeprovider.c:
13887 * tests/check/libs/libsabi.c: (libsabi_suite):
13888 * tests/check/libs/typefindhelper.c:
13889 * tests/check/pipelines/cleanup.c:
13890 * tests/check/pipelines/parse-launch.c:
13891 * tests/check/pipelines/simple-launch-lines.c:
13892 * tests/check/pipelines/stress.c: (stress_suite):
13895 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13897 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13898 * libs/gst/check/gstcheck.h:
13899 create a macro and function so that the simple unit test
13900 case can be just one macro to create main()
13902 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13904 * gst/gstbin.c: (gst_bin_restore_thyself):
13905 * gst/gstxml.c: (gst_xml_make_element):
13906 Fix deserialisation from XML. Set parent manually
13907 instead of using gst_bin_add(), since gst_bin_add()
13908 will unlink all pads of the element being added.
13911 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13913 Patch by: Peter Kjellerstedt <pkj at axis com>
13915 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13916 Fix missing g_strdup() and double free when using the
13917 --gst-plugin-load command line option (#346097).
13919 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13922 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13924 * libs/gst/net/gstnetclientclock.c:
13925 * libs/gst/net/gstnettimeprovider.c:
13926 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13928 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13930 * docs/manual/advanced-dataaccess.xml:
13931 Fix buffer probe example compilation in
13934 2006-06-22 Edward Hervey <edward@fluendo.com>
13936 * gst/gstelement.c: (gst_element_pads_activate):
13937 We need to deactivate src pads first and then sink pads.
13938 The reason is the src pads might be blocking while holding the streaming
13939 lock, so we need to deactivate them first so that deactivating the sink
13940 pads doesn't block (since it will require the streaming lock).
13942 2006-06-22 Wim Taymans <wim@fluendo.com>
13944 * libs/gst/base/gstbasetransform.c:
13945 (gst_base_transform_buffer_alloc):
13946 Forgot to remove two unneeded unrefs.
13947 Simplify a check _is_equal allready checks the obvious case.
13949 2006-06-22 Wim Taymans <wim@fluendo.com>
13951 * docs/design/part-block.txt:
13952 Some docs about what pad_block should do.
13954 2006-06-22 Wim Taymans <wim@fluendo.com>
13956 * gst/gstcaps.c: (gst_caps_replace):
13957 Fix crasher when passed NULL. Doc clarification.
13958 Optimize for the trivial case.
13960 * gst/gstpipeline.c: (gst_pipeline_change_state):
13963 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13964 Small documentation cleanup.
13966 * libs/gst/base/gstbasetransform.c:
13967 (gst_base_transform_buffer_alloc):
13968 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13969 is what we need and it avoids a whole lot of redundant
13970 refcount operations.
13972 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13974 Patch by: Philip Jägenstedt <philip at lysator liu se>
13976 * docs/manual/advanced-dataaccess.xml:
13977 Fix 'Embedding static elements' section to use
13978 GST_PLUGIN_DEFINE_STATIC (#345607).
13980 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13982 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13983 Attempt to 'fix' spuriously failing test case: it seems like the
13984 timeout of half a second is simply too small when the system is under
13985 load otherwise, and the timeout doesn't really seem to serve any
13986 particular purpose here. Give the pipeline a few seconds to preroll
13987 first, and then give it another half a second to go from PAUSED to
13988 PLAYING and marshal the message into the main thread.
13990 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13992 * tools/gst-feedback-m.m:
13993 Don't only use unversioned tools, try versioned tools as well
13996 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13998 * gst/gstbus.c: (gst_bus_class_init):
13999 Fix some typos, make docs more explicit.
14001 2006-06-20 Wim Taymans <wim@fluendo.com>
14003 * tests/check/gst/gstghostpad.c: (block_callback),
14004 (GST_START_TEST), (gst_ghost_pad_suite):
14005 Added some more ghostpad tests, mainly blocking
14008 2006-06-16 Wim Taymans <wim@fluendo.com>
14010 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14011 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14012 (gst_file_sink_event), (gst_file_sink_render):
14013 * plugins/elements/gstfilesink.h:
14014 Check if we can seek in the file instead of assuming
14015 we always can. Post an error when we are asked to seek in a
14016 non-seekable file (like a fifo). Fixes #343312.
14019 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14021 * tools/gst-launch.1.in:
14022 Un-garble (fourcc) bit in filtered caps section.
14024 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14026 * docs/manual/advanced-autoplugging.xml:
14027 * docs/manual/basics-helloworld.xml:
14028 * docs/manual/highlevel-components.xml:
14029 Don't leak bus reference in sample code.
14031 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14034 Add default for new --enable-plugin-docs switch.
14037 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14040 * docs/Makefile.am:
14041 Use new ENABLE_PLUGIN_DOCS conditional.
14043 2006-06-14 Wim Taymans <wim@fluendo.com>
14045 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14046 Make it clear with a FIXME and a real define what the #if 0
14047 previously disabled.
14049 2006-06-14 Wim Taymans <wim@fluendo.com>
14051 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14052 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14053 * libs/gst/base/gstbasetransform.c:
14054 (gst_base_transform_sink_eventfunc):
14055 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14056 Don't randomly and silently reset a segment when the format
14057 changes as this is a bug somewhere upstream. Fixes #330379.
14059 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14061 Patch by: Wouter Paesen <wouter at kangaroot net>
14063 * libs/gst/controller/gstcontroller.c:
14064 (gst_controlled_property_new):
14065 Fix controlling of float properties (#344849).
14067 * tests/check/libs/controller.c:
14068 (gst_test_mono_source_get_property),
14069 (gst_test_mono_source_set_property),
14070 (gst_test_mono_source_class_init), (GST_START_TEST):
14071 While we're at it, add some float stuff to unit test.
14073 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14076 * docs/images/gdp-header.svg:
14078 * docs/libs/Makefile.am:
14079 * docs/libs/gdp-header.png:
14080 * libs/gst/dataprotocol/dataprotocol.c:
14081 add it to the API docs
14082 * docs/manual/intro-motivation.xml:
14085 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14087 * gst/gst.c: (scan_and_update_registry), (init_post):
14088 If the fork()'ed child process can't write the updated registry cache
14089 file to disk for some reason, make it exit with a failure exit code,
14090 so that the parent can then re-scan the plugins itself and update the
14091 registry structures in memory and work with that (rather than failing
14092 when creating elements because seemingly no plugins are available).
14093 Refactor registry scanning code into separate function for this and
14094 also separate fork() and non-fork() code paths. Fixes #344748.
14096 2006-06-13 Wim Taymans <wim@fluendo.com>
14098 * docs/manual/advanced-dataaccess.xml:
14099 Fix wrong PluginDesc. Fixes #344755.
14101 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14103 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14104 Fix silly bug that prevented us from creating
14105 ~/.gstreamer-0.10 and writing the registry in one
14106 go (the first call to g_mkstemp() would overwrite the
14107 placeholder in the template string, so the second call
14108 to g_mkstemp() after creating the missing directory
14109 would then error out with 'invalid argument').
14111 2006-06-13 Edward Hervey <edward@fluendo.com>
14113 * gst/gst.c: (init_post):
14116 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14118 * gst/glib-compat-private.h:
14119 * gst/glib-compat.c:
14120 * gst/glib-compat.h:
14121 * gst/gstvalue.c: (gst_value_serialize_flags):
14122 remove GLib 2.6 compatibility code
14124 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14126 * gst/parse/Makefile.am:
14127 Fix build with 'make -j N' even more (#340016).
14129 2006-06-12 Wim Taymans <wim@fluendo.com>
14131 * docs/gst/gstreamer-sections.txt:
14134 2006-06-12 Wim Taymans <wim@fluendo.com>
14136 * gst/gstsegment.c: (gst_segment_set_duration),
14137 (gst_segment_set_last_stop), (gst_segment_set_seek),
14138 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14139 (gst_segment_to_running_time), (gst_segment_clip):
14140 Use G_UNLIKELY to help the compiler a bit.
14142 2006-06-12 Wim Taymans <wim@fluendo.com>
14144 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14146 * gst/gstevent.c: (gst_event_get_type):
14147 * gst/gstmessage.c:
14148 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14150 constify quark registration strings. Fixes #344115
14151 Avoid unneeded type checking is _pad_push() by internally
14152 calling gst_pad_chain_unchecked().
14154 2006-06-12 Wim Taymans <wim@fluendo.com>
14156 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14157 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14158 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14159 (gst_buffer_is_span_fast), (gst_buffer_span):
14160 Init _type for consistency.
14161 Use _FLAGS macro to avoid type check.
14162 Avoid unneeded type checks in subbufer code.
14164 2006-06-12 Wim Taymans <wim@fluendo.com>
14166 * gst/gst.c: (gst_debug_help):
14167 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14168 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14169 (gst_plugin_feature_list_free):
14170 * gst/gstregistry.c: (gst_registry_add_plugin),
14171 (gst_registry_add_feature), (gst_registry_plugin_filter),
14172 (gst_registry_feature_filter), (gst_registry_find_plugin),
14173 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14174 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14175 * gst/gstregistryxml.c: (load_feature),
14176 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14177 * gst/gstminiobject.c: (gst_mini_object_unref),
14178 (gst_mini_object_replace), (gst_value_mini_object_free),
14179 (gst_value_mini_object_copy):
14180 Use _CAST macros to avoid unneeded type checking.
14181 Added some more G_UNLIKELY.
14183 2006-06-12 Wim Taymans <wim@fluendo.com>
14186 Avoid unneeded type checking.
14187 API: GST_BUFFER_IS_DISCONT
14189 * gst/gstminiobject.h:
14190 Avoid type check in flag accessor.
14192 * gst/gstelementfactory.h:
14194 * gst/gstpluginfeature.h:
14196 API: GST_ELEMENT_FACTORY_CAST
14197 API: GST_PLUGIN_CAST
14198 API: GST_PLUGIN_FEATURE_CAST
14200 2006-06-12 Wim Taymans <wim@fluendo.com>
14202 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14203 (gst_object_unref):
14204 Add G_UNLIKELY in type registration.
14205 Avoid type check in _ref/_unref since that is also
14208 2006-06-12 Wim Taymans <wim@fluendo.com>
14210 * gst/gsterror.c: (gst_g_error_get_type):
14211 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14212 (gst_static_pad_template_get_type):
14213 * gst/gsttaglist.c: (gst_tag_list_get_type):
14214 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14215 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14216 * gst/gsturi.c: (gst_uri_handler_get_type):
14217 * gst/gstvalue.c: (gst_date_get_type):
14218 * gst/gstxml.c: (gst_xml_get_type):
14219 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14220 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14221 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14222 Add G_UNLIKELY in type registration.
14224 2006-06-12 Wim Taymans <wim@fluendo.com>
14226 * tools/gst-inspect.c: (print_signal_info):
14227 Properly print enum values.
14229 2006-06-12 Wim Taymans <wim@fluendo.com>
14231 * gst/gstinfo.c: (gst_debug_set_active),
14232 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14234 Add some G_[UN]LIKELY.
14235 Maintain __gst_debug_min to avoid formatting the arguments of
14236 debug messages that will be dropped anyway to avoid a lot of
14237 overhead from the debugging system.
14239 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14242 * po/POTFILES.skip:
14243 add missing files containing translatable strings, tell intltool about
14246 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14248 * tests/check/libs/.cvsignore:
14249 add test-binary to ignore list
14251 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14253 * docs/libs/gstreamer-libs-docs.sgml:
14254 reorder (put dp into a chapter) and indent
14256 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14261 === release 0.10.8 ===
14263 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14266 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14268 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14270 * gst/gst.c: (init_post):
14271 move pid declaration to declaration block
14273 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14275 * gst/gst.c: (init_post):
14276 use _exit() instead of exit() in our forked child; this ensures
14277 that none of the registered exit handlers from whatever is using
14278 GStreamer get executed. This fixes gnome-mixer-applet failing
14279 to load, because ORBit would shut down.
14280 Spotted by: Edward Hervey <edward@fluendo.com>
14281 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14284 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14289 === release 0.10.7 ===
14291 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14294 releasing 0.10.7, "Soepeke, ik zie ou"
14296 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14319 * win32/common/config.h:
14320 0.10.6.2 prerelease
14322 2006-06-07 Wim Taymans <wim@fluendo.com>
14324 * gst/gstindex.c: (gst_index_gtype_resolver):
14325 * tools/gst-xmlinspect.c: (print_plugin_info):
14326 Fix leak spotted by coverity checker. Fixes #343827
14327 Fix another other leak found by paolo borelli.
14329 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14331 * libs/gst/dataprotocol/dataprotocol.c:
14332 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14333 (gst_dp_version_get_type), (gst_dp_init),
14334 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14335 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14336 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14337 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14338 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14339 (gst_dp_packetizer_free):
14340 * libs/gst/dataprotocol/dataprotocol.h:
14341 API: add a GstDPPacketizer object, and create/free functions
14342 API: add GstDPVersion enum
14343 Add 1.0 event function that uses the string serialization
14344 Serialize more useful buffer flags
14347 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14349 * tests/check/Makefile.am:
14350 * tests/check/gst/gstabi.c:
14351 * tests/check/gst/struct_ppc64.h:
14352 * tests/check/libs/libsabi.c:
14353 * tests/check/libs/struct_ppc64.h:
14354 add ppc64 structure sizes
14356 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14358 * tests/check/Makefile.am:
14359 * tests/check/gst/gstabi.c:
14360 * tests/check/gst/struct_x86_64.h:
14361 * tests/check/libs/libsabi.c:
14362 * tests/check/libs/struct_x86_64.h:
14363 generate and add structure size lists for x86_64
14365 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14367 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14368 * libs/gst/check/gstcheck.h:
14369 factor out the method from tests that checks size of structures,
14370 and add code to generate the header containing these sizes
14371 * tests/check/gst/gstabi.c: (GST_START_TEST):
14372 * tests/check/gst/struct_i386.h:
14373 * tests/check/libs/libsabi.c: (GST_START_TEST):
14374 * tests/check/libs/struct_i386.h:
14377 2006-06-06 Michael Smith <msmith@fluendo.com>
14379 * gst/gstsegment.h:
14380 Don't use c++-style comments, fixes #343929
14382 2006-06-05 Edward Hervey <edward@fluendo.com>
14385 plugin_paths is not used if we build without registry support.
14387 * gst/gstsegment.c: (gst_segment_copy):
14388 _copy() was always returning NULL...
14390 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14392 * libs/gst/dataprotocol/dataprotocol.c:
14393 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14394 (gst_dp_packet_from_event):
14395 factor out CRC code
14397 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14399 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14400 make sure we unset caps
14402 2006-06-02 Michael Smith <msmith@fluendo.com>
14404 * libs/gst/check/gstcheck.c: (gst_check_init),
14405 (gst_check_chain_func):
14406 * libs/gst/check/gstcheck.h:
14407 Add a cond/mutex to the check support lib, signal this whenever we
14408 add to the buffers list. This will allow tests to not busy-wait on
14411 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14413 * libs/gst/dataprotocol/dataprotocol.c:
14414 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14415 (gst_dp_packet_from_event):
14416 factor out some common header init code
14418 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14420 * docs/libs/gstreamer-libs-sections.txt:
14421 * docs/libs/tmpl/gstdataprotocol.sgml:
14422 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14423 * libs/gst/dataprotocol/dataprotocol.h:
14424 API: make gst_dp_crc() public
14426 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14428 * plugins/indexers/gstindexers.c: (plugin_init):
14429 conditionally register fileindexer (fixes #343598)
14431 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14433 * gst/gsttagsetter.h:
14434 Can't cast ifaces to a class
14436 * libs/gst/net/gstnetclientclock.h:
14437 * libs/gst/net/gstnettimeprovider.h:
14438 * plugins/elements/gstfakesink.h:
14439 * plugins/elements/gstfakesrc.h:
14440 * plugins/elements/gstfdsink.h:
14441 * plugins/elements/gstfdsrc.h:
14442 * plugins/elements/gstfilesink.h:
14443 * plugins/elements/gstfilesrc.h:
14444 * plugins/elements/gstidentity.h:
14445 * plugins/elements/gstqueue.h:
14446 * plugins/elements/gsttee.h:
14447 * plugins/indexers/gstfileindex.c:
14448 * plugins/indexers/gstmemindex.c:
14449 * tests/old/examples/plugins/example.h:
14450 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14452 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14454 * libs/gst/dataprotocol/dataprotocol.c:
14455 (gst_dp_header_from_buffer):
14456 make sure we zero the whole ABI-compatible area
14458 2006-06-01 Wim Taymans <wim@fluendo.com>
14460 Patch by: Alessandro Decina <alessandro at nnva dot org>
14462 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14463 Make sure the EOS flag is cleared from pads after a flush
14464 or stop. Fixes #343538.
14466 * tests/check/libs/collectpads.c: (GST_START_TEST),
14467 (gst_collect_pads_suite):
14468 Added test for collectpads reusage after EOS.
14470 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14473 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14474 * win32/common/libgstbase.def:
14475 export gst_collect_pads_set_flushing
14476 * win32/common/libgstreamer.def:
14477 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14478 gst_value_fraction_multiply
14479 * win32/vs6/gst_inspect.dsp:
14480 add a link to intl.lib
14482 2006-05-30 Wim Taymans <wim@fluendo.com>
14484 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14485 (gst_collect_pads_chain):
14486 Handle the case where a pad is removed from the collection
14487 that could cause the other pads to become collectable.
14489 2006-05-30 Wim Taymans <wim@fluendo.com>
14491 * gst/gstelement.c:
14492 Clarify the use of _release_request_pad() and
14493 _get_request_pad() a bit better.
14495 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14496 (gst_adapter_take_buffer):
14497 Fix some doc and comment typos.
14499 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14501 * docs/gst/gstreamer-sections.txt:
14502 * docs/libs/gstreamer-libs-sections.txt:
14503 add declared symbols
14505 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14507 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14508 Add debug that can be enabled using a #define at the top of the file,
14509 for dumping stats about how late/early we were when waking up from
14510 waiting on the clock.
14512 2006-05-30 Wim Taymans <wim@fluendo.com>
14514 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14515 When rebuilding the pad list, don't leak the previous list.
14517 2006-05-30 Wim Taymans <wim@fluendo.com>
14519 Patch by: Lutz Mueller <lutz at topfrose dot de>
14521 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14522 (gst_base_src_get_query_types), (gst_base_src_update_length):
14523 Publish supported query types.
14524 Update last_stop field in get_range mode so the position
14525 query works. Fixes #342321.
14527 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14529 * docs/gst/gstreamer-sections.txt:
14530 * gst/gsttaglist.c: (_gst_tag_initialize):
14531 * gst/gsttaglist.h:
14532 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14534 2006-05-30 Wim Taymans <wim@fluendo.com>
14536 Patch by: Alessandro Decina <alessandro at nnva dot org>
14538 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14539 Unlock mutex when removing an unknown pad.
14542 * tests/check/Makefile.am:
14543 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14544 (push_event), (setup), (teardown), (GST_START_TEST),
14545 (gst_collect_pads_suite), (main):
14546 Added collecpads check, disabled for now as check crashes for
14549 2006-05-29 Wim Taymans <wim@fluendo.com>
14551 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14552 Don't leak pads lists.
14554 2006-05-29 Wim Taymans <wim@fluendo.com>
14556 * docs/libs/gstreamer-libs-sections.txt:
14557 * libs/gst/base/gstcollectpads.c:
14558 (gst_collect_pads_set_flushing_unlocked),
14559 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14560 (gst_collect_pads_stop):
14561 * libs/gst/base/gstcollectpads.h:
14562 API: gst_collect_pads_set_flushing()
14563 Added api to set the pads to flushing, useful for seeking
14564 code in elements using collectpads.
14565 Clear segment when receiving a flush.
14567 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14569 * gst/gst.c: (add_path_func), (init_post):
14570 Don't scan registry paths passed via --gst-plugin-path immediately
14571 (will crash, because absolutely nothing is set up and no types are
14572 registered etc.); do this later in init_post(). Fixes #343057.
14574 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14576 * gst/gst.c: (init_post):
14577 if we have fork, fork while reading/rebuilding the registry
14578 so the parent doesn't take the hit of having all plugins loaded
14579 in memory. Fixes #342777.
14581 Check if we have fork()
14582 * win32/common/config.h.in:
14585 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14587 * plugins/elements/gstelements.c:
14588 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14589 (gst_file_src_init), (gst_file_src_set_property),
14590 (gst_file_src_get_property), (gst_file_src_start):
14591 * plugins/elements/gstfilesrc.h:
14592 API: GstFileSrc::use-mmap
14594 Add a use-mmap property to enable easier testing of all code paths.
14595 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14596 in the absence of gnomevfssrc. (Closes #340501)
14598 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14600 * tools/gst-inspect.c:
14601 Add missing include, removes warning of ngettext not being defined on
14604 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14606 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14607 Handle NULL input and output pointers silently as a failed conversion,
14608 rather than g_warnings.
14610 2006-05-25 Wim Taymans <wim@fluendo.com>
14612 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14613 Initialize variable before using. Fixes #342820.
14615 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14617 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14618 Fix off-by-one bug that would only allow peeks of N-1 bytes
14619 from the start even if the buffer to typefind on contains
14620 in fact N bytes of data (makes vorbis typefinding from a
14621 vorbis identification header buffer work).
14623 * tests/check/Makefile.am:
14624 * tests/check/libs/.cvsignore:
14625 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14626 (gst_typefindhelper_suite), (main), (foobar_typefind),
14628 Add very basic unit test for gst_type_find_helper_for_buffer()
14629 that checks for the problem fixed above.
14631 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14633 * tools/gst-inspect.c: (print_interfaces),
14634 (print_element_properties_info), (print_element_list), (main):
14635 add more translatable strings
14637 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14639 Patch by: Julien Moutte <julien at moutte net>
14641 * docs/gst/gstreamer-sections.txt:
14642 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14644 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14645 (gst_fake_sink_preroll):
14646 * plugins/elements/gstfakesink.h:
14647 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14649 2006-05-23 Wim Taymans <wim@fluendo.com>
14651 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14653 Added _CUSTOM error and success GstFlowReturn that can be
14654 used be elements internally.
14655 Added macro to check for SUCCESS flowreturns.
14656 API: GST_FLOW_CUSTOM_SUCCESS
14657 API: GST_FLOW_CUSTOM_ERROR
14658 API: GST_FLOW_IS_SUCCESS
14660 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14661 Added check for GstFlowReturn sanity.
14663 2006-05-23 Wim Taymans <wim@fluendo.com>
14665 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14667 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14668 (gst_collect_pads_event):
14669 clear/reset segment info in FLUSH_STOP.
14672 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14674 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14675 (gst_collect_pads_check_collected):
14676 Flush queued buffer on _stop(), fixes playing again (#342454)
14678 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14680 * tests/check/gst/gststructure.c: (GST_START_TEST),
14681 (gst_structure_suite):
14682 add a test for a complete structure
14684 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14686 * docs/faq/developing.xml:
14687 * docs/faq/faq.xml:
14688 * docs/faq/troubleshooting.xml:
14689 * docs/faq/using.xml:
14690 Some minor FAQ updates that won't change the fact that
14691 our FAQ is badly structured, full of information hardly
14692 anyone new to GStreamer needs to know and lacking lots
14693 of information people constantly ask for.
14695 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14697 * gst/gstpad.c: (gst_pad_set_caps):
14698 Short-circuit gst_pad_set_caps if setting the existing
14699 caps pointer again, and avoid printing debug and
14700 reffing/unreffing the caps.
14702 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14703 There's actually no need to set the caps before pushing -
14704 the acceptcaps method will handle it anyway.
14706 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14708 * docs/gst/gstreamer-sections.txt:
14709 * win32/common/libgstreamer.def:
14710 * gst/gstutils.c: (gst_element_seek_simple):
14712 API: add gst_element_seek_simple() (#342238).
14714 2006-05-18 Edward Hervey <edward@fluendo.com>
14716 * gst/gsttypefind.c: (gst_type_find_get_type):
14717 * gst/gsttypefind.h:
14718 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14719 registered for GstTypeFind pointers. This allows wrapping the structure
14720 in bindings (i.e. gst-python).
14722 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14724 * gst/gsttagsetter.c:
14725 Docs additions and fixes (see #339918).
14727 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14729 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14730 The caps intersection algorithm can produce multiple copies of the
14731 caps. Until that is fixed, we need to simplify the result to be
14732 sure whether the allowed caps are fixed or not.
14734 * plugins/elements/gstqueue.c: (gst_queue_init),
14735 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14736 (gst_queue_push_one):
14737 Proxied buffer alloc should not set the caps on the source pad.
14738 When pushing buffers, we always accept the caps change that triggers.
14739 This prevents negotiation errors caused by caps changing mid-stream
14740 and then being refused on our source pad (because upstream is now
14741 refusing those caps).
14743 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14745 * tests/examples/helloworld/helloworld.c: (main):
14746 Must plug audioconvert and audioresample between decoder
14749 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14751 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14752 (load_feature), (load_plugin):
14753 Allow empty strings for some of the plugin fields so we don't
14754 drop valid plugin entries that were written out correctly
14757 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14759 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14760 Use g_remove and g_rename instead of remove and rename that don't
14761 handle utf8 characters. rename was failing for users who had specific
14762 characters in their name then the registry was built at each
14764 * win32/vs6/gst_inspect.dsp:
14765 * win32/vs6/gst_launch.dsp:
14766 * win32/vs6/libgstbase.dsp:
14767 * win32/vs6/libgstcoreelements.dsp:
14768 * win32/vs6/libgstreamer.dsp:
14769 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14770 build of libgstreamer and clean unused libraries in projects link
14773 2006-05-17 Edward Hervey <edward@fluendo.com>
14775 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14776 The queue is not responsible for pushing an EOS when receiving a fatal
14777 flow error. It's up to the real element driving the pipeline to do that.
14779 2006-05-16 Edward Hervey <edward@fluendo.com>
14781 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14782 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14783 buffer returned a fatal error. It should just send an EOS and stop
14785 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14786 when pushing buffers on the queue and will be able to handle the event.
14788 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14790 * docs/manual/basics-bins.xml:
14791 * docs/manual/basics-init.xml:
14792 Fix typos and minor errors in sample code (#341856).
14794 2006-05-16 Wim Taymans <wim@fluendo.com>
14796 * docs/design/part-qos.txt:
14797 Fix indexes in formulas to make more sense.
14799 2006-05-15 Wim Taymans <wim@fluendo.com>
14801 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14802 Don't report POSITION based on clock time if sync is
14803 disabled in a sink.
14805 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14808 Add cast to make compiler happy - refcount variable was a gint
14809 in GstObject but is a guint in GObject and g_atomic_int_get()
14812 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14814 * gst/parse/Makefile.am:
14815 chain commands using &&, which also makes parallel make work
14817 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14819 * docs/gst/gstreamer-sections.txt:
14822 * gst/gstmessage.h:
14825 === release 0.10.6 ===
14827 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14830 releasing 0.10.6, "Take the cannoli"
14832 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14834 * tools/gst-launch.c: (print_tag):
14835 Fix use of uninitialized variable in the hypothetical
14836 case that some broken plugin creates a GST_TAG_IMAGE
14837 tag containing a NULL buffer (#341667).
14839 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14841 * tools/gst-launch.c: (print_tag):
14842 Print something more intelligible for image tags when
14843 using the -t switch (#341556).
14845 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14850 define GST_MAJORMINOR so we have it available in win32/common/config.h
14851 Possibly remove it from our Makefile.am files later
14852 * win32/common/config.h:
14853 * win32/common/config.h.in:
14854 added GST_MAJORMINOR
14855 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14856 * win32/common/gstversion.h:
14859 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14862 Update win32 files listing.
14863 * win32/common/gstversion.h:
14864 Add GST_MAJORMINOR definition.
14865 * win32/common/libgstreamer.def:
14866 Add new exported functions.
14868 2006-05-12 Michael Smith <msmith@fluendo.com>
14870 * gst/gstplugin.c: (gst_plugin_load_file):
14871 If an so file has no plugin entry point, unload the module.
14873 2006-05-11 Wim Taymans <wim@fluendo.com>
14875 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14876 (gst_queue_set_property):
14877 Don't forget to signal the _chain or _loop function
14878 when the queue size or thresholds change since that might
14879 cause them to make progres again.
14881 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14883 * gst/gstclock.c: (gst_clock_class_init):
14884 * gst/gstindex.c: (gst_index_class_init):
14885 * gst/gstobject.c: (gst_object_class_init):
14886 * gst/gstpad.c: (gst_pad_class_init):
14887 * gst/gstpipeline.c: (gst_pipeline_class_init):
14888 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14889 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14890 * libs/gst/base/gstbasetransform.c:
14891 (gst_base_transform_class_init):
14892 * libs/gst/net/gstnetclientclock.c:
14893 (gst_net_client_clock_class_init):
14894 * libs/gst/net/gstnettimeprovider.c:
14895 (gst_net_time_provider_class_init):
14896 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14897 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14898 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14899 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14900 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14901 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14902 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14903 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14904 * plugins/elements/gsttee.c: (gst_tee_class_init):
14905 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14906 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14907 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14909 2006-05-11 Wim Taymans <wim@fluendo.com>
14911 * gst/gstbuffer.c: (_gst_buffer_initialize):
14912 Register subbufer along with the buffer type so that
14913 it does not accidentally gets registered from N
14914 different streaming threads in a non threadsafe way.
14916 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14920 * gst/gstmessage.h:
14921 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14922 gst_event_ref() and gst_message_ref() functions again
14923 (ugly hack, please do fix if there's a better way besides
14924 overrides.txt, which doesn't seem to work).
14926 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14928 * libs/gst/check/gstcheck.h:
14929 add an assert for setting state to avoid lots of repetitive code
14932 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14934 * gst/gstvalue.c: (gst_value_serialize_flags):
14935 fix a leak if no flags are set
14936 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14939 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14941 * docs/manual/basics-pads.xml:
14942 Expand a bit on caps and filtered links and update
14943 examples that were still using the no longer existing
14944 gst_pad_link_filtered() (#338206).
14946 2006-05-10 Wim Taymans <wim@fluendo.com>
14948 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14949 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14950 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14951 (gst_collect_pads_stop):
14952 * libs/gst/base/gstcollectpads.h:
14953 No need to call _stop in _finalize.
14954 Iterate the main pad list in _finalize.
14955 Added some more debug.
14956 Free lists and data in the right order.
14957 Also free data whem doing _remove_pad when stopped for
14958 backward compatibility protect ::started with PAD_LOCK as
14961 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14963 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14964 (gst_structure_parse_value):
14966 rename a method so that it actually says what it does better
14968 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14970 * gst/gstevent.c: (_gst_event_initialize):
14971 * gst/gstformat.c: (_gst_format_initialize):
14972 make sure some essential types used by events are registered
14973 as part of gst_init()
14974 * gst/gstvalue.c: (gst_value_serialize_flags):
14975 if no flags are set, serialize them to a value that represents NONE
14976 so that deserializing them works
14977 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14978 add tests for serialization and deserialization of flags
14980 2006-05-10 Wim Taymans <wim@fluendo.com>
14982 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14983 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14984 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14985 (gst_collect_pads_event), (gst_collect_pads_chain):
14988 Catch and return errors from the collect function
14989 Refuse data on eos pads.
14991 2006-05-10 Edward Hervey <edward@fluendo.com>
14993 * gst/gstinterface.h:
14994 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14995 GInterface type checking.
14996 They were previously using non-defined macros.
14998 2006-05-09 Wim Taymans <wim@fluendo.com>
15000 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15001 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15002 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15003 (gst_collect_pads_start), (gst_collect_pads_stop),
15004 (gst_collect_pads_peek), (gst_collect_pads_pop),
15005 (gst_collect_pads_available), (gst_collect_pads_read),
15006 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15007 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15008 (gst_collect_pads_chain):
15009 * libs/gst/base/gstcollectpads.h:
15010 Clean up the mess that is collectpads, add comments and
15011 FIXMEs where needed.
15012 Maintain a separate pad list so we can add pads while
15013 collecting the other ones. For this we need a new separate
15015 Fix memory leak in finalize.
15016 Refactor some weird code to set/unset pad flushing flags, mark
15018 Don't crash in _available, _read, _flush when we're EOS.
15020 * tests/check/libs/.cvsignore:
15021 Ignore adapter check binary.
15023 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15025 * gst/gstindex.c: (gst_index_resolver_get_type):
15026 * plugins/elements/gstfakesink.c:
15027 (gst_fake_sink_state_error_get_type):
15028 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15029 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15030 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15031 Const-ify GEnumValue arrays.
15033 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15035 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15036 Add test case for flags + gst_buffer_make_metadata_writable().
15038 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15040 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15041 gst_buffer_make_metadata_writable() should maintain the
15042 buffer flags (those that make sense at least) (see #340859).
15044 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15046 * tools/gst-inspect.c:
15047 * tools/gst-launch.c:
15048 * tools/gst-typefind.c:
15049 * tools/gst-xmlinspect.c:
15051 Fix up includes: need to include stdlib.h in tools.h for exit().
15053 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15055 * gst/gsttaglist.c: (_gst_tag_initialize):
15056 * gst/gsttaglist.h:
15057 API: add GST_TAG_IMAGE tag (#340721).
15059 2006-05-08 Wim Taymans <wim@fluendo.com>
15062 Added some docs for the segment query.
15064 2006-05-08 Wim Taymans <wim@fluendo.com>
15066 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15067 (gst_base_src_loop), (gst_base_src_change_state):
15068 Always push non-flushing serialized events in the streaming
15071 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15073 * gst/gsterror.c: (_gst_stream_errors_init):
15074 Add a missing error string.
15076 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15078 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15079 Add applied_rate to the debug
15081 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15082 Copy applied_rate into the outgoing NEWSEGMENT event
15084 2006-05-08 Wim Taymans <wim@fluendo.com>
15086 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15088 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15089 (gst_base_sink_change_state):
15090 call ::unlock before taking the PREROLL_LOCK so we can safely
15091 handle elements that lock in ::render.
15094 2006-05-08 Edward Hervey <edward@fluendo.com>
15096 * autogen.sh: (CONFIGURE_DEF_OPT):
15097 Darwin's libtoolize is in fact called glibtoolize.
15098 Adding glibtoolize to the list of accepted names for libtoolize.
15100 2006-05-08 Wim Taymans <wim@fluendo.com>
15102 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15103 Unify error handling, don't post an error message
15104 when a push() returns EOS but perform our normal EOS
15105 handling code. Fixes #340772.
15107 2006-05-08 Wim Taymans <wim@fluendo.com>
15109 * docs/design/part-overview.txt:
15110 Make upsteam/downstream concepts more clear.
15111 Give an example of serialized/non-serialized events.
15113 * docs/design/part-events.txt:
15114 * docs/design/part-streams.txt:
15115 Mention applied_rate.
15117 * docs/design/part-trickmodes.txt:
15118 Mention applied rate, flesh out some more use cases.
15120 * gst/gstevent.c: (gst_event_new_new_segment),
15121 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15122 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15123 (gst_event_parse_tag), (gst_event_new_buffer_size),
15124 (gst_event_parse_buffer_size), (gst_event_new_qos),
15125 (gst_event_parse_qos), (gst_event_parse_seek),
15126 (gst_event_new_navigation):
15128 Add applied_rate field to NEWSEGMENT event.
15129 API: gst_event_new_new_segment_full()
15130 API: gst_event_parse_new_segment_full()
15132 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15133 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15134 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15135 * gst/gstsegment.h:
15136 Add applied_rate to GstSegment structure.
15137 Make calculation of stream_time and running_time more correct
15138 wrt rate/applied_rate.
15139 Add some more docs.
15140 API: GstSegment::applied_rate field
15141 API: gst_segment_set_newsegment_full();
15143 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15144 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15145 * libs/gst/base/gstbasetransform.c:
15146 (gst_base_transform_sink_eventfunc),
15147 (gst_base_transform_handle_buffer):
15148 Parse and use applied_rate in the GstSegment field.
15150 * tests/check/gst/gstevent.c: (GST_START_TEST):
15151 Add check for applied_rate field.
15153 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15154 (gstsegments_suite):
15155 Add more checks for various GstSegment operations.
15157 2006-05-08 Wim Taymans <wim@fluendo.com>
15159 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15160 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15161 (gst_base_sink_get_position), (gst_base_sink_change_state):
15162 Store the sync time of the buffer end position separatly in a
15163 new variable eos_rtime so we can properly sync the EOS event.
15165 Fix the docs for gst_base_sink_set_qos_enabled().
15166 Don't set segment start to invalid value when we receive a
15167 non TIME newsegment.
15168 get closer to handling position reporting for negative rates
15171 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15174 Docs about how to print caps for debug purposes.
15176 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15177 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15179 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15181 * gst/gstelement.c:
15182 use full enum names and preprend a '%' in docs strings to make recent
15183 gtk-doc turn that into a link
15185 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15187 * docs/manual/basics-bins.xml:
15188 * docs/manual/basics-bus.xml:
15189 * docs/manual/basics-pads.xml:
15190 Some typo fixes, some additions, some clarifications.
15192 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15194 * tools/gst-inspect.c: (main):
15195 * tools/gst-launch.c: (main):
15196 * tools/gst-run.c: (main):
15197 * tools/gst-typefind.c: (main):
15198 * tools/gst-xmlinspect.c: (main):
15199 Use the string passed to g_option_context_new() for
15200 what it's intended for - the program name is already
15203 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15205 * tools/Makefile.am:
15206 * tools/gst-inspect.c: (main):
15207 * tools/gst-launch.c: (main):
15208 * tools/gst-xmlinspect.c: (main):
15210 Add back --version command line option (#340460).
15212 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15213 Add --version option and use GOption for argument parsing; refactor a
15214 bit; accept directories as arguments and recurse into them; lastly,
15215 print a decent error message when things go wrong.
15217 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15219 * docs/manual/basics-bins.xml:
15220 Don't mention GstThread (#340611)
15221 * docs/manual/basics-elements.xml:
15222 Update link to GObject tutorial (#340607)
15224 2006-05-05 Wim Taymans <wim@fluendo.com>
15227 * gst/gstminiobject.c:
15228 Add note about refcounting and miniobject/buffer writeability
15229 to docs. Fixes #340604
15231 * gst/gstelementfactory.h:
15232 Added some explanation about @klass.
15234 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15236 * docs/manual/intro-motivation.xml:
15237 * docs/manual/manual.xml:
15238 Avoid CORBA & Bonobo references (#340598)
15240 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15242 * docs/manual/basics-bus.xml:
15243 * docs/manual/basics-pads.xml:
15244 Fix up some inaccuracies and omissions (#340609)
15246 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15248 * gst/gstghostpad.c:
15249 Small typo in docs (#340625)
15251 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15253 * gst/parse/Makefile.am:
15254 Make 'make -j' proof (see #340698).
15256 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15259 Require GLib-2.8 here as well.
15261 2006-05-05 Wim Taymans <wim@fluendo.com>
15263 * gst/glib-compat.c:
15264 * gst/gst.c: (init_pre):
15265 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15266 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15267 (gst_object_dispatch_properties_changed):
15269 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15270 * gst/gststructure.c: (gst_structure_set_valist):
15271 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15272 Remove pre glib2.8 compatibility, fixes #340508
15274 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15276 * gst/gsttaglist.h:
15277 Mention type of tags in doc blurbs.
15279 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15281 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15282 (gst_pad_configure_src), (gst_pad_push):
15283 Restore acceptcaps checking behaviour now that good plugins have
15286 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15288 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15295 * gst/gstmessage.c:
15299 * gst/parse/Makefile.am:
15300 * libs/gst/base/gstadapter.c:
15301 * libs/gst/base/gstbasesrc.c:
15302 * libs/gst/base/gstpushsrc.c:
15303 * libs/gst/base/gsttypefindhelper.c:
15304 * plugins/elements/gstfakesrc.c:
15305 * plugins/elements/gstidentity.c:
15306 Make sure gstprivate.h and/or config.h are
15307 always included first, otherwise some of our
15308 defines (like _FILE_OFFSET_BITS) might be
15309 redefined in the system headers. Fixes build
15310 on opensolaris (#340016).
15312 2006-05-04 Wim Taymans <wim@fluendo.com>
15314 * docs/libs/gstreamer-libs-sections.txt:
15315 API: addition: gst_adapter_take_buffer()
15317 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15318 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15319 (gst_adapter_available_fast):
15320 * libs/gst/base/gstadapter.h:
15321 Prepare for optimizing the hell out of this hugely inefficient
15323 Added gst_adapter_take_buffer() so we can at least start thinking
15324 about subbuffering and merging.
15325 Added some comments.
15327 * tests/check/Makefile.am:
15328 * tests/check/libs/adapter.c: (GST_START_TEST),
15329 (gst_adapter_suite), (main):
15330 Added GstAdapter check.
15332 2006-05-04 Wim Taymans <wim@fluendo.com>
15334 * docs/design/part-overview.txt:
15335 Fix some typos, add blurb about buffer flags.
15337 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15339 * docs/libs/gstreamer-libs-sections.txt:
15340 make sure GstBaseTransformClass shows up in the docs
15341 * libs/gst/base/gstbasetransform.c:
15342 * libs/gst/base/gstbasetransform.h:
15343 move docs so gtk-doc picks it up now
15345 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15347 * docs/libs/gstreamer-libs-sections.txt:
15348 add missing symbols to docs
15350 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15352 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15353 back out the newsegment handling change, see #340060 for ongoing
15356 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15358 * tools/gst-run.c: (get_candidates), (main):
15359 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15360 work); fix typo in error message. Fixes #340079.
15362 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15364 * common/Makefile.am:
15365 * docs/Makefile.am:
15366 * docs/faq/Makefile.am:
15367 * docs/gst/Makefile.am:
15368 * docs/libs/Makefile.am:
15369 * docs/manual/Makefile.am:
15370 * docs/plugins/Makefile.am:
15371 * docs/pwg/Makefile.am:
15372 * docs/slides/Makefile.am:
15374 * common/upload.mak:
15375 move upload.mak to common
15377 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15379 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15380 add more asserts on refcounts
15381 do more cleanup at end of tests
15382 fix test leaks showing in FC5
15384 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15386 * plugins/elements/gsttypefindelement.c:
15387 (gst_type_find_element_handle_event):
15388 reverted wrong change and reflowed code to avoid others falling into
15391 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15393 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15394 fix changelog entry about last collectpads change,
15395 add notes about proper fix
15397 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15400 * gst/gstregistry.c: (gst_registry_scan_path_level),
15401 (gst_registry_scan_path):
15402 * gst/gstregistry.h:
15403 only write out registry if it has changed, fixes #338339
15405 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15408 * gst/gstpipeline.c:
15409 * plugins/elements/gstcapsfilter.c:
15410 * plugins/elements/gstfakesink.c:
15411 * plugins/elements/gstfakesrc.c:
15412 * plugins/elements/gstfdsink.c:
15413 * plugins/elements/gstfdsrc.c:
15414 * plugins/elements/gstfilesink.c:
15415 * plugins/elements/gstfilesrc.c:
15416 * plugins/elements/gstidentity.c:
15417 * plugins/elements/gstqueue.c:
15418 * plugins/elements/gsttee.c:
15419 * plugins/elements/gsttypefindelement.c:
15420 (gst_type_find_element_handle_event):
15421 make GstElementDetails const
15423 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15425 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15426 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15427 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15428 more detailed debug and formatting cleanup,
15429 forward newsegments to src-pad (so that e.g. adder not eats them)
15431 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15433 * gst/gstutils.c: (gst_element_link_pads):
15434 cleanup double code
15436 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15438 * libs/gst/controller/gstcontroller.c:
15439 (gst_controller_sync_values):
15441 * tests/check/libs/controller.c: (GST_START_TEST),
15442 (gst_controller_suite):
15443 a new test for live value handling
15445 2006-04-28 Wim Taymans <wim@fluendo.com>
15447 * gst/gstutils.c: (push_and_ref):
15448 Added some more docs.
15449 Fix refcount issue whith gst_element_found_tags() helper
15450 function. Fixes #338335
15452 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15453 Added testsuite for gst_element_found_tags().
15455 2006-04-28 Michael Smith <msmith@fluendo.com>
15457 * gst/gstvalue.c: (gst_value_serialize_flags):
15458 Avoid NULL dereference when trying to serialize flags containing
15461 2006-04-28 Michael Smith <msmith@fluendo.com>
15463 * plugins/elements/gsttypefindelement.c:
15464 (gst_type_find_element_handle_event):
15465 If we get EOS before any data is accumulated, don't use
15466 uninitialised local variables.
15468 2006-04-28 Michael Smith <msmith@fluendo.com>
15470 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15471 (gst_dp_event_from_packet):
15472 Fixes in reading/writing events over GDP (not currently used?) -
15473 dereferencing NULL events for unknown/invalid event types, memory
15474 leak, and change g_warning to GST_WARNING.
15476 2006-04-28 Wim Taymans <wim@fluendo.com>
15478 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15479 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15480 (gst_base_sink_get_position), (gst_base_sink_change_state):
15481 When frame dropping is enabled, we should not ignore frames
15482 without a duration.
15483 Update some documentation.
15485 2006-04-28 Wim Taymans <wim@fluendo.com>
15487 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15488 (gst_base_src_send_event), (gst_base_src_change_state):
15489 Documentation updates.
15491 2006-04-28 Wim Taymans <wim@fluendo.com>
15493 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15494 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15495 handle EAGAIN, EINTR and short writes correctly. Also clean
15496 up some error cases, avoid a deadlock on bad file descriptors and
15497 use GST_DEBUG_OBJECT.
15500 2006-04-28 Wim Taymans <wim@fluendo.com>
15502 * gst/gstvalue.c: (gst_value_serialize_buffer),
15503 (gst_value_deserialize_buffer):
15504 Don't try to serialize a GValue with a NULL buffer.
15507 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15508 Added check for serialisation of NULL buffers.
15510 2006-04-28 Wim Taymans <wim@fluendo.com>
15512 * gst/gstminiobject.c: (gst_value_take_mini_object):
15513 Taking a NULL miniobject is valid, fix the case where
15514 we try to unref the NULL miniobject.
15516 2006-04-28 Wim Taymans <wim@fluendo.com>
15518 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15520 * gst/gstbin.c: (gst_bin_handle_message_func):
15522 Don't leak bin refcount when a state recalc is
15523 in progress and we delay another one #339808.
15525 2006-04-28 Wim Taymans <wim@fluendo.com>
15527 * docs/design/part-TODO.txt:
15528 Mention QoS as an ongoing work item.
15530 * docs/design/part-buffering.txt:
15531 New doc about buffering that needs to be fleshed out
15534 * docs/design/part-qos.txt:
15535 More QoS policy for decoders/demuxers/transforms
15537 * docs/design/part-trickmodes.txt:
15540 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15545 === release 0.10.5 ===
15547 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15550 releasing 0.10.5, "Fogo"
15552 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15554 patch by: Wim Taymans
15556 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15557 (gst_pad_configure_src), (gst_pad_push):
15558 * gst/gstpipeline.c: (gst_pipeline_init):
15559 Fix internal data flow errors. Fixes #338711.
15561 2006-04-12 Wim Taymans <wim@fluendo.com>
15563 * tests/check/gst/gstelement.c: (GST_START_TEST):
15564 Don't leak the factory.
15566 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15569 * win32/common/config.h:
15572 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15574 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15575 (gst_controller_unset_all):
15576 Free allocated GstTimedValues when freeing list nodes.
15577 Should fix leaks 'make check-valgrind' complains about.
15579 * win32/common/libgstcontroller.def:
15580 Add gst_controller_unset_all.
15582 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15584 * docs/libs/gstreamer-libs-sections.txt:
15585 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15586 (gst_controller_unset_all):
15587 * libs/gst/controller/gstcontroller.h:
15588 API: Added new method gst_controller_unset_all()
15589 fixed gst_controller_unset()
15590 * tests/check/libs/controller.c: (GST_START_TEST),
15591 (gst_controller_suite):
15592 Added two testcases for new and fixed method
15594 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15596 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15597 MSG_DONTWAIT is not defined on Cygwin, so work
15598 around that (fixes #317048).
15600 2006-04-11 Wim Taymans <wim@fluendo.com>
15602 * gst/gstelementfactory.c: (gst_element_register),
15603 (gst_element_factory_create), (gst_element_factory_make):
15606 Updated docs (Fixes #131079)
15608 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15611 * tests/check/gst/gstelement.c: (GST_START_TEST),
15612 (gst_element_suite):
15613 Added testcase for elementfactory class field.
15615 2006-04-10 Wim Taymans <wim@fluendo.com>
15617 * gst/gstsegment.c:
15618 Added some more docs.
15620 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15621 (gst_base_sink_reset_qos):
15622 Calculate more accurate rate values.
15624 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15626 * gst/gst_private.h:
15627 add a new #ifdef to use __declspec(dllimport) only for
15628 other modules and not for gstreamer core
15629 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15630 use gst_guint64_to_gdouble for conversion
15631 * win32/common/libgstreamer.def:
15632 add new exported functions
15633 * win32/vs6/gst_inspect.dsp:
15634 * win32/vs6/gst_launch.dsp:
15635 * win32/vs6/libgstbase.dsp:
15636 * win32/vs6/libgstcontroller.dsp:
15637 * win32/vs6/libgstcoreelements.dsp:
15638 * win32/vs6/libgstdataprotocol.dsp:
15639 * win32/vs6/libgstnet.dsp:
15640 update project files
15642 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15644 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15645 * gst/gstclock.c: (gst_clock_class_init):
15646 * gst/gstelement.c: (gst_element_class_init):
15647 * gst/gstindex.c: (gst_index_class_init):
15648 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15649 * gst/gstobject.c: (gst_object_class_init),
15650 (gst_signal_object_class_init):
15651 * gst/gstpad.c: (gst_pad_class_init):
15652 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15653 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15654 * gst/gstregistry.c: (gst_registry_class_init):
15655 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15656 * gst/gsttask.c: (gst_task_class_init):
15657 * gst/gstxml.c: (gst_xml_class_init):
15658 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15659 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15660 (gst_base_src_loop):
15661 * libs/gst/controller/gstcontroller.c:/
15662 (_gst_controller_class_init):
15663 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15664 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15665 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15666 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15667 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15668 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15670 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15672 * gst/gstpad.c: (gst_pad_link):
15673 Must set peer pads before calling the link function, otherwise
15674 a task started from a link function might get a flow-not-linked
15675 result when trying to push because the other thread where the
15676 linking happens hasn't had a chance to set the peers yet. This
15677 might happen for example when a queue gets linked to a downstream
15678 element, as queue starts a streaming task when its source pad
15679 gets linked. Happens in real life when playing back flac/musepack
15680 files in playbin (#332390).
15682 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15686 * libs/gst/base/gstadapter.h:
15687 * libs/gst/base/gstbasesink.h:
15688 * libs/gst/base/gstbasesrc.h:
15689 * libs/gst/base/gstbasetransform.h:
15690 * libs/gst/base/gstcollectpads.h:
15691 * libs/gst/base/gstpushsrc.h:
15692 Fix broken GObject macros
15694 2006-04-07 Wim Taymans <wim@fluendo.com>
15696 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15697 Initialize start and stop times, thanks valgrind.
15699 2006-04-07 Wim Taymans <wim@fluendo.com>
15701 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15702 Be a bit nicer to badly behaving upstream elements that expect
15703 us to deal with non TIME segments and timestamps (such as fakesrc
15706 2006-04-07 Wim Taymans <wim@fluendo.com>
15709 Small documentation clarification about the signal watch.
15711 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15712 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15713 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15714 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15715 (gst_base_sink_get_position_last),
15716 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15717 Convert and store timestamps in stream time and running time, the
15718 raw timestamps are not useful, also document this better.
15719 Use different window sizes for good and bad QoS observations so
15720 we react to badness a little quicker.
15721 Keep track of the amount of rendered and dropped buffers.
15722 Send QoS timestamps in running time.
15724 * libs/gst/base/gstbasetransform.c:
15725 (gst_base_transform_sink_eventfunc),
15726 (gst_base_transform_handle_buffer):
15727 Compare QoS timestamps against running time.
15729 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15732 Typo fixes in docs.
15734 2006-04-06 Michael Smith <msmith@fluendo.com>
15736 * gst/gstpad.c: (gst_pad_set_property):
15737 Use g_value_get_object() instead of g_value_dup_gst_object(),
15738 to avoid double-reffing the pad template (which we then sink,
15739 so this worked previously if (and only if) the pad template
15742 * gst/gstpadtemplate.c: (gst_pad_template_init),
15743 (gst_pad_template_pad_created):
15744 Never return floating references to pad templates, create
15745 them as initially-sunken.
15747 Document an extra function (and make this stop sinking our
15748 pad template, since that is now guaranteed to do nothing,
15749 since we created it sunken).
15751 * gst/gstghostpad.c:
15754 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15756 * gst/gstinfo.c: (__gst_in_valgrind):
15759 * plugins/elements/gsttypefindelement.c:
15760 (gst_type_find_element_chain):
15761 Don't leak buffer caps.
15763 2006-04-06 Michael Smith <msmith@fluendo.com>
15765 * gst/parse/grammar.y:
15766 Fix a leak in parse-launch for any source-or-sink named element
15769 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15770 Unref the pipeline if it exists after we've failed parsing.
15772 2006-04-05 Michael Smith <msmith@fluendo.com>
15774 * gst/gstpipeline.c: (gst_pipeline_init):
15775 When we create a pipeline bus, initially create it in flushing mode.
15776 Fixes leaks in at least one test, and makes a new pipeline work the
15777 same as one that has gone to READY and then back to NULL.
15779 * gst/gstelement.c:
15782 2006-04-05 Michael Smith <msmith@fluendo.com>
15784 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15785 Unref a pad we reffed.
15786 * tests/check/gst/gstutils.c: (GST_START_TEST):
15789 2006-04-05 Michael Smith <msmith@fluendo.com>
15791 * gst/gstquery.c: (gst_query_set_formats),
15792 (gst_query_set_formatsv):
15793 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15795 2006-04-05 Michael Smith <msmith@fluendo.com>
15797 * tests/check/generic/sinks.c: (GST_START_TEST):
15798 Fix a variety of memleaks in sinks check, which are only sometimes
15799 shown by running the tests under valgrind (weird?).
15801 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15803 * docs/version.entities.in:
15804 Fix the substituted entity name after thomas' changes on the
15807 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15809 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15812 2006-04-05 Andy Wingo <wingo@pobox.com>
15814 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15816 * libs/gst/base/gstbasetransform.c
15817 (gst_base_transform_sink_eventfunc): When resetting our segment on
15818 FLUSH_STOP, also update the flag saying we haven't seen a
15821 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15823 Patch by: Paolo Borelli <pborelli at katamail dot com>
15825 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15826 (gst_plugin_check_license):
15827 minor clean-ups: G_DEFINE_TYPE already takes care of the
15828 parent_class stuff, no need to do it twice. Mark array of
15829 license strings as constant. (#337103)
15831 2006-04-04 Michael Smith <msmith@fluendo.com>
15833 * tools/gst-inspect.c: (print_element_list):
15834 Free the right plugin list; fixes a memory leak.
15836 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15838 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15840 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15841 Don't error out on empty buffers (#336945).
15843 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15845 * docs/libs/gstreamer-libs-sections.txt:
15846 * gst/gsttaglist.c:
15847 * libs/gst/base/gstbasesink.c:
15848 * libs/gst/base/gstbasesink.h:
15849 * libs/gst/base/gstbasesrc.c:
15850 * libs/gst/base/gstbasesrc.h:
15851 Documentation updates. Make BaseSink and BaseSrc docs contain the
15852 class structure so that people can actually see the prototypes for
15853 virtual functions they're supposed to be overriding.
15855 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15857 * plugins/elements/gsttypefindelement.c:
15858 (gst_type_find_element_chain):
15859 More debug info; when skipping typefinding, send cached
15860 events in all cases.
15862 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15865 use new AS_VERSION and AS_NANO macros
15866 * gst/gst-i18n-lib.h:
15869 * gst/gstversion.h.in:
15870 * win32/common/config.h:
15871 * win32/common/config.h.in:
15874 2006-03-31 Michael Smith <msmith@fluendo.com>
15876 * plugins/elements/gsttypefindelement.c:
15877 (gst_type_find_element_chain):
15878 Do not typefind content if the buffers already have caps.
15879 Neccesary for icydemux (#333657), and the right thing to do anyway.
15881 2006-03-30 Wim Taymans <wim@fluendo.com>
15883 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15884 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15885 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15886 (gst_base_sink_record_qos_observation),
15887 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15888 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15889 (gst_base_sink_change_state):
15890 More QoS measurements as described in the design doc.
15891 Get rid of ringbuffer with observations, running average is
15892 more simple and equally good.
15893 Calculates valid proportion now.
15894 Added beginning of flood measurement.
15896 2006-03-29 Wim Taymans <wim@fluendo.com>
15898 * docs/design/part-qos.txt:
15900 Small documentation updates and additions.
15902 2006-03-29 Wim Taymans <wim@fluendo.com>
15904 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15905 (gst_base_src_send_event), (gst_base_src_loop),
15906 (gst_base_src_change_state):
15907 Perform the EOS logic when we reach the segment stop position.
15908 Fix compilation on gcc4.1
15910 2006-03-29 Wim Taymans <wim@fluendo.com>
15912 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15914 * plugins/elements/gstqueue.c: (gst_queue_init),
15915 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15916 (gst_queue_set_property):
15917 * plugins/elements/gstqueue.h:
15918 In queue, when EOS is received, if minimum threshold > max_size -
15919 current_level, there is chance that queue blocks forever in conditional
15920 item del wait. This is because the queue is not emptied completely due
15921 to minimum threshold. Here is another approach. Instead of setting
15922 cur_levels to max in EOS, just zero all minimum threshold levels. This
15923 should make sure that queue gives out all data. When going to READY
15924 (stop) state, just reset the original minimum threshold levels.
15927 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15929 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15930 (gst_type_find_element_handle_event),
15931 (gst_type_find_element_send_cached_events),
15932 (gst_type_find_element_change_state):
15933 * plugins/elements/gsttypefindelement.h:
15934 When typefinding is done in push mode, we should cache
15935 events we receive during typefinding instead of just
15936 dropping them (e.g. newsegment, custom events from
15937 dvdreadsrc etc.) and then send them out once we've
15938 determined the type of the stream (and decodebin
15939 has had a chance to plug in a decoder/demuxer).
15941 2006-03-27 Wim Taymans <wim@fluendo.com>
15943 * docs/design/part-qos.txt:
15946 2006-03-27 Wim Taymans <wim@fluendo.com>
15948 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15950 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15951 (gst_base_src_send_event), (gst_base_src_change_state):
15952 Handle element seek correctly when we are streaming.
15955 2006-03-24 Michael Smith <msmith@fluendo.com>
15957 * docs/faq/gst-uninstalled:
15958 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15959 allow you to correctly run intalled applications built against old
15960 core, using plugins that require updated core (e.g. running
15961 installed totem against a full uninstalled gstreamer stack)
15963 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15968 2006-03-24 Wim Taymans <wim@fluendo.com>
15970 * docs/gst/gstreamer-sections.txt:
15971 Rearrange the order of the methods so that related methods
15972 are grouped together in sections.
15974 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15976 * gst/gstelement.c:
15977 Little clarification in the docs
15979 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15983 * plugins/elements/gstidentity.c:
15984 * plugins/elements/gstqueue.c:
15985 * plugins/elements/gsttee.c:
15986 * plugins/elements/gsttypefindelement.c:
15987 GST_ELEMENT_DETAILS formatting
15989 2006-03-24 Wim Taymans <wim@fluendo.com>
15991 * libs/gst/base/gstbasesink.h:
15992 Only add fields, not insert or we break ABI.
15994 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15996 * win32/common/libgstbase.def:
15997 * win32/common/libgstreamer.def:
15998 Update, add recently added functions.
16000 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16002 * docs/gst/gstreamer-sections.txt:
16003 * gst/gstutils.c: (gst_pad_query_peer_position),
16004 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16006 API: add some new utility functions:
16007 - gst_pad_query_peer_position()
16008 - gst_pad_query_peer_duration()
16009 - gst_pad_query_peer_convert()
16011 2006-03-23 Wim Taymans <wim@fluendo.com>
16013 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16014 (gst_base_sink_init), (gst_base_sink_finalize),
16015 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16016 (gst_base_sink_set_property), (gst_base_sink_get_property),
16017 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16018 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16019 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16020 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16021 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16022 (gst_base_sink_preroll_object), (gst_base_sink_event),
16023 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16024 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16025 (gst_base_sink_query), (gst_base_sink_change_state):
16026 Decouple max-lateness and the fact that QoS messages are generated
16027 with a new property (qos).
16028 added API: GstBaseSink::async_play()
16029 Add vmethod so subclasses can be notified of ASYNC playing
16031 Collect timestamp start and stop to report better current
16032 position in EOS/PLAYING/PAUSED/READY/NULL.
16033 Refactor QoS/frame dropping and other measurements.
16034 API: GstBaseSrc::qos
16037 * libs/gst/base/gstbasesink.h:
16038 Added Private struct.
16039 API: gst_base_sink_set_qos_enabled()
16040 API: gst_base_sink_is_qos_enabled()
16042 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16044 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16045 If compiling against GLib-2.8 or newer, try to read the
16046 registry file using GMappedFile first before falling back
16047 to fopen() + fread() (#332151).
16049 2006-03-22 Wim Taymans <wim@fluendo.com>
16051 * gst/gstinfo.c: (gst_debug_set_active),
16052 (gst_debug_category_set_threshold):
16053 Disable debugging unless explicitly activated.
16056 2006-03-22 Wim Taymans <wim@fluendo.com>
16058 * gst/gstelement.c: (gst_element_set_locked_state),
16059 (gst_element_dispose):
16060 Cleanup the error case.
16062 * gst/gstobject.c: (gst_object_dispose):
16063 print a critical when some object was disposed with
16064 a parent, also revive the object since it might
16067 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16069 * tools/gst-launch.1.in:
16072 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16075 * tests/check/Makefile.am:
16076 disable some tests when we don't have a registry
16077 * tests/check/gst/gstutils.c: (gst_utils_suite):
16078 don't build the part that needs parsing
16080 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16083 * tests/examples/Makefile.am:
16084 fix --disable-parse build
16086 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16088 * tools/gst-feedback.1.in:
16089 Fix typo: s/feeback/feedback/ (#133494).
16091 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16093 * tools/Makefile.am:
16094 * tools/gst-launch.1.in:
16095 Add FILES section and correct entry about GST_REGISTRY_PATH
16096 environment variable (#133495; #133494).
16098 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16100 * tools/Makefile.am:
16101 * tools/gst-md5sum.1.in:
16102 * tools/gst-md5sum.c:
16103 Remove gst-md5sum and man page (the md5sink element
16104 required was removed ages ago)
16106 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16108 * gst/gststructure.c: (gst_structure_id_set_value):
16109 Make sure that string fields in structures/taglists
16110 contain valid UTF-8 - we don't want to pass rubbish to
16111 applications because of a buggy plugin (cp. #334167).
16113 2006-03-21 Edward Hervey <edward@fluendo.com>
16115 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16116 (gst_bin_handle_message_func):
16117 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16118 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16119 (gst_element_set_bus_func):
16120 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16121 * gst/gstminiobject.c: (gst_value_set_mini_object),
16122 (gst_value_take_mini_object):
16123 * gst/gstpad.c: (gst_pad_set_pad_template):
16124 * gst/gstpipeline.c: (gst_pipeline_dispose),
16125 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16126 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16127 (gst_collect_pads_chain):
16128 * libs/gst/net/gstnettimeprovider.c:
16129 (gst_net_time_provider_set_property):
16130 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16131 It's in fact all issues with gst_*object_replace().
16133 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16135 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16137 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16138 * pkgconfig/gstreamer-check.pc.in:
16139 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16141 2006-03-21 Edward Hervey <edward@fluendo.com>
16145 * gst/gstmessage.h:
16146 gst_[buffer|event|message]_ref() macros are replaced by a static
16147 inline functions because gcc-4.1 will about if the return value
16149 * tests/check/gst/gstevent.c: (event_probe):
16150 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16152 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16155 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16156 the type' case. (Closes: #335195 for now). In the future, when we
16157 depend on GLib 2.10, we could also intern the type name using
16158 g_intern_static_string()
16160 2006-03-20 Wim Taymans <wim@fluendo.com>
16162 * gst/gstbin.c: (gst_bin_handle_message_func),
16163 (bin_query_max_init), (bin_query_position_fold),
16164 (bin_query_position_done), (gst_bin_query):
16165 Position query should also take max of all streams.
16167 2006-03-20 Wim Taymans <wim@fluendo.com>
16169 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16170 (gst_fake_src_finalize):
16171 Fix leaks in fakesrc.
16173 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16174 Fix leaks in the testcase.
16176 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16178 * gst/gst_private.h:
16179 add win32 specific import decoration(__declspec(dllimport))
16180 for all extern GstDebugCategory * variables
16181 * win32/common/libgstbase.def:
16182 * win32/common/libgstcontroller.def:
16183 * win32/common/libgstreamer.def:
16184 Add some exports, remove empty lines
16185 * win32/common/libgstdataprotocol.def:
16186 * win32/common/libgstdataprotocol.dsp:
16187 * win32/common/libgstnet.def:
16188 * win32/common/libgstnet.dsp:
16189 new project files and exportation files added
16191 2006-03-19 Wim Taymans <wim@fluendo.com>
16193 * tests/check/libs/basesrc.c: (eos_event_counter):
16194 Use proper return value for probe.
16196 2006-03-17 Wim Taymans <wim@fluendo.com>
16198 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16200 Don't leak buffers, caps and pads on negotiation errors.
16202 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16204 * docs/faq/cvs.xml:
16205 * docs/faq/dependencies.xml:
16206 * docs/faq/developing.xml:
16207 * docs/faq/faq.xml:
16208 * docs/faq/general.xml:
16209 * docs/faq/getting.xml:
16210 * docs/faq/legal.xml:
16211 * docs/faq/troubleshooting.xml:
16212 * docs/faq/using.xml:
16213 Faq review and update.
16215 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16217 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16219 Don't pound the cpu to pieces by checking get_caps when accept_caps
16220 is called with the same caps as the pad already has.
16221 Use GST_DEBUG_OBJECT when outputting caps change information.
16223 2006-03-15 Wim Taymans <wim@fluendo.com>
16225 * gst/gstclock.c: (gst_clock_class_init):
16228 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16233 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16234 (gst_pad_accept_caps), (gst_pad_configure_sink),
16235 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16236 Make the default acceptcaps behaviour be to check the requested
16237 caps against the gst_pad_get_caps output.
16239 Ensure that gst_pad_accept_caps is used to check caps when a pad
16240 doesn't have a setcaps function, so that pads automatically refuse
16241 caps that they don't allow in their pad template. (Fixes #332986)
16243 When a buffer with attached caps is pushed, ensure that the source
16244 pad receives those caps even if the element didn't call
16245 gst_pad_set_caps first.
16247 2006-03-15 Wim Taymans <wim@fluendo.com>
16249 * libs/gst/base/gstadapter.c:
16252 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16254 * win32/common/libgstbase.def:
16255 * win32/common/libgstcontroller.def:
16256 * win32/common/libgstreamer.def:
16257 Add a whole bunch of missing functions (#334434).
16259 2006-03-14 Wim Taymans <wim@fluendo.com>
16261 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16262 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16263 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16264 Better debug info when we receive a segment event.
16265 Reorganize a bit so we can pass the get_times() results around.
16266 Use the segment format when calculating the running time.
16267 Don't do QoS is sync is disabled or we have no clock or the
16268 element does not want us to sync to the clock.
16269 Don't drop buffers if QoS is disabled for now.
16271 2006-03-14 Wim Taymans <wim@fluendo.com>
16273 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16274 Marked the stats property as unimplemented so people don't get
16276 Add debug message when regression goes wrong.
16277 Added some more docs.
16279 2006-03-14 Wim Taymans <wim@fluendo.com>
16281 * gst/gstsegment.c: (gst_segment_to_stream_time):
16282 Return correct return type in case of errors.
16284 2006-03-14 Wim Taymans <wim@fluendo.com>
16286 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16287 Don't segfault on invalid formats.
16289 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16291 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16292 Can't use gst_segment_to_running_time() when the segment
16293 is not in GST_TIME_FORMAT (like with filesink, for example).
16294 Stops flac encoding pipelines from spewing critical warnings
16297 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16299 * gst/gstpipeline.c: (gst_pipeline_class_init):
16300 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16302 * plugins/elements/gsttypefindelement.c:
16303 (gst_type_find_element_handle_event):
16304 Don't try to typefind empty streams.
16306 2006-03-14 Wim Taymans <wim@fluendo.com>
16308 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16309 (gst_base_sink_do_qos):
16310 Separate QoS calculation.
16311 Only drop buffers when lateness is bigger than the
16312 duration of the buffer.
16314 2006-03-13 Wim Taymans <wim@fluendo.com>
16316 * gst/gstpipeline.c: (gst_pipeline_set_property),
16317 (gst_pipeline_get_property), (do_pipeline_seek),
16318 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16319 (gst_pipeline_get_delay):
16320 Don't deadlock when reading properties.
16322 2006-03-13 Wim Taymans <wim@fluendo.com>
16324 * libs/gst/base/gstbasetransform.c:
16325 (gst_base_transform_class_init), (gst_base_transform_init),
16326 (gst_base_transform_sink_event),
16327 (gst_base_transform_sink_eventfunc),
16328 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16329 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16330 (gst_base_transform_set_property),
16331 (gst_base_transform_get_property),
16332 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16333 (gst_base_transform_set_qos_enabled),
16334 (gst_base_transform_is_qos_enabled):
16335 * libs/gst/base/gstbasetransform.h:
16336 Make basetransform virtual method for src events too.
16337 Handle QOS in basetransform.
16338 API: gst_base_transform_update_qos()
16339 API: gst_base_transform_set_qos_enabled()
16340 API: gst_base_transform_is_qos_enabled()
16342 2006-03-13 Wim Taymans <wim@fluendo.com>
16344 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16345 (gst_base_sink_do_sync):
16347 Use QOS debug category.
16349 2006-03-13 Wim Taymans <wim@fluendo.com>
16351 * plugins/elements/gstqueue.c:
16352 Very small doc update.
16354 2006-03-13 Wim Taymans <wim@fluendo.com>
16356 * gst/gst_private.h:
16357 * gst/gstinfo.c: (_gst_debug_init):
16358 Added QOS debug category
16360 2006-03-13 Wim Taymans <wim@fluendo.com>
16362 * docs/gst/gstreamer-sections.txt:
16363 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16365 * gst/gstbus.c: (gst_bus_class_init):
16368 * gst/gstelement.c: (gst_element_set_locked_state):
16369 * gst/gstsegment.c:
16370 Documentation updates.
16372 * gst/gstpipeline.c: (gst_pipeline_get_type),
16373 (gst_pipeline_class_init), (gst_pipeline_init),
16374 (gst_pipeline_dispose), (gst_pipeline_set_property),
16375 (gst_pipeline_get_property), (do_pipeline_seek),
16376 (gst_pipeline_send_event), (gst_pipeline_change_state),
16377 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16378 (gst_pipeline_get_delay):
16379 * gst/gstpipeline.h:
16380 Added methods for setting the delay.
16381 API: gst_pipeline_set_delay()
16382 API: gst_pipeline_get_delay()
16383 Add pipeline debug category
16386 Don't reset stream time when seek failed.
16388 2006-03-13 Wim Taymans <wim@fluendo.com>
16390 * docs/design/draft-klass.txt:
16391 * docs/design/part-clocks.txt:
16392 * docs/design/part-events.txt:
16393 * docs/design/part-gstbin.txt:
16394 * docs/design/part-gstpipeline.txt:
16395 * docs/design/part-messages.txt:
16396 * docs/design/part-negotiation.txt:
16397 * docs/design/part-overview.txt:
16398 * docs/design/part-preroll.txt:
16399 * docs/design/part-seeking.txt:
16400 * docs/design/part-states.txt:
16401 * docs/design/part-streams.txt:
16402 Documentation updates.
16404 2006-03-12 Julien MOUTTE <julien@moutte.net>
16406 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16407 us to leak strings...
16409 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16411 * libs/gst/net/gstnettimeprovider.c:
16413 * win32/common/config.h:
16416 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16418 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16421 Don't check for libgnomeui (leftover from old examples
16422 that aren't built or disted any longer) (#334303).
16424 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16426 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16427 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16428 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16429 there's no space left on the device.
16431 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16434 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16435 to cast the input to GstClockTime before comparing with
16436 another GstClockTime value.
16438 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16443 === release 0.10.4 ===
16445 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16448 releasing 0.10.4, "Light"
16450 2006-03-10 Michael Smith <msmith@fluendo.com>
16452 * libs/gst/dataprotocol/dataprotocol.c:
16453 Fix docs for dataprocotol to not get the return types completely
16454 wrong for a few functions.
16456 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16458 * docs/gst/gstreamer-sections.txt:
16459 * gst/gstpipeline.c: (gst_pipeline_class_init),
16460 (gst_pipeline_init), (gst_pipeline_set_property),
16461 (gst_pipeline_get_property), (gst_pipeline_change_state),
16462 (gst_pipeline_set_auto_flush_bus),
16463 (gst_pipeline_get_auto_flush_bus):
16464 * gst/gstpipeline.h:
16465 Add new API: gst_pipeline_set_auto_flush_bus() and
16466 gst_pipeline_get_auto_flush_bus() to disable automatic
16467 flushing of the pipeline's GstBus when going from READY
16468 to NULL state (#332045).
16470 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16472 * docs/gst/gstreamer-sections.txt:
16473 * gst/gsturi.c: (gst_uri_has_protocol):
16475 Add new API: gst_uri_has_protocol() (#333779).
16477 2006-03-09 Wim Taymans <wim@fluendo.com>
16479 * gst/gstclock.c: (gst_clock_entry_new),
16480 (gst_clock_id_compare_func), (gst_clock_id_wait),
16481 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16482 (gst_clock_init), (gst_clock_get_internal_time),
16483 (gst_clock_set_master), (do_linear_regression),
16484 (gst_clock_add_observation), (gst_clock_set_property):
16488 Fix a possible segfault when the window-size is made smaller.
16489 Calculate jitter before performing the clock wait. Ideally
16490 the clock implementation should calculate jitter but we need
16491 API breakage for that.
16493 * gst/gstsystemclock.c: (gst_system_clock_init):
16496 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16497 Remove leftover else
16499 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16500 (gst_systemclock_suite):
16501 Added check to test GST_CLOCK_DIFF.
16503 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16505 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16506 (gst_type_find_helper_get_range):
16507 If we are provided with the size, we should implement
16508 GstTypeFind::get_length, so that typefind functions who
16509 want to can actually peek at the middle of a file.
16511 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16513 * docs/manual/advanced-dataaccess.xml:
16514 Add some very very basic error checking.
16516 * docs/pwg/appendix-checklist.xml:
16517 Some updates to the list of things to check when writing an element.
16519 2006-03-08 Wim Taymans <wim@fluendo.com>
16521 * docs/design/part-element-transform.txt:
16522 Added some docs about the design of tranform elements.
16524 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16525 (gst_base_src_loop), (gst_base_src_change_state):
16526 Mark buffers with the DISCONT flag.
16528 2006-03-08 Michael Smith <msmith@fluendo.com>
16530 * gst/gstregistry.h:
16531 * gst/gstregistryxml.c: (gst_registry_save),
16532 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16533 (gst_registry_xml_save_pad_template),
16534 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16535 (gst_registry_xml_write_cache):
16536 Rewrite registry-saving to avoid race conditions and check for
16539 2006-03-08 Wim Taymans <wim@fluendo.com>
16541 * libs/gst/base/gstbasetransform.c:
16542 (gst_base_transform_transform_caps),
16543 (gst_base_transform_transform_size),
16544 (gst_base_transform_prepare_output_buffer),
16545 (gst_base_transform_get_unit_size),
16546 (gst_base_transform_buffer_alloc),
16547 (gst_base_transform_handle_buffer),
16548 (gst_base_transform_change_state):
16549 Cleanups, separate normal flow from errors, add sensible
16551 Don't try to renegotiate when allocating an output buffer.
16552 Also copy DISCONT buffer flag when copying a buffer.
16553 Reset the transform after we finish streaming, not during.
16555 2006-03-08 Wim Taymans <wim@fluendo.com>
16557 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16558 Use last buffer timestamp in qos message.
16560 2006-03-07 Wim Taymans <wim@fluendo.com>
16562 Patch by: Christophe Fergeau
16564 * docs/pwg/advanced-tagging.xml:
16565 * docs/pwg/building-pads.xml:
16568 2006-03-07 Wim Taymans <wim@fluendo.com>
16570 * docs/libs/gstreamer-libs-sections.txt:
16571 Added basesink new methods.
16575 Docs updates. Flesh out the QoS docs.
16577 * libs/gst/base/gstadapter.c:
16578 Small doc clarification about ownership and flushing.
16580 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16581 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16582 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16583 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16584 * libs/gst/base/gstbasesink.h:
16586 Added new methods to allow subclass to control max-lateness
16588 Generate very basic QoS events based on last sync observation.
16589 Updated docs, fix typo, added some QoS blurb.
16591 * libs/gst/base/gstbasesrc.c:
16592 Remove obsolete _get_state() calls from docs.
16594 2006-03-07 Wim Taymans <wim@fluendo.com>
16596 * docs/libs/gstreamer-libs-sections.txt:
16597 * libs/gst/base/gstbasetransform.h:
16598 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16599 Fix docs for GstBaseSrc.
16601 2006-03-07 Wim Taymans <wim@fluendo.com>
16603 * docs/gst/gstreamer-sections.txt:
16606 * libs/gst/base/gstbasetransform.h:
16607 Small documentation fixes.
16609 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16612 Document thread-unsafety of gst_value_register_foo_func()
16613 when used at the same time as gst_value_foo() (#322628).
16615 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16617 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16618 (gst_push_src_check_get_range):
16619 Push sources don't support pull mode by default.
16621 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16623 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16624 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16625 (gst_base_src_default_check_get_range):
16626 * libs/gst/base/gstbasesrc.h:
16627 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16628 provide default implementation, and rename
16629 gst_base_src_check_get_range() to
16630 gst_base_src_pad_check_get_range() for clarity.
16632 2006-03-06 Wim Taymans <wim@fluendo.com>
16634 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16635 Make property overridable.
16637 2006-03-06 Wim Taymans <wim@fluendo.com>
16639 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16640 (gst_base_sink_init), (gst_base_sink_set_property),
16641 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16642 * libs/gst/base/gstbasesink.h:
16643 API addition: Make max-lateness a property.
16645 2006-03-06 Wim Taymans <wim@fluendo.com>
16647 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16648 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16649 Don't ever draw a frame that is >10ms late.
16651 2006-03-06 Michael Smith <msmith@fluendo.com>
16653 * gst/gstmessage.c: (_gst_message_copy):
16654 When copying a message, set the parent_refcount of the enclosed
16655 structure to point at the copy, not the original message.
16657 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16659 Patch by: Christophe Fergeau
16662 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16663 usable in c++ code (#333417)
16665 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16668 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16670 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16672 * libs/gst/base/gstbasetransform.c:
16673 (gst_base_transform_transform_caps):
16674 Make sure caps are writable before passing them to
16677 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16680 Fix some minor docs errors.
16682 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16684 Patch by: Ross Burton <ross at burtonini dot com>
16686 * gst/gsterror.c: (_gst_resource_errors_init):
16688 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16690 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16693 Add a check and output a g_warning when GStreamer is built
16694 against GLib 2.6 but running against 2.8 or higher, and vice
16695 versa. (Closes: #323542)
16697 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16699 * gst/parse/parse.l:
16700 Commit patch for parse_launch syntax from #331255. Removes
16701 support for quoted strings and mimetypes when writing filtered
16702 caps. See the bug report for more details - I'm pretty sure this
16703 obscure feature is not in use by _anyone_ anywhere.
16705 With this simple change, the size of the gstreamer.so here
16706 drops from 2193KB to 1565KB.
16708 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16710 * plugins/elements/gsttypefindelement.h:
16711 * plugins/elements/gsttypefindelement.c:
16712 (gst_type_find_element_src_event), (start_typefinding),
16713 (stop_typefinding), (gst_type_find_element_handle_event),
16714 (gst_type_find_element_chain),
16715 (gst_type_find_element_chain_do_typefinding):
16716 Use gst_type_find_helper_for_buffer() for chain-based
16719 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16721 * plugins/elements/gsttypefindelement.c:
16722 (gst_type_find_element_class_init),
16723 (gst_type_find_element_set_property),
16724 (gst_type_find_element_get_property):
16725 Deprecate "maximum" property (not only was it only taken into
16726 account for typefinding in push-mode anyway, it also was never
16727 actually possible to set it in the first place because the
16728 property was registered with the numeric property ID for the
16729 "minimum" property). Register "maximum" property correctly,
16730 for the sake of future copy'n'pasters. Remove some cruft
16731 from property get/set functions.
16733 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16735 * plugins/elements/gsttypefindelement.c:
16736 (gst_type_find_element_activate):
16737 Use gst_type_find_helper_get_range() here, so we
16738 can honour the "minimum" property and also emit
16739 the signal with the correct probability of the found caps.
16741 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16743 * docs/libs/gstreamer-libs-sections.txt:
16744 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16745 (helper_find_suggest), (gst_type_find_helper_get_range),
16746 (gst_type_find_helper):
16747 * libs/gst/base/gsttypefindhelper.h:
16748 New API: gst_type_find_helper_get_range() (#333042).
16750 2006-03-02 Michael Smith <msmith@fluendo.com>
16752 * gst/gstregistryxml.c: (load_feature):
16753 Asserting on a failure to read part of the registry is Not Cool.
16754 Just log a warning and return NULL (which is already handled)
16756 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16758 * win32/common/libgstbase.def:
16759 added export of gst_type_find_helper_for_buffer
16760 * win32/common/libgstbase.def:
16761 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16762 gst_ghost_pad_get_target
16764 2006-02-28 Wim Taymans <wim@fluendo.com>
16766 * docs/design/draft-klass.txt:
16768 Added Connector to mark elements that are only used to
16769 allow pipeline connections.
16770 Moved Debug to extra feature since most of them are
16771 functionally something else.
16773 2006-02-28 Wim Taymans <wim@fluendo.com>
16775 * docs/design/draft-klass.txt:
16776 Some updates and clarifications.
16778 2006-02-28 Wim Taymans <wim@fluendo.com>
16780 * docs/design/draft-klass.txt:
16781 Proposal for klass field values.
16783 * docs/design/part-streams.txt:
16784 Start of a doc describing stream anatomy.
16786 2006-02-28 Wim Taymans <wim@fluendo.com>
16788 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16789 Help the compiler a bit with type registration.
16790 Use existing forward cod path instead of duplicating it when
16791 handling a message.
16793 * gst/gstbus.c: (gst_bus_get_type):
16794 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16795 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16796 * gst/gstclock.c: (gst_clock_get_type):
16797 * gst/gstelement.c: (gst_element_get_type),
16798 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16799 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16800 * gst/gstminiobject.c: (gst_mini_object_get_type):
16801 * gst/gstpad.c: (gst_pad_get_type):
16802 * gst/gstsegment.c: (gst_segment_get_type):
16803 * gst/gststructure.c: (gst_structure_get_type):
16804 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16805 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16807 Help compiler with type registration.
16809 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16812 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16814 * plugins/elements/gsttypefindelement.c:
16815 (gst_type_find_element_handle_event):
16816 When we get an EOS event and have not found a type yet
16817 (most likely because we had not yet accumulated
16818 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16819 type given the data we have so far. Fixes typefinding
16820 for very short streams again, most notably quicktime
16821 redirections as used on Apple's trailer site (#331701).
16823 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16825 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16826 (gst_type_find_helper):
16827 Try typefinding factories with the highest rank first.
16829 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16831 * docs/libs/gstreamer-libs-docs.sgml:
16832 * docs/libs/gstreamer-libs-sections.txt:
16833 * libs/gst/base/gsttypefindhelper.c:
16834 Add section for typefind helper and add documentation
16835 for the old and the new function.
16837 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16839 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16840 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16841 (gst_type_find_helper_for_buffer):
16842 * libs/gst/base/gsttypefindhelper.h:
16843 New API: gst_type_find_helper_for_buffer() (#332723).
16845 2006-02-27 Michael Smith <msmith@fluendo.com>
16847 Patch by: Loïc Minier
16850 * docs/Makefile.am:
16851 * docs/slides/Makefile.am:
16852 prevent CVS directories getting disted.
16854 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16856 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16857 Use the REFCOUNTING category for caps refcounting.
16859 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16861 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16862 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16864 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16866 * plugins/elements/gsttypefindelement.c:
16867 (gst_type_find_element_activate):
16868 Use gst_pad_check_pull_range() before _activate_pull()
16869 to avoid unnecessary open/close (see #331690).
16871 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16874 Docs enhancement: make it crystal clear what the
16875 gst_pad_add_*_probe() callbacks should look like.
16877 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16879 * libs/gst/base/gstbasesrc.c:
16880 Document how applications can stop recording from
16881 live sources (see #330996).
16883 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16885 * tests/check/Makefile.am:
16886 * tests/check/libs/basesrc.c: (eos_event_counter),
16887 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16888 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16889 (gst_basesrc_suite), (main):
16890 ... and add some tests for the base source EOS stuff.
16892 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16894 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16895 Test case originally showed the problem fixed below,
16896 but was then amended. Add checks back at the place
16897 where they used to be.
16899 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16901 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16902 (gst_base_src_init), (gst_base_src_loop),
16903 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16904 (gst_base_src_change_state):
16905 * libs/gst/base/gstbasesrc.h:
16906 Don't unconditionally send EOS when going from PAUSED to
16907 READY state, esp. make sure we don't send two EOS events
16908 in some cases (e.g. one when reaching EOS and one when
16909 going from PAUSED to READY). Also, we don't want to send
16910 EOS events when operating in pull mode. However, we do
16911 want to send an EOS event when shutting down a live
16912 source explicitly, for example (fixes #330996).
16914 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16916 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16917 Update src->read_position after a seek when not using mmap.
16918 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16920 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16926 Make things work with --disable-parse as they do with
16927 --disable-load-save - the symbols involved disappear, but the
16928 header is still installed and GST_DISABLE_PARSE is included via
16931 2006-02-20 Julien MOUTTE <julien@moutte.net>
16933 * libs/gst/base/gstbasetransform.c:
16934 (gst_base_transform_change_state): Fix a stupid bug. I was
16935 sure I compiled that.
16937 2006-02-20 Julien MOUTTE <julien@moutte.net>
16939 * gst/gstpad.c: (gst_pad_set_blocked_async):
16940 * gst/gstutils.c: (gst_pad_add_data_probe),
16941 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16942 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16943 (gst_pad_remove_buffer_probe): Make those function act on the
16944 ghostpad target when it's a ghostpad. (Closes #331727)
16946 2006-02-20 Julien MOUTTE <julien@moutte.net>
16948 * libs/gst/base/gstbasetransform.c:
16949 (gst_base_transform_change_state): Make basetransform reusable.
16952 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16954 * docs/random/release:
16955 Move the current documentation of how to do a release to the top
16958 * gst/gstbin.c: (gst_bin_class_init),
16959 (gst_bin_handle_message_func):
16960 Allow multiple state-recalculation threads. (Closes #328873)
16962 2006-02-19 Julien MOUTTE <julien@moutte.net>
16964 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16965 * gst/gstpad.c: (gst_pad_set_event_function),
16966 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16967 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16968 2 strings. You can't use the STR_NULL macro on that.
16970 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16972 * gst/gstpad.c: (gst_pad_set_event_function),
16973 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16974 (gst_pad_set_getcaps_function)
16975 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16976 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16977 So now, we can use --gst-debug-level=5 on Windows
16978 * win32/common/libgstcontroller.def:
16979 Added export of gst_controller_init
16980 * win32/vs6/libgstcontroller.dsp:
16981 Fixed Release post build configuration
16983 2006-02-17 Wim Taymans <wim@fluendo.com>
16985 * tests/check/gst/gstquery.c: (GST_START_TEST):
16986 Added another check.
16988 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16990 * plugins/elements/gsttypefindelement.c: (find_peek):
16991 We can do peeks at non-zero offsets, as long as they
16992 fall within the buffer we have.
16994 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16996 * tests/check/Makefile.am:
16997 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16998 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16999 (parse_suite), (main):
17000 Add testsuite for parse launch syntax
17002 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17004 * plugins/elements/gsttypefindelement.c:
17005 (gst_type_find_element_chain):
17006 When typefinding is unsuccessful in the chain function, don't
17007 error out immediately. Only error out with NO_CAPS_FOUND if
17008 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17009 otherwise simply wait for more data so we can try typefinding
17010 again with more data later. Also, don't attempt to typefind
17011 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17012 this should improve typefinding from network sources where the
17013 size of the first buffer can be somewhat random.
17015 2006-02-14 Wim Taymans <wim@fluendo.com>
17017 * docs/gst/gstreamer-sections.txt:
17018 * gst/gstpadtemplate.c:
17019 * gst/gstpadtemplate.h:
17020 Fix padtemplate docs, fixes #328805.
17022 2006-02-14 Wim Taymans <wim@fluendo.com>
17024 * tools/gst-launch.c: (main):
17025 NO_PREROLL is not an ERROR so don't send confusing messages
17028 2006-02-14 Wim Taymans <wim@fluendo.com>
17030 Patch by: Torsten Schoenfeld
17032 * gst/gstregistry.c: (gst_registry_get_default),
17033 (_gst_registry_cleanup):
17034 Protect default registry with lock and ref/sink it.
17037 2006-02-14 Wim Taymans <wim@fluendo.com>
17040 * gst/gstquery.c: (gst_query_list_add_format),
17041 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17042 (gst_query_parse_formats_nth):
17043 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17046 2006-02-14 Wim Taymans <wim@fluendo.com>
17048 * docs/gst/gstreamer-sections.txt:
17049 Reworked query docs.
17051 * gst/gstquery.c: (gst_query_new_formats),
17052 (gst_query_list_add_format), (gst_query_set_formats),
17053 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17054 (gst_query_parse_formats_nth):
17056 Flesh out formats query, added some new methods.
17057 Fix part of #324398.
17059 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17060 Added query creation tests.
17062 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17064 * gst/gstpad.c: (fixate_value):
17065 Add a default fixation for fraction lists.
17067 2006-02-13 Wim Taymans <wim@fluendo.com>
17069 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17070 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17073 Detect and warn for obvious deadlocks. fixes #320340
17074 Fix error case where lock was not released.
17076 * tests/check/Makefile.am:
17077 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17078 (task_func), (gst_element_suite), (main):
17081 2006-02-13 Wim Taymans <wim@fluendo.com>
17083 * docs/gst/gstreamer-sections.txt:
17085 Add new functions to docs.
17087 2006-02-13 Wim Taymans <wim@fluendo.com>
17089 * docs/design/part-TODO.txt:
17090 Updated TODO list, basesrc supports seeking to non-bytes
17093 * docs/design/part-element-sink.txt:
17096 * gst/gstbin.c: (bin_replace_message),
17097 (gst_bin_handle_message_func):
17098 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17099 * gst/gstevent.c: (gst_event_finalize):
17100 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17101 (gst_pad_send_event):
17102 Use shiny new _TYPE_NAME macros.
17104 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17105 Move debug statement up.
17107 * gst/gstelement.c: (gst_element_set_locked_state):
17108 Add some debugging.
17110 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17112 * docs/gst/gstreamer-sections.txt:
17113 * gst/gstmessage.h:
17115 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17116 macros (#330906). Also, document the already existing
17117 GST_QUERY_TYPE macro.
17119 2006-02-13 Wim Taymans <wim@fluendo.com>
17121 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17122 (event_probe), (GST_START_TEST):
17123 Only events up to the pipeline EOS are counted, there are
17124 some more when going to NULL currently which we don't care
17127 2006-02-13 Wim Taymans <wim@fluendo.com>
17129 * gst/gstpad.c: (gst_pad_send_event):
17130 Correctly check flushing and emit probes. fixes #330125
17132 2006-02-10 Andy Wingo <wingo@pobox.com>
17134 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17136 (gst_bus_init): Cache the location of the private data in the
17137 instance structure.
17138 (gst_bus_enable_sync_message_emission)
17139 (gst_bus_disable_sync_message_emission): Implement new public
17141 (gst_bus_post): Emit the sync-message signal if the user asked for
17144 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17145 location of the bus-private structure.
17146 (gst_bus_enable_sync_message_emission)
17147 (gst_bus_disable_sync_message_emission): API addition
17149 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17151 Patch by: Vincent Torri
17153 * docs/pwg/building-boiler.xml:
17154 PWG patch from #326800
17156 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17159 * docs/Makefile.am:
17160 * docs/design/Makefile.am:
17163 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17168 === release 0.10.3 ===
17170 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17173 releasing 0.10.3, "Like a virgin"
17175 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17178 2nd prerelease of 0.10.3
17179 Bump libtool versioning.
17181 2006-02-07 Andy Wingo <wingo@pobox.com>
17183 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17184 update last_stop if we're in TIME format and the timestamp is
17187 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17188 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17189 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17190 If we get a new newsegment with a different format, adapt
17193 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17194 of 0. Not a problem, really.
17196 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17199 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17204 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17207 project files updated to the default vs7 configuration
17208 * win32/common/libgstbase.def:
17209 * win32/common/libgstreamer.def:
17211 removed empty lines,
17212 sorted all exported symbols alphabetically
17213 * win32/common/dirent.c:
17214 * win32/common/dirent.h:
17215 * win32/common/gchar.h:
17216 use windows line end.
17218 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17220 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17221 Send EOS event when stopping.
17223 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17226 Tell folks what to do if the plugin-foobar.xml file
17227 hasn't been generated for a newly-added plugin.
17229 2006-02-05 Julien MOUTTE <julien@moutte.net>
17231 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17232 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17233 (gst_collect_pads_start), (gst_collect_pads_stop),
17234 (gst_collect_pads_event): Collectpads now holds a reference
17235 to the GstPad that was added. Indeed we don't want to look
17236 at pads that might just go away with no warning...
17238 2006-02-05 Julien MOUTTE <julien@moutte.net>
17240 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17241 (gst_collect_pads_start), (gst_collect_pads_stop),
17242 (gst_collect_pads_event), (gst_collect_pads_chain):
17243 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17244 Mark Nauwelaerts's patch on bug #328491.
17246 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17248 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17250 Add some simple tests for gst_parse_bin_from_description() and
17251 gst_bin_find_unconnected_pad() (#329069).
17253 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17255 * tools/gst-launch.c: (event_loop), (main):
17256 Catch errors during preroll (#320084).
17258 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17260 * plugins/elements/gsttypefindelement.c:
17261 (gst_type_find_element_activate):
17262 Post TYPE_NOT_FOUND error message when typefinding
17263 is unsuccessful in the activate function as well.
17265 2006-02-02 Wim Taymans <wim@fluendo.com>
17267 * docs/design/part-element-sink.txt:
17270 2006-02-02 Wim Taymans <wim@fluendo.com>
17272 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17273 (gst_base_sink_render_object),
17274 (gst_base_sink_queue_object_unlocked):
17275 Only keep track of prerollable items when we are
17277 Before rendering after preroll, always check if we
17279 Added some more debugging.
17281 2006-02-02 Wim Taymans <wim@fluendo.com>
17283 * gst/gstelement.c: (gst_element_continue_state),
17284 (gst_element_set_state_func), (gst_element_change_state):
17285 Fixed #326576, been running this for quite some time with
17286 no regressions at all.
17288 2006-02-02 Wim Taymans <wim@fluendo.com>
17291 Added more suppressions
17293 2006-02-02 Wim Taymans <wim@fluendo.com>
17295 * docs/design/part-element-sink.txt:
17298 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17299 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17300 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17301 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17302 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17303 (gst_base_sink_preroll_object),
17304 (gst_base_sink_queue_object_unlocked),
17305 (gst_base_sink_queue_object), (gst_base_sink_event),
17306 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17307 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17308 (gst_base_sink_get_position), (gst_base_sink_change_state):
17309 * libs/gst/base/gstbasesink.h:
17310 Totally refactored matching the design doc.
17311 Use two segments, one to clip incomming buffers and another to
17313 Handle queueing correctly, bypass the queue when playing.
17314 Make EOS cancelable.
17315 Handle errors correctly when operating in pull based mode.
17317 * tests/check/elements/fakesink.c: (GST_START_TEST),
17319 Added new check for sinks.
17321 2006-02-02 Wim Taymans <wim@fluendo.com>
17323 * gst/gstsegment.c: (gst_segment_clip):
17324 No reason to refuse to clip when start == -1
17326 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17329 * docs/manual/intro-basics.xml:
17330 * docs/manual/intro-preface.xml:
17331 * docs/manual/manual.xml:
17332 * docs/pwg/advanced-dparams.xml:
17333 * docs/pwg/intro-basics.xml:
17334 * docs/pwg/intro-preface.xml:
17335 * docs/pwg/pwg.xml:
17336 describe dparams (controller) for plugins
17337 unify docs a little more
17339 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17341 * docs/gst/gstreamer-sections.txt:
17342 * gst/gstutils.c: (element_find_unconnected_pad),
17343 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17345 Add new API: gst_parse_bin_from_description() and
17346 gst_bin_find_unconnected_pad() (#329069).
17348 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17350 * docs/manual/README:
17351 uncover a nasty detail of the docs build
17353 2006-01-31 Wim Taymans <wim@fluendo.com>
17355 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17356 Don't cache duration messages if we're not going to use or
17359 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17361 * docs/manual/advanced-dparams.xml:
17362 * docs/pwg/advanced-dparams.xml:
17366 * libs/gst/controller/lib.c: (gst_controller_init):
17369 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17371 * gst/gstelement.c: (gst_element_message_full):
17372 also show file/line/func if no additional debug was given
17374 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17376 * win32/vs7/grammar.vcproj:
17377 activate copy of autogenerated files for Release mode
17379 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17381 * win32/common/libgstreamer.def:
17382 export gst_value_compare
17384 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17386 * plugins/elements/Makefile.am:
17387 * plugins/elements/gstelements.c:
17388 * plugins/elements/gstfdsink.c: (_do_init),
17389 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17390 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17391 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17392 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17393 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17394 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17395 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17396 * plugins/elements/gstfdsink.h:
17397 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17399 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17401 * docs/manual/advanced-dparams.xml:
17402 describe controller
17403 * docs/manual/advanced-position.xml:
17404 * docs/manual/basics-init.xml:
17405 * docs/manual/manual.xml:
17406 * docs/manual/titlepage.xml:
17407 * docs/pwg/pwg.xml:
17408 * docs/pwg/titlepage.xml:
17409 cleanup xml (more to come)
17410 * libs/gst/controller/gstcontroller.c:
17413 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17415 * win32/vs6/grammar.dsp:
17416 add autogen of gstmarshal.c,h for Release mode
17418 2006-01-30 Wim Taymans <wim@fluendo.com>
17420 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17421 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17422 (gst_base_sink_handle_object), (gst_base_sink_event),
17423 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17424 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17425 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17426 (gst_base_sink_deactivate), (gst_base_sink_activate),
17427 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17428 (gst_base_sink_query), (gst_base_sink_change_state):
17429 Basesink cleanups, remove some old code.
17430 Handle the case where a subclass can preroll in the render
17431 method (mostly audiosinks).
17432 Handle more events.
17433 Remove some locks around variables that are now protected
17434 with the PREROLL_LOCK (clock_id, flushing, ..).
17435 Optimize position query some more, do correct locking.
17436 Remove old code to push queue in state change, this is not
17437 needed anymore since preroll blocks on all prerollable items
17439 Almost implemented as described in design doc.
17441 2006-01-30 Wim Taymans <wim@fluendo.com>
17443 * tests/check/gst/gstbin.c: (GST_START_TEST):
17444 Wait for refcount to settle down before checking.
17446 2006-01-30 Wim Taymans <wim@fluendo.com>
17448 * docs/design/part-element-sink.txt:
17449 Pseudo code overview of desired sink behaviour regarding
17452 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17453 * win32/vs6/grammar.dsp:
17454 fix some bugs in Release mode for autogenerated files
17456 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17457 * win32/common/libgstbase.def:
17458 * win32/common/libgstreamer.def:
17459 export some new symbols: gst_base_src_set_format,
17460 gst_iterator_next, gst_structure_set_valist
17462 2006-01-29 Julien MOUTTE <julien@moutte.net>
17464 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17465 Set pad functions unconditionally. Fixes #329105.
17467 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17469 add vs8 project files created by Sergey Scobich
17471 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17473 * gst/gstutils.c: (gst_element_unlink_pads):
17474 Don't leak pad references.
17476 * tests/check/elements/fakesink.c: (GST_START_TEST):
17477 * tests/check/generic/sinks.c: (GST_START_TEST):
17478 * tests/check/generic/states.c: (GST_START_TEST):
17479 * tests/check/gst/gstbin.c: (GST_START_TEST):
17480 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17481 * tests/check/gst/gstelement.c: (GST_START_TEST):
17482 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17483 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17484 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17485 Fix a bunch of leaks. Make generic/sinks.c
17486 use a bit less cpu by slowing the buffer rate
17487 between fakesrc and fakesink.
17489 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17491 * gst/gstelement.c: (gst_element_send_event):
17494 * gst/gstiterator.c:
17495 * gst/gstiterator.h:
17496 * gst/gstpad.c: (gst_pad_send_event):
17497 * gst/gststructure.c:
17501 * libs/gst/base/gstadapter.c:
17502 doc fixes, to link to function, just write gst_cool_function(), don't
17505 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17507 * plugins/elements/gsttee.c: (gst_tee_do_push),
17508 (gst_tee_handle_buffer):
17509 Always prefer an actual return value from a src
17510 pad in place of NOT_LINKED. This means we return
17511 WRONG_STATE when all src pads are WRONG_STATE
17512 instead of NOT_LINKED.
17514 Lock when replacing the last message to prevent
17515 racing with the get_property method.
17519 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17521 * tests/check/Makefile.am:
17522 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17524 Add a very simple check that should have caught the memleak I fixed
17525 last night (if not for the slice allocator hiding it)
17527 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17529 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17530 (gst_bin_remove_func), (gst_bin_handle_message_func),
17531 (bin_query_duration_fold), (bin_query_generic_fold):
17532 Clean up references to the clock provider when disposed or when
17533 handling a clock-lost message from it.
17535 Unref sinks when performing a query via gst_iterator_fold, as the
17536 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17538 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17539 (gst_clock_set_master):
17540 Drop our reference to the master clock, if any, when we are disposed.
17542 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17543 Chain up in dispose.
17545 2006-01-26 Wim Taymans <wim@fluendo.com>
17547 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17548 Add some debugging.
17550 2006-01-26 Julien MOUTTE <julien@moutte.net>
17552 * plugins/elements/gsttee.c: (gst_tee_do_push),
17553 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17554 handles pad being NOT_LINKED or in WRONG_STATE.
17556 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17561 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17564 remove obsolete entry
17566 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17568 * docs/gst/gstreamer-sections.txt:
17569 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17570 (gst_bin_iterate_sources), (gst_bin_send_event):
17572 * gst/gstelement.c: (gst_element_send_event):
17574 * gst/gstpad.c: (gst_pad_send_event):
17575 added code for downstream events, reviewed docs in gstevent.c
17577 2006-01-25 Julien MOUTTE <julien@moutte.net>
17579 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17580 We only query position using the clock in the playing state.
17581 Query peer in the other cases.
17582 * win32/common/config.h: Updates.
17584 2006-01-24 Wim Taymans <wim@fluendo.com>
17586 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17587 A clock entry that is scheduled for the exact time of the
17588 clock is still in time.
17590 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17591 (gst_base_sink_do_sync):
17592 Add some more debug info.
17594 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17597 Add new vs7 project files and solution.
17599 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17602 all files removed as they were out-dated.
17604 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17606 * docs/random/release:
17608 * gst/gstbin.c: (gst_bin_init):
17609 * gst/gstbus.c: (gst_bus_new):
17611 * gst/gstpipeline.c: (gst_pipeline_init):
17612 use gst_bus_new(), improve logging, fix docs
17613 * win32/common/config.h:
17614 update for cvs build
17616 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17619 up required version of automake to 1.7
17621 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17623 * win32/common/libgstreamer.def:
17624 export gst_buffer_is_metadata_writable
17626 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17628 * docs/gst/gstreamer-sections.txt:
17630 Add gst_event_replace() (#327001)
17632 2006-01-20 Wim Taymans <wim@fluendo.com>
17634 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17635 Make it actually compile too..
17637 2006-01-20 Wim Taymans <wim@fluendo.com>
17640 Clarify behaviour of _is_equal() when passing NULL parameters.
17642 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17643 (gst_pad_set_caps):
17644 Cleanups. Don't unref NULL caps.
17645 When setting the same caps, protect caps of the pad with
17647 Use full functionality of _is_equal() when comparing caps.
17649 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17651 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17652 Don't loop infinitely if there are no buffers to present. Partially
17653 fixes #327197, but collectpads is just broken for reusing elements
17654 to do multiple encodes atm.
17656 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17658 * tools/gst-inspect.c: (print_element_features):
17659 * tools/gst-xmlinspect.c: (main):
17660 URL_HANDLER is not a plugin feature we can search for in
17663 2006-01-19 Edward Hervey <edward@fluendo.com>
17665 * gst/gstelement.c: (gst_element_pads_activate):
17666 When activating, do src pads first, then sink pads.
17667 When de-activating, do sink pads first, then src pads.
17669 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17671 * docs/gst/gstreamer-sections.txt:
17672 Add gst_index_add_associationv to the docs
17674 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17679 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17680 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17681 Do some refactoring. Doesn't actually change functionality,
17682 but makes landing the DRAIN event easier later.
17684 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17686 * docs/pwg/advanced-scheduling.xml:
17687 Update from 0.9.x to 0.10 API and make example a bit
17690 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17692 * docs/gst/gstreamer-sections.txt:
17693 Add gst_buffer_(is|make)_metadata_writable methods.
17695 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17697 * docs/design/part-sparsestreams.txt:
17698 Update sparse streams doc, hopefully for greater clarity
17700 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17702 * docs/design/part-events.txt:
17703 Remove mention of FILLER events.
17706 * docs/design/part-sparsestreams.txt:
17707 Write some things about using NEWSEGMENT to keep sparse streams
17710 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17712 * gst/gstbin.c: (gst_bin_dispose):
17713 Guard gst_object_unref call against a NULL object (dispose
17714 can theoretically be called multiple times).
17716 2006-01-18 Wim Taymans <wim@fluendo.com>
17718 * gst/gstbin.c: (gst_bin_element_set_state):
17719 * gst/gstclock.c: (gst_clock_id_wait):
17720 Added some more debug info.
17722 * libs/gst/base/gstadapter.c:
17725 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17726 (gst_base_sink_do_sync), (gst_base_sink_chain):
17727 Added some comments.
17729 2006-01-18 Wim Taymans <wim@fluendo.com>
17731 * tests/check/Makefile.am:
17732 * tests/check/elements/fakesink.c: (chain_async_buffer),
17733 (chain_async), (chain_async_return), (GST_START_TEST),
17734 (fakesink_suite), (main):
17735 Added fakesink test that checks prerolling and clipping
17738 * tests/check/gst/gstutils.c: (GST_START_TEST):
17739 Make check run faster so that buildbots don't timeout.
17741 2006-01-18 Wim Taymans <wim@fluendo.com>
17743 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17744 (gst_base_sink_do_sync):
17746 When the sink finishes blocking on the preroll buffer, it can
17747 immediatly render it instead of rendering when the next buffer
17750 2006-01-18 Wim Taymans <wim@fluendo.com>
17752 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17753 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17754 (gst_base_sink_chain):
17756 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17757 Don't store _last_stop if the buffer is dropped.
17759 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17761 * plugins/elements/gsttypefindelement.c:
17762 (gst_type_find_element_class_init):
17763 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17764 object method handler that sets the caps on the pad and we want
17765 that to happen before we emit the signal (fixes e.g. feeding a
17766 plain text file to decodebin).
17768 2006-01-18 Christian Schaller <Christian@fluendo.com>
17770 * gst/gstplugin.c: Add MPL and Proprietary as license options
17772 2006-01-18 Andy Wingo <wingo@pobox.com>
17774 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17775 symbol was exported before, it appears this was just an oversight.
17777 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17779 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17780 prototype to gint. OK since this prototype was not in the header.
17782 2006-01-17 Andy Wingo <wingo@pobox.com>
17784 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17785 registry while we remove plugins.
17787 * tools/gst-inspect.c (print_element_info): Don't unref the
17788 factory arg, that should be the responsibility of whatever code
17789 received the ref. Fixes a double-free when called from
17790 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17791 (main): Unref the factory if we have one.
17792 (print_element_list): No change -- relies on the
17793 plugin_feature_list_free to free the list of features.
17795 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17797 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17798 (gst_buffer_make_metadata_writable):
17800 * libs/gst/base/gstbasetransform.c:
17801 (gst_base_transform_prepare_output_buf):
17802 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17803 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17804 Replace gst_buffer_(make|is)_metadata_writable patch now
17805 that the release is out.
17807 2006-01-17 Andy Wingo <wingo@pobox.com>
17809 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17810 in the present tense without reference to versions.
17812 * gst/gstregistry.c (gst_registry_add_plugin)
17813 (gst_registry_remove_plugin, gst_registry_remove_feature)
17814 (gst_registry_find_feature, gst_registry_get_feature_list)
17815 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17816 (gst_registry_lookup, gst_registry_scan_path)
17817 (_gst_registry_remove_cache_plugins)
17818 (gst_registry_get_feature_list_by_plugin): Add argument
17821 === release 0.10.2 ===
17823 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17826 releasing 0.10.2, "If man is five"
17828 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17832 * libs/gst/base/gstbasetransform.c:
17833 (gst_base_transform_prepare_output_buf):
17834 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17835 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17836 Back out patch until after the release.
17838 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17840 * gst/gstminiobject.c:
17841 Spelling fix in docs.
17842 * ChangeLog - remove conflict indicator
17844 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17846 Reviewed By: Andy Wingo
17848 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17849 (gst_buffer_make_metadata_writable):
17851 Add gst_buffer_(is|make)_metadata_writable as analogues of
17852 gst_buffer_(is|make)_writable.
17854 * libs/gst/base/gstbasetransform.c:
17855 (gst_base_transform_prepare_output_buf):
17856 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17857 Use name gst_buffer_(is|make)_metadata_writable functions.
17859 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17860 Test gst_buffer_(is|make)_metadata_writable
17864 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17866 * docs/manual/Makefile.am:
17867 don't do parallel make
17870 * win32/common/config.h.in:
17871 add generations for HOST_CPU and GST_MAJORMINOR
17872 * win32/common/config.h:
17873 commit generated result
17875 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17877 * docs/manual/appendix-integration.xml:
17878 Update GNOME integration section to use gst_init_get_option_group()
17879 instead of the old popt stuff (#322911). Also, GNOME applications
17880 should now use gconf*sink and gconf*src instead of the old gconf
17883 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17886 * docs/gst/gstreamer-docs.sgml:
17887 * docs/gst/gstreamer-sections.txt:
17888 * docs/libs/gstreamer-libs-sections.txt:
17889 add new API entries to the docs
17890 * libs/gst/controller/Makefile.am:
17891 * libs/gst/controller/gstcontroller.c:
17892 * libs/gst/controller/gstcontroller.h:
17893 * libs/gst/controller/gstcontrollerprivate.h:
17894 * libs/gst/controller/gsthelper.c:
17895 * libs/gst/controller/gstinterpolation.c:
17896 move private structs to private header
17898 gstreamer-0.7 -> gstreamer-0.10
17899 * tests/check/libs/struct_i386.h:
17900 remove private structs
17902 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17904 * plugins/indexers/Makefile.am:
17905 Fixes as part of #317048
17907 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17909 * plugins/indexers/Makefile.am:
17910 fix #316086 - compilation when mmap is missing
17912 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17914 * libs/gst/base/gstbasesink.c:
17915 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17916 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17917 * win32/common/config.h:
17918 added some defines GST_MAJORMINOR and HOST_CPU
17919 * win32/common/libgstbase.def:
17920 * win32/common/libgstreamer.def:
17921 added some exported functions.
17923 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17925 * libs/gst/controller/gstcontroller.c:
17926 (gst_controlled_property_set_interpolation_mode),
17927 (gst_controlled_property_new):
17928 * libs/gst/controller/gstcontroller.h:
17929 * libs/gst/controller/gstinterpolation.c:
17930 (interpolate_none_get_string_value_array):
17931 make G_TYPE_STRING controlable
17933 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17936 * tools/gst-feedback.1.in:
17937 * tools/gst-inspect.1.in:
17938 * tools/gst-launch.1.in:
17939 * tools/gst-md5sum.1.in:
17940 * tools/gst-typefind.1.in:
17941 * tools/gst-xmlinspect.1.in:
17942 * tools/gst-xmllaunch.1.in:
17943 cleanup man-pages, remove reference to gst-register, document env-vars
17945 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17947 * gst/gstbuffer.c: (gst_buffer_span):
17948 gst_buffer_span should copy the timestamp of the first buffer
17949 if they were both originally overlapping subbuffers of the
17950 same parent, using the same logic as the 'slow copy' case.
17952 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17954 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17955 Need to awaken ALL the pads when we pop a buffer, otherwise
17956 collectpads only works when there is 2 input streams.
17958 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17960 * docs/random/ensonic/media-device-daemon.txt:
17963 fix doc example, add clarification
17964 * tools/gst-launch.1.in:
17965 add initial info about GST_PLUGIN_PATH, needs more work
17967 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17969 * docs/manual/basics-bins.xml:
17970 * docs/manual/basics-elements.xml:
17971 * docs/manual/intro-basics.xml:
17972 Some more minor docs additions and updates.
17974 2006-01-11 Wim Taymans <wim@fluendo.com>
17976 * docs/manual/basics-bins.xml:
17977 * docs/manual/basics-elements.xml:
17978 Some small fixes as pointed out by Ser-ver on IRC.
17980 2006-01-10 Edward Hervey <edward@fluendo.com>
17982 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17983 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17984 the single-segment mode.
17986 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17988 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17990 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17991 (gst_base_src_perform_seek), (gst_base_src_send_event),
17992 (gst_base_src_set_property), (gst_base_src_get_property),
17993 (gst_base_src_loop), (gst_base_src_start),
17994 (gst_base_src_activate_push):
17995 * libs/gst/base/gstbasesrc.h:
17996 Name (private) union; makes Sun's Forte compiler happy (#324900).
17998 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18001 gst-register is gone.
18003 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18005 * gst/gstvalue.c: (_gst_value_initialize):
18006 make the G_TYPE_DATE instantiation work if debug is disabled
18008 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18010 * gst/gstmessage.c: (gst_message_parse_tag),
18011 (gst_message_parse_error), (gst_message_parse_warning):
18012 Don't crash when return location for error/warning debug
18013 string is NULL; add fact that return locations can be
18014 NULL to docs where appropriate.
18016 2006-01-05 Wim Taymans <wim@fluendo.com>
18018 * gst/gstplugin.c: (gst_plugin_load_file):
18019 Replace strdup by g_strdup.
18021 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18023 * docs/pwg/advanced-types.xml:
18026 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18028 submitted by: Abel Cheung
18032 Added Chinese (traditional) translation
18034 2006-01-04 Wim Taymans <wim@fluendo.com>
18036 * docs/manual/basics-pads.xml:
18037 * docs/plugins/Makefile.am:
18038 * docs/plugins/gstreamer-plugins-docs.sgml:
18039 * docs/plugins/gstreamer-plugins-sections.txt:
18040 * docs/pwg/advanced-clock.xml:
18041 * docs/pwg/advanced-scheduling.xml:
18042 * docs/pwg/advanced-types.xml:
18043 * plugins/elements/gstfdsink.c:
18044 * plugins/elements/gstfdsrc.c:
18045 * plugins/elements/gstfdsrc.h:
18046 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18047 * plugins/elements/gstidentity.h:
18048 * plugins/elements/gstqueue.h:
18049 * plugins/elements/gsttee.c:
18050 * plugins/elements/gsttee.h:
18051 * plugins/elements/gsttypefindelement.c:
18052 (gst_type_find_element_class_init):
18053 * plugins/elements/gsttypefindelement.h:
18054 Small updates to various docs.
18055 Added core plugins to docs.
18057 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18060 add a suppression for liboil's uninitialized variable
18062 2006-01-02 James Livingston <jrl at ids dot org dot au>
18064 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18067 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18068 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18069 compiler switch is being used (#325429).
18071 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18073 * gst/gstbin.c: (gst_bin_query):
18074 Disable duration query caching in bins until it gets
18075 fixed (see #324807).
18077 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18079 * tools/gst-inspect.c: (print_element_properties_info):
18080 Handle properties of POINTER and BOXED type.
18082 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18084 * gst/gst.c: (init_post):
18085 Init tags stuff and some other things before loading
18086 any static plugins (there may be other static plugins
18087 than just the GStreamer ones, and they may want to
18088 register their own tags or formats or whatever, and
18089 preferably without segfaulting).
18091 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18092 Print at least a warning in the debug logs if we drop a
18093 query just because we don't know how to adjust the value
18094 in the particular format.
18096 2005-12-24 David Schleef <ds@schleef.org>
18098 * tools/gstreamer-completion:
18099 Replacement for gst-complete written in sh and sed. Only
18100 completes names of features, but that's 90% of what I want
18101 it for. Properties are not available in registry.xml. (Maybe
18104 === release 0.10.1 ===
18106 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18109 releasing 0.10.1, "Nollaig chridheil"
18111 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18113 * docs/faq/cvs.xml:
18114 Add missing quote, should be make ERROR_CFLAGS="".
18116 2005-12-20 Wim Taymans <wim@fluendo.com>
18118 * docs/design/part-trickmodes.txt:
18119 More documentation on trickmodes.
18121 2005-12-20 Edward Hervey <edward@fluendo.com>
18123 * gst/gstcaps.c: (gst_static_caps_get_type):
18125 API addition: GST_TYPE_STATIC_CAPS
18126 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18127 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18128 * gst/gstpadtemplate.h:
18129 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18130 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18133 2005-12-18 Wim Taymans <wim@fluendo.com>
18135 * libs/gst/base/gstadapter.c:
18136 * libs/gst/base/gstadapter.h:
18137 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18138 (gst_base_sink_get_position):
18139 * libs/gst/base/gstbasesink.h:
18140 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18141 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18142 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18143 (gst_base_src_send_event), (gst_base_src_update_length),
18144 (gst_base_src_get_range), (gst_base_src_loop),
18145 (gst_base_src_start):
18146 * libs/gst/base/gstbasesrc.h:
18147 * libs/gst/base/gstbasetransform.h:
18148 * libs/gst/base/gstcollectpads.h:
18149 * libs/gst/base/gstpushsrc.c:
18150 * libs/gst/base/gstpushsrc.h:
18151 * libs/gst/dataprotocol/dataprotocol.c:
18152 * libs/gst/dataprotocol/dataprotocol.h:
18153 * libs/gst/net/gstnetclientclock.h:
18154 * libs/gst/net/gstnettimeprovider.h:
18155 Documentation updates.
18157 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18159 * docs/manual/basics-helloworld.xml:
18160 Remove superfluous closing bracket in helloworld example.
18162 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18164 * tools/gst-launch.1.in:
18165 Update gst-launch man page; add a section with useful
18166 environment variables. Fixes #323882.
18168 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18171 * gst/gst_private.h:
18172 change some char* into char[]
18174 2005-12-16 Wim Taymans <wim@fluendo.com>
18176 * gst/gstregistryxml.c: (load_feature):
18178 Don't use g_object_unref on GstObjects so that we avoid
18179 leaks on unsafe glibs.
18181 2005-12-16 Wim Taymans <wim@fluendo.com>
18183 * gst/gstbin.c: (gst_bin_recalc_state):
18186 2005-12-16 Wim Taymans <wim@fluendo.com>
18188 * common/check.mak:
18189 Added make forever target for check.
18191 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18193 * gst/gst.c: (init_post):
18194 make the registry cache file HOST_CPU-dependent
18196 2005-12-16 Andy Wingo <wingo@pobox.com>
18198 * plugins/elements/gstbufferstore.c
18199 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18202 * tests/check/gst/gstobject.c
18203 (test_fake_object_name_threaded_unique): Pay attention to
18204 g_list_sort return value.
18206 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18208 * tools/gst-feedback-m.m:
18209 Update for 0.9/0.10 (fixes #323870).
18211 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18213 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18214 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18216 * tests/check/gst/gstminiobject.c: (my_foo_init),
18217 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18218 (test_value_collection), (gst_mini_object_suite):
18219 Add test to ensure refcounts end up as expected when passing
18220 GstMiniObjects through g_object_get() and g_object_set().
18222 2005-12-14 Julien MOUTTE <julien@moutte.net>
18224 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18225 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18226 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18227 of collectpads. This version removes a lot of races without
18228 touching API/ABI. Yay !
18230 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18232 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18233 Don't allow activation of a srcpad in pull_range if it has no
18235 Change some debug statements to be a little clearer
18237 * plugins/elements/gsttypefindelement.c:
18238 (gst_type_find_handle_src_query):
18239 Check that we have a peer before executing queries thereupon.
18241 * tests/examples/metadata/read-metadata.c: (message_loop):
18242 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18243 immediately return us any available message with 0 timeout.
18245 2005-12-12 Michael Smith <msmith@fluendo.com>
18247 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18248 Don't unref factories after calling them.
18249 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18250 * plugins/elements/gsttypefindelement.c:
18251 (gst_type_find_element_chain):
18252 Free lists of factories after using them. Fixing typefinding memory
18255 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18257 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18258 (gst_plugin_feature_load):
18259 more meaningful debug output
18261 * tests/Makefile.am:
18262 * tests/old/examples/Makefile.am:
18263 make make distcheck happy again
18265 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18267 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18268 Catch the special case where we are operating chain-based,
18269 but the downstream peer pad has no chain function. Emit a
18270 custom error message in this case instead of letting the
18271 core generate one implying that this is some sort of core
18272 bug. It's not, it just means that whatever got plugged
18273 into the pipeline downstream when we announced the type
18274 can only operate pull-based, while our source can only
18275 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18276 Error string has not been marked for translation yet, as
18277 it probably needs some more work first.
18279 (gst_type_find_element_get_best_possibility):
18280 Add helper function to find the best of all available
18281 found possibilities that qualify given the min. threshold.
18283 (gst_type_find_element_handle_event):
18284 Fix the case where we get an EOS while still in TYPEFIND
18285 mode (we want to chose the best of all possible types,
18286 not just the first type that happens to be in our unsorted
18287 list of possible types).
18289 (gst_type_find_element_chain):
18290 Make sure we return GST_FLOW_ERROR when we errored out
18291 in stop_typefinding(); also, don't just find the best of
18292 all found type entries and then use the last examined
18293 type entry, but actually use the best entry.
18295 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18297 * tests/examples/typefind/typefind.c: (type_found):
18298 * tests/examples/xml/runxml.c: (xml_loaded):
18299 More gcc4 fixes and a mem leak fix.
18301 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18303 * tests/examples/xml/createxml.c: (object_saved):
18306 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18308 * tests/Makefile.am:
18309 enable the examples even more
18311 2005-12-12 Andy Wingo <wingo@pobox.com>
18313 * libs/gst/net/gstnettimeprovider.c
18314 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18315 (gst_net_time_provider_set_property)
18316 (gst_net_time_provider_get_property):
18317 API addition: Export "active" as a GObject property.
18318 (gst_net_time_provider_thread): Only respond to time queries if
18319 the time provider is active.
18321 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18322 NetTimeProvider, preserving binary compat.
18324 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18326 * tests/examples/controller/audio-example.c: (main):
18327 * tests/examples/launch/Makefile.am:
18328 convert comments again
18330 2005-12-12 Wim Taymans <wim@fluendo.com>
18332 * libs/gst/base/gstpushsrc.c:
18335 2005-12-12 Wim Taymans <wim@fluendo.com>
18337 * docs/libs/gstreamer-libs-sections.txt:
18338 Added new symbol to docs.
18340 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18341 (gst_base_src_init), (gst_base_src_set_format),
18342 (gst_base_src_default_query), (gst_base_src_query),
18343 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18344 (gst_base_src_perform_seek), (gst_base_src_send_event),
18345 (gst_base_src_default_event), (gst_base_src_event_handler),
18346 (gst_base_src_set_property), (gst_base_src_get_property),
18347 (gst_base_src_wait), (gst_base_src_do_sync),
18348 (gst_base_src_update_length), (gst_base_src_get_range),
18349 (gst_base_src_check_get_range), (gst_base_src_loop),
18350 (gst_base_src_default_negotiate), (gst_base_src_start),
18351 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18352 (gst_base_src_change_state):
18353 * libs/gst/base/gstbasesrc.h:
18354 Implement seeking to other formats than _BYTES.
18355 Implement more seeking methods correctly.
18357 Added query vmethod.
18358 Added do_seek vmethod to make life easier for subclasses
18360 API addition: gst_base_src_set_format()
18362 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18364 * tests/examples/Makefile.am:
18367 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18370 * docs/random/ensonic/media-device-daemon.txt:
18371 * tests/examples/controller/.cvsignore:
18372 * tests/examples/controller/Makefile.am:
18373 * tests/examples/controller/audio-example.c: (main):
18374 * tests/examples/helloworld/.cvsignore:
18375 * tests/examples/helloworld/Makefile.am:
18376 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18377 * tests/examples/launch/.cvsignore:
18378 * tests/examples/launch/Makefile.am:
18379 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18380 * tests/examples/metadata/.cvsignore:
18381 * tests/examples/metadata/Makefile.am:
18382 * tests/examples/metadata/read-metadata.c: (message_loop),
18383 (make_pipeline), (print_tag), (main):
18384 * tests/examples/queue/.cvsignore:
18385 * tests/examples/queue/Makefile.am:
18386 * tests/examples/queue/queue.c: (event_loop), (main):
18387 * tests/examples/typefind/.cvsignore:
18388 * tests/examples/typefind/Makefile.am:
18389 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18391 * tests/examples/xml/.cvsignore:
18392 * tests/examples/xml/Makefile.am:
18393 * tests/examples/xml/createxml.c: (object_saved), (main):
18394 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18395 * tests/old/examples/Makefile.am:
18396 * tests/old/examples/TODO:
18397 * tests/old/examples/controller/.cvsignore:
18398 * tests/old/examples/controller/Makefile.am:
18399 * tests/old/examples/controller/audio-example.c:
18400 * tests/old/examples/helloworld/.cvsignore:
18401 * tests/old/examples/helloworld/Makefile.am:
18402 * tests/old/examples/helloworld/helloworld.c:
18403 * tests/old/examples/launch/.cvsignore:
18404 * tests/old/examples/launch/Makefile.am:
18405 * tests/old/examples/launch/mp3parselaunch.c:
18406 * tests/old/examples/launch/mp3play:
18407 * tests/old/examples/manual/Makefile.am:
18408 * tests/old/examples/metadata/Makefile.am:
18409 * tests/old/examples/metadata/read-metadata.c:
18410 * tests/old/examples/queue/.cvsignore:
18411 * tests/old/examples/queue/Makefile.am:
18412 * tests/old/examples/queue/queue.c:
18413 * tests/old/examples/typefind/.cvsignore:
18414 * tests/old/examples/typefind/Makefile.am:
18415 * tests/old/examples/typefind/typefind.c:
18416 * tests/old/examples/xml/.cvsignore:
18417 * tests/old/examples/xml/Makefile.am:
18418 * tests/old/examples/xml/createxml.c:
18419 * tests/old/examples/xml/runxml.c:
18420 applied some simple fixing to some examples
18421 re-enabled the working examples
18423 2005-12-12 Wim Taymans <wim@fluendo.com>
18425 * gst/gstsegment.c: (gst_segment_init),
18426 (gst_segment_set_last_stop), (gst_segment_set_seek),
18427 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18428 (gst_segment_to_running_time):
18429 Added more documentation.
18430 Make sure the last_pos value is updated properly.
18431 Make sure to_stream_time and to_running_time don't
18432 operate on wrong values.
18434 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18437 2005-12-12 Michael Smith <msmith@fluendo.com>
18439 * plugins/elements/gsttypefindelement.c: (free_entry),
18440 (gst_type_find_element_chain):
18441 Now that we're not leaking factories, make sure we keep references
18442 to them while we need them.
18444 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18446 * tests/check/gst/struct_i386.h:
18447 ifdef out the XML structs
18449 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18451 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18452 floor is not needed, F is always positive; this obviates the
18453 need for adding -lm when building without libxml
18455 2005-12-12 Wim Taymans <wim@fluendo.com>
18457 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18458 Take current playback rate into account when reporting
18461 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18463 * docs/manual/mime-world.fig:
18464 Let's try this again, this time with a file that is
18465 actually in XFig format.
18467 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18469 * docs/manual/mime-world.fig:
18470 Add audioconvert element to diagram so that it
18471 matches the text and the code (fixes #319526).
18473 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18475 * docs/pwg/building-chainfn.xml:
18476 * docs/pwg/building-pads.xml:
18477 * docs/pwg/building-state.xml:
18478 * docs/pwg/other-source.xml:
18479 Update state change stuff for 0.10 (fixes #322969).
18481 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18483 * docs/manual/advanced-dataaccess.xml:
18484 * docs/manual/appendix-checklist.xml:
18485 * docs/manual/appendix-programs.xml:
18486 * docs/manual/basics-pads.xml:
18487 * docs/manual/highlevel-components.xml:
18488 * docs/manual/manual.xml:
18489 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18490 add converters in front of pipelines; remove curly
18491 brackets for threads stuff, they no longer exist; use
18492 GST_TYPE_FRACTION for framerates; update some pieces of
18493 code to 0.10, but there's plenty more to do.
18495 * docs/manual/appendix-porting.xml:
18496 Expand on asynchroneous state changes; s/0.9/0.10/;
18497 mention disappearance of gst_init_get_popt_table()
18500 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18502 * docs/faq/using.xml:
18503 Spider no longer exists, and neither does gst-launch-ext.
18504 Update examples to use decodebin and playbin and put
18505 converters in front of sinks (fixes #323726).
18507 2005-12-09 Michael Smith <msmith@fluendo.com>
18509 * plugins/elements/gsttypefindelement.c: (find_peek),
18510 (gst_type_find_element_chain):
18511 Fix leaking element factories in typefinding.
18512 Fix problem where we forgot about a probable type on non-seekable
18513 files, and thus later mis-typefound it.
18515 2005-12-09 Michael Smith <msmith@fluendo.com>
18517 * common/m4/gst-makecontext.m4:
18518 * common/m4/gst-mcsc.m4:
18520 * win32/common/config.h:
18521 * win32/common/config.h.in:
18522 Remove makecontext stuff; not used in 0.10 and causes problems on
18523 HPUX according to bug #322441
18525 2005-12-07 Wim Taymans <wim@fluendo.com>
18527 * tests/check/Makefile.am:
18528 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18530 * tests/check/libs/struct_i386.h:
18531 Added ABI check for libs
18533 2005-12-07 Wim Taymans <wim@fluendo.com>
18535 * tests/check/Makefile.am:
18536 And add the struct_i386.h to dist.
18538 2005-12-07 Wim Taymans <wim@fluendo.com>
18540 * tests/check/Makefile.am:
18541 * tests/check/gst/.cvsignore:
18542 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18544 * tests/check/gst/struct_i386.h:
18545 Added check for ABI compatibility.
18547 2005-12-07 Wim Taymans <wim@fluendo.com>
18549 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18550 (gst_fake_src_get_times), (gst_fake_src_create):
18551 Fix broken sync option, fixes #323259
18553 2005-12-07 Wim Taymans <wim@fluendo.com>
18558 * gst/gstcaps.c: (gst_caps_is_equal):
18559 Don't assert on NULL <--> X. Fixes #323260
18561 * gst/gstminiobject.c: (gst_mini_object_replace):
18562 If we're doing atomic operations, we might just as well use
18563 the proper way to get an atomic pointer.
18565 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18566 Clean up debugging.
18568 2005-12-07 Michael Smith <msmith@fluendo.com>
18570 * gst/parse/grammar.y:
18571 Remove handling of { } for threads.
18573 2005-12-06 David Schleef <ds@schleef.org>
18575 * libs/gst/base/gstbasetransform.c: speling fix.
18577 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18579 * docs/libs/tmpl/gstdataprotocol.sgml:
18580 * docs/random/omega/testing/gstobject.c:
18583 * gst/gstelement.c:
18584 * gst/gstelementfactory.c:
18587 * gst/gstghostpad.c:
18589 * gst/gstpadtemplate.c:
18590 * gst/gstregistryxml.c:
18591 * gst/gsttaglist.c:
18592 * gst/gsttagsetter.c:
18593 * gst/gsttypefind.c:
18595 * libs/gst/base/gstbasesrc.c:
18596 * libs/gst/net/gstnetclientclock.c:
18597 * libs/gst/net/gstnettimeprovider.c:
18598 * plugins/elements/gstfakesrc.c:
18599 * plugins/elements/gstfdsrc.c:
18600 * plugins/elements/gstfilesrc.c:
18601 * plugins/elements/gstidentity.c:
18602 * plugins/elements/gstqueue.c:
18603 * plugins/elements/gsttypefindelement.c:
18604 * plugins/indexers/gstfileindex.c:
18605 * plugins/indexers/gstmemindex.c:
18606 * tests/check/gst/gsttag.c:
18607 * tests/old/examples/cutter/cutter.c:
18608 * tests/old/examples/mixer/mixer.c:
18609 * tests/old/examples/xml/runxml.c: (main):
18610 * tests/old/testsuite/caps/normalisation.c:
18611 * tests/old/testsuite/debug/global.c:
18612 * tests/old/testsuite/parse/parse1.c:
18613 * tools/gst-xmlinspect.c:
18614 * win32/common/dirent.c:
18617 === release 0.10.0 ===
18619 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18622 releasing 0.10.0, "Maroilles"
18624 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18626 submitted by: Funda Wang <fundawang@linux.net.cn>
18630 added Chinese (Traditional) translation
18632 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18634 * docs/gst/gstreamer-sections.txt:
18635 * docs/libs/tmpl/gstdataprotocol.sgml:
18636 * docs/random/thomasvs/TODO:
18641 2005-12-05 Andy Wingo <wingo@pobox.com>
18643 patch by: Wim Taymans <wim@fluendo.com>
18645 * libs/gst/base/gstbasetransform.c
18646 (gst_base_transform_prepare_output_buf)
18647 (gst_base_transform_buffer_alloc):
18648 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18649 alloc_buffer_and_set_caps.
18651 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18652 set_caps on the source pad.
18653 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18654 alloc_buffer used to do. Fixes #322874.
18656 * docs/gst/gstreamer-sections.txt:
18657 * docs/design/part-negotiation.txt:
18658 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18661 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18663 patch by: Sebastien Moutte
18666 * win32/common/config.h.in:
18667 * win32/vs6/libgstcontroller.dsp:
18670 2005-12-05 Wim Taymans <wim@fluendo.com>
18672 * gst/gstcaps.c: (gst_caps_is_equal):
18673 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18674 (gst_fake_src_create):
18675 Back out previous code changes, leave doc updates, file bugs
18678 2005-12-05 Wim Taymans <wim@fluendo.com>
18680 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18681 (gst_fake_src_get_times), (gst_fake_src_create):
18682 * plugins/elements/gstfakesrc.h:
18683 Fix broken sync code.
18685 2005-12-05 Wim Taymans <wim@fluendo.com>
18687 * gst/gstcaps.c: (gst_caps_is_equal):
18688 Comparing NULL against !NULL yields different caps, not a
18691 2005-12-05 Wim Taymans <wim@fluendo.com>
18693 * gst/gstpipeline.c:
18694 Fix small typo in docs.
18696 2005-12-05 Andy Wingo <wingo@pobox.com>
18698 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18700 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18701 registries/plugins with a MAJORMINOR one.
18702 (plugin_desc): Rename library from gstcoreleements to
18703 staticelements. Fixes #323222.
18705 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18707 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18708 Change debug category to 'collectpads' from 'collect_pads'
18711 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18713 patch by: Sebastien Moutte
18715 * libs/gst/controller/gstinterpolation.c:
18716 use convert function for uint64/double
18717 * win32/vs6/libgstcontroller.dsp:
18720 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18722 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18723 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18725 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18726 add tests that seem to show that the guint64/gdouble conversions
18729 2005-12-02 Wim Taymans <wim@fluendo.com>
18731 * gst/gstregistry.c: (gst_registry_add_path):
18732 * gst/gstregistry.h:
18733 * gst/gstregistryxml.c:
18736 2005-12-02 Wim Taymans <wim@fluendo.com>
18738 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18739 (gst_util_uint64_scale_int):
18742 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18743 Add debug log line.
18745 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18748 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18751 * win32/common/config.h:
18752 * win32/vs6/gstreamer.dsw:
18753 * win32/vs6/libgstcoreelements.dsp:
18754 * win32/vs6/libgstelements.dsp:
18755 renamed core elements plugin
18757 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18759 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18761 do piece-wise major/minor comparison so 0.9 < 0.10
18762 also allow .exe extensions for tools
18764 2005-12-02 Michael Smith <msmith@fluendo.com>
18767 Escape a % to make gtkdoc happier; bug 322958.
18769 === release 0.9.7 ===
18771 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18774 releasing 0.9.7, "My Dog Has No Nose"
18776 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18778 * common/gst-xmlinspect.py:
18780 * docs/libs/tmpl/gstdataprotocol.sgml:
18781 * docs/random/release:
18800 * win32/common/config.h:
18801 * win32/common/config.h.in:
18802 * win32/vs6/gst_inspect.dsp:
18803 * win32/vs6/gst_launch.dsp:
18804 * win32/vs6/libgstbase.dsp:
18805 * win32/vs6/libgstelements.dsp:
18806 * win32/vs6/libgstreamer.dsp:
18807 * win32/vs7/GStreamer.vcproj:
18808 * win32/vs7/gst-inspect.vcproj:
18809 * win32/vs7/gst-launch.vcproj:
18810 * win32/vs7/libgstbase.vcproj:
18811 bump GST_MAJORMINOR to 0.10
18812 reset libtool version
18814 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18818 Added Bulgarian translation by (Alexander Shopov)
18820 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18822 * tests/check/gst/gstplugin.c:
18825 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18827 * common/gst-xmlinspect.py:
18828 * common/gtk-doc-plugins.mak:
18830 * docs/Makefile.am:
18831 * docs/gst/Makefile.am:
18832 * docs/gst/gstreamer-docs.sgml:
18833 * docs/gst/gstreamer-sections.txt:
18834 * docs/gst/gstreamer.types:
18835 * docs/gst/gstreamer.types.in:
18836 * docs/plugins/Makefile.am:
18837 * docs/plugins/gstreamer-plugins-docs.sgml:
18838 * docs/plugins/gstreamer-plugins-sections.txt:
18839 * docs/plugins/gstreamer-plugins.types:
18840 * docs/plugins/inspect.stamp:
18841 * docs/plugins/inspect/plugin-coreelements.xml:
18842 * docs/plugins/inspect/plugin-coreindexers.xml:
18843 * docs/plugins/scanobj-build.stamp:
18844 * gstreamer.spec.in:
18845 * plugins/elements/Makefile.am:
18846 * plugins/elements/gstelements.c:
18847 * plugins/elements/gstfakesink.c:
18848 * plugins/elements/gstfakesrc.c:
18849 * plugins/elements/gstfilesink.c:
18850 * plugins/elements/gstfilesrc.c:
18851 * plugins/elements/gstqueue.c:
18852 * plugins/indexers/Makefile.am:
18853 * plugins/indexers/gstindexers.c:
18854 document core plugins in a separate document just like all the
18856 rename these plugins to something starting with core
18858 2005-12-01 Andy Wingo <wingo@pobox.com>
18860 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18861 padding here before, but it missed the commit.
18863 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18865 * libs/gst/controller/gstinterpolation.c:
18866 whitespace prices have crashed, we should feel free to use some now
18867 use gst_guint64_to_gdouble
18869 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18871 * libs/gst/controller/gstcontroller.c:
18872 * libs/gst/controller/gsthelper.c:
18873 * libs/gst/controller/gstinterpolation.c:
18874 * libs/gst/controller/lib.c:
18875 wrap config.h include
18877 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18879 * docs/gst/gstreamer-sections.txt:
18882 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18884 * plugins/elements/gstelements.c:
18885 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18886 (gst_fd_sink__class_init), (gst_fd_sink__init),
18887 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18888 (gst_fd_sink__get_property):
18889 * plugins/elements/gstfdsink.h:
18890 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18891 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18892 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18893 (gst_fd_src_unlock), (gst_fd_src_set_property),
18894 (gst_fd_src_get_property), (gst_fd_src_create),
18895 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18896 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18897 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18898 (gst_fd_src_uri_handler_init):
18899 * plugins/elements/gstfdsrc.h:
18900 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18903 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18905 * docs/gst/Makefile.am:
18906 * docs/gst/gstreamer.types.in:
18910 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18916 * gst/gstregistry.h:
18917 * tests/benchmarks/complexity.c:
18918 * tests/benchmarks/mass-elements.c:
18919 * tests/check/Makefile.am:
18920 * tools/Makefile.am:
18921 * tools/gst-inspect.c:
18922 * tools/gst-xmlinspect.c:
18923 various fixes to make
18924 --disable-nls --disable-registry --disable-loadsave
18925 --disable-parse --disable-gst-debug
18926 work and get the core .so down to 360444 bytes after stripping
18928 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18933 * docs/random/thomasvs/TODO:
18934 * tests/Makefile.am:
18938 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18940 * win32/GStreamer.vcproj:
18943 * win32/Makefile.inspect:
18944 * win32/Makefile.launch:
18945 * win32/Makefile.register:
18946 * win32/README.txt:
18947 * win32/gst-inspect.vcproj:
18948 * win32/gst-launch.vcproj:
18949 * win32/gst-register.vcproj:
18950 * win32/gstelements.vcproj:
18951 * win32/gstgetbits.def:
18952 * win32/gstgetbits.vcproj:
18953 * win32/gstreamer-dbg.def:
18954 * win32/gstreamer.def:
18955 * win32/libgstbase.def:
18956 * win32/libgstbase.vcproj:
18957 * win32/link_oldruntime.c:
18961 * win32/msvc71.sln:
18962 move even more stuff, win32/ is nice and clean now
18964 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18966 * libs/gst/control/.cvsignore:
18971 * win32/gstbytestream.def:
18972 * win32/gstbytestream.vcproj:
18973 * win32/gstconfig.h:
18974 * win32/gstenumtypes.c:
18975 * win32/gstenumtypes.h:
18976 * win32/gstoptimalscheduler.vcproj:
18977 * win32/gstversion.h:
18979 * win32/testsuite/bins.vcproj:
18980 * win32/testsuite/bytestream.vcproj:
18981 * win32/testsuite/caps.vcproj:
18982 * win32/testsuite/cleanup.vcproj:
18983 * win32/testsuite/clock.vcproj:
18984 * win32/testsuite/debug.vcproj:
18985 * win32/testsuite/dlopen.vcproj:
18986 * win32/testsuite/dynparams.vcproj:
18987 * win32/testsuite/elements.vcproj:
18988 * win32/testsuite/ghostpads.vcproj:
18989 * win32/testsuite/indexers.vcproj:
18990 * win32/testsuite/negotiation.vcproj:
18991 * win32/testsuite/parse.vcproj:
18992 * win32/testsuite/plugin.vcproj:
18993 * win32/testsuite/refcounting.vcproj:
18994 * win32/testsuite/schedulers.vcproj:
18995 * win32/testsuite/states.vcproj:
18996 * win32/testsuite/tags.vcproj:
18997 * win32/testsuite/threads.vcproj:
18998 remove old win32 stuff that isn't maintained and should be
19001 2005-11-30 Andy Wingo <wingo@pobox.com>
19003 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19004 loading the gst.interfaces python module bork.
19006 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19007 available since GLib 2.2. Fixes #318031.
19009 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19012 * check/.cvsignore:
19013 * check/Makefile.am:
19014 * check/elements/.cvsignore:
19015 * check/elements/fakesrc.c:
19016 * check/elements/fdsrc.c:
19017 * check/elements/identity.c:
19018 * check/generic/.cvsignore:
19019 * check/generic/states.c:
19020 * check/gst-libs/.cvsignore:
19021 * check/gst-libs/controller.c:
19022 * check/gst-libs/gdp.c:
19023 * check/gst/.cvsignore:
19024 * check/gst/capslist.h:
19026 * check/gst/gstbin.c:
19027 * check/gst/gstbuffer.c:
19028 * check/gst/gstbus.c:
19029 * check/gst/gstcaps.c:
19030 * check/gst/gstelement.c:
19031 * check/gst/gstevent.c:
19032 * check/gst/gstghostpad.c:
19033 * check/gst/gstiterator.c:
19034 * check/gst/gstmessage.c:
19035 * check/gst/gstminiobject.c:
19036 * check/gst/gstobject.c:
19037 * check/gst/gstpad.c:
19038 * check/gst/gstpipeline.c:
19039 * check/gst/gstplugin.c:
19040 * check/gst/gstsegment.c:
19041 * check/gst/gststructure.c:
19042 * check/gst/gstsystemclock.c:
19043 * check/gst/gsttag.c:
19044 * check/gst/gstutils.c:
19045 * check/gst/gstvalue.c:
19046 * check/net/.cvsignore:
19047 * check/net/gstnetclientclock.c:
19048 * check/net/gstnettimeprovider.c:
19049 * check/pipelines/.cvsignore:
19050 * check/pipelines/cleanup.c:
19051 * check/pipelines/simple_launch_lines.c:
19052 * check/pipelines/stress.c:
19053 * check/states/.cvsignore:
19054 * check/states/sinks.c:
19056 * examples/Makefile.am:
19057 * examples/appreader/.cvsignore:
19058 * examples/appreader/Makefile.am:
19059 * examples/appreader/appreader.c:
19060 * examples/controller/.cvsignore:
19061 * examples/controller/Makefile.am:
19062 * examples/controller/audio-example.c:
19063 * examples/cutter/.cvsignore:
19064 * examples/cutter/Makefile.am:
19065 * examples/cutter/cutter.c:
19066 * examples/cutter/cutter.h:
19067 * examples/events/Makefile.am:
19068 * examples/events/seek.c:
19069 * examples/helloworld/.cvsignore:
19070 * examples/helloworld/Makefile.am:
19071 * examples/helloworld/helloworld.c:
19072 * examples/helloworld2/.cvsignore:
19073 * examples/helloworld2/Makefile.am:
19074 * examples/helloworld2/helloworld2.c:
19075 * examples/launch/.cvsignore:
19076 * examples/launch/Makefile.am:
19077 * examples/launch/mp3parselaunch.c:
19078 * examples/launch/mp3play:
19079 * examples/manual/.cvsignore:
19080 * examples/manual/Makefile.am:
19081 * examples/manual/extract.pl:
19082 * examples/metadata/Makefile.am:
19083 * examples/metadata/read-metadata.c:
19084 * examples/mixer/.cvsignore:
19085 * examples/mixer/Makefile.am:
19086 * examples/mixer/mixer.c:
19087 * examples/mixer/mixer.h:
19088 * examples/pingpong/.cvsignore:
19089 * examples/pingpong/Makefile.am:
19090 * examples/pingpong/pingpong.c:
19091 * examples/plugins/.cvsignore:
19092 * examples/plugins/Makefile.am:
19093 * examples/plugins/example.c:
19094 * examples/plugins/example.h:
19095 * examples/pwg/.cvsignore:
19096 * examples/pwg/Makefile.am:
19097 * examples/pwg/extract.pl:
19098 * examples/queue/.cvsignore:
19099 * examples/queue/Makefile.am:
19100 * examples/queue/queue.c:
19101 * examples/queue2/.cvsignore:
19102 * examples/queue2/Makefile.am:
19103 * examples/queue2/queue2.c:
19104 * examples/queue3/.cvsignore:
19105 * examples/queue3/Makefile.am:
19106 * examples/queue3/queue3.c:
19107 * examples/queue4/.cvsignore:
19108 * examples/queue4/Makefile.am:
19109 * examples/queue4/queue4.c:
19110 * examples/retag/.cvsignore:
19111 * examples/retag/Makefile.am:
19112 * examples/retag/retag.c:
19113 * examples/retag/transcode.c:
19114 * examples/thread/.cvsignore:
19115 * examples/thread/Makefile.am:
19116 * examples/thread/thread.c:
19117 * examples/typefind/.cvsignore:
19118 * examples/typefind/Makefile.am:
19119 * examples/typefind/typefind.c:
19120 * examples/xml/.cvsignore:
19121 * examples/xml/Makefile.am:
19122 * examples/xml/createxml.c:
19123 * examples/xml/runxml.c:
19124 * tests/Makefile.am:
19125 * tests/check/Makefile.am:
19126 * testsuite/.cvsignore:
19127 * testsuite/Makefile.am:
19129 * testsuite/caps/.cvsignore:
19130 * testsuite/caps/Makefile.am:
19131 * testsuite/caps/app_fixate.c:
19132 * testsuite/caps/audioscale.c:
19133 * testsuite/caps/caps.c:
19134 * testsuite/caps/caps.h:
19135 * testsuite/caps/caps_strings:
19136 * testsuite/caps/compatibility.c:
19137 * testsuite/caps/deserialize.c:
19138 * testsuite/caps/enumcaps.c:
19139 * testsuite/caps/eratosthenes.c:
19140 * testsuite/caps/filtercaps.c:
19141 * testsuite/caps/fixed.c:
19142 * testsuite/caps/fraction-convert.c:
19143 * testsuite/caps/fraction-multiply-and-zero.c:
19144 * testsuite/caps/intersect2.c:
19145 * testsuite/caps/intersection.c:
19146 * testsuite/caps/normalisation.c:
19147 * testsuite/caps/random.c:
19148 * testsuite/caps/renegotiate.c:
19149 * testsuite/caps/sets.c:
19150 * testsuite/caps/simplify.c:
19151 * testsuite/caps/string-conversions.c:
19152 * testsuite/caps/structure.c:
19153 * testsuite/caps/subtract.c:
19154 * testsuite/caps/union.c:
19155 * testsuite/debug/.cvsignore:
19156 * testsuite/debug/Makefile.am:
19157 * testsuite/debug/category.c:
19158 * testsuite/debug/commandline.c:
19159 * testsuite/debug/global.c:
19160 * testsuite/debug/output.c:
19161 * testsuite/debug/printf_extension.c:
19162 * testsuite/dlopen/.cvsignore:
19163 * testsuite/dlopen/Makefile.am:
19164 * testsuite/dlopen/dlopen_gst.c:
19165 * testsuite/dlopen/loadgst.c:
19166 * testsuite/elements/.cvsignore:
19167 * testsuite/elements/Makefile.am:
19168 * testsuite/elements/gst-inspect-check.in:
19169 * testsuite/elements/struct_i386.h:
19170 * testsuite/elements/struct_size.c:
19171 * testsuite/indexers/.cvsignore:
19172 * testsuite/indexers/Makefile.am:
19173 * testsuite/indexers/cache1.c:
19174 * testsuite/indexers/indexdump.c:
19175 * testsuite/parse/.cvsignore:
19176 * testsuite/parse/Makefile.am:
19177 * testsuite/parse/parse1.c:
19178 * testsuite/parse/parse2.c:
19179 * testsuite/plugin/.cvsignore:
19180 * testsuite/plugin/Makefile.am:
19181 * testsuite/plugin/README:
19182 * testsuite/plugin/dynamic.c:
19183 * testsuite/plugin/linked.c:
19184 * testsuite/plugin/loading.c:
19185 * testsuite/plugin/registry.c:
19186 * testsuite/plugin/static.c:
19187 * testsuite/plugin/static2.c:
19188 * testsuite/plugin/testplugin.c:
19189 * testsuite/plugin/testplugin2.c:
19190 * testsuite/plugin/testplugin2_s.c:
19191 * testsuite/plugin/testplugin_s.c:
19192 * testsuite/refcounting/.cvsignore:
19193 * testsuite/refcounting/Makefile.am:
19194 * testsuite/refcounting/bin.c:
19195 * testsuite/refcounting/element.c:
19196 * testsuite/refcounting/element_pad.c:
19197 * testsuite/refcounting/mainloop.c:
19198 * testsuite/refcounting/mem.c:
19199 * testsuite/refcounting/mem.h:
19200 * testsuite/refcounting/object.c:
19201 * testsuite/refcounting/pad.c:
19202 * testsuite/refcounting/sched.c:
19203 * testsuite/refcounting/thread.c:
19204 * testsuite/states/.cvsignore:
19205 * testsuite/states/Makefile.am:
19206 * testsuite/states/bin.c:
19207 * testsuite/states/locked.c:
19208 * testsuite/states/parent.c:
19209 * testsuite/threads/.cvsignore:
19210 * testsuite/threads/159566.c:
19211 * testsuite/threads/159852.c:
19212 * testsuite/threads/Makefile.am:
19213 * testsuite/threads/queue.c:
19214 * testsuite/threads/signals.c:
19215 * testsuite/threads/staticrec.c:
19216 * testsuite/threads/thread.c:
19217 * testsuite/threads/threadb.c:
19218 * testsuite/threads/threadc.c:
19219 * testsuite/threads/threadd.c:
19220 * testsuite/threads/threade.c:
19221 * testsuite/threads/threadf.c:
19222 * testsuite/threads/threadg.c:
19223 * testsuite/threads/threadh.c:
19224 * testsuite/threads/threadi.c:
19225 move all of these under tests
19227 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19230 * tests/Makefile.am:
19233 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19235 * docs/gst/gstreamer-sections.txt:
19236 * tests/sched/.cvsignore:
19237 * tests/sched/Makefile.am:
19238 * tests/sched/cases/(fs-fs).xml:
19239 * tests/sched/cases/(fs-i-fs).xml:
19240 * tests/sched/cases/(fs-i-i-fs).xml:
19241 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19242 * tests/sched/dynamic-pipeline.c:
19243 * tests/sched/interrupt1.c:
19244 * tests/sched/interrupt2.c:
19245 * tests/sched/interrupt3.c:
19246 * tests/sched/runtestcases:
19247 * tests/sched/runxml.c:
19248 * tests/sched/sched-stress.c:
19249 * tests/sched/sort.c:
19250 * tests/sched/testcases:
19251 * tests/sched/testcases1.tc:
19252 * tests/seeking/.cvsignore:
19253 * tests/seeking/Makefile.am:
19254 * tests/seeking/seeking1.c:
19255 * tests/threadstate/.cvsignore:
19256 * tests/threadstate/Makefile.am:
19257 * tests/threadstate/test1.c:
19258 * tests/threadstate/test2.c:
19259 * tests/threadstate/threadstate1.c:
19260 * tests/threadstate/threadstate2.c:
19261 * tests/threadstate/threadstate3.c:
19262 * tests/threadstate/threadstate4.c:
19263 * tests/threadstate/threadstate5.c:
19264 remove obsolete tests
19266 * tests/bench-complexity.scm:
19267 * tests/bench-mass_elements.scm:
19268 * tests/complexity.c:
19269 * tests/complexity.gnuplot:
19270 * tests/instantiate/.cvsignore:
19271 * tests/instantiate/Makefile.am:
19272 * tests/instantiate/caps.c:
19273 * tests/mass_elements.c:
19274 * tests/network-clock-utils.scm:
19275 * tests/network-clock.scm:
19277 First pass at cleaning up tests/ dir before moving the rest
19278 Combined with CVS surgery
19280 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19283 queue has moved, update
19285 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19287 * docs/gst/gstreamer-sections.txt:
19288 remove double entries from the docs
19289 * gst/gst_private.h:
19290 * gst/gstinfo.c: (_gst_debug_init):
19291 remove the THREAD debug category
19295 * docs/gst/gstreamer.types:
19296 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19297 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19298 completely move queue and fix up debugging categories
19300 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19302 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19303 make initialization portable, using LL is not
19305 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19307 * win32/common/gstconfig.h:
19310 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19312 * win32/common/libgstreamer.def:
19313 rename symbols; sort base section
19315 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19317 * gst/gstclock.c: (do_linear_regression):
19318 remove crack non-portable handrolled DEBUG macro
19320 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19322 * docs/random/release:
19324 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19325 (gst_object_flags_get_type), (register_gst_bin_flags),
19326 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19327 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19328 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19329 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19330 (gst_caps_flags_get_type), (register_gst_clock_return),
19331 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19332 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19333 (gst_clock_flags_get_type), (register_gst_state),
19334 (gst_state_get_type), (register_gst_state_change_return),
19335 (gst_state_change_return_get_type), (register_gst_state_change),
19336 (gst_state_change_get_type), (register_gst_element_flags),
19337 (gst_element_flags_get_type), (register_gst_core_error),
19338 (gst_core_error_get_type), (register_gst_library_error),
19339 (gst_library_error_get_type), (register_gst_resource_error),
19340 (gst_resource_error_get_type), (register_gst_stream_error),
19341 (gst_stream_error_get_type), (register_gst_event_type_flags),
19342 (gst_event_type_flags_get_type), (register_gst_event_type),
19343 (gst_event_type_get_type), (register_gst_seek_type),
19344 (gst_seek_type_get_type), (register_gst_seek_flags),
19345 (gst_seek_flags_get_type), (register_gst_format),
19346 (gst_format_get_type), (register_gst_index_certainty),
19347 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19348 (gst_index_entry_type_get_type),
19349 (register_gst_index_lookup_method),
19350 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19351 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19352 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19353 (gst_index_flags_get_type), (register_gst_debug_level),
19354 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19355 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19356 (gst_iterator_result_get_type), (register_gst_iterator_item),
19357 (gst_iterator_item_get_type), (register_gst_message_type),
19358 (gst_message_type_get_type), (register_gst_mini_object_flags),
19359 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19360 (gst_pad_link_return_get_type), (register_gst_flow_return),
19361 (gst_flow_return_get_type), (register_gst_activate_mode),
19362 (gst_activate_mode_get_type), (register_gst_pad_direction),
19363 (gst_pad_direction_get_type), (register_gst_pad_flags),
19364 (gst_pad_flags_get_type), (register_gst_pad_presence),
19365 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19366 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19367 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19368 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19369 (gst_plugin_flags_get_type), (register_gst_rank),
19370 (gst_rank_get_type), (register_gst_query_type),
19371 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19372 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19373 (gst_tag_flag_get_type), (register_gst_task_state),
19374 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19375 (gst_alloc_trace_flags_get_type),
19376 (register_gst_type_find_probability),
19377 (gst_type_find_probability_get_type), (register_gst_uri_type),
19378 (gst_uri_type_get_type), (register_gst_parse_error),
19379 (gst_parse_error_get_type):
19380 * win32/common/gstenumtypes.h:
19381 * win32/common/gstversion.h:
19382 update visual studio generated files
19384 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19386 * win32/vs6/libgstbase.dsp:
19387 * win32/vs6/libgstelements.dsp:
19388 update project files for new locations
19390 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19395 reinstate and update
19400 * docs/random/LICENSE:
19403 2005-11-30 Edward Hervey <edward@fluendo.com>
19405 * gst/gsttypefind.c: (gst_type_find_register):
19406 * gst/gsttypefind.h:
19407 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19408 (gst_type_find_factory_dispose):
19409 * gst/gsttypefindfactory.h:
19410 Fix memory leak in GstTypeFindFactory.
19412 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19415 * plugins/elements/Makefile.am:
19416 * plugins/elements/gstelements.c:
19417 * plugins/elements/gstqueue.c:
19418 move queue from core to the elements plugin
19420 2005-11-29 Andy Wingo <wingo@pobox.com>
19422 * libs/gst/base/gstbasetransform.h:
19423 * libs/gst/base/gstbasesrc.h:
19424 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19426 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19427 of pointers by which to pad very extensible base classes (like the
19428 ones in libs/gst/base).
19430 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19432 * docs/gst/gstreamer-docs.sgml:
19433 * docs/gst/gstreamer-sections.txt:
19434 * docs/libs/gstreamer-libs-docs.sgml:
19435 * docs/libs/gstreamer-libs-sections.txt:
19436 moving documentation from core to lib
19438 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19440 * check/Makefile.am:
19442 * docs/gst/Makefile.am:
19444 * gst/base/.cvsignore:
19445 * gst/base/Makefile.am:
19447 * gst/base/gstadapter.c:
19448 * gst/base/gstadapter.h:
19449 * gst/base/gstbasesink.c:
19450 * gst/base/gstbasesink.h:
19451 * gst/base/gstbasesrc.c:
19452 * gst/base/gstbasesrc.h:
19453 * gst/base/gstbasetransform.c:
19454 * gst/base/gstbasetransform.h:
19455 * gst/base/gstcollectpads.c:
19456 * gst/base/gstcollectpads.h:
19457 * gst/base/gstpushsrc.c:
19458 * gst/base/gstpushsrc.h:
19459 * gst/base/gsttypefindhelper.c:
19460 * gst/base/gsttypefindhelper.h:
19461 * gst/check/Makefile.am:
19462 * gst/check/gstcheck.c:
19463 * gst/check/gstcheck.h:
19464 * gst/net/Makefile.am:
19465 * gst/net/gstnet.h:
19466 * gst/net/gstnetclientclock.c:
19467 * gst/net/gstnetclientclock.h:
19468 * gst/net/gstnettimepacket.c:
19469 * gst/net/gstnettimepacket.h:
19470 * gst/net/gstnettimeprovider.c:
19471 * gst/net/gstnettimeprovider.h:
19472 * libs/gst/Makefile.am:
19473 * libs/gst/base/Makefile.am:
19474 * libs/gst/base/gstbasetransform.c:
19475 * libs/gst/check/Makefile.am:
19476 * plugins/elements/Makefile.am:
19478 CVS surgery + support to move base, check, and net out of gst
19481 2005-11-29 Andy Wingo <wingo@pobox.com>
19483 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19485 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19488 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19490 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19492 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19494 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19495 padding; reduces object size by about 30%. We don't expect
19496 anything else to go into gstobject.
19498 * gst/gstminiobject.h (struct _GstMiniObject)
19499 (struct _GstMiniObjectClass): Only one pointer of padding; the
19500 payload is only a pointer and two ints anyway. For the class there
19501 are only two methods as well.
19503 * gst/gstelement.h (struct _GstElementClass): Removed
19504 the state_changed signal callback, it is not used.
19506 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19508 * docs/gst/gstreamer.types:
19509 fix includes, though they are a little dinky
19511 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19513 * check/Makefile.am:
19514 look in the right place for elements, a lot more chance of
19517 remove indexers and elements subdirs
19518 * plugins/Makefile.am:
19519 make indexers conditional
19521 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19525 * plugins/elements/Makefile.am:
19526 * plugins/elements/gstcapsfilter.c:
19527 * plugins/elements/gstfilesink.c:
19528 * plugins/elements/gstfilesrc.c:
19529 * plugins/elements/gstidentity.c:
19530 * plugins/indexers/Makefile.am:
19531 do CVS surgery and related build fixery to move elements
19532 and indexers in a new gstreamer/plugins directory, out of the
19535 2005-11-29 Andy Wingo <wingo@pobox.com>
19537 * check/Makefile.am:
19538 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19539 * pkgconfig/gstreamer-net.pc.in:
19540 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19543 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19545 * tools/Makefile.am:
19546 * tools/gst-complete.1.in:
19547 * tools/gst-complete.c:
19548 * tools/gst-compprep.1.in:
19549 * tools/gst-compprep.c:
19550 removing -compprep and -complete
19552 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19554 * gst/gstevent.c: (gst_event_new_new_segment),
19555 (gst_event_parse_new_segment):
19557 fix #320529 - clean up new_segment API and structure.
19558 Let's hope everyone was using the methods, and not the structure.
19560 2005-11-29 Edward Hervey <edward@fluendo.com>
19562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19563 (gst_base_sink_event), (gst_base_sink_do_sync),
19564 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19565 Properly handle non GST_FORMAT_TIME segment
19566 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19567 Properly handle non GST_FORMAT_TIME segment
19568 * gst/gstsegment.c:
19569 This function is valid if the accumulator is 0 and the format
19570 is different from the requested format.
19572 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19574 * docs/gst/gstreamer-sections.txt:
19575 Add gst_query_new_seeking and gst_query_parse_seeking to the
19578 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19580 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19581 Treat a pad alloc with new caps the same as if we were not
19582 negotiated, in order to allow a changing upstream output
19583 to produce a new format of data.
19585 2005-11-29 Edward Hervey <edward@fluendo.com>
19587 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19588 (gst_base_transform_event), (gst_base_transform_eventfunc):
19589 The event virtual method is now properly implemented, with a default
19591 Sub classes should call the parent_class event method. They should
19592 return FALSE if they had a problem handling the given event, or don't
19593 want GstBaseTransform to send that even downstream
19594 * gst/elements/gstidentity.c: (gst_identity_class_init),
19595 (gst_identity_init), (gst_identity_event),
19596 (gst_identity_transform_ip), (gst_identity_set_property),
19597 (gst_identity_get_property):
19598 * gst/elements/gstidentity.h:
19599 Added the single-segment boolean property.
19600 If set to TRUE, it will output a single segment of data, starting from
19601 0, will eat up all incoming newsegment, and modify the timestamp of the
19602 buffers accordingly
19604 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19606 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19607 Don't ref NULL target pad (#322751). Improve docs.
19609 2005-11-29 Michael Smith <msmith@fluendo.com>
19611 * gst/gstregistryxml.c: (load_plugin):
19612 Don't crash if we failed to load a feature from a plugin.
19614 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19616 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19618 use more check API and less GLib API
19620 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19623 don't run checks if we don't have check
19624 * common/check.mak:
19625 remove the registry when running make torture
19626 * docs/gst/gstreamer-sections.txt:
19627 remove second multiply
19628 * gst/gstqueue.c: (gst_queue_loop):
19629 fix a compile warning when disabling debug
19631 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19634 Hey! Let's print the pad name if the pointer != NULL instead
19635 of when it == NULL :-)
19637 2005-11-28 Wim Taymans <wim@fluendo.com>
19639 * check/gst/gstutils.c: (GST_START_TEST):
19640 Updated check, add some scaling accuracy checking code.
19642 * gst/gstutils.c: (gst_util_div128_64),
19643 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19644 (gst_util_uint64_scale_int):
19645 Fix 6 times faster division code. Optimize for common
19646 1/1 and less common X/1 cases.
19648 2005-11-28 Wim Taymans <wim@fluendo.com>
19650 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19653 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19654 (do_linear_regression), (gst_clock_add_observation):
19656 Release lock when the clock cannot be slaved.
19657 Catch the case where the regression returned an invalid denominator.
19659 * gst/gstutils.c: (gst_util_div128_64_iterate),
19660 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19661 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19662 Add protentially more performant non-iterative 128/64 divide function
19663 that unfortunatly does not work yet.
19664 Shortcut the trivial 0/X = 0 case.
19665 Remove the warnings on overflow.
19667 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19669 * gst/gstplugin.c: (gst_plugin_register_func):
19670 everything causing a plugin not to load should be at least a WARNING
19672 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19674 * docs/random/ensonic/dparams.txt:
19675 some TODOs for the next dev cycle
19676 * libs/gst/controller/gstcontroller.c:
19677 (gst_controlled_property_set_interpolation_mode),
19678 (gst_controlled_property_new):
19679 * libs/gst/controller/gstcontroller.h:
19680 use base type to assign acccessor functions
19682 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19684 * check/Makefile.am:
19685 Oops, that should have been top_srcdir
19687 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19689 * check/Makefile.am:
19690 * check/elements/fdsrc.c: (GST_START_TEST):
19691 Use a cmdline define to specify the location of a file to use for
19692 testing, to avoid breaking distcheck.
19694 2005-11-28 Andy Wingo <wingo@pobox.com>
19696 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19698 2005-11-28 Edward Hervey <edward@fluendo.com>
19700 * tools/gst-launch.c: (main):
19701 Clarify the output strings, makes it easier to translate.
19704 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19707 don't try and build net if we don't even have <sys/socket.h>
19709 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19711 * check/Makefile.am:
19712 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19713 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19714 Add tests for fdsrc seekability
19716 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19717 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19718 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19719 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19720 * gst/elements/gstfdsrc.h:
19721 fdsrc should not be a 'live' source.
19722 Implement seeking on seekable fd's.
19724 * gst/gstquery.c: (gst_query_new_seeking),
19725 (gst_query_parse_seeking):
19727 Implement SEEKING query functions:
19728 *_new_seeking and *_parse_seeking
19730 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19732 * gst/gstelement.c: (gst_element_dispose):
19735 * gst/gstiterator.c:
19736 * gst/gststructure.c:
19739 * libs/gst/controller/gstcontroller.c:
19740 (gst_controlled_property_set_interpolation_mode):
19741 * libs/gst/controller/gstcontroller.h:
19742 * libs/gst/controller/gstinterpolation.c:
19743 (interpolate_none_get_enum_value_array):
19744 support controlling enums
19746 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19749 Improve documentation for gst_value_union().
19752 Change return value for union, intersect and subtract functions
19753 from gint to gboolean.
19755 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19757 * gst/gstvalue.c: (gst_value_serialize_any_list),
19758 (gst_value_transform_any_list_string),
19759 (gst_value_deserialize_list), (gst_value_deserialize_array),
19760 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19761 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19762 (gst_value_set_fraction_range_full),
19763 (gst_value_deserialize_fraction_range),
19764 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19765 (gst_value_deserialize_boolean),
19766 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19767 (gst_value_serialize_float), (gst_value_deserialize_float),
19768 (gst_string_wrap), (gst_value_deserialize_string),
19769 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19770 (gst_value_union_int_range_int_range),
19771 (gst_value_intersect_int_range_int_range),
19772 (gst_value_intersect_double_range_double_range),
19773 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19774 (gst_value_subtract_int_range_int_range),
19775 (gst_value_subtract_double_double_range),
19776 (gst_value_subtract_double_range_double_range),
19777 (gst_value_deserialize_fraction):
19779 Use gint, gdouble and gchar in our API instead of int, double and
19780 char (and make usage in gstvalue.c more consistent).
19782 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19784 * check/Makefile.am:
19785 * libs/gst/controller/Makefile.am:
19786 * libs/gst/dataprotocol/Makefile.am:
19787 fix up Makefile.am and remove GST_ENABLE_NEW
19789 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19793 * gst/base/Makefile.am:
19794 * gst/check/Makefile.am:
19795 * gst/elements/Makefile.am:
19796 * gst/net/Makefile.am:
19797 update LDFLAGS use some more
19799 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19801 * common/m4/gst-doc.m4:
19804 2005-11-26 Edward Hervey <edward@fluendo.com>
19806 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19807 This shouldn't issue a g_warning since it returns NULL if it
19808 couldn't find the plugin, and all functions using this behave
19809 properly on a NULL return. Switching to a GST_WARNING.
19811 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19813 * gst/gstbin.c: (gst_bin_handle_message_func):
19814 Don't leak clock messages.
19816 2005-11-25 Wim Taymans <wim@fluendo.com>
19818 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19819 (gst_util_uint64_scale_int):
19820 Optimisations, remove unneeded vars.
19822 2005-11-25 Wim Taymans <wim@fluendo.com>
19824 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19825 Added more checks for the high precision uint64 cases.
19827 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19828 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19829 Implement high precision (guint64 * guint64) / guint64.
19831 2005-11-24 Wim Taymans <wim@fluendo.com>
19833 * gst/base/gstbasesrc.c: (gst_base_src_query):
19834 Fix wrong percentage query.
19836 * gst/gstutils.c: (gst_util_uint64_scale),
19837 (gst_util_uint64_scale_int):
19838 Add some more common cases that can be handled
19839 efficiently to _scale.
19841 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19843 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19844 (gst_mini_object_suite):
19845 don't use check calls from threads; check probably isn't
19846 threadsafe and using a lock to make it threadsafe would
19847 defeat the purpose of this check
19848 * gst/check/gstcheck.c:
19849 * gst/check/gstcheck.h:
19850 use GST_DEBUG some more
19852 2005-11-24 Wim Taymans <wim@fluendo.com>
19854 * gst/gstutils.c: (gst_util_uint64_scale),
19855 (gst_util_uint64_scale_int):
19856 Chain trivial case to _scale_int.
19858 2005-11-24 Wim Taymans <wim@fluendo.com>
19860 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19861 Added test for scaling.
19866 * gst/gstutils.c: (gst_util_uint64_scale_int):
19867 Implemented high precision scaling code.
19869 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19872 do not crash on pad==NULL
19874 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19876 Patch by: Stefan Kost
19878 * common/gtk-doc.mak:
19879 * docs/gst/Makefile.am:
19880 * docs/libs/Makefile.am:
19881 Fix distcheck issues for the libraries docs build
19884 2005-11-24 Michael Smith <msmith@fluendo.com>
19886 * docs/manual/basics-helloworld.xml:
19887 Fix bug #315027: memory leak in example code in docs.
19889 2005-11-24 Michael Smith <msmith@fluendo.com>
19891 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19892 Unlock the PREROLL_LOCK in a failure case.
19894 2005-11-24 Wim Taymans <wim@fluendo.com>
19896 * docs/gst/gstreamer-sections.txt:
19897 * gst/base/gstadapter.h:
19898 * gst/base/gstbasesink.h:
19899 * gst/base/gstbasesrc.h:
19900 * gst/base/gstbasetransform.h:
19901 * gst/base/gstpushsrc.h:
19902 * gst/elements/gstfakesink.h:
19903 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19904 * gst/elements/gstfakesrc.h:
19905 * gst/elements/gstfilesink.h:
19906 * gst/elements/gstfilesrc.h:
19909 * gst/gstbuffer.c: (_gst_buffer_copy):
19912 * gst/gstchildproxy.c:
19914 * gst/gstelement.c:
19915 * gst/gstelementfactory.c:
19916 * gst/gstelementfactory.h:
19918 * gst/gstghostpad.h:
19920 * gst/gstinterface.h:
19921 * gst/gstminiobject.c:
19922 * gst/gstminiobject.h:
19925 * gst/gstpadtemplate.h:
19926 * gst/gstpipeline.h:
19927 * gst/gstpluginfeature.h:
19930 * gst/gsttaglist.c:
19931 * gst/gsttaglist.h:
19932 * gst/gsttagsetter.c:
19933 * gst/gsttagsetter.h:
19936 * gst/gsttypefind.h:
19939 * gst/net/gstnetclientclock.c:
19940 * gst/net/gstnetclientclock.h:
19941 * gst/net/gstnettimepacket.c:
19942 * gst/net/gstnettimeprovider.c:
19943 * gst/net/gstnettimeprovider.h:
19946 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19948 * configure.ac: back to HEAD
19950 === release 0.9.6 ===
19952 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19955 releasing 0.9.6, "Always On Time"
19957 2005-11-23 Wim Taymans <wim@fluendo.com>
19959 * docs/gst/gstreamer-sections.txt:
19960 * gst/glib-compat.c:
19961 * gst/gsttagsetter.c:
19963 * gst/net/gstnetclientclock.c:
19964 * gst/net/gstnettimepacket.h:
19967 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19969 * docs/faq/using.xml:
19970 * docs/libs/tmpl/gstcontrol.sgml:
19971 * docs/manual/advanced-dparams.xml:
19972 * docs/manual/appendix-checklist.xml:
19973 * docs/manual/basics-elements.xml:
19974 * docs/pwg/other-source.xml:
19975 * docs/random/moving-plugins:
19977 * tools/gst-launch.1.in:
19978 remove mentions of sinesrc
19980 2005-11-23 Michael Smith <msmith@fluendo.com>
19982 * docs/gst/gstreamer-sections.txt:
19983 Update for new API and API changes.
19985 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19987 Documentation typo fix.
19988 * gst/net/gstnettimepacket.c:
19989 Documentation fixes for arguments.
19991 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19993 * gst/gststructure.c: (gst_structure_get_fraction),
19994 (gst_structure_parse_value),
19995 (gst_structure_fixate_field_nearest_fraction):
19996 * gst/gststructure.h:
19997 * gst/gstutils.c: (gst_util_uint64_scale_int):
19999 * scripts/update-funcnames:
20001 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20002 Make gst_structure_fixate_field_nearest_fraction take a numerator
20003 and denominator argument instead of a GValue
20004 add gst_structure_get_fraction helper function.
20006 2005-11-23 Wim Taymans <wim@fluendo.com>
20008 * docs/design/part-TODO.txt:
20011 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20012 * gst/net/gstnetclientclock.h:
20013 Use parent fields for timeout and window_size.
20015 2005-11-23 Andy Wingo <wingo@pobox.com>
20017 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20018 rate_num/rate_denom change.
20020 * gst/net/gstnetclientclock.c
20021 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20022 OBJECT_LOCK. Don't call add_observation with the lock.
20024 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20026 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20028 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20029 deal with rate as a fraction whose numerator and denominator are
20030 GstClockTime values.
20031 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20032 master; the other fields are protected by the SLAVE_LOCK.
20033 (do_linear_regression): Note that this must be called with the
20035 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20036 OBJECT_LOCK. Call set_calibration instead of touching the
20037 variables directly.
20038 (gst_clock_set_property, gst_clock_get_property): Protect
20039 master/slave parameters with the SLAVE_LOCK.
20041 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20042 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20043 note that all of the instance variables that add_observation and
20044 the set_master functions use are protected by that lock and not
20046 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20048 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20049 the caller to take the object lock.
20051 2005-11-23 Wim Taymans <wim@fluendo.com>
20053 * gst/gsterror.c: (_gst_core_errors_init):
20055 Add error for clock stuff.
20057 * gst/gstpipeline.c: (gst_pipeline_change_state),
20058 (gst_pipeline_set_clock):
20059 Post clock error when clock cannot be used in a pipeline.
20061 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20063 * docs/gst/gstreamer-sections.txt:
20064 make two symbols from gstinfo private for the docs
20065 * gst/base/gstcollectpads.h:
20067 fix doc typos, update docs
20069 2005-11-22 Wim Taymans <wim@fluendo.com>
20071 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20072 (gst_base_sink_wait), (gst_base_sink_do_sync),
20073 (gst_base_sink_handle_event):
20074 * gst/base/gstbasesink.h:
20075 No need to store the clock, the parent element class already
20078 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20079 Updates for clock_set returning a gboolean
20081 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20082 (gst_clock_id_wait_async), (gst_clock_class_init),
20083 (gst_clock_init), (gst_clock_finalize),
20084 (gst_clock_get_internal_time), (gst_clock_get_time),
20085 (gst_clock_slave_callback), (gst_clock_set_master),
20086 (gst_clock_get_master), (do_linear_regression),
20087 (gst_clock_add_observation), (gst_clock_set_property),
20088 (gst_clock_get_property):
20090 Implement master/slave. When setting a clock as a slave, a
20091 periodic timeout is scheduled to sample master and slave times.
20092 Then the slave clock is recalibrated to match offset and rate
20093 of the master clock.
20094 Update logging a bit.
20095 Add flag so that a clock can state that is cannot be slaved to
20098 * gst/gstelement.c: (gst_element_set_clock):
20099 * gst/gstelement.h:
20100 The set clock returns a gboolean for when an element cannot
20101 deal with the selected clock in the pipeline.
20103 * gst/gstpipeline.c: (gst_pipeline_change_state),
20104 (gst_pipeline_set_clock):
20105 * gst/gstpipeline.h:
20106 Handle the case where the selected clock cannot be set on
20109 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20110 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20111 (gst_net_client_clock_set_property),
20112 (gst_net_client_clock_get_property),
20113 (gst_net_client_clock_observe_times):
20114 * gst/net/gstnetclientclock.h:
20115 Use regression code in GstClock parent, remove duplicated
20118 2005-11-22 Michael Smith <msmith@fluendo.com>
20120 * gst/gstutils.c: (gst_util_clock_time_scale):
20122 * docs/gst/gstreamer-sections.txt:
20123 Rename method to have extra underscore.
20125 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20127 * gst/elements/Makefile.am:
20128 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20129 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20130 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20131 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20132 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20133 * gst/elements/gstfakesrc.h:
20134 * gst/gstqueue.c: (queue_leaky_get_type):
20135 correctly fix GEnumValues so that nick is the short lowercase
20137 * tools/gst-inspect.c: (print_element_properties_info):
20138 also show the nick, since it's useful to use from parse_launch
20142 2005-11-22 Michael Smith <msmith@fluendo.com>
20144 * gst/gstutils.c: (gst_util_clocktime_scale):
20146 * docs/gst/gstreamer-sections.txt:
20147 Add util method for scaling a clocktime by a fraction. Useful
20148 implementation is left as an exercise for the reader.
20150 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20152 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20153 If needed, allocate storage in the destination value during
20156 2005-11-22 Edward Hervey <edward@fluendo.com>
20158 * docs/gst/gstreamer-sections.txt:
20161 * gst/gsturitype.c:
20162 * gst/gsturitype.h:
20163 * gst/gstutils.c: (gst_util_set_object_arg):
20164 * tools/gst-compprep.c: (main):
20165 * tools/gst-inspect.c: (print_element_properties_info):
20166 Removed GstURI, closes bug #321061
20168 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20170 * check/gst/gststructure.c: (GST_START_TEST):
20171 * gst/gststructure.c: (gst_structure_parse_value):
20172 Oops, broke automatic string type parsing.
20173 Add a test to catch it in future.
20175 2005-11-22 Andy Wingo <wingo@pobox.com>
20177 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20178 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20179 Actually rename the function implementations. Grr.
20181 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20183 * check/gst/capslist.h:
20185 * check/gst/gststructure.c: (GST_START_TEST),
20186 (gst_structure_suite):
20187 Test automatic value type detection in gst_structure_from_string.
20188 * gst/gststructure.c: (gst_structure_parse_value):
20189 Add fraction as a type we try and guess automatically in
20190 caps/structure strings.
20192 2005-11-22 Andy Wingo <wingo@pobox.com>
20194 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20196 * gst/gsttagsetter.h:
20197 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20198 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20199 (gst_tag_setter_add_tag_valist)
20200 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20201 _add_values, _add_valist, and _add_valist_values. Since this is an
20202 interface the function suffixes should be more explicit so
20203 language binding don't end up with element.add_valist ->
20204 gst_tag_setter_add_valist, for example. Fixes #322069.
20206 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20208 * check/gst/gstcaps.c: (GST_START_TEST):
20209 Extend caps string tests to check that a caps to string
20210 conversion is reversible and produces the same caps.
20212 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20213 Output "fraction" as the generic type fraction range, so caps
20214 serialisation and deserialisation works.
20215 * check/gst/capslist.h:
20216 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20217 Support 'MIN' and 'MAX' for deserialising fractions.
20219 2005-11-22 Andy Wingo <wingo@pobox.com>
20221 * gst/gstevent.h (gst_event_new_new_segment)
20222 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20223 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20224 Renamed from *_newsegment, *_buffersize, *_notarget.
20226 * scripts/update-funcnames: New script, performs the changes
20229 2005-11-22 Wim Taymans <wim@fluendo.com>
20231 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20232 Make sure the GstFlowReturn is returned.
20234 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20235 (gst_bus_add_signal_watch):
20237 add gst_bus_add_signal_watch_full.
20239 * gst/gstplugin.c: (gst_plugin_load_file):
20240 Small style cleanup.
20242 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20244 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20245 Block the fakesrc srcpad when we send an event, to avoid
20246 contention on the stream_lock causing random test failures.
20248 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20250 * check/gst/gstvalue.c: (GST_START_TEST):
20251 * gst/gstvalue.c: (gst_value_fraction_subtract):
20254 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20257 include "gstchildproxy.h"
20258 * gst/gstchildproxy.h:
20259 * libs/gst/controller/gstcontroller.h:
20260 use G_GNUC_NULL_TERMINATED
20262 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20264 * check/gst/capslist.h:
20265 * check/gst/gstcaps.c: (GST_START_TEST):
20266 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20267 * gst/gststructure.c: (gst_structure_parse_range),
20268 (gst_structure_fixate_field_nearest_fraction):
20269 * gst/gststructure.h:
20270 * gst/gstvalue.c: (gst_value_init_fraction_range),
20271 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20272 (gst_value_collect_fraction_range),
20273 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20274 (gst_value_set_fraction_range_full),
20275 (gst_value_get_fraction_range_min),
20276 (gst_value_get_fraction_range_max),
20277 (gst_value_serialize_fraction_range),
20278 (gst_value_transform_fraction_range_string),
20279 (gst_value_compare_fraction_range),
20280 (gst_value_deserialize_fraction_range),
20281 (gst_value_intersect_fraction_fraction_range),
20282 (gst_value_intersect_fraction_range_fraction_range),
20283 (gst_value_subtract_fraction_fraction_range),
20284 (gst_value_subtract_fraction_range_fraction),
20285 (gst_value_subtract_fraction_range_fraction_range),
20286 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20287 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20288 (gst_value_transform_string_fraction), (_gst_value_initialize):
20290 Implement fraction ranges and extend GstFraction to support
20291 arithmetic subtraction, as well as deserialization from integer
20292 strings such as "100"
20293 Add a testsuite as for int and double range set operations
20295 2005-11-21 Andy Wingo <wingo@pobox.com>
20297 * gst/gsttaglist.h:
20299 * gst/gststructure.h: Add glib-compat.h.
20301 2005-11-21 Wim Taymans <wim@fluendo.com>
20303 * gst/gstbin.c: (gst_bin_change_state_func):
20306 2005-11-21 Wim Taymans <wim@fluendo.com>
20308 * gst/gstsegment.h:
20309 And add a nice define too.
20311 2005-11-21 Wim Taymans <wim@fluendo.com>
20313 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20314 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20315 (gst_segment_set_duration), (gst_segment_set_last_stop),
20316 (gst_segment_set_seek), (gst_segment_set_newsegment),
20317 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20318 (gst_segment_clip):
20319 * gst/gstsegment.h:
20320 Make binding friendly.
20322 2005-11-21 Andy Wingo <wingo@pobox.com>
20324 * gst/gsttagsetter.h:
20325 * gst/gsttaglist.h:
20326 * gst/gststructure.h:
20328 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20331 * gst/gsterror.c (_gst_core_errors_init):
20332 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20335 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20336 (noinst_HEADERS): noinst the -private.
20338 2005-11-21 Michael Smith <msmith@fluendo.com>
20341 * gst/gstregistry.h:
20342 Remove unimplemented declarations for which we can see no sensible
20345 2005-11-21 Andy Wingo <wingo@pobox.com>
20347 * gst/gst.h: Include glib-compat.h.
20349 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20351 * gst/glib-compat.c: Include the public and the private header.
20353 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20357 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20359 * check/gst/gstevent.c (create_custom_events): Check that
20360 FLUSH_STOP is serialized.
20362 * check/elements/identity.c (event_func):
20363 * check/elements/fakesrc.c (event_func): No stream lock, the core
20366 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20367 stream lock taking, yay.
20369 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20370 ensure that core takes the stream lock.
20372 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20375 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20376 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20377 it already. For the flush start we do take it though so we get the
20378 right preroll state change messages.
20380 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20381 the stream lock here, the core does it for us.
20383 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20384 GST_STREAM_GET_LOCK.
20385 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20386 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20387 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20388 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20389 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20390 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20392 * gst/gstpad.c: Update for stream lock name change.
20394 * gst/base/gstbasesink.c: Update for preroll lock name change.
20396 2005-11-21 Wim Taymans <wim@fluendo.com>
20398 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20399 (gst_clock_get_master):
20401 * gst/gstsystemclock.c: (gst_system_clock_init):
20402 Convert Clock flags to object flags.
20403 Added methods to manage master/slave clocks.
20405 2005-11-21 Wim Taymans <wim@fluendo.com>
20407 * check/gst/gstsegment.c: (GST_START_TEST):
20408 * docs/design/part-TODO.txt:
20409 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20410 (gst_base_sink_event), (gst_base_sink_do_sync),
20411 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20412 (gst_base_sink_query), (gst_base_sink_change_state):
20413 * gst/base/gstbasesink.h:
20414 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20415 (gst_base_src_default_newsegment),
20416 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20417 (gst_base_src_get_range), (gst_base_src_loop),
20418 (gst_base_src_change_state):
20419 * gst/base/gstbasesrc.h:
20420 * gst/base/gstbasetransform.c:
20421 (gst_base_transform_prepare_output_buf),
20422 (gst_base_transform_event), (gst_base_transform_change_state):
20423 * gst/base/gstbasetransform.h:
20424 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20425 (gst_collect_pads_event):
20426 * gst/base/gstcollectpads.h:
20427 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20428 (gst_fake_src_create):
20429 * gst/elements/gstfakesrc.h:
20430 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20431 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20432 (gst_segment_set_last_stop), (gst_segment_set_seek),
20433 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20434 (gst_segment_to_running_time), (gst_segment_clip):
20435 * gst/gstsegment.h:
20436 More segment updates, replace code in plugins with segment
20439 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20441 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20442 Don't ignore sscanf results
20444 2005-11-21 Andy Wingo <wingo@pobox.com>
20446 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20449 * *.c: Ran scripts/update-macros. Oh yes.
20451 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20452 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20455 * scripts/update-macros: New script. Run it on your files to
20456 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20459 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20461 * docs/gst/Makefile.am:
20462 * docs/gst/gstreamer-docs.sgml:
20463 * docs/gst/gstreamer-sections.txt:
20464 * docs/gst/gstreamer.types:
20466 more docs fixes, add new api to the docs
20468 2005-11-21 Andy Wingo <wingo@pobox.com>
20470 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20471 state_broadcast call.
20473 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20475 2005-11-21 Julien MOUTTE <julien@moutte.net>
20477 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20478 function calls for arrays.
20480 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20482 * docs/random/ensonic/media-device-daemon.txt:
20483 wild idea, can this be done?
20484 * docs/gst/gstreamer-sections.txt:
20489 * gst/gstpluginfeature.c:
20493 doc fixes and additions
20495 2005-11-21 Andy Wingo <wingo@pobox.com>
20497 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20498 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20499 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20500 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20501 private to the basesrc implementation.
20503 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20504 behalf of event function if necessary. It should no longer be
20505 necessary to take the stream lock in pad's event functions. Fixes
20508 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20509 * docs/gst/gstreamer-sections.txt:
20510 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20511 (gst_structure_fixate_field_nearest_double),
20512 (gst_structure_fixate_field_boolean):
20513 * gst/gststructure.h:
20514 * win32/common/libgstreamer.def:
20515 * win32/gstreamer.def:
20517 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20520 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20522 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20523 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20524 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20525 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20526 (gst_fdsrc_uri_handler_init):
20527 * gst/elements/gstfdsrc.h:
20528 Port fd:// URI handler from 0.8 to fdsrc
20530 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20532 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20533 (gst_value_serialize_fourcc):
20535 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20536 consistent with our other format defines (#320324).
20538 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20540 * gst/gstvalue.c: (gst_value_is_fixed):
20541 Revert previous commit. Value lists are by definition
20542 not fixed, as they are a list of possible values.
20544 2005-11-21 Andy Wingo <wingo@pobox.com>
20546 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20547 during the stable series if we need it. Fixes #319178.
20549 * gst/gstevent.c (gst_event_new_filler): Removed.
20551 * check/gst/gstevent.c: Update comment about filler events.
20553 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20555 * gst/gstvalue.c: (gst_value_is_fixed):
20556 Should handle both value arrays and value lists.
20558 2005-11-21 Andy Wingo <wingo@pobox.com>
20560 patch by: Alessandro Dessina <alessandro nnva org>
20562 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20563 functions to access arrays. Fixes #321962.
20565 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20567 * docs/gst/gstreamer.types:
20568 gst_collectpads_get_type => gst_collect_pads_get_type.
20570 * gst/base/gstbasetransform.c:
20571 Remove unused SIGNAL_HANDOFF enum.
20573 2005-11-21 Andy Wingo <wingo@pobox.com>
20575 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20576 the event type (upstream, downstream, serialized). Renamed
20577 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20578 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20579 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20581 * gst/gstevent.c: Update for new CUSTOM event names.
20583 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20586 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20589 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20591 * docs/gst/gstreamer-sections.txt:
20592 * win32/common/libgstbase.def:
20593 * win32/libgstbase.def:
20594 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20595 (gst_collect_pads_class_init), (gst_collect_pads_init),
20596 (gst_collect_pads_finalize), (gst_collect_pads_new),
20597 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20598 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20599 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20600 (gst_collect_pads_start), (gst_collect_pads_stop),
20601 (gst_collect_pads_peek), (gst_collect_pads_pop),
20602 (gst_collect_pads_available), (gst_collect_pads_read),
20603 (gst_collect_pads_flush), (gst_collect_pads_event),
20604 (gst_collect_pads_chain):
20605 * gst/base/gstcollectpads.h:
20606 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20607 unimplemented functions as unimplemented. Add padding to
20608 GstCollectData. (#320766, #320423)
20610 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20612 * gst/gstmessage.c:
20613 Improve docs for DURATION message (usage of duration parameter)
20616 2005-11-20 Wim Taymans <wim@fluendo.com>
20618 * check/Makefile.am:
20619 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20623 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20624 (gst_segment_set_seek), (gst_segment_set_newsegment),
20625 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20626 (gst_segment_clip):
20627 * gst/gstsegment.h:
20628 Added segment helper structure and methods. Not fully implemented
20630 Added segment check.
20632 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20634 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20635 Add a deserialisation test for fractions
20636 * examples/metadata/read-metadata.c: (message_loop),
20637 (make_pipeline), (main):
20638 Fix up metadata reading sample.
20639 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20641 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20642 Don't try and fixate empty caps
20643 * gst/gst_private.h:
20644 Wrap in G_BEGIN_DECLS/G_END_DECLS
20645 * gst/gstvalue.c: (gst_value_collect_fraction),
20646 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20647 (gst_value_transform_string_fraction),
20648 (gst_value_compare_fraction):
20649 Add some extra guards to ensure that we don't end up
20650 with an invalid denominator of 0 in a gstfraction and
20651 that fractions always get reduced.
20653 2005-11-20 Wim Taymans <wim@fluendo.com>
20655 * docs/gst/gstreamer-sections.txt:
20657 * gst/gstelement.c:
20666 2005-11-20 Wim Taymans <wim@fluendo.com>
20668 * docs/design/part-TODO.txt:
20670 Make a proper enum of the flag.
20672 2005-11-19 Wim Taymans <wim@fluendo.com>
20674 * docs/design/part-TODO.txt:
20675 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20676 (gst_format_to_quark), (gst_format_register):
20678 * gst/gstquery.c: (_gst_query_initialize),
20679 (gst_query_type_get_name), (gst_query_type_to_quark),
20680 (gst_query_type_register):
20682 Add type to quark and type to string conversions.
20684 2005-11-19 Andy Wingo <wingo@pobox.com>
20686 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20689 2005-11-19 Wim Taymans <wim@fluendo.com>
20691 * docs/design/part-TODO.txt:
20692 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20693 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20694 (gst_bin_handle_message_func):
20696 Make message handling overridable.
20698 2005-11-19 Andy Wingo <wingo@pobox.com>
20700 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20703 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20705 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20706 is a GstClockTime. Fixes #321710.
20708 * gst/gstclock.h (GstClock): Remove offset property. Add
20709 internal_calibration and external_calibration. Fix padding. Pad
20710 also by GstClockTime so we don't run into problems.
20712 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20713 (gst_clock_get_rate_offset): Remove.
20714 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20717 * gst/gstutils.c (g_static_rec_cond_wait)
20718 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20720 * gst/gstbin.c: Remove terrible continue_state prototype.
20722 * gst/gstelement.h (gst_element_continue_state): Make public.
20724 * gst/gstelement.h:
20725 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20726 by continue_state. Fixes #319389.
20728 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20729 Really fixes #168438. However I don't see anywhere where the
20730 filter function is called... stupid GStreamer...
20732 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20733 don't have a dispose function, so it won't get called when the
20734 object is unreffed, but oh well!
20736 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20737 allows a destroy function to be set so user_data can be freed.
20739 (gst_index_set_filter): Call gst_index_set_filter_full.
20741 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20743 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20744 string should produce an error, given the lack of a way to
20745 represent NULL strings. Fixes #165650.
20748 * gst/gstvalue.c (gst_value_array_append_value)
20749 (gst_value_array_prepend_value, gst_value_array_get_size)
20750 (gst_value_array_get_value): New API, copied from
20751 gst_value_list_*, only operates on arrays.
20752 (gst_value_list_append_value, gst_value_list_prepend_value)
20753 (gst_value_list_concat, gst_value_list_get_size)
20754 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20756 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20757 init_list, because it works on both.
20758 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20759 (gst_value_copy_list_or_array): Renamed from copy_list.
20760 (gst_value_free_list_or_array): Renamed from free_list.
20761 (gst_value_collect_list_or_array): Renamed from collect_list.
20762 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20763 (gst_value_list_or_array_peek_pointer): Renamed from
20765 (_gst_value_array_value_table, _gst_value_list_value_table):
20766 Update value table functions.
20767 (gst_value_compare_list_or_array): Renamed from compare_list.
20769 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20772 * gst/gsttaglist.c:
20773 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20774 GstTagList*. Fixes #143472.
20776 * gst/gststructure.h: Clarify what the foreach/map functions can
20777 or can't do to their arguments.
20779 2005-11-18 Wim Taymans <wim@fluendo.com>
20781 * gst/gstclock.c: (gst_clock_set_calibration),
20782 (gst_clock_get_calibration):
20784 Calibration can be set with internal time equal to current
20787 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20793 2005-11-18 Andy Wingo <wingo@pobox.com>
20796 * pkgconfig/gstreamer-net.pc.in:
20797 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20798 * pkgconfig/Makefile.am: Add net pkgconfig files.
20800 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20803 * gst/gstghostpad.c:
20809 2005-11-18 Andy Wingo <wingo@pobox.com>
20811 * gst/net/gstnetclientclock.c: Turn off debugging.
20813 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20814 times connverge somewhat. Can't make a real test.
20816 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20817 integer arithmetic. Return the minimum of the domain, which can be
20818 set as "internal" for gst_clock_set_calibration.
20819 (gst_net_client_clock_observe_times): Call _set_calibration.
20820 (gst_net_client_clock_new): Call _set_calibration instead of
20823 * check/net/gstnetclientclock.c (test_functioning): Use the right
20827 * gst/gstclock.c (gst_clock_get_calibration)
20828 (gst_clock_set_calibration): New functions, obsolete the ones I
20829 added yesterday. Doh. Precision issues mean we have to extrapolate
20830 from a point in the more recent past than 1970.
20831 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20833 (gst_clock_adjust_unlocked): Use the right calibration data.
20835 2005-11-18 Edward Hervey <edward@fluendo.com>
20837 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20838 Also reset the ->current_* values in READY->PAUSED
20840 2005-11-18 Andy Wingo <wingo@pobox.com>
20842 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20843 Whoops, check the right fd. Also add some debugging.
20844 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20845 (do_linear_regression): Add a crapload of debugging. Subtract off
20846 the minimum values from the input series to discard unneeded bits.
20847 Use only int arithmetic. There is still double arithmetic when
20848 calculating the intercept that needs fixing. Return boolean to
20849 indicate success; FALSE would mean the domain or range is too
20850 great. Still needs fixes.
20852 2005-11-18 Wim Taymans <wim@fluendo.com>
20854 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20855 For the current position in stream time, we need to subtract
20858 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20859 Release lock before calling the callback function of async
20862 2005-11-18 Andy Wingo <wingo@pobox.com>
20864 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20865 Port goes all the way to MAXUINT16.
20867 * gst/net/gstnettimeprovider.c: Make the port range the same as
20868 for the kernel: 0 assigns, otherwise ports are less than
20871 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20874 * check/net/gstnetclientclock.c (test_functioning): Add the start
20877 2005-11-18 Wim Taymans <wim@fluendo.com>
20879 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20880 (gst_bin_remove_func), (bin_bus_handler):
20882 Removing a clock provider from a bin, triggers a clock lost message
20883 so that a new clock will be selected.
20884 Adding a clock to a bin triggers a clock provider message.
20885 Make sure we reselect a clock when we received a clock lost message.
20886 Keep a reference to the element that provided the clock.
20888 2005-11-18 Andy Wingo <wingo@pobox.com>
20890 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20891 the clock initially so it produces values around the base time.
20892 (gst_net_client_clock_class_init): Typo fix.
20893 (gst_net_client_clock_thread): Add note on when the socket gets
20896 2005-11-17 Wim Taymans <wim@fluendo.com>
20898 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20899 Free remote and local time arrays.
20901 2005-11-17 Wim Taymans <wim@fluendo.com>
20903 * gst/net/gstnetclientclock.c: (do_linear_regression),
20904 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20905 Fix compilation, uninitialized vars and a forgotten continue.
20907 2005-11-17 Andy Wingo <wingo@pobox.com>
20909 * check/Makefile.am (check_PROGRAMS):
20910 * check/net/gstnetclientclock.c: Add a most minimal test for the
20911 net client clock. More to come later.
20913 * gst/net/gstnet.h:
20914 * gst/net/Makefile.am: Add netclientclock.
20916 * gst/net/gstnetclientclock.h:
20917 * gst/net/gstnetclientclock.c: New files, implement an untested
20918 GstClock that takes its time from a network time provider.
20919 Implements the algorithm in network-clock.scm.
20921 * tests/network-clock.scm (*window-size*): Rename from
20923 * tests/network-clock.scm (network-time):
20924 * tests/network-clock-utils.scm (q-push): Update callers.
20926 2005-11-17 Wim Taymans <wim@fluendo.com>
20928 * gst/gstbin.c: (gst_bin_provide_clock_func),
20929 (gst_bin_sort_iterator_new):
20930 And unref the child too..
20932 2005-11-17 Wim Taymans <wim@fluendo.com>
20934 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20935 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20936 Refactor the sort iterator so it can be used while holding the
20938 Make clock selection select a clock closest to the source.
20940 2005-11-17 Michael Smith <msmith@fluendo.com>
20942 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20943 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20945 Anonymous structs are a gcc (and some other compilers) extension, so
20946 don't use them. Since this is only for ABI-compatibility, and our
20947 API/ABI freeze is over in a few days, this whole thing will only
20948 last a few days, so don't bother trying to think up a meaningful
20949 name for the struct.
20951 2005-11-17 Andy Wingo <wingo@pobox.com>
20953 * gst/gstclock.h (GstClock): Add rate and offset properties,
20954 preserving ABI stability. Add rate/offset accessors. Will file bug
20955 for the freeze break.
20957 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20958 and offset, trying to keep precision and avoiding
20959 underflow/overflow.
20960 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20961 functions. Make gst_clock_set_time_adjust obsolete.
20962 (gst_clock_set_time_adjust): Note that this function is obsolete.
20963 Will file bug soon.
20965 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20966 greppable by using GST_PADDING-1+1.
20968 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20970 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20972 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20973 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20975 * gst/gstpadtemplate.h:
20976 * gst/gstpluginfeature.h:
20977 Don't use c++ style comments in headers (#321638).
20979 2005-11-16 Andy Wingo <wingo@pobox.com>
20981 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20984 * check/net/gstnettimeprovider.c: Check to see that the time
20985 provider actually provides times. Works, yo!
20987 2005-11-16 Wim Taymans <wim@fluendo.com>
20989 * check/Makefile.am:
20992 * check/elements/fakesrc.c: (GST_START_TEST):
20993 Set element to NULL before disposing it.
20995 2005-11-16 Andy Wingo <wingo@pobox.com>
20997 * gst/net/Makefile.am:
20998 * gst/net/gstnet.h:
20999 * gst/net/gstnettimeprovider.c:
21000 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21001 provider, include it from gstnet.h, and add it to the build.
21003 * gst/net/gstnettimepacket.h:
21004 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21005 sending and receiving.
21007 2005-11-16 Wim Taymans <wim@fluendo.com>
21009 * check/Makefile.am:
21010 Enable valgrind check.
21012 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21013 (gst_fake_src_alloc_buffer):
21016 2005-11-16 Wim Taymans <wim@fluendo.com>
21018 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21019 Call parent finalize too.
21021 2005-11-16 Wim Taymans <wim@fluendo.com>
21023 * check/Makefile.am:
21024 Enable valgrind check that should work fine now.
21026 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21027 * gst/gstqueue.c: (gst_queue_init):
21028 Fix memleaks in pad allocation.
21030 2005-11-16 Andy Wingo <wingo@pobox.com>
21032 * gst/net/Makefile.am:
21033 * gst/net/gstnet.h: New part of core to hold network elements and
21034 objects. Put in core because it exposes API that applications want
21035 to use. The library is named libgstnet-tempname right now because
21036 of the existing libgstnet in gst-plugins-base. Solution is
21037 probably to rename the one in plugins-base; will file a bug for
21040 * gst/net/gstnettimeprovider.c:
21041 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21042 get_time call over the network.
21045 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21047 * check/Makefile.am:
21048 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21049 get additions shortly.
21051 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21053 * gst/gstpad.c: (gst_pad_new_from_static_template):
21055 add gst_pad_new_from_static_template functions
21056 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21057 (gst_check_setup_sink_pad):
21058 * gst/elements/gsttee.c: (gst_tee_init):
21061 2005-11-16 Wim Taymans <wim@fluendo.com>
21063 * gst/gstpad.c: (gst_pad_pause_task):
21064 Removed warning, it's not really an error either.
21066 2005-11-16 Wim Taymans <wim@fluendo.com>
21068 * gst/base/gstbasetransform.c:
21069 (gst_base_transform_prepare_output_buf),
21070 (gst_base_transform_event):
21071 Check if the caps are NULL, this can happen if the element
21072 is shutting down and the pad caps are set to NULL.
21074 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21076 * gst/elements/gsttee.c: (gst_tee_init):
21077 fix pad template leak in tee
21079 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21081 * gst/glib-compat.c: (g_value_dup_gst_object):
21082 * gst/glib-compat.h:
21083 * gst/gstpad.c: (gst_pad_set_property):
21084 use gst_object_ref when setting the pad template; this will
21085 trigger the pad template leaks on GLib 2.6 and the slaves
21087 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21089 * gst/glib-compat.c: (gst_flags_get_first_value):
21090 * gst/glib-compat.h:
21091 * gst/gstregistryxml.c:
21092 remove functions copied from GLib 2.6
21094 2005-11-16 Michael Smith <msmith@fluendo.com>
21097 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21098 do, but only breaks with newer valgrind versions. We're not a
21099 valgrind tool, we have no link-time dependencies on libcoregrind.
21101 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21103 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21105 * gst/gstmessage.h:
21108 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21110 * gst/base/gstbasesrc.c: (gst_base_src_init):
21111 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21112 * gst/gstqueue.c: (gst_queue_init):
21113 * gst/gstregistryxml.c: (load_feature):
21114 Revert all these unrefs, they don't even pass make check !
21116 2005-11-15 Johan Dahlin <johan@gnome.org>
21118 * gst/base/gstbasesrc.c: (gst_base_src_init):
21119 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21120 * gst/gstqueue.c: (gst_queue_init):
21121 Free pad templates, fixes a couple of leaks.
21123 2005-11-15 Daniel Fischer <dan at f3c dot com>
21125 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21127 * gst/gstpad.c: (gst_pad_get_property):
21128 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21129 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21132 2005-11-15 Wim Taymans <wim@fluendo.com>
21137 2005-11-15 Andy Wingo <wingo@pobox.com>
21139 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21141 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21142 using GST_CLOCK_TIME_NONE to disable base time management.
21143 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21144 time if it was NONE before.
21145 (gst_pipeline_change_state): Only munge the base time if
21146 stream_time != GST_CLOCK_TIME_NONE.
21148 * check/gst/gstpipeline.c (test_base_time): Punt around the
21149 problem of the probe not being called, because that's not the
21150 issue I'm looking at. Add a check that setting stream_time to NONE
21151 disables base time management.
21153 2005-11-15 Wim Taymans <wim@fluendo.com>
21155 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21156 segment_stop == -1 at startup.
21158 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21159 (gst_base_transform_change_state):
21160 Init segment values at start.
21162 2005-11-15 Wim Taymans <wim@fluendo.com>
21164 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21165 0 segment values are 0 in any format.
21167 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21168 * gst/base/gstbasetransform.h:
21169 Parse newsegment correctly in basetransform
21171 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21172 Sync to clock using updated segment values.
21174 2005-11-15 Andy Wingo <wingo@pobox.com>
21176 * check/gst/gstpipeline.c (test_base_time): Add check that the
21177 base time and stream time are reset correctly.
21179 2005-11-15 Wim Taymans <wim@fluendo.com>
21181 * docs/design/part-TODO.txt:
21182 Some more TODO items.
21184 2005-11-15 Andy Wingo <wingo@pobox.com>
21186 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21187 error if the user selected "no clock" as the clocking method.
21189 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21190 timestamps with live capture.
21192 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21193 is 0 but we are a live source, timestamp the buffers using the
21196 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21198 * docs/gst/gstreamer-sections.txt:
21200 * gst/gstghostpad.c:
21205 2005-11-14 Wim Taymans <wim@fluendo.com>
21208 add suppressions from Wim's Debian machine
21210 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21213 add suppressions from Andy's AMD64 Ubuntu machine
21215 2005-11-14 Andy Wingo <wingo@pobox.com>
21217 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21218 STATE_LOCK not necessary. Fixes #311489.
21220 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21223 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21224 this function is not implemented.
21226 2005-11-14 Julien MOUTTE <julien@moutte.net>
21228 * gst/base/gstbasetransform.c:
21229 (gst_base_transform_prepare_output_buf):
21230 Ref the source pad caps while we need them.
21233 2005-11-11 Wim Taymans <wim@fluendo.com>
21235 * docs/gst/gstreamer-sections.txt:
21236 Added some docs for GstCollectData.
21238 * gst/base/gstadapter.c:
21239 Some small code example fix.
21241 * gst/base/gstcollectpads.c:
21242 * gst/base/gstcollectpads.h:
21243 Document some more.
21245 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21247 * configure.ac: back to HEAD
21249 === release 0.9.5 ===
21251 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21254 releasing 0.9.5, "Bike Lunch Day"
21256 2005-11-11 Wim Taymans <wim@fluendo.com>
21258 * gst/gstbuffer.c: (_gst_buffer_copy):
21261 * gst/gstcaps.c: (gst_caps_is_equal):
21263 Make _is_equal fast in the trivial cases.
21265 * gst/gstminiobject.c:
21266 * gst/gstminiobject.h:
21267 More docs. Spifify .h file.
21272 2005-11-11 Wim Taymans <wim@fluendo.com>
21274 * gst/base/gstbasetransform.c:
21275 (gst_base_transform_prepare_output_buf),
21276 (gst_base_transform_handle_buffer):
21278 If we're processing a buffer and need to allocate an output
21279 buffer, we cannot accept a format change. If we did get a
21280 format change, we have to alloc a buffer ourselves of the
21283 2005-11-11 Wim Taymans <wim@fluendo.com>
21285 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21286 While checking the flag for reentrancy in the gstcaps function
21287 is nice to detect recursive invocations, it also makes it
21288 impossible to call getcaps from multiple threads, which must be
21289 possible. So, checking for recursive calls has to go.
21291 2005-11-11 Michael Smith <msmith@fluendo.com>
21293 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21294 Don't sync on buffers that fall partially outside our current
21295 segment. Prevents an assertion failure/abort playing some files.
21297 2005-11-10 Andy Wingo <wingo@pobox.com>
21299 * check/gst/gstbin.c (test_message_state_changed_children): Style
21302 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21303 gst_bus_poll with the signal watch. Ensures that poll and a signal
21304 watch see the same messages.
21306 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21307 a poll and a watch at the same time get the same messages.
21309 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21311 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21312 * gst/gstcaps.c: (gst_caps_intersect):
21313 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21314 and it's not needed.
21316 2005-11-10 Wim Taymans <wim@fluendo.com>
21318 * docs/design/part-TODO.txt:
21321 2005-11-10 Wim Taymans <wim@fluendo.com>
21323 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21324 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21325 (gst_base_src_do_sync), (gst_base_src_get_range):
21326 Implement clock sync in base class.
21328 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21330 patch by: Tim-Philipp Müller <tim at centricular dot net>
21332 * gst/gststructure.c: (gst_structure_parse_field),
21333 (gst_structure_from_string):
21334 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21335 so that gst_parse_launch() can deal with spaces in filtered link
21336 caps (fixes #164479)
21337 * check/gst/capslist.h:
21338 * check/gst/gststructure.c: (GST_START_TEST):
21339 add unit tests for this change
21341 2005-11-10 Wim Taymans <wim@fluendo.com>
21343 * docs/gst/gstreamer-sections.txt:
21344 * gst/gstelement.c:
21345 * gst/gstelement.h:
21346 Fix docs, move some STATE macros to private.
21348 2005-11-10 Wim Taymans <wim@fluendo.com>
21350 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21351 Added check for bug #317341
21355 Some more spiffifying.
21357 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21358 Call peer linkfunction if we are a source pad. Totally fixes
21362 Update docs, source pads should call the peer linkfunction
21363 so they can atomically perform the pad link.
21365 2005-11-09 Wim Taymans <wim@fluendo.com>
21369 Uber-spiffy-spiffify some more.
21371 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21373 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21374 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21375 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21376 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21377 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21378 * gst/gstpad.c: (gst_pad_init):
21379 Use GST_DEBUG_FUNCPTR() more extensively.
21381 2005-11-09 Wim Taymans <wim@fluendo.com>
21383 * gst/gstobject.c: (gst_object_class_init):
21385 Documentation fixes.
21387 2005-11-09 Edward Hervey <edward@fluendo.com>
21389 * gst/gsttypefindfactory.c:
21392 2005-11-09 Edward Hervey <edward@fluendo.com>
21394 * gst/base/gsttypefindhelper.c:
21395 * gst/gsttypefind.c:
21396 * gst/gsttypefind.h:
21399 2005-11-09 Wim Taymans <wim@fluendo.com>
21401 * gst/gstiterator.c:
21408 2005-11-09 Wim Taymans <wim@fluendo.com>
21414 2005-11-09 Wim Taymans <wim@fluendo.com>
21416 * docs/gst/gstreamer-sections.txt:
21417 Moved the message async delivery private lock and cond
21418 to the private section.
21420 * gst/gstmessage.c:
21421 * gst/gstmessage.h:
21424 2005-11-09 Edward Hervey <edward@fluendo.com>
21426 * docs/gst/gstreamer-sections.txt:
21429 Document GstURIHandler
21431 2005-11-09 Wim Taymans <wim@fluendo.com>
21433 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21434 (gst_iterator_find_custom):
21435 * gst/gstiterator.h:
21438 2005-11-09 Wim Taymans <wim@fluendo.com>
21441 Document another field.
21443 * gst/gststructure.c:
21444 * gst/gststructure.h:
21447 2005-11-09 Wim Taymans <wim@fluendo.com>
21450 Documented structs.
21452 2005-11-09 Wim Taymans <wim@fluendo.com>
21454 * docs/gst/gstreamer-sections.txt:
21455 Added some new macros.
21462 2005-11-09 Wim Taymans <wim@fluendo.com>
21464 * docs/design/part-TODO.txt:
21465 Some more items for the TODO
21471 2005-11-09 Andy Wingo <wingo@pobox.com>
21473 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21474 to work on something else now tho...
21476 * gst/base/gstadapter.c: More adapter docs.
21478 * gst/elements/gstfilesink.c (gst_file_sink_start)
21479 (gst_file_sink_stop): New functions, replace the state change
21481 (gst_file_sink_class_init): Hook up the start and stop functions.
21482 (gst_file_sink_base_init): Don't set the state change handler any
21483 more. It was a bit ugly too, being set from here...
21484 (gst_file_sink_get_property, gst_file_sink_set_property):
21486 (gst_file_sink_set_location): More robust check that doesn't call
21487 GST_STATE. Ugggggg.
21489 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21491 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21492 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21494 2005-11-08 Wim Taymans <wim@fluendo.com>
21496 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21497 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21498 (gst_base_sink_chain), (gst_base_sink_change_state):
21499 * gst/base/gstbasesink.h:
21500 * gst/base/gstbasesrc.h:
21501 * gst/gstelement.h:
21503 Avoid excessive typechecking in macros.
21505 * gst/gstminiobject.c: (gst_mini_object_get_type),
21506 (gst_mini_object_init), (gst_mini_object_new),
21507 (gst_mini_object_free):
21508 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21509 (gst_object_finalize):
21510 Remove cruft code, optimize alloc_trace.
21512 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21514 * docs/faq/gst-uninstalled:
21515 fix up PS1 for systems that try to reset it
21517 2005-11-07 Wim Taymans <wim@fluendo.com>
21519 * gst/base/gstbasesrc.c: (gst_base_src_init),
21520 (gst_base_src_get_range):
21521 Set the segment_end to -1 initially. Fixed typefind.
21523 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21525 * gst/base/gstadapter.c:
21526 Debug category should be 'adapter', not 'GstAdapter'.
21528 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21529 (gst_collectpads_class_init), (gst_collectpads_init),
21530 (gst_collectpads_peek), (gst_collectpads_pop),
21531 (gst_collectpads_event), (gst_collectpads_chain):
21532 Add debug category and some debugging output. Use boilerplate
21533 macros. Remove some extraneous words from docs.
21535 2005-11-05 Andy Wingo <wingo@pobox.com>
21537 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21540 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21542 * docs/gst/gstreamer-sections.txt:
21545 * gst/gstminiobject.h:
21550 2005-11-04 Wim Taymans <wim@fluendo.com>
21552 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21553 Small update to stop at the configured segment_end
21556 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21558 * gst/gstregistry.c:
21559 * gst/gstregistry.h:
21562 2005-11-04 Edward Hervey <edward@fluendo.com>
21564 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21565 Check if we are doing a segment seek and have arrived at the
21566 end of that segment.
21568 2005-11-04 Wim Taymans <wim@fluendo.com>
21570 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21571 Don't leak a mutex unlock in case of an error.
21576 2005-11-04 Wim Taymans <wim@fluendo.com>
21578 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21580 Get the context to wake up only once.
21582 2005-11-03 Wim Taymans <wim@fluendo.com>
21584 * check/states/sinks.c: (GST_START_TEST):
21585 Uncomment fixed check.
21587 * docs/design/part-TODO.txt:
21590 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21591 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21592 (gst_base_sink_get_position):
21593 If we are going to PLAYING, post the right pending state
21594 when we post the intermediate paused message.
21596 * gst/gstelement.c: (gst_element_continue_state),
21597 (gst_element_set_state_func), (gst_element_change_state):
21598 Don't post state changes that were between the same state
21599 and were not ASYNC.
21601 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21603 * docs/gst/gstreamer-sections.txt:
21606 * gst/gstminiobject.h:
21609 more docs and doc style fixes
21611 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21613 * docs/gst/gstreamer-sections.txt:
21614 * gst/gstelement.c:
21615 * gst/gstminiobject.c:
21618 2005-11-03 Andy Wingo <wingo@pobox.com>
21620 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21621 state-changed messages actually have the right order and the right
21624 2005-11-03 Wim Taymans <wim@fluendo.com>
21626 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21627 Added some more checks. Specifically the case where NO_PREROLL
21628 elements are in the pipeline.
21630 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21631 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21632 (gst_base_sink_get_position):
21633 Post READY->PAUSED state change messages too.
21634 Fix bug where VOID was posted as pending state...
21636 * gst/gstbin.c: (gst_bin_recalc_state):
21637 use _element_continue_state() to continue the state change.
21639 * gst/gstelement.c: (gst_element_continue_state),
21640 (gst_element_commit_state), (gst_element_set_state_func),
21641 (gst_element_change_state), (gst_element_change_state_func):
21642 Lots of state change cleanups, assign the STATE_RETURN in
21643 a new continue_state() function that also propagates the
21644 last return value from a state change to the app.
21645 Update some debug statements with proper category.
21647 2005-11-03 Wim Taymans <wim@fluendo.com>
21649 * docs/design/part-events.txt:
21650 * docs/design/part-gstpipeline.txt:
21651 * docs/design/part-messages.txt:
21652 * docs/design/part-overview.txt:
21653 * docs/design/part-seeking.txt:
21654 * docs/design/part-states.txt:
21655 * docs/design/part-trickmodes.txt:
21656 * docs/manual/advanced-position.xml:
21657 Small docs updates.
21660 People think !! is ugly, this looks better.
21662 * gst/gstpad.c: (gst_pad_set_blocked_async):
21663 Remove !! since it's fixed elsewhere now.
21665 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21667 * gst/gstminiobject.h:
21669 Add !! to _FLAG_IS_SET macros to make the result boolean.
21671 2005-11-03 Edward Hervey <edward@fluendo.com>
21673 * gst/gstpad.c: (gst_pad_set_blocked_async):
21674 comparing a flag and a gboolean rarely returns coherent results...
21675 Added two characters (!!) to make that work correctly.
21677 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21679 * gst/gstbus.c: (gst_bus_class_init):
21682 * gst/gstqueue.c: (gst_queue_loop):
21683 Don't assume a miniobject that isn't a buffer is an
21684 event (it could be that there is a refcounting
21685 problem somewhere and the pointer is stale and
21686 refers to an already destroyed miniobject).
21688 2005-11-03 Julien MOUTTE <julien@moutte.net>
21690 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21692 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21694 * docs/manual/advanced-position.xml:
21695 Update seek example and explanations to current 0.9 API.
21697 * gst/elements/gsttypefindelement.c:
21698 (gst_type_find_element_activate):
21699 Remove FIXME comment now that the found caps
21702 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21704 * gst/gstregistryxml.c: (load_feature):
21705 Add another GST_STR_NULL instance
21707 2005-11-02 Edward Hervey <edward@fluendo.com>
21709 * gst/gstpad.c: (handle_pad_block):
21710 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21712 2005-11-02 Wim Taymans <wim@fluendo.com>
21717 * gst/gstelement.c: (gst_element_commit_state):
21718 Remove unused value.
21720 * gst/gstiterator.c:
21721 Mention that the returned element is reffed in the docs.
21723 2005-11-02 Wim Taymans <wim@fluendo.com>
21725 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21726 (gst_pad_push), (gst_pad_push_event):
21727 Unlock blocked pads when they are flushed.
21729 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21732 * docs/gst/gstreamer-sections.txt:
21735 * gst/gstregistry.c: (gst_registry_scan_path_level):
21736 fix for a nasty little missed situation where an installed plug-in
21737 which was in the cache did not get overridden by an uninstalled one
21738 which was earlier in the plugin path because the newly created plugin
21739 for the uninstalled one (not in the registry) didn't get its
21740 ->registered set to TRUE
21742 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21744 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21745 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21746 (gst_collectpads_is_active), (gst_collectpads_collect),
21747 (gst_collectpads_collect_range), (gst_collectpads_start),
21748 (gst_collectpads_stop), (gst_collectpads_peek),
21749 (gst_collectpads_pop), (gst_collectpads_available),
21750 (gst_collectpads_read), (gst_collectpads_flush):
21751 Guard public API with assertions.
21754 Fix docs for gst_pad_set_link_function().
21756 2005-11-02 Johan Dahlin <johan@gnome.org>
21758 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21759 Unref found_caps after we used it.
21761 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21763 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21764 Don't try to ref NULL.
21766 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21768 * win32/common/config.h.in:
21769 provide a GST_FUNCTION that just gives a string for now
21771 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21773 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21774 (gst_object_flags_get_type), (register_gst_bin_flags),
21775 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21776 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21777 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21778 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21779 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21780 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21781 (gst_clock_flags_get_type), (register_gst_state),
21782 (gst_state_get_type), (register_gst_state_change_return),
21783 (gst_state_change_return_get_type), (register_gst_state_change),
21784 (gst_state_change_get_type), (register_gst_element_flags),
21785 (gst_element_flags_get_type), (register_gst_core_error),
21786 (gst_core_error_get_type), (register_gst_library_error),
21787 (gst_library_error_get_type), (register_gst_resource_error),
21788 (gst_resource_error_get_type), (register_gst_stream_error),
21789 (gst_stream_error_get_type), (register_gst_event_type),
21790 (gst_event_type_get_type), (register_gst_seek_type),
21791 (gst_seek_type_get_type), (register_gst_seek_flags),
21792 (gst_seek_flags_get_type), (register_gst_format),
21793 (gst_format_get_type), (register_gst_index_certainty),
21794 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21795 (gst_index_entry_type_get_type),
21796 (register_gst_index_lookup_method),
21797 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21798 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21799 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21800 (gst_index_flags_get_type), (register_gst_debug_level),
21801 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21802 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21803 (gst_iterator_result_get_type), (register_gst_iterator_item),
21804 (gst_iterator_item_get_type), (register_gst_message_type),
21805 (gst_message_type_get_type), (register_gst_mini_object_flags),
21806 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21807 (gst_pad_link_return_get_type), (register_gst_flow_return),
21808 (gst_flow_return_get_type), (register_gst_activate_mode),
21809 (gst_activate_mode_get_type), (register_gst_pad_direction),
21810 (gst_pad_direction_get_type), (register_gst_pad_flags),
21811 (gst_pad_flags_get_type), (register_gst_pad_presence),
21812 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21813 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21814 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21815 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21816 (gst_plugin_flags_get_type), (register_gst_rank),
21817 (gst_rank_get_type), (register_gst_query_type),
21818 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21819 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21820 (gst_tag_flag_get_type), (register_gst_task_state),
21821 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21822 (gst_alloc_trace_flags_get_type),
21823 (register_gst_type_find_probability),
21824 (gst_type_find_probability_get_type), (register_gst_uri_type),
21825 (gst_uri_type_get_type), (register_gst_parse_error),
21826 (gst_parse_error_get_type):
21827 * win32/common/gstversion.h:
21828 update win32 copies
21830 2005-11-01 Luca Ognibene <luogni@tin.it>
21833 fix docs. popt is dead, long live GOption.
21835 2005-10-31 Wim Taymans <wim@fluendo.com>
21840 2005-10-31 Andy Wingo <wingo@pobox.com>
21844 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21846 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21847 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21848 the possibility of deadlocks here if code calling notify() or
21849 set() has a lock that can be taken in another notify handler (ABBA
21850 with class lock and e.g. python GIL state lock).
21852 2005-10-28 Julien MOUTTE <julien@moutte.net>
21854 * gst/gstbus.c: Doc updates.
21856 2005-10-28 Wim Taymans <wim@fluendo.com>
21858 * docs/design/part-TODO.txt:
21859 * gst/gstiterator.c:
21860 * gst/gstsystemclock.c:
21861 * gst/gstsystemclock.h:
21864 2005-10-28 Edward Hervey <edward@fluendo.com>
21866 * docs/gst/gstreamer-docs.sgml:
21867 * docs/gst/gstreamer-sections.txt:
21868 the GstURIType documentation page is private, it only defines GstURIType
21869 which should be defined in the GstURIHandler page
21871 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21873 * gst/gstbin.c: (gst_bin_class_init):
21876 Documentation updates.
21878 2005-10-28 Wim Taymans <wim@fluendo.com>
21880 * docs/gst/gstreamer-sections.txt:
21883 Documented the clocks.
21885 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21887 * docs/gst/gstreamer-sections.txt:
21888 move some macros to private sections
21889 * gst/gstminiobject.c:
21890 * gst/gstminiobject.h:
21891 add descriptions provided by ds and some more
21893 mark macro as to be removed
21895 2005-10-28 Wim Taymans <wim@fluendo.com>
21897 * docs/design/part-TODO.txt:
21898 Add an item to TODO.
21900 * gst/gstiterator.c: (gst_iterator_fold),
21901 (gst_iterator_find_custom):
21902 * gst/gstiterator.h:
21905 2005-10-28 Wim Taymans <wim@fluendo.com>
21907 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21908 (gst_base_transform_init):
21911 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21912 An EOS event marks the queue as completely filled.
21914 2005-10-27 Wim Taymans <wim@fluendo.com>
21916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21917 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21918 Some more debugging.
21920 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21921 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21922 (gst_base_transform_event), (gst_base_transform_getrange),
21923 (gst_base_transform_chain):
21924 * gst/base/gstbasetransform.h:
21926 Protect transform and concurrent buffer alloc with a new lock.
21927 Try not to break ABI/API.
21929 2005-10-27 Wim Taymans <wim@fluendo.com>
21931 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21932 (gst_base_src_init), (gst_base_src_query),
21933 (gst_base_src_default_newsegment),
21934 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21935 (gst_base_src_send_event), (gst_base_src_event_handler),
21936 (gst_base_src_pad_get_range), (gst_base_src_loop),
21937 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21938 (gst_base_src_start), (gst_base_src_deactivate),
21939 (gst_base_src_activate_push), (gst_base_src_change_state):
21940 Move some stuff around and cleanup things.
21942 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21944 * gst/base/gstbasesrc.c: (gst_base_src_query):
21945 Add missing break statements.
21947 2005-10-27 Wim Taymans <wim@fluendo.com>
21949 * check/gst/gstbin.c: (GST_START_TEST):
21950 An extra refcount is taken in basesrc.
21952 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21953 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21954 (gst_base_src_loop):
21955 Small cleanups, check for flushing after being unlocked from the
21956 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21957 Don't send out EOS when going to READY.
21959 2005-10-27 Wim Taymans <wim@fluendo.com>
21961 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21962 (gst_base_sink_get_position):
21965 * gst/gstbin.c: (message_check), (bin_replace_message),
21966 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21967 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21968 (bin_query_duration_init), (bin_query_duration_fold),
21969 (bin_query_duration_done), (bin_query_generic_fold),
21971 * tools/gst-launch.c: (main):
21974 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21976 * examples/controller/audio-example.c: (main):
21977 * examples/queue/queue.c: (event_loop):
21978 * gst/base/gstbasetransform.h:
21979 * gst/gstelement.c: (gst_element_send_event):
21981 * gst/gstpad.c: (gst_pad_send_event):
21984 changing log priority in error situations
21986 2005-10-25 Wim Taymans <wim@fluendo.com>
21988 * gst/gstbin.c: (message_check), (bin_replace_message),
21989 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21990 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21991 (bin_query_duration_init), (bin_query_duration_fold),
21992 (bin_query_duration_done), (bin_query_generic_fold),
21994 Some doc and debug updates.
21995 Cache previously requested query DURATION for speed. invalidate
21996 cached duration if element posts a DURATION message.
21998 2005-10-25 Wim Taymans <wim@fluendo.com>
22000 * docs/design/part-TODO.txt:
22003 * gst/gstbin.c: (message_check), (bin_replace_message),
22004 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22005 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22006 (bin_query_duration_init), (bin_query_duration_fold),
22007 (bin_query_duration_done), (bin_query_generic_fold),
22009 Handle SEGMENT_START/DONE messages correctly.
22010 More evolved query algorithm that handles duration queries
22013 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22014 (gst_element_get_state_func), (gst_element_abort_state),
22015 (gst_element_commit_state), (gst_element_lost_state):
22016 Some more debugging.
22018 * gst/gstmessage.h:
22021 2005-10-25 Wim Taymans <wim@fluendo.com>
22023 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22024 Don't use invalid stream_time.
22026 * gst/gstevent.c: (gst_event_new_newsegment):
22027 stream_time in newsegment cannot be undefined.
22029 2005-10-24 Wim Taymans <wim@fluendo.com>
22034 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22036 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22038 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22040 * docs/libs/tmpl/gstdparam.sgml:
22041 * docs/libs/tmpl/gstdplinint.sgml:
22042 * docs/libs/tmpl/gstdpman.sgml:
22043 * docs/libs/tmpl/gstdpsmooth.sgml:
22044 * docs/libs/tmpl/gstunitconvert.sgml:
22047 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22052 === release 0.9.4 ===
22054 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22057 releasing 0.9.4, "Tyrannosaurus Rex"
22059 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22061 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22062 (gst_file_sink_get_current_offset):
22063 Use fseeko() and ftello() if available. When falling back on
22064 lseek() to get the current offset, fflush() first to make sure
22065 everything is up-to-date and we get the right offset.
22067 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22069 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22070 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22071 * gst/gsterror.c: (_gst_stream_errors_init):
22073 * gst/gstqueue.c: (gst_queue_loop):
22075 remove prematurely added error category and clean up the instances
22077 2005-10-21 Wim Taymans <wim@fluendo.com>
22079 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22080 (gst_base_sink_get_position), (gst_base_sink_query),
22081 (gst_base_sink_change_state):
22082 Simply set the right flag when going to playing, that's all
22083 we need to do instead of calling a function inside the object
22084 lock (that could take the lock as well and deadlock)
22086 2005-10-21 Wim Taymans <wim@fluendo.com>
22088 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22089 (gst_base_src_loop):
22090 Don't warn, the peer element knows what to do best when
22091 the seek failed, it might try something else.
22093 2005-10-21 Wim Taymans <wim@fluendo.com>
22095 * gst/base/gstbasesrc.c: (gst_base_src_init),
22096 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22099 2005-10-21 Wim Taymans <wim@fluendo.com>
22101 * docs/design/part-segments.txt:
22104 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22105 Correctly set caps, even on the subbufer.
22107 2005-10-21 Wim Taymans <wim@fluendo.com>
22109 * docs/gst/gstreamer-docs.sgml:
22110 * docs/gst/gstreamer-sections.txt:
22111 * gst/gstelement.h:
22114 * gst/gstmessage.h:
22117 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22121 And 2% more doc coverage.
22123 2005-10-21 Andy Wingo <wingo@pobox.com>
22125 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22126 position reporting.
22128 2005-10-20 Wim Taymans <wim@fluendo.com>
22130 * gst/gsterror.c: (gst_error_get_message):
22133 * gst/gststructure.c:
22138 2005-10-20 Wim Taymans <wim@fluendo.com>
22143 Another 1% more coverage.
22145 2005-10-20 Wim Taymans <wim@fluendo.com>
22147 * docs/gst/gstreamer-sections.txt:
22148 * gst/gstelement.c: (gst_element_get_state_func),
22149 (gst_element_abort_state), (gst_element_commit_state),
22150 (gst_element_lost_state):
22152 * gst/gstquery.c: (gst_query_set_position),
22153 (gst_query_parse_position), (gst_query_set_duration),
22154 (gst_query_parse_duration), (gst_query_new_convert):
22156 Yay! 1% more docs coverage.
22158 2005-10-20 Wim Taymans <wim@fluendo.com>
22161 * gst/gstquery.c: (gst_query_set_position),
22162 (gst_query_parse_position), (gst_query_set_duration),
22163 (gst_query_parse_duration), (gst_query_new_convert):
22165 * gst/gstutils.c: (gst_element_query_convert):
22167 Docs and consistency fixes.
22169 2005-10-20 Wim Taymans <wim@fluendo.com>
22175 2005-10-20 Wim Taymans <wim@fluendo.com>
22177 * gst/gstbin.c: (message_check), (bin_replace_message),
22178 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22179 (update_degree), (gst_bin_sort_iterator_next),
22180 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22181 Reworked the message handling a bit, cache the messages instead of
22182 only the senders. alows us to do more in the future.
22184 2005-10-20 Wim Taymans <wim@fluendo.com>
22186 * docs/design/part-TODO.txt:
22189 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22190 (gst_base_sink_query):
22191 Don't use clock time to report position when in EOS.
22193 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22195 * tools/gst-inspect.c: (print_interfaces),
22196 (print_element_properties_info), (print_element_info):
22197 Fix interface output with gst-inspect -a; don't print
22198 newlines after double/float properties.
22200 2005-10-20 Wim Taymans <wim@fluendo.com>
22202 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22203 (gst_base_sink_query):
22204 Speed up current position calculation.
22206 * gst/base/gstbasesrc.c: (gst_base_src_query),
22207 (gst_base_src_default_newsegment):
22208 Correctly set stream position in newsegment.
22210 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22211 (update_degree), (gst_bin_sort_iterator_next),
22212 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22213 * gst/gstmessage.c: (gst_message_new_custom):
22214 Clean up debugging info
22216 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22217 (gst_queue_loop), (gst_queue_handle_src_query):
22220 2005-10-19 Wim Taymans <wim@fluendo.com>
22222 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22223 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22224 Fix query handling again.
22226 2005-10-19 Wim Taymans <wim@fluendo.com>
22228 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22229 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22230 * gst/base/gstbasesrc.c: (gst_base_src_query):
22231 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22232 * gst/elements/gsttypefindelement.c:
22233 (gst_type_find_handle_src_query), (find_element_get_length),
22234 (gst_type_find_element_activate):
22237 * gst/gstquery.c: (gst_query_new_position),
22238 (gst_query_set_position), (gst_query_parse_position),
22239 (gst_query_new_duration), (gst_query_set_duration),
22240 (gst_query_parse_duration), (gst_query_set_segment),
22241 (gst_query_parse_segment):
22243 Bundling query position/duration is not a good idea since duration
22244 does not change much and we don't want to recalculate it for every
22245 position query, so they are separated again..
22246 Base value in segment query is not needed.
22248 * gst/gstqueue.c: (gst_queue_handle_src_query):
22249 * gst/gstutils.c: (gst_element_query_position),
22250 (gst_element_query_duration), (gst_pad_query_position),
22251 (gst_pad_query_duration):
22253 Updates for query API change.
22254 Added some docs here and there.
22256 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22258 * check/gst/gstbin.c: (GST_START_TEST):
22259 * check/gst/gstghostpad.c: (GST_START_TEST):
22260 * check/pipelines/cleanup.c: (GST_START_TEST):
22261 wait on thread to die so we can check refcount correctly
22263 2005-10-18 Wim Taymans <wim@fluendo.com>
22265 * check/pipelines/stress.c: (GST_START_TEST):
22266 Make check a little more time consuming.
22268 2005-10-18 Wim Taymans <wim@fluendo.com>
22270 * check/Makefile.am:
22271 * check/pipelines/stress.c: (GST_START_TEST),
22272 (simple_launch_lines_suite), (main):
22273 Small state change torture test.
22275 * docs/design/part-states.txt:
22276 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22277 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22278 (gst_base_sink_change_state):
22279 Never take state lock from streaming thread, clean up ugly
22280 hacks. Unfortunatly core does not yet support nice ways to
22281 async commit state.
22283 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22285 Start state recalc if a STATE_DIRTY message is posted, but only
22286 on the toplevel bin.
22288 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22289 (gst_element_get_state_func), (gst_element_abort_state),
22290 (gst_element_commit_state), (gst_element_lost_state),
22291 (gst_element_set_state_func), (gst_element_change_state):
22292 * gst/gstelement.h:
22293 State variables are now protected with the LOCK, the state
22294 lock is only used to serialize _set_state().
22296 2005-10-18 Wim Taymans <wim@fluendo.com>
22298 * check/gst/gstbin.c: (GST_START_TEST):
22299 * check/gst/gstmessage.c: (GST_START_TEST):
22300 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22301 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22303 * gst/gstelement.c: (gst_element_abort_state),
22304 (gst_element_commit_state), (gst_element_lost_state):
22305 * gst/gstmessage.c: (gst_message_new_state_changed),
22306 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22307 (gst_message_new_segment_done), (gst_message_new_duration),
22308 (gst_message_parse_state_changed),
22309 (gst_message_parse_segment_start),
22310 (gst_message_parse_segment_done), (gst_message_parse_duration):
22311 * gst/gstmessage.h:
22312 * tools/gst-launch.c: (event_loop):
22313 Seriously, this is better than a previous commit as we only need
22314 to notify the fact that an element changed state in a streaming
22315 thread, marking the state of the parents dirty, hence the
22316 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22319 2005-10-18 Wim Taymans <wim@fluendo.com>
22321 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22322 (gst_bin_recalc_func):
22323 * gst/gstelement.c: (gst_element_set_clock),
22324 (gst_element_abort_state), (gst_element_lost_state):
22325 Cleanups, prepare for state change fixes.
22327 2005-10-18 Wim Taymans <wim@fluendo.com>
22330 * gst/gstelement.c: (gst_element_class_init),
22331 (gst_element_set_state), (gst_element_set_state_func):
22332 * gst/gstelement.h:
22333 Pending ABI changes.
22334 GThreadPool in GstBinClass to monitor async state changes.
22335 state_cookie in GstElement to detect concurrent gst/set state.
22336 set_state is now virtual too in case a very complicated element
22337 has to be constructed.
22339 2005-10-18 Wim Taymans <wim@fluendo.com>
22341 * check/gst/gstbin.c: (GST_START_TEST):
22342 * check/gst/gstmessage.c: (GST_START_TEST):
22343 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22344 * gst/gstbin.c: (bin_bus_handler):
22345 * gst/gstelement.c: (gst_element_commit_state),
22346 (gst_element_lost_state):
22347 * gst/gstmessage.c: (gst_message_new_state_changed),
22348 (gst_message_new_segment_start), (gst_message_new_segment_done),
22349 (gst_message_new_duration), (gst_message_parse_state_changed),
22350 (gst_message_parse_segment_start),
22351 (gst_message_parse_segment_done), (gst_message_parse_duration):
22352 * gst/gstmessage.h:
22353 * tools/gst-launch.c: (event_loop):
22354 Make messages future proof.
22355 state-change gets a flag if it was a message comming from the
22357 segment-start/stop can also be specified in other formats.
22358 A message to notify an app that a pipeline changed playback
22360 Also fix a GstMessage leak in -launch
22362 2005-10-18 Andy Wingo <wingo@pobox.com>
22364 * gst/gstelement.c (gst_element_dispose): More helpful message.
22366 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22368 reviewed by: <delete if not using a buddy>
22370 * common/gtk-doc.mak:
22372 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22374 * gst/gstregistry.c: (gst_registry_scan_path_level):
22375 unref a plug-in we get that was already initialized
22377 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22379 * docs/gst/gstreamer-sections.txt:
22380 * docs/libs/gstreamer-libs-sections.txt:
22381 * gst/gstelement.h:
22382 add new api entries
22383 hide internal macro
22385 2005-10-17 Andy Wingo <wingo@pobox.com>
22387 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22390 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22392 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22394 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22395 (gst_element_get_state_func): Better debug message.
22396 (gst_element_commit_state): s/INFO/DEBUG/.
22397 (gst_element_lost_state, gst_element_change_state):
22399 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22400 (gst_message_new_custom): s/INFO/LOG/.
22402 2005-10-17 Michael Smith <msmith@fluendo.com>
22404 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22405 Check if end time is valid using end time, not start time.
22407 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22409 * check/gst-libs/controller.c: (GST_START_TEST),
22410 (gst_controller_suite):
22411 * libs/gst/controller/gstcontroller.c:
22412 (gst_controlled_property_set_interpolation_mode):
22413 * libs/gst/controller/gstcontroller.h:
22414 * libs/gst/controller/gstinterpolation.c:
22415 * testsuite/controller/.cvsignore:
22416 * testsuite/controller/Makefile.am:
22417 * testsuite/controller/interpolator.c:
22418 merge controller testsuites
22420 remove mem-chunk from docs
22422 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22424 * gst/gstmemchunk.c:
22425 * gst/gstmemchunk.h:
22426 * gst/gsttrashstack.c:
22427 * gst/gsttrashstack.h:
22428 out. get out. you're fired. to the Attic !
22430 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22432 * gst/gstcaps.c: (gst_caps_intersect):
22433 fix signedness issues in a (hopefully) correct way
22434 * gst/gstelement.c: (gst_element_pads_activate):
22436 * gst/gstobject.c: (gst_object_set_parent):
22439 2005-10-17 Julien MOUTTE <julien@moutte.net>
22441 * gst/gstvalue.h: Fix prototypes.
22443 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22445 * docs/gst/gstreamer-sections.txt:
22446 * gst/gst.c: (gst_version_string):
22448 * gst/gstversion.h.in:
22449 * win32/common/libgstreamer.def:
22450 add gst_version_string ()
22452 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22456 * gst/gst.c: (init_post):
22457 * win32/common/config.h.in:
22459 * gst/gstcaps.c: (gst_caps_intersect):
22460 use gint64, the range could be bigger than a guint
22462 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22465 document potential problem in 2038
22467 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22469 * gst/gstcaps.c: (gst_caps_intersect):
22470 Fix guint j diving under 0
22472 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22475 * win32/common/config.h:
22476 * win32/common/config.h.in:
22477 check for process.h, declares getpid() on Windows
22479 include process.h if we have it
22480 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22481 * gst/gstmemchunk.h:
22482 fix signedness issues
22483 * win32/common/libgstreamer.def:
22486 2005-10-16 Julien MOUTTE <julien@moutte.net>
22488 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22489 fix. Because of unsigned ints, caps intersection was going nuts and
22490 trying to access structures with G_MAXUINT index. That fixes
22491 videotestsrc ! ffmpegcolorspace ! fakesink
22492 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22495 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22498 use the gettext macro
22499 * gst/elements/gstelements.c:
22501 * gst/indexers/gstindexers.c:
22502 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22503 * win32/common/config.h:
22505 * win32/common/config.h.in:
22506 add the template to generate config.h
22507 * win32/common/gstenumtypes.c:
22508 * win32/common/gstversion.h:
22511 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22513 * gst/gst.c: (gst_version):
22514 * gst/gstversion.h.in:
22517 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22520 Oops, add missing closing bracket.
22522 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22525 use common m4's for argument checking
22527 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22529 * docs/gst/gstreamer-sections.txt:
22531 Add GST_EVENT_TYPE_NAME() macro.
22533 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22536 * gst/gstpluginfeature.c:
22538 privatize more symbols
22540 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22543 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22544 everything that uses GStreamer API should have the includes
22546 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22548 * docs/gst/gstreamer-sections.txt:
22549 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22551 give each value a _get_type, removes the DATA exports
22553 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22557 remove _gst_registry_auto_load, not used anymore
22558 * gst/gstbin.c: (gst_bin_get_type):
22560 * gst/gstelement.c: (gst_element_get_type):
22561 * gst/gstelement.h:
22562 * gst/gstobject.c: (gst_object_get_type):
22564 * gst/gstpad.c: (gst_pad_get_type):
22566 make _get_type functions similar, fixes data export from library
22568 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22571 correctly make conditionals
22572 * gst/elements/Makefile.am:
22573 * gst/elements/gstelements.c:
22574 fix typo causing fdsrc not to build
22576 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22578 * testsuite/Makefile.am:
22579 * testsuite/bytestream/.cvsignore:
22580 * testsuite/bytestream/Makefile.am:
22581 * testsuite/bytestream/filepadsink.c:
22582 * testsuite/bytestream/gstbstest.c:
22583 * testsuite/bytestream/test1.c:
22584 * testsuite/bytestream/testfile1:
22585 * testsuite/caps/normalisation.c:
22586 * testsuite/caps/random.c: (main):
22587 * testsuite/cleanup/.cvsignore:
22588 * testsuite/cleanup/Makefile.am:
22589 * testsuite/cleanup/cleanup1.c:
22590 * testsuite/cleanup/cleanup2.c:
22591 * testsuite/cleanup/cleanup3.c:
22592 * testsuite/cleanup/cleanup4.c:
22593 * testsuite/cleanup/cleanup5.c:
22594 * testsuite/controller/interpolator.c:
22595 * testsuite/debug/printf_extension.c: (main):
22596 * testsuite/elements/tee.c:
22597 * testsuite/negotiation/.cvsignore:
22598 * testsuite/negotiation/Makefile.am:
22599 * testsuite/negotiation/pad_link.c:
22600 * testsuite/pad/Makefile.am:
22601 * testsuite/pad/chainnopull.c:
22602 * testsuite/pad/getnopush.c:
22603 * testsuite/pad/link.c:
22604 * testsuite/refcounting/sched.c: (create_pipeline):
22605 * testsuite/registry/Makefile.am:
22606 * testsuite/registry/gst-print-formats.c:
22607 * testsuite/schedulers/.cvsignore:
22608 * testsuite/schedulers/142183-2.c:
22609 * testsuite/schedulers/142183.c:
22610 * testsuite/schedulers/143777-2.c:
22611 * testsuite/schedulers/143777.c:
22612 * testsuite/schedulers/147713.c:
22613 * testsuite/schedulers/147819.c:
22614 * testsuite/schedulers/147894-2.c:
22615 * testsuite/schedulers/147894.c:
22616 * testsuite/schedulers/Makefile.am:
22617 * testsuite/schedulers/group_link.c:
22618 * testsuite/schedulers/queue_link.c:
22619 * testsuite/schedulers/relink.c:
22620 * testsuite/schedulers/unlink.c:
22621 * testsuite/schedulers/unref.c:
22622 * testsuite/schedulers/useless_iteration.c:
22623 * testsuite/states/bin.c:
22624 clean out/remove some stuff from the testsuite directories
22626 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22629 check for some headers
22630 * gst/elements/Makefile.am:
22631 * gst/elements/gstelements.c:
22632 don't compile fdsrc without sys/socket.h
22633 * gst/indexers/Makefile.am:
22634 * gst/indexers/gstindexers.c: (plugin_init):
22635 don't compile fileindex without mmap
22637 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22644 * check/Makefile.am:
22645 * docs/gst/Makefile.am:
22646 * examples/helloworld/Makefile.am:
22648 * gst/base/Makefile.am:
22649 * gst/check/Makefile.am:
22650 * gst/elements/Makefile.am:
22651 * gst/indexers/Makefile.am:
22652 * gst/parse/Makefile.am:
22653 * libs/gst/controller/Makefile.am:
22654 * libs/gst/dataprotocol/Makefile.am:
22655 * examples/helloworld/helloworld.c: (event_loop):
22656 compile fixes, though it's not being compiled currently
22658 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22660 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22661 Add some simple tests for the new taglist date API.
22663 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22665 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22666 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22667 Beautify 'last-message' output: print 'none' for buffer timestamps
22668 and durations if none is set; improve alignment with next messages.
22670 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22672 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22673 * gst/gstpluginfeature.h:
22674 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22675 * gst/gstregistry.h:
22676 * docs/gst/gstreamer-sections.txt:
22677 Add new API to check plugin feature version requirements.
22679 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22680 Some basic tests for the above.
22682 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22684 * gst/gststructure.c: (gst_structure_to_string):
22685 guard against NULL printf - happens when for example
22686 a message structure with GstClock gets serialized
22688 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22690 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22691 Fix presumable copy'n'pasto.
22693 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22695 * gst/elements/gstfakesrc.h:
22696 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22697 * gst/elements/gsttypefindelement.c:
22698 fix some signedness
22699 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22700 I wonder if this could actually write +2GB files before
22702 2005-10-13 Andy Wingo <wingo@pobox.com>
22704 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22705 Fix Timmeke Waymans bug.
22706 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22707 string of the proper length to gst_caps_from_string. There's a
22708 potential for, before this fix, that this could cause someone
22709 connecting over the network to cause a segfault if the payload is
22710 not NUL-terminated.
22712 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22714 * docs/design/draft-push-pull.txt:
22715 * docs/design/part-overview.txt:
22716 * docs/random/TODO-pre-0.9:
22717 * docs/random/old/ChangeLog.gstreamer:
22718 * gst/base/gstpushsrc.c:
22722 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22724 * gst/glib-compat.c: (gst_flags_get_first_value):
22725 * gst/glib-compat.h:
22726 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22727 (gst_value_compare_double), (gst_value_serialize_flags):
22728 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22731 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22734 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22736 * tools/gst-launch.c: (event_loop):
22737 print out clock nicely
22739 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22741 * docs/gst/gstreamer-sections.txt:
22742 * gst/gsttaglist.h:
22743 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22744 (gst_tag_list_get_date_index):
22745 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22746 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22748 2005-10-13 Julien MOUTTE <julien@moutte.net>
22750 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22751 (gst_collectpads_chain):
22752 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22755 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22757 * docs/gst/gstreamer-sections.txt:
22760 * tools/gst-inspect.c: (main):
22761 * tools/gst-launch.c: (main):
22762 * tools/gst-run.c: (main):
22763 * tools/gst-xmlinspect.c: (main):
22764 fix GOption context leaks
22767 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22771 * win32/common/config.h:
22773 * win32/vs6/grammar.dsp:
22774 * win32/vs6/libgstelements.dsp:
22775 * win32/vs6/libgstreamer.dsp:
22778 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22780 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22781 * gst/base/gstbasesrc.c: (gst_base_src_query):
22782 fix more guint64<->gdouble conversions
22784 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22787 add win32-update target
22788 * win32/common/gstconfig.h:
22789 * win32/common/gstenumtypes.c:
22790 * win32/common/gstenumtypes.h:
22791 * win32/common/gstversion.h:
22792 add files that visual studio can't generate
22794 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22797 add a win32-update target
22800 2005-10-12 Wim Taymans <wim@fluendo.com>
22802 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22803 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22804 * gst/gstelement.c: (gst_element_commit_state),
22805 (gst_element_set_state):
22806 Protect flags with proper lock.
22807 unref provided cached clock in dispose.
22809 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22812 * gst/gstminiobject.h:
22814 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22815 removed unused flags from miniobject
22818 2005-10-12 Wim Taymans <wim@fluendo.com>
22820 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22821 (gst_file_sink_event), (gst_file_sink_render):
22822 Flush before seeking.
22824 2005-10-12 Andy Wingo <wingo@pobox.com>
22826 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22827 always been the case.
22829 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22831 * check/gst/gstbin.c: (GST_START_TEST):
22832 * docs/gst/gstreamer-sections.txt:
22833 * gst/base/gstbasesink.c: (gst_base_sink_init):
22834 * gst/base/gstbasesrc.c: (gst_base_src_init),
22835 (gst_base_src_get_range), (gst_base_src_check_get_range),
22836 (gst_base_src_start), (gst_base_src_stop):
22837 * gst/base/gstbasesrc.h:
22838 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22839 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22840 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22844 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22846 * gst/gstelement.c: (gst_element_is_locked_state),
22847 (gst_element_set_locked_state), (gst_element_commit_state),
22848 (gst_element_set_state):
22849 * gst/gstelement.h:
22850 * gst/gstindex.c: (gst_index_init):
22852 * gst/gstminiobject.h:
22853 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22854 (gst_object_set_parent):
22856 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22857 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22859 * gst/gstpadtemplate.h:
22860 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22861 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22862 * gst/gstpipeline.h:
22863 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22864 (gst_file_index_commit):
22865 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22866 * testsuite/pad/link.c: (gst_test_src_init),
22867 (gst_test_filter_init), (gst_test_sink_init):
22868 * testsuite/states/locked.c: (main):
22869 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22870 moved bitshift from macro to enum definition
22872 2005-10-12 Wim Taymans <wim@fluendo.com>
22874 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22875 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22876 (gst_file_sink_render):
22877 Some more debugging info.
22879 2005-10-12 Wim Taymans <wim@fluendo.com>
22881 * docs/design/part-states.txt:
22882 * tools/gst-launch.c: (main):
22884 Revert non-intentional change.
22886 2005-10-12 Wim Taymans <wim@fluendo.com>
22888 * check/gst/gstbin.c: (GST_START_TEST):
22889 * check/gst/gstelement.c: (GST_START_TEST):
22890 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22891 * check/gst/gstghostpad.c: (GST_START_TEST):
22892 * check/gst/gstpipeline.c: (GST_START_TEST):
22893 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22894 * check/states/sinks.c: (GST_START_TEST):
22895 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22896 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22897 (gst_bin_remove_func), (gst_bin_get_state_func),
22898 (gst_bin_recalc_state), (gst_bin_change_state_func),
22900 * gst/gstelement.c: (gst_element_get_state_func),
22901 (gst_element_get_state), (gst_element_abort_state),
22902 (gst_element_commit_state), (gst_element_set_state),
22903 (gst_element_change_state), (gst_element_change_state_func):
22904 * gst/gstelement.h:
22905 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22906 (gst_pipeline_provide_clock_func):
22907 * gst/gstutils.c: (gst_element_link_pads_filtered):
22908 * tools/gst-launch.c: (main):
22909 * tools/gst-typefind.c: (main):
22910 Use GstClockTime in _get_state() instead of GTimeVal.
22911 Remove old code in gstutils.c
22913 2005-10-12 Andy Wingo <wingo@pobox.com>
22915 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22918 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22919 there is no task. Shouldn't affect any code, as nothing in our
22920 plugins checks this return value.
22921 (gst_pad_stop_task): Also take the stream lock if the pad has no
22922 task. Docs updated.
22924 2005-10-12 Wim Taymans <wim@fluendo.com>
22926 * gst/gstpad.c: (pre_activate), (post_activate),
22927 (gst_pad_activate_pull), (gst_pad_activate_push):
22928 Cleanup activation code. Reset old state if
22931 2005-10-12 Wim Taymans <wim@fluendo.com>
22933 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22934 (gst_base_sink_change_state):
22935 No need to prerol after receiving EOS.
22937 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22938 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22939 * gst/elements/gstidentity.c: (gst_identity_event):
22940 Print events more verbosely.
22942 2005-10-12 Wim Taymans <wim@fluendo.com>
22944 * check/Makefile.am:
22945 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22946 * check/states/sinks2.c:
22947 Moved sinks2 testcode in sinks check.
22949 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22950 (gst_bin_remove_func), (gst_bin_recalc_state),
22951 (gst_bin_change_state_func), (bin_bus_handler):
22952 Fix potential race condition when _get_state() iterated over an
22953 ASYNC element right before it posted a state completion.
22956 Do proper cast here.
22958 * gst/gstevent.c: (gst_event_new_newsegment),
22959 (gst_event_parse_newsegment):
22960 A playback rate of 0.0 is not allowed.
22962 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22964 * win32/common/config.h:
22965 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22966 (_trewinddir), (_ttelldir), (_tseekdir):
22967 * win32/common/dirent.h:
22968 * win32/common/gtchar.h:
22969 * win32/common/libgstbase.def:
22970 * win32/common/libgstreamer.def:
22971 * win32/vs6/grammar.dsp:
22972 * win32/vs6/gst_inspect.dsp:
22973 * win32/vs6/gst_launch.dsp:
22974 * win32/vs6/gstreamer.dsw:
22975 * win32/vs6/libgstbase.dsp:
22976 * win32/vs6/libgstelements.dsp:
22977 * win32/vs6/libgstreamer.dsp:
22978 Visual Studio 6 project files, and a new common directory.
22981 2005-10-11 Wim Taymans <wim@fluendo.com>
22983 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22984 (gst_base_sink_do_sync), (gst_base_sink_query),
22985 (gst_base_sink_change_state):
22986 * gst/base/gstbasesink.h:
22987 Correctly parse newsegment info.
22989 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22991 * gst/gst.c: (init_post):
22992 split plugin paths correctly
22994 2005-10-11 Wim Taymans <wim@fluendo.com>
22996 * check/gst/gstevent.c: (GST_START_TEST):
22997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22998 (gst_base_sink_change_state):
22999 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23000 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23001 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23002 * gst/gstevent.c: (gst_event_new_newsegment),
23003 (gst_event_parse_newsegment):
23005 Added extra flag to newsegment for future API freeze.
23006 Updated check and base elements.
23008 2005-10-11 Julien MOUTTE <julien@moutte.net>
23010 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23011 (gst_collectpads_add_pad), (gst_collectpads_pop),
23012 (gst_collectpads_event), (gst_collectpads_chain):
23013 * gst/base/gstcollectpads.h: Handle EOS correctly.
23015 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23017 * tools/gst-launch.c: (main):
23018 more null protecting
23020 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23022 * gst/gst-i18n-lib.h:
23023 check for ENABLE_NLS, not GETTEXT_PACKAGE
23024 * gst/gstregistry.c: (gst_registry_add_plugin),
23025 (gst_registry_scan_path_level),
23026 (_gst_registry_remove_cache_plugins):
23027 protect possibly NULL strings
23028 * gst/parse/types.h:
23029 config.h already included before
23030 * tools/gst-inspect.c: (main):
23031 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23032 check for ENABLE_NLS, not GETTEXT_PACKAGE
23033 * tools/gst-launch.c: (main):
23034 check for ENABLE_NLS, not GETTEXT_PACKAGE
23036 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23039 if we don't have glib, fail before testing 2.8
23040 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23041 fix a leak, should fix plugins-base testsuite
23043 2005-10-11 Andy Wingo <wingo@pobox.com>
23045 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23046 take the mode we're going to as an arg. Go head and set the mode
23047 and flushing flags now, so that if the activate function starts a
23048 thread all the flags will be in the right state.
23049 (post_activate): Renamed also. Just handle making sure streaming
23050 finishes for the deactivation case, and setting the deactivated
23052 (gst_pad_set_active): Complain loudly if deactivation fails.
23053 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23054 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23055 remove the terrible hack.
23057 2005-10-11 Wim Taymans <wim@fluendo.com>
23059 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23060 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23061 (gst_bin_recalc_state), (gst_bin_change_state_func),
23062 (gst_bin_dispose), (bin_bus_handler):
23064 Prepare to make current EOS message queue more generic.
23067 * gst/gstevent.c: (gst_event_new_newsegment),
23068 (gst_event_parse_newsegment):
23070 Rename base to stream_time.
23072 * gst/gstmessage.h:
23075 2005-10-11 Wim Taymans <wim@fluendo.com>
23077 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23078 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23079 (gst_bin_change_state_func), (bin_bus_handler):
23081 Work on proper clock selection.
23083 2005-10-11 Edward Hervey <edward@fluendo.com>
23085 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23086 * libs/gst/controller/gstcontroller.h:
23087 Added GList* version of _remove_properties() in order to be able to wrap
23090 2005-10-11 Wim Taymans <wim@fluendo.com>
23092 * docs/design/part-states.txt:
23095 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23096 (gst_bin_change_state_func), (bin_bus_handler):
23097 Doc updates. Don't distribute the same clock over and over again.
23103 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23104 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23105 (gst_pad_send_event):
23107 Make probe emission threadsafe again.
23108 Register quarks and move _get_name() from utils.
23111 * gst/gstpipeline.c: (gst_pipeline_class_init),
23112 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23113 Only redistribute the clock of it changed.
23115 * gst/gstsystemclock.h:
23120 Moved the _flow_get_name() to GstPad.
23122 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23124 * check/gst-libs/gdp.c: (GST_START_TEST):
23125 * check/gst/gstcaps.c: (GST_START_TEST):
23126 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23127 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23128 (gst_dp_packet_from_caps):
23129 fix more valgrind warnings before turning up the heat
23131 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23133 * gst/parse/grammar.y:
23134 some cleanup before the hacking
23136 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23138 * gst/base/gstbasesrc.c: (gst_base_src_query):
23140 * gst/gstutils.c: (gst_guint64_to_gdouble),
23141 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23143 externalize, basesrc uses it
23144 obviously the implementation needs testing
23146 2005-10-10 Wim Taymans <wim@fluendo.com>
23148 * tests/sched/Makefile.am:
23149 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23150 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23152 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23154 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23155 apparently converting from guint64 to double is not implemented
23158 2005-10-10 Wim Taymans <wim@fluendo.com>
23160 * check/Makefile.am:
23161 * check/generic/states.c: (GST_START_TEST):
23162 * check/gst/gstbin.c: (GST_START_TEST):
23163 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23164 * check/states/sinks.c: (GST_START_TEST):
23165 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23167 Check fixes, use API as stated in design docs, remove hacks.
23169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23170 (gst_base_sink_change_state):
23171 Catch stopping our task while we're shutting down.
23173 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23174 (gst_bin_remove_func), (gst_bin_get_state_func),
23175 (gst_bin_recalc_state), (gst_bin_change_state_func),
23178 * gst/gstelement.c: (gst_element_init),
23179 (gst_element_get_state_func), (gst_element_abort_state),
23180 (gst_element_commit_state), (gst_element_lost_state),
23181 (gst_element_set_state), (gst_element_change_state),
23182 (gst_element_change_state_func):
23183 * gst/gstelement.h:
23184 New state change algorithm (see #318116)
23186 * gst/gstpipeline.c: (gst_pipeline_class_init),
23187 (gst_pipeline_init), (gst_pipeline_set_property),
23188 (gst_pipeline_get_property), (do_pipeline_seek),
23189 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23190 * gst/gstpipeline.h:
23191 Remove crude state change hacks.
23194 Remove crude hacks.
23196 * tools/gst-launch.c: (main):
23197 Fixes for state change. Needs some more work to fully use the
23200 2005-10-10 Andy Wingo <wingo@pobox.com>
23202 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23204 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23205 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23208 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23210 * gst/gstiterator.c: (gst_iterator_new):
23211 Fix my previous commit: GTypes passed to gst_iterator_new()
23212 can be fundamental types.
23214 2005-10-10 Wim Taymans <wim@fluendo.com>
23216 * gst/gstelement.c: (gst_element_iterate_pad_list),
23217 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23218 (gst_element_iterate_sink_pads):
23219 Use src/sink pads lists for the respective iterators instead
23222 2005-10-10 Andy Wingo <wingo@pobox.com>
23224 Merged in popt removal + GOption addition patch from Ronald, bug
23227 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23228 GstElement macros around, remove popt-related symbols, add goption
23231 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23233 * docs/gst/Makefile.am:
23234 * docs/libs/Makefile.am: No POPT_CFLAGS.
23236 * examples/manual/Makefile.am:
23237 * docs/manual/basics-init.xml: Doc updates with an example.
23239 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23240 (gst_init), (parse_one_option), (parse_goption_arg):
23241 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23242 bit of hand merging and debugging to get the GOption stuff working
23245 * tests/Makefile.am:
23246 * tools/Makefile.am:
23247 * tools/gst-inspect.c: (main):
23248 * tools/gst-launch.c: (main):
23249 * tools/gst-run.c: (main):
23250 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23252 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23254 * gst/gstiterator.c: (gst_iterator_new):
23255 Add assertions to make sure passed GType is likely to really
23256 be a GType (as the compiler won't catch it if the size and
23257 GType arguments get mixed up, see #318447).
23259 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23261 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23263 * gst/gstbin.c: (gst_bin_iterate_sorted):
23264 Pass GType and size arguments to gst_iterator_new() in the right
23265 order (maybe we should make _new() take the GType as first argument
23266 just like _new_list()?) (#318447).
23269 2005-10-10 Wim Taymans <wim@fluendo.com>
23271 * gst/gstelement.c: (gst_element_finalize):
23272 And free the GStaticRecMutex too
23274 2005-10-10 Andy Wingo <wingo@pobox.com>
23276 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23277 Allocate and free the mutex properly.
23279 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23281 (GstElement): The state_lock is now recursive. Rebuild your
23282 plugins, suckers. Old macros adapted.
23284 * docs/gst/gstreamer-sections.txt: Doc updates.
23287 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23288 (g_static_rec_cond_wait): Ported from state changes patch, while
23289 we wait on bug #317802 to be solved in a well-distributed GLib.
23291 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23292 gst_element_change_state, variable name changes.
23293 (gst_element_change_state): Split out of gst_element_set_state in
23294 preparation for the state change merge. Doesn't pay attention to
23295 the 'transition' argument.
23296 (gst_element_set_state): Updates, hopefully purely cosmetic.
23297 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23298 state change patch.
23299 (gst_element_get_state_func): Renamed from get_state, cosmetic
23302 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23304 * gst/elements/gstelements.c:
23305 * win32/GStreamer.vcproj:
23307 * win32/dirent.c: (_tseekdir):
23308 * win32/gst-inspect.vcproj:
23309 * win32/gst-launch.vcproj:
23310 * win32/gstconfig.h:
23311 * win32/gstelements.vcproj:
23312 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23313 * win32/gstreamer.def:
23314 * win32/msvc71.sln:
23315 updates for the win32 build (patch from Sebastien Moutte)
23317 2005-10-10 Andy Wingo <wingo@pobox.com>
23319 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23320 gst_bin_get_state, cleaned up (but no logic changes).
23321 (bin_element_is_sink): Comment updates.
23322 (sink_iterator_filter): Remove needless cast.
23323 (gst_bin_iterate_sinks): Doc update.
23324 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23325 cleaned up (but no logic changes).
23327 * check/states/sinks.c (test_src_sink): Cleanups from the state
23329 (test_livesrc_sink): Sync on the state.
23331 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23332 the state change patch.
23334 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23337 * check/gst/gstbin.c: Merge in some style fixes and additional
23338 checks from Wim's state change patch.
23340 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23342 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23343 (gst_type_find_helper):
23344 Check whether we have the requested data already in our list of
23345 cached buffers before pulling a new buffer; also make the buffer
23346 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23348 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23353 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23354 don't use long long, it's not portable. Replacing with
23355 gint64 seems to work; let's hope no skeletons fall out of the closet.
23357 2005-10-10 Andy Wingo <wingo@pobox.com>
23359 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23361 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23363 * docs/gst/gstreamer-sections.txt:
23368 * gst/gstmessage.c: (gst_message_parse_state_changed):
23371 more docs, fix compilation
23373 2005-10-09 Philippe Khalaf <burger@speedy.org>
23374 * gst/gstmessage.c:
23375 Fixed a few forgotten variables on previous commit
23377 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23379 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23380 Fix evil typefind crasher: getrange() might return a short
23381 buffer at the end of a file, but gst_type_find_peek() must
23382 either return the full data as requested or NULL, but
23383 never a short buffer.
23385 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23387 * gst/gstmessage.c: (gst_message_new_state_changed),
23388 (gst_message_parse_state_changed):
23389 * gst/gstmessage.h:
23390 don't use "new", it's a C++ keyword
23392 2005-10-08 Wim Taymans <wim@fluendo.com>
23394 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23395 * gst/gstelement.c: (gst_element_post_message):
23396 * gst/gstpipeline.c: (gst_pipeline_change_state):
23397 Small docs and debug updates.
23399 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23401 * docs/gst/gstreamer-sections.txt:
23402 * gst/gstelementfactory.c:
23404 * gst/gsttaglist.c:
23407 2005-10-08 Wim Taymans <wim@fluendo.com>
23409 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23410 (gst_bin_dispose), (bin_bus_handler):
23411 Fix typos, add comments.
23412 Clear EOS list when going to PAUSED from any direction and do it
23413 in a threadsafe way.
23414 Get base time in a threadsafe way too.
23415 Fix confusing debug in the change_state function.
23416 Various other small cleanups.
23418 * gst/gstelement.c: (gst_element_post_message):
23419 Fix very verbose bus posting code.
23421 * gst/gstpipeline.c: (gst_pipeline_class_init),
23422 (gst_pipeline_set_property), (gst_pipeline_get_property),
23423 (gst_pipeline_change_state):
23424 Small ARG_ -> PROP_ cleanup
23426 2005-10-08 Wim Taymans <wim@fluendo.com>
23428 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23429 Do a less CPU demanding EOS check because we can.
23431 2005-10-08 Wim Taymans <wim@fluendo.com>
23433 * libs/gst/dataprotocol/dataprotocol.c:
23434 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23435 (gst_dp_packet_from_event):
23436 * libs/gst/dataprotocol/dataprotocol.h:
23437 * libs/gst/dataprotocol/dp-private.h:
23438 It's about time we bump the version number.
23439 Since event types don't fit in the guint8 anymore describing
23440 the payload type, make payload type 16 bits wide.
23442 2005-10-08 Wim Taymans <wim@fluendo.com>
23444 * docs/design/part-TODO.txt:
23445 * docs/design/part-clocks.txt:
23446 * docs/design/part-events.txt:
23447 * docs/design/part-gstbin.txt:
23448 * docs/design/part-gstelement.txt:
23449 * docs/design/part-gstpipeline.txt:
23450 * docs/design/part-live-source.txt:
23451 * docs/design/part-messages.txt:
23452 * docs/design/part-overview.txt:
23453 * docs/design/part-states.txt:
23456 2005-10-08 Wim Taymans <wim@fluendo.com>
23460 Fix event quark registration.
23461 Add some space between events so we can insert them in the
23464 2005-10-08 Wim Taymans <wim@fluendo.com>
23466 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23467 (gst_base_sink_handle_buffer):
23468 Better log message.
23471 * gst/gstelement.h:
23474 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23475 (gst_queue_set_property), (gst_queue_get_property):
23477 Remove old unused properties.
23479 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23480 * docs/gst/gstreamer-sections.txt:
23481 * gst/gstmessage.c:
23482 * gst/gstmessage.h:
23483 * gst/gstminiobject.c:
23484 * gst/gstminiobject.h:
23488 lots of new docs and doc fixes
23490 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23492 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23494 * gst/gstregistry.c: (gst_registry_lookup_locked),
23495 (gst_registry_scan_path_level):
23496 * gst/gstregistryxml.c: (load_plugin):
23497 Only ever load one plugin for a given plugin basename.
23498 This ensures correct overriding of GST_PLUGIN_PATH over
23499 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23500 system installed plugins.
23502 2005-10-08 Wim Taymans <wim@fluendo.com>
23504 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23505 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23506 Prepare for doing QOS.
23508 2005-10-08 Wim Taymans <wim@fluendo.com>
23510 * check/gst/gstbin.c: (GST_START_TEST):
23511 * check/pipelines/cleanup.c: (GST_START_TEST):
23512 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23513 Allow new clock message too.
23515 2005-10-08 Wim Taymans <wim@fluendo.com>
23517 * gst/gstmessage.c: (gst_message_new_error),
23518 (gst_message_new_warning), (gst_message_new_tag),
23519 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23520 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23521 (gst_message_new_segment_start), (gst_message_new_segment_done),
23522 (gst_message_parse_state_changed),
23523 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23524 (gst_message_parse_new_clock):
23525 * gst/gstmessage.h:
23526 Also carry the clock in question.
23528 2005-10-08 Wim Taymans <wim@fluendo.com>
23530 * gst/gstmessage.c: (gst_message_new_custom),
23531 (gst_message_new_eos), (gst_message_new_error),
23532 (gst_message_new_warning), (gst_message_new_tag),
23533 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23534 (gst_message_new_new_clock), (gst_message_new_segment_start),
23535 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23536 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23537 * gst/gstmessage.h:
23539 Added clock related messages.
23541 * gst/gstpipeline.c: (gst_pipeline_change_state):
23542 Post message when the clock changed.
23544 * tools/gst-launch.c: (event_loop):
23547 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23549 * tools/gst-inspect.c: (print_element_properties_info):
23550 Can't pass NULL strings to g_print() on windows.
23552 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23554 * docs/Makefile.am:
23555 * docs/gst/Makefile.am:
23556 * docs/gst/gstreamer-docs.sgml:
23557 * docs/gst/running.xml:
23558 * docs/version.entities.in:
23559 add a chapter on running GStreamer.
23560 document GST_DEBUG and GST_PLUGIN* env vars
23562 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23567 remove PLUGINS_BUILDDIR stuff
23568 * gst/gst.c: (init_post):
23569 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23571 remove, it was condescending and not needed
23573 2005-10-08 Wim Taymans <wim@fluendo.com>
23575 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23576 (gst_base_sink_handle_object), (gst_base_sink_event),
23577 (gst_base_sink_wait), (gst_base_sink_handle_event),
23578 (gst_base_sink_change_state):
23579 * gst/base/gstbasesink.h:
23580 Repost EOS message while going to PLAYING if still EOS.
23581 Make sure that when receiving a FLUSH_START we don't attempt
23582 to sync on the clock anymore.
23584 2005-10-08 Wim Taymans <wim@fluendo.com>
23586 * tools/gst-launch.c: (event_loop):
23587 Better message printout.
23589 2005-10-08 Wim Taymans <wim@fluendo.com>
23591 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23592 (gst_bin_child_proxy_get_children_count):
23593 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23594 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23595 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23596 (gst_child_proxy_set_valist):
23597 * gst/parse/grammar.y:
23598 Make ChildProxy threadsafe and fix mem leaks.
23600 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23602 * gst/gst.c: (init_post):
23603 debug the GST_PLUGIN_ env vars
23605 2005-10-08 Wim Taymans <wim@fluendo.com>
23607 * check/gst/gstbin.c: (GST_START_TEST):
23608 * check/gst/gstmessage.c: (GST_START_TEST):
23609 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23610 * gst/gstelement.c: (gst_element_commit_state),
23611 (gst_element_lost_state):
23612 * gst/gstmessage.c: (gst_message_new_state_changed),
23613 (gst_message_parse_state_changed):
23614 * gst/gstmessage.h:
23615 * tools/gst-launch.c: (event_loop):
23616 Added extra field to STATE_CHANGE message with the pending
23617 state, which will be different from the new state soon.
23619 2005-10-08 Wim Taymans <wim@fluendo.com>
23621 * gst/gstbus.c: (gst_bus_pop):
23623 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23624 Small cleanups and doc updates.
23626 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23628 * gst/gst.c: (init_pre):
23629 * gst/gstbin.c: (gst_bin_add_func):
23630 log distributing clocks and base time
23631 * gst/gstregistry.c: (gst_registry_add_plugin),
23632 (gst_registry_scan_path_level), (gst_registry_scan_path):
23633 clean up the debugging output a little
23634 * gst/gstutils.c: (gst_element_state_get_name):
23635 warn about a memleak (I've actually seen this be used, though
23636 it was probably a bug)
23638 2005-10-07 Wim Taymans <wim@fluendo.com>
23640 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23641 (gst_base_src_init), (gst_base_src_default_newsegment),
23642 (gst_base_src_newsegment), (gst_base_src_do_seek),
23643 (gst_base_src_loop), (gst_base_src_start):
23644 * gst/base/gstbasesrc.h:
23645 Make the newsegment event customizable by subclasses.
23647 2005-10-07 Wim Taymans <wim@fluendo.com>
23649 * gst/gstevent.c: (gst_event_new_buffersize),
23650 (gst_event_parse_buffersize):
23652 New event for future idea.
23654 2005-10-07 Andy Wingo <wingo@pobox.com>
23656 * gst/gstelement.c (gst_element_post_message): Doc update.
23658 * docs/gst/gstreamer-sections.txt: Update.
23660 * gst/gstmessage.c (gst_message_new_application): Made into a
23661 function like honest API calls.
23662 (gst_message_new_element): New message type.
23664 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23666 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23667 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23670 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23671 NO_PREROLL from gst_element_change_state to fall through.
23673 2005-10-07 Wim Taymans <wim@fluendo.com>
23675 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23676 (gst_ghost_pad_do_activate_push):
23677 Activating a ghostpad with no internal pad in push mode
23680 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23683 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23684 Fixes compilation on Windows.
23686 2005-10-07 Michael Smith <msmith@fluendo.com>
23688 * tools/gst-inspect.c:
23689 Print out feature and plugin count at the end when printing out
23692 2005-10-04 Michael Smith <msmith@fluendo.com>
23694 * gst/gsterror.c: (_gst_stream_errors_init):
23695 Add another error string used in a few existing plugins.
23698 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23699 * tools/gst-inspect.c: (print_element_info):
23700 When a feature disappears from a plugin (and the feature exists in
23701 the cached registry file), things went horribly wrong. This isn't a
23702 complete fix, we should actually be removing the 'missing' features
23703 from the features list when we load the actual plugin. That's not
23706 2005-10-04 Johan Dahlin <johan@gnome.org>
23708 * check/gst/gstiterator.c: (GST_START_TEST):
23709 * gst/gstbin.c: (gst_bin_iterate_elements),
23710 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23711 * gst/gstelement.c: (gst_element_iterate_pads):
23712 * gst/gstformat.c: (gst_format_iterate_definitions):
23713 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23714 (gst_iterator_new_list), (gst_iterator_filter):
23715 * gst/gstiterator.h:
23716 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23717 Add a GType to GstIterator, update callsites and tests.
23719 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23721 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23722 give events a chance to be handled by event probes when the pad
23725 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23727 * gst/gstevent.c: (gst_event_type_get_name),
23728 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23730 add string representations for event types
23732 2005-10-06 Wim Taymans <wim@fluendo.com>
23734 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23735 Don't use NULL pointers.
23737 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23739 * gst/gst_private.h:
23741 * gst/gstelement.c:
23743 * gst/gstpluginfeature.c:
23744 widen the debug category in output to fit the biggest one we have
23745 add a bus category and use it
23746 play with the colors
23747 fix up some categories
23749 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23751 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23752 add push activation of sink ghost pads.
23753 Andye, please verify
23755 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23757 * gst/gstutils.c: (gst_element_link_pads):
23758 fix a bug in the case where neither element has a pad
23759 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23760 add a test for that case
23762 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23764 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23765 emit have-data before checking for peers. This allows
23766 for probe handlers to connect elements. This helps autopluggers.
23767 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23769 add six checks, linked/unlinked with no/true/false probe
23771 2005-10-04 Wim Taymans <wim@fluendo.com>
23773 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23774 (gst_fake_sink_event), (gst_fake_sink_preroll),
23775 (gst_fake_sink_render), (gst_fake_sink_change_state):
23776 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23777 (gst_fake_src_get_property), (gst_fake_src_create),
23778 (gst_fake_src_stop):
23779 * gst/elements/gstidentity.c: (gst_identity_stop):
23780 Protect last_message with lock.
23782 2005-10-04 Edward Hervey <edward@fluendo.com>
23785 Added precision in the comments for GST_FORMAT_DEFAULT
23787 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23789 * tools/gst-launch.c: (main):
23790 Don't try to run erroneous pipelines.
23792 2005-10-04 Julien MOUTTE <julien@moutte.net>
23794 * gst/gstbus.c: We don't need this header.
23796 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23799 back to development
23801 === release 0.9.3 ===
23803 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23807 Releasing 0.9.3, "Unregistered"
23809 2005-10-03 Andy Wingo <wingo@pobox.com>
23811 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23812 whereby calling a pad's activatepush() function can start a thread
23813 that starts to push or pull before the pad gets the FLUSHING flag
23814 unset. Hack around it by holding the stream lock until the flag is
23815 set. Need to replace this with a proper solution. Together with
23816 the ghost pad fixes, this fixes mp3 playing/tagreading.
23818 * docs/design/part-gstghostpad.txt: Add a note about activation of
23819 proxy pads outside of ghost pads.
23821 * gst/gstghostpad.c: Implement the ghost pad activation design.
23823 2005-10-02 Andy Wingo <wingo@pobox.com>
23825 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23826 It is volatile, after all.
23828 * docs/design/part-gstghostpad.txt: Flesh out activation with
23831 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23834 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23837 Fix (unused) AM_CONDITIONAL tests.
23839 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23841 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23843 * gst/gstutils.c: (gst_pad_query_convert):
23844 Add assertion that makes sure src_val is >=0, just like
23845 gst_query_new_convert() has. (#315895)
23847 2005-09-30 Edward Hervey <edward@fluendo.com>
23849 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23850 Let's not iterate pads we're not interested in, it avoids getting
23851 sky-high refcounts on sinkpad.
23853 2005-09-30 Wim Taymans <wim@fluendo.com>
23855 * gst/gstelement.c: (gst_element_set_state),
23856 (gst_element_change_state):
23857 Small tweak, element in ASYNC remains ASYNC.
23859 2005-09-30 Wim Taymans <wim@fluendo.com>
23861 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23862 Only error is an error.
23864 * gst/gstbin.c: (gst_bin_change_state):
23867 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23868 Also call pad_block in pad alloc.
23870 * gst/gstutils.c: (gst_flow_get_name):
23873 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23875 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23876 (gst_base_src_get_range):
23877 Fix documentation typos. Add some more debug info.
23879 2005-09-29 David Schleef <ds@schleef.org>
23881 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23882 more end-user friendly.
23883 * tools/gst-inspect.c: (main): Check if command-line argument is
23884 a file and attempt to load that file as a plugin.
23886 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23888 * check/gst/gstbin.c:
23889 * check/states/sinks.c:
23890 fix tests for the new warning
23891 * check/gst/gstpipeline.c:
23892 add a test for pipeline and bus interaction
23893 * gst/gstelement.c:
23894 elements should be NULL if they get disposed; add a warning if not
23896 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23899 for 2.6 refcounting, make debug log more correct by printing
23900 the actual refcounts at the time of swap (Wim)
23902 2005-09-29 Andy Wingo <wingo@pobox.com>
23904 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23905 removes signal watches previously added via
23906 gst_bus_add_signal_watch.
23907 (gst_bus_add_signal_watch): Don't return the source id, just store
23908 it on the bus if there wasn't an id already.
23910 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23911 add_signal_watch and remove_signal_watch.
23913 2005-09-29 Edward Hervey <edward@fluendo.com>
23915 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23916 Better if we actually iterate the list :)
23918 2005-09-29 Wim Taymans <wim@fluendo.com>
23920 * check/gst/gstbin.c: (GST_START_TEST):
23921 Change for new bus API.
23923 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23924 (send_messages), (GST_START_TEST), (gstbus_suite):
23925 Change for new bus signal API.
23927 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23928 (gst_bus_source_prepare), (gst_bus_source_check),
23929 (gst_bus_create_watch), (gst_bus_add_watch_full),
23930 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23931 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23933 Remove support for multiple GSources operating on different
23934 message types as it is too complex and unneeded when using
23936 Added support for receiving signals from the bus.
23938 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23940 * docs/libs/tmpl/gstdataprotocol.sgml:
23941 * docs/manual/advanced-dataaccess.xml:
23942 * gst/elements/gstcapsfilter.c:
23944 rename filter-caps to caps property
23946 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23948 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23949 More robust fraction string parsing.
23951 * docs/pwg/appendix-porting.xml:
23952 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23954 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23956 * gst/gstcaps.c: (gst_caps_do_simplify):
23957 Thou shalt not free a structure and then continue using it
23958 in the next loop iteration.
23960 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23962 Add test case for caps simplification.
23964 2005-09-29 Wim Taymans <wim@fluendo.com>
23966 * check/gst/gstbin.c: (GST_START_TEST):
23969 2005-09-29 Wim Taymans <wim@fluendo.com>
23971 * check/gst/gstbin.c: (GST_START_TEST):
23974 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23975 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23976 (find_element), (gst_bin_sort_iterator_next),
23977 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23978 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23979 (gst_bin_change_state), (gst_bin_dispose):
23980 A bin does not have a bus, it gets the bus from the parent.
23982 * gst/gstelement.c: (gst_element_requires_clock),
23983 (gst_element_provides_clock), (gst_element_is_indexable),
23984 (gst_element_is_locked_state), (gst_element_change_state),
23985 (gst_element_set_bus_func):
23988 * gst/gstpipeline.c: (gst_pipeline_class_init),
23989 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23990 The pipeline provides a bus.
23992 2005-09-28 Johan Dahlin <johan@gnome.org>
23994 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23995 gst_structure_get_enum instead of gst_structure_get_int
23997 * gst/gststructure.c (gst_structure_get_enum): Impl.
23999 * gst/gststructure.h (gst_structure_get_enum): Add
24001 * docs/gst/gstreamer-sections.txt: Ditto
24003 * gst/gstmessage.c (gst_message_new_state_changed): Use
24004 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24005 which does introspection.
24006 Reviewed by Christian Schaller
24008 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24010 * gst/gstinfo.c: (gst_debug_log_default):
24011 don't do dummy g_strdup()s
24012 * libs/gst/controller/gstcontroller.c:
24013 (on_object_controlled_property_changed),
24014 (gst_controlled_property_new), (gst_controller_new_valist),
24015 (gst_controller_new_list),
24016 (gst_controller_remove_properties_valist), (gst_controller_set),
24017 (gst_controller_get), (gst_controller_sync_values),
24018 (gst_controller_get_value_array), (_gst_controller_class_init),
24019 (gst_controller_get_type):
24020 * libs/gst/controller/gstcontroller.h:
24021 * libs/gst/controller/gstinterpolation.c:
24022 (gst_controlled_property_find_timed_value_node):
24023 convert // to /**/ comments
24025 2005-09-28 Wim Taymans <wim@fluendo.com>
24027 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24028 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24029 (gst_bus_sync_signal_handler):
24031 Added async-message and sync-message signals to the bus.
24032 Added helper BusFunc to emit signals for all posted messages.
24034 * gst/gstmessage.c: (gst_message_type_get_name),
24035 (gst_message_type_to_quark), (gst_message_get_type):
24036 * gst/gstmessage.h:
24037 Register quarks for message names.
24039 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24041 * docs/libs/gstreamer-libs-sections.txt:
24042 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24043 (gst_controller_new_list):
24044 * libs/gst/controller/gstcontroller.h:
24045 added another constructor for language bindings
24047 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24049 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24053 * gst/gstinfo.c: (_gst_debug_init):
24054 slightly more readable color for refcount debugging
24056 2005-09-28 Wim Taymans <wim@fluendo.com>
24058 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24059 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24060 (find_element), (gst_bin_sort_iterator_next),
24061 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24062 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24063 (gst_bin_change_state), (gst_bin_dispose):
24064 Small doc fixes. get_clock -> provide_clock.
24066 * gst/gstelement.c: (gst_element_class_init),
24067 (gst_element_provides_clock), (gst_element_provide_clock),
24068 (gst_element_get_clock), (gst_element_commit_state),
24069 (gst_element_lost_state):
24070 * gst/gstelement.h:
24071 Make get/set_clock() symetric. Add provide_clock vmethod since
24072 that is actually what this function does.
24074 * gst/gstpipeline.c: (gst_pipeline_class_init),
24075 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24076 (gst_pipeline_get_clock):
24077 get_clock -> provide_clock.
24079 2005-09-28 Andy Wingo <wingo@pobox.com>
24081 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24082 lieu of real docs...
24084 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24086 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24088 * gst/elements/gstcapsfilter.c:
24089 * gst/elements/gstfakesink.c:
24090 * gst/elements/gstfakesrc.c:
24091 * gst/elements/gstfdsink.c:
24092 * gst/elements/gstfdsrc.c:
24093 * gst/elements/gstfilesink.c:
24094 * gst/elements/gstfilesrc.c:
24095 * gst/elements/gstidentity.c:
24096 * gst/elements/gsttee.c:
24097 * gst/elements/gsttypefindelement.c:
24098 Make element details static.
24100 2005-09-28 Wim Taymans <wim@fluendo.com>
24102 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24103 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24104 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24105 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24106 (gst_bin_change_state), (gst_bin_dispose):
24107 Some documentation updates.
24108 Clean up dispose handlers.
24110 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24111 * gst/gstpad.c: (gst_pad_dispose):
24112 Clean up dispose handler.
24114 * gst/gstpipeline.c: (gst_pipeline_change_state):
24115 Removed spurious UNLOCK.
24117 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24119 * docs/gst/gstreamer-sections.txt:
24120 * gst/base/gstbasesrc.h:
24121 * gst/gstelement.h:
24125 * gst/gstpipeline.c:
24126 * gst/gstpipeline.h:
24129 added two new functions to the docs
24130 documents all undocumented GstXXXFlags
24131 completed some incomplete docs
24133 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24135 * gst/gstbin.c: (gst_bin_dispose):
24136 * gst/gstelement.c: (gst_element_dispose):
24137 remove now useless and leaky resurrection code in dispose
24138 * gst/base/gstbasesrc.c: (gst_base_src_init):
24139 * gst/gstelementfactory.c: (gst_element_factory_create):
24140 * gst/gstobject.c: (gst_object_set_parent):
24143 2005-09-27 Wim Taymans <wim@fluendo.com>
24145 * docs/design/part-TODO.txt:
24148 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24149 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24150 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24151 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24152 (gst_bin_change_state):
24153 * gst/gstelement.h:
24154 Remove element variable, we keep element info in the iterator now.
24156 2005-09-27 Andy Wingo <wingo@pobox.com>
24158 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24161 2005-09-27 Wim Taymans <wim@fluendo.com>
24163 * check/gst/gstbin.c: (GST_START_TEST):
24164 Enable check that works now.
24166 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24167 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24168 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24169 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24170 (gst_bin_change_state):
24172 Redid the state change algorithm using a topological sort algo.
24173 Handles all cases correctly.
24174 Exposed iterator for state change order.
24176 * gst/gstelement.h:
24177 Temp storage for state changes. Need to get rid of this soon.
24179 2005-09-27 Wim Taymans <wim@fluendo.com>
24181 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24182 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24183 (link_fold_func), (gst_pad_proxy_setcaps):
24184 Leak fixes, the fold functions need to unref the passed object and
24185 _get_parent_*() returns ref to parent.
24187 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24189 * check/gst/gstbuffer.c: (test_make_writable):
24190 Plug leak in test case and fix 'make check-valgrind'
24192 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24194 * gst/gstbuffer.c: (gst_subbuffer_init):
24195 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24196 works correctly in all circumstances (we could have just copied
24197 the parent buffer's readonly flag, but conceptually it seems
24198 cleaner to mark all subbuffers as read-only). (based on patch
24199 by Alessandro Decina, #314710).
24201 * check/gst/gstbuffer.c: (create_read_only_buffer),
24202 (test_make_writable), (test_subbuffer_make_writable),
24204 Add some tests for gst_buffer_make_writable().
24206 2005-09-27 Wim Taymans <wim@fluendo.com>
24208 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24209 use gst_object_has_ancestor().
24211 * gst/gstobject.c: (gst_object_has_ancestor):
24213 gst_object_has_ancestor() copied from gstbin.c as it is a
24216 * tests/instantiate/create.c: (create_all_elements):
24217 * tests/lat.c: (handoff_src), (handoff_sink):
24218 * tests/sched/runxml.c: (main):
24219 * tests/seeking/seeking1.c: (main):
24220 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24222 Fix compilation of some tests.
24224 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24227 Remove comment. GST_TYPE_G_ERROR is here to stay,
24228 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24229 (#316961, #300610).
24231 2005-09-26 Wim Taymans <wim@fluendo.com>
24233 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24234 Added check that shows error in state change order.
24236 2005-09-26 Wim Taymans <wim@fluendo.com>
24238 * gst/gstbin.c: (gst_bin_change_state):
24239 Make state change function use 3 queues again, we were
24240 adding elements in the wrong order.
24242 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24245 * gst/gstpad.c: (gst_pad_dispose):
24246 Added some debug info first.
24248 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24250 * docs/design/draft-push-pull.txt:
24251 * docs/design/part-events.txt:
24252 * docs/design/part-overview.txt:
24253 * docs/design/part-scheduling.txt:
24254 Replace all _pull_region() with _pull_range()
24256 2005-09-26 Andy Wingo <wingo@pobox.com>
24258 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24260 * check/gst-libs/controller.c: Update for controller api change.
24263 * tests/Makefile.am:
24264 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24265 over by GLib bug 118439.
24267 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24268 routines to a function.
24270 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24272 * libs/gst/controller/gsthelper.c:
24273 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24274 (gst_object_sync_values): Renamed from sink_values. Ugh.
24276 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24278 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24279 Renamed from controller_key, as it is exported.
24281 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24283 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24288 * gst/gstpadtemplate.h:
24291 * gst/gstqueryutils.c:
24292 * gst/gstqueryutils.h:
24293 remove queryutils headers after moving the two used functions
24294 to gstquery. also fixes build problem for gstsiddec
24296 2005-09-26 Michael Smith <msmith@fluendo.com>
24298 * tools/gst-launch.1.in:
24299 Correct documentation in manpage of debug syntax
24301 2005-09-26 Wim Taymans <wim@fluendo.com>
24303 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24304 (gst_base_src_is_seekable), (gst_base_src_change_state):
24305 Some more debugging info.
24307 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24309 * docs/gst/gstreamer-sections.txt:
24310 * gst/base/gstbasetransform.h:
24314 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24316 * docs/gst/.cvsignore:
24317 * docs/gst/tmpl/.cvsignore:
24318 * docs/gst/tmpl/gstpipeline.sgml:
24319 * docs/gst/tmpl/gstplugin.sgml:
24320 * gst/gstpipeline.c:
24323 inlined the last two docs files
24324 removed the tmpl directory from cvs (no more conflicts here!)
24326 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24328 * docs/gst/gstreamer-sections.txt:
24329 * docs/gst/tmpl/.cvsignore:
24330 * docs/gst/tmpl/gstpad.sgml:
24331 * docs/gst/tmpl/gstpadtemplate.sgml:
24333 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24334 (gst_pad_finalize), (gst_pad_set_pad_template):
24336 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24337 (gst_pad_template_class_init), (gst_pad_template_init),
24338 (gst_pad_template_dispose), (name_is_valid),
24339 (gst_static_pad_template_get), (gst_pad_template_new),
24340 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24341 (gst_pad_template_pad_created):
24342 * gst/gstpadtemplate.h:
24343 inlined two more docs
24344 factored gstpadtemplate out of gstpad
24346 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24348 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24349 (test_children_state_change_order_semi_sink):
24350 Fix test case: we can't rely on a fixed state change order when
24351 going from READY => PAUSED because the sink might commit its
24352 new state first when the first buffer created by the source
24353 reaches the sink before the source has finished its change state.
24354 (Test case still fails at times, see #316856, comment 5 onwards)
24356 2005-09-24 Wim Taymans <wim@fluendo.com>
24358 * docs/design/part-events.txt:
24359 * docs/design/part-gstbus.txt:
24360 * docs/design/part-gstpipeline.txt:
24361 * docs/design/part-messages.txt:
24362 * docs/design/part-overview.txt:
24363 * docs/design/part-segments.txt:
24367 * gst/gstelement.c:
24370 * gst/gstiterator.c:
24371 Various documentation updates.
24373 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24376 Well, that's embarassing. Luckily we weren't using
24377 GST_CLOCK_DIFF anywhere.
24379 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24381 * common/gtk-doc.mak:
24382 don't fail on building XML, FC4 slave shows a bunch of doc
24383 missing bits that I don't get
24385 * gst/gstpipeline.c:
24386 * gst/gststructure.c:
24389 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24391 * docs/design/part-gstbin.txt:
24392 * docs/design/part-gstbus.txt:
24394 Add blurb about how the bus goes into flushing mode and
24395 drops all messages when its bin goes from READY into NULL
24398 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24400 * docs/gst/gstreamer-sections.txt:
24401 * gst/gststructure.c: (gst_structure_get_clock_time):
24402 * gst/gststructure.h:
24403 add a method to get a GstClockTime out of a structure
24405 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24407 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24408 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24409 Added test to check state change order in bins (can still be made
24410 to fail here under heavy disk load; bails out with 'Push on pad
24411 fakesink:sink0, but it was not activated in push mode').
24413 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24414 Fix state change order when there is only a semi sink (#316856)
24416 * gst/gstbus.c: (gst_bus_class_init):
24417 Use _class_peek_parent(), not _class_ref(); fix docs to say
24418 'default main context' instead of 'mainloop' where that is
24421 * gst/gstelement.c: (gst_element_commit_state),
24422 (gst_element_set_state):
24423 Fix typos in debug messages
24425 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24428 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24429 * gst/gstpluginfeature.c:
24431 various doc updates
24432 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24433 change an assert into an error until it gets fixed properly
24435 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24437 * docs/gst/gstreamer-sections.txt:
24438 * docs/gst/tmpl/.cvsignore:
24439 * docs/gst/tmpl/gstelement.sgml:
24440 * docs/gst/tmpl/gstinfo.sgml:
24441 * docs/gst/tmpl/gstobject.sgml:
24442 * gst/gstelement.c:
24443 * gst/gstelement.h:
24446 * gst/gstobject.c: (gst_object_class_init):
24448 inlined 3 more biiiig doc files and added some missing docs on the fly
24450 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24452 * check/gst/.cvsignore:
24453 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24454 * gst/gstregistryxml.c: (load_plugin),
24455 (gst_registry_xml_save_plugin):
24456 put back source in registry. add checks for find_plugin.
24457 * testsuite/states/bin.c: (assert_state), (empty_bin),
24458 (test_adding_one_element), (main):
24459 * testsuite/states/locked.c: (main):
24460 some compile/run fixes
24462 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24464 * check/gst/gstvalue.c: (GST_START_TEST):
24465 fix leaks in the test itself
24467 2005-09-22 Wim Taymans <wim@fluendo.com>
24469 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24470 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24471 (gst_base_sink_query):
24472 Prepare for more accurate position reporting and query
24475 * gst/gstelement.c: (gst_element_send_event),
24476 (gst_element_set_state):
24479 2005-09-22 Wim Taymans <wim@fluendo.com>
24481 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24482 (gst_query_parse_segment):
24484 More documentation.
24485 Add segment query for future use.
24487 2005-09-22 Wim Taymans <wim@fluendo.com>
24489 * gst/gstbin.c: (gst_bin_add_func):
24490 Some more debug info.
24492 * gst/gstelement.c: (gst_element_send_event):
24493 Simplify send_event
24495 * gst/gstelement.h:
24496 Don't know how flags got broken.
24501 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24503 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24504 Add simplistic test suite for GST_TYPE_DATE serialisation and
24507 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24509 * docs/gst/gstreamer-sections.txt:
24510 * gst/gststructure.c: (gst_structure_set_valist),
24511 (gst_structure_get_date):
24512 * gst/gststructure.h:
24513 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24514 (gst_date_copy), (gst_value_compare_date),
24515 (gst_value_serialize_date), (gst_value_deserialize_date),
24516 (gst_value_transform_date_string),
24517 (gst_value_transform_string_date), (_gst_value_initialize):
24519 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24520 bunch of utility functions along with a hack that checks that
24521 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24522 is required. Part of the grand scheme in #170777.
24524 2005-09-22 Andy Wingo <wingo@pobox.com>
24526 * gst/gstconfig.h.in: Psych out gtk-doc.
24528 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24530 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24532 * tools/gst-inspect.c (print_element_list): Plug some
24533 inconsequential leaks.
24535 * gst/gstregistry.c (gst_registry_get_default): Doc.
24537 * check/gst/gstplugin.c:
24538 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24539 * gst/gstelementfactory.c (gst_element_factory_create):
24540 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24543 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24544 (gst_plugin_feature_load): Doc, don't eat refs.
24546 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24547 (gst_plugin_list_free): Doc.
24548 (gst_plugin_load_file): Doc updates.
24550 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24551 accessors returning refcounted objects, return a ref.
24553 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24554 accessor for caps. IDEMPOTENCE. Oh yes.
24556 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24558 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24560 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24561 (_gst_debug_register_funcptr):
24562 Add mutex to serialise access to the hash table with
24563 the function pointer => function name string mapping;
24564 make that hash table static scope (#316809).
24566 * gst/registries/.cvsignore:
24567 Remove left-over file.
24569 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24571 * docs/pwg/appendix-porting.xml:
24572 And something about newsegment events and caps-on-buffers to
24573 the porting guide (feel free to improve).
24575 2005-09-21 Andy Wingo <wingo@pobox.com>
24577 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24578 data and event probes on the same pad.
24579 (test_buffer_probe_once): Test that removing probes from within
24580 the probe functions works.
24582 2005-09-21 Andy Wingo <wingo@pobox.com>
24584 * check/gst/gstutils.c: New file.
24585 (test_buffer_probe_n_times): A simple buffer probe test. More to
24588 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24589 have-data::buffer, not have-data.
24590 (gst_pad_add_event_probe): Likewise for have-data::event.
24591 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24592 peer' isn't quite right yet though.
24593 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24594 (gst_pad_remove_data_probe): Change to take the guint handler_id
24595 as their arg, not the function+data, which is more glib-like.
24597 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24598 the signal emission to indicate if the data is a buffer or an
24600 (gst_pad_get_type): Initialize buffer and event quarks.
24601 (gst_pad_class_init): have-data is now a detailed signal, yes it
24604 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24606 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24607 * gst/gstutils.c: (gst_util_set_value_from_string),
24608 (gst_util_set_object_arg):
24609 Don't put functional code in g_return_if_fail() or
24610 g_return_val_if_fail() statements, otherwise things will
24611 break when G_DISABLE_CHECKS is defined during compilation.
24613 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24615 * docs/gst/tmpl/.cvsignore:
24616 * docs/gst/tmpl/gstvalue.sgml:
24619 inlied another one and added some obvious docs
24621 2005-09-21 Wim Taymans <wim@fluendo.com>
24623 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24624 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24625 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24626 (gst_fdsrc_get_property), (gst_fdsrc_create):
24627 * gst/elements/gstfdsrc.h:
24628 Properly implement fdsrc. Removed signal and timeout,
24629 better implemented somewhere else.
24631 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24633 * docs/gst/tmpl/.cvsignore:
24634 * docs/gst/tmpl/gstimplementsinterface.sgml:
24635 * gst/gstinterface.c:
24638 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24640 * docs/gst/gstreamer-sections.txt:
24641 * docs/gst/tmpl/.cvsignore:
24642 * docs/gst/tmpl/gstenumtypes.sgml:
24643 remove obsolete doc file
24645 2005-09-21 David Schleef <ds@schleef.org>
24647 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24648 little beer, fix a little leak.
24650 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24652 * docs/gst/gstreamer-docs.sgml:
24653 * docs/gst/gstreamer-sections.txt:
24654 * docs/gst/tmpl/.cvsignore:
24658 * gst/gstelement.h:
24659 * gst/gstindex.c: (gst_index_class_init):
24661 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24662 (gst_index_factory_class_init), (gst_index_factory_init),
24663 (gst_index_factory_finalize), (gst_index_factory_new),
24664 (gst_index_factory_destroy), (gst_index_factory_find),
24665 (gst_index_factory_create), (gst_index_factory_make):
24666 * gst/gstindexfactory.h:
24667 * gst/gstpluginfeature.c:
24668 * gst/gstpluginfeature.h:
24669 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24670 more docs inlined, splitted gstindex.{c,h}
24672 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24674 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24677 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24679 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24680 Set sync to FALSE by default.
24682 2005-09-20 Wim Taymans <wim@fluendo.com>
24684 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24685 (gst_base_sink_init):
24686 Make sync property settable from subclass.
24688 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24689 (gst_fake_sink_change_state):
24690 Set sync to FALSE by default.
24692 2005-09-20 Wim Taymans <wim@fluendo.com>
24694 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24695 * tools/gst-launch.c: (main):
24696 The timeout handler should have lower priority than the source
24697 so we don't timeout before popping a message with 0 timeout.
24698 Dump error messages after failed state change.
24700 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24702 * tools/gst-inspect.c: (print_element_properties_info):
24705 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24707 * check/gst/gstevent.c:
24708 * gst/elements/gstfakesink.c:
24709 * gst/elements/gstfakesink.h:
24710 remove the sync property from fakesink.
24711 has the side effect of setting sync TRUE
24712 for fakesink, which is a change. Anyone who knows how
24713 to fix this nicely in a GObject-y way, feel free.
24715 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24717 * docs/gst/gstreamer-docs.sgml:
24718 remove probe refsection
24720 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24722 * check/Makefile.am:
24723 disable valgrinding the controller test again
24724 * docs/gst/gstreamer-sections.txt:
24725 update for api-changes
24727 2005-09-20 Wim Taymans <wim@fluendo.com>
24729 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24730 (gst_base_sink_set_property), (gst_base_sink_get_property),
24731 (gst_base_sink_do_sync):
24732 * gst/base/gstbasesink.h:
24733 Added sync property to basesink to disable clock sync.
24735 2005-09-20 Andy Wingo <wingo@pobox.com>
24737 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24738 eating the caller's refcount.
24740 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24741 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24744 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24745 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24746 of GLib 2.8 public, so we can know which refcount to check in
24749 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24750 (gst_object_init): Only set the gst refcount if we're going ahead
24751 with the refcount hack.
24753 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24755 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24756 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24757 more leaks plumbed, added more debug-logging
24761 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24763 * gst/gstmessage.c:
24764 remove include of gstmemchunk.h
24766 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24768 * gst/gstclock.c: (_gst_clock_id_free):
24769 Commit from the Political Party For More Atomic CVS Commits,
24770 so that people don't waste too much of their day fishing
24771 out obvious leaks out of massive commits.
24772 Oh, and fix a pretty damn obvious leak in the memchunk
24775 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24777 * check/Makefile.am:
24778 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24779 plug mem-leak, re-add to valgrindable tests
24781 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24784 unbreak the build for those who have chronic arthritis
24785 and typing "make check" is just too taxing on the hands
24787 2005-09-20 Andy Wingo <wingo@pobox.com>
24789 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24790 really want it out, you should fix plugins at the same time.
24792 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24795 * docs/gst/gstreamer-sections.txt:
24797 added missing symbols to api docs
24798 disable ref-count hack if we have glib >= 2.8
24800 2005-09-19 David Schleef <ds@schleef.org>
24802 * docs/gst/Makefile.am: Ignore a few more internal headers
24803 * docs/gst/gstreamer-docs.sgml: Remove old sections
24804 * docs/gst/gstreamer-sections.txt: Remove old sections
24805 * docs/gst/tmpl/gstobject.sgml: update
24806 * docs/gst/tmpl/gstplugin.sgml: update
24807 * docs/gst/tmpl/gstpluginfeature.sgml: update
24808 * docs/random/ds/0.9-suggested-changes: update.
24809 * gst/Makefile.am: remove memchunk and trashstack, since they're
24811 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24812 * gst/gst.h: don't include some headers
24813 * gst/gstchildproxy.c: add gstmarshal.h
24814 * gst/gstclock.c: Don't use memchunks
24815 * gst/gstminiobject.c: Add some docs
24816 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24817 * gst/gstobject.h: same
24818 * gst/gstplugin.c: include gstmacros.h
24819 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24820 * gst/gstquery.c: don't use memchunks
24821 * gst/gstregistry.c: rename gst_registry_deinit()
24822 * gst/gstregistry.h: same
24824 2005-09-19 David Schleef <ds@schleef.org>
24826 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24827 * docs/libs/gstreamer-libs-sections.txt:
24828 * docs/libs/tmpl/gstgetbits.sgml:
24829 * docs/libs/tmpl/gstputbits.sgml:
24831 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24833 * win32/gstenumtypes.c:
24834 * win32/gstenumtypes.h:
24837 2005-09-19 Wim Taymans <wim@fluendo.com>
24839 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24840 Automatically PAUSE and RESUME a pipeline when a flushing seek
24843 2005-09-19 Andy Wingo <wingo@pobox.com>
24845 * gst/gstregistry.h: Spacing fixen.
24847 2005-09-19 Wim Taymans <wim@fluendo.com>
24849 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24850 Handle state change failure more correctly.
24852 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24854 * check/Makefile.am:
24855 * check/pipelines/cleanup.c: (run_pipeline):
24856 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24858 enable cleanup again after fixing the leak
24860 some more info on docs
24862 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24864 * check/Makefile.am:
24865 re-enable tests now that leaks are plugged
24867 * check/gst/gstbin.c:
24868 * check/gst/gstpipeline.c:
24869 add some more tests while fixing leaks
24870 * common/check.mak:
24871 make sure binaries are uptodate when valgrinding/gdbing
24873 * gst/gstelementfactory.c:
24874 remove a ref too many, and add a FIXME for when we get
24875 round to disposing of classes
24877 fix the refcounting when loading a plugin from a file and
24878 the code pretends that the pointer is the same even though
24879 of course it can change
24880 * gst/gstpluginfeature.c:
24881 unref plugins marked cached (a bit confusing as a name)
24882 as the docs state should be done
24883 various doc additions to explain refcounting
24884 * gst/gstregistry.c:
24885 * gst/gstregistryxml.c:
24888 2005-09-19 Wim Taymans <wim@fluendo.com>
24890 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24891 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24892 (send_messages), (GST_START_TEST), (gstbus_suite):
24893 * check/gst/gstpipeline.c: (GST_START_TEST):
24894 * check/pipelines/cleanup.c: (run_pipeline):
24895 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24897 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24898 (gst_bus_source_check), (gst_bus_source_dispatch),
24899 (gst_bus_create_watch), (gst_bus_add_watch_full),
24900 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24902 * tools/gst-launch.c: (event_loop):
24903 * tools/gst-md5sum.c: (event_loop):
24904 GstBusHandler -> GstBusFunc, return value has the same meaning as
24905 any other GSource (FALSE == remove source).
24906 _add_watch() and _add_watch_full() now take a MessageType mask to
24907 only handle specific types of messages.
24908 _poll() returns the GstMessage instead of the message type to avoid
24910 _have_pending() takes a MessageType mask now too.
24911 Added testsuite for multiple bus watches.
24912 Fix testsuites and applications for new bus API.
24914 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24916 * check/Makefile.am:
24917 mark a bunch of the tests as to fix until we fix them
24919 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24921 * common/check.mak:
24922 use GST_PLUGIN settings for valgrind tests as well, so we're
24923 valgrinding the correct thing
24924 * gst/gst.c: (init_post):
24927 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24929 * gst/gst.c: (init_post), (gst_deinit):
24930 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24931 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24932 * gst/gstindex.c: (gst_index_factory_class_init),
24933 (gst_index_factory_finalize):
24934 * gst/gstobject.c: (gst_object_dispose):
24935 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24936 (gst_plugin_load_file), (gst_plugin_desc_free):
24937 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24938 (gst_plugin_feature_finalize):
24939 * gst/gstregistry.c: (gst_registry_class_init),
24940 (gst_registry_init), (gst_registry_finalize),
24941 (gst_registry_get_default), (gst_registry_deinit):
24942 * gst/gstregistry.h:
24943 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24944 various cleanups and memleak plugging. make valgrind is happy now.
24946 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24948 * common/check.mak:
24949 add a check-valgrind target
24951 2005-09-18 David Schleef <ds@schleef.org>
24953 * tools/gst-inspect.c: Revert the GOption code.
24955 2005-09-17 David Schleef <ds@schleef.org>
24957 * check/Makefile.am: Fix environment variables.
24958 * check/gst/gstplugin.c: Fix for API changes.
24959 * tools/gst-inspect.c: Fix for API changes.
24960 * tools/gst-xmlinspect.c: Fix for API changes.
24961 * gst/gstelementfactory.c:
24964 * gst/gstpluginfeature.c:
24965 * gst/gstpluginfeature.h:
24966 * gst/gstregistry.c:
24967 * gst/gstregistry.h:
24968 * gst/gstregistryxml.c:
24969 * gst/gsttypefind.c:
24970 * gst/gsttypefindfactory.c:
24971 * gst/indexers/gstfileindex.c:
24972 * gst/indexers/gstmemindex.c:
24973 * gst/schedulers/Makefile.am:
24974 Change registry to keep track of both plugins and features,
24975 removing the feature tracking from plugins themselves.
24977 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24979 * check/Makefile.am:
24980 * tools/gst-register.1.in:
24981 remove gst-register
24983 2005-09-15 David Schleef <ds@schleef.org>
24985 * check/gst/gstplugin.c:
24986 * gst/gstelementfactory.c:
24988 * gst/gstpluginfeature.c:
24989 * gst/gstregistry.c:
24990 Getting tired of debugging. Disabled all the unreffing of
24991 plugins and features, which fixes the segfaults, but of
24992 course leaks like crazy. At least playbin works.
24994 2005-09-15 David Schleef <ds@schleef.org>
24996 * check/gst/gstplugin.c: (register_check_elements),
24997 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24999 * gst/elements/gsttypefindelement.c: Fix refcounting.
25000 * gst/gsttypefind.c:
25001 * gst/gsttypefindfactory.c:
25002 * gst/gsttypefindfactory.h:
25004 2005-09-15 David Schleef <ds@schleef.org>
25006 * gst/gstindex.c: get refcounting correct.
25007 * gst/gstregistry.c: Handle the case where a feature/plugin is
25010 2005-09-15 David Schleef <ds@schleef.org>
25012 * check/Makefile.am:
25013 * check/gst/gstplugin.c: Add test
25014 * gst/gstplugin.c: Fix problems noticed by testsuite
25016 * gst/gstregistry.c:
25017 * gst/gstregistry.h:
25019 2005-09-15 David Schleef <ds@schleef.org>
25021 * gst/gstplugin.c: Implement semi-decent recounting and locking
25022 in plugins and plugin features.
25024 * gst/gstpluginfeature.c:
25025 * gst/gstpluginfeature.h:
25026 * gst/gstregistry.c:
25028 2005-09-15 Michael Smith <msmith@fluendo.com>
25030 * gst/gstregistry.c: (gst_registry_get_feature_list):
25031 Implement this. Makes oggdemux work; decodebin still broken.
25033 2005-09-14 David Schleef <ds@schleef.org>
25035 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25037 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25038 * gst/check/Makefile.am:
25039 * libs/gst/controller/Makefile.am:
25040 * libs/gst/dataprotocol/Makefile.am:
25042 2005-09-14 David Schleef <ds@schleef.org>
25044 * configure.ac: Remove getbits library. Nothing uses it, and
25045 it should be in something like liboil if someone did want
25047 * libs/gst/Makefile.am:
25048 * libs/gst/getbits/Makefile.am:
25049 * libs/gst/getbits/gbtest.c:
25050 * libs/gst/getbits/getbits.c:
25051 * libs/gst/getbits/getbits.h:
25052 * libs/gst/getbits/gstgetbits_generic.c:
25053 * libs/gst/getbits/gstgetbits_i386.s:
25054 * libs/gst/getbits/gstgetbits_inl.h:
25056 2005-09-14 David Schleef <ds@schleef.org>
25058 * gst/Makefile.am: Dist glib-compat.h
25060 2005-09-14 David Schleef <ds@schleef.org>
25062 * configure.ac: Remove gst/registries, since it's no longer used.
25063 * gst/registries/Makefile.am:
25064 * gst/registries/gstlibxmlregistry.c:
25065 * gst/registries/gstlibxmlregistry.h:
25066 * gst/registries/gstxmlregistry.c:
25067 * gst/registries/gstxmlregistry.h:
25068 * gst/registries/registrytest.c:
25070 2005-09-14 David Schleef <ds@schleef.org>
25072 * gst/glib-compat.h:
25073 * gst/gstregistryxml.c:
25074 Convergence is near. Seriously.
25076 2005-09-14 David Schleef <ds@schleef.org>
25078 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25079 * gst/glib-compat.h:
25080 Attempt #4 to appease the buildbots.
25082 2005-09-14 David Schleef <ds@schleef.org>
25084 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25087 2005-09-14 David Schleef <ds@schleef.org>
25089 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25092 2005-09-14 David Schleef <ds@schleef.org>
25094 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25097 2005-09-14 David Schleef <ds@schleef.org>
25099 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25100 * gst/glib-compat.h: Add some functions that are in newer versions
25101 of glib than we care to require.
25102 * gst/gstregistryxml.c: Use them.
25104 2005-09-14 David Schleef <ds@schleef.org>
25106 * po/POTFILES.in: remove gst-register.c
25108 2005-09-14 David Schleef <ds@schleef.org>
25110 * docs/gst/gstreamer-docs.sgml:
25111 * docs/gst/gstreamer-sections.txt:
25112 * docs/gst/gstreamer.types:
25113 * docs/gst/tmpl/gstelement.sgml:
25114 * docs/gst/tmpl/gstplugin.sgml:
25115 * docs/gst/tmpl/gstpluginfeature.sgml:
25116 Documentation updates for registry changes.
25118 2005-09-14 David Schleef <ds@schleef.org>
25120 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25121 because we don't require glib-2.8.
25123 2005-09-14 David Schleef <ds@schleef.org>
25125 * gst/gstregistryxml.c: Added. Essentially moved out of the
25126 registries directory.
25128 2005-09-14 David Schleef <ds@schleef.org>
25130 * check/Makefile.am:
25131 * check/generic/states.c:
25135 * gst/gst_private.h:
25136 * gst/gstelementfactory.c:
25141 * gst/gstpluginfeature.c:
25142 * gst/gstpluginfeature.h:
25143 * gst/gstregistry.c:
25144 * gst/gstregistry.h:
25145 * gst/gstregistrypool.c: remove
25146 * gst/gstregistrypool.h: remove
25147 * gst/gsttypefind.c:
25148 * gst/gsttypefindfactory.c:
25150 * tools/Makefile.am:
25151 * tools/gst-compprep.c:
25152 * tools/gst-inspect.c:
25153 * tools/gst-register.c: remove
25154 * tools/gst-xmlinspect.c:
25155 Registry rewrite. Changes registry from being a file created
25156 by a tool into a simple cache file created automatically by
25157 libgstreamer. Removed gst-register (because it's no longer
25158 needed). Remove registry pools, because we only have one
25159 registry implementation (XML). Fix up other subsystems as
25162 2005-09-13 Michael Smith <msmith@fluendo.com>
25164 * gst/gstconfig.h.in:
25165 Don't Use windows linking attributes for MinGW. Fixes #316157
25167 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25169 * gst/gstutils.c: (set_state_async_thread_func),
25170 (gst_element_set_state_async):
25171 Apparently people think it's better if this function doesn't
25172 try to set the state to whatever state was asked for on the first
25173 call to this function for any object. Seriously.
25175 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25177 * check/gst/gstpipeline.c: (GST_START_TEST):
25178 * docs/gst/gstreamer-sections.txt:
25179 * gst/gstutils.c: (set_state_async_thread_func),
25180 (gst_element_set_state_async):
25182 add a "gst_element_set_state_async" method that
25183 sets the state and starts a thread to make sure the state
25184 change completes as best as it can
25186 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25188 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25189 codify design+behaviour in testsuite after discussion
25191 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25193 * docs/gst/tmpl/gstelement.sgml:
25194 * docs/manual/appendix-quotes.xml:
25196 * gst/gstelement.c: (gst_element_set_state):
25199 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25201 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25202 (gst_base_transform_prepare_output_buf),
25203 (gst_base_transform_handle_buffer):
25204 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25205 (gst_capsfilter_prepare_buf):
25206 Remove the requirement for sub-classes to call the parent
25207 implementation of prepare_output_buffer with a wrapper function.
25209 * gst/gsttaglist.h:
25210 * gst/gsttagsetter.h:
25211 Fix #define wrapper
25213 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25215 * docs/gst/gstreamer-sections.txt:
25218 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25220 * docs/gst/gstreamer-sections.txt:
25221 * docs/gst/tmpl/gstelement.sgml:
25222 * docs/gst/tmpl/gstplugin.sgml:
25223 * gst/gstminiobject.c:
25225 docs now stop throwing warnings
25227 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25229 * docs/gst/gstreamer-sections.txt:
25230 * docs/gst/gstreamer.types:
25231 * docs/gst/tmpl/gstpad.sgml:
25232 * docs/gst/tmpl/gsttypes.sgml:
25233 * gst/base/gstadapter.h:
25234 * gst/base/gstbasesink.h:
25235 * gst/base/gstbasesrc.h:
25241 * gst/gstelement.h:
25243 * gst/gstmessage.h:
25245 * gst/gststructure.c:
25246 * gst/registries/gstlibxmlregistry.h:
25247 various documentation fixes
25249 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25251 * docs/gst/gstreamer-sections.txt:
25252 * docs/gst/tmpl/gstvalue.sgml:
25253 rearrange gstvalue section
25254 * gst/gstutils.c: (gst_element_state_get_name):
25256 * gst/gstvalue.c: (_gst_value_initialize):
25260 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25262 * check/gst-libs/controller.c:
25263 Header include fix.
25264 * gst/base/gstbasetransform.c:
25265 (gst_base_transform_default_prepare_buf),
25266 (gst_base_transform_handle_buffer):
25267 * gst/base/gstbasetransform.h:
25268 Some more basetransform changes and fixes to enable sub-classes
25269 that modify buffer metadata only.
25270 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25271 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25272 (gst_capsfilter_prepare_buf):
25273 If the output pad has fixed allowed caps and input buffers
25274 don't have any, set the fixed caps on outgoing buffers.
25276 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25277 * check/elements/identity.c: (GST_START_TEST):
25278 Make the error a little clearer when the test fails because
25279 identity made a copy of the buffer.
25280 * docs/gst/gstreamer-sections.txt:
25281 New symbols in gstbasetransform.h
25282 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25283 (gst_base_transform_init), (gst_base_transform_transform_size),
25284 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25285 (gst_base_transform_default_prepare_buf),
25286 (gst_base_transform_get_unit_size),
25287 (gst_base_transform_buffer_alloc),
25288 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25289 (gst_base_transform_change_state),
25290 (gst_base_transform_set_passthrough),
25291 (gst_base_transform_set_in_place),
25292 (gst_base_transform_is_in_place):
25293 * gst/base/gstbasetransform.h:
25294 Change BaseTransform to separate in_place operate from same_caps
25295 output. in_place implies that the element can perform the transform
25296 on incoming buffers in-place, even if the caps on the output are
25298 Sub-class elements can now implement special buffer allocation
25299 methods for outgoing buffers if they wish to.
25300 Big documentation addition.
25301 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25302 * gst/elements/gstelements.c:
25303 Changes for basetransform modifications.
25304 * gst/elements/Makefile.am:
25305 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25306 Compile fix. Extra debug output.
25308 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25310 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25312 add tests for valid pad naming
25313 * gst/check/gstcheck.c: (gst_check_log_message_func),
25314 (gst_check_log_critical_func):
25316 remove printing of code, it is fragile when the code contains
25317 % and the line number is enough info
25318 * gst/check/gstcheck.h:
25319 * gst/gstpad.c: (gst_pad_template_new):
25322 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25325 say what CHECK flags we use
25326 * docs/libs/gstreamer-libs.types:
25327 * libs/gst/controller/Makefile.am:
25328 * libs/gst/controller/gst-controller.c:
25329 * libs/gst/controller/gst-controller.h:
25330 * libs/gst/controller/gst-helper.c:
25331 * libs/gst/controller/gst-interpolation.c:
25332 * libs/gst/controller/gstcontroller.c:
25333 * libs/gst/controller/gsthelper.c:
25334 * libs/gst/controller/gstinterpolation.c:
25335 * tools/gst-inspect.c: (print_plugin_info):
25336 we don't use dashes in header names
25338 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25340 * check/Makefile.am:
25341 * check/gst/.cvsignore:
25342 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25343 (gst_pipeline_suite), (main):
25344 adding a test for pipelines and state changes
25345 * gst/gstutils.c: (get_state_func):
25347 * gstreamer.spec.in:
25350 2005-09-08 Michael Smith <msmith@fluendo.com>
25352 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25353 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25354 (gst_file_src_is_seekable), (gst_file_src_get_size),
25355 (gst_file_src_start):
25356 * gst/elements/gstfilesrc.h:
25357 Various fixes for unseekable, unmmapable, and non-normal files, so
25358 that fallback to read() rather than mmap() works.
25359 * gst/gstevent.c: (gst_event_new_newsegment):
25360 Allow newsegment events with segment_start == segment_end, as will
25361 correctly happen if you use filesrc on a zero-size file, for
25364 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25366 * gst/gstplugin.c: (gst_plugin_load_file):
25367 Call g_module_close when we don't load the module
25369 * gst/registries/gstlibxmlregistry.c:
25370 (gst_xml_registry_get_property):
25371 Port leak fix from 0.8
25373 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25375 * docs/gst/gstreamer-docs.sgml:
25376 * docs/gst/tmpl/.cvsignore:
25377 * docs/gst/tmpl/gsttrace.sgml:
25378 * docs/gst/tmpl/gsttrashstack.sgml:
25381 * gst/gstelement.h:
25383 * gst/gstmessage.c:
25384 * gst/gstmessage.h:
25387 * gst/gsttaginterface.c:
25388 * gst/gsttaginterface.h:
25389 * gst/gsttaglist.c:
25390 * gst/gsttaglist.h:
25391 * gst/gsttagsetter.c:
25392 * gst/gsttagsetter.h:
25395 * gst/gsttrashstack.c:
25396 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25397 inlined docs for gsttrace, gsttrashstack
25399 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25402 * gst/elements/gstbufferstore.h:
25403 * gst/elements/gsttypefindelement.c:
25404 * gst/elements/gsttypefindelement.h:
25406 * gst/gsttypefind.c:
25407 * gst/gsttypefind.h:
25408 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25409 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25410 (gst_type_find_factory_dispose),
25411 (gst_type_find_factory_unload_thyself),
25412 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25413 (gst_type_find_factory_get_caps),
25414 (gst_type_find_factory_get_extensions),
25415 (gst_type_find_factory_call_function):
25416 * gst/gsttypefindfactory.h:
25417 * gst/registries/gstlibxmlregistry.c:
25418 * gst/registries/gstxmlregistry.c:
25419 splitted gsttypefind into gsttypefind, gsttypefindfactory
25421 2005-09-07 Andy Wingo <wingo@pobox.com>
25423 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25424 condition whereby the pad's task function is entered before the
25425 pad_mode variable was set.
25427 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25429 * gst/gstpad.c: (gst_pad_alloc_buffer):
25430 Catch misbehaving pad_alloc functions that don't
25431 set up caps and do it for them.
25433 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25435 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25436 test for pipe!=NULL
25437 * docs/gst/tmpl/.cvsignore:
25438 * docs/gst/tmpl/gstmemchunk.sgml:
25439 * docs/gst/tmpl/gstparse.sgml:
25440 * docs/gst/tmpl/gsttaglist.sgml:
25441 * docs/gst/tmpl/gsttagsetter.sgml:
25442 * docs/gst/tmpl/gsttypefind.sgml:
25443 * docs/gst/tmpl/gsttypefindfactory.sgml:
25444 * gst/gstmemchunk.c:
25447 * gst/gsttaginterface.c:
25448 * gst/gsttypefind.c:
25449 * gst/gsttypefind.h:
25452 === release 0.9.2 ===
25454 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25459 releasing 0.9.2, "South"
25461 2005-09-05 Andy Wingo <wingo@pobox.com>
25463 * gst/registries/gstxmlregistry.h:
25464 * gst/registries/gstxmlregistry.c: Um... resurrect...
25466 * gst/registries/gstxmlregistry.h:
25467 * gst/registries/gstxmlregistry.c: and update to newer API.
25468 Incidentally they should be a bit faster now that they don't have
25471 2005-09-05 Andy Wingo <wingo@pobox.com>
25473 * gst/registries/gstxmlregistry.h:
25474 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25475 replaced by the libxml registry a while back
25477 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25479 * docs/gst/tmpl/gstplugin.sgml:
25480 * gst/elements/gstelements.c:
25482 * gst/gstplugin.c: (gst_plugin_register_func),
25483 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25484 (gst_plugin_get_source):
25486 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25487 (gst_xml_registry_save_plugin):
25488 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25489 (gst_xml_registry_save_plugin):
25490 * tools/gst-inspect.c: (print_plugin_info):
25491 add a "source" plugin description field, to represent the source
25492 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25493 will set it to PACKAGE, which is automake's idea of the name of
25494 the source project.
25496 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25501 * docs/Makefile.am:
25502 * docs/faq/Makefile.am:
25503 * docs/gst/tmpl/gstelement.sgml:
25504 * docs/gst/tmpl/gsttypes.sgml:
25505 * docs/htmlinstall.mak:
25506 * docs/manual/Makefile.am:
25507 * docs/pwg/Makefile.am:
25508 reorganize doc build a little
25509 split out docbook and gtk-doc stuff
25510 have two separate --enable's and enable them through autogen
25511 but disable by default in configure (to be similar to other
25513 * gstreamer.spec.in:
25514 clean up docs install
25532 translation updates
25534 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25536 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25539 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25540 (gst_fake_sink_change_state):
25541 Make state change function thread-safe.
25543 * gst/gstpad.c: (gst_pad_alloc_buffer):
25544 Set offset on generic buffer allocated by fallback.
25546 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25548 * docs/gst/gstreamer-sections.txt:
25549 * docs/gst/tmpl/gstelement.sgml:
25551 * libs/gst/controller/gst-controller.c:
25552 (gst_controlled_property_set_interpolation_mode),
25553 (gst_controlled_property_new),
25554 (gst_controller_find_controlled_property):
25555 run the wingo-magic script against the docs
25557 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25559 * docs/gst/gstreamer-docs.sgml:
25560 * docs/gst/gstreamer-sections.txt:
25561 * docs/gst/tmpl/.cvsignore:
25562 * docs/gst/tmpl/gstelementdetails.sgml:
25563 * docs/gst/tmpl/gstelementfactory.sgml:
25566 * gst/gstelementfactory.c:
25567 * gst/gstelementfactory.h:
25568 merged elementdetails docs into elementfactory docs
25571 2005-09-02 Andy Wingo <wingo@pobox.com>
25573 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25574 consider this enum an enum and not a flags.
25576 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25578 * docs/gst/gstreamer-docs.sgml:
25579 * docs/gst/tmpl/.cvsignore:
25580 * docs/gst/tmpl/gstghostpad.sgml:
25581 * docs/gst/tmpl/gstiterator.sgml:
25582 * docs/gst/tmpl/gstmacros.sgml:
25583 * docs/gst/tmpl/gstrealpad.sgml:
25584 * docs/gst/tmpl/gstregistry.sgml:
25585 * docs/gst/tmpl/gstregistrypool.sgml:
25586 * docs/gst/tmpl/gststructure.sgml:
25587 * docs/gst/tmpl/gstsystemclock.sgml:
25588 * docs/gst/tmpl/gsttrace.sgml:
25589 * gst/gstghostpad.c:
25591 * gst/gstmemchunk.c:
25592 * gst/gstmemchunk.h:
25594 * gst/gstregistry.c:
25595 * gst/gstregistrypool.c:
25596 * gst/gststructure.c:
25597 * gst/gstsystemclock.c:
25600 2005-09-02 Andy Wingo <wingo@pobox.com>
25602 * gst/gstelement.h (GstState): Renamed from GstElementState,
25603 changed to be a normal enum instead of flags.
25604 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25605 munged to be GST_STATE_CHANGE_*.
25606 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25607 work with the new state representation.
25608 (GstStateChange): New enumeration of possible state transitions.
25609 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25610 (GstElementClass::change_state): Pass the GstStateChange along as
25611 an argument. Helps language bindings, so they don't have to use
25612 tricky lock-needing macros like GST_STATE_CHANGE ().
25614 * scripts/update-states (file): New script. Run it on a file to
25615 update it for state naming and API changes. Updates files in
25618 * All files updated for the new API.
25620 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25622 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25623 * gst/gstutils.c: (gst_util_set_value_from_string),
25624 (gst_util_set_object_arg):
25625 fix a bunch of unchecked return values
25626 * tools/gst-complete.c: (main):
25627 * gstreamer.spec.in:
25630 2005-09-01 Wim Taymans <wim@fluendo.com>
25632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25633 (gst_base_sink_event), (gst_base_sink_do_sync),
25634 (gst_base_sink_handle_event):
25635 * gst/base/gstbasesink.h:
25636 Handle newsegments more correctly.
25641 * gst/gstevent.c: (gst_event_new_newsegment):
25642 A newsegment cannot have a start_time of -1
25644 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25646 * win32/gstenumtypes.c:
25647 * win32/gstenumtypes.h:
25650 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25652 * libs/gst/controller/gst-controller.c:
25653 (gst_controlled_property_set_interpolation_mode),
25654 (gst_controlled_property_new):
25655 fixed boolean again
25657 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25659 * docs/faq/gst-uninstalled:
25664 * gst/gstutils.c: (gst_element_link_filtered):
25666 add gst_element_link_filtered
25668 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25670 * docs/gst/gstreamer-docs.sgml:
25671 * docs/gst/gstreamer-sections.txt:
25672 * docs/gst/tmpl/.cvsignore:
25673 * docs/gst/tmpl/gsterror.sgml:
25674 * docs/gst/tmpl/gstfilter.sgml:
25675 * docs/gst/tmpl/gsturihandler.sgml:
25676 * docs/gst/tmpl/gsturitype.sgml:
25677 * docs/gst/tmpl/gstutils.sgml:
25678 * docs/gst/tmpl/gstxml.sgml:
25683 * gst/gsturitype.c:
25686 inlined more docs, fixed double id-ref
25688 2005-08-31 Wim Taymans <wim@fluendo.com>
25690 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25691 (gst_base_transform_handle_buffer):
25692 Passthrough elements don't need the caps as they don't care.
25694 2005-08-31 Wim Taymans <wim@fluendo.com>
25696 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25697 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25698 Don't leak refcounts on buffers.
25700 2005-08-31 Wim Taymans <wim@fluendo.com>
25702 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25703 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25704 (gst_base_transform_chain), (gst_base_transform_change_state):
25705 * gst/base/gstbasetransform.h:
25706 Handle the case where we are not negotiated more gracefully.
25708 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25710 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25711 (gst_file_src_map_region):
25712 Set READONLY flag on mmap'ed buffers, otherwise
25713 gst_buffer_make_writable() won't work properly (#314708).
25715 2005-08-31 Wim Taymans <wim@fluendo.com>
25717 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25718 passthrough elements can even do inplace on non writable
25719 buffers (as they don't touch them).
25721 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25723 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25724 (gst_test_mono_source_set_property),
25725 (gst_test_mono_source_class_init), (GST_START_TEST),
25726 (gst_controller_suite):
25727 more tests (hehe I have the most)
25729 describe popping messages whenusing mulltiple sources
25730 * libs/gst/controller/gst-controller.c:
25731 (gst_controlled_property_set_interpolation_mode),
25732 (gst_controlled_property_new):
25733 * libs/gst/controller/gst-controller.h:
25734 * libs/gst/controller/gst-interpolation.c:
25735 implement boolean properties
25737 2005-08-31 Wim Taymans <wim@fluendo.com>
25739 * gst/gstminiobject.c: (gst_mini_object_ref):
25740 Cannot assert that the refcount has to be positive
25741 since a disposed object can be resurrected.
25743 2005-08-31 Wim Taymans <wim@fluendo.com>
25745 * gst/gstpad.c: (gst_pad_init):
25746 Revert change, need to first fix badly behaving
25749 2005-08-30 Wim Taymans <wim@fluendo.com>
25751 * check/elements/fakesrc.c: (setup_fakesrc):
25752 * check/elements/identity.c: (setup_identity):
25753 Activate pads before using them.
25755 2005-08-30 Wim Taymans <wim@fluendo.com>
25757 * gst/base/gstadapter.c: (gst_adapter_flush):
25758 Flushing out 0 bytes is ok for this function.
25760 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25761 no newsegment gives a warning and sets the start/stop to
25764 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25765 (gst_base_transform_set_passthrough):
25768 * gst/gstminiobject.c: (gst_mini_object_ref):
25769 Check refcount here too.
25771 * gst/gstpad.c: (gst_pad_init):
25772 Pads are initially flushing and refusing data.
25774 * gst/gstutils.c: (gst_element_link_pads_filtered):
25775 When adding a capsfilter element make sure it has the
25776 same state as the parent bin.
25778 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25780 * docs/gst/tmpl/.cvsignore:
25781 * docs/gst/tmpl/gstformat.sgml:
25782 * docs/gst/tmpl/gstversion.sgml:
25786 * gst/gstversion.h.in:
25787 more docs and two more inlined
25789 2005-08-30 Wim Taymans <wim@fluendo.com>
25791 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25792 Don't sync to clock.
25794 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25796 * docs/gst/gstreamer-sections.txt:
25797 ultral33t func10ns deserve to appear in the docs actually
25798 * docs/gst/tmpl/.cvsignore:
25799 * docs/gst/tmpl/gstcompat.sgml:
25800 * docs/gst/tmpl/gstconfig.sgml:
25801 * gst/check/gstcheck.c:
25803 * gst/gstconfig.h.in:
25806 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25808 * docs/gst/tmpl/.cvsignore:
25809 * docs/gst/tmpl/gstquery.sgml:
25810 * docs/gst/tmpl/gstutils.sgml:
25813 inlined and extended docs
25815 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25817 * check/gst-libs/controller.c: (GST_START_TEST),
25818 (gst_controller_suite):
25820 * docs/gst/tmpl/gstutils.sgml:
25821 * docs/libs/gstreamer-libs-sections.txt:
25822 * docs/libs/tmpl/gstdataprotocol.sgml:
25824 * examples/controller/audio-example.c: (main):
25825 controller example works now
25828 * tools/gst-inspect.c: (print_element_properties_info):
25829 show param spec flags
25831 2005-08-29 Andy Wingo <wingo@pobox.com>
25833 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25835 2005-08-28 Andy Wingo <wingo@pobox.com>
25837 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25838 as having two arguments instead of just one. Allows superclasses
25839 to access information on subclasses -- see the terrible for() loop
25840 in gtype.c:g_type_create_instance for the reason why. All callers
25843 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25845 * docs/design/part-messages.txt:
25847 * docs/gst/tmpl/.cvsignore:
25848 * docs/gst/tmpl/gstcaps.sgml:
25849 * docs/gst/tmpl/gstclock.sgml:
25855 * gst/gstmessage.c:
25856 added descriptions for bus and message
25857 inline caps and clock docs
25859 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25861 * gst/gstmessage.c:
25862 * gst/gstmessage.h:
25865 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25867 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25870 2005-08-26 Andy Wingo <wingo@pobox.com>
25872 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25873 element_set_state's return val.
25874 (test_2_elements): Add test that's been disabled for months.
25876 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25877 can-activate-pull properties.
25879 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25880 can-activate-pull properties. Implement is_seekable so fakesrc can
25881 operate in pull mode.
25883 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25885 (gst_base_sink_activate, gst_base_sink_activate_pull)
25886 (gst_base_sink_activate_push): Make activation mode choosing work.
25888 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25889 is right. Make pull mode work. Post an eos before pausing in pull
25891 (gst_base_sink_change_state): Pay attention to the core's
25892 change_state() return val.
25894 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25895 has-getrange properties. Cleanups.
25897 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25898 has_getrange and replace with can_activate_pull and
25901 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25902 locking comments. Remove has_loop, has_chain and replace with
25903 can_activate_pull and can_activate_push.
25905 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25908 * examples/Makefile.am:
25909 * examples/metadata/Makefile.am:
25910 * examples/metadata/read-metadata.c: (message_loop),
25911 (have_pad_handler), (make_pipeline), (print_tag), (main):
25912 Add metadata reading example that loops over a list of filenames,
25913 dumping any tags found.
25915 * gst/gstbus.c: (gst_bus_dispose):
25916 * gst/gstelement.c: (gst_element_dispose):
25917 Release a few potentially-held references in dispose.
25919 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25921 * docs/gst/tmpl/gstminiobject.sgml:
25922 do *not* add tmpl/*.sgml files to CVS!
25924 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25926 * libs/gst/bytestream/.cvsignore:
25927 * libs/gst/bytestream/Makefile.am:
25928 * libs/gst/bytestream/adapter.c:
25929 * libs/gst/bytestream/adapter.h:
25930 * libs/gst/bytestream/bytestream.c:
25931 * libs/gst/bytestream/bytestream.h:
25932 * libs/gst/bytestream/filepad.c:
25933 * libs/gst/bytestream/filepad.h:
25934 removing obsolete files
25936 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25938 * docs/gst/gstreamer-docs.sgml:
25939 * docs/libs/gstreamer-libs-docs.sgml:
25940 disabed additional index entries again, as this makes docs-gen just
25941 slow and they aren't useful yet
25942 * docs/libs/gstreamer-libs-sections.txt:
25943 little -section.txt cleanup for libs
25945 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25947 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25948 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25949 fix up some debugging
25950 (gst_base_transform_get_unit_size),
25951 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25952 (gst_base_transform_handle_buffer):
25953 * gst/base/gstbasetransform.h:
25954 handle and store timed NEWSEGMENT events so that subclasses that
25955 calculate time by counting samples have a segment_start time they
25956 need to add to their timestamps - see audioresample
25958 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25961 removed ';' from the end of macro defs
25962 * docs/gst/gstreamer-docs.sgml:
25963 * docs/gst/gstreamer-sections.txt:
25964 * docs/gst/tmpl/.cvsignore:
25966 * gst/gstelement.c: (gst_element_class_init),
25967 (gst_element_set_state), (activate_pads),
25968 (gst_element_save_thyself):
25969 * gst/gstevent.c: (gst_event_new_newsegment):
25971 * gst/gstiterator.c:
25972 * gst/gstiterator.h:
25975 * gst/gstutils.c: (gst_pad_query_convert):
25977 fixed parameter name mismatches between source, header and docs
25978 added some more docs, resolved the last batch of unused elements in
25979 docs (now someone needs to doc them)
25981 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25983 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25984 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25985 don't walk through the plugins backwards. Where is all this
25986 reversed logic coming from ?
25988 2005-08-25 Wim Taymans <wim@fluendo.com>
25990 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25991 (gst_base_transform_transform_size),
25992 (gst_base_transform_configure_caps),
25993 (gst_base_transform_get_unit_size),
25994 (gst_base_transform_buffer_alloc),
25995 (gst_base_transform_change_state):
25996 * gst/base/gstbasetransform.h:
25997 Cache caps unit_size.
25998 Make sure we cannot negotiate up and downstream at the
26001 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26003 * gst/gst.c: (init_pre), (init_post):
26004 register the installed plugin path after the env var
26005 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26006 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26007 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26008 directories, so the tests can prefer uninstalled over installed
26010 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26012 * gst/base/gstbasetransform.h:
26017 2005-08-25 Wim Taymans <wim@fluendo.com>
26019 * gst/gstbin.c: (bin_bus_handler):
26020 Be a bit more conservative about the posted message.
26022 * gst/gstbus.c: (gst_bus_post):
26023 Some cleanups, warn wrong return values.
26025 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26027 * check/gst/gstbin.c: (GST_START_TEST):
26028 * gst/gstbin.c: (bin_bus_handler):
26029 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26030 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26031 (gst_message_new_warning), (gst_message_new_tag),
26032 (gst_message_new_state_changed), (gst_message_new_segment_start),
26033 (gst_message_new_segment_done), (gst_message_new_custom):
26034 * gst/gstmessage.h:
26035 * tools/gst-launch.c: (event_loop):
26036 * tools/gst-md5sum.c: (event_loop):
26037 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26039 2005-08-25 Wim Taymans <wim@fluendo.com>
26041 * check/generic/states.c: (GST_START_TEST):
26042 Cleanup can be done at the end.
26044 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26045 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26046 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26047 Oh boy.. Thanks for finding this, Thomas.
26049 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26051 * docs/gst/gstreamer.types:
26052 added missing types
26054 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26056 * docs/gst/gstreamer-docs.sgml:
26057 * docs/gst/gstreamer-sections.txt:
26058 * docs/gst/tmpl/.cvsignore:
26060 * gst/gstiterator.c:
26062 * gst/registries/gstxmlregistry.h:
26063 added missing classes and symbols (123 more to go)
26064 removed removed symbols from section file
26065 fixed many doc-comments
26067 2005-08-24 Wim Taymans <wim@fluendo.com>
26069 * check/generic/states.c: (GST_START_TEST):
26070 Make sure all tasks are stopped.
26072 * check/gst/gstbin.c: (GST_START_TEST):
26073 Unref after usage for proper valgrinding.
26075 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26076 Really wait for the task to stop before destroying the
26079 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26080 (gst_queue_src_activate_push):
26081 Small cleanups. Don't stop the task when we did not start
26084 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26085 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26086 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26089 Protect the stream lock with the object lock.
26090 Disallow setting the stream lock when running.
26091 Add cleanup_all to wait for the threadpool to finish.
26092 Remove code to autoallocate a mutex if none was provided.
26093 Add _join() to wait for a task to stop.
26094 Protect the thread pool with a global lock.
26096 2005-08-24 Wim Taymans <wim@fluendo.com>
26098 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26099 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26100 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26101 * gst/base/gstbasesink.h:
26102 Handle newsegment events correctly.
26103 Drop buffers out of the segment range.
26105 2005-08-22 Andy Wingo <wingo@pobox.com>
26107 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26108 macro, implements an interface and gstimplementsinterface for a
26111 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26113 * check/Makefile.am:
26114 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26115 add a test that does a bunch of state changes on elements
26116 needs some fixing for valgrind
26117 * check/states/sinks.c: (gst_object_suite):
26120 add prototype for gst_caps_is_equal_fixed
26122 * gst/gstregistrypool.c:
26125 2005-08-24 Andy Wingo <wingo@pobox.com>
26127 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26128 convert a negative value. Doesn't make much sense. Mostly this is
26129 here to force callers to ensure -1 maps to -1.
26131 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26133 * docs/pwg/advanced-types.xml:
26134 Well done to Michael for catching my deliberate introduction
26135 of this spelling mistake.
26136 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26137 * gst/gstelement.h:
26138 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26139 unlink pads before removing the element from the bin.
26141 2005-08-24 Andy Wingo <wingo@pobox.com>
26143 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26144 the same thing as GST_DEBUG=*:4.
26145 (parse_debug_level, parse_debug_category): New helper parsers.
26147 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26149 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26150 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26151 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26152 (gst_base_transform_buffer_alloc),
26153 (gst_base_transform_handle_buffer):
26154 use gboolean return values and pointers to size so we can use the
26155 full GST_BUFFER_SIZE range (guint) for buffer sizes
26156 use GstPadDirection for transform_caps
26157 * gst/base/gstbasetransform.h:
26158 rename get_size to get_unit_size since that's what it is
26159 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26160 use GstPadDirection for transform_caps
26161 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26163 cleanup and debugging
26165 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26167 * gst/gstelement.c: (gst_element_class_init),
26168 (gst_element_set_state), (activate_pads),
26169 (gst_element_save_thyself):
26170 * tools/gst-compprep.c: (main):
26171 * tools/gst-inspect.c: (print_element_properties_info):
26172 * tools/gst-xmlinspect.c: (print_element_properties):
26173 Fixed long standing mem-leak
26175 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26177 * check/gst/gstbin.c: (GST_START_TEST):
26178 * gst/gstbin.c: (bin_bus_handler):
26179 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26180 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26181 (gst_message_new_warning), (gst_message_new_tag),
26182 (gst_message_new_state_changed), (gst_message_new_segment_start),
26183 (gst_message_new_segment_done), (gst_message_new_custom):
26184 * gst/gstmessage.h:
26185 * tools/gst-launch.c: (event_loop):
26186 * tools/gst-md5sum.c: (event_loop):
26187 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26188 that applications can sensibly post custom messages with references
26189 to their own objects.
26191 2005-08-24 Andy Wingo <wingo@pobox.com>
26193 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26196 2005-08-24 Wim Taymans <wim@fluendo.com>
26198 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26199 (gst_base_transform_transform_caps),
26200 (gst_base_transform_transform_size),
26201 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26202 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26203 (gst_base_transform_handle_buffer):
26204 * gst/base/gstbasetransform.h:
26205 Many fixes and new features added by Thomas. Can now also do
26206 transforms with variable sizes and a custom fixate_caps function.
26208 2005-08-24 Wim Taymans <wim@fluendo.com>
26210 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26214 Cast to ClockTime before formatting to time.
26219 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26221 * check/gst-libs/controller.c: (GST_START_TEST),
26222 (gst_controller_suite):
26223 * docs/gst/tmpl/gstcaps.sgml:
26224 * docs/gst/tmpl/gstghostpad.sgml:
26225 * docs/gst/tmpl/gstquery.sgml:
26226 * docs/gst/tmpl/gstutils.sgml:
26227 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26228 (gst_object_sink_values), (gst_object_get_value_arrays),
26229 (gst_object_get_value_array):
26230 gracefully handle helper method calls to objects that are not beeing
26231 controlled, added test case for that
26233 2005-08-23 Wim Taymans <wim@fluendo.com>
26235 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26236 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26237 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26238 (gst_event_parse_qos), (gst_event_new_seek),
26239 (gst_event_parse_seek):
26241 Some more debugging output and doc cleanups.
26243 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26244 Fix possible deadlock.
26246 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26248 * docs/gst/gstreamer-docs.sgml:
26249 * docs/gst/gstreamer-sections.txt:
26250 * docs/gst/gstreamer.types:
26251 * docs/gst/tmpl/.cvsignore:
26254 * gst/gstelement.c:
26256 added 100 symbols from gstreamer-unused.txt to the right sections
26257 fixed more broken comments
26258 added GstBus to docs
26260 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26262 * docs/gst/gstreamer-sections.txt:
26263 * docs/gst/tmpl/.cvsignore:
26264 * docs/gst/tmpl/gstbin.sgml:
26265 * docs/gst/tmpl/gstbuffer.sgml:
26266 * gst/base/gstbasesrc.c:
26267 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26270 * tools/gst-launch.1.in:
26271 inlined more doc comments, added missing comments and fixed comments
26274 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26276 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26280 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26282 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26283 * gst/gststructure.h:
26284 add a fixate function for booleans; add a FIXME that these func
26285 names should probably be gst_structure_fixate_*
26287 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26289 * docs/gst/gstreamer-docs.sgml:
26290 * docs/gst/gstreamer-sections.txt:
26292 * gst/gstbin.c: (gst_bin_get_type),
26293 (gst_bin_child_proxy_get_child_by_index),
26294 (gst_bin_child_proxy_get_children_count),
26295 (gst_bin_child_proxy_init):
26296 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26297 (gst_child_proxy_get_child_by_index),
26298 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26299 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26300 (gst_child_proxy_get), (gst_child_proxy_set_property),
26301 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26302 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26303 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26304 * gst/gstchildproxy.h:
26305 * gst/parse/grammar.y:
26306 * tools/gst-inspect.c: (print_interfaces),
26307 (print_element_properties_info), (print_element_info):
26308 ported gstchildproxy over from 0.8
26309 ported gst-inspect fixes and enhancements over from 0.8
26311 2005-08-22 Wim Taymans <wim@fluendo.com>
26313 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26314 (gst_base_transform_handle_buffer):
26315 Also call the transform function if we have ANY caps.
26317 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26320 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26322 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26323 Don't pretend to handle seek events if the source is not seekable
26325 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26328 Remove extra parameter to debug output
26330 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26331 (gst_base_src_do_seek), (gst_base_src_activate_push):
26332 Fix seek event handling.
26334 * gst/gstpipeline.c: (gst_pipeline_change_state):
26335 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26336 (gst_queue_src_activate_push):
26337 Don't start the src pad task on FLUSH_STOP if the pad
26341 2005-08-22 Wim Taymans <wim@fluendo.com>
26343 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26344 Added check for gst_static_caps_get() refcounting.
26346 2005-08-22 Wim Taymans <wim@fluendo.com>
26348 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26349 Make _static_caps_get() refcounting sane.
26351 * gst/gstelement.c: (gst_element_set_state):
26352 Add g_return_val_if_fail() to protect against segfaults.
26354 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26356 * docs/gst/tmpl/gstevent.sgml:
26359 inlined remaining docs, added missing doc comments
26361 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26363 * check/gst/gstbin.c: (GST_START_TEST):
26364 since we don't know when preroll is done, use refcount range
26366 * gst/check/gstcheck.h:
26367 add macro for checking refcount range
26369 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26371 * check/Makefile.am:
26372 clean up environment for when registry gets built versus
26373 when actual tests are run; valgrind seems to not report
26374 leaks if GST_PLUGIN_PATH is set to some specific values
26375 * check/gst/gstbin.c: (GST_START_TEST):
26376 add more refcounting checks; maybe this exposes a
26378 * common/check.mak:
26379 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26380 * gst/check/gstcheck.h:
26381 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26382 (gst_bin_change_state):
26383 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26384 add/fix debugging/whitespace
26386 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26388 * check/gst/gstevent.c: (event_probe), (test_event),
26390 Er, don't call gst_bin_watch_for_state_change you idiot.
26392 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26394 * check/Makefile.am:
26395 Use CHECK_CFLAGS and CHECK_LIBS
26396 * check/gst/gstevent.c: (event_probe), (test_event),
26399 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26400 (gst_base_src_start), (gst_base_src_stop),
26401 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26402 (gst_base_src_change_state):
26403 Sprinkle gst_base_src_stop liberally around error paths to fix
26404 problems reusing a source after failed state changes.
26405 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26406 (helper_find_suggest), (gst_type_find_helper):
26407 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26409 * docs/gst/tmpl/gstevent.sgml:
26410 Migrate part of the docs from the SGML file. Wait for ensonic to
26411 tell me how I did it wrong ;)
26412 * tools/gst-typefind.c: (main):
26413 Extra robustness to state changes between files.
26415 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26417 * check/Makefile.am:
26418 don't valgrind the controller test - it's leaking - Stefan, HELP
26419 * gst/check/gstcheck.c: (gst_check_message_error),
26420 (gst_check_chain_func), (gst_check_setup_element),
26421 (gst_check_teardown_element), (gst_check_setup_src_pad),
26422 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26423 (gst_check_teardown_sink_pad):
26424 * gst/check/gstcheck.h:
26425 add a bunch of methods to set up elements, and src and sink pads
26426 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26427 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26430 * gst/gstmessage.c:
26432 whitespace/doc fixes
26434 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26436 * gst/gstelement.h:
26437 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26438 be handled by the application and not always printed as well
26440 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26442 * check/Makefile.am:
26444 * gst/check/gstcheck.c: (gst_check_message_error):
26445 * gst/check/gstcheck.h:
26446 add a fail_unless_equals_int
26447 add fail_unless for error messages
26449 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26451 * check/Makefile.am:
26453 * common/Makefile.am:
26454 * common/check.mak:
26456 factor out some of the common stuff so we can use it
26458 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26460 * check/Makefile.am:
26461 * check/gst/gstiterator.c: (GST_START_TEST):
26462 * check/gst/gstsystemclock.c: (GST_START_TEST),
26463 (gst_systemclock_suite):
26464 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26466 valgrind more tests
26468 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26470 * check/elements/.cvsignore:
26471 * check/elements/gstfakesrc.c:
26472 rename to name of element
26473 * check/elements/identity.c: (chain_func), (event_func),
26474 (setup_identity), (cleanup_identity), (GST_START_TEST),
26475 (identity_suite), (main):
26476 add a test for identity
26477 * check/Makefile.am:
26478 * pkgconfig/Makefile.am:
26479 * pkgconfig/gstreamer-check.pc.in:
26480 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26484 move the check stuff to a library that gets installed
26485 * check/gst-libs/controller.c: (GST_START_TEST):
26486 * check/gst-libs/gdp.c:
26487 * check/gst/gst.c: (GST_START_TEST):
26488 * check/gst/gstbin.c:
26489 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26490 * check/gst/gstbus.c:
26491 * check/gst/gstcaps.c: (GST_START_TEST):
26492 * check/gst/gstelement.c:
26493 * check/gst/gstghostpad.c:
26494 * check/gst/gstiterator.c:
26495 * check/gst/gstmessage.c:
26496 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26497 * check/gst/gstobject.c:
26498 * check/gst/gstpad.c: (GST_START_TEST):
26499 * check/gst/gststructure.c: (GST_START_TEST):
26500 * check/gst/gstsystemclock.c: (GST_START_TEST),
26501 (gst_systemclock_suite):
26502 * check/gst/gsttag.c: (gst_tag_suite):
26503 * check/gst/gstvalue.c:
26504 * check/pipelines/cleanup.c:
26505 * check/pipelines/simple_launch_lines.c:
26506 * check/states/sinks.c:
26507 change include statement
26509 * docs/gst/gstreamer-sections.txt:
26510 * docs/gst/tmpl/gstpad.sgml:
26511 document more pad stuff
26512 * gst/gstminiobject.c: (gst_mini_object_ref),
26513 (gst_mini_object_unref):
26516 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26518 * docs/gst/tmpl/gst.sgml:
26520 eliminate another tmpl file, fix spelling in the long-description
26522 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26524 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26525 (test_event), (timediff), (gstevents_suite):
26526 Should fix build on 64-bit arch's
26528 2005-08-18 Andy Wingo <wingo@pobox.com>
26530 Make sure that when a pipeline goes to PLAYING, that data has
26531 actually hit the sink.
26533 * check/states/sinks.c (test_sink): A sink that doesn't get any
26534 data shouldn't return SUCCESS for going to either PLAYING or
26535 PAUSED. Test also the return values on the way back down.
26537 * gst/gstelement.c (gst_element_set_state): When changing the
26538 state of an element currently changing state asynchronously, go to
26539 lost-state after commiting the pending state. Makes future calls
26540 to get_state continue to return ASYNC.
26542 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26543 ASYNC when going to PLAYING if we still don't have preroll, as can
26544 happen with live sources.
26546 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26548 * docs/pwg/advanced-types.xml:
26549 Hack long paragraph into 2 chunks as a workaround for buggy
26550 jadetex version in sid and breezy that loops infinitely and
26553 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26555 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26556 (test_event), (timediff), (gstevents_suite):
26557 Provide more error margin in clock measurements to allow for
26558 g_get_current_time inaccuracies.
26560 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26562 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26563 (test_event), (timediff), (gstevents_suite):
26564 Fix error message output so I might be able to tell why the
26565 test works here but fails on the build farm.
26567 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26569 * check/Makefile.am:
26570 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26571 (test_event), (timediff), (gstevents_suite), (main):
26574 * docs/design/part-seeking.txt:
26575 Spelling correction
26577 * docs/gst/tmpl/gstevent.sgml:
26578 * docs/gst/tmpl/gstfakesrc.sgml:
26581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26582 Treat a buffer-without-newsegment the same as a receiving
26583 a newsegment not in time format, and disable syncing to the clock
26586 * gst/gstbus.c: (gst_bus_set_sync_handler):
26587 Assert if anyone tries to replace the existing sync_handler for bus,
26588 as only the owner should be setting it.
26591 Have a fixed set of custom event enums with events identified by
26592 their structure name (as in 0.8), rather than a free-for-all
26593 allowing collisions between enum values from different plugins.
26595 * gst/gstpad.c: (gst_pad_class_init):
26598 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26599 Handle out-of-band downstream events from the sending thread.
26601 2005-08-17 Andy Wingo <wingo@pobox.com>
26603 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26604 play-timeout==0 to mean no timeout at all. In that case, don't
26605 bother with a get_state or a warning, just return directly, even
26608 * gst/base/gstbasetransform.c: Debug changes.
26611 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26612 ensure bins post state change messages. A bit of a hack but I can't
26613 think of a way to avoid it.
26615 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26617 2005-08-16 Andy Wingo <wingo@pobox.com>
26619 * gst/base/gstadapter.h:
26620 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26621 peek() but you own the data. Not terribly efficient atm.
26623 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26625 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26626 (gst_element_found_tags):
26628 Add two utility functions for tag handling.
26630 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26632 * docs/manual/advanced-dataaccess.xml:
26633 * docs/manual/basics-helloworld.xml:
26634 Fix docs to use _bin_add() before _link(), which fixes the examples
26635 with recent core versions (reported by Madhan Raj M
26636 <raj_madan@rediffmail.com>, #313199).
26638 2005-08-16 Wim Taymans <wim@fluendo.com>
26640 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26641 Added subtract checks.
26643 * docs/design/part-events.txt:
26644 Some more docs about newsegment
26646 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26649 * gst/gstcaps.c: (gst_caps_to_string):
26650 Add comments, cleanups.
26652 * gst/gstelement.c: (gst_element_save_thyself):
26655 * gst/gstvalue.c: (gst_value_collect_int_range),
26656 (gst_string_unwrap), (gst_value_union_int_int_range),
26657 (gst_value_union_int_range_int_range),
26658 (gst_value_intersect_int_int_range),
26659 (gst_value_intersect_int_range_int_range),
26660 (gst_value_intersect_double_double_range),
26661 (gst_value_intersect_double_range_double_range),
26662 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26663 (gst_value_subtract_int_range_int),
26664 (gst_value_subtract_double_range_double),
26665 (gst_value_subtract_double_range_double_range),
26666 (gst_value_subtract_from_list), (gst_value_subtract_list),
26667 (gst_value_can_compare), (gst_value_compare_fraction):
26668 Cleanups, add comments, remove unneeded asserts.
26670 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26672 * tools/gst-launch.c: (event_loop):
26673 don't convert NULL structures to strings
26675 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26677 * docs/gst/gstreamer-sections.txt:
26678 made some defines private
26679 * docs/gst/tmpl/gstconfig.sgml:
26680 * docs/gst/tmpl/gstqueue.sgml:
26681 * docs/gst/tmpl/gsttaglist.sgml:
26682 * docs/gst/tmpl/gsttypes.sgml:
26683 * docs/gst/tmpl/gstutils.sgml:
26684 * docs/pwg/appendix-porting.xml:
26685 * gst/base/gstbasesink.h:
26686 * gst/base/gstbasesrc.c:
26687 * gst/base/gstbasesrc.h:
26688 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26689 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26690 * gst/gstelement.c: (gst_element_class_init):
26691 * gst/gstpad.c: (gst_pad_class_init):
26692 * gst/gstqueue.c: (gst_queue_class_init):
26693 * gst/gstxml.c: (gst_xml_class_init):
26694 documented all undocumented signal inline
26695 * libs/gst/controller/gst-controller.h:
26698 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26700 * docs/pwg/appendix-porting.xml:
26701 Document _set_link_function -> _set_setcaps_function.
26703 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26705 * check/Makefile.am:
26706 add a .check target for running the check
26707 * check/gst-libs/controller.c: (GST_START_TEST):
26709 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26710 complete checks for gstbuffer; would be nice if I could get the
26711 gcov stuff to work so I can see if I actually completed gstbuffer.c
26712 * check/gstcheck.h:
26713 add ASSERT_BUFFER_REFCOUNT
26715 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26717 * docs/gst/gstreamer-sections.txt:
26718 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26720 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26721 spew out a warning if a tag that is already registered
26722 is re-registered, unless it is re-registered with a
26723 different type (#308438).
26725 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26727 * docs/pwg/appendix-porting.xml:
26728 * docs/pwg/building-state.xml:
26729 Add some paragraphs about state changes in 0.9 to the PWG
26730 and the porting guide, in particular about the new meaning
26731 of GST_STATE_PAUSED and how to write state change functions
26732 with concurrent access by multiple threads in mind.
26734 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26736 * docs/gst/gstreamer-docs.sgml:
26737 * docs/libs/gstreamer-libs-docs.sgml:
26738 added deprecation and since indexes
26739 * libs/gst/controller/gst-controller.c:
26740 * libs/gst/controller/gst-helper.c:
26744 2005-08-11 Wim Taymans <wim@fluendo.com>
26746 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26747 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26748 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26749 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26750 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26751 (gst_ghost_pad_set_target):
26752 Actually implement (re)setting the target on a ghostpad
26753 as described in the docs.
26755 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26757 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26758 Check whether GST_DEBUG_NO_COLOR environment variable is
26759 set and disable coloured debug output if that is the case.
26761 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26763 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26764 (gst_type_find_helper):
26765 The memory returned by gst_type_find_peek() needs to
26766 stay valid until the end of a typefind function, and
26767 typefind functions may keep results from different
26768 offsets around, so we can't just unref the buffer from
26769 the previous _peek(), but have to save all buffers
26770 returned by _peek() until typefinding is done and only
26773 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26775 * docs/gst/gstreamer-sections.txt:
26777 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26779 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26781 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26782 Fix a pretty good memleak.
26784 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26786 * gst/gstiterator.h:
26787 Fix wrong include and 'make distcheck'.
26789 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26791 * gst/gstbin.c: (bin_bus_handler):
26792 Use gst_element_post_message() instead.
26794 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26796 * gst/base/gstadapter.h:
26797 * gst/base/gstbasesink.h:
26798 * gst/base/gstbasesrc.h:
26799 * gst/base/gstbasetransform.h:
26800 * gst/base/gstcollectpads.h:
26801 * gst/base/gstpushsrc.h:
26802 * gst/gstiterator.h:
26803 Add padding to our base elements' class and instance structs and
26804 to GstIterator (you will need to rebuild all plugins and apps!)
26806 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26808 * gst/gstbin.c: (bin_bus_handler):
26809 Make default message forwarding from child->bus to bin->bus
26810 threadsafe and make it not emit warnings if the parent has no bus.
26812 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26814 * gst/gstelement.c: (activate_pads):
26815 On paused->ready, set pad->caps to NULL, as is the documented
26816 behaviour in this state change. Fixes playback of series of
26817 media files when visualization is enabled in Totem.
26819 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26821 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26822 Allow NULL as filter-caps (which means "any").
26824 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26826 * docs/libs/gstreamer-libs-sections.txt:
26827 * libs/gst/controller/gst-controller.c:
26828 * libs/gst/controller/gst-controller.h:
26829 * libs/gst/controller/gst-helper.c:
26830 adding more entries to the docs and fix small doc-bugs
26832 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26834 * docs/gst/gstreamer-docs.sgml:
26835 * docs/gst/gstreamer-sections.txt:
26836 * docs/gst/gstreamer.types:
26837 * docs/gst/tmpl/gstbasesink.sgml:
26838 * docs/gst/tmpl/gstbasesrc.sgml:
26839 * docs/gst/tmpl/gstbasetransform.sgml:
26840 * docs/gst/tmpl/gstfakesrc.sgml:
26841 * gst/base/gstcollectpads.c:
26842 * gst/base/gstcollectpads.h:
26843 * libs/gst/controller/gst-controller.c:
26844 * libs/gst/controller/gst-controller.h:
26845 * libs/gst/controller/gst-helper.c:
26846 * libs/gst/controller/gst-interpolation.c:
26847 * libs/gst/controller/lib.c:
26848 added long/short desc for controller docs
26849 added collectpads base class docs
26850 added correct includes to base-class docs
26852 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26854 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26855 (gst_test_mono_source_set_property),
26856 (gst_test_mono_source_class_init), (GST_START_TEST),
26857 (gst_controller_suite):
26858 * docs/gst/gstreamer-docs.sgml:
26859 * docs/gst/gstreamer-sections.txt:
26860 * docs/gst/gstreamer.types:
26861 * docs/libs/gstreamer-libs-docs.sgml:
26862 * docs/libs/gstreamer-libs-sections.txt:
26863 * gst/base/gstadapter.c:
26864 * libs/gst/controller/gst-controller.c:
26865 (gst_controlled_property_new), (gst_controlled_property_free),
26866 (gst_controller_new_valist),
26867 (gst_controller_remove_properties_valist),
26868 (gst_controller_sink_values), (_gst_controller_finalize):
26869 * libs/gst/controller/gst-controller.h:
26870 * libs/gst/controller/gst-helper.c:
26871 (gst_object_control_properties), (gst_object_uncontrol_properties),
26872 (gst_object_get_controller), (gst_object_set_controller),
26873 (gst_object_sink_values), (gst_object_get_value_arrays),
26874 (gst_object_get_value_array):
26875 more tests (and fixes) for the controller
26876 more docs for the controller
26877 integrated companies docs for the adapter
26879 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26881 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26882 (GST_START_TEST), (fakesrc_suite):
26883 add tests for sizetype
26885 2005-08-04 Andy Wingo <wingo@pobox.com>
26887 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26888 fixes buffer_alloc proxying among other things.
26890 * gst/base/gstbasetransform.c:
26891 * gst/base/gstbasetransform.h:
26892 Revert patch to gstbasetransform from 7-28 removing
26895 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26896 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26897 Semantics changed, should return not the size of the output buffer
26898 but the byte size of a buffer with a given caps.
26900 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26902 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26903 out) are not the pad caps until setcaps finishes.
26904 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26905 not-in-place case as well. Deal with changing from in-place to
26906 not-in-place within calling pad_alloc_buffer. Still a bit
26907 concerned about the overhead here...
26909 2005-08-03 Andy Wingo <wingo@pobox.com>
26911 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26912 fixating is an error.
26914 2005-08-04 Edward Hervey <edward@fluendo.com>
26916 * gst/base/gstadapter.h:
26917 Added gst_adapter_get_type() to the header
26919 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26921 * check/Makefile.am:
26922 * check/gst-libs/controller.c:
26923 * libs/gst/controller/gst-controller.c:
26924 (gst_controller_new_valist):
26925 added check test suite for the controller
26926 * gst/base/gstpushsrc.c:
26929 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26931 * docs/gst/Makefile.am:
26932 * docs/gst/gstreamer-docs.sgml:
26933 * docs/gst/gstreamer-sections.txt:
26934 * docs/gst/gstreamer.types:
26935 * docs/gst/tmpl/gstfakesrc.sgml:
26937 * gst/base/gstbasesink.c:
26938 * gst/base/gstbasesink.h:
26939 * gst/base/gstbasesrc.c:
26940 * gst/base/gstbasesrc.h:
26941 * gst/base/gstbasetransform.c:
26942 * gst/base/gstpushsrc.c:
26943 * gst/base/gstpushsrc.h:
26944 add short/long description docs to base classes
26945 add pushsrc to the docs
26946 remove consolidated doc fragments
26948 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26951 * docs/libs/Makefile.am:
26952 * docs/libs/gstreamer-libs-docs.sgml:
26953 * docs/libs/gstreamer-libs-sections.txt:
26954 * docs/libs/gstreamer-libs.types:
26955 * examples/Makefile.am:
26956 * examples/controller/.cvsignore:
26957 * examples/controller/Makefile.am:
26958 * examples/controller/audio-example.c: (main):
26959 * libs/gst/Makefile.am:
26960 * libs/gst/controller/.cvsignore:
26961 * libs/gst/controller/Makefile.am:
26962 * libs/gst/controller/gst-controller.c:
26963 (on_object_controlled_property_changed), (gst_timed_value_compare),
26964 (gst_timed_value_find),
26965 (gst_controlled_property_set_interpolation_mode),
26966 (gst_controlled_property_new), (gst_controlled_property_free),
26967 (gst_controller_find_controlled_property),
26968 (gst_controller_new_valist), (gst_controller_new),
26969 (gst_controller_remove_properties_valist),
26970 (gst_controller_remove_properties), (gst_controller_set),
26971 (gst_controller_set_from_list), (gst_controller_unset),
26972 (gst_controller_get), (gst_controller_get_all),
26973 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26974 (gst_controller_get_value_array),
26975 (gst_controller_set_interpolation_mode),
26976 (_gst_controller_finalize), (_gst_controller_init),
26977 (_gst_controller_class_init), (gst_controller_get_type):
26978 * libs/gst/controller/gst-controller.h:
26979 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26980 (g_object_uncontrol_properties), (g_object_get_controller),
26981 (g_object_set_controller), (g_object_sink_values),
26982 (g_object_get_value_arrays), (g_object_get_value_array):
26983 * libs/gst/controller/gst-interpolation.c:
26984 (gst_controlled_property_find_timed_value_node),
26985 (interpolate_none_get), (interpolate_trigger_get),
26986 (interpolate_trigger_get_value_array):
26987 * libs/gst/controller/lib.c: (gst_controller_init):
26988 * pkgconfig/Makefile.am:
26989 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26990 * pkgconfig/gstreamer-control.pc.in:
26991 * testsuite/Makefile.am:
26992 * testsuite/controller/.cvsignore:
26993 * testsuite/controller/Makefile.am:
26994 * testsuite/controller/interpolator.c: (main):
26995 added controller code
26996 removed dparam pc files
26998 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26999 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27000 (gst_collectpads_stop):
27001 Broadcast the condition when shutting down, to make sure we wake all
27002 threads up. Shut down pads on finalize, for safety.
27004 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27005 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27006 (gst_base_transform_handle_buffer),
27007 (gst_base_transform_change_state):
27008 Handle PAUSED->READY->PAUSED transition after negotiation
27010 * gst/gstmessage.c: (gst_message_init):
27011 Extra piece of debug for new messages.
27013 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27016 * docs/gst/tmpl/gstbasesrc.sgml:
27017 * docs/gst/tmpl/gstelement.sgml:
27018 * docs/gst/tmpl/gstevent.sgml:
27019 * docs/gst/tmpl/gstfakesrc.sgml:
27020 * docs/gst/tmpl/gstformat.sgml:
27021 * docs/gst/tmpl/gstghostpad.sgml:
27022 * docs/gst/tmpl/gstpad.sgml:
27023 * docs/gst/tmpl/gstquery.sgml:
27024 * docs/gst/tmpl/gststructure.sgml:
27025 * docs/gst/tmpl/gsttaglist.sgml:
27026 * docs/gst/tmpl/gstvalue.sgml:
27027 * docs/libs/gstreamer-libs-docs.sgml:
27028 * docs/libs/gstreamer-libs-sections.txt:
27029 * docs/libs/gstreamer-libs.types:
27030 * libs/gst/Makefile.am:
27031 * libs/gst/control/.cvsignore:
27032 * libs/gst/control/Makefile.am:
27033 * libs/gst/control/control.c:
27034 * libs/gst/control/control.h:
27035 * libs/gst/control/dparam.c:
27036 * libs/gst/control/dparam.h:
27037 * libs/gst/control/dparam_smooth.c:
27038 * libs/gst/control/dparam_smooth.h:
27039 * libs/gst/control/dparamcommon.h:
27040 * libs/gst/control/dparammanager.c:
27041 * libs/gst/control/dparammanager.h:
27042 * libs/gst/control/dplinearinterp.c:
27043 * libs/gst/control/dplinearinterp.h:
27044 * libs/gst/control/unitconvert.c:
27045 * libs/gst/control/unitconvert.h:
27046 * testsuite/Makefile.am:
27047 * testsuite/dynparams/.cvsignore:
27048 * testsuite/dynparams/Makefile.am:
27049 * testsuite/dynparams/dparamstest.c:
27050 * tools/Makefile.am:
27051 * tools/gst-inspect.c: (print_element_info), (main):
27052 * tools/gst-xmlinspect.c: (print_element_info), (main):
27053 deactivate and remove dparams (libgstcontrol)
27055 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27057 * gst/elements/gsttypefindelement.c:
27058 (gst_type_find_element_have_type), (gst_type_find_element_init),
27059 (stop_typefinding), (gst_type_find_element_handle_event),
27060 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27061 * gst/elements/gsttypefindelement.h:
27062 Set caps on all outgoing buffers, not just the first one.
27064 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27066 * gst/elements/gsttypefindelement.c:
27067 (gst_type_find_element_have_type),
27068 (gst_type_find_element_check_set_buffer_caps),
27069 (gst_type_find_element_init), (stop_typefinding),
27070 (gst_type_find_element_handle_event),
27071 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27072 * gst/elements/gsttypefindelement.h:
27073 Set caps on first outgoing buffer when we've found the type.
27075 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27077 * docs/gst/gstreamer-docs.sgml:
27078 * docs/gst/gstreamer-sections.txt:
27079 * docs/gst/tmpl/gstscheduler.sgml:
27080 * docs/gst/tmpl/gstschedulerfactory.sgml:
27081 Remove some old cruft from docs.
27083 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27086 Fix inline docs for GstPadLinkReturn.
27088 * gst/gststructure.c: (gst_structure_has_name):
27089 * gst/gststructure.h:
27090 * docs/gst/gstreamer-sections.txt:
27091 New API: gst_structure_has_name().
27093 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27096 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27097 and _LARGEFILE_SOURCE in config.h as required. Do not
27098 export those flags in our .pc files any longer (#142209).
27100 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27102 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27103 (gst_file_sink_do_seek), (gst_file_sink_event),
27104 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27105 Redo seek/tell calls with large file support in mind; add some
27106 debugging messages; add log message that tells us when large
27107 file support is unavailable or not enabled for some reason.
27109 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27110 Add log message that tells us when large file support
27111 is unavailable or not enabled for some reason.
27113 2005-07-29 Wim Taymans <wim@fluendo.com>
27115 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27116 Added test for removing an element with ghostpad from a bin.
27117 Fixed test as current implementation does the right thing.
27119 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27120 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27121 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27122 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27123 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27124 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27125 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27126 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27127 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27128 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27129 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27130 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27131 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27132 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27133 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27134 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27135 * gst/gstghostpad.h:
27136 Clean up ghostpads, remove properties for internal stuff.
27139 Prepare for switching targets, not all use cases work yet.
27141 2005-07-29 Wim Taymans <wim@fluendo.com>
27143 * docs/design/part-gstghostpad.txt:
27146 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27147 (gst_bin_remove_func):
27148 Unlinking pads while holding the bin LOCK is not a good
27151 * gst/gstpad.c: (gst_pad_class_init),
27152 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27153 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27154 No prob setting template after creating the pad.
27156 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27158 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27159 (gst_bus_peek), (gst_bus_source_dispatch),
27160 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27161 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27162 gst_bus_poll may be called from other threads. Handle
27163 this nicely by not making poll_data disappear off the
27164 stack once gst_bus_poll returns.
27165 gst_bus_peek now increments the refcount on the returned
27168 2005-07-29 Wim Taymans <wim@fluendo.com>
27170 * docs/design/part-gstghostpad.txt:
27171 Overview of current GhostPad datastructures and use
27172 cases for changing the target.
27174 2005-07-28 Wim Taymans <wim@fluendo.com>
27176 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27177 Added checks for hierarchy consistency whan adding linked
27180 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27181 Added check to test element scheduling without bin/pipeline.
27183 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27184 First add elements to bin, then link.
27186 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27187 (gst_bin_remove_func):
27188 Unlink pads from elements added/removed from bin to maintain
27189 hierarchy consistency.
27191 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27193 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27194 (gst_base_transform_handle_buffer):
27195 * gst/base/gstbasetransform.h:
27196 Remove broken delay_configure (fixes renegotiation of software
27197 scaling pipelines); remove some leftover printf()s.
27199 2005-07-28 Wim Taymans <wim@fluendo.com>
27201 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27202 Added some more tests for wrong hierarchy
27204 * docs/design/part-overview.txt:
27207 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27210 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27211 (gst_element_dispose):
27212 Some more cleanups.
27214 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27215 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27216 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27217 (gst_pad_set_caps), (gst_pad_send_event):
27218 Check for correct hierarchy when linking pads. Moving to
27219 strict requirement for ghostpads when linking elements in
27223 Clean ups. Added WRONG_HIERARCHY return value.
27225 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27227 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27228 Better debug if no transform is possible.
27230 2005-07-27 Wim Taymans <wim@fluendo.com>
27232 * docs/random/wtay/network-transp:
27233 Some old doc I had.
27235 2005-07-27 Wim Taymans <wim@fluendo.com>
27237 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27238 (gst_dp_event_from_packet):
27239 Fix serialization of seek events.
27241 2005-07-27 Wim Taymans <wim@fluendo.com>
27243 * check/gst-libs/gdp.c: (GST_START_TEST):
27244 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27245 Fix compilation and fix event serialization.
27247 2005-07-27 Wim Taymans <wim@fluendo.com>
27250 * docs/design/part-TODO.txt:
27251 * docs/design/part-events.txt:
27254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27255 (gst_base_sink_event), (gst_base_sink_do_sync),
27256 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27257 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27258 (gst_base_src_do_seek), (gst_base_src_event_handler),
27259 (gst_base_src_loop):
27260 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27261 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27262 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27263 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27264 (gst_base_transform_set_passthrough),
27265 (gst_base_transform_is_passthrough):
27266 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27267 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27273 * gst/gstelement.c: (gst_element_seek):
27274 * gst/gstelement.h:
27275 Update gst_element_seek.
27277 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27278 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27279 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27280 (gst_event_new_eos), (gst_event_new_newsegment),
27281 (gst_event_parse_newsegment), (gst_event_new_tag),
27282 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27283 (gst_event_parse_qos), (gst_event_new_seek),
27284 (gst_event_parse_seek), (gst_event_new_navigation):
27286 Make GstEvent use GstStructure. Add parsing code, make sure the
27287 API is sufficiently generic.
27288 Mark possible directions of events and serialization.
27290 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27291 (_gst_message_copy), (gst_message_new_segment_start),
27292 (gst_message_new_segment_done), (gst_message_new_custom),
27293 (gst_message_parse_segment_start),
27294 (gst_message_parse_segment_done):
27297 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27298 (gst_pad_set_caps), (gst_pad_send_event):
27299 Update for new events.
27300 Catch events sent in wrong directions.
27302 * gst/gstqueue.c: (gst_queue_link_src),
27303 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27304 (gst_queue_handle_src_query):
27309 Remove event code from this file.
27311 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27312 (gst_dp_event_from_packet):
27315 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27317 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27318 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27319 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27320 Make debugging actually useful.
27322 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27324 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27325 (gst_pad_fixate_caps):
27326 Implement default fixation once again, so that gst_pad_fixate()
27327 actually does anything at all. This probably needs to be some
27328 sort of a last resort, and use profile-based fixation first, but
27329 since that doesn't exist yet, this is the best we have. Fixes
27330 visualization in Totem.
27332 2005-07-22 Wim Taymans <wim@fluendo.com>
27334 * docs/design/part-events.txt:
27337 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27338 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27339 (gst_base_sink_activate_pull):
27340 Some more comments.
27342 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27343 (gst_fake_src_create):
27344 Fix handoff marshall.
27346 * gst/elements/gstidentity.c: (gst_identity_class_init),
27347 (gst_identity_transform_ip):
27348 We're a real inplace element.
27350 * gst/gstbus.c: (gst_bus_post):
27351 Added some comments.
27353 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27354 * tests/muxing/case1.c: (main):
27355 * tests/sched/dynamic-pipeline.c: (main):
27356 * tests/sched/interrupt1.c: (main):
27357 * tests/sched/interrupt2.c: (main):
27358 * tests/sched/interrupt3.c: (main):
27359 * tests/sched/runxml.c: (main):
27360 * tests/sched/sched-stress.c: (main):
27361 * tests/seeking/seeking1.c: (event_received), (main):
27362 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27364 * tests/threadstate/threadstate3.c: (main):
27365 * tests/threadstate/threadstate4.c: (main):
27366 * tests/threadstate/threadstate5.c: (main):
27369 2005-07-21 Wim Taymans <wim@fluendo.com>
27371 * docs/design/part-seeking.txt:
27372 Some small additions.
27374 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27375 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27376 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27377 * gst/base/gstbasesink.h:
27378 discont values are gint64, handle the math correctly.
27380 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27381 Make the basesrc report error if the source pad is not linked.
27383 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27384 (gst_queue_loop), (gst_queue_handle_src_query),
27385 (gst_queue_src_activate_push):
27386 Make queue collect data even if the srcpad is not linked.
27387 Start pushing out data as soon as it is linked.
27389 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27391 Added gst_flow_get_name() to ease error reporting.
27393 2005-07-20 Wim Taymans <wim@fluendo.com>
27395 * gst/gstmessage.c: (gst_message_new_segment_start),
27396 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27397 (gst_message_parse_segment_done):
27398 * gst/gstmessage.h:
27399 Added a bunch of messages for advanced seeking.
27401 * gst/parse/grammar.y:
27402 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27403 (gst_dpman_state_changed):
27404 Fix some new-pad -> pad-added signals
27406 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27408 * docs/manual/appendix-porting.xml:
27409 * docs/pwg/appendix-porting.xml:
27410 Document new-pad/state-change signal renames and the FixedList
27413 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27415 * docs/manual/advanced-autoplugging.xml:
27416 * docs/manual/basics-helloworld.xml:
27417 * docs/manual/basics-pads.xml:
27418 * docs/random/ds/0.9-suggested-changes:
27419 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27420 * gst/gstelement.h:
27424 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27425 (gst_structure_parse_array), (gst_structure_parse_value):
27426 * gst/gstvalue.c: (gst_type_is_fixed),
27427 (gst_value_list_prepend_value), (gst_value_list_append_value),
27428 (gst_value_list_get_size), (gst_value_list_get_value),
27429 (gst_value_transform_array_string), (gst_value_serialize_array),
27430 (gst_value_deserialize_array), (gst_value_intersect_array),
27431 (gst_value_is_fixed), (_gst_value_initialize):
27433 GstElement::new-pad -> pad-added, GstElement::state-change ->
27434 state-changed, GstValueFixedList -> GstValueArray, add format and
27435 flags as their own arguments in gst_element_seek() (should improve
27436 "bindeability"), remove function generators since they don't work
27437 under a whole bunch of compilers (they were deprecated already
27440 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27442 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27443 (_gst_debug_register_funcptr):
27445 Fix illegal cast on some platforms (#309253).
27447 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27449 * gst/gstmessage.c: (gst_message_new_custom):
27450 * gst/gstmessage.h:
27451 Add _new_custom, make _new_application a macro to _new_custom.
27453 2005-07-20 Wim Taymans <wim@fluendo.com>
27455 * gst/base/gstbasesrc.c: (gst_base_src_init),
27456 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27457 * gst/base/gstbasesrc.h:
27458 Add a gboolean to decide when to push out a discont.
27460 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27461 (gst_queue_loop), (gst_queue_handle_src_query),
27462 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27463 (gst_queue_set_property), (gst_queue_get_property):
27466 * tests/threadstate/threadstate1.c: (main):
27467 Make a thread test compile and run... very silly..
27470 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27472 * docs/manual/appendix-porting.xml:
27473 Mention removal of libgstgconf-0.9.la and existence of gconf
27476 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27478 * docs/pwg/advanced-clock.xml:
27479 * docs/pwg/appendix-porting.xml:
27480 * docs/pwg/intro-preface.xml:
27481 * docs/pwg/other-base.xml:
27482 * docs/pwg/other-manager.xml:
27483 * docs/pwg/other-nton.xml:
27484 * docs/pwg/other-ntoone.xml:
27485 * docs/pwg/other-oneton.xml:
27486 * docs/pwg/pwg.xml:
27487 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27488 demuxer), remove n-to-n (was never written), fix some code examples
27489 and links and update the porting section to include all this.
27491 2005-07-19 Wim Taymans <wim@fluendo.com>
27493 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27494 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27495 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27496 (gst_queue_src_activate_push), (gst_queue_change_state),
27497 (gst_queue_get_property):
27499 Propagate GstFlowReturn more intelligently upstream and output
27500 an ERROR/EOS when streaming stopped due to fatal error.
27502 2005-07-19 Wim Taymans <wim@fluendo.com>
27504 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27505 Don't block forever for the state change to complete, the
27506 pipeline already did with a sensible timeout.
27508 2005-07-19 Wim Taymans <wim@fluendo.com>
27510 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27511 Make sure we never call the create function is we
27514 2005-07-19 Andy Wingo <wingo@pobox.com>
27516 * gst/parse/parse.l: Attempt to solve bug #172815.
27518 2005-07-19 Wim Taymans <wim@fluendo.com>
27520 * docs/design/part-clocks.txt:
27521 * docs/design/part-events.txt:
27522 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27523 Small docs updates.
27524 Only update the seeking values when we are not
27527 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27529 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27530 Oops, ignore the result of gst_pad_push_event here.
27532 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27534 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27535 (gst_base_src_activate_push):
27536 Send discont event from the loop function, as pads
27537 aren't activated yet in the activate_push handler.
27539 * gst/gstbin.c: (bin_bus_handler):
27540 Don't leak element name.
27542 2005-07-18 Andy Wingo <wingo@pobox.com>
27544 * configure.ac: Use AS_LIBTOOL_TAGS.
27546 2005-07-18 Wim Taymans <wim@fluendo.com>
27548 * docs/gst/gstreamer.types:
27549 Remove deleted types.
27551 2005-07-18 Wim Taymans <wim@fluendo.com>
27553 * check/elements/gstfakesrc.c: (GST_START_TEST):
27556 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27557 (init_popt_callback):
27559 * gst/gst_private.h:
27560 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27561 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27564 * gst/gstconfig.h.in:
27565 * gst/gstelement.c: (gst_element_class_init),
27566 (gst_element_set_base_time), (gst_element_get_base_time),
27567 (iterator_fold_with_resync), (gst_element_change_state),
27568 (gst_element_dispose), (gst_element_get_bus):
27569 * gst/gstelement.h:
27570 * gst/gstelementfactory.h:
27571 * gst/gsterror.c: (_gst_core_errors_init):
27574 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27576 * gst/gstinfo.c: (_gst_debug_init):
27577 * gst/gstmessage.c: (_gst_message_copy):
27578 * gst/gstmessage.h:
27579 * gst/gstminiobject.h:
27582 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27583 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27586 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27587 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27588 (gst_pipeline_get_last_stream_time):
27589 * gst/gstpipeline.h:
27590 * gst/gstpluginfeature.h:
27592 * gst/gstscheduler.c:
27593 * gst/gstscheduler.h:
27594 * gst/gststructure.h:
27595 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27596 (gst_task_finalize), (gst_task_func), (gst_task_create),
27597 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27598 (gst_task_stop), (gst_task_pause):
27600 * gst/gsttypefind.h:
27602 * gst/registries/gstlibxmlregistry.c: (load_feature),
27603 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27604 * gst/registries/gstxmlregistry.c:
27605 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27606 * gst/schedulers/threadscheduler.c:
27607 * libs/gst/control/dparammanager.h:
27608 * tools/gst-inspect.c: (print_element_list),
27609 (print_plugin_features), (print_element_features):
27610 * tools/gst-xmlinspect.c: (print_element_list),
27611 (print_plugin_info), (main):
27612 Removed plugable schedulers.
27613 Removed Scheduler/Manager from elements.
27614 Removed gsttypes.h, rearranged includes.
27615 Removed dependency pad<->element, element<>pipeline, and
27616 various others, fix includes.
27617 implement gst_pad_get_parent() with gst_object_get_parent()
27618 Make GstTask sefcontained.
27619 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27621 Fix endless loop in iterator_fold_with_resync.
27624 2005-07-18 Wim Taymans <wim@fluendo.com>
27630 2005-07-18 Wim Taymans <wim@fluendo.com>
27633 No more cothreads.h
27635 2005-07-18 Wim Taymans <wim@fluendo.com>
27639 Let's remove these.
27641 2005-07-18 Wim Taymans <wim@fluendo.com>
27643 * docs/design/part-dynamic.txt:
27644 * docs/design/part-events.txt:
27645 * docs/design/part-seeking.txt:
27646 Some more docs in the works.
27648 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27649 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27650 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27651 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27652 (gst_base_transform_handle_buffer),
27653 (gst_base_transform_sink_activate_push),
27654 (gst_base_transform_src_activate_pull),
27655 (gst_base_transform_set_passthrough),
27656 (gst_base_transform_is_passthrough):
27659 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27662 * gst/gstevent.c: (gst_event_finalize):
27665 * gst/gstutils.c: (gst_element_unlink),
27666 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27667 (gst_pad_proxy_setcaps):
27669 Add _get_parent_element() to get a pads parent as an element.
27671 2005-07-18 Wim Taymans <wim@fluendo.com>
27673 * check/gst/gstbin.c: (GST_START_TEST):
27676 2005-07-18 Wim Taymans <wim@fluendo.com>
27678 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27679 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27680 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27681 (gst_base_sink_event), (gst_base_sink_do_sync),
27682 (gst_base_sink_chain), (gst_base_sink_loop),
27683 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27684 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27686 Fix logic for returning ASYNC when not prerolled.
27688 2005-07-18 Wim Taymans <wim@fluendo.com>
27690 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27691 Fix nasty refcount bug.
27693 2005-07-16 Philippe Khalaf <burger@speedy.org>
27695 * gst/elements/gstfdsrc.c:
27696 * gst/elements/gstfdsrc.h:
27697 * gst/elements/gstelements.c:
27698 * gst/elements/Makefile.am:
27699 Ported fdsrc to 0.9.
27701 2005-07-16 Wim Taymans <wim@fluendo.com>
27703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27704 (gst_base_sink_do_sync):
27707 2005-07-16 Wim Taymans <wim@fluendo.com>
27709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27710 (gst_base_sink_event), (gst_base_sink_get_times),
27711 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27712 * gst/base/gstbasesink.h:
27713 Store and use discont values when syncing buffers as described
27716 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27717 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27718 (gst_base_src_activate_push):
27719 Push discont event when starting.
27721 * gst/elements/gstidentity.c: (gst_identity_transform):
27724 * gst/gstbin.c: (gst_bin_change_state):
27725 Small cleanups in base_time distribution.
27727 * gst/gstelement.c: (gst_element_set_base_time),
27728 (gst_element_get_base_time), (gst_element_change_state):
27729 * gst/gstelement.h:
27730 Added methods for the base_time of the element.
27733 * gst/gstpipeline.c: (gst_pipeline_send_event),
27734 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27735 (gst_pipeline_get_last_stream_time):
27736 * gst/gstpipeline.h:
27738 Handle seeking as described in design doc, remove stream_time
27740 Cleanups clock and stream_time selection code. Added accessors
27741 for the stream_time.
27744 2005-07-16 Andy Wingo <wingo@pobox.com>
27746 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27749 2005-07-16 Wim Taymans <wim@fluendo.com>
27751 * check/gst/gstbin.c: (GST_START_TEST):
27752 Make elements silent as the deep_notify refs the
27753 parent, which might make the test fail.
27755 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27756 Don't hold the lock for too long.
27758 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27760 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27761 Don't unref the caps we passed to gst_caps_make_writable() after
27762 passing them. gst_caps_make_writable() will do that for us.
27764 2005-07-15 Andy Wingo <wingo@pobox.com>
27766 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27769 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27770 own marshalling function for the handoff signal. Properly type the
27771 buffer as a buffer. Fixes some warnings. Should do a more general
27773 (gst_identity_class_init): Plug into the right marshaller.
27775 2005-07-15 Wim Taymans <wim@fluendo.com>
27777 * docs/design/part-TODO.txt:
27778 * docs/design/part-clocks.txt:
27779 * docs/design/part-element-sink.txt:
27780 * docs/design/part-events.txt:
27781 * docs/design/part-gstpipeline.txt:
27782 Updated docs, mostly DISCONT related.
27784 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27786 * docs/pwg/building-pads.xml:
27787 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27789 2005-07-15 Andy Wingo <wingo@pobox.com>
27791 * tools/gst-typefind.c: Update, add copyright block.
27793 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27794 Normalize and truncate caps before fixation.
27797 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27798 discards all but the first structure from its argument.
27800 2005-07-15 Wim Taymans <wim@fluendo.com>
27802 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27803 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27804 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27805 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27806 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27807 (gst_base_transform_chain), (gst_base_transform_change_state),
27808 (gst_base_transform_set_passthrough),
27809 (gst_base_transform_is_passthrough):
27810 * gst/base/gstbasetransform.h:
27811 Make passthrough work using the bufferpools.
27812 Changed API a bit, subclasses have to write into a buffer
27813 provided by the base class.
27814 More debug info in nego functions.
27816 * gst/elements/gstidentity.c: (gst_identity_init),
27817 (gst_identity_transform):
27818 Port to new base class.
27820 2005-07-15 Wim Taymans <wim@fluendo.com>
27822 * gst/gstmessage.c: (gst_message_new_state_changed):
27823 * tools/gst-launch.c: (event_loop), (main):
27824 Totally dump messages in -launch with the -m option.
27825 Fix message name for State messages,
27827 2005-07-14 Wim Taymans <wim@fluendo.com>
27829 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27830 Post error messages on errors.
27832 2005-07-14 Wim Taymans <wim@fluendo.com>
27834 * gst/gstcaps.c: (gst_caps_do_simplify):
27838 Define error for stream stopped.
27840 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27841 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27842 Do proper return values.
27844 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27845 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27846 (gst_pad_get_range):
27847 Better return values.
27850 Reorganise return values, add macro to check for fatal errors.
27852 * gst/gstqueue.c: (gst_queue_chain):
27853 Return proper GstFlowReturn values,
27855 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27857 * docs/gst/gstreamer-sections.txt:
27858 * docs/gst/gstreamer.types:
27859 * docs/gst/tmpl/gst.sgml:
27860 * docs/gst/tmpl/gstbasesink.sgml:
27861 * docs/gst/tmpl/gstbasesrc.sgml:
27862 * docs/gst/tmpl/gstbasetransform.sgml:
27863 * docs/gst/tmpl/gstbin.sgml:
27864 * docs/gst/tmpl/gstbuffer.sgml:
27865 * docs/gst/tmpl/gstcaps.sgml:
27866 * docs/gst/tmpl/gstclock.sgml:
27867 * docs/gst/tmpl/gstcompat.sgml:
27868 * docs/gst/tmpl/gstconfig.sgml:
27869 * docs/gst/tmpl/gstelement.sgml:
27870 * docs/gst/tmpl/gstelementdetails.sgml:
27871 * docs/gst/tmpl/gstelementfactory.sgml:
27872 * docs/gst/tmpl/gstenumtypes.sgml:
27873 * docs/gst/tmpl/gsterror.sgml:
27874 * docs/gst/tmpl/gstevent.sgml:
27875 * docs/gst/tmpl/gstfakesink.sgml:
27876 * docs/gst/tmpl/gstfakesrc.sgml:
27877 * docs/gst/tmpl/gstfilesink.sgml:
27878 * docs/gst/tmpl/gstfilesrc.sgml:
27879 * docs/gst/tmpl/gstfilter.sgml:
27880 * docs/gst/tmpl/gstformat.sgml:
27881 * docs/gst/tmpl/gstghostpad.sgml:
27882 * docs/gst/tmpl/gstimplementsinterface.sgml:
27883 * docs/gst/tmpl/gstindex.sgml:
27884 * docs/gst/tmpl/gstindexfactory.sgml:
27885 * docs/gst/tmpl/gstinfo.sgml:
27886 * docs/gst/tmpl/gstiterator.sgml:
27887 * docs/gst/tmpl/gstmacros.sgml:
27888 * docs/gst/tmpl/gstmemchunk.sgml:
27889 * docs/gst/tmpl/gstminiobject.sgml:
27890 * docs/gst/tmpl/gstobject.sgml:
27891 * docs/gst/tmpl/gstpad.sgml:
27892 * docs/gst/tmpl/gstpadtemplate.sgml:
27893 * docs/gst/tmpl/gstparse.sgml:
27894 * docs/gst/tmpl/gstpipeline.sgml:
27895 * docs/gst/tmpl/gstplugin.sgml:
27896 * docs/gst/tmpl/gstpluginfeature.sgml:
27897 * docs/gst/tmpl/gstquery.sgml:
27898 * docs/gst/tmpl/gstqueue.sgml:
27899 * docs/gst/tmpl/gstregistry.sgml:
27900 * docs/gst/tmpl/gstregistrypool.sgml:
27901 * docs/gst/tmpl/gstscheduler.sgml:
27902 * docs/gst/tmpl/gstschedulerfactory.sgml:
27903 * docs/gst/tmpl/gststructure.sgml:
27904 * docs/gst/tmpl/gstsystemclock.sgml:
27905 * docs/gst/tmpl/gsttaglist.sgml:
27906 * docs/gst/tmpl/gsttagsetter.sgml:
27907 * docs/gst/tmpl/gsttrace.sgml:
27908 * docs/gst/tmpl/gsttrashstack.sgml:
27909 * docs/gst/tmpl/gsttypefind.sgml:
27910 * docs/gst/tmpl/gsttypefindfactory.sgml:
27911 * docs/gst/tmpl/gsttypes.sgml:
27912 * docs/gst/tmpl/gsturihandler.sgml:
27913 * docs/gst/tmpl/gsturitype.sgml:
27914 * docs/gst/tmpl/gstutils.sgml:
27915 * docs/gst/tmpl/gstvalue.sgml:
27916 * docs/gst/tmpl/gstversion.sgml:
27917 * docs/gst/tmpl/gstxml.sgml:
27918 * docs/libs/tmpl/gstcontrol.sgml:
27919 * docs/libs/tmpl/gstdataprotocol.sgml:
27920 * docs/libs/tmpl/gstdparam.sgml:
27921 * docs/libs/tmpl/gstdplinint.sgml:
27922 * docs/libs/tmpl/gstdpman.sgml:
27923 * docs/libs/tmpl/gstdpsmooth.sgml:
27924 * docs/libs/tmpl/gstgetbits.sgml:
27925 * docs/libs/tmpl/gstunitconvert.sgml:
27926 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27927 (gst_push_src_base_init), (gst_push_src_class_init),
27928 (gst_push_src_init), (gst_push_src_create):
27929 * gst/base/gstpushsrc.h:
27930 * gst/elements/gstelements.c:
27931 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27932 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27933 (gst_fake_sink_init), (gst_fake_sink_set_property),
27934 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27935 (gst_fake_sink_event), (gst_fake_sink_preroll),
27936 (gst_fake_sink_render), (gst_fake_sink_change_state):
27937 * gst/elements/gstfakesink.h:
27938 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27939 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27940 (gst_fake_src_base_init), (gst_fake_src_class_init),
27941 (gst_fake_src_init), (gst_fake_src_event_handler),
27942 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27943 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27944 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27945 (gst_fake_src_create_buffer), (gst_fake_src_create),
27946 (gst_fake_src_start), (gst_fake_src_stop):
27947 * gst/elements/gstfakesrc.h:
27948 * gst/elements/gstfilesink.c: (_do_init),
27949 (gst_file_sink_base_init), (gst_file_sink_class_init),
27950 (gst_file_sink_init), (gst_file_sink_dispose),
27951 (gst_file_sink_set_location), (gst_file_sink_set_property),
27952 (gst_file_sink_get_property), (gst_file_sink_open_file),
27953 (gst_file_sink_close_file), (gst_file_sink_query),
27954 (gst_file_sink_event), (gst_file_sink_render),
27955 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27956 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27957 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27958 * gst/elements/gstfilesink.h:
27959 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27960 (gst_file_src_class_init), (gst_file_src_init),
27961 (gst_file_src_finalize), (gst_file_src_set_location),
27962 (gst_file_src_set_property), (gst_file_src_get_property),
27963 (gst_file_src_map_region), (gst_file_src_map_small_region),
27964 (gst_file_src_create_mmap), (gst_file_src_create_read),
27965 (gst_file_src_create), (gst_file_src_is_seekable),
27966 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27967 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27968 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27969 (gst_file_src_uri_handler_init):
27970 * gst/elements/gstfilesrc.h:
27971 more autistic cleanliness in functions/names/defines
27973 2005-07-13 Andy Wingo <wingo@pobox.com>
27975 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27976 source couldn't negotiate.
27978 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27982 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27983 function. I am channeling Hades. Put your boots on suckers!!!
27985 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27987 * testsuite/caps/Makefile.am:
27988 * testsuite/caps/value_compare.c:
27989 * testsuite/caps/value_intersect.c:
27990 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27991 move two testsuite apps over to the check dir
27993 2005-07-12 Wim Taymans <wim@fluendo.com>
27995 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27996 Added more debug info in the negotiate process.
27998 * gst/gstmessage.h:
27999 Prepare for segment playback.
28001 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28007 * tools/gst-launch.c: (main):
28008 NULL pipeline on errors.
28010 2005-07-12 Andy Wingo <wingo@pobox.com>
28012 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28013 not it comes from a malloc region. Make sure our copy gets freed.
28015 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28017 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28018 * check/gst/gstmessage.c: (GST_START_TEST):
28019 * check/gst/gststructure.c: (GST_START_TEST),
28020 (gst_structure_suite), (main):
28022 * gst/gstelement.c: (gst_element_message_full):
28023 clean up GError and debug string now that they get copied
28024 * gst/gstmessage.c: (gst_message_new_error),
28025 (gst_message_new_warning), (gst_message_parse_error),
28026 (gst_message_parse_warning):
28027 use GST_TYPE_G_ERROR for structure_new, and take copies of
28028 arguments, so that we don't mess up refcounting
28030 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28032 * check/Makefile.am:
28033 add per-test valgrind targets
28034 * check/gst-libs/gdp.c: (GST_START_TEST),
28035 (gst_data_protocol_suite), (main):
28038 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28040 * check/Makefile.am:
28041 instate more valgrindable tests
28042 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28043 (GST_START_TEST), (fakesrc_suite):
28044 * check/gst/gstpad.c: (GST_START_TEST):
28045 * check/gst/gststructure.c: (GST_START_TEST):
28047 * docs/gst/tmpl/gstminiobject.sgml:
28048 * gst/gstpad.c: (gst_pad_finalize):
28049 fix the static mutex leak
28051 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28053 * check/Makefile.am:
28054 add two more tests for valgrinding
28055 * check/gst/gstvalue.c: (GST_START_TEST):
28056 test refcount of deserialized buffer, found a leak
28057 * docs/gst/gstreamer-docs.sgml:
28058 * docs/gst/gstreamer-sections.txt:
28059 * docs/gst/gstreamer.types:
28060 * docs/gst/tmpl/gstminiobject.sgml:
28061 add miniobject to docs
28062 * gst/gstminiobject.c:
28064 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28065 (gst_string_unwrap):
28066 fix a hard-to-find invalid write for one of the tests
28067 fix a leak for deserialized buffers
28069 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28071 * docs/pwg/advanced-events.xml:
28072 * docs/pwg/advanced-request.xml:
28073 * docs/pwg/advanced-scheduling.xml:
28074 * docs/pwg/appendix-porting.xml:
28075 * docs/pwg/building-boiler.xml:
28076 * docs/pwg/intro-preface.xml:
28077 * docs/pwg/other-ntoone.xml:
28078 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28079 of example code and explanation for pad activation, loop() and
28080 getrange() functions and a bit more. Remove old comments pointing
28082 * examples/pwg/Makefile.am:
28083 Add loop/getrange examples.
28085 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28088 check for valgrind binary + some fixes
28090 valgrind suppressions for the tests
28091 * check/Makefile.am:
28092 add a valgrind: target that valgrinds the unit tests
28093 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28094 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28095 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28096 * check/gst/gstghostpad.c:
28098 * check/gst/gstdata.c:
28100 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28101 (thread_unref), (gst_mini_object_suite), (main):
28103 * gst/gst.c: (gst_deinit):
28105 add a method to clean up.
28106 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28107 (gst_system_clock_obtain):
28108 allow for disposing the system clock.
28109 * tools/gst-launch.c: (main):
28112 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28114 * docs/gst/tmpl/gstbasesrc.sgml:
28115 * docs/gst/tmpl/gstfakesrc.sgml:
28116 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28117 (gst_base_src_init), (gst_base_src_set_property),
28118 (gst_base_src_get_property), (gst_base_src_get_range),
28119 (gst_base_src_start):
28120 * gst/base/gstbasesrc.h:
28121 add num-buffers property
28122 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28123 (gst_fakesrc_init), (gst_fakesrc_set_property),
28124 (gst_fakesrc_get_property), (gst_fakesrc_create),
28125 (gst_fakesrc_start):
28126 remove num-buffers property
28128 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28130 * docs/gst/gstreamer-sections.txt:
28131 * docs/gst/tmpl/gstbasesink.sgml:
28132 * docs/gst/tmpl/gstbasesrc.sgml:
28133 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28134 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28135 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28136 (gst_base_sink_set_property), (gst_base_sink_get_property),
28137 (gst_base_sink_handle_object), (gst_base_sink_event),
28138 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28139 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28140 (gst_base_sink_loop), (gst_base_sink_deactivate),
28141 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28142 (gst_base_sink_change_state):
28143 * gst/base/gstbasesink.h:
28144 * gst/base/gstbasesrc.h:
28145 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28146 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28147 (gst_filesink_init):
28148 more macro splitting
28150 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28152 * gst/gstelement.c: (gst_element_get_bus):
28154 * tools/gst-launch.c: (check_intr), (event_loop):
28157 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28159 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28162 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28164 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28165 (gst_base_src_finalize):
28166 add finalize method and clean up properly
28167 * gst/gstpipeline.c: (gst_pipeline_dispose):
28170 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28172 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28174 add more things to check
28175 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28176 * gst/gstelement.c:
28179 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28181 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28182 (GST_START_TEST), (fakesrc_suite):
28183 * check/gst-libs/gdp.c: (GST_START_TEST):
28184 * check/gst/gst.c: (GST_START_TEST):
28185 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28186 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28187 * check/gst/gstbus.c: (GST_START_TEST):
28188 * check/gst/gstcaps.c: (GST_START_TEST):
28189 * check/gst/gstdata.c: (GST_START_TEST):
28190 * check/gst/gstelement.c: (GST_START_TEST):
28191 * check/gst/gstghostpad.c: (GST_START_TEST):
28192 * check/gst/gstiterator.c: (GST_START_TEST):
28193 * check/gst/gstmessage.c: (GST_START_TEST):
28194 * check/gst/gstobject.c: (GST_START_TEST):
28195 * check/gst/gstpad.c: (GST_START_TEST):
28196 * check/gst/gststructure.c: (GST_START_TEST):
28197 * check/gst/gstsystemclock.c: (GST_START_TEST),
28198 (gst_systemclock_suite):
28199 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28200 * check/gst/gstvalue.c: (GST_START_TEST):
28201 * check/pipelines/cleanup.c: (GST_START_TEST):
28202 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28203 * check/states/sinks.c: (GST_START_TEST):
28204 * check/gstcheck.c: (gst_check_init):
28205 * check/gstcheck.h:
28206 add debugging category
28207 use GST_START_TEST now, so we add a debug line
28209 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28211 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28212 add test for state change message on a bin
28213 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28215 * gst/gstbin.c: (gst_bin_init):
28216 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28217 * gst/gstelement.c: (gst_element_post_message),
28218 (gst_element_set_state):
28219 * gst/gstelementfactory.c: (gst_element_factory_create):
28220 * gst/gstmessage.c: (gst_message_new):
28221 * gst/gstscheduler.c:
28222 various debugging additions and cleanups
28224 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28226 * check/Makefile.am:
28227 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28229 adding tests for elements
28230 * gst/gstelement.c: (gst_element_dispose):
28232 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28234 * gst/registries/gstlibxmlregistry.c: (load_feature):
28235 plug more leaks. A simple gst_init() now is leakfree, yay.
28237 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28239 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28240 (gst_xml_registry_load):
28241 plug another memleak
28243 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28246 use GST_SET_ERROR_CFLAGS
28247 * docs/faq/cvs.xml:
28248 change to ERROR_CFLAGS
28250 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28253 make GST_ERROR_CFLAGS overridable and re-enable Werror
28254 * docs/faq/cvs.xml:
28255 add a note about error CFLAGS
28256 * docs/gst/tmpl/gstfakesrc.sgml:
28257 * gst/elements/gstfakesrc.c:
28258 comment out some unused code
28259 * gst/gst.c: (split_and_iterate):
28260 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28264 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28266 * common/Makefile.am:
28267 * common/gtk-doc.mak:
28268 * docs/gst/Makefile.am:
28269 factor out gtk-doc.mak
28271 2005-07-07 Wim Taymans <wim@fluendo.com>
28273 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28274 (gst_thread_scheduler_dispose):
28275 Unlock the STREAM_LOCK completely.
28277 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28279 * check/Makefile.am:
28280 * check/elements/.cvsignore:
28281 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28282 (START_TEST), (fakesrc_suite), (main):
28283 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28284 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28285 (gst_fakesrc_create), (gst_fakesrc_start):
28286 * gst/elements/gstfakesrc.h:
28287 adding a first element test
28289 2005-07-07 Andy Wingo <wingo@pobox.com>
28291 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28294 2005-07-07 Wim Taymans <wim@fluendo.com>
28300 2005-07-07 Wim Taymans <wim@fluendo.com>
28302 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28303 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28304 Allow subclasses to implement their own negotiation.
28306 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28308 * docs/design/part-gstbin.txt:
28309 * docs/design/part-gstpipeline.txt:
28310 Update design notes to reflect the movement of
28311 responsibility for bus handling from GstPipeline to
28314 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28317 Remove unnecessary queue2/3/4 examples.
28319 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28321 * examples/Makefile.am:
28322 * examples/helloworld/helloworld.c: (event_loop), (main):
28323 * examples/queue/queue.c: (event_loop), (main):
28324 * examples/queue2/queue2.c: (main):
28325 Update a couple of the examples to work again.
28327 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28328 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28329 Spelling corrections and extra debug.
28331 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28332 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28333 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28335 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28336 (gst_pipeline_change_state):
28337 * gst/gstpipeline.h:
28338 Move the bus handler for children to the GstBin, and create a
28339 separate bus for receiving messages from children to the one the
28340 bus sends 'upwards' on.
28342 2005-07-06 Wim Taymans <wim@fluendo.com>
28345 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28346 (gst_base_sink_handle_object), (gst_base_sink_loop),
28347 (gst_base_sink_change_state):
28348 * gst/base/gstbasesink.h:
28349 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28350 (gst_base_src_init), (gst_base_src_setcaps),
28351 (gst_base_src_getcaps), (gst_base_src_loop),
28352 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28353 (gst_base_src_start), (gst_base_src_change_state):
28354 * gst/base/gstbasesrc.h:
28355 Make basesrc negotiate.
28356 Handle the case where preroll fails in basesink.
28359 2005-07-06 Wim Taymans <wim@fluendo.com>
28361 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28362 Implement the fixate function.
28363 Clean up acceptcaps.
28365 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28367 * docs/pwg/building-filterfactory.xml:
28368 * docs/pwg/pwg.xml:
28369 Remove never-written filter-factory chapter; I'll add the various
28370 base classes to part 4 ("other element types") later on.
28372 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28374 * docs/pwg/advanced-negotiation.xml:
28375 * docs/pwg/building-boiler.xml:
28376 * docs/pwg/building-pads.xml:
28377 * docs/pwg/pwg.xml:
28378 * examples/pwg/Makefile.am:
28379 Add a chapter on caps negotiation, simplify the original code
28380 samples a bit w.r.t. caps negotiation, add link to the advanced
28381 section. Add a bunch of examples showing different use cases of
28382 different types of caps negotiation. Upstream renegotiation isn't
28383 fully documented yet since nobody knows how that works.
28385 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28387 * check/gst/gstpad.c:
28388 * check/gstcheck.c:
28389 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28390 if pad has no parent, return NULL as list of internal links
28392 2005-07-05 Andy Wingo <wingo@pobox.com>
28394 * gst/elements/gstfilesrc.c:
28395 * gst/elements/gstfakesrc.c:
28396 * gst/base/gstpushsrc.c:
28397 * gst/base/gstbasesrc.h:
28398 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28400 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28403 better report generation target (lcov needs a patch)
28405 2005-07-05 Andy Wingo <wingo@pobox.com>
28407 * gst/elements, testsuite: Null if we got it...
28409 2005-07-05 Wim Taymans <wim@fluendo.com>
28412 * libs/gst/dataprotocol/Makefile.am:
28413 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28414 * libs/gst/dataprotocol/dataprotocol.h:
28415 * pkgconfig/Makefile.am:
28416 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28417 * pkgconfig/gstreamer-dataprotocol.pc.in:
28418 Ported dataprotol to 0.9.
28419 Added pkgconfig files.
28421 2005-07-05 Andy Wingo <wingo@pobox.com>
28423 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28424 Default to returning TRUE for the case when tranform_caps returns
28425 a fixed caps, like for identity or volume.
28427 * check/gst/gstbus.c (pound_bus_with_messages):
28428 * check/gst/gstmessage.c (START_TEST):
28429 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28430 message API change.
28432 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28433 logic weaks here: always run transform_caps, trying passthrough
28434 operation only if the original caps intersects with the transform.
28436 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28437 source and sink caps.
28439 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28440 Intersect the peer caps with the pad template before going into
28442 (gst_base_transform_transform_caps): More debugging.
28444 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28447 2005-07-04 Edward Hervey <edward@fluendo.com>
28451 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28454 2005-07-04 Andy Wingo <wingo@pobox.com>
28456 * check/gst/gstpad.c: Only set explicit caps on pads.
28458 2005-07-01 Andy Wingo <wingo@pobox.com>
28460 * tests/network-clock.scm: Commentary update.
28462 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28463 Didn't really make sense, not implementable with basetransform,
28465 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28466 attempt at implementing the sync property, needs an unlock method.
28468 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28469 New func, by default returns the same caps (the identity
28471 (gst_base_transform_getcaps): Uses transform_caps to return
28472 something sensible.
28473 (gst_base_transform_setcaps): Complicated logic to get caps on
28474 both pads, even if they are different, and to call set_caps once
28475 for every time both pads get their caps set.
28476 (gst_base_transform_handle_buffer): Give the ref to the transform
28477 function. Allows in-place modification of the buffer.
28479 * gst/base/gstbasetransform.h (transform_caps): New class method.
28480 Given caps on one side, what can I do on the other.
28481 (set_caps): Take two caps, one for each side of the element.
28484 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28485 caps in place. This is safe because we can check the mutability of
28486 the caps, and a good idea because fixate functions are just called
28487 as a matter of last resort. (Not actually implemented.)
28488 (gst_pad_set_caps): If the caps we're setting is actually the same
28489 as the existing pad caps, just update the pointer without calling
28490 setcaps. Assert that caps is either NULL or fixed, as per the
28493 * gst/gstghostpad.c: Update for fixate changes.
28495 2005-07-02 Andy Wingo <wingo@pobox.com>
28498 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28499 two refcounts makes it immutable, which is enough. Doc more.
28501 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28503 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28504 Put the mini_object into GValue as a mini_object,
28505 not a gpointer, since that's how we declared
28508 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28510 * examples/pwg/Makefile.am:
28511 Fix buildbot again.
28513 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28515 * docs/pwg/building-testapp.xml:
28517 * examples/pwg/Makefile.am:
28520 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28523 * examples/Makefile.am:
28524 * examples/pwg/Makefile.am:
28525 * examples/pwg/extract.pl:
28526 Enable building the PWG examples.
28527 * docs/pwg/advanced-interfaces.xml:
28528 Add URI interface stub.
28529 * docs/pwg/advanced-types.xml:
28530 * docs/pwg/other-autoplugger.xml:
28531 * docs/pwg/appendix-porting.xml:
28532 * docs/pwg/pwg.xml:
28533 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28534 * docs/pwg/building-boiler.xml:
28535 * docs/pwg/building-chainfn.xml:
28536 * docs/pwg/building-pads.xml:
28537 * docs/pwg/building-props.xml:
28538 * docs/pwg/building-state.xml:
28539 * docs/pwg/building-testapp.xml:
28540 Update the building-*.xml parts for 0.9 changes. All examples
28541 code blocks compile in examples/pwg/*.
28543 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28545 * docs/manual/advanced-autoplugging.xml:
28546 * docs/manual/appendix-checklist.xml:
28547 * docs/manual/appendix-integration.xml:
28548 * docs/manual/highlevel-components.xml:
28549 Fix playbin/decodebin examples, update docs a bit, mention bus
28550 instead of signals in various places, mention kmplayer and
28551 kaffeine since they have a working GStreamer backend in the KDE
28554 2005-06-30 Wim Taymans <wim@fluendo.com>
28557 * docs/design/draft-ghostpads.txt:
28558 * docs/design/draft-push-pull.txt:
28559 * docs/design/draft-query.txt:
28560 * docs/design/part-TODO.txt:
28561 * docs/design/part-query.txt:
28562 Added CHANGES-0.9 doc, updated status of other docs.
28567 2005-06-30 Wim Taymans <wim@fluendo.com>
28569 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28570 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28571 (gst_base_sink_change_state):
28572 * gst/base/gstbasesink.h:
28573 Some tweaks, only EOS and a buffer complete a preroll.
28575 2005-06-30 Andy Wingo <wingo@pobox.com>
28577 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28578 activate_push down to the internal pad as well.
28580 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28582 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28584 * gst/gsttaginterface.c:
28585 Some documentation fixes (#307394 and #307397).
28587 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28589 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28591 * gst/gstvalue.c: (gst_value_intersect_list):
28592 Fix memleak (#309125).
28594 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28596 * docs/manual/advanced-dataaccess.xml:
28597 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28598 * docs/manual/basics-pads.xml:
28599 Add reference for filtered caps to above chapter.
28601 2005-06-30 Wim Taymans <wim@fluendo.com>
28603 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28604 (gst_bin_change_state):
28606 Lame attempt at making the state change function a bit
28609 2005-06-30 Wim Taymans <wim@fluendo.com>
28611 * docs/design/part-clocks.txt:
28612 * docs/design/part-element-sink.txt:
28613 * docs/design/part-events.txt:
28614 * docs/design/part-preroll.txt:
28615 * docs/design/part-states.txt:
28616 Some more tweeks and additions to the docs.
28618 2005-06-30 Wim Taymans <wim@fluendo.com>
28620 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28621 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28622 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28623 (gst_pad_check_pull_range), (gst_pad_get_range),
28624 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28626 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28627 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28628 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28629 (gst_pad_remove_buffer_probe):
28630 Removed atomic operations, use existing LOCK.
28631 Move exception handling out of main code path.
28633 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28635 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28636 (silly_return_true_function), (gst_pad_class_init),
28637 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28638 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28639 (gst_pad_send_event):
28640 Fix accumulator, add default value by using _emitv() instead
28641 of _emit() for signal emission.
28643 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28645 * docs/manual/advanced-dataaccess.xml:
28646 * examples/manual/Makefile.am:
28648 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28651 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28653 * gst/elements/gstfilesink.c: (gst_filesink_render):
28654 Simplify code so that we don't have to handle short
28655 writes and return GST_FLOW_ERROR if an error occured.
28657 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28659 * docs/gst/gstreamer-docs.sgml:
28660 Remove probes more.
28662 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28664 * docs/gst/gstreamer-sections.txt:
28665 * docs/gst/tmpl/gstpad.sgml:
28666 * docs/gst/tmpl/gstprobe.sgml:
28668 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28669 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28670 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28671 (gst_pad_push_event), (gst_pad_send_event):
28673 * gst/gstutils.c: (gst_pad_add_data_probe),
28674 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28675 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28676 (gst_pad_remove_buffer_probe):
28678 Remove old probes, add new g-signal-based probes and some utility
28681 2005-06-29 Edward Hervey <edward@fluendo.com>
28683 * gst/gstelementfactory.c:
28686 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28687 the definition to the header file.
28689 2005-06-29 Andy Wingo <wingo@pobox.com>
28691 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28692 plugins from the source directory.
28694 2005-06-29 Wim Taymans <wim@fluendo.com>
28696 * docs/gst/tmpl/gstbuffer.sgml:
28697 * docs/gst/tmpl/gstclock.sgml:
28698 Some fixings for blantently wrong text.
28700 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28702 * check/Makefile.am:
28703 * gst/gst.c: (add_path_func), (init_pre):
28704 * gst/gstregistry.c: (gst_registry_add_path):
28705 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28706 only scan the GST_PLUGIN_PATH locations, and not add
28709 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28711 * docs/gst/gstreamer-sections.txt:
28712 * docs/gst/tmpl/gstbasesrc.sgml:
28713 * gst/gstelement.c:
28714 * gst/gstelement.h:
28719 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28721 * docs/manual/advanced-autoplugging.xml:
28722 Fix autoplugging example.
28724 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28726 * docs/manual/advanced-autoplugging.xml:
28727 * docs/manual/mime-world.fig:
28728 Try to get autoplugging working, fix type detection. Fix text
28729 in hello-world image.
28731 2005-06-29 Wim Taymans <wim@fluendo.com>
28733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28734 (gst_base_sink_change_state):
28738 map SIGNAL and BROADCAST to the right function.
28741 Remove redundant braces.
28743 * gst/gstpad.c: (gst_pad_set_caps):
28744 Don't call setcaps function when reseting caps to NULL.
28746 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28747 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28748 (gst_system_clock_id_unschedule):
28749 Use BROADCAST as this is what we do.
28751 2005-06-29 Wim Taymans <wim@fluendo.com>
28753 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28754 We are actually prerolling before commiting the state
28757 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28759 * docs/manual/advanced-clocks.xml:
28760 * docs/manual/advanced-interfaces.xml:
28761 * docs/manual/advanced-metadata.xml:
28762 * docs/manual/advanced-position.xml:
28763 * docs/manual/advanced-schedulers.xml:
28764 * docs/manual/advanced-threads.xml:
28765 * docs/manual/appendix-porting.xml:
28766 * docs/manual/basics-bins.xml:
28767 * docs/manual/basics-bus.xml:
28768 * docs/manual/basics-elements.xml:
28769 * docs/manual/basics-helloworld.xml:
28770 * docs/manual/basics-pads.xml:
28771 * docs/manual/highlevel-components.xml:
28772 * docs/manual/manual.xml:
28773 * docs/manual/thread.fig:
28774 Update (until threads/scheduling) Application Development Manual;
28775 remove GstThread, add GstBus, add simple porting checklist, add
28776 documentation for tag writing, clocks, make all examples until this
28777 part compile and run.
28778 * examples/manual/Makefile.am:
28779 Update from changes to Application Development Manual; add bus
28780 example, remove thread example.
28782 2005-06-28 Wim Taymans <wim@fluendo.com>
28784 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28785 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28786 (gst_bus_source_dispatch):
28787 Add debugging messages.
28788 Make internal methods static.
28789 Handle the case where the bus is flushed in the handler.
28791 * gst/gstelement.c: (gst_element_get_bus):
28792 Fix refcount in _get_bus();
28794 * gst/gstpipeline.c: (gst_pipeline_change_state),
28795 (gst_pipeline_get_clock_func):
28796 Clock refcounting fixes.
28797 Handle the case where preroll timed out more gracefully.
28799 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28800 Clean up the internal thread in dispose. This is needed
28801 for subclasses that actually get disposed.
28803 * gst/schedulers/threadscheduler.c:
28804 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28805 (gst_thread_scheduler_dispose):
28806 Free thread pool in dispose.
28808 2005-06-28 Andy Wingo <wingo@pobox.com>
28810 * tests/network-clock-utils.scm (debug, print-event): New utils.
28812 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28813 (*packet-loss*): Unified loss probability.
28814 (network-time): Report out-of-band events.
28816 * tests/plot-data: Add support for out-of-band events. Hack it
28817 into this script instead of passing it down the pipe; should fix
28820 2005-06-28 Wim Taymans <wim@fluendo.com>
28822 * docs/gst/gstreamer.types:
28823 * docs/gst/tmpl/gstbasesrc.sgml:
28824 * docs/gst/tmpl/gstpad.sgml:
28827 2005-06-28 Wim Taymans <wim@fluendo.com>
28829 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28830 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28831 (gst_proxy_pad_do_fixatecaps):
28832 Correctly proxy the check_pull_range function.
28834 2005-06-28 Andy Wingo <wingo@pobox.com>
28836 * tests/network-clock.scm: Removed need for slib.
28838 2005-06-28 Wim Taymans <wim@fluendo.com>
28840 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28841 (gst_basesink_preroll_queue_flush):
28842 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28843 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28844 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28845 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28846 (gst_proxy_pad_set_property):
28849 * gst/gstqueue.c: (gst_queue_init):
28850 The deprecated pad loop function is removed now.
28852 2005-06-28 Andy Wingo <wingo@pobox.com>
28854 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28855 New parameters, simulate network packet loss.
28857 * tests/network-clock-utils.scm: Initialize the RNG.
28859 2005-06-28 Wim Taymans <wim@fluendo.com>
28861 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28862 (gst_basesink_event), (gst_basesink_deactivate):
28863 Flushing the preroll queue always needs to unlock the waiters.
28865 2005-06-28 Edward Hervey <edward@fluendo.com>
28867 * gst/gstpipeline.c: (gst_pipeline_send_event):
28868 Wheen a seek was successful on a pipeline, set the stream_time to the
28869 seek offset in order to have a synchronized stream_time.
28871 2005-06-28 Wim Taymans <wim@fluendo.com>
28873 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28874 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28875 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28876 (gst_proxy_pad_do_fixatecaps):
28877 Call wrapper function instead of just calling the function
28878 pointers. This takes care of any locking and whatmore.
28880 2005-06-28 Wim Taymans <wim@fluendo.com>
28882 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28883 (gst_pad_pull_range):
28885 CONNECTED -> LINKED.
28887 2005-06-28 Andy Wingo <wingo@pobox.com>
28889 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28890 source-munging commit!!!
28892 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28893 (gst_object_sink): Take gpointer arguments, not GstObject --
28894 avoids casts. Like GLib.
28896 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28899 2005-06-27 Andy Wingo <wingo@pobox.com>
28901 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28904 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28905 returns a sorted copy of the trace list.
28906 (gst_alloc_trace_print_live): New API, only prints traces with
28907 live objects. Sort the list.
28908 (gst_alloc_trace_print_all): Sort the list.
28909 (gst_alloc_trace_print): Align columns.
28911 * gst/elements/gstttypefindelement.c:
28912 * gst/elements/gsttee.c:
28913 * gst/base/gstbasesrc.c:
28914 * gst/base/gstbasesink.c:
28915 * gst/base/gstbasetransform.c:
28916 * gst/gstqueue.c: Adapt for pad activation changes.
28918 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28920 (gst_pipeline_dispose): Drop ref on sched.
28922 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28923 (gst_pad_activate_default): Push mode by default.
28924 (pre_activate_switch, post_activate_switch): New stubs, things to
28925 do before and after switching activation modes on pads.
28926 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28927 the pad's activate function to choose which mode to activate.
28928 Shortcut on deactivation and call the right function directly.
28929 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28931 (gst_pad_activate_push): New API, same for push mode.
28932 (gst_pad_set_activate_function)
28933 (gst_pad_set_activatepull_function)
28934 (gst_pad_set_activatepush_function): Setters for new API.
28936 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28937 Trace all miniobjects.
28938 (gst_mini_object_make_writable): Unref the arg if we copy, like
28939 gst_caps_make_writable.
28941 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28943 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28944 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28945 Adapt for new pad API.
28947 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28949 * gst/gstelement.h:
28950 * gst/gstelement.c (gst_element_iterate_src_pads)
28951 (gst_element_iterate_sink_pads): New API functions.
28953 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28954 should fold into gstiterator.c in some form.
28955 (gst_element_pads_activate): Simplified via use of fold and
28956 delegation of decisions to gstpad->activate.
28958 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28961 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28962 class once in init, like gstmessage. Didn't run into this issue
28963 but it seems correct. Don't initialize a trace, gstminiobject does
28966 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28967 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28969 (assert_live_count): New util function, uses alloc traces to check
28972 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28973 To be modified when unlink drops the internal pad.
28975 2005-06-27 Wim Taymans <wim@fluendo.com>
28977 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28978 (gst_bin_change_state):
28979 Cleanup the get_state() function a little, make sure it
28980 iterates the same set of elements.
28981 Added stub iterate_state_order().
28983 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28985 * docs/gst/gstreamer-docs.sgml:
28986 * docs/gst/gstreamer-sections.txt:
28987 * docs/gst/gstreamer.types:
28988 * docs/gst/tmpl/gstbasesink.sgml:
28989 * docs/gst/tmpl/gstbasesrc.sgml:
28990 * docs/gst/tmpl/gstbasetransform.sgml:
28991 * docs/gst/tmpl/gstelement.sgml:
28992 * docs/gst/tmpl/gstiterator.sgml:
28993 * gst/base/gstbasesrc.c:
28994 * gst/base/gstbasesrc.h:
28995 * gst/base/gstbasetransform.h:
28996 * gst/gstelement.c:
28997 * gst/gstiterator.h:
28998 adding basetransform and iterator docs
29000 2005-06-27 Andy Wingo <wingo@pobox.com>
29002 * docs/design/part-activation.txt: Notes on how activation should
29003 work -- not quite implemented yet.
29005 2005-06-25 Wim Taymans <wim@fluendo.com>
29007 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29008 At least get the chain function correct, needs more
29011 2005-06-25 Wim Taymans <wim@fluendo.com>
29013 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29014 (gst_basesink_handle_object), (gst_basesink_event),
29015 (gst_basesink_do_sync), (gst_basesink_handle_event),
29016 (gst_basesink_change_state):
29018 Right, two problems here: ghostpads don't take locks and
29019 glib _rec_mutex_lock_full() with depth==0 still locks.
29020 Catch illegal locking and g_warn them.
29022 2005-06-25 Wim Taymans <wim@fluendo.com>
29024 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29025 Have to check for completion now...
29027 2005-06-25 Wim Taymans <wim@fluendo.com>
29029 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29030 (gst_basesink_handle_object), (gst_basesink_event),
29031 (gst_basesink_do_sync), (gst_basesink_handle_event),
29032 (gst_basesink_change_state):
29034 Unlock STREAM_LOCK whatever the recursion was.
29036 2005-06-25 Wim Taymans <wim@fluendo.com>
29038 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29039 (gst_basesink_preroll_queue_empty),
29040 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29041 (gst_basesink_event), (gst_basesink_do_sync),
29042 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29043 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29044 (gst_basesink_change_state):
29045 Reworked the base sink, handle event and buffer serialisation
29046 correctly and removed possible deadlock.
29047 Handle EOS correctly.
29049 2005-06-25 Wim Taymans <wim@fluendo.com>
29051 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29052 (gst_pipeline_change_state):
29053 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29054 Allow elements to post EOS in the state change function.
29055 Fix up -launch, make it exit the poll loop when the
29056 pipeline actually changed state.
29057 Fix up warning parsing in -launch.
29059 2005-06-25 Wim Taymans <wim@fluendo.com>
29061 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29062 (gst_tee_sink_activate):
29063 Core takes STREAM_LOCK for us now.
29065 2005-06-25 Wim Taymans <wim@fluendo.com>
29067 * gst/gstelement.c: (gst_element_get_state_func),
29068 (gst_element_set_state):
29069 * gst/gstelement.h:
29070 * gst/gstmessage.c: (gst_message_parse_error),
29071 (gst_message_parse_warning):
29072 Keep track of current target state while performing a state
29073 change so that subclasses can do something interesting.
29074 Fix parsing of warning/error messages when GError is NULL.
29076 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29078 * docs/gst/Makefile.am:
29079 * docs/gst/gstreamer-docs.sgml:
29080 * docs/gst/gstreamer-sections.txt:
29081 * docs/gst/gstreamer.types:
29082 * docs/gst/tmpl/gstbasesink.sgml:
29083 * docs/gst/tmpl/gstbasesrc.sgml:
29084 * docs/gst/tmpl/gstbin.sgml:
29085 * docs/gst/tmpl/gstcompat.sgml:
29086 * docs/gst/tmpl/gstfakesink.sgml:
29087 * docs/gst/tmpl/gstfakesrc.sgml:
29088 * docs/gst/tmpl/gstfilesink.sgml:
29089 * docs/gst/tmpl/gstfilesrc.sgml:
29090 * docs/gst/tmpl/gstindex.sgml:
29091 * docs/manual/appendix-quotes.xml:
29092 * gst/base/gstbasesrc.h:
29093 * gst/elements/gstfakesrc.h:
29094 * gst/gstmessage.h:
29095 start pulling in base classes and elements in our docs
29097 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29099 * docs/gst/Makefile.am:
29100 * docs/libs/Makefile.am:
29101 fixed make distcheck with gtk-doc 1.3
29103 2005-06-23 Wim Taymans <wim@fluendo.com>
29105 * gst/gstelement.c: (gst_element_get_state_func),
29106 (gst_element_set_state), (gst_element_change_state):
29107 When the state did not change, also report NO_PREROLL
29110 2005-06-23 Wim Taymans <wim@fluendo.com>
29112 * gst/gstpad.c: (gst_pad_event_default):
29113 * gst/gstqueue.c: (gst_queue_loop):
29114 No unsafe task pausing please.
29116 2005-06-23 Wim Taymans <wim@fluendo.com>
29118 * gst/schedulers/threadscheduler.c:
29119 (gst_thread_scheduler_task_start),
29120 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29121 Ref the task before pushing it on the threadpool. This
29122 makes sure that we have a ref when the threadfunction is
29125 2005-06-23 Andy Wingo <wingo@pobox.com>
29127 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29128 offset is greater than the file's size.
29130 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29131 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29132 * gst/gstobject.c (gst_object_class_init): Make the class lock
29133 recursive. Wim won't let me drop deep_notify. Decodebin works
29134 again, whoopdy doo.
29136 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29137 internal pad, and hacks accordingly. Doesn't do it on the target
29138 pad because we change its caps. Probably catches all cases of
29140 (gst_ghost_pad_set_property): Connect to notify::caps as
29143 * tests/network-clock.scm (plot-simulation): Pipe data to the
29144 elite python skript.
29146 * tests/network-clock-utils.scm (define-parameter): New macro,
29147 defines a parameter that can be set via the command line.
29148 (set-parameter!, parse-parameter-arguments): Command line args
29151 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29154 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29156 * gst/elements/gsttypefindelement.c:
29157 (gst_type_find_element_handle_event):
29158 Don't restart typefinding on a discont.
29159 * gst/gstelement.c: (gst_element_set_state):
29160 Debug spelling fix.
29161 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29162 Allow changing mode of an active pad.
29163 Debug output fixes.
29164 * gst/registries/gstlibxmlregistry.c: (load_feature):
29165 Don't cast a static pad template to a normal pad template.
29167 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29169 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29170 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29171 remove gst_strtoll completely, since it didn't actually do
29172 anything more than what g_ascii_strtoull already does.
29173 check for range errors when deserializing
29174 do a cast for the unsigned cases; but further fixing needs
29175 a decision on what the interpretation of "(int)" and
29176 deserialization should be for values that fall outside the
29177 type's boundaries (ie, refuse, or interpret as casting)
29179 2005-06-23 Wim Taymans <wim@fluendo.com>
29181 * check/Makefile.am:
29182 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29183 * docs/design/part-live-source.txt:
29184 * docs/design/part-states.txt:
29185 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29186 (gst_basesrc_set_live), (gst_basesrc_is_live),
29187 (gst_basesrc_get_range), (gst_basesrc_activate),
29188 (gst_basesrc_change_state):
29189 * gst/base/gstbasesrc.h:
29190 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29191 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29192 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29193 * gst/gstelement.c: (gst_element_get_state_func),
29194 (gst_element_set_state):
29195 * gst/gstelement.h:
29197 * tools/gst-launch.c: (event_loop), (main):
29198 Added support for live sources and other elements that
29200 Updated design docs, added live-source design doc.
29201 Implemented live source functionality in basesrc
29202 Fix error condition in _bin_get_state()
29203 Implement live source handling in -launch.
29204 Added check for live sources.
29205 Fixed case in GstBin where elements were changed state
29209 2005-06-23 Andy Wingo <wingo@pobox.com>
29211 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29212 borken refcounting.
29214 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29215 gst_caps_replace takes care of this for us.
29217 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29218 gst_pad_set_caps on the target, not just its setcaps() function.
29220 * tests/network-clock.scm:
29221 * tests/network-clock-utils.scm: A network clock simulator.
29222 Something of an algorithmic testbed before doing something in C.
29224 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29226 * check/Makefile.am:
29227 * check/gst/capslist.h:
29228 copy over from 0.8, and add two with bitmasks specified with
29230 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29231 add test to parse everything from capslist.h
29232 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29234 add test for structure deserialization
29235 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29236 add tests for deserialization of strings to int types
29237 * gst/gststructure.c: (gst_structure_nth_field_name):
29238 * gst/gststructure.h:
29239 add a way to get the name of a field referenced by index
29240 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29241 instead of checking if the resulting long long lies between
29242 min and max, we check if the long long would fit into
29243 a number of bytes for the final type.
29244 This fixes cases where a string represents 2^32 - 1, which
29245 when cast to int would be the (valid) -1, but is bigger than
29248 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29250 * gst/parse/grammar.y:
29251 add a log line for type deserialization
29253 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29255 * check/gst/gstvalue.c: (START_TEST):
29256 * gst/gstvalue.c: (gst_value_deserialize):
29257 return long long, not int, so gint64 deserialization actually
29258 works. Is there any flag that makes the compiler check this ?
29261 2005-06-22 Wim Taymans <wim@fluendo.com>
29264 Added convenience macros for setting buffers in GValue.
29266 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29268 * check/gst/.cvsignore:
29269 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29270 add a test deserializing int64, and comment part out because
29273 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29275 * check/Makefile.am:
29276 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29277 * testsuite/Makefile.am:
29278 * testsuite/caps/Makefile.am:
29279 * testsuite/caps/value_serialize.c:
29280 * testsuite/test_gst_init.c:
29281 move a value_serialize test over
29283 2005-06-20 Wim Taymans <wim@fluendo.com>
29288 * gst/gstvalue.c: (gst_value_compare_buffer),
29289 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29290 (gst_value_compare_flags), (gst_value_serialize_flags),
29291 (gst_value_deserialize_flags), (_gst_value_initialize):
29292 Fix serialisation of buffers, they are not boxed types anymore
29294 2005-06-20 Wim Taymans <wim@fluendo.com>
29296 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29297 Testcase to show error in buffer-on-caps serialisation.
29299 2005-06-20 Andy Wingo <wingo@pobox.com>
29301 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29302 will be adding to later.
29304 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29305 if its socks fill with rocks.
29306 (gst_system_clock_obtain): Set the name on object construction.
29307 Avoid double-checked locking.
29309 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29311 * gst/gsturi.c: (gst_element_make_from_uri):
29312 Fix potential endless loop.
29314 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29316 * check/Makefile.am:
29318 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29320 move over from testsuite dir and clean up
29323 * testsuite/Makefile.am:
29324 * testsuite/tags/.cvsignore:
29325 * testsuite/tags/Makefile.am:
29326 * testsuite/tags/merge.c:
29327 remove testsuite/tags
29329 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29331 * docs/gst/gstreamer-sections.txt:
29332 * docs/gst/tmpl/gstenumtypes.sgml:
29333 * win32/gstenumtypes.c:
29334 clean up documentation build a little
29336 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29338 * check/gstcheck.h:
29339 add macros for checking refcounts on objects and caps
29340 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29341 add some more unit tests
29342 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29343 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29344 fix leaked refcounts (I hope :)) so unittest works
29348 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29350 * configure.ac: back to HEAD
29352 === release 0.9.1 ===
29354 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29360 2005-06-17 Andy Wingo <wingo@pobox.com>
29362 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29363 assert; it's always possible that the pad gets deactivated in
29364 between the checks in gstpad.c and the implementation. Rely on
29365 finish_preroll() to return a FLUSHING or similar instead of on the
29368 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29369 clock and post an EOS message if we come out of finish_preroll in
29372 2005-06-16 David Schleef <ds@schleef.org>
29374 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29375 (gst_capsfilter_set_property): Allow NULL as possible value
29376 for filter_caps property, indicating GST_CAPS_ANY.
29378 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29380 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29382 * gst/schedulers/Makefile.am:
29384 * gstreamer.spec.in:
29387 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29389 * gstreamer.spec.in:
29392 2005-06-08 Andy Wingo <wingo@pobox.com>
29394 * gst/gstutils.c: RPAD fixes all around.
29395 (gst_element_link_pads): Refcounting fixes.
29397 * tools/gst-inspect.c:
29398 * tools/gst-xmlinspect.c:
29400 * gst/base/gsttypefindhelper.c:
29401 * gst/base/gstbasesink.c:
29402 * gst/gstqueue.c: RPAD fixes.
29404 * gst/gstghostpad.h:
29405 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29406 pads. The tricky thing is they provide both source and sink
29407 interfaces, since they proxy the internal pad for the external
29408 pad, and vice versa. Implement with lower-level ProxyPad objects,
29409 with the interior proxy pad as a child of the exterior ghost pad.
29410 Should write a doc on this.
29412 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29413 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29416 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29417 pads are real pads. No ghost pads in this file. Not documenting
29418 the myriad s/RPAD/PAD/ and REALIZE fixes.
29419 (gst_pad_class_init): Add properties for "direction" and
29420 "template". Both are construct-only, so they can't change during
29421 the life of the pad. Fixes properly deriving from GstPad.
29422 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29423 derived objects, just set properties when creating the objects via
29425 (gst_pad_get_parent): Implement as a function, return NULL if the
29426 parent is not an element.
29427 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29428 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29430 * gst/gstobject.c (gst_object_class_init): Make name a construct
29431 property. Don't set it in the object init.
29433 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29434 with UNKNOWN direction.
29435 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29436 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29437 (gst_element_remove_pad): Remove ghost-pad special cases.
29438 (gst_element_pads_activate): Remove rpad cruft.
29440 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29441 catch the pad's-parent-not-an-element case.
29443 * gst/gst.h: Include gstghostpad.h.
29445 * gst/gst.c (init_post): No more real, ghost pads.
29447 * gst/Makefile.am: Add gstghostpad.[ch].
29449 * check/Makefile.am:
29450 * check/gst/gstbin.c:
29451 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29452 into a bin creates ghost pads, and that the refcounts are right.
29453 Partly moved from gstbin.c.
29455 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29457 * check/gst-libs/.cvsignore:
29458 * check/gst/.cvsignore:
29459 * check/pipelines/.cvsignore:
29461 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29462 (START_TEST), (cleanup_suite), (main):
29463 add some tests related to cleanup after running pipelines
29465 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29467 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29468 add a testsuite for GstBuffer
29470 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29472 * gst/gstminiobject.h:
29473 add defines for accessing the refcount
29475 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29477 * Makefile.am: added support for html unit test coverage reports
29479 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29481 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29482 Free existing caps if the capsfilter changes. Add a FIXME about
29483 setting those caps on the pads.
29485 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29486 Before adding a ghost pad to a parent bin, check that there isn't
29487 already one for the element on the bin. Prevents infinite recursion
29488 when using decodebin in parse pipelines. Andy says he'll rewrite the
29489 way this works anyway, so ignore the hack.
29491 2005-06-02 Andy Wingo <wingo@pobox.com>
29493 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29494 file size, pass it on to the type find helper.
29496 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29497 segment_start and segment_end properly according to the seek
29498 method. Segment_end is still a bit flaky because offset can be
29499 negative for CUR and END cases, but it takes -1 as an "unset"
29502 2005-06-02 Wim Taymans <wim@fluendo.com>
29504 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29505 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29506 (gst_basesink_activate):
29507 * gst/base/gstbasesink.h:
29508 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29509 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29510 (gst_pad_query), (gst_pad_start_task):
29512 * gst/gstqueue.c: (gst_queue_bufferalloc),
29513 (gst_queue_handle_sink_event), (gst_queue_chain):
29514 Bufferalloc: return GstFlowReturn to more accuratly report
29515 why allocation failed.
29517 2005-06-02 Wim Taymans <wim@fluendo.com>
29519 * gst/gstpipeline.c: (gst_pipeline_send_event):
29520 Take snapshot of state without blocking.
29522 2005-06-02 Wim Taymans <wim@fluendo.com>
29524 * docs/design/part-TODO.txt:
29525 * docs/design/part-caps.txt:
29526 * docs/design/part-clocks.txt:
29527 * docs/design/part-negotiation.txt:
29528 * docs/design/part-preroll.txt:
29531 2005-05-30 Wim Taymans <wim@fluendo.com>
29533 * gst/elements/gstidentity.c: (gst_identity_event),
29534 (gst_identity_transform), (gst_identity_get_property):
29535 Protect last_message property as it is accessed from
29538 2005-05-30 Wim Taymans <wim@fluendo.com>
29540 * gst/gstelement.c: (gst_element_init),
29541 (gst_element_pads_activate), (gst_element_change_state):
29542 Slicker pad activation code.
29544 2005-05-30 Wim Taymans <wim@fluendo.com>
29547 * gst/gstelement.h:
29548 * gst/gstelementfactory.h:
29550 Move elementfactory methods to separate .h file.
29552 2005-05-30 Wim Taymans <wim@fluendo.com>
29554 * docs/design/part-overview.txt:
29555 * gst/gstsystemclock.h:
29556 Small typo fixes, doc updates.
29558 2005-05-30 Wim Taymans <wim@fluendo.com>
29560 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29561 (init_popt_callback):
29562 Remove cpu-opt flag.
29564 2005-05-30 Wim Taymans <wim@fluendo.com>
29566 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29567 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29569 Avoid typechecking in places where not needed.
29570 Added accessor for malloc_data.
29572 2005-05-30 Wim Taymans <wim@fluendo.com>
29574 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29575 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29576 (gst_pad_configure_sink), (gst_pad_configure_src),
29577 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29578 (gst_pad_start_task):
29579 Propagate errors from _set_caps() in configure_src/sink
29580 functions instead of returning TRUE.
29581 FLUSH events can travel up and downstream
29584 2005-05-30 Wim Taymans <wim@fluendo.com>
29586 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29587 (gst_basesink_activate):
29588 Handle EOS in preroll.
29590 2005-05-30 Wim Taymans <wim@fluendo.com>
29592 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29593 (gst_queue_loop), (gst_queue_handle_src_event):
29594 Remove old pieces of code
29595 Flushing the queue in an upstream event is a very bad idea.
29597 2005-05-26 Andy Wingo <wingo@pobox.com>
29599 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29600 gst_value_set_mini_object so as to add a ref on the object (which
29601 will be removed when the value is unset).
29603 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29604 arg type in ::handoff.
29606 * gst/gstelement.c (gst_element_change_state): Also deactivate
29607 pads in READY->NULL, just in case the element didn't make it to
29608 PAUSED. Wingo tested, Wim approved.
29610 2005-05-26 Wim Taymans <wim@fluendo.com>
29612 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29613 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29614 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29615 A flushing pad cannot be used to alloc_buffer from.
29617 2005-05-26 Wim Taymans <wim@fluendo.com>
29619 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29620 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29621 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29622 (gst_bus_create_watch), (gst_bus_add_watch_full):
29624 Implement a real GSource and use g_main_context_wakeup() to
29625 signal new messages instead of the socketpair.
29627 2005-05-25 Wim Taymans <wim@fluendo.com>
29629 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29630 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29631 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29632 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29633 (gst_pad_send_event), (gst_pad_start_task):
29634 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29635 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29636 (gst_queue_sink_activate), (gst_queue_src_activate),
29637 (gst_queue_change_state):
29639 Fix state changes for non sinks. We now change sinks, then elements
29640 with unconnected srcpads, then the rest.
29641 More efficient queue unlocking in flush and state changes.
29642 Set the pad activate mode even if it does not have an activate
29645 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29647 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29648 Don't go in pull mode for non-seekable sources.
29649 * gst/elements/gsttypefindelement.h:
29650 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29651 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29652 (free_entry), (stop_typefinding),
29653 (gst_type_find_element_handle_event), (find_peek),
29654 (gst_type_find_element_chain), (do_pull_typefind),
29655 (gst_type_find_element_change_state):
29656 Allow typefinding (w/o seeking) in push-mode, simplified version
29657 of what was in 0.8.
29658 * gst/gstutils.c: (gst_buffer_join):
29660 gst_buffer_join() from 0.8.
29662 2005-05-25 Wim Taymans <wim@fluendo.com>
29664 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29665 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29666 (gst_pad_send_event), (gst_pad_start_task):
29667 Disable attempt at mode switching until it is figured out.
29669 2005-05-25 Wim Taymans <wim@fluendo.com>
29671 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29672 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29673 (gst_basesink_finish_preroll), (gst_basesink_chain),
29674 (gst_basesink_loop), (gst_basesink_activate),
29675 (gst_basesink_change_state):
29676 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29677 (gst_basesrc_get_range), (gst_basesrc_loop),
29678 (gst_basesrc_activate):
29679 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29680 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29681 (gst_real_pad_init), (gst_real_pad_set_property),
29682 (gst_real_pad_get_property), (gst_pad_set_active),
29683 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29684 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29685 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29686 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29687 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29688 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29689 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29690 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29691 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29692 (gst_pad_stop_task):
29694 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29695 (gst_queue_loop), (gst_queue_src_activate):
29696 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29697 (gst_task_get_state):
29699 * gst/schedulers/threadscheduler.c:
29700 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29701 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29703 Remove ACTIVE pad flag, use FLUSHING everywhere
29704 Added _pad_chain(), _pad_get_range() to call chain/getrange
29706 Add locks around IS_FLUSHING when reading.
29707 Take STREAM lock in chain(), get_range() functions so plugins
29708 don't need to take it anymore.
29712 2005-05-25 Wim Taymans <wim@fluendo.com>
29714 * tools/gst-launch.c: (event_loop):
29715 Unref message after using its contents instead of
29718 2005-05-24 Wim Taymans <wim@fluendo.com>
29720 * docs/design/draft-ghostpads.txt:
29721 * docs/design/draft-push-pull.txt:
29722 * docs/design/draft-query.txt:
29723 * docs/design/part-overview.txt:
29724 Docs updates, added general overview doc.
29726 2005-05-21 David Schleef <ds@schleef.org>
29728 * docs/gst/tmpl/old/GstBin.sgml:
29729 * docs/gst/tmpl/old/GstBuffer.sgml:
29730 * docs/gst/tmpl/old/GstCaps.sgml:
29731 * docs/gst/tmpl/old/GstClock.sgml:
29732 * docs/gst/tmpl/old/GstCompat.sgml:
29733 * docs/gst/tmpl/old/GstData.sgml:
29734 * docs/gst/tmpl/old/GstElement.sgml:
29735 * docs/gst/tmpl/old/GstEvent.sgml:
29736 * docs/gst/tmpl/old/GstIndex.sgml:
29737 * docs/gst/tmpl/old/GstStructure.sgml:
29738 * docs/gst/tmpl/old/GstTag.sgml:
29739 * docs/gst/tmpl/old/cothreads.sgml:
29740 * docs/gst/tmpl/old/cothreads_compat.sgml:
29741 * docs/gst/tmpl/old/gettext.sgml:
29742 * docs/gst/tmpl/old/gobject2gtk.sgml:
29743 * docs/gst/tmpl/old/grammar.tab.sgml:
29744 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29745 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29746 * docs/gst/tmpl/old/gst_private.sgml:
29747 * docs/gst/tmpl/old/gstaggregator.sgml:
29748 * docs/gst/tmpl/old/gstarch.sgml:
29749 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29750 * docs/gst/tmpl/old/gstbufferstore.sgml:
29751 * docs/gst/tmpl/old/gstdata_private.sgml:
29752 * docs/gst/tmpl/old/gstdisksink.sgml:
29753 * docs/gst/tmpl/old/gstdisksrc.sgml:
29754 * docs/gst/tmpl/old/gstelementfactory.sgml:
29755 * docs/gst/tmpl/old/gstextratypes.sgml:
29756 * docs/gst/tmpl/old/gstfakesink.sgml:
29757 * docs/gst/tmpl/old/gstfakesrc.sgml:
29758 * docs/gst/tmpl/old/gstfdsink.sgml:
29759 * docs/gst/tmpl/old/gstfdsrc.sgml:
29760 * docs/gst/tmpl/old/gstfilesink.sgml:
29761 * docs/gst/tmpl/old/gstfilesrc.sgml:
29762 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29763 * docs/gst/tmpl/old/gstidentity.sgml:
29764 * docs/gst/tmpl/old/gstindexfactory.sgml:
29765 * docs/gst/tmpl/old/gstmarshal.sgml:
29766 * docs/gst/tmpl/old/gstmd5sink.sgml:
29767 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29768 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29769 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29770 * docs/gst/tmpl/old/gstpipefilter.sgml:
29771 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29772 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29773 * docs/gst/tmpl/old/gstshaper.sgml:
29774 * docs/gst/tmpl/old/gstspider.sgml:
29775 * docs/gst/tmpl/old/gstspideridentity.sgml:
29776 * docs/gst/tmpl/old/gststatistics.sgml:
29777 * docs/gst/tmpl/old/gsttee.sgml:
29778 * docs/gst/tmpl/old/gsttimecache.sgml:
29779 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29780 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29781 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29782 * docs/gst/tmpl/old/types.sgml:
29783 I didn't intend to add these or check them in.
29785 2005-05-19 David Schleef <ds@schleef.org>
29787 * configure.ac: Use -no-common everywhere. In a sane world, it
29788 would be the default in libtool, because without it, you can't
29789 build DLLs on Windows.
29790 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29791 * docs/gst/gstreamer-sections.txt:
29792 * docs/gst/tmpl/gstcpu.sgml:
29793 * docs/gst/tmpl/gstdata.sgml:
29794 * docs/gst/tmpl/gstthread.sgml:
29796 2005-05-19 David Schleef <ds@schleef.org>
29798 * gst/gstminiobject.c: (gst_value_set_mini_object),
29799 (gst_value_take_mini_object), (gst_value_get_mini_object):
29800 * gst/gstminiobject.h: Add GValue set/get functions.
29802 2005-05-19 Wim Taymans <wim@fluendo.com>
29804 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29805 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29806 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29808 * gst/gstbus.c: (gst_bus_post):
29809 * gst/gstelement.c: (gst_element_get_random_pad):
29810 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29811 Make subbufer unref the parent in finalize.
29812 some more debugging info.
29815 2005-05-19 Wim Taymans <wim@fluendo.com>
29817 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29818 (gst_basesink_init), (gst_basesink_finalize),
29819 (gst_basesink_activate), (gst_basesink_change_state):
29820 Don't free preroll queue too early.
29822 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29826 Hi, I'm outdated. Please shoot me.
29828 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29830 * gst/gstpipeline.c: (gst_pipeline_send_event):
29831 Do not access variables after they have been deleted.
29833 2005-05-19 Wim Taymans <wim@fluendo.com>
29835 * tools/gst-inspect.c: (print_plugin_features):
29836 A plugin feature does unfortunatly not use the
29839 2005-05-18 Wim Taymans <wim@fluendo.com>
29841 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29842 Port _span() functions to new subbuffers.
29844 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29846 * gst/gstbin.c: (gst_bin_add_func):
29847 Fix clock settery in bins when adding kids after the clock has
29850 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29852 * gst/elements/gstidentity.c: (gst_identity_class_init):
29853 Workaround until signals support GstMiniObject.
29855 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29858 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29860 2005-05-18 Wim Taymans <wim@fluendo.com>
29862 * gst/base/Makefile.am:
29863 * gst/base/gstadapter.c: (gst_adapter_base_init),
29864 (gst_adapter_class_init), (gst_adapter_init),
29865 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29866 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29867 (gst_adapter_flush), (gst_adapter_available),
29868 (gst_adapter_available_fast):
29869 * gst/base/gstadapter.h:
29870 Ported and added adapter to the base classes.
29872 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29875 * gst/gstmessage.c:
29876 Make sure the class is reffed/unreffed once before threads can be
29877 used. Fixes #304551.
29879 2005-05-17 Wim Taymans <wim@fluendo.com>
29881 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29882 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29883 * gst/gstminiobject.c: (gst_mini_object_get_type),
29884 (gst_mini_object_free):
29885 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29886 (gst_pad_push), (gst_pad_push_event):
29887 * gst/gstqueue.c: (gst_queue_change_state):
29888 Don't queue buffers in basesink when we are flushing.
29889 Unref buffer when flushing in basesink.
29890 Flush queue when going to READY
29891 Unref buffer when _push() returns an error.
29892 Don't free MiniObject instance when refcount is incremented
29893 in _finalize() so that we can recover objects.
29895 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29897 * docs/manual/advanced-schedulers.xml:
29898 * docs/manual/appendix-checklist.xml:
29899 * docs/pwg/advanced-clock.xml:
29900 * docs/pwg/advanced-interfaces.xml:
29901 * docs/pwg/advanced-request.xml:
29902 * docs/pwg/advanced-types.xml:
29903 * docs/pwg/intro-preface.xml:
29904 * examples/plugins/example.c: (gst_example_get_type),
29905 (gst_example_class_init), (gst_example_chain),
29906 (gst_example_set_property), (gst_example_get_property),
29907 (gst_example_change_state), (plugin_init):
29908 * examples/plugins/example.h:
29911 2005-05-17 Wim Taymans <wim@fluendo.com>
29913 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29914 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29915 * gst/gstqueue.c: (gst_queue_change_state):
29916 Clear queue when going to READY.
29917 Remove IN_SETCAPS flag too.
29919 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29921 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29922 Remove implicit cast from gboolean to GstElementStateReturn;
29923 make sure we still return failure in paused => ready case if
29924 the parent class fails to change state and our own stop
29927 2005-05-17 Wim Taymans <wim@fluendo.com>
29929 * tools/gst-launch.c: (event_loop):
29930 Message was unreffed too soon.
29932 2005-05-16 Andy Wingo <wingo@pobox.com>
29934 * gst/gstbin.c (sink_iterator_filter): Err... um...
29936 * check/gst/gstbin.c (test_ghost_pads): New test for the
29937 ghosting-if-elements-not-in-same-bin behavior.
29939 2005-05-16 David Schleef <ds@schleef.org>
29941 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29942 accessing refcount directly.
29944 2005-05-15 David Schleef <ds@schleef.org>
29946 * check/Makefile.am: remove GstData checks
29947 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29948 * gst/Makefile.am: add miniobject, remove data
29949 * gst/gst.h: add miniobject, remove data
29950 * gst/gstdata.c: remove
29951 * gst/gstdata.h: remove
29952 * gst/gstdata_private.h: remove
29953 * gst/gsttypes.h: remove GstEvent and GstMessage
29954 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29955 * gst/gstmarshal.list: change BOXED -> OBJECT
29957 Implement GstMiniObject.
29958 * gst/gstminiobject.c:
29959 * gst/gstminiobject.h:
29961 Modify to be subclasses of GstMiniObject.
29962 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29963 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29964 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29965 (gst_subbuffer_get_type), (gst_subbuffer_init),
29966 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29969 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29970 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29971 (_gst_event_copy), (gst_event_new):
29973 * gst/gstmessage.c: (_gst_message_initialize),
29974 (gst_message_get_type), (gst_message_class_init),
29975 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29976 (gst_message_new), (gst_message_new_error),
29977 (gst_message_new_warning), (gst_message_new_tag),
29978 (gst_message_new_state_changed), (gst_message_new_application):
29979 * gst/gstmessage.h:
29980 * gst/gstprobe.c: (gst_probe_perform),
29981 (gst_probe_dispatcher_dispatch):
29983 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29984 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29985 (_gst_query_copy), (gst_query_new):
29987 Update elements for GstData -> GstMiniObject changes
29989 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29990 (gst_queue_chain), (gst_queue_loop):
29991 * gst/elements/gstbufferstore.c:
29992 (gst_buffer_store_add_buffer_func),
29993 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29994 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29995 (gst_fakesink_render):
29996 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29997 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29998 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29999 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30000 (gst_filesrc_create_read):
30001 * gst/elements/gstidentity.c: (gst_identity_class_init):
30002 * gst/elements/gsttypefindelement.c:
30003 (gst_type_find_element_src_event), (free_entry_buffers),
30004 (gst_type_find_element_handle_event):
30005 * libs/gst/dataprotocol/dataprotocol.c:
30006 (gst_dp_header_from_buffer):
30007 * libs/gst/dataprotocol/dataprotocol.h:
30008 * libs/gst/dataprotocol/dp-private.h:
30010 2005-05-15 David Schleef <ds@schleef.org>
30012 * gst/elements/gstelements.c: Don't include headers that were
30015 2005-05-15 David Schleef <ds@schleef.org>
30017 * gst/elements/Makefile.am: Remove some elements that don't
30018 need to be in the core (or even exist at all).
30019 * gst/elements/gstaggregator.c:
30020 * gst/elements/gstaggregator.h:
30021 * gst/elements/gstmd5sink.c:
30022 * gst/elements/gstmd5sink.h:
30023 * gst/elements/gstmultifilesrc.c:
30024 * gst/elements/gstmultifilesrc.h:
30025 * gst/elements/gstpipefilter.c:
30026 * gst/elements/gstpipefilter.h:
30027 * gst/elements/gstshaper.c:
30028 * gst/elements/gstshaper.h:
30029 * gst/elements/gststatistics.c:
30030 * gst/elements/gststatistics.h:
30031 * po/POTFILES.in: Remove above files.
30033 2005-05-14 Andy Wingo <wingo@pobox.com>
30035 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30036 so as to get the refs right.
30037 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30038 unreffing objects that don't pass the filter.
30040 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30041 gst_element_set_bus.
30042 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30043 normal cases, this will destroy the bus.
30045 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30048 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30051 2005-05-13 Andy Wingo <wingo@pobox.com>
30053 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30054 gst_pad_link, call pad_link_maybe_ghosting,
30055 (pad_link_maybe_ghosting): Links pads, making sure that the
30056 elements being linked are in the same bin.
30057 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30058 Helpers for pad_link_maybe_ghosting.
30060 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30063 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30065 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30067 * docs/design/part-element-source.txt:
30070 2005-05-12 Wim Taymans <wim@fluendo.com>
30072 * gst/base/gstbasesink.c: (gst_basesink_init),
30073 (gst_basesink_activate):
30074 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30075 (gst_basesrc_is_seekable):
30076 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30077 (bin_element_is_sink), (gst_bin_change_state):
30078 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30079 * gst/gstelement.h:
30080 Identify sinks by their flag to avoid overly complicated
30082 Do state changes even for elements not reachable from the
30084 BaseSink is a sink now :)
30085 Some more debugging info in the basesrc.
30088 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30090 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30091 Implement _query on a bin, similar to _send_event.
30093 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30095 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30096 Discont event offset format should be GST_FORMAT_BYTES,
30097 not GST_FORMAT_TIME.
30099 2005-05-12 Wim Taymans <wim@fluendo.com>
30101 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30102 Same fix as Ronald's but without the signal.
30104 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30106 * gst/gstutils.c: (gst_element_query_position):
30107 No, an element is not a pad.
30109 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30111 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30112 (gst_bin_get_state):
30113 If a child is removed from a bin while we remove the child from
30114 the bin and while we're retrieving its state, signal this to the
30115 get_state function so we abort the wait (instead of waiting for
30116 a timeout) and can immediately re-iterate over all other elements.
30118 2005-05-12 Wim Taymans <wim@fluendo.com>
30120 * gst/base/Makefile.am:
30121 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30122 (gst_basesrc_start):
30123 * gst/base/gstbasesrc.h:
30124 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30125 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30126 (gst_pushsrc_init), (gst_pushsrc_create):
30127 * gst/base/gstpushsrc.h:
30128 Added is_seekable to BaseSrc
30129 Added simple PushSrc.
30131 2005-05-11 Wim Taymans <wim@fluendo.com>
30133 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30134 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30135 (gst_element_link_pads), (gst_element_query_position),
30136 (gst_element_query_convert), (intersect_caps_func),
30137 (gst_pad_query_position), (gst_pad_query_convert):
30138 Fix refcounting in utils function.
30139 No point in trying to activate a pad when it's added, it could
30140 be added from the state change function and then we deadlock, the
30141 element has to decide what to do.
30143 2005-05-10 Andy Wingo <wingo@pobox.com>
30145 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30146 *all* the arguments.
30148 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30149 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30150 lock (according to the docs -- if this is wrong change the docs).
30152 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30153 flush messages in the NULL state.
30155 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30156 message immediately and return.
30157 (gst_bus_set_flushing): New function. If a bus is flushing, it
30158 flushes out any queued messages and immediately unrefs new
30159 messages. This is so when an element goes to NULL, all of the
30160 unhandled messages coming from it can be freed, and their
30161 references to the element dropped. In other words: message source
30162 ref considered harmful :P
30164 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30165 we're finished with it.
30167 * gst/gstmessage.c (gst_message_new_state_changed):
30169 2005-05-10 Wim Taymans <wim@fluendo.com>
30171 * gst/gstvalue.c: (gst_value_compare_flags),
30172 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30173 (_gst_value_initialize):
30174 Added flags serialize/deserialize/compare code.
30176 2005-05-09 Andy Wingo <wingo@pobox.com>
30178 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30179 Intersect the peer's caps with our caps.
30181 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30183 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30184 * gst/elements/gsttypefindelement.c: (find_peek):
30185 Handle negative offsets better. Fixes decodebin.
30187 2005-05-09 Wim Taymans <wim@fluendo.com>
30189 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30190 (gst_base_transform_event):
30191 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30192 Implement accept_caps.
30193 Fix silly lock/unlock mismatch in base class.
30195 2005-05-09 Wim Taymans <wim@fluendo.com>
30197 * docs/design/draft-push-pull.txt:
30198 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30199 * gst/elements/gstfilesink.c: (gst_filesink_init),
30200 (gst_filesink_query):
30201 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30202 (gst_type_find_handle_src_query), (find_element_get_length):
30203 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30204 * gst/gstelement.h:
30205 * gst/gstmessage.c:
30206 * gst/gstmessage.h:
30207 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30208 (gst_real_pad_get_caps_unlocked),
30209 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30210 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30211 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30212 (gst_real_pad_dispose), (gst_real_pad_finalize),
30213 (gst_pad_load_and_link), (gst_pad_save_thyself),
30214 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30215 (gst_pad_check_pull_range), (gst_pad_pull_range),
30216 (gst_pad_template_get_type), (gst_pad_template_class_init),
30217 (gst_pad_template_init), (gst_pad_template_dispose),
30218 (name_is_valid), (gst_static_pad_template_get),
30219 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30220 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30221 (gst_pad_get_element_private), (gst_pad_start_task),
30222 (gst_pad_pause_task), (gst_pad_stop_task),
30223 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30224 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30225 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30226 (gst_ghost_pad_new):
30228 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30229 (gst_query_new_position), (gst_query_set_position),
30230 (gst_query_parse_position), (gst_query_new_convert),
30231 (gst_query_set_convert), (gst_query_parse_convert):
30233 * gst/gstqueryutils.c:
30234 * gst/gstqueryutils.h:
30235 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30236 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30237 (gst_queue_handle_src_query):
30238 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30239 (gst_element_query_position), (gst_element_query_convert),
30240 (intersect_caps_func), (gst_pad_query_position),
30241 (gst_pad_query_convert):
30243 * tools/gst-inspect.c: (print_pad_info):
30244 * tools/gst-xmlinspect.c: (print_element_info):
30245 Remove old query functions. Ported old code.
30246 Added position/convert helper functions to gstutils.
30247 Reordered gstpad.c code, grouping relevant things.
30248 Remove gst_message_new(), always need to speficy a specific
30252 2005-05-09 Andy Wingo <wingo@pobox.com>
30254 * gst/gstiterator.h: Add some includes.
30256 * gst/gstqueryutils.h: Include more headers.
30259 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30260 some uses of gst_pad_query.
30262 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30263 NULL out parameters.
30264 (gst_query_new_position): New proc, allocates a new position
30267 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30268 gstqueryutils.c to the build.
30270 * gst/gststructure.c (gst_structure_set_valist): Implement with
30271 the generic G_VALUE_COLLECT.
30273 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30275 * gst/Makefile.am: (gst_headers):
30276 Added gstqueryutils.h to the list of headers to install, that was
30277 a 'nachty' move wingo :)
30279 2005-05-06 Andy Wingo <wingo@pobox.com>
30282 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30283 GstData, init a memchunk.
30284 (standard_definitions): Add a few query types, deprecate a few.
30285 (gst_query_get_type): New proc.
30286 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30288 (gst_query_new_application, gst_query_get_structure): New public
30291 * docs/design/draft-query.txt: Removed LINKS from the query types,
30292 because all the rest can be dispatched to other pads -- seemed
30293 ugly to have a query that couldn't be dispatched. internal_links
30294 is fine as a pad method.
30296 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30297 in gstpad.c, but maintain binary compatibility for the moment.
30298 Will fix before 0.9 is out.
30300 * gst/gstqueryutils.c:
30301 * gst/gstqueryutils.h: New files, implement 3 methods for each
30302 query type: parse_query, parse_response, and set. Probably need an
30305 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30307 * gst/elements/gstfilesink.c (gst_filesink_query2):
30308 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30309 query_types, and formats methods.
30311 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30312 (gst_pad_set_query2_function): New functions.
30313 (gst_real_pad_init): Set query2_default as the default query2
30314 function. Basically just dispatches to internally linked pads.
30318 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30319 without using the atomic operations. Only one thread can possibly
30320 be accessing the data at this point. Changed so as to avoid
30321 gst_atomic operations.
30323 2005-05-06 Wim Taymans <wim@fluendo.com>
30325 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30326 Also set caps if we use the fallback buffer alloc.
30328 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30330 * docs/gst/Makefile.am:
30331 * docs/gst/gstreamer-docs.sgml:
30332 * docs/gst/gstreamer-sections.txt:
30333 * docs/gst/tmpl/gstatomic.sgml:
30334 * docs/gst/tmpl/gstmemchunk.sgml:
30335 * testsuite/elements/struct_i386.h:
30336 * win32/GStreamer.vcproj:
30338 Purge GstAtomic stuff from docs and win32 makefiles as well
30340 2005-05-06 Wim Taymans <wim@fluendo.com>
30342 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30343 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30344 * gst/gstpad.c: (gst_pad_peer_get_caps):
30345 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30346 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30347 (gst_queue_src_activate), (gst_queue_change_state):
30349 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30350 (intersect_caps_func):
30351 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30352 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30353 Some fixes for the peer_get_caps() change.
30355 2005-05-06 Wim Taymans <wim@fluendo.com>
30357 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30358 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30359 (gst_basesink_activate):
30360 Actually do something with error codes returned from the push
30363 2005-05-06 Wim Taymans <wim@fluendo.com>
30365 * docs/design/part-element-sink.txt:
30366 * docs/design/part-element-source.txt:
30367 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30368 (gst_basesink_event), (gst_basesink_activate):
30369 * gst/base/gstbasesink.h:
30370 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30371 (gst_basesrc_activate):
30372 * gst/base/gstbasesrc.h:
30373 * gst/gstelement.c: (gst_element_pads_activate):
30374 Some more documentation.
30375 Fixed scheduling decision in _pads_activate().
30377 2005-05-05 Andy Wingo <wingo@pobox.com>
30379 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30382 2005-05-05 Wim Taymans <wim@fluendo.com>
30384 * gst/base/Makefile.am:
30385 * gst/base/gstbasesink.h:
30386 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30387 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30388 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30389 (gst_collectpads_class_init), (gst_collectpads_init),
30390 (gst_collectpads_finalize), (gst_collectpads_new),
30391 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30392 (find_pad), (gst_collectpads_remove_pad),
30393 (gst_collectpads_is_active), (gst_collectpads_collect),
30394 (gst_collectpads_collect_range), (gst_collectpads_start),
30395 (gst_collectpads_stop), (gst_collectpads_peek),
30396 (gst_collectpads_pop), (gst_collectpads_available),
30397 (gst_collectpads_read), (gst_collectpads_flush),
30398 (gst_collectpads_chain):
30399 * gst/base/gstcollectpads.h:
30400 * gst/elements/Makefile.am:
30401 * gst/elements/gstelements.c:
30402 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30403 (gst_fakesink_get_times), (gst_fakesink_event),
30404 (gst_fakesink_preroll), (gst_fakesink_render):
30405 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30406 (gst_filesink_init), (gst_filesink_set_location),
30407 (gst_filesink_open_file), (gst_filesink_close_file),
30408 (gst_filesink_pad_query), (gst_filesink_event),
30409 (gst_filesink_render), (gst_filesink_change_state):
30410 * gst/elements/gstfilesink.h:
30411 Added object to help in making collect pad based elements.
30413 Make event function in sink baseclass return gboolean.
30415 2005-05-05 Wim Taymans <wim@fluendo.com>
30417 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30418 (gst_bin_get_by_name):
30420 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30421 (gst_clock_finalize):
30422 * gst/gstdata.c: (gst_data_replace):
30424 * gst/gstelement.c: (gst_element_request_pad),
30425 (gst_element_pads_activate):
30426 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30427 (gst_object_unref):
30428 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30429 (gst_pad_set_checkgetrange_function),
30430 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30431 (gst_pad_check_pull_range), (gst_pad_pull_range),
30432 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30433 (gst_pad_pause_task), (gst_pad_stop_task):
30434 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30435 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30436 Fix name lookup in GstBin.
30437 Added _data_replace() function and _buffer_replace()
30438 Use finalize method to clean up clock.
30439 Fix refcounting on request pads.
30440 Fix pad schedule mode error.
30441 Some more object refcounting debug info,
30444 2005-05-04 Andy Wingo <wingo@pobox.com>
30446 * check/Makefile.am:
30447 * docs/gst/tmpl/gstatomic.sgml:
30448 * docs/gst/tmpl/gstplugin.sgml:
30449 * gst/base/gstbasesink.c: (gst_basesink_activate):
30450 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30451 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30452 (gst_basesrc_query), (gst_basesrc_set_property),
30453 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30454 (gst_basesrc_activate):
30455 * gst/base/gstbasesrc.h:
30456 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30457 (gst_base_transform_src_activate):
30458 * gst/elements/gstelements.c:
30459 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30460 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30461 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30462 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30463 (gst_type_find_element_checkgetrange),
30464 (gst_type_find_element_activate):
30465 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30466 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30467 (gst_caps_load_thyself):
30468 * gst/gstelement.c: (gst_element_pads_activate),
30469 (gst_element_save_thyself), (gst_element_restore_thyself):
30470 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30471 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30473 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30474 (gst_xml_parse_file), (gst_xml_parse_memory),
30475 (gst_xml_get_element), (gst_xml_make_element):
30476 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30477 (_file_index_id_save_xml), (gst_file_index_commit):
30478 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30479 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30481 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30482 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30483 * tools/gst-complete.c: (main):
30484 * tools/gst-compprep.c: (main):
30485 * tools/gst-inspect.c: (print_element_properties_info):
30486 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30487 * tools/gst-xmlinspect.c: (print_element_properties):
30490 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30492 * gst/gstplugin.c: (gst_plugin_check_module),
30493 (gst_plugin_check_file), (gst_plugin_load_file):
30494 apply patch from #172526 to make register work on MacOSX
30496 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30498 * docs/gst/tmpl/gstconfig.sgml:
30499 * gst/gstconfig.h.in:
30500 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30501 * testsuite/debug/printf_extension.c: (main):
30502 Do not use GST_PTR_FORMAT on pointers to types with
30503 sizeof < sizeof(gpointer). Fixes test on 64-bit
30504 * testsuite/elements/property.h:
30505 use correct printf format
30507 2005-05-02 Wim Taymans <wim@fluendo.com>
30509 * docs/design/draft-push-pull.txt:
30510 * docs/design/draft-query.txt:
30511 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30512 (gst_basesrc_start):
30513 Added draft for new query API.
30514 Added draft for better selecting scheduling methods.
30515 Make basesrc ignore length if the subclass does not support
30518 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30521 possible fixes for automake-1.5 - _LIBADD is reserved
30523 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30525 * docs/faq/Makefile.am:
30526 * docs/manual/Makefile.am:
30527 * docs/manuals.mak:
30528 * docs/pwg/Makefile.am:
30530 possible fixes for automake-1.5
30532 2005-04-28 Wim Taymans <wim@fluendo.com>
30534 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30535 (gst_basesink_pad_getcaps), (gst_basesink_init),
30536 (gst_basesink_do_sync):
30537 * gst/gstclock.c: (gst_clock_entry_new):
30538 * gst/gstevent.c: (gst_event_discont_get_value):
30539 * gst/gstpipeline.c: (pipeline_bus_handler),
30540 (gst_pipeline_change_state):
30541 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30542 Better debugging of clocking info.
30543 Allow NULL values when getting discont values.
30545 2005-04-27 Wim Taymans <wim@fluendo.com>
30547 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30548 * check/gst/gstpad.c: (gst_pad_suite):
30549 Increase timeout for checks.
30551 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30553 * check/Makefile.am:
30554 fix the broken rule for cleanup. Apparently this rule is
30555 only needed on FC2, so maybe this warrants further autotool
30558 2005-04-26 Wim Taymans <wim@fluendo.com>
30560 * gst/gsttrashstack.h:
30561 Ooohh. a nasty one! After having a failed pop() from the stack,
30562 it's possible that the stack is empty. In that case, don't
30563 follow the NULL pointer.
30565 2005-04-25 Wim Taymans <wim@fluendo.com>
30567 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30568 (gst_pad_set_checkgetrange_function),
30569 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30570 (gst_pad_check_pull_range), (gst_pad_pull_range),
30571 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30572 (gst_pad_pause_task), (gst_pad_stop_task):
30573 * gst/gstplugin.c: (gst_plugin_load):
30575 Remove gst_library_load as it does more harm than good with
30576 the new g_module flags.
30577 Revert bogus caps template check in pad linking, pad caps
30578 are important when linking not the template, which is more
30579 general than the current caps.
30581 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30583 * gst/autoplug/.cvsignore:
30584 * gst/autoplug/Makefile.am:
30585 * gst/autoplug/gstsearchfuncs.c:
30586 * gst/autoplug/gstsearchfuncs.h:
30587 * gst/autoplug/gstspider.c:
30588 * gst/autoplug/gstspider.h:
30589 * gst/autoplug/gstspideridentity.c:
30590 * gst/autoplug/gstspideridentity.h:
30591 * gst/autoplug/spidertest.c:
30594 2005-04-25 Wim Taymans <wim@fluendo.com>
30596 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30597 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30598 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30599 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30601 Added stubs for unimplemented functions.
30603 2005-04-24 David Schleef <ds@schleef.org>
30605 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30608 2005-04-24 David Schleef <ds@schleef.org>
30610 Convert everything from GstAtomicInt to g_atomic_int_*, and
30615 * gst/gstatomic_impl.h:
30623 * gst/gstdata_private.h:
30627 * gst/gstmessage.c:
30630 * gst/gststructure.c:
30631 * gst/gststructure.h:
30632 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30635 2005-04-24 David Schleef <ds@schleef.org>
30637 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30638 make the regressions tests work. Remove some code that is no
30640 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30641 Disable warning for pads without templates.
30643 2005-04-24 David Schleef <ds@schleef.org>
30645 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30646 functions that handle filtered links.
30647 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30649 * gst/gstutils.c: Fix/remove utility functions that handle
30652 * gst/gstvalue.c: Add serialization/deserialization of caps
30653 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30654 requires fixing so that the filter caps notation creates
30655 a capsfilter element and sets the filter_caps property. I
30656 think everyone probably wants to keep the shorthand notation.
30657 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30658 * docs/gst/tmpl/gstpad.sgml:
30660 * gst/elements/gstelements.c: Register capsfilter element.
30661 * gst/Makefile.am: fix spacing
30662 * docs/random/ds/0.9-suggested-changes: random
30664 2005-04-23 David Schleef <ds@schleef.org>
30666 * gst/elements/Makefile.am:
30667 * gst/elements/gstcapsfilter.c: New element that acts like an
30668 identity, but filters caps. Will eventually replace filtered
30669 caps in pad linking.
30670 * gst/gstutils.c: (gst_element_create_all_pads): New function
30671 to create all the ALWAYS pads that are registered with an
30672 element class. This functionality should eventually be
30673 merged in with GstElement initialization.
30675 * testsuite/trigger/README: part of trigger test code that should
30676 have been checked in a long time ago.
30678 2005-04-23 David Schleef <ds@schleef.org>
30680 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30681 needed with new versions of libtool (nobody will confirm this),
30682 and hard to carry around.
30683 * gst/autoplug/Makefile.am:
30684 * gst/base/Makefile.am:
30685 * gst/elements/Makefile.am:
30686 * gst/indexers/Makefile.am:
30687 * gst/schedulers/Makefile.am:
30688 * libs/gst/bytestream/Makefile.am:
30689 * libs/gst/control/Makefile.am:
30690 * libs/gst/dataprotocol/Makefile.am:
30691 * libs/gst/getbits/Makefile.am:
30693 2005-04-21 Wim Taymans <wim@fluendo.com>
30695 * docs/design/draft-push-pull.txt:
30696 * docs/design/part-MT-refcounting.txt:
30697 * docs/design/part-TODO.txt:
30698 * docs/design/part-caps.txt:
30699 * docs/design/part-events.txt:
30700 * docs/design/part-gstbus.txt:
30701 * docs/design/part-gstpipeline.txt:
30702 * docs/design/part-messages.txt:
30703 * docs/design/part-push-pull.txt:
30704 * docs/design/part-query.txt:
30707 2005-04-21 Wim Taymans <wim@fluendo.com>
30709 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30710 (gst_message_new), (gst_message_new_error),
30711 (gst_message_new_warning), (gst_message_new_tag),
30712 (gst_message_new_state_changed), (gst_message_new_application),
30713 (gst_message_get_structure):
30714 * gst/gstmessage.h:
30715 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30716 (gst_structure_copy_conditional):
30717 Use parent refcount in GstMessage to ensure GstStructure
30719 Cleaned up headers a bit.
30722 2005-04-20 Wim Taymans <wim@fluendo.com>
30724 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30725 (gst_basesink_pad_getcaps), (gst_basesink_init),
30726 (gst_basesink_chain_unlocked):
30727 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30728 (gst_type_find_helper):
30729 * gst/elements/gsttypefindelement.c:
30730 (gst_type_find_element_have_type), (gst_type_find_element_init),
30731 (stop_typefinding), (gst_type_find_element_handle_event),
30732 (find_suggest), (gst_type_find_element_chain),
30733 (gst_type_find_element_checkgetrange),
30734 (gst_type_find_element_getrange), (do_typefind),
30735 (gst_type_find_element_activate):
30736 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30737 (gst_buffer_default_free), (gst_buffer_default_copy),
30738 (gst_buffer_set_caps):
30739 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30740 (gst_caps_replace):
30741 * gst/gstmessage.c: (gst_message_new),
30742 (gst_message_new_state_changed):
30743 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30744 (gst_pad_set_checkgetrange_function),
30745 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30746 (gst_pad_set_caps), (gst_pad_check_pull_range),
30747 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30749 * gst/gsttypefind.c: (gst_type_find_register):
30750 Make gst_caps_replace() work like other _replace() functions.
30751 Use _caps_replace() where possible.
30752 Make sure _message_new() initialises its field.
30753 Add gst_static_pad_template_get_caps()
30756 2005-04-18 Andy Wingo <wingo@pobox.com>
30758 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30759 on the peer, not the pad. I think that was a typo. Pass an extra
30760 arg to see if random access is possible. Activate the pads as
30761 PULL_RANGE if possible.
30763 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30765 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30766 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30769 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30771 * docs/faq/using.xml:
30772 Add note on gstreamer-properties (#154996).
30774 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30776 * docs/random/bbb/optional-properties:
30777 Some analysis on optional properties.
30779 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30781 * docs/gst/tmpl/gstelementfactory.sgml:
30782 * gst/gstelement.h:
30783 * gst/gstelementfactory.c: (gst_element_factory_init),
30784 (gst_element_factory_cleanup), (gst_element_register),
30785 (__gst_element_factory_add_static_pad_template),
30786 (gst_element_factory_get_static_pad_templates),
30787 (gst_element_factory_can_src_caps),
30788 (gst_element_factory_can_sink_caps):
30789 * gst/registries/Makefile.am:
30790 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30791 (gst_xml_registry_class_init), (gst_xml_registry_init),
30792 (gst_xml_registry_new), (gst_xml_registry_set_property),
30793 (gst_xml_registry_get_property), (get_time), (make_dir),
30794 (gst_xml_registry_get_perms_func),
30795 (plugin_times_older_than_recurse), (plugin_times_older_than),
30796 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30797 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30798 (add_to_char_array), (read_string), (read_uint), (read_enum),
30799 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30800 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30801 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30802 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30803 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30804 (gst_xml_registry_rebuild):
30805 * gst/registries/gstlibxmlregistry.h:
30806 * tools/gst-compprep.c: (main):
30807 * tools/gst-inspect.c: (print_pad_templates_info):
30808 * tools/gst-xmlinspect.c: (print_element_info):
30809 Use libxml2 for registry parsing, use staticpadtemplates in
30810 elementfactories. Makes gst_init() +/- 10x faster.
30812 2005-04-12 Wim Taymans <wim@fluendo.com>
30814 * gst/base/Makefile.am:
30815 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30816 (gst_basesink_pad_getcaps), (gst_basesink_init),
30817 (gst_basesink_event), (gst_basesink_change_state):
30818 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30819 (gst_basesrc_init), (gst_basesrc_query),
30820 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30821 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30822 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30823 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30824 (gst_basesrc_stop), (gst_basesrc_activate),
30825 (gst_basesrc_change_state):
30826 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30827 (helper_find_suggest), (gst_type_find_helper):
30828 * gst/base/gsttypefindhelper.h:
30829 * gst/elements/Makefile.am:
30830 * gst/elements/gstelements.c:
30831 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30832 (gst_fakesink_get_times), (gst_fakesink_event),
30833 (gst_fakesink_preroll), (gst_fakesink_render):
30834 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30835 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30836 (gst_fakesrc_get_property), (gst_fakesrc_create),
30837 (gst_fakesrc_start), (gst_fakesrc_stop):
30838 * gst/elements/gstfakesrc.h:
30839 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30840 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30841 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30842 (gst_filesrc_create_read), (gst_filesrc_create),
30843 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30844 (gst_filesrc_start):
30845 * gst/elements/gsttypefindelement.c:
30846 (gst_type_find_element_have_type), (gst_type_find_element_init),
30847 (start_typefinding), (stop_typefinding), (push_buffer_store),
30848 (gst_type_find_element_handle_event),
30849 (gst_type_find_element_chain),
30850 (gst_type_find_element_checkgetrange),
30851 (gst_type_find_element_getrange), (do_typefind),
30852 (gst_type_find_element_activate),
30853 (gst_type_find_element_change_state):
30854 * gst/elements/gsttypefindelement.h:
30855 * gst/gstpipeline.c: (pipeline_bus_handler):
30856 Added typefind helper.
30857 Small preroll fix in the base sink.
30858 Disable typefind code in basesrc.
30859 Crude port of typefindelement.
30863 2005-04-11 Wim Taymans <wim@fluendo.com>
30865 * check/gst/gstbus.c: (gstbus_suite):
30866 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30867 * check/gstcheck.h:
30868 Fix up the timeout so that the test does not fail.
30870 2005-04-06 Wim Taymans <wim@fluendo.com>
30873 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30874 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30875 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30876 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30877 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30878 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30879 (gst_basesrc_stop), (gst_basesrc_activate),
30880 (gst_basesrc_change_state), (basesrc_find_peek),
30881 (basesrc_find_suggest), (gst_basesrc_type_find):
30882 * gst/base/gstbasesrc.h:
30883 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30884 (gst_filesrc_class_init), (gst_filesrc_init),
30885 (gst_filesrc_finalize), (gst_filesrc_set_location),
30886 (gst_filesrc_set_property), (gst_filesrc_get_property),
30887 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30888 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30889 (gst_filesrc_create_read), (gst_filesrc_create),
30890 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30891 * gst/elements/gstfilesrc.h:
30892 * gst/gstelement.c: (gst_element_get_state_func),
30893 (gst_element_lost_state), (gst_element_pads_activate):
30894 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30895 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30896 (gst_pad_pull_range):
30898 More work on the generic source base class, implement seeking,
30900 Make filesrc extend the base source class.
30901 Added gst_pad_set_checkgetrange_function to GstPad.
30903 2005-04-06 Andy Wingo <wingo@pobox.com>
30905 * pkgconfig/gstreamer-base.pc.in:
30906 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30908 * pkgconfig/Makefile.am:
30909 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30911 2005-04-04 Wim Taymans <wim@fluendo.com>
30913 * gst/base/Makefile.am:
30915 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30916 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30917 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30918 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30919 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30920 (gst_basesrc_base_init), (gst_basesrc_class_init),
30921 (gst_basesrc_init), (gst_basesrc_get_formats),
30922 (gst_basesrc_get_query_types), (gst_basesrc_query),
30923 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30924 (gst_basesrc_set_property), (gst_basesrc_get_property),
30925 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30926 (gst_basesrc_loop), (gst_basesrc_activate),
30927 (gst_basesrc_change_state):
30928 * gst/base/gstbasesrc.h:
30929 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30930 (gst_fakesrc_class_init), (gst_fakesrc_init),
30931 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30932 (gst_fakesrc_get_property), (gst_fakesrc_create):
30933 * gst/elements/gstfakesrc.h:
30934 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30935 (gst_filesrc_open_file), (gst_filesrc_loop),
30936 (gst_filesrc_activate), (filesrc_find_peek),
30937 (gst_filesrc_type_find):
30938 Made base source class, make fakesrc extend it.
30939 Add comments to basesink class.
30940 Some filesrc cleanup.
30942 2005-03-31 David Schleef <ds@schleef.org>
30944 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30945 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30946 expected to link against libgstreamer.
30947 * gst/base/Makefile.am: link against libgstreamer
30948 * gst/elements/Makefile.am: same
30950 2005-03-31 Andy Wingo <wingo@pobox.com>
30952 * tests/instantiate/Makefile.am:
30953 * tests/instantiate/caps.c: Add test to test speed of caps copy
30956 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30957 GMemChunk to be fair.
30959 * gst/gsttrashstack.h: Remove warning about using the fallback
30960 trash stack implementation, it's still faster than malloc.
30962 2005-03-30 Andy Wingo <wingo@pobox.com>
30964 * tests/complexity.c: Add a copyright.
30966 2005-03-31 Wim Taymans <wim@fluendo.com>
30968 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30969 (gst_base_transform_class_init), (gst_base_transform_init),
30970 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30971 (gst_base_transform_get_property),
30972 (gst_base_transform_sink_activate),
30973 (gst_base_transform_src_activate),
30974 (gst_base_transform_change_state):
30975 * gst/base/gstbasetransform.h:
30976 * gst/elements/gstidentity.c: (gst_identity_class_init),
30977 (gst_identity_event), (gst_identity_check_perfect),
30978 (gst_identity_transform), (gst_identity_start),
30979 (gst_identity_stop):
30980 Added start/stop methods to transform base class so subclasses
30981 don't need to deal with state changes even.
30983 2005-03-31 Wim Taymans <wim@fluendo.com>
30985 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30986 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30988 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30989 (gst_pad_pull_range):
30990 Added rate to the discont event to prepare for variable speed
30991 and reverse playback.
30993 2005-03-29 David Schleef <ds@schleef.org>
30996 * testsuite/trigger/Makefile.am:
30997 * testsuite/trigger/trigger.c: A little example program to show
30998 how trigger-based elements can work.
31000 2005-03-29 Wim Taymans <wim@fluendo.com>
31002 * gst/base/Makefile.am:
31004 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31005 (gst_basesink_base_init), (gst_basesink_class_init),
31006 (gst_basesink_pad_getcaps), (gst_basesink_init),
31007 (gst_basesink_activate), (gst_basesink_change_state):
31008 * gst/base/gstbasesink.h:
31009 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31010 (gst_base_transform_base_init), (gst_base_transform_finalize),
31011 (gst_base_transform_class_init), (gst_base_transform_init),
31012 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31013 (gst_base_transform_event), (gst_base_transform_getrange),
31014 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31015 (gst_base_transform_set_property),
31016 (gst_base_transform_get_property),
31017 (gst_base_transform_sink_activate),
31018 (gst_base_transform_src_activate),
31019 (gst_base_transform_change_state):
31020 * gst/base/gstbasetransform.h:
31021 * gst/elements/gstidentity.c: (gst_identity_finalize),
31022 (gst_identity_class_init), (gst_identity_init),
31023 (gst_identity_event), (gst_identity_check_perfect),
31024 (gst_identity_transform), (gst_identity_set_property),
31025 (gst_identity_get_property), (gst_identity_change_state):
31026 * gst/elements/gstidentity.h:
31027 * gst/gstelement.c: (gst_element_get_state_func),
31028 (gst_element_lost_state), (gst_element_pads_activate):
31029 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31030 (gst_pad_check_pull_range), (gst_pad_pull_range):
31032 Simplify pad activation.
31033 Added function to check if pull_range can be performed.
31034 Error out when pulling inactive or flushing pads.
31035 Removed const from refcounted types as it does not make sense.
31036 Simplify pad templates in basesink
31037 Added base class for simple 1-to-1 transforms.
31038 Make identity subclass the base transform.
31040 2005-03-29 Andy Wingo <wingo@pobox.com>
31042 * docs/libs/gstreamer-libs-overrides.txt:
31043 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31044 really don't understand what's going on, but like whatever. I want
31047 * docs/gst/Makefile.am:
31048 * docs/libs/Makefile.am: Dist the overrides files.
31050 * check/Makefile.am (clean-local): Remove .libs directories.
31052 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31053 elements to EXTRA_DIST, so po/ files are happy.
31055 * po/POTFILES.in: Er, remove it here.
31057 * po/POTFILES: Remove gstspider.c.
31059 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31061 * docs/libs/gstreamer-libs-docs.sgml:
31062 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31065 * tests/complexity.c (main): Set the length of the preroll queue
31066 on the sinks to prevent a lockup.
31068 * libs/gst/dataprotocol/Makefile.am:
31069 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31070 the same as the one in check/gst-libs/gdp.c.
31072 * po/, docs/gst/: Commit automatic changes to docs and po files.
31074 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31075 the versioned libgstbase.
31077 * check/Makefile.am: Depend on an unversioned gst-register, seems
31078 to make autoconf happier.
31080 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31082 2005-03-28 Wim Taymans <wim@fluendo.com>
31085 * docs/design/part-gstelement.txt:
31086 * docs/design/part-negotiation.txt:
31087 * docs/design/part-preroll.txt:
31088 * docs/design/part-scheduling.txt:
31089 * docs/design/part-states.txt:
31091 * gst/base/Makefile.am:
31093 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31094 (gst_basesink_base_init), (gst_basesink_class_init),
31095 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31096 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31097 (gst_basesink_set_pad_functions),
31098 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31099 (gst_basesink_set_property), (gst_basesink_get_property),
31100 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31101 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31102 (gst_basesink_preroll_queue_push),
31103 (gst_basesink_preroll_queue_empty),
31104 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31105 (gst_basesink_event), (gst_basesink_get_times),
31106 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31107 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31108 (gst_basesink_loop), (gst_basesink_activate),
31109 (gst_basesink_change_state):
31110 * gst/base/gstbasesink.h:
31111 * gst/elements/Makefile.am:
31112 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31113 (gst_fakesink_class_init), (gst_fakesink_init),
31114 (gst_fakesink_set_property), (gst_fakesink_get_property),
31115 (gst_fakesink_get_times), (gst_fakesink_event),
31116 (gst_fakesink_preroll), (gst_fakesink_render),
31117 (gst_fakesink_change_state):
31118 * gst/elements/gstfakesink.h:
31119 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31120 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31121 * gst/gstelement.c: (gst_element_add_pad),
31122 (gst_element_get_state_func), (gst_element_abort_state),
31123 (gst_element_commit_state), (gst_element_lost_state),
31124 (gst_element_set_state), (gst_element_pads_activate):
31125 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31126 * gst/gstpipeline.c: (gst_pipeline_send_event),
31127 (gst_pipeline_change_state):
31128 Added state change code.
31129 Added/updated docs.
31130 Added sink base class, make fakesink extend the base class.
31131 Small cleanups in GstPipeline.
31133 2005-03-26 David Schleef <ds@schleef.org>
31135 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31136 is broken and should be implemented in a different library.
31137 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31138 * gst/gst.h: remove gstcpu.h
31139 * gst/gstcpu.c: remove
31140 * gst/gstcpu.h: remove
31141 * gst/Makefile.am.future: Remove this file. It's ancient.
31143 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31145 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31146 (gst_bin_send_event):
31147 Add default event/set_manager handlers. The set_manager handler
31148 takes care that the manager is distributed over kids that were
31149 already in the bin before the manager was set. The event handler
31150 is a utility virtual function that sends the event over all sinks,
31151 so that gst_element_send_event (bin, event); has the expected
31153 * gst/gstpad.c: (gst_pad_event_default):
31154 Re-install default event handling for discontinuities, so that
31155 seeking works without requiring hacks in applications or extra
31157 * gst/gstpipeline.c: (gst_pipeline_class_init),
31158 (gst_pipeline_send_event):
31159 Half hack, half utility: set a pipeline to PAUSED for seek events,
31160 since that is the only way we can guarantee a/v sync. Means that
31161 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31162 and it "just works".
31164 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31166 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31167 Lock/unlock mismatch.
31169 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31171 * docs/faq/gst-uninstalled:
31172 add gst-plugins-base
31173 * docs/gst/Makefile.am:
31174 don't error out until docs are fixed
31175 * docs/gst/gstreamer.types:
31178 2005-03-22 Wim Taymans <wim@fluendo.com>
31180 * check/Makefile.am:
31181 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31182 * gst/gststructure.c: (gst_structure_set_valist),
31183 (gst_structure_copy_conditional):
31184 Activated more tests.
31185 Added message test.
31186 Added G_TYPE_POINTER to GstStructure.
31189 2005-03-22 Wim Taymans <wim@fluendo.com>
31191 * docs/design/part-TODO.txt:
31192 * docs/design/part-events.txt:
31193 * docs/design/part-gstbin.txt:
31194 * docs/design/part-gstbus.txt:
31195 * docs/design/part-gstpipeline.txt:
31196 * docs/design/part-messages.txt:
31198 * gst/gstmessage.c:
31201 2005-03-21 Wim Taymans <wim@fluendo.com>
31203 * gst/gstbus.c: (gst_bus_post):
31204 Fix copy-and-paste error.
31206 2005-03-21 Wim Taymans <wim@fluendo.com>
31208 * check/Makefile.am:
31210 * gst/elements/Makefile.am:
31211 * gst/elements/gstelements.c:
31212 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31213 (gst_fakesink_event), (gst_fakesink_chain):
31214 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31215 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31216 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31217 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31218 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31219 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31220 (gst_fakesrc_loop), (gst_fakesrc_activate),
31221 (gst_fakesrc_change_state):
31222 * gst/elements/gstfakesrc.h:
31223 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31224 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31225 (gst_filesrc_open_file), (gst_filesrc_loop),
31226 (gst_filesrc_activate), (gst_filesrc_change_state),
31227 (filesrc_find_peek), (filesrc_find_suggest),
31228 (gst_filesrc_type_find):
31229 * gst/elements/gstidentity.c: (gst_identity_finalize),
31230 (gst_identity_class_init), (gst_identity_init),
31231 (gst_identity_proxy_getcaps), (identity_queue_push),
31232 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31233 (gst_identity_getrange), (gst_identity_chain),
31234 (gst_identity_sink_loop), (gst_identity_src_loop),
31235 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31236 (gst_identity_set_property), (gst_identity_get_property),
31237 (gst_identity_change_state):
31238 * gst/elements/gstidentity.h:
31239 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31240 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31241 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31242 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31243 (gst_tee_sink_activate):
31244 * gst/elements/gsttee.h:
31245 * gst/gst.c: (gst_register_core_elements), (init_post):
31247 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31248 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31249 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31250 (gst_bin_change_state):
31252 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31253 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31254 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31255 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31256 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31257 (bus_watch_callback), (bus_watch_destroy),
31258 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31259 (poll_timeout), (gst_bus_poll):
31263 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31264 (gst_element_post_message), (gst_element_message_full),
31265 (gst_element_get_state_func), (gst_element_get_state),
31266 (gst_element_abort_state), (gst_element_commit_state),
31267 (gst_element_lost_state), (gst_element_set_state),
31268 (gst_element_pads_activate), (gst_element_change_state),
31269 (gst_element_dispose), (gst_element_set_manager_func),
31270 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31271 (gst_element_set_manager), (gst_element_get_manager),
31272 (gst_element_set_bus), (gst_element_get_bus),
31273 (gst_element_set_scheduler), (gst_element_get_scheduler):
31274 * gst/gstelement.h:
31275 * gst/gstevent.c: (gst_event_new_segment_seek),
31276 (gst_event_new_flush):
31278 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31279 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31280 (gst_message_new_eos), (gst_message_new_error),
31281 (gst_message_new_warning), (gst_message_new_tag),
31282 (gst_message_new_state_changed), (gst_message_new_application),
31283 (gst_message_get_structure), (gst_message_parse_tag),
31284 (gst_message_parse_state_changed), (gst_message_parse_error),
31285 (gst_message_parse_warning):
31286 * gst/gstmessage.h:
31287 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31288 (gst_real_pad_set_property), (gst_pad_set_active),
31289 (gst_pad_is_active), (gst_pad_set_blocked_async),
31290 (gst_pad_set_blocked), (gst_pad_is_blocked),
31291 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31292 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31293 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31294 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31295 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31296 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31297 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31298 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31299 (gst_pad_set_caps), (gst_pad_configure_sink),
31300 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31301 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31302 (gst_real_pad_dispose), (gst_real_pad_finalize),
31303 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31304 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31305 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31307 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31308 (pipeline_bus_handler), (gst_pipeline_change_state),
31309 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31310 * gst/gstpipeline.h:
31312 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31313 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31314 (gst_queue_link_src), (gst_queue_bufferalloc),
31315 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31316 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31317 (gst_queue_loop), (gst_queue_handle_src_event),
31318 (gst_queue_handle_src_query), (gst_queue_src_activate),
31319 (gst_queue_change_state):
31321 * gst/gstscheduler.c: (gst_scheduler_init),
31322 (gst_scheduler_dispose), (gst_scheduler_create_task),
31323 (gst_scheduler_factory_create):
31324 * gst/gstscheduler.h:
31325 * gst/gststructure.c: (gst_structure_get_type),
31326 (gst_structure_copy_conditional):
31327 * gst/gststructure.h:
31328 * gst/gsttaginterface.h:
31329 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31330 (gst_task_init), (gst_task_dispose), (gst_task_create),
31331 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31337 * gst/schedulers/Makefile.am:
31338 * gst/schedulers/cothreads_compat.h:
31339 * gst/schedulers/entryscheduler.c:
31340 * gst/schedulers/faircothreads.c:
31341 * gst/schedulers/faircothreads.h:
31342 * gst/schedulers/fairscheduler.c:
31343 * gst/schedulers/gstbasicscheduler.c:
31344 * gst/schedulers/gstoptimalscheduler.c:
31345 * gst/schedulers/gthread-cothreads.h:
31346 * gst/schedulers/threadscheduler.c:
31347 (gst_thread_scheduler_task_get_type),
31348 (gst_thread_scheduler_task_class_init),
31349 (gst_thread_scheduler_task_init),
31350 (gst_thread_scheduler_task_start),
31351 (gst_thread_scheduler_task_stop),
31352 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31353 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31354 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31355 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31357 * libs/gst/Makefile.am:
31358 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31359 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31360 (gst_file_pad_parent_set):
31361 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31362 (gst_dp_event_from_packet):
31363 * tests/complexity.c: (main):
31364 * tests/mass_elements.c: (main):
31365 * testsuite/states/locked.c: (message_received), (main):
31366 * testsuite/states/parent.c: (main):
31367 * tools/gst-inspect.c: (print_element_flag_info),
31368 (print_implementation_info), (print_pad_info):
31369 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31371 * tools/gst-md5sum.c: (event_loop), (main):
31372 * tools/gst-typefind.c: (main):
31373 * tools/gst-xmlinspect.c: (print_element_info):
31375 Added GstBus for mainloop integration.
31376 Added GstMessage for sending notifications on the bus.
31377 Added GstTask as an abstraction for pipeline entry points.
31379 Removed Schedulers.
31380 Simplified GstQueue for multithreaded core.
31381 Made _link threadsafe, removed old capsnego.
31382 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31383 Added pad blocking functions.
31384 Reworked scheduling functions in GstPad to prepare for
31385 scheduling updates soon.
31386 Moved events out of data stream.
31387 Simplified GstEvent types.
31388 Added return values to push/pull.
31389 Removed clocking from GstElement.
31390 Added prototypes for state change function for next merge.
31391 Removed iterate from bins and state change management.
31392 Fixed some elements, disabled others for now.
31393 Fixed -inspect and -launch.
31394 Added check for GstBus.
31396 2005-03-10 Wim Taymans <wim@fluendo.com>
31398 * docs/design/part-MT-refcounting.txt:
31399 * docs/design/part-clocks.txt:
31400 * docs/design/part-gstelement.txt:
31401 * docs/design/part-gstobject.txt:
31402 * docs/design/part-standards.txt:
31403 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31404 (gst_bin_remove_func), (gst_bin_remove):
31408 * testsuite/clock/clock1.c: (main):
31409 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31411 * testsuite/dlopen/loadgst.c: (do_test):
31412 * testsuite/refcounting/bin.c: (add_remove_test1),
31413 (add_remove_test2), (main):
31414 * testsuite/refcounting/element.c: (main):
31415 * testsuite/refcounting/element_pad.c: (main):
31416 * testsuite/refcounting/pad.c: (main):
31417 * tools/gst-launch.c: (sigint_handler_sighandler):
31418 * tools/gst-typefind.c: (main):
31420 Added doc about clock.
31421 removed gst_bin_iterate_recurse_up(), marked methods
31423 Fix more testsuites.
31425 2005-03-09 Wim Taymans <wim@fluendo.com>
31427 * gst/gstpad.c: (gst_pad_get_direction),
31428 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31429 (gst_pad_collect_valist):
31430 * testsuite/bins/interface.c: (main):
31431 * testsuite/caps/audioscale.c: (test_caps):
31432 * testsuite/caps/caps.c: (test1), (test2), (test3):
31433 * testsuite/caps/deserialize.c: (main):
31434 * testsuite/caps/enumcaps.c: (main):
31435 * testsuite/caps/filtercaps.c: (main):
31436 * testsuite/caps/intersect2.c: (main):
31437 * testsuite/caps/random.c: (main):
31438 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31439 * testsuite/caps/sets.c: (check_caps):
31440 * testsuite/caps/simplify.c: (check_caps), (main):
31441 * testsuite/caps/subtract.c: (check_caps):
31442 Fix _pad_get_direction wrt ghostpads.
31443 Fix caps testsuite.
31445 2005-03-09 Wim Taymans <wim@fluendo.com>
31447 * check/Makefile.am:
31448 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31449 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31450 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31451 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31452 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31453 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31454 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31455 (bin_element_is_sink), (gst_bin_iterate_sinks),
31456 (gst_bin_iterate_all_by_interface):
31458 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31459 (gst_element_change_state), (gst_element_dispose),
31460 (gst_element_finalize), (gst_element_set_loop_function):
31461 * gst/gstelement.h:
31462 * gst/gstiterator.c: (find_custom_fold_func):
31463 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31464 (gst_pad_collectv), (gst_pad_collect_valist),
31465 (gst_pad_template_new):
31466 * gst/gstpipeline.c: (gst_pipeline_class_init),
31467 (gst_pipeline_dispose), (gst_pipeline_set_property),
31468 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31469 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31470 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31472 * gst/schedulers/entryscheduler.c:
31473 * gst/schedulers/gstbasicscheduler.c:
31474 (gst_basic_scheduler_cothreaded_chain),
31475 (gst_basic_scheduler_chain_add_element):
31476 * testsuite/bins/interface.c: (main):
31478 Added GstSystemClock test.
31479 Implemented clock distribution code in GstBin.
31480 Implemented iterate sinks method for future use.
31481 Rearranged gstelement.h
31482 Fix GstIterator comparison bug.
31483 Moved some code to GstPipeline, mostly clocking related.
31485 2005-03-09 Wim Taymans <wim@fluendo.com>
31488 * gst/gst_private.h:
31489 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31490 (gst_bin_remove_func), (gst_bin_remove),
31491 (gst_bin_get_by_name_recurse_up):
31492 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31493 (gst_clock_id_compare_func), (gst_clock_id_wait),
31494 (gst_clock_id_wait_async), (gst_clock_init),
31495 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31496 * gst/gstelement.h:
31497 * gst/gstinfo.c: (_gst_debug_init):
31499 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31500 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31502 Bump version number, we're now 0.9.0
31503 Add future debugging category.
31504 Fix NULL _unref() in _get_by_name_recurse_up
31505 Rearrange gstpad.h.
31508 2005-03-08 Wim Taymans <wim@fluendo.com>
31510 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31511 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31512 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31513 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31514 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31515 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31516 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31517 * gst/elements/gstidentity.c: (gst_identity_class_init):
31518 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31519 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31520 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31521 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31522 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31524 * gst/gstelement.c: (gst_element_class_init),
31525 (gst_element_base_class_init), (gst_element_init),
31526 (gst_element_get_random_pad), (gst_element_wait_state_change),
31527 (gst_element_change_state), (gst_element_dispose),
31528 (gst_element_finalize), (gst_element_set_loop_function):
31529 * gst/gstelement.h:
31530 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31531 * gst/gstthread.c: (gst_thread_class_init),
31532 (gst_thread_release_children_locks), (gst_thread_change_state):
31533 * gst/schedulers/gstbasicscheduler.c:
31534 (gst_basic_scheduler_loopfunc_wrapper),
31535 (gst_basic_scheduler_chain_wrapper),
31536 (gst_basic_scheduler_src_wrapper),
31537 (gst_basic_scheduler_remove_element):
31538 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31539 Remove threadsafe properties. Fix elements because GObject
31540 complains when installing a property before declaring a
31541 set/get_property handler.
31542 Rearrange gstelement.h file, use STATE macros for state locks.
31543 Free mutexes in the finalize method instead of dispose.
31545 2005-03-08 Wim Taymans <wim@fluendo.com>
31547 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31548 * gst/gstthread.c: (gst_thread_release_children_locks):
31549 Added parentage check.
31550 Fix build og GstThread again.
31552 2005-03-08 Wim Taymans <wim@fluendo.com>
31554 * docs/design/part-MT-refcounting.txt:
31555 * docs/design/part-conventions.txt:
31556 * docs/design/part-gstobject.txt:
31557 * docs/design/part-relations.txt:
31558 * docs/design/part-standards.txt:
31559 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31560 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31561 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31562 (gst_bin_iterate_all_by_interface):
31565 * gst/gstelement.c: (gst_element_class_init),
31566 (gst_element_change_state), (gst_element_set_loop_function):
31567 * gst/gstelement.h:
31568 * gst/gstiterator.c:
31569 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31570 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31571 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31572 (gst_object_set_parent), (gst_object_unparent),
31573 (gst_object_check_uniqueness):
31575 Docs updates, clean up some headers.
31577 2005-03-07 Wim Taymans <wim@fluendo.com>
31579 * check/.cvsignore:
31580 * check/Makefile.am:
31581 * check/gst-libs/.cvsignore:
31582 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31583 * check/gst/.cvsignore:
31584 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31585 (START_TEST), (gstbus_suite), (main):
31586 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31587 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31588 (gst_data_suite), (main):
31589 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31590 (add_fold_func), (gstiterator_suite), (main):
31591 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31592 (thread_name_object), (thread_name_object_default),
31593 (gst_object_name_compare), (gst_object_suite), (main):
31594 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31595 (gst_pad_suite), (main):
31596 * check/gstcheck.c: (gst_check_log_message_func),
31597 (gst_check_log_critical_func), (gst_check_init):
31598 * check/gstcheck.h:
31599 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31600 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31603 2005-03-07 Wim Taymans <wim@fluendo.com>
31605 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31606 (gst_list_iterator_next), (gst_list_iterator_resync),
31607 (gst_list_iterator_free), (gst_iterator_new_list),
31608 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31609 (gst_iterator_free), (gst_iterator_push), (filter_next),
31610 (filter_resync), (filter_uninit), (filter_free),
31611 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31612 (gst_iterator_foreach), (find_custom_fold_func),
31613 (gst_iterator_find_custom):
31614 * gst/gstiterator.h:
31615 Added missing files.
31617 2005-03-07 Wim Taymans <wim@fluendo.com>
31621 * docs/design/part-MT-refcounting.txt:
31622 * docs/design/part-conventions.txt:
31623 * docs/design/part-gstobject.txt:
31624 * docs/design/part-relations.txt:
31625 * examples/mixer/mixer.c: (main):
31626 * examples/thread/thread.c: (eos), (main):
31628 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31629 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31630 (gst_spider_plug_from_srcpad):
31631 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31632 (gst_spider_identity_change_state),
31633 (gst_spider_identity_sink_loop_type_finding):
31634 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31635 * gst/elements/gstidentity.c: (gst_identity_init):
31636 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31637 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31638 * gst/elements/gsttypefindelement.c: (free_entry):
31641 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31642 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31643 (gst_bin_set_index), (gst_bin_set_element_sched),
31644 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31645 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31646 (gst_bin_iterate_elements), (iterate_child_recurse),
31647 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31648 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31649 (compare_interface), (gst_bin_get_by_interface),
31650 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31652 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31653 (gst_buffer_default_free), (gst_buffer_default_copy),
31654 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31655 (gst_buffer_create_sub):
31657 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31658 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31659 (gst_caps_unref), (gst_static_caps_get),
31660 (gst_caps_remove_and_get_structure), (gst_caps_append),
31661 (gst_caps_append_structure), (gst_caps_remove_structure),
31662 (gst_caps_copy_nth), (gst_caps_set_simple),
31663 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31664 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31665 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31666 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31667 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31668 (gst_caps_structure_figure_out_union),
31669 (gst_caps_switch_structures), (gst_caps_do_simplify),
31670 (gst_caps_replace), (gst_caps_from_string),
31671 (gst_caps_copy_conditional):
31673 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31674 (_gst_clock_id_free), (gst_clock_id_unref),
31675 (gst_clock_id_compare_func), (gst_clock_id_wait),
31676 (gst_clock_id_wait_async), (gst_clock_class_init),
31677 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31678 (gst_clock_get_time), (gst_clock_set_time_adjust),
31679 (gst_clock_set_property), (gst_clock_get_property):
31682 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31683 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31685 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31686 (gst_element_requires_clock), (gst_element_provides_clock),
31687 (gst_element_set_clock), (gst_element_clock_wait),
31688 (gst_element_wait), (gst_element_set_time_delay),
31689 (gst_element_is_indexable), (gst_element_add_pad),
31690 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31691 (pad_compare_name), (gst_element_get_static_pad),
31692 (gst_element_request_pad), (gst_element_get_request_pad),
31693 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31694 (gst_element_class_get_pad_template_list),
31695 (gst_element_class_get_pad_template), (gst_element_error_func),
31696 (gst_element_get_random_pad), (gst_element_get_event_masks),
31697 (gst_element_send_event), (gst_element_seek),
31698 (gst_element_get_query_types), (gst_element_query),
31699 (gst_element_get_formats), (gst_element_convert),
31700 (gst_element_is_locked_state), (gst_element_set_locked_state),
31701 (gst_element_sync_state_with_parent), (gst_element_change_state),
31702 (gst_element_finalize), (gst_element_yield),
31703 (gst_element_interrupt), (gst_element_set_scheduler),
31704 (gst_element_get_scheduler), (gst_element_set_loop_function):
31705 * gst/gstelement.h:
31707 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31708 (gst_format_get_by_nick), (gst_format_get_details),
31709 (gst_format_iterate_definitions):
31711 * gst/gstindex.c: (gst_index_gtype_resolver):
31714 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31715 (gst_mem_chunk_free):
31716 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31717 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31718 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31719 (gst_object_dispatch_properties_changed),
31720 (gst_object_set_name_default), (gst_object_set_name),
31721 (gst_object_get_name), (gst_object_set_name_prefix),
31722 (gst_object_get_name_prefix), (gst_object_set_parent),
31723 (gst_object_get_parent), (gst_object_unparent),
31724 (gst_object_check_uniqueness), (gst_object_save_thyself),
31725 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31726 (gst_object_set_property), (gst_object_get_property),
31727 (gst_object_get_path_string):
31729 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31730 (gst_real_pad_init), (gst_real_pad_get_property),
31731 (gst_pad_custom_new), (gst_pad_get_direction),
31732 (gst_pad_set_active), (gst_pad_is_active),
31733 (gst_pad_set_event_function), (gst_pad_is_linked),
31734 (gst_pad_link_free), (gst_pad_link_intersect),
31735 (gst_pad_link_fixate), (gst_pad_set_caps),
31736 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31737 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31738 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31739 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31740 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31741 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31742 (gst_pad_realize), (gst_pad_get_allowed_caps),
31743 (gst_real_pad_dispose), (gst_real_pad_finalize),
31744 (gst_pad_collectv), (gst_pad_collect_valist),
31745 (gst_pad_template_dispose), (gst_pad_template_new),
31746 (gst_pad_get_internal_links):
31748 * gst/gstpipeline.c: (gst_pipeline_dispose),
31749 (gst_pipeline_change_state):
31750 * gst/gstpipeline.h:
31752 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31753 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31754 * gst/gstpluginfeature.h:
31755 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31756 * gst/gstquery.c: (_gst_query_type_initialize),
31757 (gst_query_type_register), (gst_query_type_get_by_nick),
31758 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31760 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31761 * gst/gstscheduler.c: (gst_scheduler_add_element),
31762 (gst_scheduler_factory_create):
31763 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31764 (gst_structure_free), (gst_structure_set_name),
31765 (gst_structure_id_set_value), (gst_structure_set_value),
31766 (gst_structure_set_valist), (gst_structure_remove_field),
31767 (gst_structure_remove_fields),
31768 (gst_structure_remove_fields_valist),
31769 (gst_structure_remove_all_fields), (gst_structure_foreach),
31770 (gst_structure_map_in_place),
31771 (gst_caps_structure_fixate_field_nearest_int),
31772 (gst_caps_structure_fixate_field_nearest_double):
31773 * gst/gststructure.h:
31774 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31775 (gst_system_clock_init), (gst_system_clock_dispose),
31776 (gst_system_clock_async_thread),
31777 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31778 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31779 * gst/gstsystemclock.h:
31780 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31781 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31782 * gst/gsttaginterface.c:
31783 * gst/gstthread.c: (gst_thread_dispose),
31784 (gst_thread_release_children_locks), (gst_thread_change_state),
31785 (gst_thread_main_loop):
31786 * gst/gsttrashstack.h:
31787 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31789 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31790 (gst_element_request_pad), (gst_element_get_pad_from_template),
31791 (gst_element_request_compatible_pad),
31792 (gst_element_get_compatible_pad_filtered),
31793 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31794 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31795 (gst_element_link_many), (gst_element_link),
31796 (gst_element_link_pads), (gst_element_unlink_pads),
31797 (gst_element_unlink_many), (gst_element_unlink),
31798 (gst_pad_can_link_filtered), (gst_pad_can_link),
31799 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31800 (gst_object_default_error), (gst_bin_add_many),
31801 (gst_bin_remove_many), (gst_element_populate_std_props),
31802 (gst_element_class_install_std_props), (gst_buffer_merge),
31803 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31804 (link_fold_func), (gst_pad_proxy_setcaps):
31806 * gst/gstvalue.c: (gst_value_deserialize_string):
31807 * gst/parse/grammar.y:
31808 * gst/schedulers/gstbasicscheduler.c:
31809 (gst_basic_scheduler_cothreaded_chain),
31810 (gst_basic_scheduler_chain_recursive_add),
31811 (gst_basic_scheduler_pad_link):
31812 * gst/schedulers/gstoptimalscheduler.c:
31813 (get_group_schedule_function),
31814 (gst_opt_scheduler_state_transition),
31815 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31816 * libs/gst/bytestream/bytestream.c:
31817 * libs/gst/dataprotocol/dataprotocol.c:
31818 (gst_dp_header_from_buffer):
31821 * tests/threadstate/threadstate2.c: (eos):
31822 * tools/gst-compprep.c: (main):
31823 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31824 (print_pad_info), (print_children_info):
31825 * tools/gst-launch.c: (idle_func), (main):
31826 * tools/gst-md5sum.c: (idle_func), (main):
31827 * tools/gst-xmlinspect.c: (print_element_info):
31828 First THREADED backport attempt, focusing on adding locks and
31829 making sure the API is threadsafe. Needs more work. More docs
31832 2005-02-24 Andy Wingo <wingo@pobox.com>
31834 * tests/bench-complexity.scm:
31835 * tests/complexity.gnuplot: New files, good for running complexity
31838 * tests/Makefile.am:
31839 * tests/complexity.c: New test, sets up N elements, at each level
31840 teeing into M streams per element. Eeeenteresting.
31842 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31843 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31844 running bench-mass_elements.scm.
31846 * tests/bench-mass_elements.scm: New script, runs mass_elements
31847 for various numbers of identities, outputting the results to a
31848 file. Requires guile 1.6. Just for testing.
31850 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31852 * gst/schedulers/fairscheduler.c:
31853 compile with debug disabled
31855 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31858 hunting season on 0.9 is now OPEN