1 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
3 * win32/common/libgstreamer.def:
4 Add new symbols to .def file.
6 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
8 * docs/gst/gstreamer-sections.txt:
9 * gst/gstbin.c: (gst_bin_recalculate_latency),
10 (gst_bin_change_state_func):
12 Add method to recalculate and redistribute the latency on a bin.
13 API: gst_bin_recalculate_latency().
15 2008-11-18 Wim Taymans <wim.taymans@collabora.co.uk>
18 Document the free_func.
20 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
22 * libs/gst/controller/gstinterpolation.c:
23 * libs/gst/controller/gstlfocontrolsource.c:
24 Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
25 as it is mapped to a cast on non-win32 platforms.
27 2008-11-17 Stefan Kost <ensonic@users.sf.net>
29 * libs/gst/controller/gstcontroller.c:
30 * libs/gst/controller/gstcontrollerprivate.h:
31 Keep last-value and only call set_property if value has changed. This
32 supresses all the g_object_notifies we would trigger otherwise. It
33 also allows the user to chage the value while there is no controller
36 2008-11-17 Stefan Kost <ensonic@users.sf.net>
39 Don't crash if either of the string GValues is empty.
41 2008-11-17 Andy Wingo <wingo@pobox.com>
43 * tools/gst-inspect.c (print_all_uri_handlers): New function,
44 prints a summary of what URI schemes are supported by what
46 (main): Plumb in support for --uri-handlers or -u, and fix the
47 argc check for -a and -u.
49 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
52 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
55 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
57 * gst/gstbuffer.c: (gst_buffer_finalize):
58 Avoid costly typechecking for trivially correct pointers.
60 * gst/gstpoll.c: (gst_poll_wait):
61 Add some G_LIKELY here and there.
63 * libs/gst/base/gstadapter.c: (gst_adapter_push):
66 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
68 * docs/random/wtay/poll-timeout:
71 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
73 * tests/old/testsuite/caps/intersection.c: (main):
74 * tests/old/testsuite/plugin/loading.c: (main):
75 Remove references to deprecated API g_mem_chunk*.
78 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
80 * tools/gst-inspect.c: (main):
81 Add --plugin option. Fixes #560301.
83 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
85 * docs/random/wtay/poll-timeout:
86 Quick braindump for a possible (not totally verified) atomic case.
88 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
90 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
91 (gst_registry_binary_initialize_magic),
92 (gst_registry_binary_write_cache),
93 (gst_registry_binary_check_magic):
94 * gst/gstregistrybinary.h:
95 Don't write and check a CRC for the binary registry file. It's
96 guaranteed that the registry is completely written (it's first written
97 to a temporary file and then moved) and if the registry was corrupted
98 by some hardware failure we would have bigger problems.
100 Bump binary registry version to 0.10.21.1 for this as it's an
101 incompatible change and to ensure that the registry gets rebuild
104 This saves some milliseconds for reading/writing the registry.
107 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
109 * docs/random/wtay/poll-timeout:
110 Some pseudo code for how we could implement clock timeouts with GstPoll.
112 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
114 * plugins/elements/gstfilesink.c:
115 Update Author string to match others.
117 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
119 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
120 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
121 being fixed and inline the trivial check.
123 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
125 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
126 (gst_caps_merge_structure), (gst_caps_get_structure),
127 (gst_caps_copy_nth), (gst_caps_set_simple),
128 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
129 (gst_caps_is_equal_fixed), (gst_caps_intersect),
130 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
131 (gst_caps_to_string):
132 Callgrind micro optimisations.
133 Avoid array bounds checks and force inline of trivial function.
135 * gst/gstobject.c: (gst_object_set_name_default):
136 -1 is equivalent to letting glib to the strlen but then there is more
137 room for optimisations and it's not our fault.
139 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
140 no need to clear the array, we're cool.
142 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
143 The most common _is_fixed() check is done on fundamental glib base
144 types so we check this first instead of doing a huge amount of
145 useless GST_TYPE_ARRAY calls.
147 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
150 Add a SKIP seek flag for use with advanced trickmodes.
151 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
153 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
155 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
156 No need to memset, we can clear the value ourselves.
158 * gst/gstvalue.c: (gst_type_is_fixed),
159 (gst_value_get_compare_func):
160 Some optimisations from a few callgrind sessions:
161 When checking if a type is fixed, check for trivial fundamental types
162 first before checking types for which we need to get the type followed
163 by the heavy duty type checks, this reduces the amount of
164 g_type_fundamental() calls a lot.
165 When getting the compare function, first check for our registered types.
166 If that fails, do the heavy duty g_type_is_a() checks, reduces the
167 amount of g_type_is_a() considerably.
169 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
171 * docs/design/part-TODO.txt:
172 Mumble something about removing GstXML.
174 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
176 * gst/gstbin.c: (gst_bin_handle_message_func):
177 Get the seqnum before we dispose the message.
179 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
181 * docs/design/part-TODO.txt:
182 Refer to the framestepping document.
184 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
186 * gst/gstbin.c: (bin_handle_async_start),
187 (gst_bin_handle_message_func), (gst_bin_query):
188 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
189 (gst_base_sink_event), (gst_base_sink_change_state):
190 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
191 (gst_base_src_loop), (gst_base_src_change_state):
192 Copy seqnums from events to messages so that they can all be related
195 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
197 * tools/gst-launch.c: (event_loop):
198 Print the message seqnums.
200 2008-11-04 Andy Wingo <wingo@pobox.com>
202 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
204 2008-11-04 Andy Wingo <wingo@pobox.com>
206 Add sequence numbers to events and messages. See #559250.
208 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
212 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
213 events with a new sequence number, and copy it when copying.
214 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
215 an event's sequence number.
218 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
219 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
222 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
224 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
226 * docs/manual/advanced-position.xml:
227 * docs/manual/basics-bins.xml:
228 * docs/manual/basics-bus.xml:
229 * docs/manual/basics-pads.xml:
230 * docs/manual/intro-gstreamer.xml:
231 * docs/manual/intro-preface.xml:
232 Some Application Development Manual fixes thanks to
233 Andrew Feren. Fixes #558459.
235 2008-11-03 Stefan Kost <ensonic@users.sf.net>
237 * gst/gstregistrybinary.c:
238 Don't bother with the GTimer if we don't output the results.
240 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
242 Patch by: David Schleef <ds@schleef.org>
244 * libs/gst/net/Makefile.am:
245 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
247 2008-10-31 Stefan Kost <ensonic@users.sf.net>
249 * gst/gstregistrybinary.c:
250 Oh my, studip, stupid me. Remove double stat() call.
252 2008-10-31 Stefan Kost <ensonic@users.sf.net>
255 Use g_unlink instead of unlink.
257 * gst/gststructure.c:
266 Formatting & whitespaces.
268 2008-10-31 Stefan Kost <ensonic@users.sf.net>
270 * plugins/elements/gstidentity.c:
271 Doc typo. Use return value of parent_class->event.
273 * plugins/elements/gsttypefindelement.c:
274 Chain up at the end for consistency.
276 2008-10-30 Stefan Kost <ensonic@users.sf.net>
279 * docs/gst/gstreamer-docs.sgml:
280 * docs/gst/gstreamer-sections.txt:
281 * docs/gst/running.xml:
282 * docs/libs/gstreamer-libs-docs.sgml:
283 Change to xinclude based build - its faster and easier to maintain.
285 2008-10-30 Stefan Kost <ensonic@users.sf.net>
287 * gst/gstregistrybinary.c:
288 * gst/gstregistryxml.c:
289 Use g_unlink() as none of these are directories.
291 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
293 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
296 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
298 * libs/gst/base/gstbasetransform.c:
299 (gst_base_transform_find_transform), (gst_base_transform_getrange):
300 If we have a fixate function, call it even if we already have fixed caps
301 because the subclass might add some caps. Makes audioconvert add a
302 default channel layout.
304 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
306 * libs/gst/base/gstbasetransform.c:
307 (gst_base_transform_prepare_output_buffer),
308 (gst_base_transform_getrange):
309 Clear the output buffer variable.
310 Cleanups to the error path in the getrange function.
313 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
315 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
316 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
317 Use gst_buffer_try_new_and_alloc() and handle errors instead of
318 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
321 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
323 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
324 Set the last_stop to a more meaningful position when configuring the
325 segment. ie. the start/stop of the segment or clipped against the
326 updated segment boundaries.
328 * tests/check/gst/gstsegment.c: (GST_START_TEST):
329 Add some unit tests for the last_stop.
331 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
333 * libs/gst/base/gstbytereader.c:
334 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
337 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
339 * docs/gst/gstreamer-sections.txt:
341 API: Move float endianness conversion macros from libgstfloatcast
342 to core as it's useful in general, even in core. Fixes bug #555196.
343 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
344 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
345 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
347 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
348 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
349 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
350 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
352 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
354 * docs/libs/gstreamer-libs-sections.txt:
355 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
356 (gst_byte_reader_peek_data):
357 * libs/gst/base/gstbytereader.h:
358 * win32/common/libgstbase.def:
359 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
360 to get a pointer to the data at the current position and have
363 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
366 Fix a bug in the output of the configure script summary
367 when --gst-disable-registry is supplied
369 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
371 * libs/gst/base/gstbitreader.c:
372 * libs/gst/base/gstbytereader.c:
373 Fix the names of 2 functions in the docs strings.
375 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
377 * libs/gst/base/gstbasetransform.c:
378 (gst_base_transform_prepare_output_buffer),
379 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
380 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
381 refcount problems as seen in banshee and maybe also in farsight2.
382 Remove atomic int now that we need to take the lock anyways.
384 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
386 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
387 (gst_base_sink_default_prepare_seek_segment),
388 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
389 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
390 (gst_base_sink_query):
391 Implement more seeking in pull mode.
392 Use pad convert functions to convert position to the requested format.
393 Fix position/duration reporting in pull mode.
394 Implement position and duration reporting in other formats than time.
396 * libs/gst/base/gstbasesink.h:
397 Add member to keep track of when the segment is playing.
399 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
401 * gst/gstpad.c: (gst_pad_configure_src):
402 When we use gst_pad_alloc_buffer() without wanting to set the caps we
403 also don't need to check if the caps are compatible because the caller
404 presumably is going to perform its own custom checks. Fixes some cases
405 where basetransform elements would error out when it was not needed.
407 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
409 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
412 * libs/gst/base/gstbasetransform.c:
413 (gst_base_transform_handle_buffer),
414 (gst_base_transform_reconfigure):
417 * win32/common/libgstbase.def:
420 2008-10-19 Stefan Kost <ensonic@users.sf.net>
422 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
423 Remove duplicated assignment and log a message in failure case.
425 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
427 Patch by: Dig Ge <dig.ge.cn at gmail com>
429 * tests/examples/helloworld/helloworld.c: (main):
430 Fix copy'n'paste bug in hello world example (#556900).
432 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
434 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
435 (gst_base_sink_query):
436 Query the total number of bytes when activating the pad in pull mode.
437 Implement duration query in pull mode by using the installed pad convert
438 function to convert from bytes to the requested format.
440 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
442 * docs/libs/gstreamer-libs-sections.txt:
443 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
444 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
445 (gst_base_sink_event), (gst_base_sink_perform_seek),
446 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
447 (gst_base_sink_send_event), (gst_base_sink_change_state):
448 * libs/gst/base/gstbasesink.h:
449 Add method to commit the state in subclasses.
450 Refactor the flush_start and flush_stop code because we need it for
451 flushing while seeking too.
452 Implement the beginnings of seeking in pull mode.
453 Use the segment last_stop field for the pulling offset.
454 Fix the pause method in pull mode.
455 Configure the segment to BYTES for pull mode.
456 API: GstBaseSink::gst_base_sink_do_preroll()
458 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
460 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
463 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
465 * gst/gstquark.c: (_priv_gst_quarks_initialize):
466 Fix printf format warning.
468 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
470 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
471 Fix flow aggregation of tee. Error out immediately for all flow returns
472 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
473 and return OK if at least one pad is linked.
475 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
476 and otherwise returned the flow return of the last pad, which is wrong.
478 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
479 (GST_START_TEST), (tee_suite):
480 Add unit tests for the flow aggregation.
482 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
484 * docs/design/part-TODO.txt:
485 Remove item from the todo list because it was fixed with the latency
486 state change rewrites.
488 * docs/design/part-seeking.txt:
489 * docs/design/part-segments.txt:
492 * gst/gstevent.c: (gst_event_new_new_segment_full),
493 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
494 (gst_event_parse_buffer_size), (gst_event_new_qos),
495 (gst_event_parse_qos), (gst_event_new_seek),
496 (gst_event_parse_seek), (gst_event_new_latency),
497 (gst_event_parse_latency):
498 Use quarks to construct and parse events.
500 * gst/gstquark.c: (_priv_gst_quarks_initialize):
502 Add some more quarks to the table.
503 Emit a warning when the quark tables are not in sync.
505 * tests/check/gst/gstbus.c: (GST_START_TEST):
508 2008-10-13 Stefan Kost <ensonic@users.sf.net>
510 * plugins/elements/Makefile.am:
511 * plugins/indexers/Makefile.am:
512 Don't install static libs for plugins. Fixes #550851 for core.
514 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
516 * gst/gstbus.c: (gst_bus_source_finalize),
517 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
518 (gst_bus_enable_sync_message_emission),
519 (gst_bus_disable_sync_message_emission),
520 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
521 Fix deadlock, g_source_get_id() cannot be called in finalize.
522 Keep track of the watch source by keeping a pointer to the source object
524 Use the bus lock to protect access to the pointer to the current
527 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
529 Base on Patch by: Olivier Crete <tester at tester dot ca>
531 * gst/gstbus.c: (gst_bus_source_finalize),
532 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
533 Only allow one bus watch to be set at a time. This is necessary
534 because the dispatcher pops the message from the bus and the second
535 watcher will then get NULL or the next message (and the first won't
536 get this next message then, etc). If more than one "watcher" is
537 required signal watches should be used. Fixes bug #526044.
539 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
541 * tools/gst-launch.c:
542 Change the printing of the 'buffering...' output to avoid putting
543 a \r in a translateable string (flagged by the TP).
545 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
548 Clarify that the save_thyself() and restore_thyself() virtual
549 functions of GstObject need to be overriden, not
550 gst_object_(save|restore)_thyself() which is impossible.
553 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
555 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
556 Revert a patch from 21 months ago that broke caps negotiation in pull
557 mode. Basically, having a buffer pass over a pad will trigger the
558 setcaps function when caps change, just like in push mode.
560 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
562 * docs/design/part-negotiation.txt:
563 Update the docs some more.
565 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
566 If we pull a buffer with non-trivial caps, suggest those caps with the
569 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
571 * docs/design/part-TODO.txt:
572 Add another limitation of pad-blocking with segment seeks not pushing
575 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
577 * win32/common/libgstbase.def:
578 * win32/common/libgstreamer.def:
579 Add new symbols to the win32 defs files
581 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
583 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
584 (gst_bin_handle_message_func):
585 The message src can be NULL, don't try to print the object names in that
588 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
589 Add some more debug info.
591 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
594 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
597 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
599 * docs/design/part-negotiation.txt:
602 * docs/libs/gstreamer-libs-sections.txt:
603 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
604 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
605 (gst_base_sink_init), (gst_base_sink_set_blocksize),
606 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
607 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
608 (gst_base_sink_loop), (gst_base_sink_pad_activate),
609 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
610 (gst_base_sink_change_state):
611 * libs/gst/base/gstbasesink.h:
612 Add blocksize property and methods to control the amount of data
614 Negotiate first before activating upstream in pull mode so that they can
615 negotiate themselves.
616 When we operate in pull mode, we only accept the caps that we
618 Make the sink go ASYNC to PAUSED, like all other sinks.
619 API: GstBaseSink::gst_base_sink_set_blocksize()
620 API: GstBaseSink::gst_base_sink_get_blocksize()
621 API: GstBaseSink::blocksize
623 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
624 (gst_base_src_set_live), (gst_base_src_is_live),
625 (gst_base_src_set_format), (gst_base_src_query_latency),
626 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
627 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
628 (gst_base_src_set_property), (gst_base_src_get_property):
629 * libs/gst/base/gstbasesrc.h:
630 Add typechecking in public API functions.
631 Add methods to control the blocksize in subclasses.
632 API: GstBaseSrc::gst_base_src_set_blocksize()
633 API: GstBaseSrc::gst_base_src_get_blocksize()
635 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
637 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
638 (buffer_probe), (event_probe), (GST_START_TEST):
639 We now see 3 events go through our pad, since basesink now sends
640 upstream latency events.
642 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
644 * gst/gstpipeline.c: (gst_pipeline_change_state):
645 Release the object lock before trying to flush the bus.
647 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
649 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
650 Forward LATENCY events upstreams so that elements know about the total
651 pipeline latency. Fixes #555307.
653 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
655 * plugins/elements/gstqueue.c:
656 Allow through queries when we don't know how
657 to adjust them (not TIME or BYTES), as otherwise it's
658 not possible to query the current position in order
659 to seek in other formats at all.
661 2008-10-08 Andy Wingo <wingo@pobox.com>
663 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
665 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
669 Unbreak -good build, private is a reserved c++ keyword.
671 2008-10-08 Andy Wingo <wingo@pobox.com>
673 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
674 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
675 removal: re-add GST_GHOST_PAD_CAST to the header.
677 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
678 (GstGhostPadClass): Publically expose these structures so as to
679 allow easy subclassing from C. Hide the member data behind a
680 private opaque data pointer.
682 * gst/gstghostpad.c: Adapt to store instance data in the type
683 instance's private data region, not in the public struct.
685 2008-10-08 Andy Wingo <wingo@pobox.com>
687 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
688 template via g_object_get(), be sure to unref it.
690 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
692 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
694 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
695 If we can't get a cache file don't try to save something to it.
696 Dereferencing NULL pointers usually isn't a good idea.
698 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
700 * tests/check/Makefile.am:
701 * tests/check/gst/gstabi.c:
702 * tests/check/gst/struct_sparc.h:
703 * tests/check/libs/libsabi.c:
704 * tests/check/libs/struct_sparc.h:
707 * tests/check/gst/gstvalue.c: (GST_START_TEST):
708 Cast signed integer to unsigned to avoid a compiler warning.
710 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
712 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
713 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
714 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
715 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
716 (gst_byte_reader_peek_int24_be):
717 Use new GST_READ_UINT24_(LE|BE) macros.
719 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
721 * docs/gst/gstreamer-sections.txt:
723 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
724 as it's too easy to break the ISO C strict aliasing rules with simple
725 casts to the corresponding type and this would introduce hard to debug
726 bugs. Fixes bug #545714.
728 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
730 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
732 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
733 * gst/gstghostpad.c: (gst_ghost_pad_construct):
734 Add 'Since' bits to gtk-doc chunks for new API.
736 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
738 * docs/gst/gstreamer-sections.txt:
741 2008-10-06 Andy Wingo <wingo@pobox.com>
743 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
744 that will be called on the malloc_data to free it. Basically a way
745 to avoid subclassing when all you need is a different free
746 function, i.e. free() instead of g_free().
748 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
749 calling the free function.
750 (gst_buffer_init): Initialize the free function to g_free.
752 2008-10-06 Andy Wingo <wingo@pobox.com>
755 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
756 finishes the initialization of ghost pad. Useful for language
757 bindings and subclassers of GstGhostPad. Fixes #539108.
758 (gst_ghost_pad_new_full): Use the new constructor.
760 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
762 Base on Patch by: Olivier Crete <tester at tester dot ca>
764 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
765 (gst_bin_remove_func), (update_degree),
766 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
767 Keep track of pads that are being linked/unlinked and resync the state
770 * gst/gstpad.c: (gst_pad_get_direction),
771 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
772 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
773 (gst_pad_link_prepare), (gst_pad_link),
774 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
775 (gst_pad_check_pull_range), (gst_pad_get_range),
776 (gst_pad_pull_range):
777 Some code cleanups, use macros to check pad direction.
778 Don't need to take the lock on the pad direction.
779 Post structure change when pads are linked/unlinked.
780 Change some checks into _return_if_fail().
782 * tests/check/gst/gstbin.c:
783 (test_link_structure_change_state_changed_sync_cb),
784 (GST_START_TEST), (gst_bin_suite):
785 Add testcase for pad link/unlinke resync during a state change.
788 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
790 * docs/gst/gstreamer-sections.txt:
791 * gst/gstmessage.c: (gst_message_new_structure_change),
792 (gst_message_parse_structure_change):
794 Implement STRUCTURE_CHANGED messages. These messages will be used to
795 signal the parent bin of link/unlink operations that could require a
796 resync when doing a state change. See ##510354.
797 API: gst_message_new_structure_change()
798 API: gst_message_parse_structure_change()
800 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
804 Add some more quarks for new message. See #510354.
806 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
808 * docs/libs/gstreamer-libs-docs.sgml:
809 * docs/libs/gstreamer-libs-sections.txt:
810 * libs/gst/base/Makefile.am:
811 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
812 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
813 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
814 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
815 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
816 (gst_bit_reader_skip_to_byte):
817 * libs/gst/base/gstbitreader.h:
818 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
819 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
820 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
821 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
822 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
823 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
824 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
825 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
826 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
827 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
828 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
829 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
830 * libs/gst/base/gstbytereader.h:
831 * tests/check/Makefile.am:
832 * tests/check/libs/bitreader.c: (GST_START_TEST),
833 (gst_bit_reader_suite):
834 * tests/check/libs/bytereader.c: (GST_START_TEST),
835 (gst_byte_reader_suite):
836 API: Add bit reader and byte reader classes, including documentation
837 and an extensive unit test suite. Fixes bug #553554.
839 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
841 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
842 (gst_base_sink_query):
843 Improve position reporting while flushing and other intermediate state
844 changes. Fixes #553874.
846 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
848 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
850 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
851 Original patch by : Simon Descaries
852 Fix small refount leak in caps compatibility check.
855 2008-10-06 Stefan Kost <ensonic@users.sf.net>
857 * docs/pwg/advanced-request.xml:
858 Fix 0.8 api usage in example. Fixes #554561
860 * docs/pwg/appendix-porting.xml:
861 Change 0.9 to 0.10 here.
863 2008-10-06 Stefan Kost <ensonic@users.sf.net>
865 * docs/manual/basics-data.xml:
866 Change "event-event interaction" to "element-element interaction".
867 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
870 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
873 Back to development -> 0.10.21.1
875 === release 0.10.21 ===
877 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
880 releasing 0.10.21, "Take These Things From Me"
882 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
885 0.10.20.4 pre-release
887 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
889 * libs/gst/base/gstbasetransform.c:
890 * plugins/elements/gstcapsfilter.c:
891 * tests/check/Makefile.am:
892 * tests/check/elements/.cvsignore:
893 * tests/check/elements/capsfilter.c:
894 Fix assertion in basetransform when the subclass chooses not to
895 allocate a buffer in prepare_buffer(), and make capsfilter error out
896 cleanly if requested to apply caps that don't completely specify the
897 buffer. Fixes #551509
899 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
901 * libs/gst/base/gstbasetransform.c:
902 (gst_base_transform_prepare_output_buffer):
903 Take new caps ref because our old one might have been gone when the
904 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
906 2008-09-15 Stefan Kost <ensonic@users.sf.net>
909 Do not probe availability of check unit test library when cross
910 compiling, as test would not work anyway. Also cleanup verbose output
911 of the check test. Fixes #551952.
913 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
915 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
917 * gst/gstelement.c: (gst_element_sync_state_with_parent):
918 Avoid leaking the parent ref when we fail changing the state of the
919 element using gst_element_sync_state_with_parent(). Fixes #551978.
921 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
923 * docs/manual/intro-motivation.xml::
924 Remove some bits that no longer apply, update others (#551642).
926 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
929 0.10.20.2 pre-release
937 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
939 * win32/common/config.h.in:
940 Add GST_DATADIR, hard-code cpu to x86.
942 * win32/common/libgstreamer.def:
945 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
948 Fix Since: markers for new geo tags.
950 2008-09-02 Stefan Kost <ensonic@users.sf.net>
953 Fix actual tag name define after renaming from altitude to elevation.
955 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
957 * gst/gstpad.c: (add_unref_pad_to_list),
958 (gst_pad_get_internal_links_default):
959 Add fallback when calling the deprecated function on an element that
960 implements the new internal_link handler.
962 2008-09-01 Stefan Kost <ensonic@users.sf.net>
964 * docs/gst/gstreamer-sections.txt:
967 Add new tags for geo location and clarify purpose of existing location
970 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
972 Patch by: Olivier Crete <tester at tester dot ca>
974 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
975 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
976 Use thread-safe internal links iterator. Fixes #549504.
978 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
980 Based on patch by: Olivier Crete <tester at tester dot ca>
982 * docs/gst/gstreamer-sections.txt:
983 * win32/common/libgstreamer.def:
984 * gst/gstpad.c: (gst_pad_init),
985 (gst_pad_set_iterate_internal_links_function),
986 (int_link_iter_data_free), (iterate_pad),
987 (gst_pad_iterate_internal_links_default),
988 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
990 Add threadsafe replacement functions for getting internal links of an
991 element. Deprecate the old internal links functions.
992 API:GstPad::gst_pad_set_iterate_internal_links_function()
993 API:GstPad::GstPadIterIntLinkFunction
994 API:GstPad::gst_pad_iterate_internal_links()
995 API:GstPad::gst_pad_iterate_internal_links_default()
997 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
998 (gst_proxy_pad_init):
999 Implement threadsafe internal links.
1001 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1002 Unit test for internal links on tee. See #549504.
1004 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1006 * tests/check/Makefile.am:
1007 libs/transform1 test requires libs/test_transform.c
1009 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1011 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1012 Die evil deadlock, die !
1014 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
1016 * gst/gstutils.c: (gst_element_get_compatible_pad):
1017 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1018 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1019 Fix all leaks due to the bug in gst_pad_template_new() by which it does
1020 not steal the refcount of the given caps as stated.
1022 REVERT THIS COMMIT ONCE FIXED !
1023 REVERT THIS COMMIT ONCE FIXED !
1024 REVERT THIS COMMIT ONCE FIXED !
1025 REVERT THIS COMMIT ONCE FIXED !
1026 REVERT THIS COMMIT ONCE FIXED !
1027 REVERT THIS COMMIT ONCE FIXED !
1029 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1031 * gst/gstiterator.c:
1032 * gst/gstiterator.h:
1033 After 3 years it's about time to revise the documentation of the
1036 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
1038 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1039 Make the internal links function less thread-unsafe and add some
1040 comments, dunno why.
1042 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1044 * gst/gst_private.h:
1045 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1046 build with --disable-gst-debug.
1048 2008-08-28 David Schleef <ds@schleef.org>
1050 * gst/gstpadtemplate.c: Revert last change, since it breaks
1051 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1052 but shouldn't be enabled until we've released fixed versions
1053 of -good and -ffmpeg.
1055 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1058 Put the gst_object_get_name() back in.
1060 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1062 * gst/gstpadtemplate.c:
1063 The old behaviour was that gst_pad_template_new() takes ownership of
1064 the caps. As we now call g_object_new() which calls g_object_set() and
1065 which copies the caps, we have to unref them to not leak them. Fixes
1066 make valgrid for me.
1068 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1071 Don't segfault on input like "tel:+1-123-555-1234".
1073 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1076 Due to popular request also include ObjectType in
1077 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1079 2008-08-26 David Schleef <ds@schleef.org>
1081 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1082 src_val must be positive, because that's not a requirement.
1083 This causes problems with converting negative granulepos
1085 * gst/gstquery.c: Same, gst_query_new_convert().
1087 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1089 * gst/gstclock.c: (gst_clock_add_observation):
1090 Add some more debugging to the clock slaving code.
1092 * win32/common/libgstbase.def:
1093 Add new basetransform method.
1095 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1097 * gst/gstbin.c: (gst_bin_element_set_state):
1098 Take the (recursive) state lock between getting the locked state of an
1099 element and changing the element state. This allows the application to
1100 lock an element's state and then change its state without races.
1102 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1104 * gst/gstbin.c: (gst_bin_element_set_state):
1105 When an element is in the locked state we still want to update the
1106 base_time of the element.
1108 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1110 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1111 Use the result from gst_pad_set_caps() instead of assuming the element
1112 always accepted the caps computed by the default negotiate function.
1114 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1116 * docs/libs/gstreamer-libs-sections.txt:
1117 * libs/gst/base/gstbasetransform.c:
1118 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1119 (gst_base_transform_chain), (gst_base_transform_suggest),
1120 (gst_base_transform_reconfigure):
1121 * libs/gst/base/gstbasetransform.h:
1122 Implement method for reconfiguring basetransform.
1123 API: GstBaseTransform::gst_base_transform_reconfigure()
1125 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1127 patch by: Murray Cumming <murrayc@murrayc.com>
1130 Mention that this is just like gst_buffer_merge() but with extra
1131 unreffing for C coders. Advise language bindings not to wrap it.
1134 Also fix file comment.
1136 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1138 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1140 * plugins/elements/gstfakesink.c:
1141 * plugins/elements/gstfakesrc.c:
1142 Call super::event() when not handling it. Fixes #544855.
1144 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1146 Patch by: Alessandro Decina <alessandro@nnva.org>
1147 * plugins/elements/gstfilesrc.c:
1148 Use 64 bit variants of stat functions on win32, to enable support
1149 of large files there.
1152 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1154 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1155 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1156 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1157 (gst_base_sink_get_position), (gst_base_sink_change_state):
1158 Improve position reporting in the flushing state.
1159 Also report the position when we are not yet prerolled but we
1160 have a newsegment event. Fixes #543444.
1161 Improve the pull-based negotiation code.
1163 * tests/check/elements/fakesink.c: (GST_START_TEST),
1165 Add testcase for position reporting while flushing in PAUSED and
1168 * tests/check/generic/sinks.c: (GST_START_TEST):
1169 Update unit-test, we can now query the position as soon as we receive a
1172 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1174 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1176 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1177 When the subclass event handler releases the PREROLL_LOCK, we could be
1178 in the flushing state and we have to ignore the event. Fixes #548394.
1180 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1182 * tools/gst-launch.1.in:
1183 Document GST_REGISTRY_UPDATE environment variable.
1185 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1187 * libs/gst/base/gstbasetransform.c:
1188 (gst_base_transform_prepare_output_buffer):
1189 If the element is configured in passthrough mode but the
1190 prepare_output_buffer gave us a new output buffer, discard that buffer
1191 and reuse the input buffer.
1193 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1195 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1197 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1198 (gst_tee_request_new_pad), (gst_tee_release_pad),
1199 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1200 * plugins/elements/gsttee.h:
1201 Protect pad_alloc with a new lock so that we can be sure that nothing is
1202 performing a pad_alloc when removing the pad. Fixes #547835.
1204 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1205 (buffer_alloc_harness_teardown), (app_thread_func),
1206 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1207 Added testcase for shutdown race.
1209 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1214 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1216 * libs/gst/base/gstbasetransform.c:
1217 (gst_base_transform_prepare_output_buffer),
1218 (gst_base_transform_buffer_alloc):
1219 Go over the buffer_alloc function again and make sure we always end up
1220 allocating a buffer.
1222 Avoid doing pad alloc when we have a pending suggestion because we
1223 cannot yet deal with changing caps in that case. Fixes #547728
1225 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1227 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1229 * docs/manual/advanced-clocks.xml:
1230 * docs/manual/clocks.png:
1231 * docs/manual/diagrams-clocks.svg:
1232 Add one more image showing different times together with a describing
1233 paragraph. Fixes #547729.
1235 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1237 * win32/common/libgstbase.def:
1240 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1242 * libs/gst/base/gstbasetransform.c:
1243 (gst_base_transform_transform_caps),
1244 (gst_base_transform_prepare_output_buffer),
1245 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1246 Don't overwrite the outsize when calculating the expected size of a new
1247 buffer because we still need it in case we cannot process the new
1249 When converting the size of the new buffer to an upstream size, actually
1250 use the expected size of the buffer, not some other random value.
1251 Use an atomic int to signal that a new upstream caps suggestion is
1253 When we can convert the current buffer to a new format, check if the
1254 buffer size is of the expected size and allocate a new buffer of the
1255 expected size when this is not the case. Fixes #546883.
1257 * tests/check/libs/transform1.c: (GST_START_TEST):
1258 remove ifdeffed code from the unit test.
1260 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1262 * pkgconfig/gstreamer-uninstalled.pc.in:
1263 * pkgconfig/gstreamer.pc.in:
1264 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1265 called gstcontroller-0.10.
1267 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1269 * gst/gstchildproxy.h:
1271 Remove double interface from doc-string.
1273 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1275 * libs/gst/base/gstbasesrc.c:
1276 * libs/gst/base/gstbasetransform.c:
1277 Fix headings in docs and gtk-doc warnings.
1279 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1281 * gst/gstregistrybinary.c:
1282 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1286 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1288 * libs/gst/base/gstbasetransform.c:
1289 (gst_base_transform_buffer_alloc):
1290 Fix a "may be used unitialized" warning.
1292 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1294 * docs/gst/gstreamer-sections.txt:
1296 Document preset-iface vmethods.
1298 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1300 * docs/manual/advanced-interfaces.xml:
1301 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1302 only used to discover devices.
1304 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1306 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1308 * gst/gst.c: (init_pre):
1309 Make sure gettext returns translations in UTF-8 encoding rather
1310 than in the current locale encoding (#546822).
1312 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1314 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1317 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1318 Improve unit test subset tests and add a testcase for the subset failure
1321 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1322 Improve subtraction unit test.
1324 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1326 * plugins/elements/gsttee.c:
1327 Unlock, instead of locking again.
1329 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1332 Clarify the docs a bit more.
1334 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1336 * tests/examples/metadata/read-metadata.c:
1337 Don't leak old taglist.
1339 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1341 Patch by: Olivier Crete <tester at tester dot ca>
1343 * gst/gststructure.c:
1344 (gst_structure_fixate_field_nearest_fraction):
1345 Avoid overflows in fixation code when dealing with MAXINT values, which
1346 v4l2src seems to do.
1349 * tests/check/gst/gststructure.c: (GST_START_TEST):
1350 Make a unit test to check the fix.
1352 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1354 * plugins/elements/gstcapsfilter.c: (copy_func),
1355 (gst_capsfilter_set_property):
1356 Use new caps suggestion feature of basetransform to request a caps
1357 negotiation upstream.
1359 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1361 * docs/libs/gstreamer-libs-sections.txt:
1363 API: GstBaseTransform::gst_base_transform_suggest()
1365 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1366 (gst_base_transform_init), (gst_base_transform_transform_caps),
1367 (gst_base_transform_transform_size),
1368 (gst_base_transform_configure_caps),
1369 (gst_base_transform_can_transform),
1370 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1371 (gst_base_transform_prepare_output_buffer),
1372 (gst_base_transform_buffer_alloc),
1373 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1374 (gst_base_transform_chain), (gst_base_transform_activate),
1375 (gst_base_transform_set_passthrough),
1376 (gst_base_transform_is_passthrough),
1377 (gst_base_transform_set_in_place),
1378 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1379 (gst_base_transform_set_qos_enabled),
1380 (gst_base_transform_is_qos_enabled),
1381 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1382 (gst_base_transform_reconfigure):
1383 * libs/gst/base/gstbasetransform.h:
1384 Rewrite of basetransform to perform negotiation outside of the
1385 buffer_alloc functions. Fixes #545853.
1387 * tests/check/libs/transform1.c: (GST_START_TEST),
1391 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1393 * tests/check/gst/gstpreset.c:
1394 Only run preset tests when $HOME is writable. Preliminary fix for
1397 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1399 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1400 (gst_bin_change_state_func), (bin_handle_async_done),
1401 (gst_bin_handle_message_func):
1402 Fix race for bins that simulate ASYNC state changes by inserting
1403 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1404 pending ASYNC messages even when the bin does not have ASYNC children.
1405 We note detect this behaviour because we will receive an ASYNC message
1406 that is originating from the bin itself.
1407 Fixes races with decodebin2 state changes.
1409 * tests/check/gst/gstbin.c: (GST_START_TEST):
1410 Add some more debug.
1412 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1414 * gst/gsttaglist.c: (_gst_tag_initialize):
1417 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1420 Argh. actually save the text before committing. Now adds
1421 gst_tag_merge_strings_with_comma() to gst_tag_register().
1423 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1427 Do as tim pointed out and actually register the new tag. Also improve
1428 te docs and use gst_tag_merge_strings_with_comma() method to allow
1429 retriving all keywords merged in one list.
1431 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1434 * docs/gst/gstreamer.types:
1435 Revert 'accidential' change of the configure option removal. We still
1436 need to generate the types file in configure --disable-load-save.
1438 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1440 * docs/gst/gstreamer-sections.txt:
1442 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1444 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1446 * gst/gstpadtemplate.c:
1447 (gst_pad_template_class_init), (gst_static_pad_template_get),
1448 (gst_pad_template_new), (gst_pad_template_pad_created),
1449 (gst_pad_template_set_property), (gst_pad_template_get_property):
1450 Add "name-template", "direction", "presence" and "caps" properties,
1451 so that gst_pad_template_new() is just a thin wrapper around
1452 g_object_new(), which is better for bindings. (Fixes: #539772)
1454 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1457 Be more liberal in what URIs we accept.
1458 Do not unescape bits of the URI for no apparent reason before passing to
1459 the element. Fixes #545352.
1461 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1463 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1466 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1468 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1471 * docs/gst/gstreamer-sections.txt:
1472 * docs/gst/gstreamer.types:
1473 * docs/gst/gstreamer.types.in:
1476 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1477 * gst/gstconfig.h.in:
1478 * gst/gstelement.c: (gst_element_get_index):
1479 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1480 (gst_registry_binary_load_feature),
1481 (gst_registry_binary_read_cache):
1482 * gst/gstregistryxml.c: (load_feature),
1483 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1484 * plugins/Makefile.am:
1486 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1487 (print_plugin_features), (print_element_features):
1488 * tools/gst-xmlinspect.c: (print_event_masks),
1489 (print_element_info):
1490 * win32/common/gstconfig.h:
1491 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1493 Disabling the indexers and URI handler code will only reduce the
1494 required amount of memory by a very small amount but on the other hand
1495 requires much more maintaince work. Apart from that many places of
1496 code are broken when disabling them.
1498 Disabling the enum types doesn't reduce the required amount of memory
1499 by more than a few bytes and makes it hard to fix bugs like #539772,
1500 i.e. use the enums as GObject properties.
1502 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1504 * docs/design/part-TODO.txt:
1505 Add some thoughts and problems with upstream renegotiation.
1507 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1509 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1510 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1511 Remove silly redundant debug.
1512 Add some more debug info.
1513 Clarify the docs regarding new caps received from pad_alloc.
1515 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1517 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1518 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1519 Make setting the caps more threadsafe.
1521 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1523 * docs/design/part-element-transform.txt:
1526 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1528 * plugins/elements/gstqueue.c: (gst_queue_init),
1529 (gst_queue_acceptcaps):
1530 Add and use a custom acceptcaps function instead of falling back to the
1531 potentially less optimized default implementation.
1533 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1535 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1536 Only sanity-check the buffer size if requested_caps == buffer_caps
1537 (ie. don't take pad caps into account, they're not relevant here)
1539 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1541 * plugins/elements/gsttee.c:
1542 * plugins/elements/gsttee.h:
1543 Reverting as not everything is clear yet. Needs some general design
1546 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1549 ChangeLog surgery for tee commit.
1551 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1553 * docs/gst/gstreamer-sections.txt:
1554 Cleanup section-file.
1556 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1558 * plugins/elements/gsttee.c:
1559 * plugins/elements/gsttee.h:
1560 Relay tag events in tee. Fixes parts of #474016.
1561 Downgrades 3 reoccurring debugs to log.
1563 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1566 * libs/gst/Makefile.am:
1567 Build the net library if we have winsock2.
1569 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1571 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1573 * docs/manual/advanced-threads.xml:
1574 * docs/manual/diagrams-pipelines.svg:
1575 * docs/manual/hello-world.png:
1576 * docs/manual/linked-elements.png:
1577 * docs/manual/mime-world.png:
1578 * docs/manual/queue.png:
1579 * docs/manual/thread-buffering.png:
1580 * docs/manual/thread-synchronizing.png:
1581 Replace one diagram with two separate ones and updates others.
1584 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1587 Fix link in documentation.
1589 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1592 Fix confusing documentation.
1594 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1596 * libs/gst/base/gstbasesrc.h:
1597 revert the changes to the header file for the ABI.
1599 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1601 * libs/gst/base/gstbasesrc.c:
1602 * libs/gst/base/gstbasesrc.h:
1603 Don't cache the seekable status.
1606 2008-07-24 Rene Stadler <mail@renestadler.de>
1608 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1609 code to close the pipeline graph. This prevents the program from
1610 printing internal data flow errors.
1612 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1614 * docs/manual/basics-bus.xml:
1615 Correct typo. Fixes bug #544320.
1617 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1620 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1621 Add check (taken from -base) for winsock, adds WIN32_LIBS
1623 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1625 Define GST_EXPORTS when building libgstreamer (only used on win32)
1626 * gst/gst_private.h:
1628 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1629 for symbols that we need to export in both these files.
1631 Include gst_private.h higher up to avoid some compile problems on win32.
1633 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1638 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1641 Previous commit was wrong NULL caps does not exist
1642 and indicate an error, so also add a FIXME to
1643 gst_caps_is_equal where NULL caps are accepted.
1645 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1648 Allow passing of NULL to gst_caps_union
1650 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1652 * gst/gstghostpad.c:
1653 Add in doc that gst_ghost_pad_set_target can accept
1654 NULL to clear target
1656 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1659 * gst/gstregistry.c:
1660 GstRegistryPool doesn't exist; don't refer to it in docs.
1661 Don't refer to functions that don't exist in docs, it's
1664 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1667 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1669 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1671 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1673 * docs/pwg/building-testapp.xml:
1674 Don't use an undeclared variable in the example program.
1677 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1679 * gst/gstdebugutils.c:
1680 Squeeze ghost-pad links and remove <> from classname labels to save
1681 more horizontal space.
1683 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1685 * gst/gstdebugutils.c:
1686 Give request and sometimes pads a different shpe style. Condense the
1687 graphs a little more.
1689 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1692 Don't require flex and bison if the parser is disabled.
1694 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1696 * libs/gst/controller/gstinterpolationcontrolsource.c:
1697 (_list_find_sorted_custom):
1698 Don't use declarations after statements.
1700 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1702 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1703 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1704 of the the child-added / -removed signals as GstChildProxy
1705 only supports GstObjects.
1707 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1709 * gst/gstdebugutils.c:
1712 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1714 Patch by: Alessandro Decina <alessandro at nnva dot org>
1717 Fix "ignored return value" compiler warning with newer glibc.
1719 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1721 * gst/gstchildproxy.c:
1722 Fix copy&paste error in gst_child_proxy_removed() documentation.
1724 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1726 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1727 Print error debug message if plugin description fields that should
1730 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1731 Don't crash if the string to serialise is NULL (it really should
1732 not be, but apparently this used to work with the xml registry ...).
1734 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1736 * tools/gst-plot-timeline.py:
1737 Fix parsing of log messages
1739 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1741 * win32/common/libgstbase.def::
1742 Sort alphabetically so make check-exports doesn't barf.
1744 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1747 Use gst_format_get_name() to improve debug output.
1750 Remove #ifdef'ed code. Add TODO comment.
1753 Add debug output to ease spotting format != segment.format assertions.
1755 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1757 * tests/check/libs/gdp.c: (gst_dp_suite):
1758 Also enable the GDP unit test again on PPC now that the bug
1761 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1763 * libs/gst/dataprotocol/dataprotocol.c:
1764 Don't write to the same region of memory as a uint64 and uint16
1765 as this breaks strict aliasing rules and apparantly breaks on PPC
1766 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1768 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1770 * libs/gst/controller/gstinterpolationcontrolsource.c:
1771 Optimize list handling. Use own find function. Exploit that fact that
1772 the list is sorted. Also pass back the node before, so that we can
1773 insert quickly. Have a fast path for append.
1775 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1777 * docs/design/draft-framestep.txt:
1778 * docs/design/part-negotiation.txt:
1781 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1784 Show configuration sumary after configure run. Based on patch by
1785 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1787 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1789 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1791 * docs/manual/advanced-autoplugging.xml:
1792 * docs/manual/advanced-threads.xml:
1793 * docs/manual/basics-bins.xml:
1794 * docs/manual/basics-elements.xml:
1795 * docs/manual/basics-helloworld.xml:
1796 * docs/manual/basics-pads.xml:
1797 Add scale factor for pdf output.
1799 * docs/manual/intro-basics.xml:
1800 Switched sections "pads" and "bins" and added a pipeline diagram.
1802 * docs/manual/intro-gstreamer.xml:
1803 Added more info on gstreamer.
1805 * docs/manual/intro-motivation.xml:
1806 Commented out the whole section "current problem", which sounds
1807 historical and somehow osolete; it could be turned in a positive
1808 way and reused to improve the design principles.
1810 * docs/manual/intro-preface.xml:
1811 - Update URLs to library.gnome.org.
1812 - Do not mention GTK+ in preliminary reading (irrelevant).
1813 - Mention Plugin Writer's Manual and further reading only in the
1815 - Added a list of most relevant GObject/glib topics.
1817 * docs/manual/Makefile.am:
1818 * docs/manual/bin-element-ghost.fig:
1819 * docs/manual/bin-element-ghost.png:
1820 * docs/manual/bin-element-noghost.fig:
1821 * docs/manual/bin-element-noghost.png:
1822 * docs/manual/bin-element.fig:
1823 * docs/manual/bin-element.png:
1824 * docs/manual/filter-element-multi.fig:
1825 * docs/manual/filter-element-multi.png:
1826 * docs/manual/filter-element.fig:
1827 * docs/manual/filter-element.png:
1828 * docs/manual/gstreamer-overview.png:
1829 * docs/manual/hello-world.fig:
1830 * docs/manual/hello-world.png:
1831 * docs/manual/linked-elements.fig:
1832 * docs/manual/linked-elements.png:
1833 * docs/manual/mime-world.fig:
1834 * docs/manual/mime-world.png:
1835 * docs/manual/queue.fig:
1836 * docs/manual/queue.png:
1837 * docs/manual/simple-player.png:
1838 * docs/manual/sink-element.fig:
1839 * docs/manual/sink-element.png:
1840 * docs/manual/src-element.fig:
1841 * docs/manual/src-element.png:
1842 * docs/manual/diagrams-general.svg:
1843 * docs/manual/diagrams-pipelines.svg:
1844 Removed .fig, added .png counterpart.
1848 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1850 * plugins/elements/gstmultiqueue.c:
1851 * plugins/elements/gstmultiqueue.h:
1852 revert extra-size-buffers stuff, caused some race conditions
1853 and extra-size-buffers is not used anymore. Docs needs some updates
1855 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1857 * win32/common/config.h:
1858 * win32/common/gstenumtypes.c:
1859 * win32/common/gstenumtypes.h:
1860 * win32/common/gstversion.h:
1863 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1865 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1866 (GST_DEBUG_BIN_TO_DOT_FILE):
1867 Add missing Since' markers to gtk-doc blurbs.
1869 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1871 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1872 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1873 (set_caps_1), (set_caps_ct1), (transform_ct1),
1874 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1875 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1876 (transform_size_ct2), (buffer_alloc_ct2):
1877 Add some more tests with switching caps in buffer_alloc.
1879 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1881 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1882 (gst_test_trans_class_init), (result_sink_chain),
1883 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1884 (gst_test_trans_push), (gst_test_trans_pop):
1885 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1886 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1887 (set_caps_1), (set_caps_ct1), (transform_ct1),
1888 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1889 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1890 (transform_size_ct2), (buffer_alloc_ct2),
1891 (gst_basetransform_suite):
1892 More tests, prepare for tests with switching caps in buffer_alloc.
1894 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1896 * plugins/elements/gstmultiqueue.c:
1897 * plugins/elements/gstmultiqueue.h:
1898 Fix dead-lock in underrun_cb
1900 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1902 * docs/design/part-states.txt:
1903 Fix device open/close docs.
1905 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1908 Mention bugnumber for last commit.
1910 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1912 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1914 * docs/manual/manual.xml:
1915 - Reorganised the previous "introduction" bundle into Foreword,
1916 Introduction, and About GStreamer. The two first are <preface>
1917 docbook elements. The later is the first part of the book.
1918 - added intro-gstreamer.xml (content partially from
1920 - moved appendix-win32.xml into appendix-integration.xml
1922 * docs/manual/intro-preface.xml: gstreamer section moved...
1923 * docs/manual/intro-gstreamer.xml: ...here. new file.
1925 * docs/manual/appendix-win32.xml: removed file. Content moved...
1926 * docs/manual/appendix-integration.xml: ...here.
1928 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1929 * docs/manual/appendix-checklist.xml: ...here.
1933 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1935 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1937 * docs/manual/basics-helloworld.xml:
1938 * docs/manual/hello-world.fig:
1939 - Explicitely include glib.h.
1940 - Do not use global variables.
1941 - Use g_printerr() instead of g_print().
1942 - Minor formating/renaming to increase readibility.
1943 - Renamed new_pad() to on_pad_added()
1944 - Improved explenatory comments.
1945 - renamed ogg parser to ogg demuxer
1946 - Use "autoaudiosink" instead of "alsasink".
1949 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1952 Remove cvs conflict marker.
1954 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1957 Document that for plgin-docs we extraxt he short-desc from the element
1960 * docs/design/part-states.txt:
1961 Tell that devices should be closed in PAUSED -> READY.
1963 * docs/manual/README:
1964 Document how tests in the manual are handled.
1969 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1971 * gst/gstbin.c: (bin_query_latency_fold):
1972 Only care about latency min and max when the sink is actually a live
1975 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1977 * docs/design/part-block.txt:
1980 * docs/design/part-element-transform.txt:
1981 Add notes about why transform needs to know input/output sizes.
1982 Add some issues that need to be solved.
1983 Add some more use cases.
1985 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1986 (gst_test_trans_class_init), (result_sink_chain),
1987 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1988 (gst_test_trans_push), (gst_test_trans_pop):
1989 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1990 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1991 (set_caps_1), (set_caps_ct1), (transform_ct1),
1992 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1993 (gst_basetransform_suite):
1994 Add suport for different pad templates and buffer-alloc.
1995 Add more checks for caps and buffer-alloc.
1996 Add checks for proxy buffer alloc.
1997 Add unit test for copy transform.
1999 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2001 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
2003 * docs/manual/appendix-integration.xml:
2004 * docs/manual/appendix-licensing.xml:
2005 * docs/manual/basics-elements.xml:
2006 * docs/manual/basics-helloworld.xml:
2007 * docs/manual/basics-pads.xml:
2008 * docs/manual/highlevel-components.xml:
2009 * docs/manual/highlevel-xml.xml:
2010 * docs/manual/intro-basics.xml:
2011 * docs/manual/intro-preface.xml:
2012 Typo and formatting fixes (#538594).
2014 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
2016 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2017 Fix some memory leaks and uses of object instances that we don't
2020 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2022 * plugins/elements/gstmultiqueue.c:
2023 Add functionality to extra-size-buffers property.
2025 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
2027 * plugins/elements/gstmultiqueue.c:
2028 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2029 activate the pads if they are added in STATE_NULL.
2031 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2033 * docs/libs/gstreamer-libs-sections.txt:
2035 * libs/gst/check/gstcheck.c:
2036 * libs/gst/check/gstcheck.h:
2037 API: gst_check_teardown_pad_by_name
2039 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2041 * libs/gst/check/gstcheck.c:
2042 * libs/gst/check/gstcheck.h:
2043 Also setup request pads and allow setup pads by name (#537812)
2044 API: gst_check_setup_src_pad_by_name
2045 API: gst_check_setup_sink_pad_by_name
2047 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2049 * tests/check/gst/gstbuffer.c:
2050 * tests/check/pipelines/parse-launch.c:
2051 Use HAVE_VALGRIND_H some more.
2053 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2055 * scripts/cvs-update.sh:
2056 Pass arguments to make.
2057 Run autoregen.sh if Makefile is not there.
2059 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2063 Don't assume that <valgrind/valgrind.h> exists just because
2064 the binary is there.
2066 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2068 * tests/check/Makefile.am:
2069 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2070 (gst_test_trans_class_init), (gst_test_trans_init),
2071 (gst_test_trans_set_data), (result_sink_chain),
2072 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2073 (gst_test_trans_pop):
2074 * tests/check/libs/transform1.c: (GST_START_TEST),
2075 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2076 Add some test basetransform element and the beginnings of various
2079 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2081 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2082 Increase code readability.
2083 Don't try to compare buffer offsets when ther are invalid.
2085 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2087 * docs/design/Makefile.am:
2088 Dist some more design docs.
2090 * docs/random/moving-plugins:
2091 Small addition: good plugins mustn't have functional code
2092 within assertion macros.
2094 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2096 * docs/design/draft-framestep.txt:
2097 Some ideas about a framestep API
2099 * docs/design/part-element-transform.txt:
2100 Start design and use cases for basetransform in order to get it
2103 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2106 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2107 be in UTF-8 encoding.
2109 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2112 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2114 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2116 * plugins/elements/gstcapsfilter.c:
2117 * plugins/elements/gstfakesink.c:
2118 * plugins/elements/gstfakesrc.c:
2119 * plugins/elements/gstfdsink.c:
2120 * plugins/elements/gstfdsrc.c:
2121 * plugins/elements/gstfilesink.c:
2122 * plugins/elements/gstfilesrc.c:
2123 * plugins/elements/gstidentity.c:
2124 * plugins/elements/gstmultiqueue.c:
2125 * plugins/elements/gstqueue.c:
2126 * plugins/elements/gsttee.c:
2127 * plugins/elements/gsttypefindelement.c:
2128 Remove short_description. Add basic docs for gsttypefindelement.
2129 Simplify markup for fakesrc/fdsrc.
2131 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2133 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2136 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2138 Patch by: Joel Larsson <tilljoel at gmail dot com>
2140 * docs/plugins/gstreamer-plugins.args:
2141 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2142 (gst_fd_src_init), (gst_fd_src_update_fd),
2143 (gst_fd_src_set_property), (gst_fd_src_get_property),
2144 (gst_fd_src_create):
2145 * plugins/elements/gstfdsrc.h:
2146 Add timeout property like udpsrc. Fixes #538628.
2147 Add some more docs and example pipelines.
2149 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2151 * docs/libs/gstreamer-libs-sections.txt:
2152 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2153 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2154 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2155 (gst_base_sink_do_sync):
2156 * libs/gst/base/gstbasesink.h:
2157 * win32/common/libgstbase.def:
2158 Add method to allow sinks to specify additional delay between the sync
2159 times and the actual rendering of the data.
2160 API: gst_base_sink_set_render_delay()
2161 API: gst_base_sink_get_render_delay()
2163 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2166 Bump version number back to dev -> 0.10.20.1
2168 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2170 * docs/gst/gstreamer-sections.txt:
2171 * gst/gsttaglist.c: (_gst_tag_initialize):
2173 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2176 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2178 * libs/gst/controller/gstcontroller.c:
2179 Revert one change, that make ret value possible uninitialized.
2181 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2183 * libs/gst/controller/gstcontroller.c:
2184 Use freeze/thaw notify to sync notify emission a bit (its also more
2185 efficient). Move debug output to LOG (is called a lot in a loop).
2186 Always unset g_values if the have been initialized.
2188 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2190 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2191 (gst_base_sink_wait_eos), (gst_base_sink_event):
2192 If we have not seen a buffer before EOS, use the segment values to
2193 report the current position instead of invalid positions.
2195 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2197 * docs/plugins/tmpl/.cvsignore:
2198 * tests/check/gst/.cvsignore:
2201 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2203 * libs/gst/controller/gstinterpolation.c:
2204 * libs/gst/controller/gstinterpolationcontrolsource.c:
2205 * tests/check/libs/controller.c:
2206 Rewrite handling of default values. Fix overflow with unsigned types
2207 in linear interpolation. Remove now obsolete _first_value() function.
2208 Add more tests. Fixes #538201.
2210 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2212 * libs/gst/base/gstbasetransform.c:
2213 (gst_base_transform_class_init), (gst_base_transform_init),
2214 (gst_base_transform_transform_caps),
2215 (gst_base_transform_prepare_output_buffer):
2217 When a buffer is writable, its metadata is also writable so we don't
2218 need to subbuffer (which then makes the buffer not-writable anymore).
2220 === release 0.10.20 ===
2222 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2225 releasing 0.10.20, "You Crazy Diamond"
2227 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2230 0.10.19.3 pre-release
2232 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2236 Rename DATADIR to GST_DATADIR to avoid build problems
2237 on win32. Patch By: David Schleef <ds@schleef.org>
2240 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2243 Explicitely link with -ldl if dladdr() is found there. Before it was
2244 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2245 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2247 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2249 * gst/gsterror.c: (_gst_stream_errors_init):
2250 Fix typo (spotted by Fabricio Godoy, #536723).
2252 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2255 0.10.19.2 pre-release
2257 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2259 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2260 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2262 Make sure we don't generate invalid QoS messages.
2264 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2266 * gst/gstevent.c: (gst_event_new_qos):
2267 Add some assert and docs for invalid input to the qos function.
2269 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2271 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2272 (gst_base_sink_get_position):
2273 The reported position must always be smaller than the last seen
2274 timestamps (or timestamp + duration for reverse).
2276 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2278 Patch by: Rob Bradford <rob at robster dot org dot uk>
2280 * gst/gstregistry.c: (gst_registry_scan_path_level):
2281 Don't recurse into .debug directories as some distros install
2282 the debugging symbols next to the plugins in .debug directories
2283 and dlopen() crashes on them sometimes. Fixes bug #508070.
2285 Add FIXME for 0.11 to not recurse into directories at all because
2286 it's very inconsistent to the behaviour of other PATH environment
2289 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2291 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2292 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2293 Fix position query range checks in reverse playback.
2295 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2299 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2300 clear of the reference to the resulting pad must be released later
2301 or not, resulting in possible leaks. Fixes bug #533865.
2303 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2305 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2307 * gst/gstelementfactory.c:
2308 Small doc fix. Fixes #535285.
2310 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2312 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2314 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2315 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2316 (gst_base_src_loop), (gst_base_src_set_flushing),
2317 (gst_base_src_change_state):
2318 Make sending an EOS event to the basesrc non-blocking even if the
2319 implementation does blocking waits in the create function. This is done
2320 by unlocking the create function when EOS is sent.
2323 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2325 * tools/gst-inspect.c: (print_element_properties_info):
2326 If possible print the element type of GValueArray properties.
2328 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2330 * gst/gstiterator.c:
2331 Remove an unused field from the private GstListIterator struct.
2333 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2335 * libs/gst/controller/gstcontroller.c:
2336 Add parameter guards.
2338 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2340 * tests/check/gst/gstpipeline.c:
2341 Revert test change and add comment why it should not work.
2343 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2345 * tests/check/gst/gstpipeline.c:
2346 Extending the test a little to verify that we also get the NULL state-
2349 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2351 * gst/gstpreset.c: (gst_preset_default_get_meta),
2352 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2353 (gst_preset_load_preset), (gst_preset_save_preset),
2354 (gst_preset_rename_preset), (gst_preset_delete_preset),
2355 (gst_preset_set_meta):
2356 Add Since: markers to docs blurbs.
2358 * win32/common/libgstreamer.def:
2359 Add recently-added API.
2361 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2363 Patch by: Stefan Kost <ensonic@users.sf.net>
2366 Add DATADIR for storing presets.
2368 * docs/gst/gstreamer-docs.sgml:
2369 * docs/gst/gstreamer-sections.txt:
2370 * docs/gst/gstreamer.types.in:
2371 Add GstPreset to docs.
2375 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2376 (preset_open_and_parse_header), (preset_parse_version),
2377 (preset_merge), (preset_get_keyfile),
2378 (gst_preset_default_get_preset_names),
2379 (gst_preset_default_get_property_names),
2380 (gst_preset_default_load_preset),
2381 (gst_preset_default_save_presets_file),
2382 (gst_preset_default_save_preset),
2383 (gst_preset_default_rename_preset),
2384 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2385 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2386 (gst_preset_default_reset), (gst_preset_get_preset_names),
2387 (gst_preset_get_property_names), (gst_preset_load_preset),
2388 (gst_preset_save_preset), (gst_preset_rename_preset),
2389 (gst_preset_delete_preset), (gst_preset_set_meta),
2390 (gst_preset_get_meta), (gst_preset_class_init),
2391 (gst_preset_base_init), (gst_preset_get_type):
2393 Add GstPreset to core. Fixes #396779
2395 * tests/check/Makefile.am:
2396 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2397 (gst_preset_test_set_property), (gst_preset_test_class_init),
2398 (gst_preset_test_base_init), (gst_preset_test_get_type),
2399 (gst_preset_test_plugin_init), (GST_START_TEST),
2400 (remove_preset_file), (test_setup), (test_teardown),
2402 Add GstPreset unit tests.
2404 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2406 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2407 The default event function on a sinkpad should return TRUE when
2408 there are no internal links but should collect the return values from
2409 the internal links otherwise.
2411 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2413 * plugins/elements/gsttypefindelement.c:
2414 (gst_type_find_element_src_event),
2415 (gst_type_find_element_handle_event):
2416 Use faster and safer _pad_push_event().
2418 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2420 * docs/gst/gstreamer-sections.txt:
2421 * gst/gstutils.c: (element_find_unlinked_pad),
2422 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2424 API: add gst_bin_find_unlinked_pad()
2425 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2427 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2433 Fixed a bunch of typos.
2435 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2438 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2439 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2440 (gst_parse_bin_from_description_full):
2442 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2444 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2446 * docs/pwg/advanced-tagging.xml:
2447 Small docs update, can't be bothered to rewrite the nonsensical
2450 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2453 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2455 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2457 * gst/parse/grammar.y:
2458 Remove unneeded casts.
2460 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2462 * gst/parse/grammar.y:
2463 * tests/check/pipelines/parse-launch.c:
2464 Get all missing elements from a parse launch string if possible
2465 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2467 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2469 * tests/check/Makefile.am:
2470 * tests/check/pipelines/parse-launch.c:
2471 Add some unit tests for the new gst_parse_launch*_full() API.
2472 (Exposes a previously-existing memory leak in the error code
2473 path, so adding to VALGRIND_TO_FIX for now).
2475 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2477 * docs/gst/gstreamer-sections.txt:
2478 * gst/gst.c: (init_post):
2479 * gst/gst_private.h: (_GstParseContext):
2480 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2481 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2482 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2483 (gst_parse_launch_full):
2484 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2485 (GstParseFlags), (GstParseContext):
2486 * gst/gstutils.c: (gst_parse_bin_from_description),
2487 (gst_parse_bin_from_description_full):
2489 * gst/parse/grammar.y:
2490 * gst/parse/types.h:
2491 * win32/common/libgstreamer.def:
2492 Add new gst_parse_*_full API (#528178):
2493 API: gst_parse_launch_full()
2494 API: gst_parse_launchv_full()
2495 API: gst_parse_bin_from_description_full()
2496 API: gst_parse_context_new()
2497 API: gst_parse_context_free()
2498 API: gst_parse_context_get_missing_elements()
2500 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2502 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2504 * docs/faq/gst-uninstalled:
2505 Also support ffmpeg in gst-uninstalled.
2507 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2510 After discussion on IRC use the binary registry as default
2511 but allow to disable it with --disable-binary-registry.
2513 * win32/common/libgstreamer.def:
2514 Add the two new symbols for the binary registry.
2516 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2518 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2519 * gst/gstutils.c: (gst_parse_bin_from_description):
2520 * gst/parse/grammar.y: (graph):
2521 More guards against bad input; typo fix; some minor clean-ups.
2523 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2525 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2527 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2528 If nothing else can be used, use the last buffer's start time as
2529 the segment's last stop. Fixes bug #534258.
2531 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2533 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2534 Move size sanity check to the right place: downstream may return
2535 a buffer with a smaller size if the buffer caps are different than
2536 the requested ones, as may happen when doing reverse negotiation.
2538 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2540 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2541 (gst_file_sink_render):
2542 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2543 (gst_file_src_start):
2544 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2547 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2549 * gst/gstpad.c: (gst_pad_load_and_link):
2550 * gst/gstutils.c: (gst_element_link_pads),
2551 (gst_element_unlink_pads):
2552 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2553 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2554 (gst_check_teardown_sink_pad),
2555 (gst_check_element_push_buffer_list):
2556 * tests/check/elements/fakesink.c: (GST_START_TEST):
2557 * tests/check/elements/filesink.c:
2558 * tests/check/elements/filesrc.c: (GST_START_TEST):
2559 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2560 (mq_sinkpad_to_srcpad):
2561 * tests/check/elements/tee.c: (GST_START_TEST):
2562 * tests/check/generic/sinks.c: (GST_START_TEST):
2563 * tests/check/gst/gstbin.c: (GST_START_TEST):
2564 * tests/check/gst/gstevent.c: (GST_START_TEST):
2565 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2566 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2567 * tests/check/gst/gstquery.c: (GST_START_TEST):
2568 * tests/check/gst/gstutils.c: (GST_START_TEST):
2569 * tests/check/libs/basesrc.c: (GST_START_TEST):
2570 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2571 (gst_parse_test_element_change_state):
2572 Don't use gst_element_get_pad().
2574 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2577 Fix installing plugin documentation when gtk-doc is disabled.
2579 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2581 * docs/manual/advanced-autoplugging.xml:
2582 * docs/manual/basics-helloworld.xml:
2583 * docs/manual/basics-pads.xml:
2584 * docs/manual/highlevel-components.xml:
2585 Avoid using a bad function in the example code.
2587 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2589 * gst/gstclock.c: (gst_clock_set_calibration):
2590 Fix debug of the new clock rate.
2592 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2594 * win32/common/libgstbase.def:
2595 Add gst_base_sink_wait_clock() to the exported symbols.
2597 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2599 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2601 * libs/gst/base/gstbasetransform.c:
2602 (gst_base_transform_sink_event):
2603 Unref events that the GstBaseTransform::event vfunc didn't want to
2604 have forwarded by the base class. Closes a leak in identity.
2607 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2609 * docs/libs/gstreamer-libs-sections.txt:
2610 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2611 * libs/gst/base/gstbasesink.h:
2612 Expose a method that was previously used internally to synchronize
2613 against the clock because it can be useful for subclasses too.
2614 API: GstBaseSink::gst_base_sink_wait_clock()
2616 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2618 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2619 Add sanity check to make sure we don't get smaller buffers
2620 than requested (and fallback to normal buffer alloc if we do).
2622 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2624 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2625 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2626 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2627 Refactor adjusting the running_time with latency and offset into a
2629 When doing clipping, we still want to use the subclass get_times method,
2630 just in case the DURATION or TIMESTAMP are not set.
2632 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2634 * docs/gst/gstreamer-sections.txt:
2635 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2636 * gst/gsttypefind.h:
2637 * win32/common/libgstreamer.def:
2638 API: add gst_type_find_suggest_simple(), #533740.
2640 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2642 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2643 Use right error code when typefinding fails, so we can use
2644 the default (translated) error messages.
2646 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2648 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2649 (gst_base_src_start):
2650 When the subclass did not set caps on outgoing buffers, configure the
2651 caps we negotiated on the source pad.
2652 When the typefind helper does not find caps, error out properly instead
2653 of doing things with NULL caps.
2655 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2657 * gst/gsttypefind.h:
2658 Tabs to spaces, oh yes!
2660 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2662 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2663 Add David's and Benjamin's tests for array intersection to the
2664 unit test suite (#147931).
2666 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2669 Document that gst_event_new_tag() and gst_event_new_navigation()
2670 take ownership of the taglist/structure passed to them. (#533635).
2672 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2675 Don't descend into the plugins dir if plugin docs building
2679 Add a note about the new type:GTypeName syntax for the plugin
2680 documentation .types file.
2682 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2684 * gst/gstmessage.c: (gst_message_new_error),
2685 (gst_message_new_warning), (gst_message_new_info):
2687 Mark the debug string parameters as const. Fixes bug #533490.
2689 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2691 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2692 Sort buffer cache list by end offsets. This makes sure that we don't
2693 stop to search for a cached buffer that contains the requested data
2695 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2696 more efficient. Fixes bug #459862.
2698 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2701 Explain why we copy the list.
2703 * gst/gstpipeline.c:
2707 Add one debug-log statement to help tracing probelms with linking pads.
2709 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2711 * tests/check/gst/gstinfo.c:
2712 Add a test for removing the default log handler. Seems to fail under
2715 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2717 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2718 Release pad lock before calling out to avoid a possible deadlock.
2720 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2722 * gst/parse/grammar.y:
2723 Remove unneeded value unset.
2725 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2726 Add unit test for de/serialization of caps.
2728 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2730 * plugins/elements/gstfakesink.c:
2731 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2732 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2733 (gst_fake_src_class_init):
2734 Use custom marshalers that take GstMiniObject as first parameter.
2735 Using OBJECT as parameter while a GstMiniObject is given will lead
2736 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2738 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2740 * plugins/elements/gsttypefindelement.c:
2741 (gst_type_find_element_handle_event),
2742 (gst_type_find_element_send_cached_events),
2743 (gst_type_find_element_change_state):
2744 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2747 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2749 * plugins/elements/gsttypefindelement.c:
2750 (gst_type_find_handle_src_query), (stop_typefinding),
2751 (gst_type_find_element_handle_event),
2752 (gst_type_find_element_send_cached_events),
2753 (gst_type_find_element_change_state):
2754 Forward FLUSH_START events immediately and clean up instead of
2757 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2759 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2761 * libs/gst/base/gstbasetransform.c:
2762 (gst_base_transform_buffer_alloc):
2763 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2764 fall back to default negotiation in the chain function if the caps
2765 are different from what was requested. Fixes bug #526768.
2767 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2770 * tests/check/gst/gstsegment.c:
2771 No, let's not use g_slice_{dup|copy} here, since they only exist
2772 since GLib 2.14 and we still depend only on >= 2.12. Also add
2773 unit test for gst_segment_copy().
2775 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2777 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2778 Try to fix 'dereferencing type-punned pointer will break strict
2779 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2780 changed the default GType typedef from gulong to gsize at some point,
2781 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2782 g_once_* functions all take a gsize * though, so work around the type
2783 mismatch for C++ by doing everything in gsize and casting to GType
2786 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2788 * plugins/elements/gstmultiqueue.c:
2789 Add documentation for the signals to push our core plugin docs
2790 coverage back up to 100%.
2792 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2794 * gst/gstinfo.h (GST_FUNCTION):
2795 Reverted GST_FUNCTION to the old version as we don't want the
2796 full signature in C++ code. Also added support for MSVC.
2798 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2801 Intern the type name string, similar to what G_DEFINE_TYPE does.
2803 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2806 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2808 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2810 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2812 * libs/gst/base/gstbasetransform.c:
2813 (gst_base_transform_buffer_alloc):
2814 Don't passthrough buffer allocation too easily if the caps change.
2815 This breaks when working in passthrough mode and upstream changes
2816 it's caps. Fixes bug #526768.
2818 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2820 * gst/gstinfo.c (gst_debug_log_valist):
2821 Improved the __FILE__ part of debug output for MSVC.
2823 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2825 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2826 Declaration after statement fix for compilers like MSVC.
2828 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2830 * win32/common/config.h.in:
2831 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2832 use the real thing than having "???" unconditionally.
2834 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2836 * gst/gstinfo.h (GST_FUNCTION):
2837 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2839 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2841 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2844 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2845 (gst_base_sink_set_flushing):
2846 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2849 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2851 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2852 (gst_fake_src_init), (gst_fake_src_set_property),
2853 (gst_fake_src_get_property), (gst_fake_src_start):
2854 * plugins/elements/gstfakesrc.h:
2855 Added format property to control the format of the newsegment events.
2856 API: GstFakeSrc:format
2858 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2860 * win32/common/libgstreamer.def:
2861 Add gst_pad_has_name() to the exported symbols.
2863 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2865 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2866 * libs/gst/base/gstbasetransform.c:
2867 (gst_base_transform_prepare_output_buffer):
2868 Don't allow negative sizes when allocating new buffers.
2871 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2873 Patch by: Sjoerd Simons <sjoerd at luon net>
2875 * gst/gstbus.c: (gst_bus_source_dispatch):
2876 Don't print a warning if the queue is empty when we try to pop
2877 here. That could happen if another thread or callback set the
2878 bus to flushing between the source's check/prepare and the
2879 dispatch being called (#531538).
2881 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2883 * plugins/elements/gstmultiqueue.c:
2886 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2888 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2889 Add unit test for deserializing uint64s and check some really large
2890 numbers in the int64 test.
2892 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2894 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2895 (print_interfaces), (print_element_properties_info),
2896 (print_signal_info):
2897 Use "%s" as format string instead of printing strings directly.
2899 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2901 * gst/gstclock.c: (gst_clock_set_calibration):
2902 Make some checks actually useful.
2904 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2905 Remove some unused code. Unsigned integers tend to be >= 0.
2907 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2909 * gst/gstminiobject.c: (gst_value_get_mini_object):
2910 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2911 function was not in the unscheduled 0.10.19 release.
2913 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2915 * gst/gstregistry.c: (gst_registry_scan_path_level):
2916 Only print one log message per non-plugin file.
2918 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2920 * gst/gstinfo.c: (gst_debug_log_default):
2921 Fix alignment of debug log columns on 64-bit.
2923 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2925 * docs/libs/Makefile.am:
2926 * docs/libs/gstreamer-libs-sections.txt:
2927 Ignore private controller headers for docs.
2929 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2931 * libs/gst/controller/gstcontrollerprivate.h:
2932 * libs/gst/controller/gsthelper.c:
2933 * libs/gst/controller/gstinterpolation.c:
2934 * libs/gst/controller/gstinterpolationcontrolsource.c:
2935 (gst_interpolation_control_source_set_interpolation_mode):
2936 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2937 * libs/gst/controller/lib.c:
2938 Move some private declarations into private headers.
2940 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2942 * gst/gstdebugutils.c: (debug_dump_element_pad):
2943 Remove some code that is unused after Stefan's refactoring and uses
2944 uninitialized variables now, resulting in a compiler warning.
2946 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2948 * gst/gstregistry.c: (gst_registry_scan_path_level):
2949 Run g_str_has_suffix() only on the file name, not the
2952 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2954 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2955 Since we're not called only from the chain function any longer,
2956 we can't assume that there's always data in the queue, so move
2957 the is_full check to the beginning of the loop (otherwise we'd
2958 hit the assert when changing the limit properties while the
2959 queue is empty or not running yet).
2960 Also, only set a discont if items were actually removed from
2963 * tests/check/elements/queue.c: (test_leaky_downstream):
2964 Test case for the above.
2966 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2968 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2970 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2971 (gst_queue_chain), (queue_capacity_change),
2972 (gst_queue_set_property):
2973 When changing thr max capacity of a leaky queue, immediatly drop buffers
2974 instead of waiting for a push on the sinkpad. Fixes #530637.
2976 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2978 * gst/gstdebugutils.c:
2979 Refactor code and fix handling of ghostpads and their proxypads.
2981 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2983 * docs/gst/gstreamer-sections.txt:
2984 * gst/gstevent.c: (gst_event_has_name):
2986 * tests/check/gst/gstevent.c: (GST_START_TEST):
2987 Add method to conveniently check the name of a custom event with
2988 gst_event_has_name().
2989 Reformat the event docs so that related methods are put together instead
2990 of the default alphabetical sort.
2991 Update unit test with new method.
2992 API: GstEvent::gst_event_has_name()
2994 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2996 * libs/gst/check/Makefile.am:
2997 Don't add an explicit link to libgstreamer-0.10.la; it's already
2998 included in GST_OBJ_LIBS.
3000 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
3003 Register GstClock type from a type-safe context. Fixes bug #530317.
3005 2008-04-25 Michael Smith <msmith@songbirdnest.com>
3007 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3009 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3011 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3013 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3015 Use the GLib stuff to create a private structure.
3016 Add some locking around some dispose methods to make them a little
3017 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3019 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3021 * libs/gst/base/gstbasesink.h:
3022 * libs/gst/base/gstbasesrc.h:
3023 * libs/gst/base/gstbasetransform.h:
3024 * libs/gst/base/gstcollectpads.h:
3025 Fix doc typos and unify caps a bit.
3027 2008-04-25 Stefan Kost <ensonic@users.sf.net>
3029 * tools/gst-launch.1.in:
3030 Forgot to also add the envvar docs here.
3032 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
3034 * gst/gst.c: (init_post), (gst_deinit):
3035 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3036 (test_concurrent_create), (gst_pipeline_suite):
3037 Ref some more classes in gst_init() to work around thread-safety
3038 issues in pre-2.16 GLibs, and add basic unit test.
3040 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3042 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3043 (gst_base_sink_send_event):
3044 Rearrange the latency query code. We always want to do the upstream
3045 query, even if we are not live so that the upstream elements can get the
3046 latency results too. If we fail doing the query and we are live, we
3047 return TRUE afterwards.
3049 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3051 patch by: Jason Zhao <e3423c@motorola.com>
3053 * docs/gst/running.xml:
3055 Enable/disable scan_and_update_registry() based on commandline switch
3056 or environment variable. Fixes #520468.
3059 Fix typo in my previous commit.
3061 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3063 * gst/gstregistrybinary.c:
3064 Add a warning if we hit unhandled factories when saving.
3065 More debug logging detail, but move to LOG category.
3067 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3069 * gst/gstregistry.c:
3070 Tell the *truth* when improving the documentation.
3072 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3074 * gst/gstelementfactory.c: (gst_element_factory_make):
3075 Unref the factory after it was used the last time, not before.
3077 * gst/gstindexfactory.c: (gst_index_factory_make):
3078 Improve debugging a bit and don't leak a ref to the index factory with
3081 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3083 * gst/gstregistry.c:
3084 Improve the documentation.
3086 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3089 The glib macro seems to be borked. Use g_slice_copy directly and cast
3090 in the hope that this fixes the warning on 64bit.
3092 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3095 Document the new function. Use g_slice_dup() (no need for
3096 gst_segment_init()).
3098 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3100 * docs/gst/gstreamer-sections.txt:
3101 Move GParamSepc macros to standart section.
3104 Dn't document _get_type - its in private section in docs anyway and
3105 this doc-blob was incomplete.
3108 Fix wrong symbol names in docs.
3111 Add once doc sentence.
3113 * tests/check/gst/.cvsignore:
3116 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3118 * docs/gst/Makefile.am:
3119 And remove those libs here.
3121 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3123 * docs/libs/Makefile.am:
3124 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3126 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3128 Patch by: Olivier Crete <tester at tester dot ca>
3130 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3131 Add the min-threshold to the min latency if possible. Fixes #529148.
3133 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3135 * docs/gst/gstreamer.types.in:
3136 Stupid editor, I removed that line as it should go in yet.
3138 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3140 * docs/gst/gstreamer.types.in:
3141 * docs/libs/gstreamer-libs.types:
3142 Remove library types fro core docs and have them in libs docs.
3143 Reformat and cleanup. Add comment for miniobject types.
3145 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3147 * gst/gsturi.c: (gst_uri_get_protocol):
3148 Fix leak: g_strdown operates on the string in place, while
3149 g_ascii_strdown() returns a newly-allocated string.
3151 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3153 * tools/gst-inspect.c: (print_uri_handler_info),
3154 (print_element_info):
3155 Print the URI protocols and the URI type supported by the element.
3157 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3159 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3160 Use g_value_take_string() instead of the deprecated
3161 g_value_set_string_take_ownership().
3163 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3165 * gst/gstregistrybinary.c: (_gst_crc32):
3166 Return the old CRC instead of 0 if we give a NULL buffer
3167 or a buffer with a length of 0.
3169 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3171 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3172 (gst_uri_get_protocol), (gst_uri_has_protocol),
3173 (gst_uri_construct), (gst_uri_handler_set_uri):
3174 A valid URI scheme can also include '+', '-' and '.' additional
3175 to alphanumeric characters as per RFC 3986 Section 3.1.
3177 Handle URI schemes case insensitive in all places and convert
3178 to lower-case when constructing an URI or setting an URI with
3179 the GstURIHandler interface. Fixes bug #528868.
3180 All elements can still assume (as before) that they will
3181 get passed URIs with a lower-case URI scheme by the GstURIHandler
3184 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3186 * gst/gstcaps.c: (gst_static_caps_get):
3187 * gst/gstclock.c: (gst_clock_entry_new):
3188 Don't use g_atomic_set_int where it's not needed.
3190 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3192 * gst/gstvalue.c: (gst_value_deserialize_caps):
3193 * gst/parse/grammar.y:
3196 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3198 * gst/gstutils.c: (gst_atomic_int_set):
3199 Use g_atomic_int_set() here too instead of assignment +
3202 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3206 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3207 now that we depend on new enough GLib.
3209 * gst/gstcaps.c: (gst_static_caps_get):
3210 * gst/gstclock.c: (gst_clock_entry_new):
3211 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3212 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3213 (gst_debug_category_set_threshold):
3214 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3215 (gst_base_sink_set_qos_enabled):
3216 * libs/gst/net/gstnettimeprovider.c:
3217 (gst_net_time_provider_set_property):
3218 Use g_atomic_int_set() instead of gst_atomic_int_set().
3220 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3223 Also use G_GINT64_CONSTANT for the queries.
3225 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3228 Use G_GINT64_CONSTANT in varargs function.
3230 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3232 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3233 Initialize the registry magic with zeroes.
3235 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3237 * gst/gstregistrybinary.c: (_gst_crc32),
3238 (gst_registry_binary_write),
3239 (gst_registry_binary_initialize_magic),
3240 (gst_registry_binary_write_cache),
3241 (gst_registry_binary_check_magic),
3242 (gst_registry_binary_read_cache):
3243 * gst/gstregistrybinary.h:
3244 Add crc32 checksum to the binary registry file and check this before
3245 accepting a registry file.
3247 Also free the data list when writing to the registry file fails.
3249 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3251 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3252 (gst_registry_binary_load_feature),
3253 (gst_registry_binary_load_plugin):
3254 If an element supports the Uri interface, returns a valid pointer
3255 to the supported URI protocols but this pointer contains nothing
3256 don't try to save that as it will corrupt the registry.
3258 Don't unref the plugin if we added it to the registry already but
3259 fail to load a feature as gst_registry_add_plugin() takes ownership
3262 Improve debugging a bit.
3264 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3267 Clarify some tag item docs after discussion on irc.
3269 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3271 * docs/gst/gstreamer-docs.sgml:
3272 Remove commented out plugins (they have their own docs). Update
3275 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3277 * docs/gst/gstreamer-docs.sgml:
3278 * docs/gst/gstreamer-sections.txt:
3279 * gst/gstparamspecs.c:
3280 * gst/gstparamspecs.h:
3281 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3282 docs to own section.
3285 This now only documents GValue.
3287 * docs/libs/gstreamer-libs-sections.txt:
3288 * libs/gst/controller/gstcontroller.h:
3289 Remove GST_PARAM_CONTROLLABLE.
3291 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3294 Correct file path. Tell about how to use -overrides.txt.
3295 * docs/design/draft-tagreading.txt:
3296 Small design update.
3298 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3300 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3301 (gst_registry_binary_load_plugin):
3302 Fix a typo in a debug message and revert change from yesterday as
3303 gst_registry_add_plugin() will only fail if something is really wrong
3304 already and we can't survive it anyway.
3306 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3308 * gst/gst.c: (init_post), (gst_deinit):
3309 Pre-register GstGError GType from a thread-safe context
3310 (fixes #527967); unref enum type classes in deinit.
3312 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3314 Patch by: Rene Stadler <mail at renestadler de>
3316 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3317 Merging an empty list with another list in KEEP_ALL mode should
3318 yield an empty list as result and not the second list (#512578).
3320 * tests/check/gst/gsttagsetter.c:
3321 Add unit test for tag merge modes and the aforementioned bug.
3323 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3325 Patch by: Rene Stadler <mail at renestadler de>
3328 Fix description to match the order in the table (#512577).
3330 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3332 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3334 * libs/gst/net/gstnettimepacket.h:
3335 * docs/libs/gstreamer-libs-sections.txt:
3336 Define socklen_t as int if it's not defined yet. Fixes compilation
3337 with MSVC6 and other versions where socklen_t is not defined in
3338 the windows headers (#518022).
3340 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3342 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3343 If gst_registry_add_plugin() fails our reference to the plugin is
3344 invalid so don't try to use it anymore and instead error out.
3346 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3348 * tools/gst-xmlinspect.c: (print_element_info), (main):
3349 De-cruft a bit. If no argument is specified, print all elements in
3350 XML syntax rather than a freestyle list of elements like gst-inspect.
3351 Also, don't print XML header chunk unless we actually have something
3352 to print (ie. don't print it before an error message); print error
3353 message to stderr not stdout. Remove support for printing plugin
3354 info (it would just output something freestyle along the lines of
3355 gst-inspect so far), which fixes #514507. Also add license header.
3357 2008-04-11 Julien Moutte <julien@fluendo.com>
3360 * configure.ac: Merge platform specific defines, introduce a new
3361 define on OS X to remember that forking when updating registry is
3363 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3365 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3367 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3368 condition that leads to absolutely no plugins being registered on
3371 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3373 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3375 * gst/gstutils.c: (gst_pad_add_data_probe),
3376 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3377 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3378 (gst_pad_add_buffer_probe_full):
3380 * docs/gst/gstreamer-sections.txt:
3381 * win32/common/libgstreamer.def:
3382 Add gst_pad_add_*_probe_full() functions with a notify callback that
3383 lets the caller free the data it passes to the probe functions. This
3384 is useful for bindings such as gst-python or gstreamermm (#526814).
3385 API: gst_pad_add_data_probe_full
3386 API: gst_pad_add_buffer_probe_full
3387 API: gst_pad_add_event_probe_full
3389 * tests/check/gst/gstutils.c:
3390 Add minimal unit test to make sure freeing the data actually works
3393 * tests/benchmarks/.cvsignore:
3394 Random cvsignore addendum.
3396 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3398 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3399 (GST_DEBUG_BIN_TO_DOT_FILE):
3400 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3401 to it in the docs (since these are macros the types of the arguments
3402 won't be shown in the docs otherwise).
3404 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3407 Do not abort on out of memory for pad_alloc_buffer.
3409 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3411 * libs/gst/check/gstcheck.c:
3412 Remove blank line between symbol name ad parameters to fix gtkdoc
3415 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3417 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3419 * docs/gst/gstreamer-sections.txt:
3422 * win32/common/libgstreamer.def:
3423 Expose gst_segment_copy() to make things easier for the c++ bindings.
3425 API: gst_segment_copy()
3427 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3429 * gst/gst.c: (gst_init_get_option_group), (init_post):
3430 Fix const position; ref GType classes for enum types to work
3431 around thread-safety issues in GLib versions < 2.16.
3433 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3435 * docs/design/part-buffering.txt:
3436 Fix some typos and set the estimated total for push mode to -1.
3438 * gst/gstquery.c: (gst_query_new_buffering):
3439 Set buffering-left to 0 as we're not buffering by default.
3441 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3442 Implement BUFFERING query.
3444 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3446 Based on patch by: Milosz Derezynski <internalerror gmail com>
3448 * gst/gsterror.c: (_gst_stream_errors_init):
3450 Add two new error codes for encrypted content. Fixes #524659.
3451 API: GST_STREAM_ERROR_DECRYPT
3452 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3454 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3459 * win32/common/libgstreamer.def:
3462 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3464 * plugins/elements/gstidentity.c: (gst_identity_event),
3465 (gst_identity_start):
3466 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3467 event after processing some data. Fixes bug #526042.
3469 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3471 * docs/gst/gstreamer-sections.txt:
3472 * gst/gstquery.c: (gst_query_parse_latency),
3473 (gst_query_set_buffering_percent),
3474 (gst_query_parse_buffering_percent),
3475 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3477 Rename _avail -> _range
3478 API: gst_query_set_buffering_range
3479 API: gst_query_parse_buffering_range
3481 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3483 * docs/design/part-buffering.txt:
3486 * gst/gstquery.c: (gst_query_parse_latency),
3487 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3488 (gst_query_parse_buffering_percent):
3490 Add busy field and quark for the buffering query so that the app can
3491 only use the query to see if buffering is in progress.
3493 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3495 * docs/gst/gstreamer-sections.txt:
3496 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3497 (gst_message_parse_buffering_stats):
3499 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3500 (gst_query_parse_latency), (gst_query_new_buffering),
3501 (gst_query_set_buffering_percent),
3502 (gst_query_parse_buffering_percent),
3503 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3504 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3506 Reorder the message docs and headers for clarity.
3507 Add aditional buffering stats API for messages.
3508 Add buffering query.
3509 Convert some leftover queries to use GstQuark.
3510 API: gst_message_set_buffering_stats
3511 API: gst_message_parse_buffering_stats
3512 API: GST_QUERY_BUFFERING
3513 API: GstBufferingMode
3514 API: gst_query_new_buffering
3515 API: gst_query_set_buffering_percent
3516 API: gst_query_parse_buffering_percent
3517 API: gst_query_set_buffering_stats
3518 API: gst_query_parse_buffering_stats
3520 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3522 * gst/gstmessage.c: (gst_message_new_error),
3523 (gst_message_new_warning), (gst_message_new_info),
3524 (gst_message_new_buffering), (gst_message_new_state_changed),
3525 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3526 (gst_message_new_new_clock), (gst_message_new_segment_start),
3527 (gst_message_new_segment_done), (gst_message_new_duration),
3528 (gst_message_new_async_start), (gst_message_parse_buffering),
3529 (gst_message_parse_state_changed),
3530 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3531 (gst_message_parse_new_clock), (gst_message_parse_error),
3532 (gst_message_parse_warning), (gst_message_parse_info),
3533 (gst_message_parse_segment_start),
3534 (gst_message_parse_segment_done), (gst_message_parse_duration),
3535 (gst_message_parse_async_start):
3536 Use GstQuark for messages.
3538 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3540 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3542 Add some more quarks needed for messages and queries.
3544 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3546 * docs/design/part-buffering.txt:
3547 Remove the "none" buffering mode, STREAM is a good default.
3548 Move estimated-time to the avail query, that's when it will be needed.
3549 Other small typo fixes and updates.
3551 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3553 * gst/gstindex.c: (gst_index_resolver_get_type):
3554 Don't put descriptions into the nick field of a GEnumValue: it's not
3555 meant for that and some language bindings rely on the nick field to
3556 construct constants and the like. Fixes #526705.
3558 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3563 Merge other changes from 0.10.19 release branch.
3565 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3567 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3570 Actually build dlls when cross-compiling with mingw32.
3573 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3575 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3578 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3580 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3582 * docs/design/draft-latency.txt:
3585 * docs/design/part-buffering.txt:
3586 Update design docs with more buffering ideas.
3588 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3591 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3593 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3596 Revert part that belongs to the preset patch.
3598 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3601 Add qoutes to the define. Fixes # 525961.
3603 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3605 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3606 (gst_file_index_load), (gst_file_index_add_id),
3607 (gst_file_index_get_assoc_entry):
3608 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3609 (gst_mem_index_free_id), (gst_mem_index_add_id),
3610 (gst_mem_index_index_format):
3611 Use GSlice when possible.
3613 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3615 * libs/gst/controller/gstinterpolationcontrolsource.c:
3616 (gst_control_point_free),
3617 (gst_interpolation_control_source_set_internal):
3618 Use GSlice for allocating the control points.
3620 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3622 * plugins/elements/gsttypefindelement.c:
3623 (gst_type_find_element_class_init),
3624 (gst_type_find_element_set_property),
3625 (gst_type_find_element_get_property),
3626 (gst_type_find_element_activate):
3627 * plugins/elements/gsttypefindelement.h:
3629 Fix pad leak when peer query fails.
3630 We can still typefind when the peer returns -1.
3631 Add property to force caps and bypass typefinding. This will be used in
3635 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3640 * gst/glib-compat-private.h:
3641 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3642 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3643 Unconditionally use GSlice for allocation.
3645 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3646 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3647 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3648 (gst_structure_free):
3649 Use GSlice for allocation.
3651 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3653 * gst/parse/Makefile.am:
3654 * gst/parse/grammar.tab.pre.c:
3655 * gst/parse/grammar.tab.pre.h:
3656 * gst/parse/lex._gst_parse_yy.pre.c:
3657 Require a new enough flex and bison and remove the parser hacks to use
3658 a pre-regenerated version.
3660 2008-04-01 Julien Moutte <julien@fluendo.com>
3662 patch by: Jason Zhao <E3423C@motorola.com>
3664 * configure.ac: Add a configure switch to disable option parsing
3668 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3671 * gst/gstregistry.c:
3672 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3673 and handle this case.
3676 Add a comment here describing, why we stat each plugin and not try to
3679 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3681 * libs/gst/base/gstbasetransform.c:
3682 (gst_base_transform_prepare_output_buffer):
3683 Also unset the GAP flag on buffers if we're working inplace but
3684 the element is not GAP-aware.
3686 Mark a comment as FIXME 0.11.
3688 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3691 Fix type in log message and add one to ease seeing how long registry
3692 cache verification takes.
3694 * gst/gstregistry.c:
3695 Only test plugin filenames against G_MODULE_SUFFIX.
3697 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3699 * gst/gstdebugutils.c:
3700 Improve handling ghost/proxy pads.
3702 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3704 * docs/gst/gstreamer-sections.txt:
3707 Expose macro to docs and fix link to it.
3709 2008-03-27 Michael Smith <msmith@fluendo.com>
3711 * libs/gst/dataprotocol/dataprotocol.c:
3712 (gst_dp_packet_from_event_1_0):
3713 When calculating GDP body CRC, use the correct pointer.
3714 Fixes part of #522401.
3716 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3718 Patch by: Mark Nauwelaerts <manauw at skynet be>
3720 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3721 (gst_identity_init), (gst_identity_prepare_output_buffer):
3722 Identity is not always a passthrough element, it can modify the buffer
3723 timestamps when it has a datarate and operates in single-segment mode.
3724 We therefore make it an in_place filter with a custom buffer prepare
3725 function that conditionally makes the input buffer metadata writable
3726 when needed. Fixes #523985.
3728 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3730 Patch by: Mark Nauwelaerts <manauw at skynet be>
3733 * libs/gst/base/gstbasesrc.h:
3734 * libs/gst/base/gstbasetransform.c:
3735 * libs/gst/check/gstcheck.c:
3736 Small documentation fixes. Fixes #523978.
3738 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3740 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3741 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3742 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3744 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3746 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3747 (single_queue_underrun_cb):
3748 When trying to make room in the queue, bump the max allowed buffers
3749 bigger than the current amount of buffers in the queue. this fixes some
3750 nasty deadlocks in multiqueue when dynamically changing the limits of
3753 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3755 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3757 * gst/gstcaps.c: (gst_caps_set_simple),
3758 (gst_caps_set_simple_valist), (gst_caps_intersect):
3760 Constify the field gchar * params in set_simple and friends.
3763 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3765 * gst/gstvalue.c: (gst_value_transform_object_string):
3766 Transform a GstObject to a more meaningfull string that includes the
3767 object type in addition to its name.
3769 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3772 ChangeLog surgery to add bugnumber to commit.
3774 2008-03-23 Rene Stadler <mail@renestadler.de>
3776 * libs/gst/base/gstbasetransform.c:
3777 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3779 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3781 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3782 Rename constant everywhere and don't forget one occurence.
3784 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3786 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3787 Align memory to the pointer size even if the architecture allows
3788 unaligned memory access. Unaligned memory access usually comes with
3789 performance penality.
3791 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3793 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3794 (gst_registry_binary_check_magic),
3795 (gst_registry_binary_load_pad_template),
3796 (gst_registry_binary_load_feature),
3797 (gst_registry_binary_load_plugin):
3798 Align memory to the pointer size instead of always 32 bit. Fixes
3799 unaligned memory accesses on ia64 and friends.
3801 * gst/gstregistrybinary.h:
3802 Bump binary registry format version for this as it changes the
3803 format on those architectures that don't have unaligned access
3804 and 64 bit pointers.
3806 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3808 * docs/pwg/advanced-dparams.xml:
3809 * docs/pwg/building-props.xml:
3810 * docs/pwg/other-source.xml:
3811 * gst/glib-compat.h:
3812 * gst/gstbin.c: (gst_bin_class_init):
3813 * gst/gstclock.c: (gst_clock_class_init):
3814 * gst/gstindex.c: (gst_index_class_init):
3815 * gst/gstobject.c: (gst_object_class_init):
3816 * gst/gstpad.c: (gst_pad_class_init):
3817 * gst/gstpipeline.c: (gst_pipeline_class_init):
3818 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3819 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3820 * libs/gst/base/gstbasetransform.c:
3821 (gst_base_transform_class_init):
3822 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3823 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3824 (_gst_check_fault_handler_sighandler),
3825 (_gst_check_fault_handler_setup), (gst_check_init):
3826 * libs/gst/controller/gstcontroller.c:
3827 (_gst_controller_class_init):
3828 * libs/gst/controller/gstlfocontrolsource.c:
3829 (gst_lfo_control_source_class_init):
3830 * libs/gst/net/gstnetclientclock.c:
3831 (gst_net_client_clock_class_init):
3832 * libs/gst/net/gstnettimeprovider.c:
3833 (gst_net_time_provider_class_init):
3834 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3835 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3836 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3837 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3838 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3839 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3840 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3841 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3842 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3843 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3844 * plugins/elements/gsttee.c: (gst_tee_class_init):
3845 * plugins/elements/gsttypefindelement.c:
3846 (gst_type_find_element_class_init):
3847 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3848 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3849 use it everywhere for GParamSpecs that use static strings (i.e. all).
3850 This gives us less memory usage, fewer allocations and thus less
3851 memory defragmentation. Fixes bug #523806.
3853 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3855 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3856 (gst_param_spec_mini_object):
3857 * gst/gstminiobject.h:
3858 * win32/common/libgstreamer.def:
3859 * docs/gst/gstreamer-sections.txt:
3860 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3861 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3862 GstParamSpecMiniObject into a public header for this.
3864 This make GstMiniObject a bit more consistent with GObject and makes
3865 it possible to extend the param specs.
3867 gst_value_dup_mini_object is mainly useful for set_property methods.
3871 * tools/gst-inspect.c: (print_element_properties_info):
3872 Print something useful for GstMiniObject properties and not just
3875 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3877 * docs/gst/gstreamer-sections.txt:
3878 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3879 (gst_registry_binary_check_magic):
3880 * gst/gstregistrybinary.h:
3881 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3882 and add it to the (private part) of the docs to fix the build.
3884 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3886 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3887 (gst_registry_binary_check_magic),
3888 (gst_registry_binary_read_cache):
3889 * gst/gstregistrybinary.h:
3890 Don't use GST_MAJORMINOR for the binary registry version. Instead
3891 hardcode a value that must be changed whenever the format changes
3892 in an incompatible way.
3893 Also don't GST_ERROR when there is a version mismatch, just
3894 regenerate the registry silently.
3896 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3899 Back to development - 0.10.18.1
3901 === release 0.10.18 ===
3903 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3906 releasing 0.10.18, "So far away"
3908 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3911 * win32/common/config.h:
3912 0.10.17.4 pre-release
3914 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3916 Patch by: Ole André Vadla Ravnås
3917 <ole dot andre dot ravnas at tandberg dot com>
3919 * docs/gst/gstreamer-sections.txt:
3920 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3921 (gst_poll_update_winsock_event_mask),
3922 (gst_poll_prepare_winsock_active_sets),
3923 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3924 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3925 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3926 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3927 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3929 * win32/common/libgstreamer.def:
3930 Add new function gst_poll_fd_ignored() for improved Windows
3932 Various minor fixes and cleanups. See #520808.
3934 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3936 * gst/gstindex.c: (gst_index_entry_free):
3938 Don't free key strings which we don't own. Fixes crash in
3939 gst_index_entry_free() (#522741).
3941 * tests/check/Makefile.am:
3942 * tests/check/gst/.cvsignore:
3943 * tests/check/gst/gstindex.c: (test_index_entries),
3944 (gst_index_suite), (gst_index):
3945 Add unit test for the above.
3947 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3949 * win32/common/libgstreamer.def:
3950 Remove symbols that were removed recently. Fixes bug #521740.
3952 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3955 * win32/common/config.h:
3956 0.10.17.3 pre-release
3958 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3960 Patch by: Ole André Vadla Ravnås
3961 <ole dot andre dot ravnas at tandberg dot com>
3963 * docs/gst/gstreamer-sections.txt:
3964 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3965 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3966 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3967 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3968 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3969 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3970 (gst_poll_fd_can_write), (gst_poll_wait),
3971 (gst_poll_set_controllable), (gst_poll_restart),
3972 (gst_poll_set_flushing):
3974 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3975 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3976 (gst_net_time_provider_new):
3977 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3978 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3979 * tests/benchmarks/gstpollstress.c: (main):
3980 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3981 Remove GstPollMode from the API, it does not make sense to let the
3982 application control this.
3983 Add support for Win32.
3984 Fix the testsuite. Fixes #520671.
3986 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3988 Patch by: Ole André Vadla Ravnås
3989 <ole dot andre dot ravnas at tandberg dot com>
3991 * gst/gstregistrybinary.c:
3992 Include io.h for write() and close() when building with MSVC. Fixes
3995 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3998 * gst/gst_private.h:
3999 * gst/gstconfig.h.in:
4000 * gst/gstregistry.h:
4001 * gst/gstregistrybinary.c:
4002 * win32/common/gstconfig.h:
4003 Move registry backend API to private headers where we can. Add
4004 fixme-0.11 comments for the others. Add stubs for the xml backend when
4005 using the binary to ensure they functions exists (they should not be
4006 used though). Fixes #520756.
4008 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
4011 * win32/common/config.h:
4014 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4016 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4017 (gst_registry_binary_read_cache):
4018 * gst/gstregistryxml.c: (gst_registry_save):
4019 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4020 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4021 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4022 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4023 Switch to using portabl gsize/gssize instead of size_t/ssize_t
4026 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
4028 * gst/gstminiobject.c:
4029 Import gst_private.h before any other header that might include other
4030 glib headers. This fixes the build on windows using native compilers.
4032 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4034 * win32/common/gstconfig.h:
4035 Add here too, just for completeness.
4037 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4040 * gst/gstconfig.h.in:
4041 * gst/gstregistry.h:
4042 Fix broken use of config.h-defined preprocessor directive in a public
4043 header file. Add a corresponding define to gstconfig.h, since we can't
4044 really remove those function declarations from the header file now
4045 (or can we? and why are they there in the first place?).
4047 2008-03-03 Andy Wingo <wingo@pobox.com>
4049 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4052 * gst/gststructure.c (gst_structure_from_string): Warn if
4053 structure_from_string didn't consume the whole string, but the
4054 caller did not provide an end pointer.
4056 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4058 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4060 * gst/gstregistryxml.c: (read_string), (load_feature):
4061 Strings allocated by libxml2 should be freed with xmlFree(), not
4062 with g_free(). Fixes issues on windows in certain contexts (#519698).
4064 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4066 * gst/gstinterface.c: (gst_element_implements_interface):
4067 Don't crash if the element supports the interface queried, but does
4068 not implement GstImplementsInterface. Fixes #519584.
4070 * tests/check/Makefile.am:
4071 * tests/check/gst/.cvsignore:
4072 * tests/check/gst/gstinterface.c:
4073 Add unit test for the above.
4075 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4077 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4080 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4082 * gst/gstsegment.c: (gst_segment_set_seek),
4083 (gst_segment_to_stream_time):
4084 Improve some comment.
4085 Update variables where it makes more sense.
4087 2008-02-29 Rene Stadler <mail@renestadler.de>
4089 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4090 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4091 URIHandlers implemented using language bindings.
4093 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4095 * gst/gstelementfactory.h:
4096 * tests/check/elements/fakesink.c:
4097 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4098 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4099 * tests/check/elements/filesink.c: (setup_filesink):
4100 * tests/check/elements/filesrc.c: (setup_filesrc):
4101 * tests/check/elements/identity.c: (setup_identity):
4102 * tests/check/elements/tee.c:
4103 * tests/check/generic/sinks.c:
4104 * tests/check/generic/states.c: (setup), (teardown):
4105 * tests/check/gst/gst.c:
4106 * tests/check/gst/gstabi.c:
4107 * tests/check/gst/gstbin.c:
4108 * tests/check/gst/gstbus.c: (pull_messages):
4109 * tests/check/gst/gstcaps.c:
4110 * tests/check/gst/gstelement.c:
4111 * tests/check/gst/gstevent.c:
4112 * tests/check/gst/gstghostpad.c:
4113 * tests/check/gst/gstiterator.c:
4114 * tests/check/gst/gstmessage.c:
4115 * tests/check/gst/gstminiobject.c: (my_foo_init):
4116 * tests/check/gst/gstobject.c: (thread_name_object),
4118 * tests/check/gst/gstpad.c:
4119 * tests/check/gst/gstplugin.c:
4120 * tests/check/gst/gstpoll.c:
4121 * tests/check/gst/gstquery.c:
4122 * tests/check/gst/gstsegment.c:
4123 * tests/check/gst/gststructure.c:
4124 * tests/check/gst/gstsystemclock.c:
4125 * tests/check/gst/gsttask.c:
4126 * tests/check/gst/gstutils.c:
4127 * tests/check/gst/gstvalue.c:
4128 * tests/check/gst/struct_hppa.h:
4129 * tests/check/gst/struct_i386.h:
4130 * tests/check/gst/struct_ppc32.h:
4131 * tests/check/gst/struct_ppc64.h:
4132 * tests/check/gst/struct_x86_64.h:
4133 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4134 * tests/check/libs/basesrc.c:
4135 * tests/check/libs/controller.c: (GST_START_TEST):
4136 * tests/check/libs/gdp.c:
4137 * tests/check/libs/gstnetclientclock.c:
4138 * tests/check/libs/gstnettimeprovider.c:
4139 * tests/check/libs/libsabi.c:
4140 * tests/check/libs/struct_hppa.h:
4141 * tests/check/libs/struct_i386.h:
4142 * tests/check/libs/struct_ppc32.h:
4143 * tests/check/libs/struct_ppc64.h:
4144 * tests/check/libs/struct_x86_64.h:
4145 * tests/check/pipelines/cleanup.c:
4146 * tests/check/pipelines/simple-launch-lines.c:
4147 * tests/check/pipelines/stress.c:
4148 And correct even more valid sparse warnings.
4150 * win32/common/libgstreamer.def:
4151 Add gst_poll_fd_init to the list of symbols.
4153 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4155 * gst/gstconfig.h.in:
4156 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4157 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4158 (gst_check_log_critical_func), (gst_check_drop_buffers),
4159 (gst_check_element_push_buffer_list):
4160 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4161 (gst_controller_get_type):
4162 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4163 (gst_object_get_controller), (gst_object_get_control_source):
4164 * libs/gst/controller/gstinterpolationcontrolsource.c:
4165 (gst_interpolation_control_source_new):
4166 * libs/gst/controller/gstlfocontrolsource.c:
4167 (gst_lfo_control_source_new):
4168 * libs/gst/dataprotocol/dataprotocol.c:
4169 (gst_dp_event_from_packet_0_2):
4170 * plugins/elements/gstfdsrc.c:
4171 * plugins/elements/gstmultiqueue.c:
4172 * plugins/elements/gsttee.c:
4173 * plugins/elements/gsttypefindelement.c:
4174 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4175 (gst_file_index_add_association):
4176 * plugins/indexers/gstmemindex.c:
4177 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4178 * tests/check/elements/queue.c: (setup_queue):
4179 * tests/check/gst/gstpipeline.c:
4180 * tests/check/libs/collectpads.c: (setup), (teardown),
4181 (gst_collect_pads_suite):
4182 * tests/examples/adapter/adapter_test.c:
4183 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4184 * tests/examples/xml/createxml.c:
4185 * tests/examples/xml/runxml.c:
4186 * tools/gst-inspect.c:
4188 Correct all relevant warnings found by the sparse semantic code
4189 analyzer. This include marking several symbols static, using
4190 NULL instead of 0 for pointers, not using variable sized arrays
4191 on the stack, moving variable declarations to the beginning of
4192 a block and using "foo (void)" instead of "foo ()" for declarations.
4194 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4196 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4197 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4198 Don't reset GstPollFDs, this is not necessary at all.
4200 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4201 (delayed_restart), (delayed_control):
4202 Use GST_POLL_FD_INIT.
4204 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4206 * gst/gstpoll.c: (gst_poll_fd_init):
4210 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4211 Use some more init macros.
4213 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4215 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4216 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4217 Use init macros and functions.
4219 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4221 * docs/gst/gstreamer-sections.txt:
4222 * gst/gstpoll.c: (gst_poll_fd_init):
4224 Add INIT macro and _init method for initializing the GstPollFD.
4226 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4228 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4229 (gst_fd_sink_update_fd):
4230 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4231 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4232 (delayed_restart), (delayed_control):
4233 Initialize some uninitialized variables as spotted by valgrind.
4235 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4237 * tests/benchmarks/Makefile.am:
4238 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4240 Add poll stress test.
4242 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4244 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4246 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4247 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4248 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4249 * plugins/elements/gstfdsink.h:
4250 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4251 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4252 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4253 (gst_fd_src_uri_set_uri):
4254 * plugins/elements/gstfdsrc.h:
4255 Port to GstPoll. See #505417.
4257 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4259 * win32/common/libgstreamer.def:
4260 Add new gst_poll_ symbols to win32 defs.
4262 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4264 * docs/libs/gstreamer-libs-sections.txt:
4265 * libs/gst/net/gstnetclientclock.c:
4266 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4267 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4268 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4269 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4270 * libs/gst/net/gstnetclientclock.h:
4271 * libs/gst/net/gstnettimeprovider.c:
4272 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4273 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4274 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4275 (gst_net_time_provider_new):
4276 * libs/gst/net/gstnettimeprovider.h:
4277 Use a private stuct to not break ABI.
4279 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4281 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4283 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4284 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4285 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4286 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4287 * libs/gst/net/gstnetclientclock.h:
4288 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4289 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4290 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4291 (gst_net_time_provider_new):
4292 * libs/gst/net/gstnettimeprovider.h:
4293 Massive code removal and cleanups because of GstPoll.
4296 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4299 Add checks for poll, ppoll and pselect.
4301 * docs/gst/gstreamer-docs.sgml:
4302 * docs/gst/gstreamer-sections.txt:
4303 Add docs for GstPoll.
4307 * gst/gstpoll.c: (find_index), (selectable_fds),
4308 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4309 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4310 (gst_poll_set_mode), (gst_poll_get_mode),
4311 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4312 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4313 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4314 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4315 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4316 (gst_poll_fd_can_write), (gst_poll_wait),
4317 (gst_poll_set_controllable), (gst_poll_restart),
4318 (gst_poll_set_flushing):
4320 Add generic poll abstraction. We ideally don't want to have this in core
4321 here but in glib intead...
4322 This code will be used in various network elements and ultimately for
4323 the nanosecond precision monotonic clock (that's why it's here in core).
4324 It'll allow us to implement cancelable socket operations for windows too.
4326 * tests/check/Makefile.am:
4327 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4328 (delayed_stop), (delayed_restart), (delayed_flush),
4329 (delayed_control), (gst_poll_suite):
4330 Add GstPoll unit test.
4332 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4335 Improve documentation of gst_filter_run(). Fixes #518627.
4337 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4340 Add a few lines about the new 'check-inspected-versions' target.
4342 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4344 * tests/check/gst/gstevent.c:
4345 Add qos to the event test. Rename tcase/tsuite; is not only about
4348 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4350 * plugins/elements/gstqueue.c:
4351 Ensure that buffer metadata is writeable, before modifying. Spotted by
4354 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4356 * plugins/elements/gstqueue.c:
4357 * plugins/elements/gstqueue.h:
4358 When dropping buffers in leaky modes, mark next buffers we sent as
4361 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4363 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4364 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4366 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4368 * plugins/elements/Makefile.am:
4369 * plugins/elements/gstbufferstore.c:
4370 * plugins/elements/gstbufferstore.h:
4371 * plugins/elements/gsttypefindelement.h:
4372 Remove GstBufferStore, no idea why we were still building it.
4373 It's not used anywhere and superseded by GstAdapter.
4375 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4376 (gst_file_src_create_mmap):
4377 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4378 Printf format fixes for 64-bit integers.
4380 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4383 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4384 We're not in 0.8 times anymore.
4386 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4388 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4389 (gst_check_element_push_buffer_list):
4390 * libs/gst/check/gstcheck.h:
4391 Make the declaration in the header for
4392 gst_check_element_push_buffer_list match the implementation.
4394 Fix up spelling, grammar and wording of the documentation in a few
4395 places, and add the Since keyword to new API functions.
4396 Use g_list_delete_link instead of g_list_remove in
4397 gst_check_drop_buffers, since it's immeasurably more efficient.
4399 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4400 Use new gst_check_drop_buffers function where appropriate.
4402 * win32/common/libgstbase.def:
4403 * win32/common/libgstreamer.def:
4404 Add new symbols gst_collect_pads_take_buffer,
4405 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4408 Changelog surgery to add API keyword to new gst_check API.
4410 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4412 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4413 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4414 Update pre-generated flex files with flex 2.3.34.
4416 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4418 * gst/gstminiobject.c:
4419 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4420 friendly to subclasses and not require them to know all internals
4421 of their parent class.
4423 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4425 * docs/libs/gstreamer-libs-sections.txt:
4426 * libs/gst/base/gstcollectpads.c:
4427 * libs/gst/base/gstcollectpads.h:
4428 Add sub-buffer functions to collectpads. Fixes #516187.
4429 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4431 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4434 Copy selected buffer-flags when creating subbuffers.
4437 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4439 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4440 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4441 * gst/gstmessage.c: (gst_message_class_init),
4442 (gst_message_finalize):
4443 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4444 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4445 (gst_mmap_buffer_finalize):
4446 Properly chain up finalize functions to the parent class.
4448 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4450 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4452 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4453 (gst_index_set_resolver_full):
4455 Add new function with option to dispose of user_data in resolver.
4456 Actually call the dispose function when finalizing the object and not
4457 just when changing the resolver/filter.
4458 API: GstIndex::gst_index_set_resolver_full()
4460 * docs/gst/gstreamer-sections.txt:
4461 Add new function to docs. Fixes #515469.
4463 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4465 * gst/gstindex.c: (gst_index_finalize):
4466 Chain up finalize to the parent class. Fixes leaking the GstObject
4467 name and other things.
4469 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4472 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4473 pre-releases or releases.
4475 * docs/faq/gst-uninstalled:
4478 * docs/random/release:
4479 Change one of the steps - we only upload core & base to Gnome FTP
4481 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4483 * gst/gstconfig.h.in:
4484 Add 'id' for example.
4488 * plugins/elements/gstfdsink.c:
4489 Link to signals. Doc and comment fixes.
4491 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4493 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4494 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4495 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4496 unused and unimplemented; finally, it is plugin features, not
4497 plugins, that have ranks.
4499 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4501 * gst/gstpluginfeature.h:
4502 Clarify GstRank range docs.
4504 2008-02-05 David Schleef <ds@schleef.org>
4506 * gst/gst.c: Add a separate gst_deinitialized that prevents
4507 gst_init() from being called after gst_deinit(). Fixes #509559
4509 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4511 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4512 (gst_bin_class_init):
4513 * gst/gstelement.c: (gst_element_base_class_init),
4514 (gst_element_class_add_pad_template):
4515 * gst/gstpadtemplate.c: (gst_pad_template_init):
4516 * gst/gstpipeline.c: (gst_pipeline_get_type),
4517 (gst_pipeline_base_init), (gst_pipeline_class_init):
4518 * libs/gst/base/gstbasesink.c:
4519 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4520 (gst_base_src_base_init), (gst_base_src_class_init):
4521 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4522 (gst_capsfilter_class_init):
4523 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4524 (gst_fake_sink_class_init):
4525 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4526 (gst_fake_src_class_init):
4527 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4528 (gst_fd_sink_class_init):
4529 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4530 (gst_fd_src_class_init):
4531 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4532 (gst_file_sink_class_init):
4533 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4534 (gst_file_src_class_init):
4535 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4536 (gst_identity_class_init):
4537 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4538 (gst_multi_queue_class_init):
4539 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4540 (gst_queue_class_init):
4541 * plugins/elements/gsttee.c: (gst_tee_base_init),
4542 (gst_tee_class_init):
4543 * plugins/elements/gsttypefindelement.c:
4544 (gst_type_find_element_base_init),
4545 (gst_type_find_element_class_init):
4546 * tests/check/gst/gstelement.c: (gst_element_suite):
4547 Revert previous changes to the behaviour of GstPadTemplates, etc
4548 and the possiblity to call them in class_init as it breaks too
4549 many elements. Reopens bug #491501.
4551 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4554 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4556 * tools/gst-launch.c:
4557 Dump one graph per pipeline state-change and state change name
4558 (if GST_DEBUG_DUMP_DOT_DIR is set).
4560 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4563 * tests/check/gst/gstpad.c:
4564 Be sure that we have a new copy of the caps and not
4565 reffed caps from a template
4567 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4569 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4570 * gst/gstpipeline.c: (gst_pipeline_get_type),
4571 (gst_pipeline_class_init):
4572 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4573 (gst_base_sink_class_init):
4574 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4575 (gst_base_src_class_init):
4576 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4577 (gst_base_transform_class_init):
4578 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4579 (gst_collect_pads_class_init):
4580 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4581 * libs/gst/net/gstnettimeprovider.c:
4582 (gst_net_time_provider_base_init),
4583 (gst_net_time_provider_class_init):
4584 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4585 (gst_capsfilter_class_init):
4586 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4587 (gst_fake_sink_class_init):
4588 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4589 (gst_fake_src_class_init):
4590 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4591 (gst_fd_sink_class_init):
4592 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4593 (gst_fd_src_class_init):
4594 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4595 (gst_file_sink_class_init):
4596 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4597 (gst_file_src_class_init):
4598 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4599 (gst_identity_class_init):
4600 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4601 (gst_multi_queue_class_init):
4602 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4603 (gst_queue_class_init):
4604 * plugins/elements/gsttee.c: (gst_tee_base_init),
4605 (gst_tee_class_init):
4606 * plugins/elements/gsttypefindelement.c:
4607 (gst_type_find_element_base_init),
4608 (gst_type_find_element_class_init):
4609 Don't use base_init where not absolutely necessary. For example it's
4610 not necessary anymore for adding pad templates or setting element
4613 Leave empty base_init functions in several places as GST_BOILERPLATE
4614 still defines and uses them.
4616 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4618 * gst/gstelement.c: (gst_element_base_class_init),
4619 (gst_element_class_add_pad_template):
4620 * gst/gstpadtemplate.c:
4621 Make it possible (and recommended) to set element details and add
4622 pad templates in the class_init functions by copying the details/pad
4623 templates in GstElement's base_init.
4625 Also make it possible to replace existing pad templates by adding
4626 a new one with the same name. This was done in a hackish fashion
4627 in same elements before already.
4629 Don't reference pad templates that are added a second time. A
4630 new pad template has a refcount of one and is not floating anymore
4631 and to be owned by the element's class. Make this more explicit by
4632 mentioning it in the docs of gst_element_class_add_pad_template().
4634 These changes are backwards compatible. Fixes bug #491501.
4636 * tests/check/gst/gstelement.c:
4637 Add unit test for setting element details, adding pad templates and
4638 replacing them in a subclass.
4640 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4642 * tools/gst-inspect.c: (print_interfaces),
4643 (print_element_properties_info), (print_pad_info),
4644 (print_signal_info), (print_element_info):
4645 Fix a few memory leaks.
4647 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4649 * docs/libs/gstreamer-libs-sections.txt:
4650 * libs/gst/check/gstcheck.c:
4651 * libs/gst/check/gstcheck.h:
4652 Add more functions for unit testing: gst_check_drop_buffers,
4653 gst_check_caps_equal, gst_check_element_push_buffer_list,
4654 gst_check_element_push_buffer
4655 API: gst_check_drop_buffers
4656 API: gst_check_caps_equal
4657 API: gst_check_element_push_buffer_list
4658 API: gst_check_element_push_buffer
4660 2008-02-01 Julien Moutte <julien@fluendo.com>
4662 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4663 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4664 (gst_index_finalize), (gst_index_entry_free),
4665 (gst_index_add_association): Fix memory leaks.
4666 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4667 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4668 (gst_mem_index_free_format), (gst_mem_index_free_id),
4669 (gst_mem_index_finalize): Fix memory leaks.
4670 * win32/common/config.h: Updated to CVS HEAD.
4672 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4675 Some more details about how the plugin docs works.
4677 * docs/plugins/gstreamer-plugins-sections.txt:
4680 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4682 * gst/parse/grammar.tab.pre.c:
4683 * gst/parse/grammar.tab.pre.h:
4684 * gst/parse/grammar.y:
4685 * gst/parse/lex._gst_parse_yy.pre.c:
4686 Add delayed set-property. This allows to set properties on dynamicaly
4687 created objects (pads in videomxer). Fixes #509391.
4689 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4692 Check if caps are not NULL (fix bug #510194)
4694 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4696 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4697 (gst_base_sink_get_position_paused):
4698 Add fixme regarding EOS in pull mode.
4699 Fix position reporting in PAUSED for negative rates.
4701 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4703 * gst/gstminiobject.c: (gst_mini_object_replace):
4704 When replacing a miniobject, do a quick equality check first so that we
4705 can avoid a ref/unref pair.
4707 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4709 * docs/design/part-synchronisation.txt:
4712 * docs/plugins/Makefile.am:
4713 * docs/plugins/gstreamer-plugins-docs.sgml:
4714 * docs/plugins/gstreamer-plugins-sections.txt:
4715 * plugins/elements/gstmultiqueue.c:
4716 Add multiqueue to the docs.
4718 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4723 === release 0.10.17 ===
4725 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4728 releasing 0.10.17, "Due Negligence"
4730 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4733 Revert caps != NULL check temporarily for 0.10.17 release.
4735 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4738 Check if caps are not NULL (fix bug #510194)
4740 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4743 Fix compilation on systems that have posix timers but no
4746 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4749 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4751 * tools/gst-inspect.c:
4752 Revert previous commit in preparation for an impromptu 0.10.17 release
4754 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4756 * tools/gst-inspect.c: (print_interfaces),
4757 (print_element_properties_info), (print_pad_info),
4758 (print_signal_info), (print_element_info):
4759 Fix a few memory leaks.
4761 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4766 === release 0.10.16 ===
4768 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4771 releasing 0.10.16, "Special Dispensation"
4773 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4776 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4777 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4778 not fail when trying to crosscompile on OpenEmbedded (#511750).
4780 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4783 Use $(MAKE) instead of make to fix the build if GNU make is
4784 called different. Fixes bug #510747.
4786 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4788 * gst/gstplugin.c: (_gst_plugin_initialize):
4789 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4790 again, which I broke two commits ago when changing the API
4791 of gst_plugin_register_static(): the g_list_foreach() in
4792 _gst_plugin_register_static still assumed the old function
4793 signature and would therefore fail (re-fixes #510187).
4795 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4796 (_gst_plugin_register_static), (gst_plugin_register_static):
4797 Revert the (technically correct) change to call g_thread_init() from
4798 the pre-main() constructor. This will break programs which call
4799 g_thread_init() without an if (!g_thread_supported()) guard in their
4800 main function. We could just blame it on GLib or the application, but
4801 it's probably best to just avoid this altogether and simply not use
4802 any GLib functions here and use plain old malloc() with a simple
4803 array to store the plugins to register later when gst_init() is
4804 finally called (re-fixes #510187).
4806 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4807 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4808 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4809 (GST_START_TEST), (gst_plugin_suite):
4810 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4813 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4815 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4816 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4817 This makes gtk-doc complain, but results in slightly better
4818 compiler errors. The old _gst_plugin_register_static() is
4819 still guarded, so there'll be a compiler warning about that
4820 instead. Fixes #510187 too.
4822 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4824 * gst/gst.c: (init_post):
4825 * gst/gstplugin.c: (_gst_plugin_register_static),
4826 (gst_plugin_register_static), (_gst_plugin_initialize):
4827 * gst/gstplugin.h: (GstPluginFilter):
4828 Change API of gst_plugin_register_static() to not take
4829 a GstPluginDesc, but rather just take all the arguments
4830 in a GstPluginDesc directly. This is more intuitive and
4831 avoids certain mistakes when porting code from
4832 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4835 * tests/check/gst/gstplugin.c:
4836 Fix up for changed API.
4838 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4840 * docs/faq/legal.xml:
4841 Update FAQ, Totem actually has an exception these days.
4843 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4845 * win32/common/libgstreamer.def:
4846 Add new API declarations
4848 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4850 * gst/gstminiobject.c:
4851 Spelling fixes for the API docs.
4853 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4855 * libs/gst/base/gstbasetransform.c:
4856 Fix long property description for QoS.
4858 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4861 _gst_trace_on is already provided by gsttrace.h, no need to declare
4864 * docs/libs/gstreamer-libs-sections.txt:
4865 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4866 and remove strange tcase_add_test which is outputting a warning.
4868 * libs/gst/check/gstcheck.c:
4869 * libs/gst/check/gstcheck.h:
4870 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4871 and define them in gstcheck.c instead of having every .c file whcih
4872 includes gstcheck.h be defining its own copy and relying on symbol
4873 interposing to marry them all, which doesn't work on Solaris.
4875 * tests/check/elements/identity.c: (GST_START_TEST):
4876 Don't define 'buffers' locally, it comes from libgstcheck.
4878 * tests/check/generic/sinks.c: (send_buffer):
4879 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4881 * tests/check/gst/gststructure.c: (GST_START_TEST):
4882 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4883 * tests/check/gst/gstutils.c: (GST_START_TEST):
4884 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4885 Add a bunch of casts to make various constants fit the types
4886 they're being assigned to.
4888 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4890 * gst/gstchildproxy.c:
4891 Improve docs and add some ideas for making this more general-purpose.
4893 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4895 * gst/gst_private.h: (GST_CAT_TYPES):
4896 Add GST_CAT_TYPES, for consistency, and so that the other
4897 debug categories don't make fun of it. Spotted by Saur on IRC.
4899 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4901 * gst/parse/Makefile.am:
4902 Move types.h from EXTRA_DIST to noinst_HEADERS.
4904 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4907 Add -Wno-portability to the automake parameters to stop warnings
4908 about GNU make extensions being used. We require GNU make in almost
4909 every Makefile anyway.
4912 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4913 at the same time is required for per target flags.
4915 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4918 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4919 __GNUC__ is defined before using it.
4921 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4923 * docs/gst/gstreamer-sections.txt:
4924 * gst/gst.c: (init_post):
4925 * gst/gstplugin.c: (_gst_plugin_register_static),
4926 (gst_plugin_register_static), (_gst_plugin_initialize),
4927 (gst_plugin_register_func):
4928 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4929 API: add gst_plugin_register_static() and deprecate
4930 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4932 Also, in _gst_plugin_register_static(), make sure to call
4933 g_thread_init() before calling GLib functions such as
4934 g_list_append() if we're not initialised yet, since that
4935 may lead to random crashes with older GSlice/GLib versions.
4937 * tests/check/gst/gstplugin.c:
4938 Adapt unit test to above changes.
4940 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4942 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4943 * gst/gstcaps.c: (gst_caps_to_string):
4944 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4945 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4946 Yet another gratuitous GString micro-optimisation: add a (private)
4947 function that serialises a structure appending to an existing
4948 GString, so that when we serialise caps we don't need to alloc+free
4949 a throwaway GString for each structure (each of which also entailing
4950 multiple reallocs on the way); also use g_string_sized_new() in
4951 various places with an approximate string length to avoid reallocs
4952 within GString. See #500143.
4954 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4956 * gst/gststructure.c: (gst_structure_id_set_value):
4957 Always check UTF-8 conformance of structure strings and not only
4958 if the debugging system is enabled; reasoning: the behaviour of
4959 the actual code shouldn't really change depending on whether the
4960 debugging system is enabled or not (#508291).
4962 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4965 Remove old coverage target in favour of "make lcov".
4967 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4969 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4970 (gst_base_src_loop):
4971 The start segment for reverse playback goes from start to last_stop.
4973 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4975 Patch by: Peter Kjellerstedt <pkj axis com>
4978 Cast the results from the timeval/spec_to_time macros to what the
4979 docs say it casts to, a GstClockTime. fixes #508175.
4981 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4984 Update some comments.
4986 * tools/gst-inspect.c: (print_element_properties_info):
4987 Improve printing of flags.
4989 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4991 * libs/gst/base/gstbasetransform.c:
4992 (gst_base_transform_transform_size):
4993 Print element name with g_warning() if there's a problem
4996 2008-01-07 David Schleef <ds@schleef.org>
4998 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5000 * libs/gst/controller/gstcontroller.h:
5001 * libs/gst/controller/gstcontrolsource.h:
5002 * libs/gst/controller/gstinterpolationcontrolsource.h:
5003 * libs/gst/controller/gstlfocontrolsource.h:
5004 * libs/gst/dataprotocol/dataprotocol.h:
5005 Fix empty prototypes. Fixes bug #507957.
5007 2008-01-07 David Schleef <ds@schleef.org>
5009 * docs/faq/dependencies.xml: Fix typo.
5011 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
5013 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5014 (gst_base_src_loop):
5015 Don't update the last_stop position in do_seek, that's the position we
5017 Read backwards when we have a negative rate.
5019 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5020 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5022 Add check for reverse reading.
5024 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
5026 Patch by: Alexis Ballier <aballier at gentoo org>
5028 * tests/check/gst/gstabi.c:
5029 * tests/check/gst/struct_ppc64.h:
5030 * tests/check/libs/libsabi.c:
5031 * tests/check/libs/struct_ppc64.h:
5032 Decide which header to include based on the userland ABI target
5033 and not the kernel/cpu. Fix up structure sizes of ppc64 header
5034 for 64-bit userland (#503590). Might need something similar for
5037 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
5039 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5040 Log the reason why fopen fails in addition to the fact that it failed.
5042 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5044 * gst/parse/parse.l:
5045 Use "%option never-interactive" to prevent useless calls to isatty()
5046 on every input when parsing. Also use "%option noinput" to not define
5047 the static input/yyinput functions which we don't use anyway. This
5048 removes a compiler warning with gcc 4.3 and saves some bytes in the
5051 * gst/parse/lex._gst_parse_yy.pre.c:
5052 Regenerated for the above change.
5054 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5056 * gst/gstpad.c: (fixate_value):
5057 Don't crash when trying to fixate and empty list.
5060 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5062 * docs/faq/gst-uninstalled:
5063 Clarify the comments to make the usage of this script and what it
5064 does easier to understand.
5066 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5068 * tools/gst-plot-timeline.py:
5069 Add more options to gst-plot-timeline
5071 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5073 * docs/design/part-synchronisation.txt:
5074 Some more info on how the stream_time in GstBaseSink is done.
5076 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5078 * tests/check/generic/sinks.c: (gst_sinks_suite):
5079 Put back the tcase_set_timeout(), apparently it's needed after
5080 all; fix it up in a way that makes things work with valgrind too.
5082 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5084 * gst/gstdebugutils.c:
5085 Add warning when failed to open file for writing.
5087 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5089 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5091 * gst/gstvalue.c: (gst_value_is_fixed):
5092 Optimisation: bail out of the loop as early as possible (#500143).
5094 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5096 * gst/gstcaps.c: (gst_caps_to_string):
5097 * gst/gstinfo.c: (gst_debug_construct_term_color):
5098 * gst/gstparse.c: (gst_parse_launchv):
5099 * gst/gstutils.c: (gst_util_dump_mem):
5100 * gst/gstvalue.c: (gst_value_serialize_any_list),
5101 (gst_value_transform_any_list_string):
5102 Bunch of gratuitous nano-optimisations.
5104 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5106 * tests/check/generic/sinks.c: (async_done_func),
5107 (async_done_eos_func):
5108 Fix leak in unit test (bus sync handler must unref the message
5109 if it returns GST_BUS_DROP). Don't fiddle with the default test
5110 timeout, this is smaller than the current preconfigured value
5111 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5112 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5114 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5116 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5119 Check for stdio_ext.h for the filesink changes.
5121 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5122 (gst_file_sink_class_init), (gst_file_sink_init),
5123 (gst_file_sink_dispose), (gst_file_sink_set_property),
5124 (gst_file_sink_get_property), (gst_file_sink_open_file),
5125 (gst_file_sink_close_file):
5126 * plugins/elements/gstfilesink.h:
5127 Add two properties to control the buffering mode and size.
5128 API: GstFileSink::buffer-mode
5129 API: GstFileSink::buffer-size
5132 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5134 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5135 Add some more docs to explain why a FIXME was wrongly added.
5137 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5140 Fix typo in the gst_object_{ref,unref} documentation.
5142 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5144 * tests/check/libs/controller.c:
5145 * tests/check/libs/typefindhelper.c:
5146 * tests/check/pipelines/parse-launch.c:
5147 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5148 going to be deprecated (see #498924).
5150 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5152 * gst/gsttypefind.c: (gst_type_find_register):
5153 Make gst_type_find_register work for static typefind functions,
5154 ie. allow passing plugin == NULL (prerequisite for #498924).
5156 * gst/gstelementfactory.c: (gst_element_register):
5157 Small docs addition.
5159 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5161 * gst/gstpad.c: (gst_pad_dispose):
5162 Really unlink the peer pad instead of setting the peer pointer to NULL
5163 when we dispose the pad.
5164 This correctly calls the unlink functions and makes sure that the peer
5165 does not have a handle to invalid memory. See #504671.
5167 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5168 Add testsuite for above case.
5170 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5172 Patch by: Peter Kjellerstedt <pkj axis com>
5174 * libs/gst/check/gstcheck.h:
5175 Fix detection of the check version we're compiling against (would
5176 otherwise break if check goes v0.10.0); correctly report the
5177 name of the failed test again in case of failure, instead of
5178 just 'tf' (fixes #504499).
5180 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5182 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5183 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5184 (gst_base_src_loop), (gst_base_src_set_flushing),
5185 (gst_base_src_change_state):
5186 Allow sending EOS to the source to make it send out an EOS event from
5187 the streaming thread.
5188 Update docs and deprecate the old NULL/READY shutdown method.
5190 * tests/check/libs/basesrc.c: (GST_START_TEST),
5191 (gst_basesrc_suite):
5192 Add unit test for controlled shutdown.
5194 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5196 * docs/design/part-synchronisation.txt:
5199 * gst/gstsegment.c: (gst_segment_set_seek),
5200 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5201 (gst_segment_to_running_time):
5202 The seek format can be different from the segment format when the start
5203 and stop values are not to be updated, when we only do a rate change for
5206 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5207 (gst_segment_suite):
5208 Add a testcase for the rate-only seeks, checking that the format is
5209 correctly ignored when start and stop are not updated.
5211 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5213 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5215 * win32/vs8/grammar.vcproj:
5216 * win32/vs8/libgstcontroller.vcproj:
5217 * win32/vs8/libgstreamer.vcproj:
5218 Fix compilation with VS8 and include some missing files.
5220 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5223 Small docs addition: mention that the strings returned by
5224 gst_tag_list_get_string*() are in UTF-8 encoding.
5226 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5229 The check-exports stuff moved to common/win32.mak, so include that.
5231 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5233 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5234 (gst_base_src_perform_seek), (gst_base_src_get_range),
5235 (gst_base_src_set_playing), (gst_base_src_change_state):
5236 Make _wait_playing() not check any variables so that we can call this
5237 function from subclasses. Move the checks elsewhere similar to
5238 _wait_preroll() in basesink.
5240 Only signal the LIVE cond when we are going back to PLAYING.
5242 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5244 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5245 Use g_remove() and g_rename(). Check result of g_rename(), and
5246 don't leak the open file descriptor if we error out when writing.
5248 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5249 Must check the return value of close() after writing out the new
5250 registry file. Sometimes write problems such as out-of-diskspace
5251 are only reported when the file is closed and not already during
5252 the write. This may have caused partial/broken registry files in
5253 some rare circumstances. Should fix #503675.
5255 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5257 * docs/gst/.cvsignore:
5258 * docs/libs/.cvsignore:
5259 * docs/plugins/.cvsignore:
5260 Ignore files generated by new common/* modifications
5262 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5264 * win32/common/libgstbase.def:
5265 Yes, you can also have a <TAB> if you want.
5267 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5269 * win32/common/libgstbase.def:
5270 Add new basetransform API to win export file.
5272 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5274 * tests/check/gst/gstbin.c:
5275 Adjust the test to the refcount change two days ago.
5277 2007-12-14 David Schleef <ds@schleef.org>
5279 * docs/faq/getting.xml: Fix typo.
5281 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5283 * docs/libs/gstreamer-libs-sections.txt:
5284 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5285 (gst_base_transform_prepare_output_buffer),
5286 (gst_base_transform_set_gap_aware):
5287 * libs/gst/base/gstbasetransform.h:
5288 API: Add gst_base_transform_set_gap_aware() to control whether
5289 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5290 get buffers with this flag at all. Fixes #503231.
5292 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5294 * libs/gst/base/gstbasesink.c:
5295 * libs/gst/base/gstbasesrc.c:
5296 * libs/gst/base/gstbasetransform.c:
5297 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5298 thread. Correct log message in gstbasesrc.c.
5300 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5302 * gst/gstutils.c: (element_find_unconnected_pad):
5303 Fix possible compiler warning (#503417).
5305 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5307 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5308 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5310 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5312 * tools/gst-inspect.c: (print_element_properties_info):
5313 Add support for GstFraction properties.
5315 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5318 Add check-exports target and run it as part of 'make check'
5319 (see #499140 and #493983).
5321 * gst/gst_private.h:
5322 * gst/gstelementfactory.h:
5323 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5324 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5325 (_priv_gst_in_valgrind):
5326 * gst/gstinfo.h: (GstLogFunction):
5327 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5328 (gst_type_find_register):
5329 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5330 (gst_type_find_factory_get_type):
5331 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5332 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5333 (gst_controller_new_valist), (gst_controller_new_list),
5334 (_gst_controller_dispose), (_gst_controller_class_init):
5335 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5336 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5337 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5338 (gst_object_get_controller), (gst_object_set_controller),
5339 (gst_object_suggest_next_sync), (gst_object_sync_values),
5340 (gst_object_set_control_source), (gst_object_get_control_source),
5341 (gst_object_get_value_arrays), (gst_object_get_value_array),
5342 (gst_object_get_control_rate), (gst_object_set_control_rate):
5343 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5344 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5345 Make some functions that should be static static; rename some
5346 private symbols so that they don't get exported; add some FIXME
5347 comments so we can move accidentally exported functions into
5348 our private section in 0.11.
5350 * win32/common/libgstreamer.def:
5351 Add gst_utils_get_timestamp().
5353 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5357 Add more missing "Since:" tags to docs.
5359 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5362 Add mising "Since:" to docs.
5364 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5367 Include "glib-compat-private.h" to fix the build on system with
5368 glib < 2.10. Fixes #503131.
5370 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5374 Actually its not PURE as it gets the time from elsewhere.
5376 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5378 * docs/gst/gstreamer-sections.txt:
5380 * gst/gstdebugutils.c:
5384 * libs/gst/base/gstbasesink.c:
5385 * tools/gst-launch.c:
5386 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5387 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5388 Thanks Tim for spotting.
5389 API: gst_util_get_timestamp
5391 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5394 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5396 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5398 * gst/gststructure.c: (gst_structure_validate_name),
5399 (gst_structure_new_valist), (gst_structure_parse_value),
5400 (gst_structure_from_string):
5401 Don't crash in _from_string() if the structure name is not valid
5402 (fixes #501560). Allow structure names to start with a number
5403 again (this apparently broke the ubuntu codec installer).
5405 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5407 Add unit test for the crash; update unit tests for new behaviour.
5409 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5412 Clarify gst_element_get_compatible_pad() documentation.
5415 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5417 * tests/check/Makefile.am:
5418 Don't forget to dist {gst,libs}/struct_hppa.h.
5420 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5422 * libs/gst/base/gstbasesink.c:
5423 Use new API to get elapsed time.
5425 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5427 * gst/gstdebugutils.c:
5429 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5431 * tools/gst-launch.c:
5432 Use new API to get elapsed time.
5434 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5436 * docs/gst/gstreamer-sections.txt:
5438 * gst/gstdebugutils.c:
5440 Rename new API + ChangeLog surgery to remove old name from last entry..
5442 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5444 * docs/gst/gstreamer-sections.txt:
5446 * gst/gstdebugutils.c:
5448 Now hide the different clock stuff behind a macro.
5450 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5453 * gst/gstdebugutils.c:
5455 Apply the posix-timer check from #361155. Conditionally use the posix
5456 timer for logging. This gives better timestamp precission, less
5457 overhead and no ntp jitter.
5459 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5461 * gst/gstminiobject.c: (gst_mini_object_get_type),
5462 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5463 (gst_mini_object_finalize), (gst_mini_object_copy),
5464 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5465 (gst_mini_object_replace), (param_mini_object_validate),
5466 (gst_param_spec_mini_object_get_type):
5467 Some cleanup and checking against invalid function parameters.
5469 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5471 * docs/gst/gstreamer-sections.txt:
5473 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5474 (gst_systemclock_suite):
5475 Start merging in the easy bits of #361155, the monotonic clock patch.
5476 This one adds a few handy macros with docs and a testsuite.
5478 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5480 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5481 Be a bit smarter when seeking, like, don't try to do a seek when it's
5482 not needed. This avoids errors when the file is not seekable.
5485 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5487 * docs/gst/gstreamer-docs.sgml:
5488 * docs/gst/gstreamer-sections.txt:
5489 * docs/gst/gstreamer.types.in:
5494 * plugins/elements/gstqueue.c:
5495 Due to popular request remove preset interface again. :-(.
5497 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5499 * tools/gst-inspect.c:
5500 Print 'default value' for enums and flags too.
5502 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5504 * docs/random/ensonic/profiling.txt:
5508 Fix typo and give better log output.
5510 * gst/gstdebugutils.c:
5511 * gst/gstdebugutils.h:
5512 More ideas, make graphs a bit smaller and fix param name in macro.
5514 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5517 Try harder to use the return value from fgets().
5519 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5522 For theses two fgets we handle the error below.
5524 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5526 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5527 Only send upstream events upstream. Fixes #498746.
5529 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5531 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5533 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5534 (gst_identity_init), (gst_identity_transform_ip),
5535 (gst_identity_set_property), (gst_identity_get_property):
5536 * plugins/elements/gstidentity.h:
5537 Add property to disable handoff signal emission. Fixes #498694.
5538 API: GstIdentity::signal-handoffs
5540 2007-11-21 Julien Moutte <julien@fluendo.com>
5542 * docs/faq/gst-uninstalled: Yet another missing library for the
5543 uninstalled script (fft)
5545 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5547 * docs/faq/developing.xml:
5548 Add a question about how to submit new translations.
5550 * docs/random/release:
5551 Update the contact email address for the Translation Project
5553 * plugins/elements/gstfdsrc.c:
5554 The parent_class for fdsrc is pushsrc, not GstElement.
5556 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5559 Plug a leak and fix saving.
5561 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5563 * docs/gst/gstreamer-sections.txt:
5564 Add new gst_preset__get_property_names() function to the docs
5567 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5571 Change _get_preset_names API to return a strv with copies. Add
5572 _get_property_names to allow implementations to filter and provide
5573 good default implementation.
5575 2007-11-20 Julien MOUTTE <julien@moutte.net>
5577 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5580 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5583 More cleanups, docs, and TODOs from comments that now slowly come in.
5585 2007-11-19 Julien MOUTTE <julien@moutte.net>
5587 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5590 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5593 Fix bogus warning and make the property type specific code more
5596 2007-11-19 Julien MOUTTE <julien@moutte.net>
5598 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5601 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5603 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5604 (gst_bin_add_func), (gst_bin_remove_func),
5605 (gst_bin_change_state_func), (gst_bin_continue_func):
5606 Change email, cleanups add some more debug and comments.
5607 Also set bus and clock on new elements when the pipeline was in error.
5609 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5612 * gst/gstdebugutils.c:
5613 Fix build with --disable-gst-debug. Fixes #497859.
5614 Spotted by Sameer Naik.
5616 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5619 Little documentation improvment.
5622 More TODO cleanups. Remove c++ comments.
5624 * libs/gst/controller/gstcontroller.c:
5625 Add TODO and use quark from static string.
5627 * tests/check/gst/gstmessage.c:
5628 * tests/check/gst/gststructure.c:
5629 Use quark from static string.
5631 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5634 Add some comments and TODOs.
5637 Add padding for future changes.
5639 * plugins/elements/gstqueue.c:
5640 Implement the iface.
5642 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5644 * docs/gst/gstreamer-docs.sgml:
5645 * docs/gst/gstreamer-sections.txt:
5646 * docs/gst/gstreamer.types.in:
5651 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5653 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5659 === release 0.10.15 ===
5661 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5664 releasing 0.10.15, "October"
5666 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5668 * win32/vs6/libgstreamer.dsp:
5669 Convert line endings back to DOS.
5671 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5673 * docs/design/draft-tagreading.txt:
5674 * docs/random/ensonic/profiling.txt:
5675 Update fast tagreading draft and performance profiling ideas.
5677 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5679 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5680 Don't hold the object lock when unreffing a buffer because it could
5681 cause a deadlock when the finalize function wants to grab the object
5682 lock too. Fixes #495133.
5684 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5686 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5687 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5688 Also accumulate time correctly when doing reverse playback. Fixes
5690 When converting to running and stream time, use default values for
5691 start/stop/time/accum when comparing different formats. Fixes #494245.
5693 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5694 Do running/stream time in TIME format.
5696 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5697 (gst_segment_suite):
5698 2 new unit tests for segment accumulation.
5700 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5702 * gst/gst.c: (init_pre):
5703 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5704 (_gst_debug_bin_to_dot_file):
5705 Move getenv() back into gst_init, so everyone can live happily
5706 ever after. Make sure the symbol isn't exported though.
5708 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5710 Patch by: Sebastien Moutte <sebastien moutte net>
5712 * win32/common/gstenumtypes.c:
5713 * win32/common/gstenumtypes.h:
5716 * win32/vs6/libgstreamer.dsp:
5717 Update vs6 project files (#494343).
5719 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5721 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5722 (gst_base_src_perform_seek), (gst_base_src_default_event),
5723 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5724 (gst_base_src_activate_pull):
5725 Unify flushing code, remove some old unlock code that is no longer used.
5726 Take the streaming lock when seeking to avoid races. Fixes #492729.
5727 Added some more comments.
5729 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5731 * gst/gst.c: (_gst_disable_segtrap):
5732 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5733 we can use gst_segtrap_is_enabled() there now that we have that API.
5734 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5735 to do the getenv here (and export the variable).
5737 * gst/gstdebugutils.c: (debug_dump_element),
5738 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5739 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5741 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5742 (gst_debug_log_default):
5743 Rename _gst_info_start_time to priv_gst_info_start_time so it
5744 doesn't get exported (was never in any header).
5746 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5747 (gst_plugin_loading_mutex):
5748 Make static mutex gst_plugin_loading_mutex really static (was never
5749 in any header), and use gst_segtrap_is_enabled() instead of
5750 _gst_disable_segtrap.
5752 * gst/gsttrace.c: (_gst_trace_default):
5753 Make local _gst_trace_default static (was never in any header).
5755 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5757 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5759 * win32/common/libgstbase.def:
5760 * win32/common/libgstcontroller.def:
5761 * win32/common/libgstdataprotocol.def:
5762 * win32/common/libgstnet.def:
5763 * win32/common/libgstreamer.def:
5764 Add more missing symbols, remove some duplicates, and sort
5765 as the 'sort' command sorts it (partially fixes #493983).
5767 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5769 * gst/gstelement.c: (gst_element_set_state_func):
5770 Only change the state cookie if a different state was set on the
5771 element. See #492729.
5773 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5776 Remove unused and uninitialised type variables that were still
5777 exported for some reason (they were never in any header files
5780 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5782 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5783 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5784 (gst_base_sink_event), (gst_base_sink_get_position_last),
5785 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5786 (gst_base_sink_change_state):
5787 Don't try to report a 0 position when we don't know, return -1 and FALSE
5788 instead. This mostly happens when we are prerolling.
5789 Make sure we can report the right position before we post the ASYNC_DONE
5790 message so that a message handler can query position without races.
5792 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5793 (async_done_handoff), (async_done_func), (send_buffer),
5794 (async_done_eos_func), (gst_sinks_suite):
5795 Add two tests for the above.
5797 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5800 Update with new email address.
5802 * docs/design/part-TODO.txt:
5803 Add some more info about future pad-block and negotiation changes.
5805 * docs/design/part-buffering.txt:
5806 Add some ideas about buffering reporting.
5808 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5810 * tests/check/gst/gstobject.c:
5811 Disable silly racy test that always fails on this combination of CPU
5814 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5816 Patch by: Murray Cumming <murrayc@murrayc.com>
5819 Corrected the registration of the parent-set and parent-unset
5820 signals: The parameter is a GstObject, not a GObject (#493134).
5822 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5824 * gst/gst_private.h:
5833 Move declaration of private _gst_foo_initialize() functions into
5834 our private header file where they should have been all along.
5836 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5838 * docs/plugins/gstreamer-plugins-sections.txt:
5839 * gst/gstdebugutils.h:
5841 * plugins/elements/gstqueue.c:
5842 gtk-doc fixes; trailing-comma-in-enum fix.
5844 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5846 * gst/gst.c: (gst_deinit):
5847 Clean up on deinit (not the external ones though, doesn't seem to be
5848 needed for some reason).
5850 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5852 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5853 Remove __declspec(dllimport) for MSVC that was copied over into core
5854 from a plugin, obviously without ever having been tested (note the
5855 single underscore in _declspec in the initial commit), and that doesn't
5856 really make sense. See #492077.
5858 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5860 * gst/gst.c: (init_post):
5861 * gst/gstevent.c: (_gst_event_initialize):
5862 * gst/gstquery.c: (_gst_query_initialize):
5863 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5864 g_type_class_ref() other types as well, see #349410 and #64764.
5866 * gst/gstbuffer.c: (_gst_buffer_initialize):
5867 * gst/gstmessage.c: (_gst_message_initialize):
5868 Simplify existing g_type_class_ref().
5870 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5872 * gst/gstformat.c: (_gst_format_initialize):
5873 g_type_class_ref() our GstFormat type to make sure we avoid the
5874 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5875 bug #64764. Should fix intermittent tee unit test failures (#474823).
5877 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5879 * tests/check/elements/tee.c: (test_num_buffers):
5880 Simplify, simplify, simplify - or not. Rewrite unit test
5881 not to use gst_parse_launch(); allow N sub-streams. Increasing
5882 the number of sub-streams seems to reproduce #474823 more easily.
5884 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5886 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5889 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5890 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5891 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5892 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5893 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5894 so use _pipe() directly (#492077).
5896 * win32/common/dirent.c: (_treaddir):
5897 Add a couple of casts to make it build without warnings with MSVC.
5899 * win32/common/libgstreamer.def:
5900 Add some more symbols that need to be exported.
5902 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5904 * tests/examples/metadata/read-metadata.c: (message_loop):
5905 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5906 arriving in a second or third tag message are added to
5907 the tag list as well.
5909 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5911 * libs/gst/base/gstbasesrc.c:
5912 Its "Since:" and not "@Since:". And remove an superflous cast.
5914 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5916 * docs/libs/gstreamer-libs-sections.txt:
5917 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5918 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5919 (gst_base_sink_get_property), (gst_base_sink_render_object),
5920 (gst_base_sink_preroll_object),
5921 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5922 (gst_base_sink_change_state):
5923 * libs/gst/base/gstbasesink.h:
5924 Add a new last-buffer property that contains the last buffer used in
5925 basesink for preroll or rendering. useful for making snapshots.
5926 API: gst_base_sink_get_last_buffer()
5927 API: GstBaseSink::last-buffer
5929 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5931 * docs/gst/running.xml:
5933 * gst/gstdebugutils.c:
5934 * gst/gstdebugutils.h:
5935 * tools/gst-launch.c:
5936 Improve bin graph dumping, by using the envvar to specify a path.
5937 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5939 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5941 * plugins/elements/gsttypefindelement.c:
5942 (gst_type_find_element_handle_event),
5943 (gst_type_find_element_activate):
5944 Post special error message if we can't determine the type of a stream
5947 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5949 * docs/gst/running.xml:
5950 * gst/gstdebugutils.c:
5951 Document new env-var. Add one log-line after dumpng a graph.
5953 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5956 Ugly hack to put the (recently removed and non-portable, apparently)
5957 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5958 GNU ld, because without that 'make check' fails miserably on my debian
5959 stable box. Someone with more knowledge of linker intricacies and
5960 portability issues than me fix this properly please.
5962 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5964 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5965 Reset last seen position after flushing so that we don't report the old
5968 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5970 * gst/gstelementfactory.c: (gst_element_register):
5972 Patch from Alessandro Decina adding get_type_full and
5973 get_protocols_full private vfuncs to the URIHandler interface
5974 to allow bindings to support creating URI handlers.
5975 Partially fixes: #339279
5976 API: GstURIHandlerInterface::get_type_full
5977 API: GstURIHandlerInterface::get_protocols_full
5979 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5981 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5982 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5983 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5984 Make it so that pads are considered linked until a buffer is pushed
5985 and discovered otherwise. This avoids problems with decodebin2 hanging
5986 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5989 Make sure we lock the multiqueue when updating the max-size properties.
5991 Fix a crash on Solaris in a debug statement in get_request_pad that
5992 passes a NULL string to GST_DEBUG.
5994 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5995 (run_output_order_test):
5996 Fix the test to allow the first buffer on not-linked pads to come out
5997 of sequence while multiqueue discovers that they are not-linked.
5999 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
6002 * libs/gst/check/Makefile.am:
6003 Use a custom export symbol regex for libgstcheck, as it needs
6004 to export symbols that don't match the standard GStreamer gst_*
6005 pattern, and --export-dynamic is not portable (only works on
6008 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6009 (gst_check_setup_sink_pad):
6010 Make sure to pass a message parameter to the fail_* macros.
6012 * tests/check/gst/gstinfo.c: (GST_START_TEST):
6013 Fix some compiler warnings.
6015 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
6017 * tests/check/gst/gststructure.c: (test_to_string):
6018 Disable test that checks that white spaces are not allowed
6019 in structure names or field names, since we need to
6020 support that for now for backwards compatibility reasons.
6022 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6024 * docs/gst/gstreamer-sections.txt:
6027 API: add GST_TAG_ARTIST_SORTNAME
6028 API: add GST_TAG_ALBUM_SORTNAME
6029 API: add GST_TAG_TITLE_SORTNAME
6030 Add tag variants for sorting (#414539).
6032 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
6034 * gst/gststructure.c:
6035 Also allow white space for names so we don't break
6036 backwards compatibility.
6038 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6040 * docs/design/part-TODO.txt:
6041 * docs/design/part-segments.txt:
6042 * docs/design/part-streams.txt:
6045 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6047 * docs/gst/gstreamer-sections.txt:
6048 Fixed documentation from my previous commit (added new API add
6049 gst_value_set_structure(), add gst_value_get_structure() and
6050 GST_VALUE_HOLDS_STRUCTURE).
6052 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6054 * gst/gstdebugutils.c:
6055 Reflow code to fix uninitialized variable warning.
6057 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6059 * gst/gstcaps.c: (gst_caps_to_string),
6060 (gst_caps_from_string_inplace):
6061 * gst/gststructure.c: (gst_structure_get_abbrs),
6062 (gst_structure_to_string), (gst_structure_from_string):
6063 * gst/gstvalue.c: (gst_value_set_structure),
6064 (gst_value_get_structure), (gst_value_serialize_structure),
6065 (gst_value_deserialize_structure), (_gst_value_initialize):
6067 * tests/check/gst/gststructure.c: (GST_START_TEST),
6068 (gst_structure_suite):
6069 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6070 Added GstStructure to gst_value_table and its related functions.
6071 Changed gst_structure_to_string to print ';' in the end.
6072 Changed gst_caps_to_string to not print ';' beteween its
6073 fields (structures) anymore and remove the lastes ';' from latest
6074 structure. Now it is possible to have nested structures.
6075 In addition, backward compatibilty is assured by accepting '\0' as
6076 end delimiter. Fixes: #487969.
6077 API: add gst_value_set_structure()
6078 API: add gst_value_get_structure()
6079 API: add GST_VALUE_HOLDS_STRUCTURE
6081 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6084 When no GSource callback has been set up, tell developer
6085 to use a function that actually exists.
6087 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6089 * docs/gst/gstreamer-sections.txt:
6093 * gst/gstdebugutils.c:
6094 * gst/gstdebugutils.h:
6097 * tools/gst-launch.c:
6098 Allow dumping pipelines as dot graphs. Fixes #456573.
6100 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6102 * gst/gststructure.c:
6103 Allow '+' as well, it can be part of media or mime types
6104 such as image/svg+xml.
6106 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6108 * docs/gst/gstreamer-sections.txt:
6111 API: add gst_bus_pop_filtered
6112 API: add gst_bus_timed_pop_filtered
6113 Two new functions for waiting for specific message types on the
6114 bus for a specified amount of time without iterating any main
6115 loops or main contexts.
6117 * tests/check/gst/gstbus.c:
6118 Some tests for the new functions.
6120 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6122 * docs/libs/gstreamer-libs-sections.txt:
6123 Make gtk-doc ignore stuff it should ignore.
6125 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6127 * libs/gst/check/gstcheck.c:
6128 * libs/gst/check/gstcheck.h:
6129 Allow runtime selection of unit tests to run via the GST_CHECKS
6130 environment variable (test case function names, comma-separated).
6132 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6134 * gst/gststructure.c:
6135 * tests/check/gst/gststructure.c:
6136 Revert serialisation change and constrain structure-names after
6137 consensus on irc. Update api documentation to reflect the change.
6139 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6141 * gst/gststructure.c:
6142 Improve serialization and fix tests.
6144 * tests/check/gst/gststructure.c:
6145 Add another test that covers why I actually did the previous structure
6148 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6150 * tools/gst-inspect.c: (print_element_info):
6151 Don't crash when inspecting an element.
6153 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6155 * tests/check/gst/gststructure.c:
6156 Add unit test for escaping of structure name when serialising
6157 and deserialising to/from strings.
6159 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6161 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6162 (gst_single_queue_new):
6163 * plugins/elements/gstqueue.c: (gst_queue_init),
6164 (gst_queue_push_one):
6165 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6166 upstream is tricked into thinking it can suggest a format downstream
6167 while downstream does not support that format. The real problem is that
6168 core calls acceptcaps when pushing a buffer with new caps, for which we
6169 do a little workaround by setting the caps on the srcpad ourselves
6170 before pushing the buffer (until this is figured out). Fixes #486758.
6172 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6174 * gst/gststructure.c:
6176 Add some more comments and debug output. Quote structure name to fix
6177 deserialisation of some strings.
6179 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6182 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6183 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6185 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6187 * tools/gst-inspect.c:
6188 Save approx. 400 1 byte allocs when printing. Use API to acces element
6194 * tools/gst-xmlinspect.c:
6195 Use API to acces element details.
6197 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6200 Fix some spelling errors.
6202 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6204 * gst/gstbin.c: (bin_handle_async_done):
6205 Correctly set the next state if all of our async children commited their
6206 state. This makes sure we can actually cancel the state change in
6207 progress. Fixes a regression in Rhythmbox when seeking.
6209 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6212 Don't shadow local variable.
6215 Don't shadow global function name.
6217 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6219 * gst/gstelementfactory.c:
6220 * gst/gstpluginfeature.c:
6221 * gst/gstpluginfeature.h:
6222 * gst/gstregistrybinary.c:
6223 * gst/gstregistryxml.c:
6224 * gst/gsttypefind.c:
6225 Use already-interned string for the private GstPluginFeature
6228 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6230 * docs/libs/gstreamer-libs-sections.txt:
6231 Add new API to docs; fixes the build.
6233 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6235 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6237 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6238 (gst_base_sink_event):
6239 * libs/gst/base/gstbasesink.h:
6240 Add function to wait for EOS, subclasses can use this to correctly wait
6241 for devices to drain before performing the EOS logic. Fixes #485343.
6242 API: gst_base_sink_wait_eos()
6244 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6247 Cast description string constants in GST_PLUGIN_DEFINE macros
6248 to a (gchar*) to make C++ code using these macros compile
6249 without warning with g++-4.2 (see #462737). Even if slightly
6250 ugly, this seems preferable to putting the description strings
6251 into the GLib quark table or making the structure member a
6252 const gchar * and doing casts in core code that allocs and
6253 frees these strings, or requiring a cast in the C++ code.
6255 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6258 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6259 to print the entire class/function signature into the log
6260 file for C++ code. This only affects C++ code, for C code
6261 everything remains the same.
6263 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6265 * gst/gstbin.c: (remove_from_queue):
6266 Work around a problem with pipelines containing (semi)loops until a
6267 proper, more complicated solution is ready. See #475455.
6269 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6273 * gst/gstregistrybinary.c:
6274 * gst/gstregistryxml.c:
6275 Put more strings into the GLib quark table. No need to keep
6276 a hundred-something copies of identical version strings,
6277 license strings, package name strings and package origin
6280 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6282 * docs/manual/advanced-dataaccess.xml:
6283 Don't imply that it's okay to unconditionally change
6284 buffer data or buffer metadata in a pad probe callback,
6285 and a bunch of other comments. Fixes #430031.
6287 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6289 * win32/common/gstenumtypes.c:
6290 * win32/common/gstenumtypes.h:
6291 * win32/common/gstversion.h:
6292 Update generated files.
6294 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6296 * docs/manual/advanced-autoplugging.xml:
6297 Prefix section with broken code with a warning (see #342432).
6299 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6301 * docs/manual/appendix-integration.xml:
6302 * docs/manual/basics-init.xml:
6303 Call g_thread_init() before g_option_context_new() to
6304 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6306 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6308 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6309 (gst_base_sink_queue_object_unlocked),
6310 (gst_base_sink_queue_object), (gst_base_sink_event),
6311 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6312 When we received EOS and are waiting for when to post the EOS message,
6313 our state is prerolled and we should not return ASYNC.
6314 Reorganize some code paths to implement this behavior.
6316 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6318 Add unit test to verify above EOS fix.
6320 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6322 * plugins/elements/gsttypefindelement.c:
6323 (gst_type_find_element_have_type), (gst_type_find_element_init),
6324 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6325 Move detecting the input caps of the sinkpad to the setcaps function.
6326 This allows us to update the output caps when we receive new input caps
6327 instead of always using the first detected caps.
6329 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6331 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6332 (gst_base_sink_get_position):
6333 Don't try to preroll non-async elements after a flush.
6334 Subtract latency form clock times when reporting position.
6336 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6338 * gst/gstpad.c: (gst_pad_pause_task):
6340 Small comment and documentation update.
6342 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6344 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6345 (gst_base_src_set_live), (gst_base_src_is_live),
6346 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6347 (gst_base_src_default_event), (gst_base_src_wait),
6348 (gst_base_src_do_sync), (gst_base_src_get_range),
6349 (gst_base_src_pad_get_range), (gst_base_src_loop),
6350 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6351 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6352 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6353 (gst_base_src_change_state):
6354 Rework the locking of basesrc in a similar fashion to basesink. We
6355 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6356 us to handle live sources and semi live ones much better.
6358 Fix unlocking when seeking, shutting down and pausing in live sources.
6360 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6362 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6363 Fix compilation again.
6365 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6368 Use meaningful categories for the logs to clean the default one.
6370 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6372 * tests/check/pipelines/cleanup.c:
6373 Print message name and not just number.
6375 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6377 * docs/design/draft-tagreading.txt:
6378 Add some more thoughts.
6380 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6382 * tests/check/pipelines/simple-launch-lines.c:
6383 Print message name and not just number.
6385 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6387 * libs/gst/base/gsttypefindhelper.c:
6388 Speedup typefinding. This is work in progress (see #459862).
6390 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6393 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6394 Spotted by Josep Torra Valles <josep@fluendo.com>.
6396 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6399 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6400 field has moved to GstObject.
6402 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6404 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6405 (gst_base_src_get_range), (gst_base_src_change_state):
6406 Call unlock for live sources so that they can't get stuck in _create and
6407 produce a buffer before they are set back to PLAYING.
6409 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6411 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6412 (gst_queue_locked_dequeue):
6413 Comment the segment-related code... in the PROPER function.
6414 See #482147 and my commit from yesterday.
6416 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6418 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6419 Also initialize the counter that calculates the first timestamp on a
6420 buffer correctly for non-live sources.
6422 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6424 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6425 Disable code that's breaking the current-time-level reporting.
6428 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6430 * docs/gst/gstreamer-sections.txt:
6431 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6432 as they shouldn't show up. Fixes the docs build.
6434 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6437 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6438 Define M_PI which is used in files which are including gstinfo.h.
6439 VS6 includes doesn't define it.
6440 * win32/common/libgstbase.def:
6441 * win32/common/libgstcontroller.def:
6442 * win32/common/libgstreamer.def:
6443 Add new exported functions and variables.
6444 * win32/vs6/libgstcontroller.dsp:
6445 * win32/vs6/libgstreamer.dsp:
6446 Update the list of files to build.
6448 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6450 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6452 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6453 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6454 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6455 Improve debugging. Fixes #480858.
6457 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6459 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6461 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6462 First patch of code cleanups, use the macros and right arguments in the
6463 macros to signal and lock the queue. See #480858.
6465 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6467 * gst/gstbus.c: (poll_func):
6468 Improve debugging when dealing with _poll().
6470 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6472 * gst/gstregistryxml.c:
6473 Fix memory leak I introduced a few days ago.
6475 2007-09-26 Michael Smith <msmith@fluendo.com>
6477 * gst/gstbuffer.c: (gst_buffer_finalize):
6478 Make it once again possible to free GstBuffers in the default
6480 The poisoning scribbles on parts of the miniobject we need in
6484 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6486 * docs/gst/gstreamer-sections.txt:
6489 API: add GST_TAG_COMPOSER, fixes #459809.
6491 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6495 Add the 3-clause BSD license and the MIT/X11 license to the license
6496 list. Fixes #479784.
6498 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6500 * docs/faq/getting.xml:
6501 Add Q+A about different GStreamer versions (#364056).
6503 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6505 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6506 (gst_base_sink_event), (gst_base_sink_change_state):
6507 Return correct gboolean from query function.
6509 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6511 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6512 (gst_base_sink_event), (gst_base_sink_query),
6513 (gst_base_sink_change_state):
6514 Simplify latency query.
6515 When not synchronizing, we can report latency without querying the peer
6518 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6522 Fix small typos in the docs.
6524 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6526 * docs/design/draft-latency.txt:
6527 * docs/design/draft-push-pull.txt:
6528 * docs/design/draft-tagreading.txt:
6529 * docs/design/part-MT-refcounting.txt:
6530 * docs/design/part-activation.txt:
6531 * docs/design/part-block.txt:
6532 * docs/design/part-element-source.txt:
6533 * docs/design/part-events.txt:
6534 * docs/design/part-gstbin.txt:
6535 * docs/design/part-gstelement.txt:
6536 * docs/design/part-gstobject.txt:
6537 * docs/design/part-gstpipeline.txt:
6538 * docs/design/part-messages.txt:
6539 * docs/design/part-preroll.txt:
6540 * docs/design/part-push-pull.txt:
6541 * docs/design/part-qos.txt:
6542 * docs/design/part-query.txt:
6543 * docs/design/part-scheduling.txt:
6544 * docs/design/part-seeking.txt:
6545 * docs/design/part-segments.txt:
6546 * docs/design/part-states.txt:
6547 Documentation updates and typo fixes.
6549 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6551 * plugins/elements/gstfakesink.c:
6552 Add some debug text to error message to indicate that
6553 we errored out on request.
6555 * tools/gst-launch.c:
6556 When the state change to PLAYING fails, check for an
6557 error message on the bus and print it.
6559 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6561 translated by: Jorge González González <aloriel@gmail.com>
6565 Added Spanish translation.
6567 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6569 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6570 Fix printf arguments.
6572 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6574 * tests/check/generic/states.c:
6575 Improved state change unit test.
6577 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6580 Move priv to the right place.
6582 * gst/gstsystemclock.c:
6583 Add FIXME: and improve log.
6585 * tests/check/Makefile.am:
6586 * tests/examples/manual/Makefile.am:
6587 Work with all types of registries.
6589 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6591 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6592 Don't unref the event after pushing it. Fixes #478401.
6594 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6597 * tests/examples/manual/.cvsignore:
6598 Ignore registries in any format.
6600 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6602 * gst/glib-compat-private.h:
6603 Add compatibility macro for g_intern_string() for
6604 GLib-2.8 (any reason we can't just bump the
6605 requirement to at least 2.10?)
6607 * gst/gstpadtemplate.h:
6608 * gst/gstelementfactory.c:
6609 * gst/gstregistryxml.c:
6610 * gst/gstregistrybinary.c:
6611 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6612 up the internal code accordingly. This shouldn't be a problem, since
6613 there is no reason external code could ever assume the string in such
6614 a structure is dynamically allocated unless it did that itself; the
6615 use of g_strdup() is private to element factories. The new code also
6616 saves some memory by putting pad template name strings into the GLib
6617 quark table instead of allocating them dynamically.
6618 Declaring this field constant fixes warnings with g++-4.2 when using
6619 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6621 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6623 * gst/gstelementfactory.c:
6624 Release static caps. Fixes #475723.
6626 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6630 Make some internal API take const gchar * instead of just
6631 gchar * to avoid compiler warnings with g++-4.2.2 when
6632 passing string constants (partially fixes #478092).
6634 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6636 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6637 A latency query fails when one of the sinks fail.
6639 * gst/gstelement.c: (gst_element_set_base_time):
6642 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6644 * gst/gstbin.c: (gst_bin_continue_func):
6645 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6646 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6647 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6649 Fix minor compilation warnings shown with Forte.
6651 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6653 * plugins/elements/gstqueue.c: (apply_buffer),
6654 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6655 Measure queue level based on the diff between head and tail timestamps
6656 even when pushing the first buffer.
6658 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6660 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6661 (gst_base_sink_event), (gst_base_sink_change_state):
6662 Sinks that don't preroll can always be queried for the latency.
6663 Don't post ASYNC start when we are not async.
6665 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6667 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6668 (gst_queue_handle_sink_event), (gst_queue_chain),
6669 (gst_queue_push_one), (gst_queue_handle_src_query),
6670 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6671 * plugins/elements/gstqueue.h:
6672 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6673 push more buffers but allow pushing of EOS and NEWSEGMENT.
6674 Add some more debug info here and there. Fixes #476514.
6676 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6678 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6679 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6680 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6681 (gst_base_sink_set_flushing), (gst_base_sink_query),
6682 (gst_base_sink_change_state):
6683 Latency query is allowed after we are prerolled. Introduce a new flag
6684 for this and stop abusing other variables.
6686 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6688 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6689 Push OOB events downstream when we get them in send_event. This allows
6690 the application to insert events in the pipeline.
6691 Add some more comments.
6693 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6695 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6696 (do_bin_latency), (gst_bin_change_state_func):
6697 * gst/gstpipeline.c: (gst_pipeline_change_state):
6698 Move latency query from GstPipeline to GstBin so that we can also
6699 use it when async-handling is enabled on bins.
6701 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6703 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6704 (gst_base_src_do_sync), (gst_base_src_change_state):
6706 Clean up the timestamping and syncing code for pseudo live sources.
6708 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6710 Patch by: Steve Fink <sphink gmail com>
6712 * docs/manual/appendix-checklist.xml:
6713 Mention less -R switch in the section about debug output (#474055).
6715 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6717 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6718 Queue can latency to the pipeline up to the configured max size in time.
6719 Report this fact in the latency query.
6721 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6723 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6725 * libs/gst/controller/gstinterpolation.c:
6726 * libs/gst/controller/gstlfocontrolsource.c:
6727 Use gst_guint64_to_gdouble() when converting from a uint64 or
6728 GstClockTime to double to fix the build on win32. Fixes #474371.
6730 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6732 * gst/gstbuffer.c: (gst_buffer_finalize):
6733 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6734 When finalizing a buffer the complete struct is filled with 0xff,
6735 thus making a use of the buffer after the final unref impossible.
6737 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6739 * tests/check/libs/controller.c: (GST_START_TEST):
6740 Use fail_unless_equals_int(a, b) instead of
6741 fail_unless_equals (a == b) to get better output on failures.
6743 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6745 * tests/check/gst/gsturi.c:
6746 Also check for the other file URI variant on win32.
6748 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6750 * gst/gsturi.c: (gst_uri_get_location):
6751 If there's no hostname, we want to return 'c:/foo/bar.txt'
6752 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6754 * tests/check/gst/gsturi.c:
6755 Unit test for the above and a few more things.
6757 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6759 * docs/design/part-live-source.txt:
6760 Add docs on how live sources should timestamp.
6762 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6763 Add some more debug info.
6764 For subclasses that are live and like to sync, add aditional startup
6765 latency to sync time and timestamps so that we timstamp according to the
6768 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6771 Also do a g_type_class_ref() for the subbuffer type in
6774 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6776 * docs/gst/gstreamer-sections.txt:
6777 * gst/gstpad.c: (gst_pad_peer_query):
6779 Add function to perform a query on the peer of a pad.
6780 API: gst_pad_peer_query()
6782 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6784 * tests/check/gst/gstsystemclock.c:
6785 Cleanup the test a little (use gst-logging and not g_message). Improve
6786 test to check if a wait reached the target.
6788 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6790 * docs/libs/gstreamer-libs-sections.txt:
6791 Add new API to docs and fix the build.
6793 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6795 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6796 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6797 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6798 (gst_base_src_get_property), (gst_base_src_do_sync):
6799 * libs/gst/base/gstbasesrc.h:
6800 Add property to make the basesrc timestamp buffers based on the current
6802 API: GstBaseSrc::do-timestamp
6803 API: gst_base_src_set_do_timestamp()
6804 API: gst_base_src_get_do_timestamp()
6806 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6808 * docs/random/release:
6809 Really make sure translations are up-to-date before
6810 a release (#465010).
6812 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6814 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6815 Always destroy the timer, also in error cases.
6817 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6819 * docs/manual/highlevel-xml.xml:
6820 Fix XML example code. Fixes #472714.
6822 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6824 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6825 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6826 (gst_base_sink_query):
6827 Protect eos and have_preroll with the OBJECT lock so we don't need to
6828 take the PREROLL lock when querying the latency. Fixes #473846.
6830 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6833 Give some log-messages a category.
6835 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6837 * gst/gststructure.c:
6838 (gst_structure_fixate_field_nearest_fraction):
6839 Fix fraction list fixation code. Take the fraction with the smallest
6840 difference with the target instead of the first one in the list.
6842 * tests/check/gst/gststructure.c: (GST_START_TEST),
6843 (gst_structure_suite):
6844 Added test to verify correct fraction list fixation behaviour.
6846 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6848 * win32/common/libgstreamer.def:
6849 Export gst_bus_add_signal_watch too.
6851 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6853 * docs/libs/gstreamer-libs-sections.txt:
6854 Add new methods to docs.
6856 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6857 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6858 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6859 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6860 * libs/gst/base/gstbasesink.h:
6861 Add ts-offset property to fine-tune the synchronisation.
6862 API: GstBaseSink::ts-offset property
6863 API: gst_base_sink_set_ts_offset()
6864 API: gst_base_sink_get_ts_offset()
6866 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6868 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6869 (gst_base_sink_init), (gst_base_sink_set_sync),
6870 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6871 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6872 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6873 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6874 (gst_base_sink_get_property), (gst_base_sink_change_state):
6875 * libs/gst/base/gstbasesink.h:
6876 Add async property to instruct the sink never to inform the parent about
6877 ASYNC state changes, update docs.
6878 Check argument with g_return_* for the public functions.
6879 API: GstBaseSink::async property
6880 API: gst_base_sink_set_async_enabled()
6881 API: gst_base_sink_is_async_enabled()
6883 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6885 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6888 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6889 (gst_base_src_default_query), (gst_base_src_wait),
6890 (gst_base_src_do_sync), (gst_base_src_change_state):
6891 Rearrange some code so that we can add support for measuring the
6894 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6896 * docs/random/ensonic/dynlink.txt:
6897 More thoughs on this.
6899 * plugins/elements/gstcapsfilter.c:
6900 Add bugzilla ticket number to FIXME comment.
6902 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6904 * docs/design/part-TODO.txt:
6905 * docs/design/part-block.txt:
6908 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6911 Revert patch which uses $(gst_headers) instead of $^ because it
6914 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6916 * tests/check/gst/gstbin.c: (GST_START_TEST):
6917 Fix leaks in the new unit test.
6919 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6922 Don't use GST_INFO before the debug system is actually initialised
6923 (shouldn't do any harm, but won't print anything either, so we can
6924 just as well remove it).
6927 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6928 compilers that don't support variadic macros (such as MSVC), should
6929 check for debug_level <= __gst_debug_min as well, since that's the
6930 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6931 inline helper functions. Should improve performance a bit, but also
6932 makes sure uses of GST_INFO et.al are ignored if the debugging
6933 system isn't initialised yet (instead of printing an assertion
6936 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6938 patch by: David Nečas <yeti@physics.muni.cz>
6941 Replace some non portable makefile constructs.
6943 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6945 * common/gtk-doc-plugins.mak:
6946 Grrrrr. Don't remove the types file on make clean.
6948 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6950 * tools/gst-launch.1.in:
6951 Add colorspace to example pipeline. Fixes #458274.
6953 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6955 * docs/random/release:
6956 The release manager should run 'make download-po' before making a
6957 release to make sure translations are up-to-date.
6963 Add some new translations.
6965 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6967 * tools/gst-launch.c: (event_loop), (main):
6968 Don´t try to do any state management when a live pipeline posts
6970 Also make the buffering string translatable.
6972 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6974 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6975 (bin_handle_async_start), (gst_bin_handle_message_func):
6977 When adding elements, insert messages into the bus of the newly added
6978 element and make sure the element is the source of the message. This
6979 allows the parent bin to intercept the message and do the
6980 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6981 messages to the app (which is not allowed).
6984 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6985 Fix testsuite so that is does not work around messages that should not
6986 have been posted in the first place.
6988 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6990 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6991 (update_degree), (gst_bin_sort_iterator_next):
6992 Fix annoying bug in the sorted iterator where a sink that is not really
6993 a sink (when it has downstream links) screwed up the iterator.
6995 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6996 Unit test to verify the fix.
6998 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
7001 Add some more docs for the messages.
7003 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7004 (gst_base_sink_query):
7005 Add some more debugging.
7007 * tools/gst-launch.c: (event_loop):
7008 When interrupting, don't try to set pipeline to PAUSED twice.
7010 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7013 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7014 (bin_handle_async_start), (gst_bin_handle_message_func):
7015 Move ASYNC_START message posting to where it belongs, similar to
7017 Don't post ASYNC_START when we are in error.
7018 Post ASYNC_START when we added an async element to a bin.
7020 2007-08-14 Julien MOUTTE <julien@moutte.net>
7022 * gst/gstindex.c: (gst_index_add_association): Fix index entry
7023 generation from vargs. Fixes #466595.
7025 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
7027 * gst/gstbin.c: (gst_bin_element_set_state):
7028 Always change the state of a NO_PREROLL element even if it has ASYNC
7029 elements inside (in case of a bin).
7031 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7032 Unit test for this case.
7034 2007-08-13 Stefan Kost <ensonic@users.sf.net>
7036 * libs/gst/check/gstbufferstraw.c:
7037 * libs/gst/check/gstcheck.h:
7038 * libs/gst/controller/gstcontroller.c:
7039 * libs/gst/controller/gstcontrolsource.h:
7040 * libs/gst/controller/gstlfocontrolsource.h:
7041 * plugins/elements/gstcapsfilter.h:
7042 * plugins/elements/gstfdsink.h:
7043 * plugins/elements/gstfdsrc.h:
7044 Add more missing docs.
7046 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7048 * gst/gststructure.c:
7049 Add Since tag to docs.
7051 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7053 * docs/gst/gstreamer-sections.txt:
7054 * gst/gststructure.c: (gst_structure_get_uint):
7055 * gst/gststructure.h:
7056 Add function to get uint from a structure.
7057 API: gst_structure_get_uint()
7059 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7061 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7062 (gst_caps_intersect):
7063 Fix proper check for simple caps.
7065 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7067 * docs/gst/Makefile.am:
7068 * docs/libs/Makefile.am:
7069 Remove cruft and do some cleanups.
7071 * docs/gst/gstreamer-docs.sgml:
7072 * docs/libs/gstreamer-libs-docs.sgml:
7073 Prepare for comming gtkdoc features (rebase against online docs).
7075 2007-08-10 Michael Smith <msmith@fluendo.com>
7077 * docs/gst/gstreamer-sections.txt:
7078 Add gst_registry_add_path to docs.
7080 2007-08-10 Michael Smith <msmith@fluendo.com>
7082 * gst/gstregistry.h:
7083 Add gst_registry_add_path, which was missing from this header.
7085 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7087 * libs/gst/controller/gstlfocontrolsource.c:
7090 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7092 * libs/gst/base/gstbasesink.c:
7093 Don't send an async_start message during downwards state change if
7094 target state is less than READY
7096 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7098 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7102 Added Hungarian translation.
7104 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7111 Updated translations.
7113 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7115 * libs/gst/controller/Makefile.am:
7116 Dist gstlfocontrolsourceprivate.h
7118 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7120 * docs/libs/gstreamer-libs.types:
7121 Don't register the enum type gst_lfo_waveform_get_type() in the
7122 .types file - only GObject derived types belong.
7124 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7126 Patch by: <arenevier at fdn dot fr>
7129 Remove comma from last element in enum to avoid compile errors when
7130 using -pendantic. Fixes #464366.
7132 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7134 * docs/design/part-TODO.txt:
7135 Add some more TODO items
7137 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7140 * gst/gstcaps.c: (gst_caps_intersect):
7141 Optimize trivial intersection case between identical caps pointers.
7143 * gst/gstelement.c: (gst_element_continue_state),
7144 (gst_element_set_state_func):
7146 Fix spelling and grammar mistakes.
7148 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7152 Update POTFILES. Fixes #461599.
7154 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7157 Fix confusing typo in debug output.
7159 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7161 reviewed by: Stefan Kost <ensonic@users.sf.net>
7163 * libs/gst/controller/Makefile.am:
7164 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7165 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7166 (gst_lfo_control_source_new),
7167 (gst_lfo_control_source_set_waveform),
7168 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7169 (gst_lfo_control_source_finalize),
7170 (gst_lfo_control_source_dispose),
7171 (gst_lfo_control_source_set_property),
7172 (gst_lfo_control_source_get_property),
7173 (gst_lfo_control_source_class_init):
7174 * libs/gst/controller/gstlfocontrolsource.h:
7175 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7176 API: Add GstLFOControlSource, a control source that gives values
7177 for specific timestamps based on several periodic waveforms.
7180 * tests/check/libs/controller.c: (GST_START_TEST),
7181 (gst_controller_suite):
7182 * docs/libs/gstreamer-libs-docs.sgml:
7183 * docs/libs/gstreamer-libs-sections.txt:
7184 * docs/libs/gstreamer-libs.types:
7185 Add documentation and unit tests for GstLFOControlSource.
7187 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7192 === release 0.10.14 ===
7194 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7197 releasing 0.10.14, "Breathing Vacuum"
7199 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7201 * gst/gstelement.c: (gst_element_class_set_details_simple):
7203 Make strings passed to gst_element_class_set_details_simple()
7204 constant, as they should be (#462752).
7206 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7208 * gst/gstbin.c: (gst_bin_change_state_func),
7209 (bin_handle_async_done), (gst_bin_handle_message_func):
7210 Don't forget about the fact that some element went ASYNC even after a
7211 resync. This makes us post the ASYNC_DONE message correctly.
7214 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7216 * gst/gstregistry.c: (gst_registry_add_feature):
7217 When replacing an existing feature in the registry, make sure to
7218 continue holding a reference until we've replaced the name string
7219 within our feature hash table. Make sure to use g_hash_table_replace
7220 instead of g_hash_table_insert to ensure the new name string is used
7221 as a key instead of the old one that we're about to free.
7224 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7226 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7227 (gst_plugin_feature_set_name):
7228 Revert patch from #459466 until after the release and we can work
7229 out exactly what the problem is (if any).
7231 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7233 * docs/gst/gstreamer-sections.txt:
7236 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7238 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7240 * docs/libs/Makefile.am:
7241 Include our build-prefix libs and includes before the generic ones to
7242 avoid linking against the installed libs when we want the build-tree
7245 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7247 Patch by: Steve Fink <sphink gmail com>
7249 * docs/pwg/building-testapp.xml:
7250 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7251 if people try to build or install the example from the plugin
7252 template against a GStreamer from package using the configure
7255 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7257 Patch by: Steve Fink <sphink gmail com>
7259 * tools/gst-inspect.1.in:
7260 Document --print-all and --print-plugin-auto-install-info command
7261 line options in man page.
7263 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7265 * docs/gst/gstreamer-sections.txt:
7266 Add docs for new api function.
7268 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7270 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7271 * gst/gstelementfactory.h:
7272 API: gst_element_factory_has_interface()
7273 Added method to check if an element factory implements a named
7276 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7279 * docs/gst/gstreamer.types.in:
7280 Another conditional doc check.
7283 * gst/gstparamspecs.h:
7284 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7289 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7291 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7292 (gst_registry_binary_load_feature),
7293 (gst_registry_binary_load_plugin),
7294 (gst_registry_binary_read_cache):
7295 Print error just once and with additional info.
7297 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7299 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7300 (helper_find_suggest), (helper_find_get_length),
7301 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7302 (gst_type_find_helper_for_buffer):
7303 Cleanup the typefindhelper code and add private doc comments.
7305 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7307 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7308 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7309 Fix capsfilter for cases where the caps set on capsfilter will provide
7310 additional information.
7313 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7315 * gst/gsttypefindfactory.c:
7316 Fix docs that recommened wrong function to use.
7318 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7320 * tools/gst-inspect.c: (print_plugin_features):
7321 Also give media-type for typefinders in element output.
7323 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7325 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7326 (gst_registry_remove_features_for_plugin_unlocked),
7327 (gst_registry_add_feature), (gst_registry_remove_feature),
7328 (gst_registry_lookup_feature_locked):
7329 * gst/gstregistry.h:
7330 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7333 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7335 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7336 (gst_plugin_feature_set_name):
7337 Avoid double memory usage for pluginfeature names. Fixes #459466.
7339 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7342 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7343 driving the pipeline may need to explicitly check for NOT_LINKED as
7344 well, since IS_FATAL doesn't cover that.
7346 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7348 * docs/pwg/advanced-types.xml:
7349 Fix typo and duplicate entry in video formats list.
7351 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7353 * libs/gst/controller/gstinterpolation.c:
7354 Also round to the nearest int when using cubic interpolation.
7356 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7358 * libs/gst/controller/gstinterpolation.c:
7359 When linearly interpolating integer types, round to the nearest int
7360 by adding 0.5. Don't do it for float/double types.
7361 Fixes the failing controller test on my machine, which is somehow
7362 rounding differently than on the buildbots.
7364 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7366 * tools/gst-plot-timeline.py:
7367 Better log parsing (categories can have -). Adjust text vs. lines, so
7368 that they span the same y-range.
7370 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7372 * docs/random/ensonic/audiobaseclasses.txt:
7373 * docs/random/ensonic/dynlink.txt:
7374 * docs/random/ensonic/profiling.txt:
7377 * docs/random/moving-plugins:
7378 Add note to use g_assert type macros.
7380 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7383 * libs/gst/check/Makefile.am:
7384 Add libm check as we use in for plugins.
7386 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7388 * gst/gstbin.c: (gst_bin_continue_func):
7389 Check that the state_cookie hasn't changed since the continue_func
7390 was scheduled. Avoids problems where the state changes back to
7391 something it shouldn't be because it was changed in the meantime.
7393 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7395 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7396 (gst_registry_binary_save_string),
7397 (gst_registry_binary_save_pad_template),
7398 (gst_registry_binary_save_feature),
7399 (gst_registry_binary_save_plugin),
7400 (gst_registry_binary_load_feature),
7401 (gst_registry_binary_load_plugin),
7402 (gst_registry_binary_read_cache):
7403 Fix memory leak. Be less verbose in the log.
7405 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7407 * tests/check/elements/.cvsignore:
7408 Add file to cvsignore as commanded.
7410 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7412 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7413 (mq_dummypad_event), (run_output_order_test):
7414 Use a GStaticMutex to protect all cases where libcheck
7415 fail_if/fail_unless macros might be called from multiple threads
7416 simultaneously to avoid errors like:
7417 "check_pack.c:107: :-1081725400:Bad message type arg"
7419 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7421 * tests/check/pipelines/stress.c: (GST_START_TEST):
7422 Make sure we set the pipeline back to the NULL state before
7423 dropping our final reference.
7425 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7427 * tests/check/elements/tee.c: (GST_START_TEST):
7428 Make the tee stress-test a little less stressful so it doesn't just
7429 time out on slow-machines, and remove a small race when it's starting
7430 up by adding a get_state() call.
7432 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7435 Avoid reading registry twice on startup. Fixes #457322.
7437 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7439 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7440 * pkgconfig/gstreamer-check.pc.in:
7441 Substitute the CFLAGS for libcheck into our .pc file too so that
7442 dependent modules will pick it up properly if libcheck is installed
7443 into some other prefix.
7445 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7448 Revert the pkg-config check for libcheck, since it pulls in the
7449 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7450 a proper solution, either from the check project, or something else.
7452 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7455 Use pkg-config to locate check.
7457 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7464 Add deprecation guards.
7466 * libs/gst/base/gstcollectpads.h:
7467 Don't document object (this is implicitly private).
7469 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7471 * gst/gststructure.c: (gst_structure_parse_value):
7472 When deserialising foo=bar without a type cast, check if it's a
7473 boolean before falling back to a string type, otherwise things like
7474 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7475 because the filtercaps end up having a signed=(string)true field,
7476 which causes problems later when intersection caps.
7478 * tests/check/gst/gststructure.c: (GST_START_TEST):
7479 Add a unit test for this.
7481 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7483 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7485 * libs/gst/controller/Makefile.am:
7486 * libs/gst/controller/gstcontroller.c:
7487 (gst_controlled_property_add_interpolation_control_source),
7488 (gst_controlled_property_new), (gst_controlled_property_free),
7489 (gst_controller_find_controlled_property),
7490 (gst_controller_new_valist), (gst_controller_new_list),
7491 (gst_controller_new), (gst_controller_remove_properties_valist),
7492 (gst_controller_remove_properties_list),
7493 (gst_controller_remove_properties),
7494 (gst_controller_set_property_disabled),
7495 (gst_controller_set_disabled), (gst_controller_set_control_source),
7496 (gst_controller_get_control_source), (gst_controller_get),
7497 (gst_controller_sync_values), (gst_controller_get_value_array),
7498 (_gst_controller_dispose), (gst_controller_get_type),
7499 (gst_controlled_property_set_interpolation_mode),
7500 (gst_controller_set), (gst_controller_set_from_list),
7501 (gst_controller_unset), (gst_controller_unset_all),
7502 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7503 * libs/gst/controller/gstcontroller.h:
7504 * libs/gst/controller/gstcontrollerprivate.h:
7505 * libs/gst/controller/gstcontrolsource.c:
7506 (gst_control_source_class_init), (gst_control_source_init),
7507 (gst_control_source_get_value),
7508 (gst_control_source_get_value_array), (gst_control_source_bind):
7509 * libs/gst/controller/gstcontrolsource.h:
7510 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7511 (gst_object_get_control_source):
7512 * libs/gst/controller/gstinterpolation.c:
7513 (gst_interpolation_control_source_find_control_point_node),
7514 (gst_interpolation_control_source_get_first_value),
7515 (_interpolate_none_get), (interpolate_none_get),
7516 (interpolate_none_get_boolean_value_array),
7517 (interpolate_none_get_enum_value_array),
7518 (interpolate_none_get_string_value_array),
7519 (_interpolate_trigger_get), (interpolate_trigger_get),
7520 (interpolate_trigger_get_boolean_value_array),
7521 (interpolate_trigger_get_enum_value_array),
7522 (interpolate_trigger_get_string_value_array):
7523 * libs/gst/controller/gstinterpolationcontrolsource.c:
7524 (gst_control_point_free), (gst_interpolation_control_source_reset),
7525 (gst_interpolation_control_source_new),
7526 (gst_interpolation_control_source_set_interpolation_mode),
7527 (gst_interpolation_control_source_bind),
7528 (gst_control_point_compare), (gst_control_point_find),
7529 (gst_interpolation_control_source_set_internal),
7530 (gst_interpolation_control_source_set),
7531 (gst_interpolation_control_source_set_from_list),
7532 (gst_interpolation_control_source_unset),
7533 (gst_interpolation_control_source_unset_all),
7534 (gst_interpolation_control_source_get_all),
7535 (gst_interpolation_control_source_get_count),
7536 (gst_interpolation_control_source_init),
7537 (gst_interpolation_control_source_finalize),
7538 (gst_interpolation_control_source_dispose),
7539 (gst_interpolation_control_source_class_init):
7540 * libs/gst/controller/gstinterpolationcontrolsource.h:
7541 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7542 API: Refactor GstController into the core controller which can take
7543 a GstControlSource for providing actual values for timestamps.
7544 Implement a interpolation control source and use this for backward
7545 compatibility, deprecate a bunch of functions that are now handled
7546 by GstControlSource or GstInterpolationControlSource.
7547 Make it possible to disable the controller completely or only for
7548 specific properties. Fixes #450711.
7549 * docs/libs/gstreamer-libs-docs.sgml:
7550 * docs/libs/gstreamer-libs-sections.txt:
7551 * docs/libs/gstreamer-libs.types:
7552 Add new functions and classes to the docs.
7553 * tests/check/libs/controller.c: (GST_START_TEST),
7554 (gst_controller_suite):
7555 * tests/examples/controller/audio-example.c: (main):
7556 Port unit test and example to the new API and add some new
7559 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7561 Patch by: Mark Nauwelaerts <manauw at skynet be>
7563 * plugins/elements/gstmultiqueue.c:
7564 (gst_multi_queue_get_internal_links), (apply_buffer),
7565 (single_queue_overrun_cb), (gst_single_queue_new):
7566 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7567 the pipeline layout can be tracked correctly. Fixes #453732.
7569 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7571 * docs/gst/Makefile.am:
7572 * docs/libs/Makefile.am:
7573 * docs/plugins/Makefile.am:
7574 Simplify --extra-dir as gtkdoc scans recursively.
7576 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7578 * tools/gst-launch.c: (main):
7579 When we got an error, there is no point in waiting for preroll when
7582 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7584 * plugins/elements/gsttee.c: (gst_tee_base_init),
7585 (gst_tee_request_new_pad), (gst_tee_release_pad),
7586 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7587 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7589 Be a lot smarter when deciding what srcpad to use for proxying
7590 the buffer_alloc. Also handle pad added/removed when doing so.
7592 Keep track of what pads we already pushed on in case we have pads
7593 added/removed while pushing. Fixes #374639
7595 * tests/check/Makefile.am:
7596 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7598 Added unit test for pad resync.
7600 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7604 Updated translations.
7606 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7608 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7612 Added new Finnish translation.
7614 2007-06-28 Wim Taymans <wim@fluendo.com>
7616 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7617 (single_queue_overrun_cb):
7618 When figuring out when a queue is filled, use our internal time estimate
7619 based on segments, just like check_full does.
7621 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7623 * gst/gstminiobject.c: (gst_mini_object_get_type):
7624 Remove 3 do-nothing methods.
7626 2007-06-27 Wim Taymans <wim@fluendo.com>
7628 Patch by: Tim Angus <tim at ngus dot net>
7630 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7631 (gst_capsfilter_set_property):
7632 Take a reference instead of a copy when setting "caps".
7633 Fix documentation to clarify this behaviour. Fixes #449414.
7635 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7637 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7638 * gst/gstplugin.c: (gst_plugin_init):
7639 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7640 * gst/gstquery.c: (gst_query_get_type):
7641 * gst/gstregistry.c: (gst_registry_init):
7642 * gst/gsturi.c: (gst_uri_handler_base_init):
7643 Remove empty instance_init() functions to save relocs and lessen the
7644 noise. Remove some of the function prototypes that are doubled by
7647 2007-06-27 Wim Taymans <wim@fluendo.com>
7649 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7651 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7652 Add peer and direction in the XML serialisation of ghostpads.
7655 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7658 Preserve useful information, thanks Tim.
7660 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7662 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7663 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7664 (gst_single_queue_push_one), (gst_multi_queue_loop),
7665 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7666 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7667 (compute_high_id), (gst_single_queue_new):
7668 * plugins/elements/gstmultiqueue.h:
7669 Take the multiqueue lock when updating the fill level so we don't get
7672 After applying a buffer or event on the src pad segment, make sure to
7673 call gst_data_queue_limits_changed() to get the data queue to unblock
7674 and check the filled state again.
7676 Rework the not-linked pad handling so the logic is that not-linked
7677 pads can push as fast as they like, but only so they never get
7678 ahead of any linked pads.
7680 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7681 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7682 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7684 Add a test to check that not-linked pads always stay behind
7689 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7691 * docs/random/release:
7692 Some updates to the release procedure.
7694 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7696 * gst/gstelementfactory.c: (__gst_element_details_clear):
7697 Microoptimization that saves stunning 80 bytes.
7699 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7701 * docs/plugins/gstreamer-plugins.args:
7702 * docs/plugins/inspect/plugin-coreelements.xml:
7703 * docs/plugins/inspect/plugin-coreindexers.xml:
7704 Update docs with caps info.
7706 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7709 Updated Italian translation.
7711 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7715 Update Vietnamese translations.
7717 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7719 * libs/gst/base/gstbasesink.c:
7720 Remove unused signal enum.
7722 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7724 * docs/gst/gstreamer-sections.txt:
7726 * gst/gstutils.c: (gst_type_register_static_full):
7727 Beef up and include the docs for gst_type_register_static_full and
7728 gst_element_class_set_details_simple and add the API keyword
7731 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7733 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7734 (update_time_level), (gst_single_queue_push_one),
7735 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7736 (single_queue_overrun_cb), (single_queue_underrun_cb),
7737 (single_queue_check_full):
7738 Fix setting max-* properties after adding queues.
7739 Use IS_FILLED for checking visible items.
7740 Signal overrun if multiple queues overrun.
7741 Add extra debug output.
7742 Patch by: Wim Taymans <wim@fluendo.com>
7744 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7746 * gst/gstelement.c: (gst_element_class_set_details_simple):
7748 * gst/gstutils.c: (gst_type_register_static_full):
7750 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7751 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7752 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7753 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7754 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7755 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7756 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7757 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7758 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7759 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7760 (apply_buffer), (gst_queue_chain):
7761 * plugins/elements/gsttee.c: (gst_tee_base_init):
7762 * plugins/elements/gsttypefindelement.c:
7763 (gst_type_find_element_base_init),
7764 (gst_type_find_element_class_init):
7765 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7766 API: add gst_type_register_static_full
7767 API: add gst_element_class_set_details_simple
7769 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7771 * docs/pwg/advanced-types.xml:
7772 Fix typo in iana.org URI.
7774 2007-06-19 Andy Wingo <wingo@pobox.com>
7776 * tests/check/pipelines/simple-launch-lines.c
7777 (test_state_change_returns): Enable pull-mode tests now that
7778 basesink has been fixed.
7780 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7781 Changed from gst_base_sink_is_prerolled, reversing the sense of
7782 the return value. Returns FALSE also if the sink is in pull mode,
7783 in which case it needs no preroll.
7784 (gst_base_sink_query, gst_base_sink_change_state): Update for
7785 needs_preroll change.
7786 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7787 chaining up, in which we return SUCCESS directly if we activated
7788 in pull mode instead of ASYNC. Involves countering an async_start
7789 message sent before chaining up; not sure if this is correct, in
7790 an ideal world we only send async-start when activating in push
7793 * tests/check/pipelines/simple-launch-lines.c
7794 (test_state_change_returns): New test, partially disabled until
7797 2007-06-19 Wim Taymans <wim@fluendo.com>
7799 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7800 (gst_multi_queue_sink_event):
7803 2007-06-19 Wim Taymans <wim@fluendo.com>
7805 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7806 (gst_bin_change_state_func), (bin_push_state_continue),
7807 (bin_handle_async_start), (bin_handle_async_done),
7808 (gst_bin_handle_message_func):
7809 Move the common code for posting state-change messages into
7811 Broadcast the state signal after we posted the messages.
7812 Mark the bin as busy when it's doing a state-change.
7813 Make sure async-start/done messages don't interfere with the bin's
7814 state when it's busy.
7815 After the state change, let the bin check which elements completed the
7816 state change while it was busy so that it can update its state.
7818 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7820 * docs/random/release:
7821 Add a note about updating the doap file to the release checklist
7823 2007-06-18 Wim Taymans <wim@fluendo.com>
7825 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7826 (gst_single_queue_push_one), (gst_multi_queue_chain),
7827 (gst_multi_queue_sink_event):
7828 Make sure we don't reference the buffer/event after we have given away
7829 ownership in the queue.
7831 2007-06-18 Wim Taymans <wim@fluendo.com>
7833 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7834 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7835 Update queue state _after_ adding the item in the queue because else we
7836 could end up being full without the element added yet.
7838 2007-06-18 Wim Taymans <wim@fluendo.com>
7840 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7841 (gst_bin_remove_func), (gst_bin_get_state_func),
7842 (gst_bin_element_set_state), (gst_bin_continue_func),
7843 (bin_push_state_continue), (bin_handle_async_start),
7844 (bin_handle_async_done), (gst_bin_handle_message_func):
7846 Immediatly commit the toplevel bin state when receiving an async-done
7847 message. This enables us to avoid spawning a thread to commit the state
7848 in some common cases and it also avoids some races.
7849 Avoid spawning a state thread when adding/removing async elements to a
7850 toplevel bin. Instead we immediatly update the bin state.
7851 Get rid of iterating all the children when getting the state in the bin
7852 because it is now always up-to-date.
7853 Fix bug where locked elements would always return _SUCCESS even it they
7854 returned NO_PREROLL before being locked.
7855 Fix the order of the state_change, async-start/done messages that was
7856 sometimes incorrect.
7857 Mark the state_dirty field as deprecated, we don't need it anymore as we
7858 are always up-to-date.
7860 * gst/gstelement.c: (gst_element_get_state_func),
7861 (gst_element_continue_state):
7862 Small debug inprovements.
7863 Return the previous element state return when nothing is pending instead
7864 of blindly returning SUCCESS.
7866 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7868 Add a whole bunch of new testcases.
7870 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7874 Update translations.
7876 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7879 Fix typo in the docs.
7881 2007-06-15 Wim Taymans <wim@fluendo.com>
7883 * docs/libs/gstreamer-libs-sections.txt:
7884 Add docs for new methods.
7886 2007-06-15 Wim Taymans <wim@fluendo.com>
7888 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7889 (gst_multi_queue_item_new):
7890 Don't use GSlice because we don't depend on >= 2.10 yet.
7892 2007-06-15 Wim Taymans <wim@fluendo.com>
7894 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7895 (update_time_level), (apply_segment), (apply_buffer),
7896 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7897 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7898 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7899 (single_queue_underrun_cb), (single_queue_check_full):
7900 Remove debug printf.
7902 2007-06-15 Wim Taymans <wim@fluendo.com>
7904 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7905 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7906 (gst_data_queue_set_flushing), (gst_data_queue_push),
7907 (gst_data_queue_pop), (gst_data_queue_drop_head),
7908 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7909 * libs/gst/base/gstdataqueue.h:
7911 Added methods to get the current levels and to inform the queue that the
7912 'full' limits changed.
7914 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7915 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7916 (gst_single_queue_flush), (update_time_level), (apply_segment),
7917 (apply_buffer), (gst_single_queue_push_one),
7918 (gst_multi_queue_item_steal_object),
7919 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7920 (gst_multi_queue_loop), (gst_multi_queue_chain),
7921 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7922 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7923 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7924 (single_queue_underrun_cb), (single_queue_check_full),
7925 (gst_single_queue_new):
7926 Keep track of time in the queue by measuring the difference between
7927 running_time on input and output. This gives more accurate results and
7928 can compensate for segments correctly.
7929 Make a queue by default only 5 buffers deep. We will now increase the
7930 buffer size depending on the filledness of the other queues.
7931 Factor out commong flush code.
7932 Make sure we don't add additional refcounts to buffers when we can avoid
7934 Propagate GstFlowReturn differently.
7935 Use GSlice for intermediate GstMultiQueueItems.
7937 Resize queues on over and underruns based on filled level of other
7939 When checking if the queue is filled, prefer to measure in time if we
7940 can and fall back to bytes when no time is known.
7942 * plugins/elements/gstqueue.c:
7945 2007-06-15 Wim Taymans <wim@fluendo.com>
7947 * libs/gst/base/gstbasetransform.c:
7948 (gst_base_transform_sink_event):
7949 Work around the brokenness of the event vmethod in basetransform. Prefer
7950 to return TRUE when the subclass returned FALSE (meaning don't forward
7953 * libs/gst/base/gstbasetransform.h:
7956 2007-06-15 Wim Taymans <wim@fluendo.com>
7958 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7959 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7960 (gst_base_src_default_query), (gst_base_src_get_range),
7961 (gst_base_src_start):
7962 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7965 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7967 * docs/pwg/advanced-types.xml:
7968 Added more formats to caps table.
7970 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7972 * tools/gst-launch.c: (main):
7973 Remove crufy code. GOption does not need this workaround.
7975 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7977 * libs/gst/controller/gstcontroller.c:
7978 (gst_controlled_property_set_interpolation_mode):
7979 Fix wrong getter for enums in controller.
7981 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7983 * libs/gst/check/gstcheck.c: (gst_check_init):
7984 Intercept criticals and warnings in the Gst-Phonon log domain, so
7985 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7988 2007-06-14 Edward Hervey <edward@fluendo.com>
7990 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7991 Since this file doesn't include "gst.h" it will not go through the
7992 macros that disable GST_LOG if debugging was disabled.
7994 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7996 * libs/gst/check/Makefile.am:
7997 * libs/gst/check/gstcheck.h:
7998 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7999 * pkgconfig/gstreamer-check.pc.in:
8000 Ugly 'fix' for the controller unit test on the p5 bot: in
8001 fail_unless_equals_float() check whether the values are 'almost
8002 equal' by allowing a small absolute error, which should be good
8003 enough for our use cases (normal numbers and values close to 0).
8004 Proper fixage left to floating point arithmetic aficionados.
8006 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8008 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8009 (gst_base_sink_render_object), (gst_base_sink_get_position):
8010 Add two breaks thats where missing.
8012 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8014 * docs/libs/gstreamer-libs-sections.txt:
8015 * libs/gst/check/gstcheck.h:
8016 API: add fail_unless_equals_float() and assert_equals_float().
8017 Add documentation for some of the macros.
8019 * tests/check/libs/controller.c: (GST_START_TEST):
8020 Use newly-added asserts.
8022 2007-06-14 Stefan Kost <ensonic@users.sf.net>
8024 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8025 Show the caps change in the log to help spotting the case of not
8026 exactly matching caps.
8028 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
8030 * docs/pwg/building-boiler.xml:
8031 Fix typos, spotted by Thijs Vermeir (#447190).
8033 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8035 * docs/plugins/tmpl/.cvsignore:
8036 Ignore file to keep the buildbots happy
8038 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8040 * docs/plugins/Makefile.am:
8041 * docs/plugins/gstreamer-plugins-docs.sgml:
8042 * docs/plugins/gstreamer-plugins-sections.txt:
8043 Pull fdsink into the docs too.
8045 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8047 * libs/gst/controller/gstinterpolation.c:
8048 Actually use the new functions with min/max checks for the trigger and
8049 none interpolation modes for get() and get_value_array() instead of
8052 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8054 * libs/gst/controller/gstcontroller.c:
8055 (gst_controlled_property_free):
8056 Unset the minimum and maximum GValues when freeing the corresponding
8057 GstControllerProperty struct.
8059 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8061 * libs/gst/controller/gstcontroller.c:
8062 (gst_controlled_property_new):
8063 * libs/gst/controller/gstcontrollerprivate.h:
8064 * libs/gst/controller/gstinterpolation.c:
8065 (gst_controlled_property_find_control_point_node),
8066 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8067 (interpolate_none_get_string_value_array),
8068 (interpolate_trigger_get),
8069 (interpolate_trigger_get_enum_value_array),
8070 (interpolate_trigger_get_string_value_array):
8071 Protect against values larger or smaller than the minimum or maximum
8072 allowed value for the property when using values that can be compared.
8074 Optimize trigger interpolator a bit by taking the last requested value
8075 into account instead of always looping through the complete list.
8077 Fix coding style a bit, everywhere else we use "return foo" instead
8080 * tests/check/libs/controller.c: (GST_START_TEST),
8081 (gst_controller_suite):
8082 Add unit test for the protection against too large or too small
8085 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8087 * docs/random/slomo/controller.txt:
8088 Add some thoughts about the future of the controller.
8090 2007-06-08 Wim Taymans <wim@fluendo.com>
8092 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8093 Don't overflow in retimestamping code.
8095 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8097 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8098 Use gst_util_guint64_to_gdouble for conversions.
8099 * win32/common/libgstreamer.def:
8100 Add new exported functions.
8102 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8105 Small docs addition.
8107 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8110 Remove that test line again.
8112 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8115 Test commit mail sending.
8117 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8120 Fix typo and test commit mail sending.
8122 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8124 * tests/examples/controller/audio-example.c:
8125 Improve comment and test commit mail sending.
8127 2007-06-07 Wim Taymans <wim@fluendo.com>
8129 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8130 (gst_bin_remove_func), (gst_bin_element_set_state),
8131 (bin_handle_async_start), (bin_handle_async_done),
8132 (gst_bin_handle_message_func):
8133 Add helper function to find messages.
8134 Generate the async-done messages together with the state change
8136 Small cleanups in handling toplevel bins.
8138 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8140 * libs/gst/base/gstdataqueue.c:
8141 * libs/gst/base/gstdataqueue.h:
8142 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8143 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8144 (gst_multi_queue_sink_event):
8145 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8146 Fix multiqueue leaking buffers and events when downstream or the
8147 queue are flushing. Make refcounting assumptions explicit and
8148 document them (shouldn't break existing code that uses it other than
8149 maybe leak miniobjects, but that already happens anyway). Add unit
8150 test for the most common flushing case. Fixes #423700.
8152 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8154 * libs/gst/controller/gstcontroller.c:
8155 Clarify docs: The get_all, get_value_array(s) functions
8156 don't modify the GObject properties.
8158 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8160 * libs/gst/controller/gstcontroller.c:
8161 (gst_controlled_property_set_interpolation_mode),
8162 (gst_controlled_property_prepend_default),
8163 (gst_controlled_property_new), (gst_controller_set_unlocked),
8164 (gst_controller_set), (gst_controller_set_from_list),
8165 (gst_controller_unset), (gst_controller_unset_all):
8166 * libs/gst/controller/gstcontrollerprivate.h:
8167 * libs/gst/controller/gstinterpolation.c:
8168 Factor out the 'set' logic into gst_controller_set_unlocked for the
8169 gst_controller_set and gst_controller_set_from_list functions.
8171 To make life of the interpolators easier always add a control point
8172 at timestamp zero with the default value.
8174 In the linear interpolator make things more obvious by better variable
8177 Implement cubic interpolation mode (by using a natural cubic spline)
8178 and map the quadratic interpolation mode to this too (as quadratic
8179 doesn't make much sense, see discussion on the list).
8181 * tests/check/libs/controller.c: (GST_START_TEST),
8182 (gst_controller_suite):
8183 Add unit test for the cubic interpolation mode and check everywhere
8184 if the interpolation mode could be set as expected.
8186 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8188 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8189 Don't use GLib-2.10 functions, we still depend on
8190 GLib-how-old-is-it-again-2.8.
8192 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8194 * docs/gst/gstreamer-sections.txt:
8198 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8199 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8200 (_gst_param_fraction_values_cmp),
8201 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8202 * gst/gstparamspecs.h:
8204 * tests/check/Makefile.am:
8205 * tests/check/gst/.cvsignore:
8206 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8207 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8208 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8209 (GST_START_TEST), (gst_param_spec_suite):
8210 API: add GstParamSpecFraction, so elements can have fraction
8211 properties without lots of painful string parsing (#444648).
8213 2007-06-05 Wim Taymans <wim@fluendo.com>
8215 * gst/gstobject.c: (gst_object_class_init):
8216 Fix signal signature.
8219 Add small clarification in the api docs.
8221 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8222 States are protected with object lock.
8224 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8227 I should probably be listed as an author by now.
8229 * docs/random/release:
8230 Update the release doc
8232 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8235 Make docs for gst_value_compare() mention return enums that
8238 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8243 === release 0.10.13 ===
8245 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8248 releasing 0.10.13, "With or without you"
8250 2007-05-25 Wim Taymans <wim@fluendo.com>
8252 * gst/gstbin.c: (bin_handle_async_done):
8253 Make sure that the child bin stops after completing the async state
8254 change so that the parent can continue the state change to PLAYING.
8257 2007-05-25 Wim Taymans <wim@fluendo.com>
8259 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8260 (unref_data), (gst_collect_pads_remove_pad),
8261 (gst_collect_pads_check_pads):
8262 Use additional refcounting to avoid crashes when dynamically adding and
8263 removing pads. Fixes #420206.
8265 2007-05-24 Wim Taymans <wim@fluendo.com>
8267 * tools/gst-launch.c: (event_loop):
8268 When buffering goes from a two digit to a single digit number, make sure
8269 to remove the old second digit by writing a blank over it.
8271 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8273 * libs/gst/base/gstdataqueue.c:
8274 Eliminate tabs and trailing comma in enum list; fix some typos.
8276 2007-05-24 Wim Taymans <wim@fluendo.com>
8278 * tests/check/gst/gstbin.c: (GST_START_TEST):
8279 Allow refcount of 3 and 4 because some state thread might still be busy
8282 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8284 * plugins/elements/Makefile.am:
8285 * plugins/elements/gstmultiqueue.h:
8286 * plugins/elements/gstqueue.h:
8287 These are not installed headers, no need for padding.
8289 2007-05-24 Wim Taymans <wim@fluendo.com>
8291 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8292 (gst_bin_continue_func):
8293 Enable latency for next release.
8294 Restore STATE_LOCK around recalc_state that was left out during the
8295 rewrite and could result in racy behaviour when _get_state and
8296 recalc_state are run concurrently. See #440463.
8298 2007-05-23 Wim Taymans <wim@fluendo.com>
8300 * tests/check/gst/gstsystemclock.c: (store_callback),
8302 Improve test_async_order to also work when both timers are already
8303 expired when we get scheduled to check it.
8305 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8307 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8308 (gst_bin_set_property), (gst_bin_get_property),
8309 (gst_bin_remove_func), (gst_bin_handle_message_func):
8311 'private' is a c++ keyword, let's not use that in header files,
8312 otherwise c++ compilers will throw a tantrum.
8314 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8316 * plugins/elements/gstelements.c:
8317 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8318 (gst_file_sink_get_current_offset):
8319 * plugins/indexers/gstindexers.c: (plugin_init):
8320 Use #ifdef for HAVE_XYZ for consistency.
8322 * tests/check/Makefile.am:
8323 * tests/check/elements/.cvsignore:
8324 * tests/check/elements/filesink.c: (setup_filesink),
8325 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8326 Add some unit tests for filesink.
8328 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8330 Patch by: Mark Nauwelaerts <manauw at skynet be>
8332 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8333 (gst_file_sink_query), (gst_file_sink_do_seek),
8334 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8335 * plugins/elements/gstfilesink.h:
8336 Fix position reporting; rename data_written member to current_pos to
8337 reflect its real meaning (fixes #412648).
8339 2007-05-22 Edward Hervey <edward@fluendo.com>
8341 * docs/gst/gstreamer-sections.txt:
8342 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8343 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8344 (gst_bin_remove_func), (gst_bin_handle_message_func):
8346 Add a property for bins that handle the state change of their childs.
8349 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8351 * libs/gst/controller/gstinterpolation.c:
8352 Use an array of the correct type when using _get_value_array with
8353 linear interpolation.
8355 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8357 * gst/gstelement.c (gst_element_requires_clock,
8358 gst_element_provides_clock, gst_element_request_pad,
8359 gst_element_class_set_details, gst_element_class_set_details_simple,
8360 gst_element_default_send_event, gst_element_abort_state,
8361 gst_element_continue_state, gst_element_set_state,
8362 gst_element_set_state_func, iterator_activate_fold_with_resync):
8363 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8364 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8365 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8366 gst_pad_get_range, gst_pad_pull_range):
8367 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8368 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8369 GstPadActivateModeFunction, GstPadChainFunction,
8370 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8371 GstPadFixateCapsFunction, GstPadTemplate):
8372 * gst/gstpipeline.c (gst_pipeline_change_state,
8373 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8374 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8375 gst_pipeline_get_delay):
8376 Whitespace and docs fixes.
8378 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8380 * libs/gst/controller/gstinterpolation.c:
8381 (interpolate_trigger_get_enum_value_array),
8382 (interpolate_trigger_get_string_value_array):
8383 Add support for retrieving value arrays when using the trigger
8386 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8388 * libs/gst/controller/gstcontroller.c:
8389 (gst_controller_get_value_array):
8390 * libs/gst/controller/gstcontroller.h:
8391 Clarify the docs of gst_controller_get_value_array(): The array where
8392 the values should be written to must be allocated as there seems to be
8393 no way to get the size of a random GType. This doesn't change any
8394 behaviour. Also fix some typos all over the place and remove an unused,
8395 commented function that is not necessary as g_object_set() could be
8397 * tests/check/libs/controller.c: (GST_START_TEST),
8398 (gst_controller_suite):
8399 Add unit test for gst_controller_get_value_array().
8401 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8403 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8405 Disable part of the gst_buffer_try_new_and_alloc test, because
8406 it can happily succeed on 64-bit systems where there's more address
8409 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8411 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8412 Add unit test for the improved caps checking from bug #421543.
8414 2007-05-21 Wim Taymans <wim@fluendo.com>
8416 * docs/design/part-synchronisation.txt:
8419 * gst/gstbin.c: (gst_bin_query):
8420 * plugins/elements/gstqueue.c: (apply_segment):
8426 2007-05-21 Wim Taymans <wim@fluendo.com>
8428 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8429 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8430 (gst_pad_configure_src):
8431 Added simple version of improved caps checking. It was previously
8432 assumed that a setcaps function would check the validity of the caps but
8433 people prefer us to check caps against the template automatically.
8436 2007-05-21 Wim Taymans <wim@fluendo.com>
8438 * libs/gst/base/gstbasetransform.h:
8439 Fix macro for locking/unlocking the transform lock.
8441 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8443 * docs/plugins/tmpl/.cvsignore:
8446 2007-05-18 Edward Hervey <edward@fluendo.com>
8448 * plugins/elements/gstqueue.c: (gst_queue_loop):
8449 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8450 for the subtle art of warning a potentially blocking thread that it
8451 should check the source pad return value, and relay the information
8454 2007-05-18 Edward Hervey <edward@fluendo.com>
8456 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8457 Release the queue lock !
8459 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8461 * docs/libs/gstreamer-libs-sections.txt:
8462 Add the two new controller functions to the appropiate places.
8464 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8466 reviewed by: Stefan Kost <ensonic@users.sf.net>
8468 * libs/gst/controller/gstcontroller.c:
8469 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8470 (_gst_controller_get_property), (_gst_controller_set_property),
8471 (_gst_controller_init), (_gst_controller_class_init):
8472 * libs/gst/controller/gstcontroller.h:
8473 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8474 (gst_object_get_control_rate), (gst_object_set_control_rate):
8475 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8476 Add API that provides sync suggestion timestamps for elements that
8477 call gst_object_sync_values() from which those elements can subdivide
8478 their processing loop to get the best results for the controlled
8479 properties. For now it just suggests last_sync + control_rate as
8480 new timestamp but this will be improved in the future.
8482 While doing that change the control-rate property to a GstClockTime
8483 from guint and change it's meaning from samples to nanoseconds as
8484 the GstController doesn't know anything about sampling rate. Strictly
8485 speaking this breaks ABI but as the control-rate property didn't do
8486 anything in the past and as such couldn't be used this should be no
8489 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8491 reviewed by: Stefan Kost <ensonic@users.sf.net>
8493 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8494 (gst_controller_unset_all):
8495 * libs/gst/controller/gstcontrollerprivate.h:
8496 * libs/gst/controller/gstinterpolation.c:
8497 (gst_controlled_property_find_control_point_node):
8498 Save last synced value from the list to continue searching from there
8499 in future syncs. This speeds everything up a bit.
8501 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8503 reviewed by: Stefan Kost <ensonic@users.sf.net>
8505 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8506 (gst_control_point_find), (gst_controlled_property_new),
8507 (gst_control_point_free), (gst_controlled_property_free),
8508 (gst_controller_set), (gst_controller_set_from_list),
8509 (gst_controller_unset), (gst_controller_unset_all),
8510 (gst_controller_sync_values):
8511 * libs/gst/controller/gstcontroller.h:
8512 * libs/gst/controller/gstcontrollerprivate.h:
8513 * libs/gst/controller/gstinterpolation.c:
8514 (gst_controlled_property_find_control_point_node),
8515 (interpolate_none_get), (interpolate_trigger_get):
8516 Add a new private GstControlPoint struct which "inherits" from
8517 GstTimedValue to allow different interpolators to store internal
8518 values next to each control point. From the outside everything is
8519 still a GstControlPoint so we don't loose binary compatibility.
8520 Also fixup all the GValue handling to not leak GValues or list nodes.
8521 * tests/check/libs/controller.c: (GST_START_TEST):
8522 Free the list nodes and GValues in the controller_misc test.
8524 2007-05-17 Edward Hervey <edward@fluendo.com>
8529 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8531 * gst/gstplugin.c: (gst_plugin_load_file):
8532 If we fail to load a plugin because of unresolved symbols or missing
8533 libraries and spew a warning to stderr, we may just as well mention
8534 which plugin it was that failed to load.
8536 2007-05-13 David Schleef <ds@schleef.org>
8538 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8539 handles the case when ENABLE_GTK_DOC is false, and installs
8540 the prebuilt documentation. So gtk-doc subdirs are
8541 unconditionally enabled. Fixes: #349099.
8543 2007-05-13 David Schleef <ds@schleef.org>
8545 * gst/gstutils.h: Reword some documentation.
8547 2007-05-12 David Schleef <ds@schleef.org>
8549 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8550 do anything with the passed "module" parameter, so remove it.
8551 Allows removal of additional vestigal code.
8553 2007-05-12 David Schleef <ds@schleef.org>
8556 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8557 Switch to using g_stat() because it's more portable.
8559 2007-05-12 David Schleef <ds@schleef.org>
8562 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8563 parsing for embedded systems.
8564 * gst/gstelementfactory.c:
8565 Allow gst_element_register() to be called with plugin==NULL.
8566 Did nobody notice that static elements were broken?
8568 2007-05-12 Wim Taymans <wim@fluendo.com>
8570 * tools/gst-launch.c: (event_loop):
8571 Give more interesting info when buffering starts and stops.
8572 Fix case where buffering starts but we fail to update the buffering flag
8573 because the target state is not PLAYING.
8575 2007-05-12 Wim Taymans <wim@fluendo.com>
8577 * plugins/elements/gstqueue.c: (gst_queue_init),
8578 (gst_queue_finalize), (update_time_level), (apply_segment),
8579 (apply_buffer), (gst_queue_locked_flush),
8580 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8581 (gst_queue_handle_sink_event), (gst_queue_chain),
8582 (gst_queue_push_one), (gst_queue_loop):
8583 * plugins/elements/gstqueue.h:
8584 Refactor an cleanup queue a bit.
8585 Do better time level calculations that also work when the srcpad is not
8587 Remove some unneeded debug lines.
8589 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8590 Added testcase for time level measurement.
8591 Try to make some stuff more racefree.
8593 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8595 * gst/gsturi.c: (gst_element_make_from_uri):
8596 Don't leak plugin feature.
8598 * tests/check/Makefile.am:
8599 * tests/check/gst/.cvsignore:
8600 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8601 Add brain-dead unit test.
8603 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8605 Patch by: Jeroen Wouters <woutersj at gmail com>
8607 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8608 Treat protocol strings in a case-insensitive way (#437563).
8610 2007-05-11 Michael Smith <msmith@fluendo.com>
8612 * gst/gstplugin.c: (gst_plugin_load_file):
8613 * gst/gstregistry.c: (gst_registry_scan_path_level):
8614 Don't print a g_warning for any failure to load a shared object.
8615 Instead, push this down into gstplugin.c, and warn _only_ if we
8616 failed to open the module (i.e. failure to link).
8617 Avoids warnings on normal, working, non-plugin .so files.
8619 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8621 * gst/gstplugin.c (gst_plugin_load_file):
8622 * gst/gstregistry.c (GST_CAT_DEFAULT,
8623 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8624 Print a g_warning if there was an error when loading a plugins during
8625 registry scan. The shuld help beginners starting with gst-plugin
8628 2007-05-10 Wim Taymans <wim@fluendo.com>
8630 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8631 (update_time_level), (gst_queue_locked_flush),
8632 (gst_queue_handle_sink_event), (gst_queue_chain),
8633 (gst_queue_push_one), (gst_queue_loop):
8634 * plugins/elements/gstqueue.h:
8635 Be smarter when calculating the current amount of data in the queue by
8636 measuring the difference between start and end timestamps (in running
8637 time) inside the queue. Fixes #432876.
8638 API: GstQueue::pushing to notify elements that we are pushing data again
8639 since the running signal is rather broken for this purpose.
8641 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8643 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8644 gst_queue_base_init, gst_queue_init):
8647 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8649 * win32/common/libgstreamer.def:
8650 Add new exported functions.
8651 * win32/vs6/grammar.dsp:
8652 Use grammar pre-generated files.
8654 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8656 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8659 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8661 * gst/gstutils.c: (gst_parse_bin_from_description):
8663 Maintain API and ABI when --disable-parse is used. Now that
8664 we have an appropriate error code, we can just return NULL and the
8665 appropriate error when gst_parse_launch() is used despite it having
8666 been disabled (#342564).
8668 * tests/check/Makefile.am:
8669 * tests/check/pipelines/.cvsignore:
8670 * tests/check/pipelines/parse-disabled.c:
8671 Make sure these functions exist and return NULL plus a GError when
8672 --disable-parse is used.
8674 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8676 * tests/benchmarks/complexity.c: (main):
8677 * tests/benchmarks/mass-elements.c: (main):
8678 Set a good example and don't leak messages.
8680 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8682 * docs/gst/Makefile.am:
8683 * docs/libs/Makefile.am:
8684 Correct fixxrefs options.
8686 * docs/plugins/Makefile.am:
8687 * docs/plugins/gstreamer-plugins-docs.sgml:
8688 * docs/plugins/gstreamer-plugins-sections.txt:
8689 * plugins/elements/Makefile.am:
8690 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8691 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8692 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8693 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8694 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8695 _GstCapsFilterClass, trans_class):
8696 * plugins/elements/gstelements.c (name, rank, type, _elements):
8697 * plugins/elements/gstidentity.c
8698 (gst_identity_check_imperfect_timestamp,
8699 gst_identity_check_imperfect_offset):
8700 Document capsfilter and add doc-blurb to identity.
8702 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8704 * libs/gst/controller/gstcontroller.c:
8705 (gst_controlled_property_set_interpolation_mode):
8706 * libs/gst/controller/gstinterpolation.c:
8707 Don't crash if someone tries to set an interpolation mode that
8708 is invalid or that isn't supported yet. Fixes #422295.
8710 * tests/check/libs/controller.c: (GST_START_TEST),
8711 (gst_controller_suite):
8712 Add a test case for the above.
8714 2007-05-03 Edward Hervey <edward@fluendo.com>
8716 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8717 Properly set the last_stop position on GstSegment. This will only happen
8718 if there is a buffer to push out.
8720 2007-05-03 Wim Taymans <wim@fluendo.com>
8722 * libs/gst/base/gstbasetransform.c:
8723 (gst_base_transform_buffer_alloc):
8724 always_in_place does not mean that the sink and source caps are the
8725 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8727 2007-05-03 Wim Taymans <wim@fluendo.com>
8729 * docs/libs/gstreamer-libs-sections.txt:
8730 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8731 (gst_base_src_default_query), (gst_base_src_get_range):
8732 * libs/gst/base/gstbasesrc.h:
8733 API: gst_base_src_query_latency(). Added method so that subclasses can
8734 easily get the latency values of the base source class.
8736 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8738 * tools/gst-inspect.c (print_implementation_info):
8741 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8743 * tools/Makefile.am:
8744 * tools/gst-launch.1.in:
8745 Don't create a customised man page based on the host architecture,
8746 describe the default registry path generically. That way the man
8747 page is the same for all architectures and packagers have one
8748 multilib issue less to deal with. Fixes #434926.
8750 2007-05-02 Wim Taymans <wim@fluendo.com>
8753 Fix documentation as spotted by rg on IRC.
8755 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8758 Improve docs for gst_element_{link,unlink}.
8760 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8762 * docs/design/part-events.txt:
8763 * docs/design/part-overview.txt:
8767 * libs/gst/base/gstbasesink.c:
8768 Typo fixes; minor docs addition.
8770 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8772 * docs/gst/gstreamer-sections.txt:
8773 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8774 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8776 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8777 or src that supports a given URI protocol exists.
8779 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8781 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8782 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8783 Set the location to NULL if "file://" is set as URI. Otherwise
8784 some random previous URI would still be set if "file://" is
8785 set on an already used filesink/filesrc.
8787 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8789 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8790 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8791 Special case the "file://" URI as as this is used by some
8792 applications to test with gst_element_make_from_uri if there's
8793 an element that supports the URI protocol.
8794 Also move the g_path_is_absolute() check for the location part
8795 of the URI to also check this for "file://localhost/bla" URIs.
8797 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8799 * docs/gst/gstreamer-sections.txt:
8800 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8802 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8804 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8806 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8808 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8809 (gst_registry_binary_load_pad_template),
8810 (gst_registry_binary_load_plugin),
8811 (gst_registry_binary_read_cache):
8812 * gst/gstregistrybinary.h:
8813 Implement no-mmap alternative for registry reading. Do code cleanups.
8814 Add more comments about avoiding strdups for all text data. Comments
8817 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8819 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8820 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8821 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8822 Comment structs and reformat to fix the build (that stuff should go
8823 into a priv. header).
8825 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8827 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8828 (gst_registry_binary_load_feature):
8829 * gst/gstregistrybinary.h:
8830 Refactor so that we can implement multiple features. Add support for
8831 TypeFindFactory features.
8833 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8835 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8838 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8840 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8842 * gst/gstbin.c: (gst_bin_element_set_state),
8843 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8844 (bin_handle_async_done), (gst_bin_handle_message_func):
8845 Fix build with --gst-disable-gst-debug
8847 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8849 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8850 Make sure streaming has finished before calling the ::stop() vfunc,
8851 since that vfunc might clear state which is being used in the
8852 streaming thread. This fixes a race that caused crashes in
8853 audioresample when shutting down a pipeline (#420106).
8855 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8857 * docs/gst/gstreamer-sections.txt:
8858 That was one byte missing.
8860 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8863 * docs/gst/gstreamer-sections.txt:
8865 * gst/gstconfig.h.in:
8866 * gst/gstobject.c: (gst_object_class_init),
8867 (gst_signal_object_class_init):
8869 2nd attempt to have a xml-less build as a joined effort of #413123
8872 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8874 * docs/design/draft-tagreading.txt:
8875 Added open issues/thoughts to draft.
8877 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8879 * gst/parse/grammar.tab.pre.c:
8880 * gst/parse/grammar.tab.pre.h:
8881 * gst/parse/lex._gst_parse_yy.pre.c:
8882 Update the prebuild parser sources.
8884 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8886 * gst/parse/Makefile.am:
8887 And now fix the building of the flex sources. Now everything should
8890 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8892 * gst/parse/Makefile.am:
8893 Now hopefully fix the build failures by setting proper rule
8894 dependencies and moving instead of copying.
8896 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8898 * tests/benchmarks/complexity.gnuplot:
8899 * tests/benchmarks/complexity.scm:
8900 * tests/benchmarks/mass-elements.gnuplot:
8901 * tests/benchmarks/mass-elements.scm:
8902 Total licensification.
8904 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8906 * gst/parse/Makefile.am:
8907 Fix the build by correcting the rule that gave wrong files to flex.
8909 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8911 * tests/benchmarks/complexity.c:
8912 * tests/benchmarks/mass-elements.c:
8913 Change licence to LGPL as granted by Benjamin and Andy.
8915 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8917 * gst/parse/Makefile.am:
8918 Add correct grammar.tab.h dependency if compiling without new enough
8919 flex. Fixes #431150.
8921 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8923 * gst/parse/Makefile.am:
8924 Fix typo and use outdated sources if the flex/bison sources are newer
8925 than the pregenerated ones but flex is too old. Print a warning in
8926 that case. This should fix the build on the build bot.
8928 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8930 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8931 * gst/parse/Makefile.am:
8932 * gst/parse/grammar.y:
8933 * gst/parse/parse.l:
8934 Make the parser reentrant and recursively callable. This requires flex
8935 >= 2.5.31, for older versions pregenerated sources are used as we
8936 can't bump the build dependency. Finally fixes #349180.
8938 * gst/gstparse.c: (gst_parse_launch):
8939 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8942 * docs/gst/Makefile.am:
8943 * docs/gst/Makefile.am:
8944 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8945 (__gst_parse_strfree), (__gst_parse_link_new),
8946 (__gst_parse_link_free), (__gst_parse_chain_new),
8947 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8948 (gst_parse_element_set), (gst_parse_free_link),
8949 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8950 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8951 (_gst_parse_launch):
8952 * gst/parse/grammar.tab.pre.h:
8953 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8954 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8955 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8956 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8957 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8958 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8959 (_gst_parse_yypop_buffer_state),
8960 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8961 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8962 (yy_fatal_error), (_gst_parse_yyget_extra),
8963 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8964 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8965 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8966 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8967 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8968 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8969 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8970 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8971 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8972 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8973 (_gst_parse_yyfree):
8974 If the installed flex version is too old use pre-generated parser
8975 sources. These pre-generated parser sources are always updated when
8976 the actual flex/bison sources change but require everybody who wants
8977 to change something in the parser to have flex >= 2.5.31 installed.
8979 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8981 * common/m4/gst-gettext.m4:
8982 * gst/gst-i18n-lib.h:
8983 Make --disable-nls to work
8985 2007-04-17 Wim Taymans <wim@fluendo.com>
8987 * gst/gstconfig.h.in:
8988 Revert previous change that broke the build.
8990 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8994 * gst/gstconfig.h.in:
8995 Drop libxml2 dependency when building with
8996 --enable-binary-registry --disable-loadsave
8998 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
9000 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9001 (gst_registry_binary_read_cache):
9002 * gst/gstregistrybinary.h:
9003 Remove unnecessary <sys/mman.h> include which broke the win32 build
9004 with MingW; move includes from header file to .c file, even if the
9005 header file isn't installed; use g_strerror() where UTF-8 strings
9006 are expected, such as in GST_DEBUG messages.
9008 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9010 * docs/libs/gstreamer-libs-sections.txt:
9011 Remove bogus addition for API I didn't end up keeping.
9013 * libs/gst/base/gstbasesrc.h:
9014 Mention Since: 0.10.13 in the documentation.
9016 Add the API keyword to the previous ChangeLog entry.
9018 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9020 * docs/libs/gstreamer-libs-sections.txt:
9021 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9022 (gst_base_src_default_prepare_seek_segment),
9023 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9024 * libs/gst/base/gstbasesrc.h:
9025 Allow basesrc derived classes to execute seeks in other formats
9026 by providing a prepare_seek_segment vmethod. Sub-classes can choose
9027 to prepare the GstSegment in any format that their perform_seek method
9028 will be able to understand. The default implementation provides the
9029 old behaviour of attempting to convert the seek offsets to the
9030 configured native format.
9032 API: basesrc::prepare_seek_segment vmethod.
9034 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9036 * gst/gstelement.c: (gst_element_get_state_func):
9037 Don't output the same debug statement twice.
9039 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9040 (gst_adapter_peek), (gst_adapter_take_buffer):
9041 Optimise the case where we have buffers at the head of the queue that
9042 can be joined quickly (because they're contiguous sub-buffers) by
9043 merging them together rather than copying data out into new memory.
9045 * gst/parse/grammar.y:
9046 * tests/check/pipelines/parse-launch.c:
9047 Fix a leak in an error path for parse_launch, and add a check
9048 for it to the testsuite.
9050 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9052 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9053 Don't deadlock when releasing a pad - gst_pad_set_active may try
9054 and take the multiqueue lock too.
9056 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9058 * gst/gsterror.c: (_gst_core_errors_init):
9060 API: add GST_CORE_ERROR_DISABLED (#392804).
9062 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9064 * docs/faq/gst-uninstalled:
9065 don't get empty paths on the PATH variables
9066 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9067 Don't format for the uncommon terminal width of 84 characters.
9069 2007-04-06 Wim Taymans <wim@fluendo.com>
9071 * gst/gstpipeline.c: (reset_stream_time),
9072 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9073 Only try to select a different pipeline clock when we went back to
9074 PAUSED and not when we merely got flushed.
9076 2007-04-05 Michael Smith <msmith@fluendo.com>
9078 * tools/gst-launch.1.in:
9079 fractions are better supported in gstreamer than ractions, so
9080 suggest using those.
9082 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9084 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9088 Added Danish translation.
9090 2007-04-05 Wim Taymans <wim@fluendo.com>
9092 * libs/gst/base/gstbasesink.c:
9093 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9094 Fix leak caused when refusing newsegment after EOS.
9096 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9097 (gst_fake_sink_init), (gst_fake_sink_set_property),
9098 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9099 (gst_fake_sink_render), (gst_fake_sink_change_state):
9100 * plugins/elements/gstfakesink.h:
9101 Add num-buffers property to make the element generate EOS after a
9102 configurable amount of buffers.
9103 API: fakesink::num-buffers property.
9105 * tests/check/elements/fakesink.c: (GST_START_TEST),
9107 Fix GstBus leak in test.
9108 Test for fakesink num-buffers.
9110 2007-04-05 Wim Taymans <wim@fluendo.com>
9112 * libs/gst/base/gstbasesink.c:
9113 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9114 (gst_base_sink_change_state):
9115 Don't accept anything after an EOS, return UNEXPECTED instead.
9117 * tests/check/elements/fakesink.c: (GST_START_TEST),
9119 Unit test for new EOS behaviour.
9121 2007-04-05 Wim Taymans <wim@fluendo.com>
9123 * gst/gstelement.c: (gst_element_get_request_pad):
9124 Make padtemplates also work when they don't contain %s or %d.
9126 2007-04-05 Wim Taymans <wim@fluendo.com>
9128 * docs/gst/gstreamer-sections.txt:
9129 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9130 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9132 Improve _adjust_unlocked() so that it overflows less.
9133 Add gst_clock_unadjust_unlocked to convert from external time to
9134 internal time based on calibration.
9135 Add some more debug.
9136 API: GstClock::gst_clock_unadjust_unlocked()
9138 2007-04-03 Wim Taymans <wim@fluendo.com>
9140 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9142 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9143 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9144 when releasing sink pad. Fixes #425400.
9146 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9148 * docs/random/ensonic/dynlink.txt:
9149 More work on proposal for new core api.
9151 * docs/libs/gstreamer-libs-sections.txt:
9152 * libs/gst/base/gstbasetransform.h:
9153 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9155 * libs/gst/controller/gstcontroller.c:
9156 (on_object_controlled_property_changed),
9157 (gst_controller_sync_values),
9158 (gst_controller_set_interpolation_mode):
9159 * libs/gst/controller/gstcontroller.h:
9160 Less verbose logging add docs for unimplemented parts and correctly
9161 return when using unavailable parts.
9163 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9165 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9166 Move all the debug to the CLOCK category, and associate it with
9169 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9171 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9172 Make take_buffer a bit quicker by removing redundant checks
9173 caused by calling gst_adapter_take.
9175 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9177 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9180 * tests/check/Makefile.am:
9181 * tests/check/elements/.cvsignore:
9182 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9183 (GST_START_TEST), (multiqueue_suite):
9184 Add some dead simple unit tests for the 'multiqueue' element
9185 (some bits don't work yet and are disabled for now).
9187 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9189 * gst/gstelement.c: (gst_element_get_request_pad),
9190 (gst_element_class_get_request_pad_template):
9191 Make gst_element_get_request_pad() create request pads only for
9192 request pad templates and not for, say, sometimes pad templates.
9194 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9196 * docs/design/draft-klass.txt:
9197 Add example that needs more thinking.
9199 * docs/design/draft-missing-plugins.txt:
9200 More thoughts about wrapper plugins.
9202 * docs/random/ensonic/embedded.txt:
9203 * docs/random/ensonic/profiling.txt:
9206 2007-03-25 Wim Taymans <wim@fluendo.com>
9208 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9209 (gst_base_src_loop):
9210 Only push the segment events in the PLAYING state for live sources.
9212 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9214 * gst/gstpipeline.c: (gst_pipeline_change_state):
9215 Modify the clock distribution path in PAUSED->PLAYING so that we
9216 never attempt to choose a new clock unless we're actually leaving
9217 the PAUSED state for the first time. This prevents choosing a
9218 different clock when the state_change gets called for a 2nd time due
9219 to some element doing an async state change.
9221 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9223 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9224 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9225 (gst_pad_chain_unchecked), (gst_pad_push):
9226 Revert last commit. This needs some more thoughts.
9228 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9230 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9231 (gst_pad_chain_unchecked), (gst_pad_push):
9232 Check in set_caps if the caps are compatible with the pad and remove
9233 two functions that are redundant now. Fixes #421543.
9235 2007-03-22 Wim Taymans <wim@fluendo.com>
9237 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9238 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9239 Unref some more to make valgrind happy.
9241 2007-03-22 Wim Taymans <wim@fluendo.com>
9243 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9244 (gst_system_clock_id_wait_jitter),
9245 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9246 Fix anoying regression that survived a few releases. When adding an
9247 async entry while blocking on a sync entry, the sync entry will unblock
9248 but still be busy, so it should continue to wait instead of returning
9250 Add some comments here and there.
9252 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9253 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9254 Add testcase for this.
9256 2007-03-22 Wim Taymans <wim@fluendo.com>
9258 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9259 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9260 WRONG_STATE and can silently pause the task. All other cases should
9263 2007-03-22 Wim Taymans <wim@fluendo.com>
9265 Patch by: Ville Syrjala <syrjala at sci dot fi>
9267 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9268 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9271 2007-03-21 Michael Smith <msmith@fluendo.com>
9273 * docs/pwg/advanced-types.xml:
9274 Fix some errors in the typefinding docs pointed out on irc.
9276 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9278 * libs/gst/base/gstbasesrc.c:
9279 Clarify FIXME comment in the face of having added unlock_stop()
9281 2007-03-21 Wim Taymans <wim@fluendo.com>
9283 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9284 Prepare for release where we warn against possible app breakage in the
9285 case of live pipelines along with an env var to enable/disable live
9286 preroll mode (GST_COMPAT=[no-]live-preroll).
9288 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9290 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9291 So we should use correct constants for checking for None offset.
9293 2007-03-20 Wim Taymans <wim@fluendo.com>
9295 * docs/design/part-block.txt:
9296 Mention the fact that the newly switched element should be set to at
9299 2007-03-20 Wim Taymans <wim@fluendo.com>
9302 Fix compilation with registry disabled as spotted by Saur.
9304 2007-03-20 Wim Taymans <wim@fluendo.com>
9306 Patch by: Olivier Crete <tester at tester dot ca>
9308 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9309 Look at the pending state too when syncing the element state to the
9310 parent. Fixes #420133.
9312 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9314 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9315 (gst_base_sink_change_state):
9316 * libs/gst/base/gstbasesink.h:
9317 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9318 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9319 (gst_base_src_deactivate):
9320 * libs/gst/base/gstbasesrc.h:
9321 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9322 for sub-classes to correctly clear any state they set trying to
9323 unlock, such as clearing out unlock commands from a command fd.
9324 API: basesrc::unlock_stop
9325 API: basesink::unlock_stop
9327 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9328 (gst_fd_sink_render), (gst_fd_sink_unlock),
9329 (gst_fd_sink_unlock_stop):
9330 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9331 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9332 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9334 Implement unlock_stop in fdsrc and fdsink.
9335 Implement seeking in fdsrc when a seekable fd is passed, as in
9336 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9338 2007-03-19 Wim Taymans <wim@fluendo.com>
9340 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9342 * gst/gstelement.c: (gst_element_class_init):
9343 Fix pad-added and pad-removed signal signatures so that the pad type is
9344 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9346 2007-03-19 Wim Taymans <wim@fluendo.com>
9348 * docs/gst/gstreamer-sections.txt:
9349 Add new element field and method.
9351 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9352 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9353 (gst_bin_recalc_state), (gst_bin_get_state_func),
9354 (gst_bin_element_set_state), (gst_bin_change_state_func),
9355 (gst_bin_continue_func), (bin_bus_handler),
9356 (bin_push_state_continue), (bin_handle_async_start),
9357 (bin_handle_async_done), (gst_bin_handle_message_func):
9358 Make async state changes a bit smarter by using new ASYNC_START and
9359 ASYNC_DONE messages. This reduces the number of times we run the state
9360 recalculation thread.
9361 Don't change state of element with a pending ASYNC_START message.
9362 Deprecate STATE_DIRTY messages.
9364 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9365 (gst_element_get_state_func), (gst_element_continue_state),
9366 (gst_element_lost_state), (gst_element_set_state_func),
9367 (gst_element_change_state):
9369 Keep the state that was last set by the app in a new element field.
9370 Don't allow state changes when handling an element event.
9371 Post ASYNC_START and ASYNC_DONE messages.
9372 Change lost_state so that we go to PAUSED and wait for the parent to set
9373 us to PLAYING again (so latency calculation can be performed)
9374 Export gst_element_change_state() method so that subclasses can use it.
9375 API: gst_element_change_state()
9376 API: GST_STATE_TARGET
9378 * gst/gstpipeline.c: (gst_pipeline_class_init),
9379 (reset_stream_time), (gst_pipeline_change_state),
9380 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9381 Using the new ASYNC_START message we can reset the base_time when
9382 needed. This can then be used to implement base_time redistribution in
9383 flushing seeks so that we can remove the explicit seek handling.
9384 Perform latency query and configuration when going to PLAYING.
9386 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9387 (gst_base_sink_query), (gst_base_sink_change_state):
9388 Post new ASYNC_START/ASYNC_DONE messages.
9390 * tests/check/generic/sinks.c: (GST_START_TEST):
9391 Fix test because the bin will not set the async element to PLAYING right
9394 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9395 Make the message check a little stronger.
9396 Handle ASYNC messages.
9398 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9399 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9400 Expect ASYNC_DONE messages.
9402 2007-03-19 Wim Taymans <wim@fluendo.com>
9404 * docs/gst/gstreamer-sections.txt:
9405 * gst/gstmessage.c: (gst_message_new_async_start),
9406 (gst_message_new_async_done), (gst_message_parse_info),
9407 (gst_message_parse_async_start):
9409 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9412 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9414 * tools/gst-inspect.c:
9415 (print_plugin_automatic_install_info_codecs):
9416 Now that we don't check for the 'Codec' keyword any longer in the
9417 klass, we shouldn't spew a warning if the klass isn't a decoder or
9418 encoder (since it might be a Source/Network, for example).
9420 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9422 * tools/gst-inspect.c:
9423 (print_plugin_automatic_install_info_codecs):
9424 Don't require decoder/demuxer/depayloader elements or
9425 encoder/muxer/paylader elements to have 'Codec' as part of their
9426 factory class string when introspecting a plugin's capabilities.
9427 draft-klass.txt mentions that it might be removed in future, and
9428 flump3dec doesn't have it as part of its class string, so chances
9429 are others might also not have it.
9431 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9453 Update translations from translation project
9455 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9457 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9458 (gst_child_proxy_set_property):
9459 Invert precondition check to be alike the ones in the mimiced gobject
9462 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9464 * docs/design/draft-tagreading.txt:
9465 * docs/random/ensonic/audiobaseclasses.txt:
9466 Do some Architect work.
9468 * gst/gstobject.c: (gst_object_set_name):
9472 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9474 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9476 * gst/gstsystemclock.c: (gst_system_clock_init),
9477 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9478 Defer starting the async system clock thread until the first async
9479 wait is scheduled. Fixes #414986.
9481 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9483 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9484 (gst_single_queue_free):
9485 Fix small leak (free GstSingleQueue structure too, not only contents).
9487 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9489 * gst/gstbin.c:(gst_bin_add):
9490 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9491 * win32/common/libgstbase.def:
9492 * win32/common/libgstreamer.def:
9493 Add new exported functions.
9495 2007-03-09 Wim Taymans <wim@fluendo.com>
9497 * docs/plugins/gstreamer-plugins-sections.txt:
9500 2007-03-09 Wim Taymans <wim@fluendo.com>
9502 * docs/gst/gstreamer-sections.txt:
9503 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9505 Add metadata copy functions. Fixes #393099.
9506 API: gst_buffer_copy_metadata()
9508 * gst/gstutils.c: (gst_buffer_stamp):
9509 * libs/gst/base/gstbasetransform.c:
9510 (gst_base_transform_prepare_output_buffer):
9511 Use new metadata copy functions.
9513 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9515 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9516 (gst_identity_init), (gst_identity_check_perfect),
9517 (gst_identity_check_imperfect_timestamp),
9518 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9519 (gst_identity_set_property), (gst_identity_get_property):
9520 * plugins/elements/gstidentity.h:
9521 Separate out check-imperfect-timestamp and check-imperfect-offset.
9522 Put back check-perfect as it was to keep compatibility.
9524 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9526 * gst/gstelement.c: (gst_element_dispose):
9527 There's no need to warn if VOID_PENDING is not NONE here, as
9528 long as the state is NULL it's ok, and that's checked immediately
9531 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9533 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9534 Fix check for perfect stream to ignore buffers with -1
9535 offsets/offset ends when checking data contiguity.
9537 2007-03-08 Wim Taymans <wim@fluendo.com>
9539 * tools/gst-launch.c: (event_loop):
9540 Print INFO messages.
9542 2007-03-08 Wim Taymans <wim@fluendo.com>
9544 * libs/gst/base/gstbasetransform.c:
9545 (gst_base_transform_sink_eventfunc),
9546 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9547 (gst_base_transform_activate):
9548 * libs/gst/base/gstbasetransform.h:
9549 Add support for dropping buffers with custom GstFlowReturn.
9550 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9551 buffers or dropped buffers.
9553 * docs/libs/gstreamer-libs-sections.txt:
9554 docs for new custom return code.
9556 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9557 Use drop support in base class to implement drop-probability.
9559 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9561 * gst/gst.c: (load_plugin_func):
9562 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9563 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9564 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9565 Remove newlines at end of debug log strings.
9567 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9569 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9570 Only post bus message at max, once per buffer received.
9572 2007-03-07 Wim Taymans <wim@fluendo.com>
9574 * docs/design/Makefile.am:
9575 * docs/design/part-synchronisation.txt:
9576 Add doc about synchronisation
9578 * docs/design/draft-latency.txt:
9579 * docs/design/part-TODO.txt:
9580 * docs/design/part-clocks.txt:
9581 * docs/design/part-events.txt:
9582 * docs/design/part-gstbus.txt:
9583 * docs/design/part-gstpipeline.txt:
9584 * docs/design/part-live-source.txt:
9585 * docs/design/part-messages.txt:
9586 * docs/design/part-overview.txt:
9587 * docs/design/part-streams.txt:
9588 * docs/design/part-trickmodes.txt:
9589 Documentation updates.
9591 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9594 Update the doap file.
9596 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9598 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9599 Rename non-perfect to imperfect for Mike and for the sanctity of the
9601 Also make sure bus message gets emitted for data-incontiguities.
9603 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9605 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9606 (gst_identity_start):
9607 * plugins/elements/gstidentity.h:
9608 Emit bus message if check-perfect is true and we encounter a
9609 non-perfect stream between 2 consecutive buffers.
9612 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9617 === release 0.10.12 ===
9619 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9622 releasing 0.10.12, "Inevitable Demise"
9624 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9627 Version 0.10.11.2 (0.10.12 pre-release)
9628 Bump libtool versioning.
9630 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9632 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9633 Log flow-names and not numbers.
9635 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9638 Convert to new AG_GST style.
9640 2007-02-28 Wim Taymans <wim@fluendo.com>
9642 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9643 Don't unref query twice.
9645 2007-02-28 Wim Taymans <wim@fluendo.com>
9647 * gst/gstvalue.c: (gst_value_transform_object_string),
9648 (_gst_value_initialize):
9649 Implement GstObject -> string transform so we print object names
9650 when serializing GValues containing GstObjects.
9652 2007-02-28 Wim Taymans <wim@fluendo.com>
9654 * docs/gst/gstreamer-sections.txt:
9655 Add new stuff to docs.
9657 2007-02-28 Wim Taymans <wim@fluendo.com>
9659 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9660 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9661 (gst_base_sink_change_state):
9662 Improve latency query code.
9663 Don't leak latency events.
9665 * tests/check/gst/gstbin.c: (GST_START_TEST):
9668 2007-02-28 Wim Taymans <wim@fluendo.com>
9670 * gst/gstelement.c: (gst_element_message_full),
9671 (gst_element_get_state_func):
9673 Improve docs a little. Added Since: for new macro.
9675 * gst/gstobject.c: (gst_object_sink):
9676 * gst/gstpipeline.c: (gst_pipeline_change_state),
9677 (gst_pipeline_set_new_stream_time):
9678 * gst/gstpipeline.h:
9679 Improve debugging and docs.
9681 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9684 2007-02-28 Wim Taymans <wim@fluendo.com>
9686 * gst/gstelement.c: (gst_element_message_full),
9687 (gst_element_set_locked_state), (gst_element_get_state_func),
9688 (gst_element_change_state):
9689 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9690 Documentation updates.
9691 Small code cleanups.
9693 * gst/gstmessage.c: (gst_message_new_info),
9694 (gst_message_parse_info):
9696 API: gst_message_new_info()
9697 API: gst_message_parse_info()
9698 Add INFO message create and parse code.
9700 2007-02-28 Wim Taymans <wim@fluendo.com>
9702 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9703 (bin_query_latency_done):
9704 Also report the live parameter of a latency query.
9706 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9708 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9709 Copy the current generic/states example from -base and adapt so
9710 we can use the exact same code everywhere.
9711 Check a STATES_IGNORE_ELEMENTS env var which can be used
9712 to ignore certain element factories for this test, which is
9713 what is being done in -base
9714 * tests/check/Makefile.am:
9715 Mention this environment variable.
9717 2007-02-27 Wim Taymans <wim@fluendo.com>
9719 * docs/gst/gstreamer-sections.txt:
9720 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9721 (gst_bus_timed_pop), (gst_bus_pop):
9723 API: gst_bus_timed_pop()
9724 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9725 message to arrive on the bus.
9727 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9729 Two unit tests for new _timed_pop() function.
9731 2007-02-23 Wim Taymans <wim@fluendo.com>
9733 * gst/gstpipeline.c: (gst_pipeline_change_state),
9734 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9735 Don't ref a NULL clock in _provide_clock_func().
9736 Don't allow an INVALID delay.
9737 Don't try to calculate base_time with an invalid start_time.
9738 Also distribute and notify a NULL clock when it was selected.
9740 * tools/gst-launch.c: (event_loop):
9741 Don't crash when a NULL clock was selected in the pipeline.
9743 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9745 * docs/design/Makefile.am:
9746 * docs/design/draft-missing-plugins.txt:
9747 * docs/random/draft-missing-plugins.txt:
9748 Some small updates: update plugin system identifier prefix
9749 ('gstreamer.net' to 'gstreamer'), mention our new install
9750 API in libgstbaseutils rather than libgimme-codec, add
9751 reference to the online docs.
9753 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9755 * win32/common/config.h:
9756 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9757 use moap cl ci to only check in what is mentioned in the ChangeLog.
9759 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9761 * docs/gst/gstreamer-sections.txt:
9763 Fix up documentation to link to the correct GstGError section.
9764 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9766 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9768 * tools/gst-launch.c: (event_loop):
9769 Make sure that we actually show the important message part of a
9771 No need to check if the gerror is not NULL to free; first of all
9772 g_free accepts NULL; and second the default error handler would
9773 segfault if gerror was NULL.
9775 2007-02-21 Wim Taymans <wim@fluendo.com>
9777 * docs/gst/gstreamer-sections.txt:
9778 Removed docs as well.
9780 2007-02-21 Wim Taymans <wim@fluendo.com>
9782 * gst/gstmessage.c: (gst_message_parse_duration):
9784 Remove new messages for release.
9786 2007-02-20 Wim Taymans <wim@fluendo.com>
9788 * docs/design/part-gstghostpad.txt:
9789 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9790 (gst_ghost_pad_new_full):
9791 Make the ghostpad a parent of the internal pad again for better backward
9792 compatibility. Don't write code that relies on this however.
9794 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9795 (gst_pad_link_check_hierarchy):
9796 Require that parents should be GstElements in the hierarchy check.
9798 2007-02-20 Wim Taymans <wim@fluendo.com>
9800 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9801 (gst_bin_change_state_func), (bin_query_min_max_init),
9802 (bin_query_latency_fold), (bin_query_latency_done),
9805 Implement latency query.
9807 2007-02-20 Wim Taymans <wim@fluendo.com>
9809 * docs/design/part-gstghostpad.txt:
9810 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9811 (gst_ghost_pad_internal_do_activate_push),
9812 (gst_ghost_pad_internal_do_activate_pull),
9813 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9814 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9815 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9816 Do not set the internal pad as a parent anymore so we can avoid
9817 hierarchy linking errors when the ghostpad has no parent yet. This also
9818 fixes failed activation because of unlinked internal pads, which in
9819 turn fixes the impossible case where you have to activate a pad before
9820 you can add it to a running element.
9823 * gst/gstpad.c: (pre_activate), (post_activate),
9824 (gst_pad_set_active), (gst_pad_activate_pull),
9825 (gst_pad_activate_push), (gst_pad_check_pull_range):
9826 Add some more debug info.
9827 Mark activation mode in pre_activate so that we don't try to activate in
9828 endless loops. Fixes #385084.
9830 2007-02-19 Wim Taymans <wim@fluendo.com>
9832 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9833 (gst_base_transform_check_get_range):
9834 Implement a checkgetrange function instead of relying on the default
9835 core behaviour that assumes we can operate in pull mode if we have a
9836 getrange function. First step at fixing #385084.
9838 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9840 * gst/gstchildproxy.h:
9841 * libs/gst/base/gstbasesink.h:
9842 * libs/gst/base/gstbasesrc.h:
9843 * libs/gst/base/gstbasetransform.h:
9844 More docs coverage and some ChangeLog surgery (add missing names)
9846 2007-02-15 Wim Taymans <wim@fluendo.com>
9848 * docs/design/part-TODO.txt:
9849 * docs/design/part-activation.txt:
9850 * docs/design/part-block.txt:
9851 * docs/design/part-buffering.txt:
9852 * docs/design/part-clocks.txt:
9853 * docs/design/part-element-source.txt:
9854 * docs/design/part-events.txt:
9855 * docs/design/part-gstbin.txt:
9856 * docs/design/part-gstbus.txt:
9857 * docs/design/part-gstpipeline.txt:
9858 * docs/design/part-live-source.txt:
9859 * docs/design/part-messages.txt:
9860 * docs/design/part-overview.txt:
9861 * docs/design/part-qos.txt:
9862 * docs/design/part-query.txt:
9863 * docs/design/part-states.txt:
9864 * docs/design/part-trickmodes.txt:
9865 Some doc updates. Start renaming from stream_time to running_time where
9866 it was used wrongly.
9868 2007-02-15 Wim Taymans <wim@fluendo.com>
9870 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9871 Answer LATENCY query.
9873 2007-02-15 Wim Taymans <wim@fluendo.com>
9875 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9879 2007-02-15 Wim Taymans <wim@fluendo.com>
9881 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9882 (gst_pad_dispatcher):
9883 Improve debugging of default pad dispatcher and query functions.
9885 2007-02-15 Wim Taymans <wim@fluendo.com>
9887 * docs/gst/gstreamer-sections.txt:
9888 Remove old unused method.
9890 2007-02-13 Wim Taymans <wim@fluendo.com>
9892 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9895 2007-02-13 Wim Taymans <wim@fluendo.com>
9897 * docs/design/part-seeking.txt:
9900 * gst/gstsegment.c: (gst_segment_set_seek):
9901 Revert old bogus change that should make seeking work again.
9903 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9905 * docs/random/ensonic/dynlink.txt:
9906 * docs/random/ensonic/interfaces.txt:
9907 * docs/random/ensonic/receipies.txt:
9908 Possible dynamic reconnection api, plus some type fixes the other two
9911 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9913 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9914 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9915 Also check for an absolute path following file:// in the filesrc
9916 element. Remove redundant check and call g_path_is_absolute() on the
9919 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9921 * docs/design/draft-klass.txt:
9922 Add existing category analysis.
9925 Fix doc example, framerate is a fraction.
9927 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9930 * docs/gst/Makefile.am:
9931 * docs/gst/gstreamer-sections.txt:
9932 * docs/libs/Makefile.am:
9933 Erm, forgot a bunch of --extra-dir.
9935 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9938 * docs/gst/Makefile.am:
9939 * docs/libs/Makefile.am:
9940 * docs/plugins/Makefile.am:
9941 Add crossreferences to glib/gobject docs.
9943 2007-02-12 Wim Taymans <wim@fluendo.com>
9945 * docs/design/draft-latency.txt:
9948 * docs/libs/gstreamer-libs-sections.txt:
9949 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9950 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9951 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9952 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9953 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9954 (gst_base_sink_get_position), (gst_base_sink_query),
9955 (gst_base_sink_change_state):
9956 * libs/gst/base/gstbasesink.h:
9957 API: gst_base_sink_query_latency() to let subclasses query the upstream
9959 API: gst_base_sink_get_latency() to let subclasses query the configured
9960 latency in the sink.
9961 Implement query and set latency.
9963 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9964 don't continue preroll when we are flushing. Fixes #405284.
9966 * tests/check/pipelines/stress.c: (change_state_timeout),
9967 (quit_timeout), (GST_START_TEST), (stress_suite):
9970 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9972 Patch by: René Stadler <mail at renestadler de>
9974 * docs/gst/gstreamer-sections.txt:
9975 * gst/gsttaglist.c: (_gst_tag_initialize):
9977 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9979 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9981 * docs/libs/Makefile.am:
9982 Fix path to core docs.
9984 * gst/gstbin.c: (gst_bin_get_by_interface),
9985 (gst_bin_iterate_all_by_interface):
9986 Refix docs by also renaming 'interface' to 'iface' in implementation.
9988 * docs/gst/gstreamer-sections.txt:
9990 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9991 * gst/gstchildproxy.h:
9992 * gst/gstelementfactory.c:
9993 * gst/gstpadtemplate.h:
9994 * libs/gst/controller/gstcontroller.c:
9995 (gst_controlled_property_new):
9998 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
10000 * gst/gstbin.h:(gst_bin_get_by_interface),
10001 (gst_bin_iterate_all_by_interface):
10002 Replace interface parameter name by iface as interface is
10003 a reserved keyword in Visual Studio for C++ projects so it removes
10004 a build error for application developpers using VS.
10005 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10006 Fix a bug on Windows in uri format check. Now the prefix checked
10007 is file:// and next we check if the path after file:// is absolute.
10008 * win32/common/libgstbase.def:
10009 * win32/common/libgstdataprotocol.def:
10010 * win32/common/libgstgstreamer.def:
10011 Add new exported functions.
10013 2007-02-09 Andy Wingo <wingo@pobox.com>
10015 * tests/check/pipelines/simple-launch-lines.c
10016 (simple_launch_lines_suite, test_tee): Disable tee test until I
10017 have time to fix it :-(
10019 * tests/check/Makefile.am (noinst_HEADERS):
10020 * tests/check/libs/libsabi.c:
10021 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10022 * tests/check/gst/gstabi.c:
10023 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10025 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10026 tests for push and pull tee behavior.
10028 * plugins/elements/gsttee.h:
10029 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10030 mark as deprecated as well as unimplemented. It was a crack idea.
10031 Add support for tee operating in pull mode, off by default.
10033 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10034 normal-case logs down to LOG, raise errors to WARNING.
10035 (gst_registry_xml_read_cache): Don't log before calling a function
10038 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10039 exit (registry finalize).
10040 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10041 DEBUG log when we emit signals that people don't even have the
10042 chance to connect to.
10043 (gst_registry_scan_path_level): Less logging in the normal case.
10045 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10047 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10049 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10050 Correctly generate EOS for non-seekable files. We don't have a total
10051 length for them and would get an unexpected end of file if we only
10052 special-cased for regular files. (Fixes: #404569)
10054 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10056 * tests/check/elements/filesrc.c: (GST_START_TEST),
10058 Add unit test for the GstURIHandler interface in filesrc. This also
10059 tests the newly added file://localhost/foo/bar support.
10061 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10063 * gst/gstelementfactory.h:
10064 The klass string is not a hierarchy. Add reference to the design doc
10065 for more information and common types.
10067 2007-02-02 Wim Taymans <wim@fluendo.com>
10069 * gst/gstquery.c: (gst_query_new_latency):
10070 Remove old structure field.
10072 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10074 * tools/gst-launch.1.in:
10075 Give example for network streaming (#351998)
10077 2007-02-02 Wim Taymans <wim@fluendo.com>
10079 * docs/gst/gstreamer-sections.txt:
10080 Add docs for new methods.
10082 * gst/gstevent.c: (gst_event_new_latency),
10083 (gst_event_parse_latency):
10085 Add new LATENCY event to configure latency in a pipeline.
10086 API: gst_event_new_latency
10087 API: gst_event_parse_latency
10089 * gst/gstmessage.c: (gst_message_new_buffering),
10090 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10091 (gst_message_new_latency), (gst_message_parse_buffering),
10092 (gst_message_parse_lost_preroll):
10093 * gst/gstmessage.h:
10094 Added messages used in draft-latency.
10095 API: gst_message_new_lost_preroll
10096 API: gst_message_parse_lost_preroll
10097 API: gst_message_new_prerolled
10098 API: gst_message_new_latency
10100 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10101 (gst_query_parse_latency):
10103 Implemented new latency query as in design doc.
10104 API: gst_query_new_latency
10105 API: gst_query_set_latency
10106 API: gst_query_parse_latency
10108 2007-02-02 Wim Taymans <wim@fluendo.com>
10110 * docs/design/draft-latency.txt:
10111 Slight redesign to allow for dynamic latency adjustments.
10113 * docs/design/part-negotiation.txt:
10116 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10118 reviewed by: Wim Taymans <wim@fluendo.com>
10120 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10121 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10122 Allow file://localhost/foo/bar URLs and correctly fail for every other
10123 hostname that one sets. This was gnomevfssrc is linked for those if
10124 installed as it can handle it (#403172)
10126 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10128 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10130 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10131 (unref_data), (gst_collect_pads_add_pad_full):
10132 * libs/gst/base/gstcollectpads.h:
10133 Don't put the previously added destroy notify in the GstCollectData
10134 struct as all it's padding is already used and we don't want to break
10135 ABI. Instead put in the pad's GObject data for now. This should be
10136 cleaned up for 0.11 (#402393).
10138 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10140 reviewed by: Wim Taymans <wim@fluendo.com>
10142 * docs/libs/gstreamer-libs-sections.txt:
10143 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10144 (unref_data), (gst_collect_pads_add_pad),
10145 (gst_collect_pads_add_pad_full):
10146 * libs/gst/base/gstcollectpads.h:
10147 API: Add function to specify a destroy notification for custom
10148 GstCollectData when adding new pads in GstCollectPads (#402393).
10150 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10153 Update Swedish translation (#378255).
10155 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10157 * docs/design/draft-klass.txt:
10158 Fix the previous change, this is a list of categories and not a hierarchy.
10160 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10162 * docs/design/draft-klass.txt:
10163 Add info about how to get a list of used classes.
10165 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10167 * plugins/elements/gsttypefindelement.c:
10168 (gst_type_find_element_chain_do_typefinding),
10169 (gst_type_find_element_change_state):
10170 Don't leak found caps in chain function (no idea why that never
10171 showed up as a leak anywhere).
10173 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10176 Fix and expand GstPluginDesc API docs.
10178 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10181 * gst/gstelementfactory.c:
10182 * gst/gstpadtemplate.h:
10185 * libs/gst/controller/gstcontroller.c:
10186 (gst_controlled_property_new):
10187 * tests/examples/controller/audio-example.c:
10190 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10193 comment about refining the xml deps
10195 * docs/manuals.mak:
10196 comments about moving away from jade for docs
10199 recommit the ifdefs to use the binary registry
10201 * gst/gstbin.c: (gst_bin_change_state_func):
10202 this break is obsolete
10204 * gst/gstelementfactory.h:
10205 better GST_ELEMENT_DETAILS docs, add comment about translation
10210 * gst/gstobject.c: (gst_signal_object_get_type):
10211 add G_UNLIKELY as usual
10213 * gst/gstpad.c: (gst_pad_event_default):
10214 add fall trhu comment
10216 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10217 (gst_registry_binary_initialize_magic),
10218 (gst_registry_binary_save_string),
10219 (gst_registry_binary_save_pad_template),
10220 (gst_registry_binary_save_feature),
10221 (gst_registry_binary_save_plugin),
10222 (gst_registry_binary_write_cache),
10223 (gst_registry_binary_check_magic),
10224 (gst_registry_binary_load_pad_template),
10225 (gst_registry_binary_load_feature),
10226 (gst_registry_binary_load_plugin),
10227 (gst_registry_binary_read_cache):
10228 comment typo and formatting
10230 * gst/gstutils.c: (gst_element_state_get_name),
10231 (gst_element_state_change_return_get_name):
10232 remove obsolete breaks
10234 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10235 add FIXME 0.11 and remove cpp comment
10237 2007-01-29 Edward Hervey <edward@fluendo.com>
10239 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10240 Fix print statement in an even more portable way.
10242 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10244 * docs/gst/gstreamer-sections.txt:
10246 API: add GST_ROUND_DOWN_* macros (#401781).
10248 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10250 * docs/gst/gstreamer.types.in:
10251 * gst/gstregistry.c: (gst_registry_class_init):
10252 Document registry signals and make gtk-doc pick them up (#401381).
10254 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10256 * docs/pwg/building-testapp.xml:
10257 Add some audioconverts and audioresample to the pipeline, and some
10258 more comments and error handling.
10260 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10262 * docs/manual/manual.xml:
10263 * docs/pwg/pwg.xml:
10264 Fix typo (#400987).
10266 2007-01-26 Wim Taymans <wim@fluendo.com>
10268 * gst/gstcaps.c: (gst_static_caps_get):
10269 Init caps flags too.
10271 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10273 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10275 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10276 If not using mmap'ed files try to seek to the end instead of the
10277 start to determine whether we can seek at all. This fixes the case
10278 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10279 seeks for everything afterwards fail. Fixes #400656
10281 2007-01-25 Wim Taymans <wim@fluendo.com>
10283 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10284 Add some refcount debugging.
10285 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10286 in multiple streaming threads.
10288 2007-01-25 Wim Taymans <wim@fluendo.com>
10290 Patch by: David Schleef <ds at schleef dot org>
10292 * docs/libs/gstreamer-libs-sections.txt:
10293 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10294 * libs/gst/base/gstadapter.h:
10295 API: gst_adapter_copy() that can reduce the amount of memcpy when
10296 getting data from the adapter. Fixes #388201.
10298 2007-01-25 Edward Hervey <edward@fluendo.com>
10300 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10301 In print statements, "%x" is for guint. Fixes build on macosx.
10303 2007-01-24 Edward Hervey <edward@fluendo.com>
10305 * plugins/elements/gstmultiqueue.c:
10306 (gst_multi_queue_loop):
10308 (single_queue_overrun_cb), (single_queue_underrun_cb),
10309 (single_queue_check_full), (gst_single_queue_new):
10310 Implement single queue growth system.
10311 This uses the extra-size properties, and will grow single queues by
10312 that much if one goes full whereas there are others empty. This is
10313 called extra-mode in the code.
10314 When a single queue's levels go back below the initial max-size
10315 limits, it is no longer in extra-mode. This is to ensure we don't
10316 consume too much memory.
10319 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10321 * gst/gst.c: (gst_init_get_option_group):
10322 Make warning about late g_thread_init() calls a bit more explicit,
10323 so that it's more obvious to application developers what they need
10324 to do if a user files a bug against their application.
10326 2007-01-22 Edward Hervey <edward@fluendo.com>
10328 * plugins/elements/gstmultiqueue.c:
10329 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10330 Remove previous hack of unsetting the flushing flag for the source pad
10331 instead of activating it. Instead, fix the source pad activate function
10332 so that it no longer depends on having a parent set or not.
10334 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10336 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10338 * docs/manual/basics-bus.xml:
10339 Fix example code, gst_element_unref() doesn't exist any longer.
10341 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10343 Patch by: Mark Nauwelaerts <manauw at skynet be>
10346 Fix two docs typoes (#399094).
10348 2007-01-19 Edward Hervey <edward@fluendo.com>
10350 * docs/faq/gst-uninstalled:
10351 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10352 depending on libgstbaseutils can work in uninstalled environment.
10354 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10356 * gst/gsttaglist.h:
10357 * gst/gsttagsetter.c:
10358 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10359 statement for new tag.
10361 2007-01-17 Edward Hervey <edward@fluendo.com>
10363 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10364 When dynamically creating single queues, activate sinkpad before adding
10366 We should be doing the same thing for the source pad, but we can't
10367 since it would call a method which needs the parent to be set in order
10368 to work propertly. Instead of activating the source pad, we just unset
10369 the flushing flag, which is the minimal requirement for adding a pad
10370 to an element in a state greater than READY.
10372 2007-01-17 Edward Hervey <edward@fluendo.com>
10374 * docs/faq/gst-uninstalled:
10375 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10378 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10380 * tests/check/gst/gstabi.c:
10381 * tests/check/gst/struct_hppa.h:
10382 * tests/check/libs/libsabi.c:
10383 * tests/check/libs/struct_hppa.h:
10384 Add ABI structs for HPPA (see #393796).
10386 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10388 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10389 Actually write ABI structs to the file specified in the GST_ABI
10390 environment variable, as the message we print claims we would.
10392 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10394 * tests/check/gst/gsttask.c:
10395 Fix header comment.
10397 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10399 * gst/gsttaglist.c: (_gst_tag_initialize):
10400 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10401 previous two entries.
10403 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10405 * docs/gst/gstreamer-sections.txt:
10406 * gst/gsttaglist.c: (_gst_tag_initialize):
10407 * gst/gsttaglist.h:
10408 Add tag support for beat-per-minute.
10410 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10412 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10413 (gst_registry_binary_initialize_magic),
10414 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10415 (gst_registry_binary_save_pad_template),
10416 (gst_registry_binary_save_feature),
10417 (gst_registry_binary_save_plugin),
10418 (gst_registry_binary_write_cache),
10419 (gst_registry_binary_check_magic),
10420 (gst_registry_binary_load_pad_template),
10421 (gst_registry_binary_load_feature),
10422 (gst_registry_binary_load_plugin),
10423 (gst_registry_binary_read_cache):
10424 * gst/gstregistrybinary.h:
10425 Use glib types, cleanup comments, impement interfaces and uri-types.
10427 2007-01-13 Andy Wingo <wingo@pobox.com>
10429 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10430 getrange() to return buffers with other caps, while we fix
10431 demuxers and typefind, or otherwise change part-negotiation.txt.
10433 2007-01-12 Andy Wingo <wingo@pobox.com>
10435 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10436 Factor start/stop into this private function instead of partially
10437 in activate functions and partially in the change_state function.
10438 Fixes setup before the element has changed from READY->PAUSED, as
10439 is the case in pull-mode pipelines.
10440 (gst_base_transform_sink_activate_push)
10441 (gst_base_transform_src_activate_pull): Refactor to use
10442 gst_base_transform_activate().
10443 (gst_base_transform_change_state): Removed, not needed any more.
10445 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10446 Truncate before fixating.
10448 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10449 Don't set_caps() if the result of fixating is ANY, as it's not
10450 supported, and not necessary in the case of a link with no
10451 template caps on either side. Fixes tests/check/libs/basesrc in
10452 some pull-mode tests.
10454 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10455 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10456 (gst_base_transform_src_activate_pull):
10457 Track the activation mode.
10458 (gst_base_transform_setcaps): In pull mode, when activating the
10459 src pad, after activating the sink pad, activate the sink pad's
10460 peer, as discussed in part-negotiation.txt.
10462 * libs/gst/base/gstbasesrc.h:
10463 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10464 vmethod, as in basesink.
10466 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10468 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10469 mode, first proxy the setcaps to the peer pad.
10470 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10471 new fixate vmethod.
10472 (gst_base_sink_default_activate_pull): Rename from
10473 gst_base_sink_activate_pull.
10474 (gst_base_sink_negotiate_pull): New function, performs negotiation
10475 in pull mode before calling ::activate_pull().
10476 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10477 vmethod instead of the default implementation. I have no idea how
10478 this worked before. Negotiate before calling activate_pull.
10480 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10481 sink pads in pull mode. In addition to being correct, fixes
10482 filesrc ! decodebin ! identity ! fakesink.
10483 (gst_pad_get_range, gst_pad_pull_range): Don't call
10484 gst_pad_set_caps() if the caps changes; instead error out with
10485 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10487 2007-01-12 Andy Wingo <wingo@pobox.com>
10489 * docs/design/part-negotiation.txt: Update with more policy.
10491 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10493 * libs/gst/check/gstbufferstraw.h:
10494 * libs/gst/check/gstcheck.h:
10495 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10498 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10500 * tests/check/Makefile.am:
10501 * tests/check/gst/.cvsignore:
10502 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10503 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10504 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10505 (GST_START_TEST), (gst_tag_setter_suite):
10506 Add minimal unit test for beforementioned GstTagSetter bug.
10508 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10510 Patch by: René Stadler <mail at renestadler dot de>
10512 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10513 gst_tag_list_merge() returns a new list, so it's not the best idea
10514 to ingore its return value. Effectively meant that tags could only
10515 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10516 Also add function guard to require a non-NULL taglist as input (has
10517 always been so due to gst_tag_list_copy(), just making it explicit).
10519 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10521 * docs/random/draft-missing-plugins.txt:
10522 Some additions: mention new API that is supposed to be used at the
10523 various stages; short blob about new gst-inspect introspection
10524 option; mention potential future problem with plugins that have
10525 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10527 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10529 * tools/gst-inspect.c:
10530 (print_plugin_automatic_install_info_codecs),
10531 (print_plugin_automatic_install_info_protocols),
10532 (print_plugin_automatic_install_info), (main):
10533 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10534 introspect plugin files and get machine-parsable output that corresponds
10535 to the last bit of the missing-plugin installer string (small gotcha:
10536 doesn't take into account ranks).
10538 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10541 * docs/gst/gstreamer-sections.txt:
10543 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10544 (gst_registry_lookup_locked):
10545 * gst/gstregistry.h:
10546 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10547 (gst_registry_binary_initialize_magic),
10548 (gst_registry_binary_save_string),
10549 (gst_registry_binary_save_pad_template),
10550 (gst_registry_binary_save_feature),
10551 (gst_registry_binary_save_plugin),
10552 (gst_registry_binary_write_cache),
10553 (gst_registry_binary_check_magic),
10554 (gst_registry_binary_load_pad_template),
10555 (gst_registry_binary_load_feature),
10556 (gst_registry_binary_load_plugin),
10557 (gst_registry_binary_read_cache):
10558 * gst/gstregistrybinary.h:
10559 * gst/gstregistryxml.c: (load_feature),
10560 (gst_registry_xml_read_cache):
10561 commit binary registry (disabled by default, see #359653)
10563 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10565 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10566 Fix 'make check' too.
10568 2007-01-10 Andy Wingo <wingo@pobox.com>
10570 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10573 * docs/design/part-negotiation.txt: Update with, um, one way that
10574 pull-mode negotiation might work?
10577 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10578 that the pad must be a src pad; makes sense to call it the other
10579 way in pull mode, and the logic is symmetric anyway.
10581 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10583 * plugins/elements/gstfilesink.c:
10584 Include <stdio.h> for fseeko().
10586 2007-01-10 Wim Taymans <wim@fluendo.com>
10590 Reserve LATENCY event.
10592 2007-01-09 Wim Taymans <wim@fluendo.com>
10594 * docs/design/draft-latency.txt:
10597 2007-01-09 Wim Taymans <wim@fluendo.com>
10599 * docs/design/draft-latency.txt:
10602 * gst/gstelement.h:
10603 * gst/gststructure.c:
10607 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10609 * tests/check/.cvsignore:
10610 Ignore test-registry.xml as well.
10612 2007-01-09 Wim Taymans <wim@fluendo.com>
10614 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10615 unref data at the end when we are done with the pad.
10617 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10619 * docs/gst/gstreamer-sections.txt:
10620 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10621 (init_post), (gst_deinit), (gst_update_registry):
10623 API: add gst_update_registry() (#391296).
10625 * tests/check/Makefile.am:
10626 * tests/check/gst/gstregistry.c:
10627 * tests/check/gst/.cvsignore:
10628 Simple unit test for the above.
10630 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10632 * gst/gstregistry.c: (gst_registry_scan_path_level):
10633 Plugin extension on HP-UX is .sl, add that to the list of approved
10634 plugin extensions (see #393796).
10636 * tests/check/gst/gstpad.c: (GST_START_TEST):
10637 ulong => gulong. Fixes compilation with HP-UX compiler.
10639 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10640 Fix compilation if valgrind headers are not available.
10642 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10644 * win32/common/libgstreamer.def:
10645 Add new exported function.
10646 * win32/vs6/libgstbase.dsp:
10647 Add gstdataqueue.c to the build.
10648 * win32/vs6/libgstcoreelements.dsp:
10649 Add gstmultiqueue.c to the build.
10651 2007-01-06 Andy Wingo <wingo@pobox.com>
10653 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10654 activate_pull(), providing for a way to specialize the process of
10655 spawning a thread to pull on the sink pad. There is a default
10658 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10659 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10660 (gst_base_sink_init): Renamed pad activation functions (inserting
10661 "_pad" in their names). Refactor to use the new activate_pull
10662 vmethod, as appropriate.
10663 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10664 default activate_pull function to start a task pulling from the
10665 sink pad, as before.
10667 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10668 on the pads if necessary, as in push()/chain(). Update docs.
10669 Shouldn't affect existing pull() usage as it is currently only
10670 being used on buffers without caps.
10672 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10674 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10676 Call g_thread_init() first thing in gst_init() / gst_check_init().
10677 When initialisation is done via gst_init_get_option_group() and
10678 GOption parsing, issue a warning if the GLib thread system has not
10679 been initialised yet by the time gst_init_get_option_group() is
10680 called, as it's quite likely other GLib functions such as
10681 g_option_context_new() have been called already then, and
10682 g_thread_init() must be called before any other GLib function. The
10683 application in question must be fixed in that case, since memory
10684 corruption might happen otherwise.
10685 We issue the warning because even if the GLib folks decide to work
10686 around the problem on their end in future, this is still an issue
10687 with all GLib versions >= 2.10.0, so we should warn until we depend
10688 on a GLib version we know to be safe.
10689 Update documentation as well.
10690 Closes bug #391278.
10692 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10694 * tools/gst-inspect.c: (main):
10695 * tools/gst-launch.c: (main):
10696 * tools/gst-typefind.c: (main):
10697 * tools/gst-xmlinspect.c: (main):
10698 Call g_thread_init() really really early, before any other GLib
10699 function (see #342564 and recent discussion on gtk-devel-list).
10701 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10703 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10705 * gst/gst_private.h:
10706 * gst/gstconfig.h.in:
10708 On win32, all the __declspec stuff for symbol exporting is
10709 apparently only needed with MSVC, but doesn't work with MingW.
10710 Fixes compilation with MingW and #391909.
10712 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10714 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10715 Change some GST_ERROR_OBJECT that aren't really errors to
10716 GST_WARNING_OBJECT in order to reduce terminal spam.
10718 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10720 * tests/check/Makefile.am:
10721 disable test again, as there seem to be still race problems
10723 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10725 * tests/check/Makefile.am:
10726 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10727 (GST_START_TEST), (queue_suite):
10728 enable queue test again, add tests for the leaky behaviour
10730 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10733 * tests/examples/Makefile.am:
10734 Compile adapter test/example only if the required headers are
10735 available (fixes #391915).
10737 2007-01-01 David Schleef <ds@schleef.org>
10740 Restore the previous signal handler for SIGSEGV instead of
10741 setting to default, since we may have stolen it away from
10742 someone. (i.e., Mono)
10744 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10746 * docs/random/draft-missing-plugins.txt:
10747 Some small additions and clarifications.
10749 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10751 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10752 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10753 since that can lead to random memory corruptions and crashes
10754 (may or may not be related to #383244, #386711, and #386711).
10756 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10758 * tests/check/.cvsignore:
10759 * tests/check/Makefile.am:
10760 sync .cvsignome and CLEANFILES
10762 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10764 * tests/check/Makefile.am:
10767 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10769 * docs/design/part-states.txt:
10770 two tiny additional comments
10772 * gst/gststructure.c:
10775 * tests/check/Makefile.am:
10776 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10778 disable test for now, unless it gets fixed
10780 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10782 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10784 fix race in underrun test
10786 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10788 * tests/check/elements/.cvsignore:
10791 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10793 try to narrow test failure
10795 2006-12-21 David Schleef <ds@schleef.org>
10797 * plugins/elements/gstfakesrc.c:
10798 Use g_random_int_range(), since it produces better random
10799 numbers in a range than almost-correct floating point code.
10801 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10803 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10804 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10805 (gst_check_teardown_sink_pad):
10806 do not automatically (de)activate pads
10808 * tests/check/Makefile.am:
10809 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10810 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10811 add new, yet simple tests for queue
10813 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10814 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10815 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10817 * tests/check/elements/identity.c: (cleanup_identity):
10818 consistent pad (de)activation
10820 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10822 Patch by: Sebastian Dröge <slomo ubuntu com>
10824 * libs/gst/base/gstcollectpads.c:
10825 Fix two doc typos (#387866).
10827 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10829 * docs/manual/advanced-dparams.xml:
10830 Fix typo (g_object_control_properties() doesn't exist).
10832 2006-12-19 Edward Hervey <edward@fluendo.com>
10834 * gst/gstsegment.c: (gst_segment_set_seek):
10835 Fine tune the cases where the segment start/stop values are really
10837 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10838 Add tests for the return values of gst_segment_set_seek().
10840 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10845 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10847 Fix incorrect documentation and flesh it out a bit more.
10848 Set default values for the max properties on the GParamSpec as well,
10849 so it shows up correctly in gst-inspect.
10851 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10853 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10854 Correct docs of queue, add more detail and crosslink it more.
10856 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10858 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10859 Print additional debug info when the stream isn't perfectly
10860 timestamped; don't try to use invalid durations.
10862 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10864 * docs/design/Makefile.am:
10865 Dist new design docs.
10867 2006-12-16 Wim Taymans <wim@fluendo.com>
10869 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10871 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10872 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10873 (gst_collect_pads_stop), (gst_collect_pads_event),
10874 (gst_collect_pads_chain):
10875 * libs/gst/base/gstcollectpads.h:
10876 Add refcounting to the collectpads data so we can track when it's safe
10877 to free the data. Fixes #383382.
10879 2006-12-15 Wim Taymans <wim@fluendo.com>
10881 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10882 (gst_collect_pads_remove_pad):
10883 Automatically activate/deactivate pads when they are added to a
10884 started/stoped collectpads.
10886 2006-12-15 Wim Taymans <wim@fluendo.com>
10888 * gst/gstelement.c: (gst_element_add_pad):
10889 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10890 * gst/gstpad.c: (gst_pad_init):
10891 Set pads to FLUSHING when they are created. Check, warn and fix when a
10892 demuxer adds an inactive pad to itself when running. Fixes #339326.
10894 2006-12-15 Wim Taymans <wim@fluendo.com>
10896 * gst/gstelement.c: (gst_element_class_init),
10897 (gst_element_default_send_event), (gst_element_send_event),
10898 (gst_element_default_query), (gst_element_query):
10899 Expose default element send_event and query handling as vmethods that
10900 subclasses can chain up to.
10902 2006-12-15 Wim Taymans <wim@fluendo.com>
10904 * gst/gstelement.c: (gst_element_set_state_func):
10905 Small documentation fixes.
10907 2006-12-15 Wim Taymans <wim@fluendo.com>
10909 * docs/design/draft-latency.txt:
10910 Checked in draft for handling latency in pipelines.
10912 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10916 * gstreamer.spec.in:
10919 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10921 * gst/gst.c: (init_pre), (init_post):
10922 init_pre() and init_post() might be called via our GOptionGroup or
10923 from gst_init(), and we should skip both of them if we've already
10924 been initialised, otherwise we will init some things twice or add
10925 two default log functions.
10927 2006-12-13 Edward Hervey <edward@fluendo.com>
10929 * docs/manual/basics-bus.xml:
10930 No, gst_main_loop does not exist. Its g_main_loop.
10931 Discovered by somebody who abused the copy-paste technique of coding :)
10933 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10935 * gst/gstghostpad.c:
10936 Log ghostpad debug stuff to the GST_PADS category as well rather
10937 than just to the default category.
10939 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10942 * gst/gst.c: (init_pre):
10943 Add some basic system details such as OS and architecture
10944 to the debug output if possible, courtesy of uname().
10946 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10948 * docs/gst/running.xml:
10949 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10950 environment variables.
10952 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10954 * tests/check/gst/gstbin.c: (GST_START_TEST):
10955 It is acceptable to have a refcount of 2 or 3 at this point in the
10956 test, because the pipeline might be just posting its state_change
10957 message. The next line then waits for that message to appear using
10958 bus_poll, so that should be fine too.
10960 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10962 * gst/gst.c: (ensure_current_registry_forking):
10963 Ignore EINTR when reading from the child registry pipe.
10964 Explicitly ignore the return value from close, since it makes no
10967 * gst/gstminiobject.c: (gst_mini_object_ref),
10968 (gst_mini_object_unref):
10969 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10971 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10972 When removing cached plugins, remove their features too, so they're
10973 not visible after they've disappeared.
10975 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10976 In the unlikely case that we are linking pads with no parents, don't
10977 crash trying to get the non-existent parent bin.
10979 * gst/parse/grammar.y:
10980 Output debug in the PIPELINE category
10982 2005-03-08 Wim Taymans <wim@fluendo.com>
10984 Patch by: René Stadler <mail at renestadler dot de>
10986 * gst/gstclock.c: (gst_clock_new_periodic_id):
10987 Reject invalid clock times for interval of periodic ids.
10990 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10992 * gst/gstelementfactory.c: (gst_element_factory_create):
10993 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10994 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10995 * tools/gst-inspect.c: (print_element_info):
10996 Fix refcounting of gst_plugin_feature_load to match the docs.
10999 2006-12-07 Wim Taymans <wim@fluendo.com>
11001 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11002 (gst_base_sink_get_position):
11003 Improve debugging of events.
11005 2006-12-07 Wim Taymans <wim@fluendo.com>
11007 Patch by: René Stadler <mail at renestadler dot de>
11009 * gst/gstclock.c: (gst_clock_id_wait):
11010 Make period ids add the interval to the origial requested time instead
11011 of the possibly updated time which can be wrong when there are multiple
11012 waiters for the same id. Fixes #382592.
11014 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11015 (gst_system_clock_id_wait_jitter_unlocked),
11016 (gst_system_clock_id_wait_jitter):
11017 Fix restart in the async notify thread when an async entry is added to
11018 the front of the list. Fixes #381492.
11020 * tests/check/gst/gstsystemclock.c: (store_callback),
11021 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11022 Added test for multiple async waits.
11023 Added test for async wait order.
11025 2006-12-07 Wim Taymans <wim@fluendo.com>
11027 * gst/gstbin.c: (gst_bin_query):
11028 Add some more docs about the POSITION query.
11030 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
11033 Bump version nano - back to CVS.
11035 === release 0.10.11 ===
11037 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11040 releasing 0.10.11, "Love never runs on time"
11042 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11044 * win32/common/libgstbase.def:
11045 * win32/common/libgstreamer.def:
11046 * win32/vs8/libgstbase.vcproj:
11047 * win32/vs8/libgstcoreelements.vcproj:
11048 * win32/vs8/libgstreamer.vcproj:
11049 Fix compilation on win32 under VS8
11050 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11051 Partially fixes #381175
11053 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11055 * gst/gstvalue.c: (gst_value_compare_fraction):
11056 If someone is foolish enough to compare 2 fractions with denominator =
11057 0, return UNORDERED rather than aborting.
11059 2006-11-28 Edward Hervey <edward@fluendo.com>
11061 * libs/gst/base/Makefile.am:
11062 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11063 (gst_data_queue_base_init), (gst_data_queue_class_init),
11064 (gst_data_queue_init), (gst_data_queue_new),
11065 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11066 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11067 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11068 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11069 (gst_data_queue_set_flushing), (gst_data_queue_push),
11070 (gst_data_queue_pop), (gst_data_queue_drop_head),
11071 (gst_data_queue_set_property), (gst_data_queue_get_property):
11072 * libs/gst/base/gstdataqueue.h:
11073 New GstDataQueue object for threadsafe queueing. Most useful for
11074 elements that need some queueing functionnality.
11075 * docs/libs/gstreamer-libs-docs.sgml:
11076 * docs/libs/gstreamer-libs-sections.txt:
11077 Insert documentation for GstDataQueue
11078 * plugins/elements/Makefile.am:
11079 * plugins/elements/gstelements.c:
11080 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11081 (gst_multi_queue_class_init), (gst_multi_queue_init),
11082 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11083 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11084 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11085 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11086 (gst_multi_queue_loop), (gst_multi_queue_chain),
11087 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11088 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11089 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11090 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11091 (wake_up_next_non_linked), (compute_next_non_linked),
11092 (single_queue_overrun_cb), (single_queue_underrun_cb),
11093 (single_queue_check_full), (gst_single_queue_new):
11094 * plugins/elements/gstmultiqueue.h:
11095 New multiqueue element, using GstDataQueue. Used for queuing multiple
11097 Closes #344639 and #347785
11099 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11101 * docs/pwg/advanced-types.xml:
11102 add more missing type details
11104 * tools/gst-run.c: (main):
11105 remove unused variable
11107 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11109 * docs/libs/Makefile.am:
11110 * docs/libs/gstreamer-libs.types:
11111 add types of base classes to enable gobject specific stuff in the docs
11113 * docs/random/ensonic/embedded.txt:
11114 more ideas about isolating platform specific things
11116 2006-11-20 Wim Taymans <wim@fluendo.com>
11118 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11120 * libs/gst/check/gstcheck.h:
11121 Fix compilation and running against 0.9.4. Fixes #377332.
11123 2006-11-20 Wim Taymans <wim@fluendo.com>
11125 * gst/gstsegment.c: (gst_segment_set_seek),
11126 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11127 (gst_segment_to_running_time):
11128 Fix boundary checking in to_running_time() and to_stream_time().
11131 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11132 stream and running time can now be calculated for the complete
11135 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11137 * gst/gstpad.c: (gst_pad_push_event):
11138 Can't access event structure after giving away ownership of
11141 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11143 * docs/random/ensonic/embedded.txt:
11144 * docs/random/ensonic/profiling.txt:
11145 * docs/random/ensonic/receipies.txt:
11148 2006-11-13 Wim Taymans <wim@fluendo.com>
11150 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11153 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11155 2006-11-13 Wim Taymans <wim@fluendo.com>
11157 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11159 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11160 Store new length in segment duration so we don't keep on calling the
11161 potentially expensize get_size() call. Fixes #370865.
11163 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11165 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11167 * win32/common/libgstreamer.def:
11168 Add two missing symbols (#366492).
11170 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11172 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11173 (gst_adapter_take_buffer):
11174 Fix format string to use all its arguments.
11175 Remove useless >= check on a guint
11177 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11179 * tests/examples/adapter/.cvsignore:
11180 Ignore build file as commanded by the build-bot
11182 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11184 * tests/examples/adapter/Makefile.am:
11185 * tests/examples/adapter/adapter_test.c: (run_test_take),
11186 (run_test_take_buffer), (run_tests), (main):
11188 Add new files from the previous commit
11190 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11194 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11195 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11196 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11197 * libs/gst/base/gstadapter.h:
11198 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11199 (GST_START_TEST), (gst_adapter_suite):
11200 * tests/examples/Makefile.am:
11201 Do some optimisation work in GstAdapter to avoid copies in more cases.
11202 It could still do slightly better by merging buffers when
11203 gst_buffer_is_span_fast is true, but is already faster.
11205 Also, avoid traversing a single-linked list to append each incoming
11206 buffer inside the adapter.
11208 Add simple test app that times the adapter behaviour in different
11209 situations, and extend the unit test to check that bytes enter and
11210 exit the adapter in their original order.
11212 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11214 * docs/random/draft-missing-plugins.txt:
11215 Update: use element message instead of adding a new message
11216 type to the core; don't provide GStreamer API to initiate the
11217 plugin download, just provide API to compose the strings needed
11218 and let an external libgimmestuff handle the rest.
11220 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11222 * tools/gst-inspect.c: (print_element_properties_info):
11223 Print a string instead of 'unknown type' for GValueArray properties
11225 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11227 * docs/random/draft-missing-plugins.txt:
11230 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11232 * tests/examples/typefind/typefind.c: (type_found), (main):
11233 Make typefind element example work again (#371894); add a
11236 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11238 * docs/random/draft-missing-plugins.txt:
11239 Commit initial draft about how to deal with missing plugins,
11240 needs work (API too).
11242 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11244 * docs/pwg/advanced-types.xml:
11245 documents the new caps elements (see #363118)
11247 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11249 * gst/gstplugin.c: (gst_plugin_load_file):
11250 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11251 (gst_file_src_map_region), (gst_file_src_start):
11252 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11253 (gst_file_index_commit):
11254 Use g_strerror() instead of strerror() - we want UTF-8.
11256 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11258 Patch by: Peter Kjellerstedt <pkj at axis com>
11260 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11261 Another printf fix (#371493).
11263 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11265 * tests/check/gst/gsttag.c:
11266 relicence (okay with author=company)
11268 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11270 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11271 (gst_pad_push_event):
11272 Enhance debug and improve docs
11277 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11279 * docs/random/ensonic/distributed.txt:
11280 * docs/random/ensonic/profiling.txt:
11283 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11285 * docs/gst/gstreamer-sections.txt:
11286 add new API and fix the build
11288 * gst/gstbin.c: (gst_bin_recalc_state):
11289 * gst/gstelement.c: (gst_element_message_full),
11290 (gst_element_get_state_func), (gst_element_set_state_func):
11291 use new API and improve logging
11293 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11295 API: add function to get StateChangereturn names to improve logs
11297 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11299 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11300 I'm considering shooting the next person to put strerror stuff
11301 in the translateable part of the message.
11303 2006-11-03 Wim Taymans <wim@fluendo.com>
11305 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11306 Get the type and printf conversion specifiers right.
11308 2006-11-03 Wim Taymans <wim@fluendo.com>
11310 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11312 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11313 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11314 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11315 Some small cleanups. Improve debugging.
11317 Signal all waiting threads with a broadcast instead of just one.
11320 2006-11-03 Wim Taymans <wim@fluendo.com>
11322 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11323 (gst_fd_src_create):
11324 Add some debugging.
11325 Only update fd when it's different from the old.
11327 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11329 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11330 Printf fixes for PPC/OSX, take two (#369366).
11332 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11334 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11336 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11337 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11338 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11339 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11340 don't cast to long long for portability reasons, but use
11341 GLib's types instead.
11343 2006-10-30 Michael Smith <msmith@fluendo.com>
11345 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11346 Get the arguments to lseek() the right way around.
11349 2006-10-30 Wim Taymans <wim@fluendo.com>
11351 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11354 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11356 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11358 Patch by: Kjartan Maraas <kmaraas at gnome org>
11360 * docs/design/part-MT-refcounting.txt:
11361 * docs/random/wtay/capsnego2-docs:
11364 Typo fixes (#366212).
11366 2006-10-28 Wim Taymans <wim@fluendo.com>
11368 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11371 * win32/common/libgstbase.def:
11372 * win32/common/libgstreamer.def:
11373 * win32/vs8/libgstbase.vcproj:
11374 * win32/vs8/libgstcontroller.vcproj:
11375 Add needed entries in .def files.
11377 Rearrange def files in vs8 solutions. Fixes #366286.
11379 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11381 * win32/common/gstconfig.h:
11382 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11383 hand-made win32 gstconfig.h. Fixes #366321.
11385 2006-10-27 Wim Taymans <wim@fluendo.com>
11387 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11388 (gst_ghost_pad_new_full):
11389 Make acceptcaps return TRUE when we don't have a target, just like
11392 2006-10-27 Wim Taymans <wim@fluendo.com>
11394 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11395 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11397 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11399 * gst/gststructure.c: (gst_structure_id_set_value):
11400 If someone tries to set a non-UTF8 string field on a structure,
11401 don't just print a warning, but also ignore the request and do
11402 not change/add that field to the structure.
11404 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11405 Test for the above.
11407 2006-10-25 David Schleef <ds@schleef.org>
11410 g_hash_table_insert() needs a cast to a non-const pointer duh.
11412 2006-10-25 David Schleef <ds@schleef.org>
11416 Change name parameter of _gst_debug_register_funcptr to const
11417 to reflect the constness of its use in the function as well
11418 as to quiet a gcc warning.
11420 2006-10-25 Edward Hervey <edward@fluendo.com>
11422 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11423 Don't push the buffer if it's empty.
11426 2006-10-24 Wim Taymans <wim@fluendo.com>
11431 * libs/gst/base/gstbasetransform.c:
11432 (gst_base_transform_sink_eventfunc):
11433 Debug segment values *after* updating them as this is more
11436 2006-10-23 Wim Taymans <wim@fluendo.com>
11438 * docs/design/part-events.txt:
11441 * docs/design/part-block.txt:
11442 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11443 (gst_pad_push_event):
11444 Revert BLOCKING patch, it tries to be smart without really having a
11445 clear idea what or how. So, now we discard all FLUSHING events again on
11446 a blocking pad. Should fix gnonlin again.
11448 2006-10-23 Wim Taymans <wim@fluendo.com>
11450 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11452 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11453 (gst_base_src_start), (gst_base_src_activate_push):
11454 Make sure size is always initialized. Fixes #364388.
11456 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11458 * docs/random/ensonic/distributed.txt:
11459 add some ideas about doing distributed processing
11461 * docs/random/ensonic/profiling.txt:
11462 get_rusage look promising
11464 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11466 * docs/manual/basics-helloworld.xml:
11467 Add a cast in example to fix compile warning
11469 2006-10-18 Wim Taymans <wim@fluendo.com>
11471 * gst/gstsegment.c: (gst_segment_set_last_stop),
11472 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11473 Relax arg checking again, -1 is allowed.
11475 2006-10-18 Wim Taymans <wim@fluendo.com>
11477 * gst/gstsegment.c: (gst_segment_set_last_stop),
11478 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11479 _set_last_stop() must be with a value != -1
11480 A _TYPE_SET to -1 means seek to 0.
11481 Calc last_stop correctly for negative rates.
11482 Make sure we work with positive durations when updating a segment.
11484 2006-10-18 Wim Taymans <wim@fluendo.com>
11486 * docs/design/part-live-source.txt:
11490 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11493 Add an explicit cast to GstBuffer** to keep old code that added an
11494 explicit cast to GstMiniObject** for gst_mini_object_replace()
11495 compiling without warning.
11497 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11499 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11500 check for validity of dates
11502 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11504 * docs/gst/gstreamer-sections.txt:
11505 Forgot this one, makes gtk-doc shut up.
11507 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11509 Patch by: Peter Kjellerstedt <pkj at axis com>
11512 Don't define xmlNodePtr to gpointer if the core was built with
11513 --disable-loadsave and --disable-registry, this will break
11514 applications that want to use libxml2 but are buildling against a
11515 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11516 instead so we don't have to mess with the libxml2 namespace
11519 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11522 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11523 type-punned pointer warnings.
11525 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11527 * gst/gstelement.h:
11528 Add casts to the correct return type to state <=> state transition
11531 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11533 * docs/design/part-live-source.txt:
11534 describe howto handle latency
11536 * docs/random/ensonic/profiling.txt:
11539 * tools/gst-plot-timeline.py:
11540 fix log parsing for solaris, remove unused function
11542 2006-10-16 Wim Taymans <wim@fluendo.com>
11544 * docs/design/part-trickmodes.txt:
11546 Update some docs regarding reverse playback.
11548 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11550 Patch by: Marcus Granado <mrc dot gran at gmail com>
11552 * win32/vs8/grammar.vcproj:
11553 Error out with a warning if glib-genmarshal.exe is not in path,
11554 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11556 2006-10-13 Wim Taymans <wim@fluendo.com>
11558 * gst/gstsegment.c: (gst_segment_set_seek):
11559 When seeking to stop -1, set last_stop (current position) to the
11560 duration of the segment.
11562 2006-10-13 Wim Taymans <wim@fluendo.com>
11564 * gst/gstelement.h:
11565 Clarify _NO_PREROLL a bit more.
11570 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11571 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11572 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11573 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11574 due to wrong locking order. Fixes #361769.
11575 Remove some redundant/misplaced checks in pad_block.
11577 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11578 For negative rates, count backwards from the duration.
11580 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11582 * gst/gsterror.c: (_gst_library_errors_init):
11583 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11584 up with something better).
11586 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11588 * win32/vs6/libgstreamer.dsp:
11589 * win32/vs7/libgstreamer.vcproj:
11590 * win32/vs8/libgstreamer.vcproj:
11591 Don't reference glib-compat.c which is currently not used and not
11592 disted; add gstquark.c which was recently added. Fixes #361730.
11594 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11596 * win32/common/libgstbase.def:
11597 * win32/common/libgstcontroller.def:
11598 * win32/common/libgstreamer.def:
11599 Add gst_caps_merge() and a bunch of other recently-added functions.
11602 2006-10-11 Wim Taymans <wim@fluendo.com>
11604 * docs/plugins/gstreamer-plugins.args:
11605 * docs/plugins/inspect/plugin-coreelements.xml:
11606 * docs/plugins/inspect/plugin-coreindexers.xml:
11607 Update element args.
11609 * gst/gstsystemclock.c:
11610 Small comment update.
11612 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11613 (gst_tee_request_new_pad), (gst_tee_release_pad),
11614 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11615 (gst_tee_sink_activate_pull):
11616 * plugins/elements/gsttee.h:
11618 Add default property defines.
11619 Implement release pad function.
11620 Give properties better blubs etc.
11621 Activate pads before adding them to a running tee.
11622 Do simple buffer_alloc on the first requested pad.
11623 Post error when activation fails.
11625 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11627 * gst/gst.c: (ensure_current_registry_forking):
11628 Check return value of write() to make compiler happy.
11630 2006-10-11 Wim Taymans <wim@fluendo.com>
11632 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11634 * plugins/elements/gstqueue.c: (gst_queue_chain):
11635 Recheck queue filledness after signalling the overrun when we're about
11636 to leak downstream because we released the lock when emitting the signal
11637 and the queue could be empty again. Fixes #352345.
11639 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11641 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11642 Fix refcounting here too, just like we did for _new_valist() a few
11643 days ago (#357180) (thanks to René Stadler). Also remove all those
11644 'Since: 0.9' from the gtk-doc blobs.
11646 * tests/check/libs/controller.c: (controller_refcount_new_list),
11647 (gst_controller_suite):
11648 Unit test for the above.
11650 2006-10-10 Wim Taymans <wim@fluendo.com>
11652 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11654 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11655 (gst_pad_save_thyself):
11657 Write pad direction in XML output. Fixes #345496.
11659 2006-10-10 Wim Taymans <wim@fluendo.com>
11661 Patch by: René Stadler <mail at renestadler dot de>
11663 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11664 (gst_controller_new_list), (_gst_controller_dispose),
11665 (_gst_controller_finalize), (_gst_controller_class_init):
11666 Take ref to controlled object so that it cannot disappear.
11669 2006-10-10 Wim Taymans <wim@fluendo.com>
11671 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11672 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11673 (gst_check_teardown_sink_pad):
11674 Activate/deactivate pads in setup/teardown respectively.
11676 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11678 Patch by: Josep Torra Valles <josep@fluendo.com>
11681 Cast values when making gstenumtypes.h. This pacifies Forte
11682 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11683 in the enumeration.
11685 2006-10-09 Wim Taymans <wim@fluendo.com>
11687 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11688 Rename some more @cur to @start to fix docs.
11690 * gst/gstsegment.c: (gst_segment_set_seek):
11692 time and start must always stay in sync as defined in design doc.
11694 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11695 Rename param to fix docs.
11697 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11698 Check that start and time are in sync.
11700 * tests/check/pipelines/parse-launch.c:
11701 (gst_parse_test_element_change_state):
11702 Activate pad before adding to the element.
11704 2006-10-09 Wim Taymans <wim@fluendo.com>
11706 * docs/design/part-qos.txt:
11711 Update seek event docs regarding negative rates.
11712 Rename @cur to @start.
11714 * gst/gstsegment.c: (gst_segment_set_seek):
11715 * gst/gstsegment.h:
11716 Update set_seek docs regarding negative rates.
11717 Correctly update last_stop to @stop when dealing with negative
11719 Rename @cur to @start.
11721 * tests/check/gst/gstpad.c: (GST_START_TEST):
11722 Activate pads before trying to use them.
11724 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11725 (gst_segment_suite):
11726 Add simple check for segments and negative rates.
11728 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11730 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11731 * gst/gsttaglist.h:
11732 * docs/gst/gstreamer-sections.txt:
11733 API: add gst_tag_list_is_empty() (#360467).
11735 * tests/check/gst/gsttag.c: (GST_START_TEST):
11738 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11740 * gst/gstmessage.h:
11741 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11742 a value that doesn't fit on enumeration.
11744 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11746 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11747 Remove local debugging system and use Gstreamer's instead.
11749 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11751 Patch by: Josep Torra Valles <josep@fluendo.com>
11753 * common/m4/gst-error.m4:
11754 Disable warning of statement not reached on Forte.
11755 * gst/gstmessage.h:
11756 Fix warning on Forte (value doesn't fit on enumeration).
11757 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11758 Fix warning on Forte (value doesn't fit on enumeration).
11759 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11760 DEBUG macro says it takes minimum of 2 args and so Forte
11761 complains about the use with just 1 arg.
11762 * plugins/elements/gstfdsink.c:
11763 * plugins/elements/gstfdsrc.c:
11764 * plugins/elements/gstfilesink.c:
11765 * plugins/elements/gstfilesrc.c:
11766 Use correct return type for the uri handler implementations.
11768 All these fix warnings in Forte. Fixes bug #360860.
11770 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11772 * gst/gstelement.h:
11773 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11774 format string, so don't use G_GNUC_PRINTF for those versions.
11776 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11778 * gst/gsttaglist.c: (gst_is_tag_list):
11779 * gst/gsttaglist.h:
11780 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11782 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11783 Small test for the above.
11785 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11787 * gst/gsttaglist.h:
11788 Less tabs, more spaces.
11790 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11793 Those two function declarations do actually belong there, revert
11794 commit from yesterday that turned them intro macros.
11796 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11798 Patch by: Josep Torra Valles <josep@fluendo.com>
11800 * gst/gst.c: (gst_init_get_option_group):
11801 Fix empty declaration and type mismatch.
11802 * gst/gstbin.c: (gst_bin_change_state_func):
11804 * gst/gstelement.c: (gst_element_continue_state),
11805 (gst_element_set_state_func), (gst_element_change_state),
11806 (gst_element_change_state_func):
11807 Fix type mismatches.
11808 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11809 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11810 Cast as appropriate.
11811 * gst/gstobject.c: (gst_class_signal_connect):
11812 Cast as appropriate. The function pointer parameter really
11813 has the wrong type but would break API if we change it.
11815 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11816 order of including string.h.
11817 * gst/gstutils.c: (gst_element_state_get_name):
11818 Remove unreachable line.
11819 * gst/gstxml.c: (gst_xml_parse_doc):
11821 All these caught by Forte.
11823 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11825 Patch by: Josep Torra Valles <josep@fluendo.com>
11827 * common/m4/gst-error.m4:
11829 We need to disable warnings on Forte for empty declarations
11830 due to gst-indent adding ;s to lines that just use macros
11831 where the macro actually doesn't need a ; at end to end
11834 2006-10-06 Wim Taymans <wim@fluendo.com>
11836 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11837 (gst_file_sink_close_file), (gst_file_sink_event),
11838 (gst_file_sink_render):
11839 Add some FIXME for the NEWSEGMENT handling.
11841 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11843 * gst/parse/grammar.y:
11844 Remove static function gst_parse_element_lock as all it does
11845 is return. Looks like cruft from 0.8.
11847 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11849 Patch by: Josep Torra Valles <josep@fluendo.com>
11851 * common/m4/gst-error.m4:
11853 * libs/gst/net/Makefile.am:
11854 Fix a compilation issue with Forte on Solaris. inet_aton is in
11857 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11859 * gst/gstpad.c: (pre_activate):
11860 * gst/gstregistry.c: (gst_registry_scan_path_level):
11861 * gst/gstregistryxml.c: (load_plugin):
11862 * libs/gst/controller/gstcontroller.c:
11863 (gst_controlled_property_set_interpolation_mode):
11864 * libs/gst/dataprotocol/dataprotocol.c:
11865 (gst_dp_packet_from_event_1_0):
11866 * libs/gst/net/gstnetclientclock.c:
11867 (gst_net_client_clock_observe_times):
11868 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11871 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11874 * docs/gst/gstreamer-sections.txt:
11875 * gst/gstconfig.h.in:
11876 * gst/gstelement.h:
11878 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11879 whether we can use G_GNUC_PRINTF in other header files and at
11880 least check the printf format/arguments of debug messages and
11881 GST_ELEMENT_ERROR messages when the printf extension is not
11883 Replace more tabs with spaces in gstinfo.h and remove two spurious
11884 function declarations in GST_DISABLE_DEBUG part with macros.
11886 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11888 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11889 More docs for the sync-message signal (mention that it is not
11890 emitted by default); log message structures of messages posted on
11893 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11895 * gst/gst.c: (ensure_current_registry_forking):
11896 Use a pipe pair to receive status results from the forked child, and
11897 ignore the result from waitpid. Fixes #355499
11899 2006-10-02 Wim Taymans <wim@fluendo.com>
11901 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11902 (gst_ghost_pad_suite):
11905 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11908 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11910 2006-10-02 Edward Hervey <edward@fluendo.com>
11912 * docs/design/part-block.txt:
11913 Further explain the use of flushing on blocked pads.
11914 * docs/gst/gstreamer-sections.txt:
11915 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11916 (gst_pad_push_event):
11918 Added new GstPadFlag : GST_PAD_BLOCKING.
11919 Adds the notion of pads really blocking, which enables to properly
11920 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11922 API: gst_pad_is_blocking()
11923 API: GST_PAD_IS_BLOCKING() macro
11924 API: GST_PAD_BLOCKING GstPadFlag
11926 2006-10-02 Wim Taymans <wim@fluendo.com>
11928 Patch by: mrcgran <mrc.gran at gmail dot com>
11930 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11931 Filter the proxied caps against the padtemplate if we have one.
11933 * gst/gstquery.c: (gst_query_new_segment):
11934 Add include for gstinfo.h so that compilation with
11935 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11937 2006-10-02 Wim Taymans <wim@fluendo.com>
11939 Patch by: Alessandro Decina <alessandro at nnva org>
11941 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11942 (gst_file_sink_set_location), (gst_file_sink_open_file),
11943 (gst_file_sink_close_file), (gst_file_sink_event),
11944 (gst_file_sink_render):
11945 Set file to NULL when closing filesink so that we can set a new filename
11946 in READY. Fixes #358613.
11948 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11950 Patch by: Alessandro Decina <alessandro at nnva org>
11952 * gst/gstevent.c: (_gst_event_copy):
11953 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11954 with event structures by setting the parent refcount address of the
11955 copied structure to the address of the refcount member of the newly
11956 copied event rather than the address of the refcount member of the
11957 original event. Fixes #358737.
11959 * tests/check/gst/gstevent.c: (GST_START_TEST):
11960 Unit test for the above.
11962 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11964 * docs/design/Makefile.am:
11965 Dist some more files.
11967 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11969 * tests/check/libs/controller.c: (GST_START_TEST),
11970 (gst_controller_suite):
11971 Add test for the previous fix; add some more tests
11972 for correct refcounting behaviour; fix a few leaks
11973 in test cases; call gst_controller_init() at start
11976 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11978 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11979 (gst_controller_set_from_list):
11980 Don't g_return_val_if_fail() on timed values with invalid timestamps
11981 inside a critical section without unlocking the mutex. Spotted by
11982 René Stadler. (#357617)
11983 Also, fix up refcounting properly: when returning an existing
11984 controller, we should increase the reference only once and not
11985 once per property and when trying to control a property again
11986 we should also increase the refcount.
11988 2006-09-29 Wim Taymans <wim@fluendo.com>
11990 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11991 * libs/gst/net/gstnettimeprovider.c:
11992 (gst_net_time_provider_thread):
11993 Stop reading commands when EOF as well.
11995 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11996 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11997 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11998 Unify description of the dump property.
12000 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12002 * tests/examples/manual/.cvsignore:
12003 OK, so it's actually cvsignore that needs changing. Stop laughing.
12005 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12007 * tests/examples/manual/Makefile.am:
12008 Gah, declare vars *before* using them
12010 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12012 * gst/gst.c: (init_pre), (scan_and_update_registry),
12013 (ensure_current_registry_nonforking),
12014 (ensure_current_registry_forking), (ensure_current_registry),
12015 (init_post), (gst_debug_help), (gst_deinit):
12016 * gst/gst_private.h:
12017 * gst/gstregistry.c: (gst_registry_finalize),
12018 (gst_registry_remove_features_for_plugin_unlocked),
12019 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12020 (gst_registry_scan_path),
12021 (_priv_gst_registry_remove_cache_plugins),
12022 (_priv_gst_registry_cleanup):
12023 * gst/gstregistry.h:
12024 Re-commit the registry changes, along with an extra fix:
12025 When a cached plugin is encountered at a different file path,
12026 update the stored path in the registry cache so that the parent
12027 process knows where it actually is now when it re-reads the registry
12028 cache. Fixes the thing that broke distcheck with the previous commit.
12030 * tests/check/Makefile.am:
12031 Clean up files named 'core' too when running make clean.
12033 * tests/examples/manual/Makefile.am:
12034 Set up a registry path for running these tests, and clean it properly
12037 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12040 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12041 want gmodule-no-export-2.0.pc instead so that we don't drag in
12042 --export-dynamic on every project that links to GStreamer.
12044 Also, make our export regex only match the start of symbols, rather
12045 than any symbol that contains '_gst' somewhere.
12047 * libs/gst/check/Makefile.am:
12048 The libgstcheck we build does however need export-dynamic, as it
12049 produces some symbols that don't match our _gst... style regex.
12052 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12054 * gst/gst.c: (init_pre), (scan_and_update_registry),
12055 (ensure_current_registry_nonforking),
12056 (ensure_current_registry_forking), (ensure_current_registry),
12057 (init_post), (gst_debug_help), (gst_deinit):
12058 * gst/gst_private.h:
12059 * gst/gstregistry.c: (gst_registry_finalize),
12060 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12061 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12062 (_gst_registry_cleanup):
12063 * gst/gstregistry.h:
12064 Revert previous change until I figure out why it breaks distcheck.
12066 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12068 * gst/gst.c: (init_pre), (scan_and_update_registry),
12069 (ensure_current_registry_nonforking),
12070 (ensure_current_registry_forking), (ensure_current_registry),
12071 (init_post), (gst_debug_help), (gst_deinit):
12073 Make init_pre and init_post take the full complement of GOptionFunc
12074 args so they can return useful GErrors. Make the registry updating
12077 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12078 ensure that the registry we're about to write out doesn't contain
12079 stale information about old-deleted plugin files.
12081 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12082 that deletion of plugin files is considered a registry change.
12084 * gst/gst_private.h:
12085 * gst/gstregistry.c: (gst_registry_finalize),
12086 (gst_registry_remove_features_for_plugin_unlocked),
12087 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12088 (gst_registry_scan_path),
12089 (_priv_gst_registry_remove_cache_plugins),
12090 (_priv_gst_registry_cleanup):
12091 * gst/gstregistry.h:
12092 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12093 by adding _priv prefix, so that they won't appear in the global
12094 symbol table. They still do atm though because of #318031. Move the
12095 prototypes to gst_private.h
12097 When removing a plugin, remove all features for that plugin too.
12100 2006-09-27 Wim Taymans <wim@fluendo.com>
12102 * docs/random/moving-plugins:
12103 Make it clear that the "compiled-in descriptions" really mean
12104 the element details.
12106 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12107 (gst_base_sink_wait_preroll):
12110 * docs/libs/gstreamer-libs-sections.txt:
12111 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12112 (gst_base_src_get_range), (gst_base_src_activate_push):
12113 * libs/gst/base/gstbasesrc.h:
12114 Added function to block while waiting for PLAYING, this function
12115 is used by live sources that block on the clock.
12116 API: gst_base_src_wait_playing()
12118 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12120 Patch by: Peter Kjellerstedt <pkj at axis com>
12123 gst-element-check.m4 is generated and should therefore be
12124 copied from the build dir rather than the source dir (#357593).
12125 'make distcheck' hasn't noticed this because we were disting
12126 the file as well, so stop doing that.
12128 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12130 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12131 Add some tests for gst_caps_intersect().
12133 * tools/gst-launch.c: (event_loop):
12134 Print all buffering percentages we get, even the 100% one.
12136 2006-09-26 Wim Taymans <wim@fluendo.com>
12138 * tools/gst-inspect.c: (print_element_properties_info),
12139 (print_signal_info):
12140 Fix printing of flags to match the look of enums.
12142 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12144 * gst/gstelementfactory.c:
12145 Fix typo in docs blurb.
12147 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12149 * gst/gsturi.c: (search_by_entry):
12150 Don't assert/crash here if a uri handler doesn't return any
12151 supported protocols. The list of protocols could be generated
12152 dynamically at runtime or at plugin registration, and an error
12153 in the underlying library shouldn't be fatal (#353301).
12155 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12158 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12159 (spotted by Peter Kjellerstedt).
12161 2006-09-23 Wim Taymans <wim@fluendo.com>
12163 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12165 * libs/gst/base/gstbasesrc.c:
12166 (gst_base_src_default_check_get_range), (gst_base_src_start),
12167 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12168 (gst_base_src_change_state):
12169 Match _start/_stop calls in the activate functions. Remove redundant
12170 _stop call from the state change function. Fixes #356910.
12171 Turn failure DEBUG into ERROR.
12173 2006-09-22 Wim Taymans <wim@fluendo.com>
12175 * docs/design/part-buffering.txt:
12176 * gst/gstmessage.c: (gst_message_new_buffering),
12177 (gst_message_parse_buffering):
12178 Update docs about buffering.
12180 * docs/design/part-trickmodes.txt:
12183 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12185 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12186 (gst_controller_new_list):
12187 Ref instances when returning them again (fixes #357180)
12189 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12191 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12192 Don't forget to release proxy lock when there's an error.
12194 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12197 Add extra initialisers for Caps things, to fix some plugin warnings
12200 2006-09-18 Wim Taymans <wim@fluendo.com>
12202 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12203 Also set template on the internal pad so that a getcaps from the
12204 target pad returns the template caps.
12206 2006-09-18 Wim Taymans <wim@fluendo.com>
12208 * gst/gstelement.c: (gst_element_post_message),
12209 (gst_element_dispose):
12210 Use _DEBUG_OBJECT some more.
12212 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12215 * tools/gst-launch.c: (main):
12216 If the toplevel element is not a GstPipeline, it must be put in a
12217 pipeline so that a bus and clock is selected.
12219 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12221 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12222 JITTER, RATE, and LATENCY query should be handled by the
12223 default case and not by the CONVERT query code.
12225 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12227 * gst/gstformat.c: (gst_format_register):
12228 Fix locking order (must take lock before using n_values).
12230 * gst/gstvalue.c: (gst_value_serialize_enum),
12231 (gst_value_deserialize_enum_iter_cmp),
12232 (gst_value_deserialize_enum):
12233 Fix serialisation/deserialisation of custom registered GstFormats.
12235 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12236 Unit test for custom format serialisation/deserialisation.
12238 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12240 * docs/pwg/building-boiler.xml:
12241 * plugins/elements/gstcapsfilter.c:
12242 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12245 2006-09-16 Edward Hervey <edward@fluendo.com>
12247 * libs/gst/base/gstbasetransform.c:
12248 (gst_base_transform_buffer_alloc):
12249 Check if requested caps are the same as the sinks caps IF
12250 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12252 This fixes the renegotiation issues stated in #352827.
12254 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12257 * docs/manual/advanced-autoplugging.xml:
12258 * tests/examples/Makefile.am:
12259 * tests/examples/manual/.cvsignore:
12260 * tests/examples/manual/Makefile.am:
12261 * tests/examples/manual/extract.pl:
12262 Extract the manual examples again like we used to do.
12265 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12267 * win32/common/config.h:
12270 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12273 Documents how to receive errors.
12275 2006-09-15 Wim Taymans <wim@fluendo.com>
12277 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12278 (event_loop), (main):
12279 Added some comments here and there.
12280 Post an application message when an interrupt is caught instead of doing
12281 an uncontrolled state change.
12282 Clean up the event loop.
12283 Handle buffering messages, pause/resume the pipeline.
12284 Make shutdown because of an interrupt more reliable.
12286 2006-09-15 Wim Taymans <wim@fluendo.com>
12288 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12289 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12290 (gst_base_sink_preroll_object):
12291 Make sure that our internal state is correct when we commit our state
12292 asynchronously. This solves a race where a state change to PLAYING
12293 could cause the sink to remain blocked in preroll in some situations.
12295 2006-09-15 Wim Taymans <wim@fluendo.com>
12297 * tools/gst-inspect.c: (print_element_properties_info),
12298 (print_signal_info):
12299 List flags as hex so it's easier to deal with.
12301 2006-09-15 Wim Taymans <wim@fluendo.com>
12303 * docs/libs/gstreamer-libs-sections.txt:
12304 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12305 (gst_base_sink_do_sync):
12306 * libs/gst/base/gstbasesink.h:
12307 Expose logic to wait for preroll so that subclasses such as audiosink
12308 can also use this method.
12309 API: gst_base_sink_wait_preroll()
12311 2006-09-15 Wim Taymans <wim@fluendo.com>
12313 * gst/gstobject.c: (gst_object_set_parent):
12314 * gst/gstpipeline.c: (do_pipeline_seek):
12315 Small cleanups in docs and code.
12317 * gst/gstsegment.c: (gst_segment_clip):
12318 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12319 if stop == start and start is in the segment, no clipping should be
12320 done. Also add a test for this.
12322 2006-09-15 Wim Taymans <wim@fluendo.com>
12324 * docs/design/part-buffering.txt:
12325 * docs/gst/gstreamer-sections.txt:
12326 * gst/gstmessage.c: (gst_message_new_buffering),
12327 (gst_message_parse_buffering):
12328 * gst/gstmessage.h:
12329 Added methods to create and parse BUFFERING messages.
12330 Added preliminary docs about buffering.
12331 API: gst_message_new_buffering
12332 API: gst_message_parse_buffering
12334 2006-09-06 Wim Taymans <wim@fluendo.com>
12337 Update documentation.
12339 * gst/gstelement.c: (gst_element_class_init),
12340 (gst_element_release_request_pad), (gst_element_set_clock),
12341 (gst_element_get_index), (gst_element_add_pad),
12342 (gst_element_remove_pad), (gst_element_get_random_pad),
12343 (gst_element_send_event), (gst_element_get_query_types),
12344 (gst_element_query), (gst_element_post_message),
12345 (gst_element_message_full), (gst_element_continue_state),
12346 (gst_element_lost_state), (gst_element_save_thyself),
12347 (gst_element_restore_thyself):
12348 Documentation updates.
12349 Rename last bit of the new-pad -> pad-added signal rename.
12350 Fix the case where an element query would only work if the source
12352 Avoid some useless type checking in message handling.
12357 Documentation updates.
12359 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12361 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12362 add an INFO line for when we actually update the fd
12364 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12369 === release 0.10.10 ===
12371 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12374 releasing 0.10.10, "Pais"
12376 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12378 * docs/manual/advanced-position.xml:
12379 Fix typo in sample code.
12381 2006-09-05 Wim Taymans <wim@fluendo.com>
12383 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12384 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12385 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12386 * libs/gst/net/gstnetclientclock.h:
12387 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12388 * libs/gst/net/gstnettimepacket.h:
12389 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12390 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12391 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12392 * libs/gst/net/gstnettimeprovider.h:
12393 Make stuff compile on windows. Fixes #345295.
12395 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12397 * gst/gst.c: (ensure_current_registry_forking):
12398 Print better details when child was terminated by signal.
12400 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12402 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12403 Print a warning rather than g_assert() if a plugin feature
12404 is a URI handler but returns no protocols (#353976).
12406 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12408 * docs/random/moving-plugins:
12411 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12413 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12414 Fix locking order, handle NULL function values properly.
12419 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12420 Initialise variable before using it and fix debug statement to
12421 print the address of the function rather than the address of the
12422 variable on the stack holding the address of the function.
12424 2006-09-01 Wim Taymans <wim@fluendo.com>
12426 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12427 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12428 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12429 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12430 (gst_ghost_pad_parent_unset),
12431 (gst_ghost_pad_internal_do_activate_push),
12432 (gst_ghost_pad_internal_do_activate_pull),
12433 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12434 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12435 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12436 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12437 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12438 (gst_ghost_pad_new_no_target_from_template),
12439 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12441 Avoid needless typechecking in macros.
12442 Since the internal pad is always present and never changes, there is
12443 no need to locking or ref when retrieving it.
12444 Improve debugging a bit.
12445 Handle link errors when setting the target. Fixes #341029.
12447 2006-09-01 Wim Taymans <wim@fluendo.com>
12449 * docs/libs/gstreamer-libs-sections.txt:
12450 * docs/plugins/gstreamer-plugins-sections.txt:
12451 Fix docs some more.
12453 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12454 (gst_collect_pads_event):
12455 * libs/gst/base/gstcollectpads.h:
12456 Documentation updates.
12457 Free queued buffer when removing a pad.
12459 2006-08-31 Michael Smith <msmith@fluendo.com>
12461 * gst/gstutils.c: (gst_element_link_pads),
12462 (gst_element_link_pads_filtered):
12463 Ensure that we set a capsfilter to NULL if we failed to link it
12464 when doing filtered linking, to avoid criticals.
12466 No need to check for unreffing srcpad, which is explicly NULLed
12467 above (a trivial code cleanup).
12469 2006-08-31 Wim Taymans <wim@fluendo.com>
12471 * docs/design/part-gstghostpad.txt:
12472 Update ascii art in documentation.
12474 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12475 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12476 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12477 (gst_ghost_pad_internal_do_activate_push),
12478 (gst_ghost_pad_internal_do_activate_pull),
12479 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12480 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12481 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12482 (gst_ghost_pad_set_target):
12483 Small cleanups and leak fixes.
12484 Remove some checks now that the internal pad is never NULL.
12485 Fix the case where linking pads without a target would create nasty
12486 criticals. Fixes #341029.
12487 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12488 value of _set_target().
12490 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12491 (gst_ghost_pad_suite):
12492 Some more tests for creating and linking untargeted ghostpads.
12494 2006-08-31 Edward Hervey <edward@fluendo.com>
12496 * docs/gst/gstreamer-sections.txt:
12497 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12498 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12499 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12500 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12501 (gst_ghost_pad_new_from_template),
12502 (gst_ghost_pad_new_no_target_from_template):
12503 * gst/gstghostpad.h:
12504 Refactored *_new() functions.
12505 Templates are now used as a g_object_new() parameter.
12506 Use template in _do_getcaps() if we don't have a target.
12507 Small documentation cleanups.
12508 Added two new constructors:
12509 gst_ghost_pad_new_from_template()
12510 gst_ghost_pad_new_no_target_from_template()
12511 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12512 (gst_ghost_pad_suite):
12513 Added tests for new ghostpad instanciation functions.
12515 API additions: gst_ghost_pad_new_from_template,
12516 gst_ghost_pad_new_no_target_from_template
12518 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12520 * docs/random/ensonic/profiling.txt:
12521 Ideas about qos profiling.
12523 2006-08-29 Wim Taymans <wim@fluendo.com>
12525 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12529 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12532 Improve and detypofy docs.
12534 * tests/check/Makefile.am:
12535 * tests/check/gst/.cvsignore:
12536 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12537 Add a basic test suite for GstXML.
12539 2006-08-29 Wim Taymans <wim@fluendo.com>
12541 * gst/gstelement.c: (activate_pads), (clear_caps),
12542 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12543 Clear the pad caps when the element shut down all of the pads and
12544 is not streaming data that could modify the caps.
12547 2006-08-28 Michael Smith <msmith@fluendo.com>
12549 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12550 Revert previous change; I misunderstood single-segment mode.
12552 2006-08-28 Michael Smith <msmith@fluendo.com>
12554 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12555 Unset DISCONT on buffers when using single-segment mode.
12557 2006-08-28 Wim Taymans <wim@fluendo.com>
12559 * gst/gstcaps.c: (gst_caps_merge_structure):
12561 Fix docs and indentation again.
12563 * tests/check/gst/gstquery.c: (GST_START_TEST):
12564 Fix leak in tests and add some more tests.
12566 2006-08-28 Edward Hervey <edward@fluendo.com>
12568 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12569 Inform GstSegment of the last stop position in order for the current
12570 segment to have a proper duration if it doesn't have a specific stop
12571 position from which a duration could be calculated.
12572 This bug was noticeable when a non-flushing, non-update new segment was
12573 followed by another segment (all buffers from the new segment were being
12576 2006-08-28 Wim Taymans <wim@fluendo.com>
12578 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12579 Small comment update.
12581 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12582 (gst_identity_transform_ip):
12583 Drop-probability is broken, mention this in the code with a
12584 FIXME and also in the property description.
12585 Make silent also be silent about the drop messages.
12587 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12589 * docs/manual/appendix-win32.xml:
12590 Remove mention of popt, we don't depend on that any
12591 longer (#353136). Add some comments pointing out that
12592 this section is slightly outdated.
12594 2006-08-28 Wim Taymans <wim@fluendo.com>
12596 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12598 * gst/gstquery.c: (gst_query_new_segment):
12599 * tests/check/gst/gstquery.c: (GST_START_TEST):
12600 Initialize variables when creating a new segment query.
12603 2006-08-28 Wim Taymans <wim@fluendo.com>
12605 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12607 * gst/gstelement.c: (gst_element_get_bus):
12608 * tests/check/gst/gstelement.c: (GST_START_TEST):
12609 Check for NULL before _reffing the bus. Fixes #353122.
12611 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12613 * docs/manual/basics-bus.xml:
12614 Docs update: fix wrong callback return value explanation; add
12615 some lines about the implicit relationship between main loop
12616 and main context; remove duplicate main loop variable declaration.
12618 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12620 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12621 Don't leak caps in unit test; add a few more simple
12624 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12626 * docs/gst/gstreamer-sections.txt:
12627 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12628 (gst_caps_structure_is_subset), (gst_caps_merge),
12629 (gst_caps_merge_structure):
12631 * libs/gst/base/gstbasetransform.c:
12632 (gst_base_transform_transform_caps):
12633 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12634 implement caps merging (fixes #352580)
12636 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12638 * tools/Makefile.am:
12639 * tools/gst-plot-timeline.py:
12640 add debug-log plotting developer tool (#340674)
12642 2006-08-23 Wim Taymans <wim@fluendo.com>
12644 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12645 (gst_pad_stop_task):
12646 Improve debugging for task functions.
12648 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12649 (gst_task_start), (gst_task_pause), (gst_task_join):
12650 Make sure that the task function started and finished after a
12652 Don't try to push the task function on the threadpool multiple
12654 Improve the g_warning message with some useful suggestions
12655 about how to fix the problem.
12657 2006-08-23 Wim Taymans <wim@fluendo.com>
12659 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12660 Handle RESYNC correctly in _proxy_getcaps.
12662 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12664 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12665 (gst_xml_parse_memory), (gst_xml_get_element):
12666 Chain up to parent class in dispose function and also
12667 unref the elements in the toplevel_elements GList.
12668 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12669 Always return a reference in gst_xml_get_element() rather
12670 than only sometimes.
12672 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12673 Don't leak GstXml object.
12675 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12677 * docs/gst/gstreamer-sections.txt:
12678 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12681 * libs/gst/base/gstbasetransform.c:
12682 (gst_base_transform_transform_caps):
12683 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12686 2006-08-21 Edward Hervey <edward@fluendo.com>
12688 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12689 Implement GObject::dispose virtual method in GstXML so we can free the
12690 top_elements GList.
12692 2006-08-21 Wim Taymans <wim@fluendo.com>
12694 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12695 (gst_buffer_create_sub):
12696 Copy duration/offset_end/caps when creating a subbuffer of the
12698 Make the subbuffer read-only when we make the metadata writable for
12699 now. Fixes #351768.
12701 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12702 Added check for metadata copy when creating subbuffers.
12704 2006-08-21 Edward Hervey <edward@fluendo.com>
12706 * libs/gst/base/gstbasetransform.c:
12707 (gst_base_transform_buffer_alloc):
12708 Only call downstream buffer_alloc if transform element is passthrough
12709 or always_in_place. Closes #350449.
12711 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12714 ChangeLog surgery to add comments to previous changes
12716 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12721 * gst/gstpad.c: (gst_pad_set_active):
12722 Be more verbose in the log
12724 * libs/gst/base/gstbasetransform.c:
12725 (gst_base_transform_transform_caps):
12726 Simplify caps to get rid of duplicates, fixes #345444
12728 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12732 Use these optimizations only internally.
12734 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12736 * gst/gstvalue.c: (gst_value_compare_list),
12737 (gst_value_compare_fraction_range),
12738 (gst_value_intersect_fraction_fraction_range),
12739 (gst_value_intersect_fraction_range_fraction_range),
12740 (gst_value_subtract_fraction_fraction_range),
12741 (gst_value_subtract_fraction_range_fraction_range),
12742 (gst_value_get_compare_func), (gst_value_compare),
12743 (gst_value_compare_with_func):
12745 Saves the expensive lookup of the compare function in many cases
12748 2006-08-18 Edward Hervey <edward@fluendo.com>
12750 * tests/check/gst/gstinfo.c: (gst_info_suite):
12751 Disable test that require gstdebug if it wasn't built in core.
12753 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12755 * docs/random/ensonic/logging.txt:
12758 * gst/gstinfo.c: (gst_debug_log_default):
12759 reorder fields, save some columns, add optional color codes for log
12762 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12764 * docs/random/ensonic/logging.txt:
12765 add ideas about making the logs a bit more useful
12767 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12769 * docs/pwg/advanced-events.xml:
12770 * docs/pwg/titlepage.xml:
12771 Update for 0.10 API (#340627). Add myself
12774 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12776 * docs/libs/gstreamer-libs-docs.sgml:
12777 * docs/libs/gstreamer-libs-sections.txt:
12778 * libs/gst/check/gstbufferstraw.c:
12779 Make gstcheck stuff show up in docs (still needs to
12780 be documented properly though).
12782 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12784 * docs/gst/gstreamer-sections.txt:
12786 * gst/gst.c: (init_post):
12787 * gst/gst_private.h:
12788 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12790 * gst/gstquery.c: (gst_query_new_position),
12791 (gst_query_set_position), (gst_query_parse_position),
12792 (gst_query_new_duration), (gst_query_set_duration),
12793 (gst_query_parse_duration), (gst_query_new_convert),
12794 (gst_query_set_convert), (gst_query_parse_convert),
12795 (gst_query_new_segment), (gst_query_set_segment),
12796 (gst_query_parse_segment), (gst_query_new_seeking),
12797 (gst_query_set_seeking), (gst_query_parse_seeking):
12798 Add internal helpers for pre-registering quarks from static strings
12799 and using the quark values directly instead of looking them up when
12800 creating and parsing queries. Can be used for event construction too.
12803 2006-08-16 Wim Taymans <wim@fluendo.com>
12808 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12810 * gst/gstutils.c: (gst_util_set_value_from_string):
12811 Fix memleak (#351502).
12813 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12814 Add unit test for most of gst_util_set_value_from_string()
12815 (not that one would want to encourage use of this function).
12817 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12819 * libs/gst/check/gstcheck.h:
12820 Use const gchar * variables in fail_unless_equals_string
12821 macro to avoid compiler warnings (and don't use tabs for
12824 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12826 * tools/gst-launch.c: (print_tag):
12827 More space on the left for the tag names, to cater
12828 for the 'extended comment' tag (not touching the
12829 string for the first line since it's translated).
12831 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12833 * libs/gst/check/gstcheck.h:
12834 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12835 print something when they fail.
12837 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12839 * docs/gst/gstreamer-sections.txt:
12840 * gst/gsttaglist.c: (_gst_tag_initialize):
12841 * gst/gsttaglist.h:
12842 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12843 Also change merge function for GST_TAG_COMMENT to
12846 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12848 * gst/gstinfo.c: (gst_debug_print_object):
12849 Make GST_PTR_FORMAT print messages as well.
12851 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12852 (GST_START_TEST), (gst_info_suite):
12855 2006-08-14 Edward Hervey <edward@fluendo.com>
12857 * gst/gstelementfactory.c: (gst_element_register):
12858 If the GstElementClass doesn't have a GstElementDetails with all fields
12859 filled up correctly (longname, description AND author), then error out
12860 nicely instead of crashing.
12862 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12864 * gst/gststructure.c:
12865 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12868 Expand on the difference between arrays and lists as we use them.
12870 2006-08-14 Wim Taymans <wim@fluendo.com>
12872 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12873 If the parent state change function failed, don't assume we can safely
12874 stop the source, this will be done when the pads are deactivated.
12876 2006-08-14 Wim Taymans <wim@fluendo.com>
12879 * gst/gsttask.c: (gst_task_join):
12882 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12883 (gst_pad_stop_task):
12884 When pad (de)activation failed for some reason, restore the old
12885 activation mode and set the pad to flushing instead of assuming the
12886 pad is deactivated.
12887 If the _task_join() failed, reinstall the task on the pad so that it can
12888 be stopped later and return an error.
12890 2006-08-11 Andy Wingo <wingo@pobox.com>
12893 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12894 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12895 is only for users of API that don't want to see deprecated
12896 functions in the headers; people that want to compile out
12897 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12898 CFLAGS. Fixes the build of multifdsink, or will soon..
12900 2006-08-11 Wim Taymans <wim@fluendo.com>
12902 * docs/gst/gstreamer-sections.txt:
12903 Add GstClockClass vmethod docs.
12906 Mark #endif with comment for associated #if
12908 * gst/gstclock.c: (gst_clock_id_wait):
12910 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12911 most clock implementations.
12913 Flesh out docs about resolution methods.
12914 API: GstClockClass::wait_jitter
12916 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12917 (gst_system_clock_async_thread),
12918 (gst_system_clock_id_wait_jitter_unlocked),
12919 (gst_system_clock_id_wait_jitter):
12920 Use base class wait_jitter variant for improved performance
12921 due to less clock polling.
12923 2006-08-11 Edward Hervey <edward@fluendo.com>
12925 * gst/gst.c: (gst_init_check), (init_post):
12926 Set gst as being initialized before scanning/updating the registry,
12927 since there might be my python plugin loader that calls gst_init() and
12928 we don't want to loop back in.
12931 2006-08-11 Wim Taymans <wim@fluendo.com>
12933 * docs/design/part-qos.txt:
12934 Bring docs in line with the code. Mostly the sign of the jitter was
12935 wrong in the docs. Fixes #349943.
12938 Fix the docs for the jitter.
12940 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12941 (gst_event_parse_tag), (gst_event_new_buffer_size),
12942 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12943 (gst_event_new_seek), (gst_event_parse_seek),
12944 (gst_event_new_navigation):
12945 Make sure the GstStructure has no parent when creating custom
12947 Add some more argument checking so that we avoid 0.0 rates.
12948 Flesh out the docs for the QoS event some more.
12950 2006-08-11 Wim Taymans <wim@fluendo.com>
12952 * docs/gst/gstreamer-sections.txt:
12953 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12954 (ensure_current_registry_forking), (ensure_current_registry),
12955 (parse_one_option), (parse_goption_arg), (gst_deinit),
12956 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12959 Added API and command line option to disable registry forking in
12960 addition to the environment variable.
12961 Constify some static arrays.
12962 Added some more debug.
12963 Don't deinit twice.
12964 API: gst_registry_fork_is_enabled()
12965 API: gst_registry_fork_set_enabled()
12966 API: --gst-disable-registry-fork command line option
12969 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12971 * gst/gst.c: (gst_init):
12972 Fix typo in error message.
12974 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12976 * libs/gst/controller/gstcontroller.h:
12977 fix ABI size-correction
12979 * tests/check/libs/gdp.c: (gst_dp_suite):
12980 make tests that use deprecated API conditional
12982 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12984 * docs/libs/gstreamer-libs-sections.txt:
12985 * libs/gst/controller/gstcontroller.c:
12986 (_gst_controller_get_property), (_gst_controller_set_property),
12987 (_gst_controller_init), (_gst_controller_class_init):
12988 * libs/gst/controller/gstcontroller.h:
12989 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12990 (gst_object_set_control_rate):
12991 API: add gst_object_{s,g}et_control_rate(), add private data section,
12994 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12995 * libs/gst/dataprotocol/dataprotocol.h:
12996 add deprecation guards to make gtk-doc happy and allow disabling cruft
12998 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
13000 * tests/check/Makefile.am:
13001 * tests/check/gst/.cvsignore:
13002 Let's enable the new unit test as well.
13004 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
13007 * docs/gst/gstreamer-sections.txt:
13008 * gst/gstconfig.h.in:
13009 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13010 (_gst_info_printf_extension_ptr),
13011 (_gst_info_printf_extension_segment):
13012 API: add GST_SEGMENT_FORMAT, which is a printf extension we
13013 register that lets us easily dump GstSegments into debug
13016 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13017 (info_segment_format_printf_extension), (gst_info_suite):
13018 Add simple unit test that logs a bunch of different segments (not
13019 valgrinded at the moment because of leaks in
13020 gst_debug_add_log_function).
13022 2006-08-09 Edward Hervey <edward@fluendo.com>
13024 * libs/gst/base/gstbasetransform.c:
13025 (gst_base_transform_buffer_alloc):
13026 Even if we can't figure out the proper format to request downstream,
13027 call buffer_alloc() downstream with the input parameters without setting
13028 the caps on the srcpad. This will force negotiation in the chain
13032 2006-08-08 Edward Hervey <edward@fluendo.com>
13034 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13035 Unlinking from a pad without a target is now a perfectly valid case
13036 which should NOT raise an assertion.
13037 This case would happen if a linked ghostpad its target set to NULL after
13038 it was previously linked.
13040 2006-08-08 Edward Hervey <edward@fluendo.com>
13042 * tests/check/libs/gdp.c:
13043 Also comment out the test (see below).
13045 2006-08-08 Edward Hervey <edward@fluendo.com>
13047 * tests/check/libs/gdp.c: (gst_dp_suite):
13048 Use the architecture information from config.h and not gcc macros
13049 in order to properly disable a test that fails on PPC64.
13051 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13053 * gst/gstelement.c: (gst_element_remove_pad):
13054 Don't crash printing the warning if the pad has no parent.
13056 2006-08-02 Wim Taymans <wim@fluendo.com>
13058 * libs/gst/dataprotocol/dataprotocol.c:
13059 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13060 (gst_dp_crc), (gst_dp_header_payload_length),
13061 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13062 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13063 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13064 (gst_dp_event_from_packet), (gst_dp_validate_header),
13065 (gst_dp_validate_payload):
13066 Make debug category static
13067 Constify the crc table.
13068 Do some more arg checking in public functions.
13069 Fix some docs and do some small cleanups.
13071 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13072 Add some more checks to see if GDP deals with bogus input.
13074 2006-07-31 Wim Taymans <wim@fluendo.com>
13076 * gst/gstvalue.c: (gst_value_compare_list):
13077 Fix GstValueList comparison code. Fixes #347293.
13079 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13080 Check to test GstValueList comparison.
13082 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13084 * gst/gstelementfactory.c: (gst_element_factory_create):
13085 Remove unnecessary ref/unref pair
13087 * gst/parse/grammar.y:
13088 Make sure to free the parse buffer on all code paths.
13089 Move a g_free up to the error handler where it's easier to see.
13091 * tests/check/gst/gstevent.c: (test_event):
13092 Extending timeout for downstream travelling events to 10 seconds to
13093 hopefully avoid intermittent failure on the buildbots.
13095 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13096 Don't manually set the state of the src element - it will happen as a
13097 natural consequence of the pipeline changing state, and that way it
13098 will do it in the right order too.
13100 2006-07-31 Wim Taymans <wim@fluendo.com>
13102 * libs/gst/base/gstbasetransform.c:
13103 (gst_base_transform_buffer_alloc):
13104 Use OBJECT_LOCK and refcounting to get the pad caps in the
13105 buffer_alloc function because the caps could change while we are
13106 busy with them. Fixes #349105
13108 2006-07-31 Wim Taymans <wim@fluendo.com>
13110 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13111 Protect _PAD_CAPS with OBJECT_LOCK.
13113 2006-07-31 Wim Taymans <wim@fluendo.com>
13115 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13116 (gst_pad_get_property), (gst_pad_activate_pull),
13117 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13118 (gst_pad_set_activate_function),
13119 (gst_pad_set_activatepull_function),
13120 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13121 (gst_pad_set_getrange_function),
13122 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13123 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13124 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13125 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13126 (gst_pad_set_acceptcaps_function),
13127 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13128 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13129 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13130 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13131 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13132 (gst_pad_configure_sink), (gst_pad_configure_src),
13133 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13134 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13135 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13136 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13137 (gst_pad_send_event):
13138 Use _DEBUG_OBJECT when it makes sense.
13139 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13140 Small cleanups and code reflows.
13141 Avoid caps refcounting in _accept_caps.
13142 Refactor alloc_buffer so that the code performed on the peer is in a
13143 separate function. Also if the pad does not implement a buffer alloc
13144 function, we should still check if the pad is flushing before falling
13145 back to the default allocator.
13147 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13149 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13150 Make all uses of identity and fakesink have silent=true to avoid
13151 serialising every passing data structure, which is breaking tests
13152 on FC4 for some unknown reason.
13154 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13156 * gst/parse/Makefile.am:
13157 * gst/parse/grammar.y:
13158 * gst/parse/parse.l:
13159 Reverted previous patch as it required to bump the flex dependency to
13160 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13162 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13164 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13166 * gst/parse/Makefile.am:
13167 * gst/parse/grammar.y:
13168 * gst/parse/parse.l:
13169 push & pop the state of the lexer for reentrant use case
13172 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13174 * libs/gst/base/gstbasesrc.h:
13175 Note in the docs that the ::newsegment vfunc is not actually used by
13178 2006-07-28 Wim Taymans <wim@fluendo.com>
13180 * libs/gst/base/gstcollectpads.c:
13181 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13182 (gst_collect_pads_clear), (gst_collect_pads_flush),
13183 (gst_collect_pads_event), (gst_collect_pads_chain):
13184 When flushing a pad, also clear the queued buffer so that we don't
13185 accidentally use it when we shouldn't.
13186 Fix leaks by inreffing incomming buffer.
13187 Flush out queued buffers in case of errors.
13190 2006-07-28 Wim Taymans <wim@fluendo.com>
13192 * docs/random/phonon-gst:
13193 Random notes about a Phonon backend.
13195 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13197 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13199 * tests/check/libs/gdp.c: (gst_dp_suite):
13200 Take a whack at fixing the ppc compile using a different define to
13201 disable the broken test.
13203 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13204 Remove excess g_print()
13206 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13208 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13209 Oops, meant to uncomment this line too to dampen the noise a bit.
13211 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13213 * gst/parse/grammar.y:
13214 * gst/parse/parse.l:
13215 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13216 (GST_START_TEST), (parse_suite):
13217 Fix some of the leaks exposed by extending the parse-launch testsuite,
13218 and move the 3 I can't figure out into a separate test that won't run
13219 the pipelines unless the appropriate line is uncommented.
13221 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13223 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13224 Requesting 0 bytes before the end of the file should result in
13225 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13228 2006-07-27 Wim Taymans <wim@fluendo.com>
13230 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13231 Fix useless assert, a uint is always positive.
13233 * gst/gststructure.c: (gst_structure_nth_field_name),
13234 (gst_structure_foreach), (gst_structure_map_in_place):
13235 Check input arguments for public functions to avoid obvious crashes.
13237 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13238 * plugins/elements/gstfakesink.h:
13239 Do less useless typechecking.
13241 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13243 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13244 Do not use mmap() by default since there are a number of error
13245 conditions that we would like to handle in a non-fatal way that
13246 will result in a SIGBUS if we use mmap(). Examples: external
13247 devices (USB harddrive, portable music player) being unplugged
13248 while in use; file on mounted CD/DVD that can't be read because
13249 the medium is partly damaged. Fixes #348455 and #348475.
13251 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13254 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13255 rates are a gdouble
13257 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13259 * gst/gstregistry.c:
13260 Move big documentation comment into class section header, so that it
13261 appears in the API docs.
13263 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13265 * docs/gst/gstreamer-sections.txt:
13266 Oops. Commit the docs additions too for new API.
13267 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13269 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13271 * gst/gststructure.c: (gst_structure_id_set),
13272 (gst_structure_id_set_valist):
13273 * gst/gststructure.h:
13274 Add API for setting values into structures without performing
13275 a quark lookup, if the appropriate quark is already known.
13277 API: gst_structure_id_set
13278 API: gst_structure_id_set_valist
13280 * gst/parse/grammar.y:
13281 * gst/parse/parse.l:
13282 Remove some dead code shown by the coverage information.
13283 Don't throw a critical g_warning when encountering a syntax error,
13284 just warn and let the normal error path handle it.
13286 * plugins/elements/gstelements.c:
13287 Bump the rank of filesink up to PRIMARY so that it is preferred over
13288 gnomevfssink for file:// sink uri's
13290 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13291 (GST_START_TEST), (run_delayed_test),
13292 (gst_parse_test_element_base_init),
13293 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13294 (gst_parse_test_element_change_state),
13295 (gst_register_parse_element), (parse_suite):
13296 Beef up the tests for parse syntax to check that more error cases
13297 fail as they are supposed to. Increases the test coverage a bit.
13299 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13301 * docs/manual/basics-elements.xml:
13302 Fix gst_element_link() example.
13305 Mention in API docs that one should usually gst_bin_add()
13306 elements to a bin or pipeline before doing the linking.
13308 2006-07-26 Wim Taymans <wim@fluendo.com>
13310 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13311 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13312 Avoid function call for known types by keeping the buffer and
13313 subbuffer GType global.
13315 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13316 Random silly optimisations in read() path.
13318 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13320 * tools/gst-launch.c: (main):
13321 If the top-level of the parse is a normal bin, it doesn't do the
13322 right logic to run as a top-level element, so place it inside a
13325 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13327 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13328 Remove superfluous g_object_notify() calls, GObject does
13329 that for us automatically.
13331 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13334 on Win32, use dllspec to export the debug category symbols
13336 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13338 * gst/gsttaglist.c: (_gst_tag_initialize):
13339 Allow more than one GST_TAG_IMAGE per taglist.
13341 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13343 * gst/gstminiobject.c:
13345 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13346 (gst_fd_src_create):
13347 log recurring events at LOG level
13348 add more debug for when the fd gets set
13350 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13352 * gst/gstparse.c: (gst_parse_launch):
13353 Also remove reentrance checks if flex is MT safe (#348179)
13354 Fix my empty ChangeLog entry below
13356 2006-07-21 Andy Wingo <wingo@pobox.com>
13358 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13360 * libs/gst/check/Makefile.am
13361 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13362 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13363 * libs/gst/check/gstbufferstraw.h:
13364 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13365 functions, thus proving I am still a GStreamer haxor. OK I wrote
13366 them a long time ago, but anyways.
13368 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13371 * gst/gstparse.c: (gst_parse_launch):
13372 Check for flex version and omit mutex if we have a MT save flex
13375 2006-07-21 Wim Taymans <wim@fluendo.com>
13377 * gst/gstparse.c: (gst_parse_launch):
13378 Protect recursive calls to _parse with a recursive mutex
13381 2006-07-21 Wim Taymans <wim@fluendo.com>
13383 * tests/check/gst/gstpad.c: (GST_START_TEST):
13386 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13388 * gst/gstparse.c: (gst_parse_launch):
13389 Do not hang on recursive usage of gst_parse_launch()
13391 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13393 * gst/gsttaglist.c:
13394 Add some more docs, comments and FIXME 0.11s here and there
13395 and also fix some typos.
13397 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13399 * gst/gstsegment.h:
13400 Convert tabs to spaces for better readability.
13402 2006-07-20 Edward Hervey <edward@fluendo.com>
13404 * tests/check/libs/gdp.c: (gst_dp_suite):
13405 the test_buffer test fails at line 140 on ppc64 at the following
13407 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13408 GST_BUFFER_FLAG_IN_CAPS),
13409 "GST_BUFFER_IN_CAPS flag should have been copied !");
13410 See bug #348114 for more details.
13412 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13414 * docs/pwg/advanced-scheduling.xml:
13416 Fix typos (#348000).
13418 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13420 * docs/pwg/intro-basics.xml:
13421 Fix wrong links (#347927).
13423 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13425 * gst/gstregistry.h:
13426 * gst/gstregistryxml.c: (load_feature),
13427 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13428 * win32/common/config.h:
13429 make --disable-index work (#342564)
13431 2006-07-18 Wim Taymans <wim@fluendo.com>
13433 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13437 The attached patch adds two missing defines to gsttrace.h when tracing
13438 is disabled. It also corrects one existing define.
13441 2006-07-17 Wim Taymans <wim@fluendo.com>
13443 * docs/gst/gstreamer-sections.txt:
13444 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13446 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13447 Add two functions to check and change the SIGSEGV behaviour
13448 when loading plugins.
13449 Don't mess with the SIGSEGV handler when we were told not to.
13451 API: gst_segtrap_is_enabled
13452 API: gst_segtrap_set_enabled
13454 2006-07-14 Wim Taymans <wim@fluendo.com>
13456 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13457 * tests/check/elements/filesrc.c: (GST_START_TEST):
13458 Revert fix for regression in #347408 after release.
13460 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13462 Patch by: Antoine Tremblay <hexa00 at gmail com>
13464 * gst/gstutils.c: (gst_element_unlink):
13465 Free iterator when done (#347311).
13467 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13468 And add a test case for this.
13470 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13473 Bump nano back to CVS
13475 === release 0.10.9 ===
13477 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13480 releasing 0.10.9, "On the road again"
13482 2006-07-13 Wim Taymans <wim@fluendo.com>
13484 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13485 * tests/check/elements/filesrc.c: (GST_START_TEST):
13486 Revert pull-0 fix for release. Disable check. Fixes #347408.
13488 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13490 * libs/gst/dataprotocol/dataprotocol.c:
13491 (gst_dp_event_from_packet_1_0):
13492 Fixes #347337: failure to deserialize event packets with
13493 empty payload (only event type)
13495 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13498 do not install a .c file in the header directory
13500 2006-07-13 Edward Hervey <edward@fluendo.com>
13502 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13503 GhostPad no longer implicitely use the padtemplates of the targets.
13506 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13508 * gst/gstvalue.c: (gst_value_compare_list),
13509 (gst_value_compare_array), (_gst_value_initialize):
13510 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13511 Make GstValueArray comparison be order dependent as designed.
13512 Add checks for value lists and value array comparisons.
13515 2006-07-11 Edward Hervey <edward@fluendo.com>
13517 * gst/gstbin.c: (activate_pads),
13518 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13519 (gst_bin_change_state_func):
13520 (de)activate src pads before calling state_change on the childs.
13521 This is to avoid the case where a src ghostpad is blocked (holding the
13522 stream lock), which would block the deactivation of the ghostpad's
13524 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13525 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13526 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13527 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13528 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13529 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13530 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13531 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13532 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13533 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13534 (gst_ghost_pad_class_init),
13535 (gst_ghost_pad_internal_do_activate_push),
13536 (gst_ghost_pad_internal_do_activate_pull),
13537 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13538 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13539 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13540 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13541 GhostPads now create their internal GstProxyPad at creation (and not
13542 when they're linked, as it was being done previously).
13543 The internal and target pads are linked straight away.
13544 The data will also travel through the other pad in order to make
13545 pad blocking and probes non-hackish (the probe/block now really happens
13546 on the GhostPad and not on the target).
13547 * gst/gstpad.c: (gst_pad_set_blocked_async),
13548 (gst_pad_link_prepare), (gst_pad_push_event):
13549 Remove previous ghostpad cruft.
13550 * gst/gstutils.c: (gst_pad_add_data_probe),
13551 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13552 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13553 (gst_pad_remove_buffer_probe):
13554 Remove previous ghost pad cruft.
13555 Added more detailed debug statements.
13556 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13557 Fix the testsuite for refcounting changes.
13558 The comments about who has references were correct, but the refcount
13559 being checked wasn't the same (!?!).
13563 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13565 * docs/gst/gstreamer-sections.txt:
13566 * gst/gstconfig.h.in:
13567 More docs for configuration options, add docs to gtk-doc.
13569 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13572 * gst/gstconfig.h.in:
13573 * win32/common/config.h:
13574 Fix build when disabling tracing (fixes #344016). Also start to document
13575 the defines that disable the sub-systems.
13577 2006-07-10 Edward Hervey <edward@fluendo.com>
13579 * gst/gst.c: (ensure_current_registry_forking):
13580 let's make valgrind happy...
13582 2006-07-09 Wim Taymans <wim@fluendo.com>
13584 * gst/gstelement.c: (activate_pads),
13585 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13586 Better pad activation code: Reset the collect value too on resync.
13589 2006-07-09 Wim Taymans <wim@fluendo.com>
13591 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13592 (gst_pad_activate_push):
13593 Use some more macros where it makes sense.
13594 Allow pad mode switching instead of asserting. When a pad
13595 is activated in one mode and we activate it in another,
13596 deactivate it first before activating it in a different mode.
13599 2006-07-08 Andy Wingo <wingo@pobox.com>
13601 * tools/gst-launch.c (main): Handle err == NULL.
13603 * gst/gst.c (init_post, ensure_current_registry)
13604 (ensure_current_registry_forking)
13605 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13606 factoring out the registry scanning into separate functions. Don't
13607 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13608 Better environment var name/interface suggestions accepted.
13610 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13612 * gst/gstobject.c: (gst_object_set_name_default),
13613 (gst_object_set_name):
13614 Random micro-optimisation: don't use a hash table
13615 with strings as keys and the usual strdup/strcmp
13616 involved, but rather just use the GQuark of the
13617 type name as key, since it needs to be looked up
13618 anyway to get the type name string.
13620 * tests/check/gst/gstobject.c: (GST_START_TEST):
13623 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13625 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13626 (gst_bin_iterate_all_by_interface):
13627 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13628 GTypes are gulongs and thus the top 4 bytes might be cut
13629 off on some platforms when doing GPOINTER_TO_INT, leading
13630 to invalid GTypes and bad things happening (see RH bug #179654).
13631 Also add a check to make sure the type passed in is really
13634 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13639 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13643 * gst-element-check.m4:
13644 * gst-element-check.m4.in:
13645 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13646 instead of the unversioned gst-inspect (#324176, #168659).
13648 2006-07-06 Wim Taymans <wim@fluendo.com>
13650 * gst/gstmessage.h:
13651 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13654 2006-07-06 Wim Taymans <wim@fluendo.com>
13656 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13657 (gst_base_src_wait), (gst_base_src_update_length),
13658 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13659 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13660 (gst_base_src_loop), (gst_base_src_start),
13661 (gst_base_src_activate_pull):
13663 blocksize == 0 now means the default blocksize when working in push
13665 Remove some pointless asserts in _wait function.
13666 Fix offset/length calculations and EOS handling. We can now pull 0
13667 bytes as well, which is allowed.
13668 use _check_get_range() to decide if we can operate in _pull based
13670 Fix refcounting leak when check_get_range function was not
13672 API GstBaseSrc::blocksize range can be 0 too now (default)
13674 * tests/check/elements/filesrc.c: (GST_START_TEST),
13676 Added check to test _get_range() behaviour.
13678 2006-07-06 Wim Taymans <wim@fluendo.com>
13680 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13681 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13682 (gst_pad_pull_range):
13684 Lots of comments and docs added to the pad functions.
13685 Flesh out the expected behaviour of the get_range() functions.
13687 2006-07-06 Wim Taymans <wim@fluendo.com>
13692 * gst/gstiterator.h:
13696 Remove comma at end of enumerator list.
13698 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13700 * win32/common/libgstbase.def:
13701 * win32/common/libgstdataprotocol.def:
13702 * win32/common/libsgtreamer.def:
13703 Add new exported functions.
13705 2006-07-05 Wim Taymans <wim@fluendo.com>
13707 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13708 Add some more docs here and there.
13710 2006-07-05 Wim Taymans <wim@fluendo.com>
13712 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13713 (gst_base_sink_loop), (gst_base_sink_get_position):
13714 When operating in pull mode update the offset so that we
13717 2006-07-05 Wim Taymans <wim@fluendo.com>
13719 * gst/gstregistryxml.c: (read_string):
13720 Avoid strdup. (will happen in libxml, but hey!)
13723 Add some more docs.
13725 2006-07-05 Wim Taymans <wim@fluendo.com>
13727 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13728 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13729 (gst_buffer_suite):
13730 No point in checking if the size of the subbuffer > 0, the
13731 code handles it correclty as demonstrated by unit test.
13732 Also add a unit test for the zero sized _new_and_alloc and
13733 _copy. Fixes #346663.
13735 2006-07-05 Wim Taymans <wim@fluendo.com>
13737 * libs/gst/base/gstbasetransform.c:
13738 (gst_base_transform_prepare_output_buffer),
13739 (gst_base_transform_buffer_alloc),
13740 (gst_base_transform_handle_buffer):
13741 Make sure the buffer we pass to transform_ip has a refcount of
13742 1 and thus is writable. Fixes #343196
13744 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13746 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13747 (gst_file_src_init), (gst_file_src_set_property),
13748 (gst_file_src_get_property), (gst_file_src_map_region):
13749 * plugins/elements/gstfilesrc.h:
13750 Add "sequential" property, off by default, to use madvise and hint
13751 to the kernel that sequential access is desired.
13752 Touch all retrieved pages by default to ensure they are pulled
13753 into memory. (Closes #345720)
13755 2006-07-03 Wim Taymans <wim@fluendo.com>
13757 * docs/design/part-block.txt:
13758 * docs/design/part-dynamic.txt:
13759 Small docs updates.
13761 2006-07-03 Wim Taymans <wim@fluendo.com>
13763 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13764 (gst_caps_unref), (gst_static_caps_get),
13765 (gst_caps_append_structure):
13766 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13767 Use GSlice when the glib we build against is >= 2.10
13769 2006-07-03 Wim Taymans <wim@fluendo.com>
13771 * gst/gstelement.c: (gst_element_pads_activate):
13772 Small cleanup in pad activation code.
13774 2006-07-03 Wim Taymans <wim@fluendo.com>
13776 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13778 * gst/gst-i18n-app.h:
13779 * gst/gst-i18n-lib.h:
13780 * tools/gst-inspect.c: (print_signal_info):
13781 The attached patch will make the inclusion of gettext.h unconditional in
13782 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13783 libintl.h in tools/gst-inspect.c.
13784 This allows use of --disable-nls again and fixes #344642.
13786 2006-07-03 Edward Hervey <edward@fluendo.com>
13788 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13789 Implement pad blocking on events according to part-block.txt.
13790 More comments on behaviour.
13791 * tests/check/gst/gstevent.c: (test_event):
13792 Send event to peer pad of blocked pad (else it will block).
13794 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13796 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13797 (gst_check_run_suite):
13798 if we get the wrong message, give us the types as string
13799 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13801 * tests/check/elements/filesrc.c: (GST_START_TEST):
13802 add a test for trying to open a non-existing file
13804 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13806 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13807 add a test for adding self
13809 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13811 * libs/gst/check/gstcheck.h:
13812 add some assert_ as alias for fail_unless_*
13813 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13814 increase test coverage
13816 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13819 include lcov.mak for lcov coverage generation
13820 * tools/Makefile.am:
13823 2006-07-02 Edward Hervey <edward@fluendo.com>
13825 * tests/check/elements/.cvsignore:
13828 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13831 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13832 * tests/check/Makefile.am:
13833 clean up gcov files
13835 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13837 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13838 remove gst_caps_simplify; it was not declared and not used
13839 and deprecated in 0.8
13841 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13843 * docs/faq/gst-uninstalled:
13844 don't put empty paths on PYTHONPATH
13845 * docs/gst/gstreamer-sections.txt:
13846 remove some symbols that are not there
13848 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13850 * gst/gstcaps.c: (gst_caps_compare_structures):
13852 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13853 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13856 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13858 * libs/gst/dataprotocol/Makefile.am:
13859 build dataprotocol test by linking to the lib, instead of
13860 compiling the source, so we get coverage
13861 * tests/check/Makefile.am:
13862 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13863 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13864 add a test for filesrc
13866 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13868 * tests/check/gst/gststructure.c: (GST_START_TEST),
13869 (gst_structure_suite):
13870 Push coverage from 59.04% to 70.00%
13872 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13874 * tests/check/Makefile.am:
13875 gst-inspect every element; this makes sure that we also get
13876 coverage on element's get/set functions
13878 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13881 set CFLAGS and friends to -O0 if gcov is being used
13884 * libs/gst/base/Makefile.am:
13885 * libs/gst/check/Makefile.am:
13886 * libs/gst/controller/Makefile.am:
13887 * libs/gst/dataprotocol/Makefile.am:
13888 * libs/gst/net/Makefile.am:
13889 * plugins/elements/Makefile.am:
13890 * plugins/indexers/Makefile.am:
13891 add makefile rules to generate gcov data and clean up
13892 * tests/check/Makefile.am:
13893 add a coverage target that generates an html overview
13896 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13898 * tests/check/elements/fakesink.c:
13899 * tests/check/elements/fakesrc.c:
13900 * tests/check/elements/fdsrc.c:
13901 * tests/check/elements/identity.c:
13902 * tests/check/generic/sinks.c: (gst_sinks_suite):
13903 * tests/check/generic/states.c:
13904 * tests/check/gst/gst.c:
13905 * tests/check/gst/gstabi.c:
13906 * tests/check/gst/gstbin.c:
13907 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13908 * tests/check/gst/gstbus.c: (gst_bus_suite):
13909 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13910 * tests/check/gst/gstelement.c:
13911 * tests/check/gst/gstevent.c: (gst_event_suite):
13912 * tests/check/gst/gstghostpad.c:
13913 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13914 * tests/check/gst/gstmessage.c: (gst_message_suite):
13915 * tests/check/gst/gstminiobject.c:
13916 * tests/check/gst/gstobject.c:
13917 * tests/check/gst/gstpad.c:
13918 * tests/check/gst/gstpipeline.c:
13919 * tests/check/gst/gstplugin.c:
13920 * tests/check/gst/gstquery.c: (gst_query_suite):
13921 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13922 * tests/check/gst/gststructure.c:
13923 * tests/check/gst/gstsystemclock.c:
13924 * tests/check/gst/gsttag.c:
13925 * tests/check/gst/gsttask.c: (gst_task_suite):
13926 * tests/check/gst/gstutils.c:
13927 * tests/check/gst/gstvalue.c:
13928 * tests/check/libs/adapter.c:
13929 * tests/check/libs/basesrc.c:
13930 * tests/check/libs/collectpads.c:
13931 * tests/check/libs/controller.c:
13932 * tests/check/libs/gdp.c: (gst_dp_suite):
13933 * tests/check/libs/gstnetclientclock.c:
13934 * tests/check/libs/gstnettimeprovider.c:
13935 * tests/check/libs/libsabi.c: (libsabi_suite):
13936 * tests/check/libs/typefindhelper.c:
13937 * tests/check/pipelines/cleanup.c:
13938 * tests/check/pipelines/parse-launch.c:
13939 * tests/check/pipelines/simple-launch-lines.c:
13940 * tests/check/pipelines/stress.c: (stress_suite):
13943 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13945 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13946 * libs/gst/check/gstcheck.h:
13947 create a macro and function so that the simple unit test
13948 case can be just one macro to create main()
13950 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13952 * gst/gstbin.c: (gst_bin_restore_thyself):
13953 * gst/gstxml.c: (gst_xml_make_element):
13954 Fix deserialisation from XML. Set parent manually
13955 instead of using gst_bin_add(), since gst_bin_add()
13956 will unlink all pads of the element being added.
13959 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13961 Patch by: Peter Kjellerstedt <pkj at axis com>
13963 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13964 Fix missing g_strdup() and double free when using the
13965 --gst-plugin-load command line option (#346097).
13967 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13970 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13972 * libs/gst/net/gstnetclientclock.c:
13973 * libs/gst/net/gstnettimeprovider.c:
13974 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13976 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13978 * docs/manual/advanced-dataaccess.xml:
13979 Fix buffer probe example compilation in
13982 2006-06-22 Edward Hervey <edward@fluendo.com>
13984 * gst/gstelement.c: (gst_element_pads_activate):
13985 We need to deactivate src pads first and then sink pads.
13986 The reason is the src pads might be blocking while holding the streaming
13987 lock, so we need to deactivate them first so that deactivating the sink
13988 pads doesn't block (since it will require the streaming lock).
13990 2006-06-22 Wim Taymans <wim@fluendo.com>
13992 * libs/gst/base/gstbasetransform.c:
13993 (gst_base_transform_buffer_alloc):
13994 Forgot to remove two unneeded unrefs.
13995 Simplify a check _is_equal allready checks the obvious case.
13997 2006-06-22 Wim Taymans <wim@fluendo.com>
13999 * docs/design/part-block.txt:
14000 Some docs about what pad_block should do.
14002 2006-06-22 Wim Taymans <wim@fluendo.com>
14004 * gst/gstcaps.c: (gst_caps_replace):
14005 Fix crasher when passed NULL. Doc clarification.
14006 Optimize for the trivial case.
14008 * gst/gstpipeline.c: (gst_pipeline_change_state):
14011 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14012 Small documentation cleanup.
14014 * libs/gst/base/gstbasetransform.c:
14015 (gst_base_transform_buffer_alloc):
14016 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14017 is what we need and it avoids a whole lot of redundant
14018 refcount operations.
14020 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
14022 Patch by: Philip Jägenstedt <philip at lysator liu se>
14024 * docs/manual/advanced-dataaccess.xml:
14025 Fix 'Embedding static elements' section to use
14026 GST_PLUGIN_DEFINE_STATIC (#345607).
14028 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14030 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14031 Attempt to 'fix' spuriously failing test case: it seems like the
14032 timeout of half a second is simply too small when the system is under
14033 load otherwise, and the timeout doesn't really seem to serve any
14034 particular purpose here. Give the pipeline a few seconds to preroll
14035 first, and then give it another half a second to go from PAUSED to
14036 PLAYING and marshal the message into the main thread.
14038 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14040 * tools/gst-feedback-m.m:
14041 Don't only use unversioned tools, try versioned tools as well
14044 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14046 * gst/gstbus.c: (gst_bus_class_init):
14047 Fix some typos, make docs more explicit.
14049 2006-06-20 Wim Taymans <wim@fluendo.com>
14051 * tests/check/gst/gstghostpad.c: (block_callback),
14052 (GST_START_TEST), (gst_ghost_pad_suite):
14053 Added some more ghostpad tests, mainly blocking
14056 2006-06-16 Wim Taymans <wim@fluendo.com>
14058 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14059 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14060 (gst_file_sink_event), (gst_file_sink_render):
14061 * plugins/elements/gstfilesink.h:
14062 Check if we can seek in the file instead of assuming
14063 we always can. Post an error when we are asked to seek in a
14064 non-seekable file (like a fifo). Fixes #343312.
14067 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14069 * tools/gst-launch.1.in:
14070 Un-garble (fourcc) bit in filtered caps section.
14072 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14074 * docs/manual/advanced-autoplugging.xml:
14075 * docs/manual/basics-helloworld.xml:
14076 * docs/manual/highlevel-components.xml:
14077 Don't leak bus reference in sample code.
14079 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14082 Add default for new --enable-plugin-docs switch.
14085 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14088 * docs/Makefile.am:
14089 Use new ENABLE_PLUGIN_DOCS conditional.
14091 2006-06-14 Wim Taymans <wim@fluendo.com>
14093 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14094 Make it clear with a FIXME and a real define what the #if 0
14095 previously disabled.
14097 2006-06-14 Wim Taymans <wim@fluendo.com>
14099 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14100 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14101 * libs/gst/base/gstbasetransform.c:
14102 (gst_base_transform_sink_eventfunc):
14103 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14104 Don't randomly and silently reset a segment when the format
14105 changes as this is a bug somewhere upstream. Fixes #330379.
14107 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14109 Patch by: Wouter Paesen <wouter at kangaroot net>
14111 * libs/gst/controller/gstcontroller.c:
14112 (gst_controlled_property_new):
14113 Fix controlling of float properties (#344849).
14115 * tests/check/libs/controller.c:
14116 (gst_test_mono_source_get_property),
14117 (gst_test_mono_source_set_property),
14118 (gst_test_mono_source_class_init), (GST_START_TEST):
14119 While we're at it, add some float stuff to unit test.
14121 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14124 * docs/images/gdp-header.svg:
14126 * docs/libs/Makefile.am:
14127 * docs/libs/gdp-header.png:
14128 * libs/gst/dataprotocol/dataprotocol.c:
14129 add it to the API docs
14130 * docs/manual/intro-motivation.xml:
14133 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14135 * gst/gst.c: (scan_and_update_registry), (init_post):
14136 If the fork()'ed child process can't write the updated registry cache
14137 file to disk for some reason, make it exit with a failure exit code,
14138 so that the parent can then re-scan the plugins itself and update the
14139 registry structures in memory and work with that (rather than failing
14140 when creating elements because seemingly no plugins are available).
14141 Refactor registry scanning code into separate function for this and
14142 also separate fork() and non-fork() code paths. Fixes #344748.
14144 2006-06-13 Wim Taymans <wim@fluendo.com>
14146 * docs/manual/advanced-dataaccess.xml:
14147 Fix wrong PluginDesc. Fixes #344755.
14149 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14151 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14152 Fix silly bug that prevented us from creating
14153 ~/.gstreamer-0.10 and writing the registry in one
14154 go (the first call to g_mkstemp() would overwrite the
14155 placeholder in the template string, so the second call
14156 to g_mkstemp() after creating the missing directory
14157 would then error out with 'invalid argument').
14159 2006-06-13 Edward Hervey <edward@fluendo.com>
14161 * gst/gst.c: (init_post):
14164 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14166 * gst/glib-compat-private.h:
14167 * gst/glib-compat.c:
14168 * gst/glib-compat.h:
14169 * gst/gstvalue.c: (gst_value_serialize_flags):
14170 remove GLib 2.6 compatibility code
14172 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14174 * gst/parse/Makefile.am:
14175 Fix build with 'make -j N' even more (#340016).
14177 2006-06-12 Wim Taymans <wim@fluendo.com>
14179 * docs/gst/gstreamer-sections.txt:
14182 2006-06-12 Wim Taymans <wim@fluendo.com>
14184 * gst/gstsegment.c: (gst_segment_set_duration),
14185 (gst_segment_set_last_stop), (gst_segment_set_seek),
14186 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14187 (gst_segment_to_running_time), (gst_segment_clip):
14188 Use G_UNLIKELY to help the compiler a bit.
14190 2006-06-12 Wim Taymans <wim@fluendo.com>
14192 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14194 * gst/gstevent.c: (gst_event_get_type):
14195 * gst/gstmessage.c:
14196 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14198 constify quark registration strings. Fixes #344115
14199 Avoid unneeded type checking is _pad_push() by internally
14200 calling gst_pad_chain_unchecked().
14202 2006-06-12 Wim Taymans <wim@fluendo.com>
14204 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14205 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14206 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14207 (gst_buffer_is_span_fast), (gst_buffer_span):
14208 Init _type for consistency.
14209 Use _FLAGS macro to avoid type check.
14210 Avoid unneeded type checks in subbufer code.
14212 2006-06-12 Wim Taymans <wim@fluendo.com>
14214 * gst/gst.c: (gst_debug_help):
14215 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14216 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14217 (gst_plugin_feature_list_free):
14218 * gst/gstregistry.c: (gst_registry_add_plugin),
14219 (gst_registry_add_feature), (gst_registry_plugin_filter),
14220 (gst_registry_feature_filter), (gst_registry_find_plugin),
14221 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14222 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14223 * gst/gstregistryxml.c: (load_feature),
14224 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14225 * gst/gstminiobject.c: (gst_mini_object_unref),
14226 (gst_mini_object_replace), (gst_value_mini_object_free),
14227 (gst_value_mini_object_copy):
14228 Use _CAST macros to avoid unneeded type checking.
14229 Added some more G_UNLIKELY.
14231 2006-06-12 Wim Taymans <wim@fluendo.com>
14234 Avoid unneeded type checking.
14235 API: GST_BUFFER_IS_DISCONT
14237 * gst/gstminiobject.h:
14238 Avoid type check in flag accessor.
14240 * gst/gstelementfactory.h:
14242 * gst/gstpluginfeature.h:
14244 API: GST_ELEMENT_FACTORY_CAST
14245 API: GST_PLUGIN_CAST
14246 API: GST_PLUGIN_FEATURE_CAST
14248 2006-06-12 Wim Taymans <wim@fluendo.com>
14250 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14251 (gst_object_unref):
14252 Add G_UNLIKELY in type registration.
14253 Avoid type check in _ref/_unref since that is also
14256 2006-06-12 Wim Taymans <wim@fluendo.com>
14258 * gst/gsterror.c: (gst_g_error_get_type):
14259 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14260 (gst_static_pad_template_get_type):
14261 * gst/gsttaglist.c: (gst_tag_list_get_type):
14262 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14263 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14264 * gst/gsturi.c: (gst_uri_handler_get_type):
14265 * gst/gstvalue.c: (gst_date_get_type):
14266 * gst/gstxml.c: (gst_xml_get_type):
14267 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14268 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14269 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14270 Add G_UNLIKELY in type registration.
14272 2006-06-12 Wim Taymans <wim@fluendo.com>
14274 * tools/gst-inspect.c: (print_signal_info):
14275 Properly print enum values.
14277 2006-06-12 Wim Taymans <wim@fluendo.com>
14279 * gst/gstinfo.c: (gst_debug_set_active),
14280 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14282 Add some G_[UN]LIKELY.
14283 Maintain __gst_debug_min to avoid formatting the arguments of
14284 debug messages that will be dropped anyway to avoid a lot of
14285 overhead from the debugging system.
14287 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14290 * po/POTFILES.skip:
14291 add missing files containing translatable strings, tell intltool about
14294 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14296 * tests/check/libs/.cvsignore:
14297 add test-binary to ignore list
14299 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14301 * docs/libs/gstreamer-libs-docs.sgml:
14302 reorder (put dp into a chapter) and indent
14304 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14309 === release 0.10.8 ===
14311 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14314 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14316 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14318 * gst/gst.c: (init_post):
14319 move pid declaration to declaration block
14321 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14323 * gst/gst.c: (init_post):
14324 use _exit() instead of exit() in our forked child; this ensures
14325 that none of the registered exit handlers from whatever is using
14326 GStreamer get executed. This fixes gnome-mixer-applet failing
14327 to load, because ORBit would shut down.
14328 Spotted by: Edward Hervey <edward@fluendo.com>
14329 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14332 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14337 === release 0.10.7 ===
14339 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14342 releasing 0.10.7, "Soepeke, ik zie ou"
14344 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14367 * win32/common/config.h:
14368 0.10.6.2 prerelease
14370 2006-06-07 Wim Taymans <wim@fluendo.com>
14372 * gst/gstindex.c: (gst_index_gtype_resolver):
14373 * tools/gst-xmlinspect.c: (print_plugin_info):
14374 Fix leak spotted by coverity checker. Fixes #343827
14375 Fix another other leak found by paolo borelli.
14377 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14379 * libs/gst/dataprotocol/dataprotocol.c:
14380 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14381 (gst_dp_version_get_type), (gst_dp_init),
14382 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14383 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14384 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14385 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14386 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14387 (gst_dp_packetizer_free):
14388 * libs/gst/dataprotocol/dataprotocol.h:
14389 API: add a GstDPPacketizer object, and create/free functions
14390 API: add GstDPVersion enum
14391 Add 1.0 event function that uses the string serialization
14392 Serialize more useful buffer flags
14395 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14397 * tests/check/Makefile.am:
14398 * tests/check/gst/gstabi.c:
14399 * tests/check/gst/struct_ppc64.h:
14400 * tests/check/libs/libsabi.c:
14401 * tests/check/libs/struct_ppc64.h:
14402 add ppc64 structure sizes
14404 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14406 * tests/check/Makefile.am:
14407 * tests/check/gst/gstabi.c:
14408 * tests/check/gst/struct_x86_64.h:
14409 * tests/check/libs/libsabi.c:
14410 * tests/check/libs/struct_x86_64.h:
14411 generate and add structure size lists for x86_64
14413 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14415 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14416 * libs/gst/check/gstcheck.h:
14417 factor out the method from tests that checks size of structures,
14418 and add code to generate the header containing these sizes
14419 * tests/check/gst/gstabi.c: (GST_START_TEST):
14420 * tests/check/gst/struct_i386.h:
14421 * tests/check/libs/libsabi.c: (GST_START_TEST):
14422 * tests/check/libs/struct_i386.h:
14425 2006-06-06 Michael Smith <msmith@fluendo.com>
14427 * gst/gstsegment.h:
14428 Don't use c++-style comments, fixes #343929
14430 2006-06-05 Edward Hervey <edward@fluendo.com>
14433 plugin_paths is not used if we build without registry support.
14435 * gst/gstsegment.c: (gst_segment_copy):
14436 _copy() was always returning NULL...
14438 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14440 * libs/gst/dataprotocol/dataprotocol.c:
14441 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14442 (gst_dp_packet_from_event):
14443 factor out CRC code
14445 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14447 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14448 make sure we unset caps
14450 2006-06-02 Michael Smith <msmith@fluendo.com>
14452 * libs/gst/check/gstcheck.c: (gst_check_init),
14453 (gst_check_chain_func):
14454 * libs/gst/check/gstcheck.h:
14455 Add a cond/mutex to the check support lib, signal this whenever we
14456 add to the buffers list. This will allow tests to not busy-wait on
14459 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14461 * libs/gst/dataprotocol/dataprotocol.c:
14462 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14463 (gst_dp_packet_from_event):
14464 factor out some common header init code
14466 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14468 * docs/libs/gstreamer-libs-sections.txt:
14469 * docs/libs/tmpl/gstdataprotocol.sgml:
14470 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14471 * libs/gst/dataprotocol/dataprotocol.h:
14472 API: make gst_dp_crc() public
14474 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14476 * plugins/indexers/gstindexers.c: (plugin_init):
14477 conditionally register fileindexer (fixes #343598)
14479 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14481 * gst/gsttagsetter.h:
14482 Can't cast ifaces to a class
14484 * libs/gst/net/gstnetclientclock.h:
14485 * libs/gst/net/gstnettimeprovider.h:
14486 * plugins/elements/gstfakesink.h:
14487 * plugins/elements/gstfakesrc.h:
14488 * plugins/elements/gstfdsink.h:
14489 * plugins/elements/gstfdsrc.h:
14490 * plugins/elements/gstfilesink.h:
14491 * plugins/elements/gstfilesrc.h:
14492 * plugins/elements/gstidentity.h:
14493 * plugins/elements/gstqueue.h:
14494 * plugins/elements/gsttee.h:
14495 * plugins/indexers/gstfileindex.c:
14496 * plugins/indexers/gstmemindex.c:
14497 * tests/old/examples/plugins/example.h:
14498 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14500 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14502 * libs/gst/dataprotocol/dataprotocol.c:
14503 (gst_dp_header_from_buffer):
14504 make sure we zero the whole ABI-compatible area
14506 2006-06-01 Wim Taymans <wim@fluendo.com>
14508 Patch by: Alessandro Decina <alessandro at nnva dot org>
14510 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14511 Make sure the EOS flag is cleared from pads after a flush
14512 or stop. Fixes #343538.
14514 * tests/check/libs/collectpads.c: (GST_START_TEST),
14515 (gst_collect_pads_suite):
14516 Added test for collectpads reusage after EOS.
14518 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14521 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14522 * win32/common/libgstbase.def:
14523 export gst_collect_pads_set_flushing
14524 * win32/common/libgstreamer.def:
14525 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14526 gst_value_fraction_multiply
14527 * win32/vs6/gst_inspect.dsp:
14528 add a link to intl.lib
14530 2006-05-30 Wim Taymans <wim@fluendo.com>
14532 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14533 (gst_collect_pads_chain):
14534 Handle the case where a pad is removed from the collection
14535 that could cause the other pads to become collectable.
14537 2006-05-30 Wim Taymans <wim@fluendo.com>
14539 * gst/gstelement.c:
14540 Clarify the use of _release_request_pad() and
14541 _get_request_pad() a bit better.
14543 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14544 (gst_adapter_take_buffer):
14545 Fix some doc and comment typos.
14547 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14549 * docs/gst/gstreamer-sections.txt:
14550 * docs/libs/gstreamer-libs-sections.txt:
14551 add declared symbols
14553 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14555 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14556 Add debug that can be enabled using a #define at the top of the file,
14557 for dumping stats about how late/early we were when waking up from
14558 waiting on the clock.
14560 2006-05-30 Wim Taymans <wim@fluendo.com>
14562 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14563 When rebuilding the pad list, don't leak the previous list.
14565 2006-05-30 Wim Taymans <wim@fluendo.com>
14567 Patch by: Lutz Mueller <lutz at topfrose dot de>
14569 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14570 (gst_base_src_get_query_types), (gst_base_src_update_length):
14571 Publish supported query types.
14572 Update last_stop field in get_range mode so the position
14573 query works. Fixes #342321.
14575 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14577 * docs/gst/gstreamer-sections.txt:
14578 * gst/gsttaglist.c: (_gst_tag_initialize):
14579 * gst/gsttaglist.h:
14580 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14582 2006-05-30 Wim Taymans <wim@fluendo.com>
14584 Patch by: Alessandro Decina <alessandro at nnva dot org>
14586 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14587 Unlock mutex when removing an unknown pad.
14590 * tests/check/Makefile.am:
14591 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14592 (push_event), (setup), (teardown), (GST_START_TEST),
14593 (gst_collect_pads_suite), (main):
14594 Added collecpads check, disabled for now as check crashes for
14597 2006-05-29 Wim Taymans <wim@fluendo.com>
14599 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14600 Don't leak pads lists.
14602 2006-05-29 Wim Taymans <wim@fluendo.com>
14604 * docs/libs/gstreamer-libs-sections.txt:
14605 * libs/gst/base/gstcollectpads.c:
14606 (gst_collect_pads_set_flushing_unlocked),
14607 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14608 (gst_collect_pads_stop):
14609 * libs/gst/base/gstcollectpads.h:
14610 API: gst_collect_pads_set_flushing()
14611 Added api to set the pads to flushing, useful for seeking
14612 code in elements using collectpads.
14613 Clear segment when receiving a flush.
14615 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14617 * gst/gst.c: (add_path_func), (init_post):
14618 Don't scan registry paths passed via --gst-plugin-path immediately
14619 (will crash, because absolutely nothing is set up and no types are
14620 registered etc.); do this later in init_post(). Fixes #343057.
14622 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14624 * gst/gst.c: (init_post):
14625 if we have fork, fork while reading/rebuilding the registry
14626 so the parent doesn't take the hit of having all plugins loaded
14627 in memory. Fixes #342777.
14629 Check if we have fork()
14630 * win32/common/config.h.in:
14633 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14635 * plugins/elements/gstelements.c:
14636 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14637 (gst_file_src_init), (gst_file_src_set_property),
14638 (gst_file_src_get_property), (gst_file_src_start):
14639 * plugins/elements/gstfilesrc.h:
14640 API: GstFileSrc::use-mmap
14642 Add a use-mmap property to enable easier testing of all code paths.
14643 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14644 in the absence of gnomevfssrc. (Closes #340501)
14646 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14648 * tools/gst-inspect.c:
14649 Add missing include, removes warning of ngettext not being defined on
14652 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14654 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14655 Handle NULL input and output pointers silently as a failed conversion,
14656 rather than g_warnings.
14658 2006-05-25 Wim Taymans <wim@fluendo.com>
14660 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14661 Initialize variable before using. Fixes #342820.
14663 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14665 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14666 Fix off-by-one bug that would only allow peeks of N-1 bytes
14667 from the start even if the buffer to typefind on contains
14668 in fact N bytes of data (makes vorbis typefinding from a
14669 vorbis identification header buffer work).
14671 * tests/check/Makefile.am:
14672 * tests/check/libs/.cvsignore:
14673 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14674 (gst_typefindhelper_suite), (main), (foobar_typefind),
14676 Add very basic unit test for gst_type_find_helper_for_buffer()
14677 that checks for the problem fixed above.
14679 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14681 * tools/gst-inspect.c: (print_interfaces),
14682 (print_element_properties_info), (print_element_list), (main):
14683 add more translatable strings
14685 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14687 Patch by: Julien Moutte <julien at moutte net>
14689 * docs/gst/gstreamer-sections.txt:
14690 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14692 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14693 (gst_fake_sink_preroll):
14694 * plugins/elements/gstfakesink.h:
14695 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14697 2006-05-23 Wim Taymans <wim@fluendo.com>
14699 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14701 Added _CUSTOM error and success GstFlowReturn that can be
14702 used be elements internally.
14703 Added macro to check for SUCCESS flowreturns.
14704 API: GST_FLOW_CUSTOM_SUCCESS
14705 API: GST_FLOW_CUSTOM_ERROR
14706 API: GST_FLOW_IS_SUCCESS
14708 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14709 Added check for GstFlowReturn sanity.
14711 2006-05-23 Wim Taymans <wim@fluendo.com>
14713 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14715 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14716 (gst_collect_pads_event):
14717 clear/reset segment info in FLUSH_STOP.
14720 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14722 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14723 (gst_collect_pads_check_collected):
14724 Flush queued buffer on _stop(), fixes playing again (#342454)
14726 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14728 * tests/check/gst/gststructure.c: (GST_START_TEST),
14729 (gst_structure_suite):
14730 add a test for a complete structure
14732 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14734 * docs/faq/developing.xml:
14735 * docs/faq/faq.xml:
14736 * docs/faq/troubleshooting.xml:
14737 * docs/faq/using.xml:
14738 Some minor FAQ updates that won't change the fact that
14739 our FAQ is badly structured, full of information hardly
14740 anyone new to GStreamer needs to know and lacking lots
14741 of information people constantly ask for.
14743 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14745 * gst/gstpad.c: (gst_pad_set_caps):
14746 Short-circuit gst_pad_set_caps if setting the existing
14747 caps pointer again, and avoid printing debug and
14748 reffing/unreffing the caps.
14750 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14751 There's actually no need to set the caps before pushing -
14752 the acceptcaps method will handle it anyway.
14754 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14756 * docs/gst/gstreamer-sections.txt:
14757 * win32/common/libgstreamer.def:
14758 * gst/gstutils.c: (gst_element_seek_simple):
14760 API: add gst_element_seek_simple() (#342238).
14762 2006-05-18 Edward Hervey <edward@fluendo.com>
14764 * gst/gsttypefind.c: (gst_type_find_get_type):
14765 * gst/gsttypefind.h:
14766 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14767 registered for GstTypeFind pointers. This allows wrapping the structure
14768 in bindings (i.e. gst-python).
14770 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14772 * gst/gsttagsetter.c:
14773 Docs additions and fixes (see #339918).
14775 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14777 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14778 The caps intersection algorithm can produce multiple copies of the
14779 caps. Until that is fixed, we need to simplify the result to be
14780 sure whether the allowed caps are fixed or not.
14782 * plugins/elements/gstqueue.c: (gst_queue_init),
14783 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14784 (gst_queue_push_one):
14785 Proxied buffer alloc should not set the caps on the source pad.
14786 When pushing buffers, we always accept the caps change that triggers.
14787 This prevents negotiation errors caused by caps changing mid-stream
14788 and then being refused on our source pad (because upstream is now
14789 refusing those caps).
14791 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14793 * tests/examples/helloworld/helloworld.c: (main):
14794 Must plug audioconvert and audioresample between decoder
14797 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14799 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14800 (load_feature), (load_plugin):
14801 Allow empty strings for some of the plugin fields so we don't
14802 drop valid plugin entries that were written out correctly
14805 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14807 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14808 Use g_remove and g_rename instead of remove and rename that don't
14809 handle utf8 characters. rename was failing for users who had specific
14810 characters in their name then the registry was built at each
14812 * win32/vs6/gst_inspect.dsp:
14813 * win32/vs6/gst_launch.dsp:
14814 * win32/vs6/libgstbase.dsp:
14815 * win32/vs6/libgstcoreelements.dsp:
14816 * win32/vs6/libgstreamer.dsp:
14817 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14818 build of libgstreamer and clean unused libraries in projects link
14821 2006-05-17 Edward Hervey <edward@fluendo.com>
14823 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14824 The queue is not responsible for pushing an EOS when receiving a fatal
14825 flow error. It's up to the real element driving the pipeline to do that.
14827 2006-05-16 Edward Hervey <edward@fluendo.com>
14829 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14830 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14831 buffer returned a fatal error. It should just send an EOS and stop
14833 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14834 when pushing buffers on the queue and will be able to handle the event.
14836 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14838 * docs/manual/basics-bins.xml:
14839 * docs/manual/basics-init.xml:
14840 Fix typos and minor errors in sample code (#341856).
14842 2006-05-16 Wim Taymans <wim@fluendo.com>
14844 * docs/design/part-qos.txt:
14845 Fix indexes in formulas to make more sense.
14847 2006-05-15 Wim Taymans <wim@fluendo.com>
14849 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14850 Don't report POSITION based on clock time if sync is
14851 disabled in a sink.
14853 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14856 Add cast to make compiler happy - refcount variable was a gint
14857 in GstObject but is a guint in GObject and g_atomic_int_get()
14860 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14862 * gst/parse/Makefile.am:
14863 chain commands using &&, which also makes parallel make work
14865 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14867 * docs/gst/gstreamer-sections.txt:
14870 * gst/gstmessage.h:
14873 === release 0.10.6 ===
14875 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14878 releasing 0.10.6, "Take the cannoli"
14880 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14882 * tools/gst-launch.c: (print_tag):
14883 Fix use of uninitialized variable in the hypothetical
14884 case that some broken plugin creates a GST_TAG_IMAGE
14885 tag containing a NULL buffer (#341667).
14887 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14889 * tools/gst-launch.c: (print_tag):
14890 Print something more intelligible for image tags when
14891 using the -t switch (#341556).
14893 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14898 define GST_MAJORMINOR so we have it available in win32/common/config.h
14899 Possibly remove it from our Makefile.am files later
14900 * win32/common/config.h:
14901 * win32/common/config.h.in:
14902 added GST_MAJORMINOR
14903 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14904 * win32/common/gstversion.h:
14907 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14910 Update win32 files listing.
14911 * win32/common/gstversion.h:
14912 Add GST_MAJORMINOR definition.
14913 * win32/common/libgstreamer.def:
14914 Add new exported functions.
14916 2006-05-12 Michael Smith <msmith@fluendo.com>
14918 * gst/gstplugin.c: (gst_plugin_load_file):
14919 If an so file has no plugin entry point, unload the module.
14921 2006-05-11 Wim Taymans <wim@fluendo.com>
14923 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14924 (gst_queue_set_property):
14925 Don't forget to signal the _chain or _loop function
14926 when the queue size or thresholds change since that might
14927 cause them to make progres again.
14929 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14931 * gst/gstclock.c: (gst_clock_class_init):
14932 * gst/gstindex.c: (gst_index_class_init):
14933 * gst/gstobject.c: (gst_object_class_init):
14934 * gst/gstpad.c: (gst_pad_class_init):
14935 * gst/gstpipeline.c: (gst_pipeline_class_init):
14936 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14937 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14938 * libs/gst/base/gstbasetransform.c:
14939 (gst_base_transform_class_init):
14940 * libs/gst/net/gstnetclientclock.c:
14941 (gst_net_client_clock_class_init):
14942 * libs/gst/net/gstnettimeprovider.c:
14943 (gst_net_time_provider_class_init):
14944 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14945 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14946 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14947 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14948 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14949 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14950 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14951 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14952 * plugins/elements/gsttee.c: (gst_tee_class_init):
14953 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14954 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14955 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14957 2006-05-11 Wim Taymans <wim@fluendo.com>
14959 * gst/gstbuffer.c: (_gst_buffer_initialize):
14960 Register subbufer along with the buffer type so that
14961 it does not accidentally gets registered from N
14962 different streaming threads in a non threadsafe way.
14964 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14968 * gst/gstmessage.h:
14969 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14970 gst_event_ref() and gst_message_ref() functions again
14971 (ugly hack, please do fix if there's a better way besides
14972 overrides.txt, which doesn't seem to work).
14974 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14976 * libs/gst/check/gstcheck.h:
14977 add an assert for setting state to avoid lots of repetitive code
14980 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14982 * gst/gstvalue.c: (gst_value_serialize_flags):
14983 fix a leak if no flags are set
14984 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14987 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14989 * docs/manual/basics-pads.xml:
14990 Expand a bit on caps and filtered links and update
14991 examples that were still using the no longer existing
14992 gst_pad_link_filtered() (#338206).
14994 2006-05-10 Wim Taymans <wim@fluendo.com>
14996 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14997 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14998 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14999 (gst_collect_pads_stop):
15000 * libs/gst/base/gstcollectpads.h:
15001 No need to call _stop in _finalize.
15002 Iterate the main pad list in _finalize.
15003 Added some more debug.
15004 Free lists and data in the right order.
15005 Also free data whem doing _remove_pad when stopped for
15006 backward compatibility protect ::started with PAD_LOCK as
15009 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15011 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15012 (gst_structure_parse_value):
15014 rename a method so that it actually says what it does better
15016 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
15018 * gst/gstevent.c: (_gst_event_initialize):
15019 * gst/gstformat.c: (_gst_format_initialize):
15020 make sure some essential types used by events are registered
15021 as part of gst_init()
15022 * gst/gstvalue.c: (gst_value_serialize_flags):
15023 if no flags are set, serialize them to a value that represents NONE
15024 so that deserializing them works
15025 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15026 add tests for serialization and deserialization of flags
15028 2006-05-10 Wim Taymans <wim@fluendo.com>
15030 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15031 (gst_collect_pads_collect_range), (gst_collect_pads_available),
15032 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15033 (gst_collect_pads_event), (gst_collect_pads_chain):
15036 Catch and return errors from the collect function
15037 Refuse data on eos pads.
15039 2006-05-10 Edward Hervey <edward@fluendo.com>
15041 * gst/gstinterface.h:
15042 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15043 GInterface type checking.
15044 They were previously using non-defined macros.
15046 2006-05-09 Wim Taymans <wim@fluendo.com>
15048 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15049 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15050 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15051 (gst_collect_pads_start), (gst_collect_pads_stop),
15052 (gst_collect_pads_peek), (gst_collect_pads_pop),
15053 (gst_collect_pads_available), (gst_collect_pads_read),
15054 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15055 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15056 (gst_collect_pads_chain):
15057 * libs/gst/base/gstcollectpads.h:
15058 Clean up the mess that is collectpads, add comments and
15059 FIXMEs where needed.
15060 Maintain a separate pad list so we can add pads while
15061 collecting the other ones. For this we need a new separate
15063 Fix memory leak in finalize.
15064 Refactor some weird code to set/unset pad flushing flags, mark
15066 Don't crash in _available, _read, _flush when we're EOS.
15068 * tests/check/libs/.cvsignore:
15069 Ignore adapter check binary.
15071 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15073 * gst/gstindex.c: (gst_index_resolver_get_type):
15074 * plugins/elements/gstfakesink.c:
15075 (gst_fake_sink_state_error_get_type):
15076 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15077 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15078 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15079 Const-ify GEnumValue arrays.
15081 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15083 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15084 Add test case for flags + gst_buffer_make_metadata_writable().
15086 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15088 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15089 gst_buffer_make_metadata_writable() should maintain the
15090 buffer flags (those that make sense at least) (see #340859).
15092 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15094 * tools/gst-inspect.c:
15095 * tools/gst-launch.c:
15096 * tools/gst-typefind.c:
15097 * tools/gst-xmlinspect.c:
15099 Fix up includes: need to include stdlib.h in tools.h for exit().
15101 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15103 * gst/gsttaglist.c: (_gst_tag_initialize):
15104 * gst/gsttaglist.h:
15105 API: add GST_TAG_IMAGE tag (#340721).
15107 2006-05-08 Wim Taymans <wim@fluendo.com>
15110 Added some docs for the segment query.
15112 2006-05-08 Wim Taymans <wim@fluendo.com>
15114 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15115 (gst_base_src_loop), (gst_base_src_change_state):
15116 Always push non-flushing serialized events in the streaming
15119 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15121 * gst/gsterror.c: (_gst_stream_errors_init):
15122 Add a missing error string.
15124 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15126 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15127 Add applied_rate to the debug
15129 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15130 Copy applied_rate into the outgoing NEWSEGMENT event
15132 2006-05-08 Wim Taymans <wim@fluendo.com>
15134 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15136 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15137 (gst_base_sink_change_state):
15138 call ::unlock before taking the PREROLL_LOCK so we can safely
15139 handle elements that lock in ::render.
15142 2006-05-08 Edward Hervey <edward@fluendo.com>
15144 * autogen.sh: (CONFIGURE_DEF_OPT):
15145 Darwin's libtoolize is in fact called glibtoolize.
15146 Adding glibtoolize to the list of accepted names for libtoolize.
15148 2006-05-08 Wim Taymans <wim@fluendo.com>
15150 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15151 Unify error handling, don't post an error message
15152 when a push() returns EOS but perform our normal EOS
15153 handling code. Fixes #340772.
15155 2006-05-08 Wim Taymans <wim@fluendo.com>
15157 * docs/design/part-overview.txt:
15158 Make upsteam/downstream concepts more clear.
15159 Give an example of serialized/non-serialized events.
15161 * docs/design/part-events.txt:
15162 * docs/design/part-streams.txt:
15163 Mention applied_rate.
15165 * docs/design/part-trickmodes.txt:
15166 Mention applied rate, flesh out some more use cases.
15168 * gst/gstevent.c: (gst_event_new_new_segment),
15169 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15170 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15171 (gst_event_parse_tag), (gst_event_new_buffer_size),
15172 (gst_event_parse_buffer_size), (gst_event_new_qos),
15173 (gst_event_parse_qos), (gst_event_parse_seek),
15174 (gst_event_new_navigation):
15176 Add applied_rate field to NEWSEGMENT event.
15177 API: gst_event_new_new_segment_full()
15178 API: gst_event_parse_new_segment_full()
15180 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15181 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15182 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15183 * gst/gstsegment.h:
15184 Add applied_rate to GstSegment structure.
15185 Make calculation of stream_time and running_time more correct
15186 wrt rate/applied_rate.
15187 Add some more docs.
15188 API: GstSegment::applied_rate field
15189 API: gst_segment_set_newsegment_full();
15191 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15192 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15193 * libs/gst/base/gstbasetransform.c:
15194 (gst_base_transform_sink_eventfunc),
15195 (gst_base_transform_handle_buffer):
15196 Parse and use applied_rate in the GstSegment field.
15198 * tests/check/gst/gstevent.c: (GST_START_TEST):
15199 Add check for applied_rate field.
15201 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15202 (gstsegments_suite):
15203 Add more checks for various GstSegment operations.
15205 2006-05-08 Wim Taymans <wim@fluendo.com>
15207 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15208 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15209 (gst_base_sink_get_position), (gst_base_sink_change_state):
15210 Store the sync time of the buffer end position separatly in a
15211 new variable eos_rtime so we can properly sync the EOS event.
15213 Fix the docs for gst_base_sink_set_qos_enabled().
15214 Don't set segment start to invalid value when we receive a
15215 non TIME newsegment.
15216 get closer to handling position reporting for negative rates
15219 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15222 Docs about how to print caps for debug purposes.
15224 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15225 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15227 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15229 * gst/gstelement.c:
15230 use full enum names and preprend a '%' in docs strings to make recent
15231 gtk-doc turn that into a link
15233 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15235 * docs/manual/basics-bins.xml:
15236 * docs/manual/basics-bus.xml:
15237 * docs/manual/basics-pads.xml:
15238 Some typo fixes, some additions, some clarifications.
15240 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15242 * tools/gst-inspect.c: (main):
15243 * tools/gst-launch.c: (main):
15244 * tools/gst-run.c: (main):
15245 * tools/gst-typefind.c: (main):
15246 * tools/gst-xmlinspect.c: (main):
15247 Use the string passed to g_option_context_new() for
15248 what it's intended for - the program name is already
15251 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15253 * tools/Makefile.am:
15254 * tools/gst-inspect.c: (main):
15255 * tools/gst-launch.c: (main):
15256 * tools/gst-xmlinspect.c: (main):
15258 Add back --version command line option (#340460).
15260 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15261 Add --version option and use GOption for argument parsing; refactor a
15262 bit; accept directories as arguments and recurse into them; lastly,
15263 print a decent error message when things go wrong.
15265 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15267 * docs/manual/basics-bins.xml:
15268 Don't mention GstThread (#340611)
15269 * docs/manual/basics-elements.xml:
15270 Update link to GObject tutorial (#340607)
15272 2006-05-05 Wim Taymans <wim@fluendo.com>
15275 * gst/gstminiobject.c:
15276 Add note about refcounting and miniobject/buffer writeability
15277 to docs. Fixes #340604
15279 * gst/gstelementfactory.h:
15280 Added some explanation about @klass.
15282 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15284 * docs/manual/intro-motivation.xml:
15285 * docs/manual/manual.xml:
15286 Avoid CORBA & Bonobo references (#340598)
15288 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15290 * docs/manual/basics-bus.xml:
15291 * docs/manual/basics-pads.xml:
15292 Fix up some inaccuracies and omissions (#340609)
15294 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15296 * gst/gstghostpad.c:
15297 Small typo in docs (#340625)
15299 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15301 * gst/parse/Makefile.am:
15302 Make 'make -j' proof (see #340698).
15304 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15307 Require GLib-2.8 here as well.
15309 2006-05-05 Wim Taymans <wim@fluendo.com>
15311 * gst/glib-compat.c:
15312 * gst/gst.c: (init_pre):
15313 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15314 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15315 (gst_object_dispatch_properties_changed):
15317 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15318 * gst/gststructure.c: (gst_structure_set_valist):
15319 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15320 Remove pre glib2.8 compatibility, fixes #340508
15322 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15324 * gst/gsttaglist.h:
15325 Mention type of tags in doc blurbs.
15327 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15329 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15330 (gst_pad_configure_src), (gst_pad_push):
15331 Restore acceptcaps checking behaviour now that good plugins have
15334 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15336 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15343 * gst/gstmessage.c:
15347 * gst/parse/Makefile.am:
15348 * libs/gst/base/gstadapter.c:
15349 * libs/gst/base/gstbasesrc.c:
15350 * libs/gst/base/gstpushsrc.c:
15351 * libs/gst/base/gsttypefindhelper.c:
15352 * plugins/elements/gstfakesrc.c:
15353 * plugins/elements/gstidentity.c:
15354 Make sure gstprivate.h and/or config.h are
15355 always included first, otherwise some of our
15356 defines (like _FILE_OFFSET_BITS) might be
15357 redefined in the system headers. Fixes build
15358 on opensolaris (#340016).
15360 2006-05-04 Wim Taymans <wim@fluendo.com>
15362 * docs/libs/gstreamer-libs-sections.txt:
15363 API: addition: gst_adapter_take_buffer()
15365 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15366 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15367 (gst_adapter_available_fast):
15368 * libs/gst/base/gstadapter.h:
15369 Prepare for optimizing the hell out of this hugely inefficient
15371 Added gst_adapter_take_buffer() so we can at least start thinking
15372 about subbuffering and merging.
15373 Added some comments.
15375 * tests/check/Makefile.am:
15376 * tests/check/libs/adapter.c: (GST_START_TEST),
15377 (gst_adapter_suite), (main):
15378 Added GstAdapter check.
15380 2006-05-04 Wim Taymans <wim@fluendo.com>
15382 * docs/design/part-overview.txt:
15383 Fix some typos, add blurb about buffer flags.
15385 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15387 * docs/libs/gstreamer-libs-sections.txt:
15388 make sure GstBaseTransformClass shows up in the docs
15389 * libs/gst/base/gstbasetransform.c:
15390 * libs/gst/base/gstbasetransform.h:
15391 move docs so gtk-doc picks it up now
15393 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15395 * docs/libs/gstreamer-libs-sections.txt:
15396 add missing symbols to docs
15398 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15400 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15401 back out the newsegment handling change, see #340060 for ongoing
15404 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15406 * tools/gst-run.c: (get_candidates), (main):
15407 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15408 work); fix typo in error message. Fixes #340079.
15410 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15412 * common/Makefile.am:
15413 * docs/Makefile.am:
15414 * docs/faq/Makefile.am:
15415 * docs/gst/Makefile.am:
15416 * docs/libs/Makefile.am:
15417 * docs/manual/Makefile.am:
15418 * docs/plugins/Makefile.am:
15419 * docs/pwg/Makefile.am:
15420 * docs/slides/Makefile.am:
15422 * common/upload.mak:
15423 move upload.mak to common
15425 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15427 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15428 add more asserts on refcounts
15429 do more cleanup at end of tests
15430 fix test leaks showing in FC5
15432 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15434 * plugins/elements/gsttypefindelement.c:
15435 (gst_type_find_element_handle_event):
15436 reverted wrong change and reflowed code to avoid others falling into
15439 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15441 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15442 fix changelog entry about last collectpads change,
15443 add notes about proper fix
15445 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15448 * gst/gstregistry.c: (gst_registry_scan_path_level),
15449 (gst_registry_scan_path):
15450 * gst/gstregistry.h:
15451 only write out registry if it has changed, fixes #338339
15453 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15456 * gst/gstpipeline.c:
15457 * plugins/elements/gstcapsfilter.c:
15458 * plugins/elements/gstfakesink.c:
15459 * plugins/elements/gstfakesrc.c:
15460 * plugins/elements/gstfdsink.c:
15461 * plugins/elements/gstfdsrc.c:
15462 * plugins/elements/gstfilesink.c:
15463 * plugins/elements/gstfilesrc.c:
15464 * plugins/elements/gstidentity.c:
15465 * plugins/elements/gstqueue.c:
15466 * plugins/elements/gsttee.c:
15467 * plugins/elements/gsttypefindelement.c:
15468 (gst_type_find_element_handle_event):
15469 make GstElementDetails const
15471 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15473 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15474 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15475 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15476 more detailed debug and formatting cleanup,
15477 forward newsegments to src-pad (so that e.g. adder not eats them)
15479 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15481 * gst/gstutils.c: (gst_element_link_pads):
15482 cleanup double code
15484 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15486 * libs/gst/controller/gstcontroller.c:
15487 (gst_controller_sync_values):
15489 * tests/check/libs/controller.c: (GST_START_TEST),
15490 (gst_controller_suite):
15491 a new test for live value handling
15493 2006-04-28 Wim Taymans <wim@fluendo.com>
15495 * gst/gstutils.c: (push_and_ref):
15496 Added some more docs.
15497 Fix refcount issue whith gst_element_found_tags() helper
15498 function. Fixes #338335
15500 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15501 Added testsuite for gst_element_found_tags().
15503 2006-04-28 Michael Smith <msmith@fluendo.com>
15505 * gst/gstvalue.c: (gst_value_serialize_flags):
15506 Avoid NULL dereference when trying to serialize flags containing
15509 2006-04-28 Michael Smith <msmith@fluendo.com>
15511 * plugins/elements/gsttypefindelement.c:
15512 (gst_type_find_element_handle_event):
15513 If we get EOS before any data is accumulated, don't use
15514 uninitialised local variables.
15516 2006-04-28 Michael Smith <msmith@fluendo.com>
15518 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15519 (gst_dp_event_from_packet):
15520 Fixes in reading/writing events over GDP (not currently used?) -
15521 dereferencing NULL events for unknown/invalid event types, memory
15522 leak, and change g_warning to GST_WARNING.
15524 2006-04-28 Wim Taymans <wim@fluendo.com>
15526 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15527 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15528 (gst_base_sink_get_position), (gst_base_sink_change_state):
15529 When frame dropping is enabled, we should not ignore frames
15530 without a duration.
15531 Update some documentation.
15533 2006-04-28 Wim Taymans <wim@fluendo.com>
15535 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15536 (gst_base_src_send_event), (gst_base_src_change_state):
15537 Documentation updates.
15539 2006-04-28 Wim Taymans <wim@fluendo.com>
15541 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15542 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15543 handle EAGAIN, EINTR and short writes correctly. Also clean
15544 up some error cases, avoid a deadlock on bad file descriptors and
15545 use GST_DEBUG_OBJECT.
15548 2006-04-28 Wim Taymans <wim@fluendo.com>
15550 * gst/gstvalue.c: (gst_value_serialize_buffer),
15551 (gst_value_deserialize_buffer):
15552 Don't try to serialize a GValue with a NULL buffer.
15555 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15556 Added check for serialisation of NULL buffers.
15558 2006-04-28 Wim Taymans <wim@fluendo.com>
15560 * gst/gstminiobject.c: (gst_value_take_mini_object):
15561 Taking a NULL miniobject is valid, fix the case where
15562 we try to unref the NULL miniobject.
15564 2006-04-28 Wim Taymans <wim@fluendo.com>
15566 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15568 * gst/gstbin.c: (gst_bin_handle_message_func):
15570 Don't leak bin refcount when a state recalc is
15571 in progress and we delay another one #339808.
15573 2006-04-28 Wim Taymans <wim@fluendo.com>
15575 * docs/design/part-TODO.txt:
15576 Mention QoS as an ongoing work item.
15578 * docs/design/part-buffering.txt:
15579 New doc about buffering that needs to be fleshed out
15582 * docs/design/part-qos.txt:
15583 More QoS policy for decoders/demuxers/transforms
15585 * docs/design/part-trickmodes.txt:
15588 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15593 === release 0.10.5 ===
15595 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15598 releasing 0.10.5, "Fogo"
15600 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15602 patch by: Wim Taymans
15604 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15605 (gst_pad_configure_src), (gst_pad_push):
15606 * gst/gstpipeline.c: (gst_pipeline_init):
15607 Fix internal data flow errors. Fixes #338711.
15609 2006-04-12 Wim Taymans <wim@fluendo.com>
15611 * tests/check/gst/gstelement.c: (GST_START_TEST):
15612 Don't leak the factory.
15614 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15617 * win32/common/config.h:
15620 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15622 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15623 (gst_controller_unset_all):
15624 Free allocated GstTimedValues when freeing list nodes.
15625 Should fix leaks 'make check-valgrind' complains about.
15627 * win32/common/libgstcontroller.def:
15628 Add gst_controller_unset_all.
15630 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15632 * docs/libs/gstreamer-libs-sections.txt:
15633 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15634 (gst_controller_unset_all):
15635 * libs/gst/controller/gstcontroller.h:
15636 API: Added new method gst_controller_unset_all()
15637 fixed gst_controller_unset()
15638 * tests/check/libs/controller.c: (GST_START_TEST),
15639 (gst_controller_suite):
15640 Added two testcases for new and fixed method
15642 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15644 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15645 MSG_DONTWAIT is not defined on Cygwin, so work
15646 around that (fixes #317048).
15648 2006-04-11 Wim Taymans <wim@fluendo.com>
15650 * gst/gstelementfactory.c: (gst_element_register),
15651 (gst_element_factory_create), (gst_element_factory_make):
15654 Updated docs (Fixes #131079)
15656 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15659 * tests/check/gst/gstelement.c: (GST_START_TEST),
15660 (gst_element_suite):
15661 Added testcase for elementfactory class field.
15663 2006-04-10 Wim Taymans <wim@fluendo.com>
15665 * gst/gstsegment.c:
15666 Added some more docs.
15668 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15669 (gst_base_sink_reset_qos):
15670 Calculate more accurate rate values.
15672 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15674 * gst/gst_private.h:
15675 add a new #ifdef to use __declspec(dllimport) only for
15676 other modules and not for gstreamer core
15677 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15678 use gst_guint64_to_gdouble for conversion
15679 * win32/common/libgstreamer.def:
15680 add new exported functions
15681 * win32/vs6/gst_inspect.dsp:
15682 * win32/vs6/gst_launch.dsp:
15683 * win32/vs6/libgstbase.dsp:
15684 * win32/vs6/libgstcontroller.dsp:
15685 * win32/vs6/libgstcoreelements.dsp:
15686 * win32/vs6/libgstdataprotocol.dsp:
15687 * win32/vs6/libgstnet.dsp:
15688 update project files
15690 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15692 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15693 * gst/gstclock.c: (gst_clock_class_init):
15694 * gst/gstelement.c: (gst_element_class_init):
15695 * gst/gstindex.c: (gst_index_class_init):
15696 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15697 * gst/gstobject.c: (gst_object_class_init),
15698 (gst_signal_object_class_init):
15699 * gst/gstpad.c: (gst_pad_class_init):
15700 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15701 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15702 * gst/gstregistry.c: (gst_registry_class_init):
15703 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15704 * gst/gsttask.c: (gst_task_class_init):
15705 * gst/gstxml.c: (gst_xml_class_init):
15706 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15707 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15708 (gst_base_src_loop):
15709 * libs/gst/controller/gstcontroller.c:/
15710 (_gst_controller_class_init):
15711 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15712 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15713 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15714 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15715 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15716 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15718 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15720 * gst/gstpad.c: (gst_pad_link):
15721 Must set peer pads before calling the link function, otherwise
15722 a task started from a link function might get a flow-not-linked
15723 result when trying to push because the other thread where the
15724 linking happens hasn't had a chance to set the peers yet. This
15725 might happen for example when a queue gets linked to a downstream
15726 element, as queue starts a streaming task when its source pad
15727 gets linked. Happens in real life when playing back flac/musepack
15728 files in playbin (#332390).
15730 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15734 * libs/gst/base/gstadapter.h:
15735 * libs/gst/base/gstbasesink.h:
15736 * libs/gst/base/gstbasesrc.h:
15737 * libs/gst/base/gstbasetransform.h:
15738 * libs/gst/base/gstcollectpads.h:
15739 * libs/gst/base/gstpushsrc.h:
15740 Fix broken GObject macros
15742 2006-04-07 Wim Taymans <wim@fluendo.com>
15744 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15745 Initialize start and stop times, thanks valgrind.
15747 2006-04-07 Wim Taymans <wim@fluendo.com>
15749 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15750 Be a bit nicer to badly behaving upstream elements that expect
15751 us to deal with non TIME segments and timestamps (such as fakesrc
15754 2006-04-07 Wim Taymans <wim@fluendo.com>
15757 Small documentation clarification about the signal watch.
15759 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15760 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15761 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15762 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15763 (gst_base_sink_get_position_last),
15764 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15765 Convert and store timestamps in stream time and running time, the
15766 raw timestamps are not useful, also document this better.
15767 Use different window sizes for good and bad QoS observations so
15768 we react to badness a little quicker.
15769 Keep track of the amount of rendered and dropped buffers.
15770 Send QoS timestamps in running time.
15772 * libs/gst/base/gstbasetransform.c:
15773 (gst_base_transform_sink_eventfunc),
15774 (gst_base_transform_handle_buffer):
15775 Compare QoS timestamps against running time.
15777 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15780 Typo fixes in docs.
15782 2006-04-06 Michael Smith <msmith@fluendo.com>
15784 * gst/gstpad.c: (gst_pad_set_property):
15785 Use g_value_get_object() instead of g_value_dup_gst_object(),
15786 to avoid double-reffing the pad template (which we then sink,
15787 so this worked previously if (and only if) the pad template
15790 * gst/gstpadtemplate.c: (gst_pad_template_init),
15791 (gst_pad_template_pad_created):
15792 Never return floating references to pad templates, create
15793 them as initially-sunken.
15795 Document an extra function (and make this stop sinking our
15796 pad template, since that is now guaranteed to do nothing,
15797 since we created it sunken).
15799 * gst/gstghostpad.c:
15802 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15804 * gst/gstinfo.c: (__gst_in_valgrind):
15807 * plugins/elements/gsttypefindelement.c:
15808 (gst_type_find_element_chain):
15809 Don't leak buffer caps.
15811 2006-04-06 Michael Smith <msmith@fluendo.com>
15813 * gst/parse/grammar.y:
15814 Fix a leak in parse-launch for any source-or-sink named element
15817 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15818 Unref the pipeline if it exists after we've failed parsing.
15820 2006-04-05 Michael Smith <msmith@fluendo.com>
15822 * gst/gstpipeline.c: (gst_pipeline_init):
15823 When we create a pipeline bus, initially create it in flushing mode.
15824 Fixes leaks in at least one test, and makes a new pipeline work the
15825 same as one that has gone to READY and then back to NULL.
15827 * gst/gstelement.c:
15830 2006-04-05 Michael Smith <msmith@fluendo.com>
15832 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15833 Unref a pad we reffed.
15834 * tests/check/gst/gstutils.c: (GST_START_TEST):
15837 2006-04-05 Michael Smith <msmith@fluendo.com>
15839 * gst/gstquery.c: (gst_query_set_formats),
15840 (gst_query_set_formatsv):
15841 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15843 2006-04-05 Michael Smith <msmith@fluendo.com>
15845 * tests/check/generic/sinks.c: (GST_START_TEST):
15846 Fix a variety of memleaks in sinks check, which are only sometimes
15847 shown by running the tests under valgrind (weird?).
15849 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15851 * docs/version.entities.in:
15852 Fix the substituted entity name after thomas' changes on the
15855 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15857 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15860 2006-04-05 Andy Wingo <wingo@pobox.com>
15862 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15864 * libs/gst/base/gstbasetransform.c
15865 (gst_base_transform_sink_eventfunc): When resetting our segment on
15866 FLUSH_STOP, also update the flag saying we haven't seen a
15869 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15871 Patch by: Paolo Borelli <pborelli at katamail dot com>
15873 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15874 (gst_plugin_check_license):
15875 minor clean-ups: G_DEFINE_TYPE already takes care of the
15876 parent_class stuff, no need to do it twice. Mark array of
15877 license strings as constant. (#337103)
15879 2006-04-04 Michael Smith <msmith@fluendo.com>
15881 * tools/gst-inspect.c: (print_element_list):
15882 Free the right plugin list; fixes a memory leak.
15884 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15886 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15888 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15889 Don't error out on empty buffers (#336945).
15891 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15893 * docs/libs/gstreamer-libs-sections.txt:
15894 * gst/gsttaglist.c:
15895 * libs/gst/base/gstbasesink.c:
15896 * libs/gst/base/gstbasesink.h:
15897 * libs/gst/base/gstbasesrc.c:
15898 * libs/gst/base/gstbasesrc.h:
15899 Documentation updates. Make BaseSink and BaseSrc docs contain the
15900 class structure so that people can actually see the prototypes for
15901 virtual functions they're supposed to be overriding.
15903 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15905 * plugins/elements/gsttypefindelement.c:
15906 (gst_type_find_element_chain):
15907 More debug info; when skipping typefinding, send cached
15908 events in all cases.
15910 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15913 use new AS_VERSION and AS_NANO macros
15914 * gst/gst-i18n-lib.h:
15917 * gst/gstversion.h.in:
15918 * win32/common/config.h:
15919 * win32/common/config.h.in:
15922 2006-03-31 Michael Smith <msmith@fluendo.com>
15924 * plugins/elements/gsttypefindelement.c:
15925 (gst_type_find_element_chain):
15926 Do not typefind content if the buffers already have caps.
15927 Neccesary for icydemux (#333657), and the right thing to do anyway.
15929 2006-03-30 Wim Taymans <wim@fluendo.com>
15931 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15932 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15933 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15934 (gst_base_sink_record_qos_observation),
15935 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15936 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15937 (gst_base_sink_change_state):
15938 More QoS measurements as described in the design doc.
15939 Get rid of ringbuffer with observations, running average is
15940 more simple and equally good.
15941 Calculates valid proportion now.
15942 Added beginning of flood measurement.
15944 2006-03-29 Wim Taymans <wim@fluendo.com>
15946 * docs/design/part-qos.txt:
15948 Small documentation updates and additions.
15950 2006-03-29 Wim Taymans <wim@fluendo.com>
15952 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15953 (gst_base_src_send_event), (gst_base_src_loop),
15954 (gst_base_src_change_state):
15955 Perform the EOS logic when we reach the segment stop position.
15956 Fix compilation on gcc4.1
15958 2006-03-29 Wim Taymans <wim@fluendo.com>
15960 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15962 * plugins/elements/gstqueue.c: (gst_queue_init),
15963 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15964 (gst_queue_set_property):
15965 * plugins/elements/gstqueue.h:
15966 In queue, when EOS is received, if minimum threshold > max_size -
15967 current_level, there is chance that queue blocks forever in conditional
15968 item del wait. This is because the queue is not emptied completely due
15969 to minimum threshold. Here is another approach. Instead of setting
15970 cur_levels to max in EOS, just zero all minimum threshold levels. This
15971 should make sure that queue gives out all data. When going to READY
15972 (stop) state, just reset the original minimum threshold levels.
15975 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15977 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15978 (gst_type_find_element_handle_event),
15979 (gst_type_find_element_send_cached_events),
15980 (gst_type_find_element_change_state):
15981 * plugins/elements/gsttypefindelement.h:
15982 When typefinding is done in push mode, we should cache
15983 events we receive during typefinding instead of just
15984 dropping them (e.g. newsegment, custom events from
15985 dvdreadsrc etc.) and then send them out once we've
15986 determined the type of the stream (and decodebin
15987 has had a chance to plug in a decoder/demuxer).
15989 2006-03-27 Wim Taymans <wim@fluendo.com>
15991 * docs/design/part-qos.txt:
15994 2006-03-27 Wim Taymans <wim@fluendo.com>
15996 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15998 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15999 (gst_base_src_send_event), (gst_base_src_change_state):
16000 Handle element seek correctly when we are streaming.
16003 2006-03-24 Michael Smith <msmith@fluendo.com>
16005 * docs/faq/gst-uninstalled:
16006 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16007 allow you to correctly run intalled applications built against old
16008 core, using plugins that require updated core (e.g. running
16009 installed totem against a full uninstalled gstreamer stack)
16011 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16013 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16016 2006-03-24 Wim Taymans <wim@fluendo.com>
16018 * docs/gst/gstreamer-sections.txt:
16019 Rearrange the order of the methods so that related methods
16020 are grouped together in sections.
16022 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16024 * gst/gstelement.c:
16025 Little clarification in the docs
16027 2006-03-24 Stefan Kost <ensonic@users.sf.net>
16031 * plugins/elements/gstidentity.c:
16032 * plugins/elements/gstqueue.c:
16033 * plugins/elements/gsttee.c:
16034 * plugins/elements/gsttypefindelement.c:
16035 GST_ELEMENT_DETAILS formatting
16037 2006-03-24 Wim Taymans <wim@fluendo.com>
16039 * libs/gst/base/gstbasesink.h:
16040 Only add fields, not insert or we break ABI.
16042 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16044 * win32/common/libgstbase.def:
16045 * win32/common/libgstreamer.def:
16046 Update, add recently added functions.
16048 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16050 * docs/gst/gstreamer-sections.txt:
16051 * gst/gstutils.c: (gst_pad_query_peer_position),
16052 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16054 API: add some new utility functions:
16055 - gst_pad_query_peer_position()
16056 - gst_pad_query_peer_duration()
16057 - gst_pad_query_peer_convert()
16059 2006-03-23 Wim Taymans <wim@fluendo.com>
16061 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16062 (gst_base_sink_init), (gst_base_sink_finalize),
16063 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16064 (gst_base_sink_set_property), (gst_base_sink_get_property),
16065 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16066 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16067 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16068 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16069 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16070 (gst_base_sink_preroll_object), (gst_base_sink_event),
16071 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16072 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16073 (gst_base_sink_query), (gst_base_sink_change_state):
16074 Decouple max-lateness and the fact that QoS messages are generated
16075 with a new property (qos).
16076 added API: GstBaseSink::async_play()
16077 Add vmethod so subclasses can be notified of ASYNC playing
16079 Collect timestamp start and stop to report better current
16080 position in EOS/PLAYING/PAUSED/READY/NULL.
16081 Refactor QoS/frame dropping and other measurements.
16082 API: GstBaseSrc::qos
16085 * libs/gst/base/gstbasesink.h:
16086 Added Private struct.
16087 API: gst_base_sink_set_qos_enabled()
16088 API: gst_base_sink_is_qos_enabled()
16090 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16092 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16093 If compiling against GLib-2.8 or newer, try to read the
16094 registry file using GMappedFile first before falling back
16095 to fopen() + fread() (#332151).
16097 2006-03-22 Wim Taymans <wim@fluendo.com>
16099 * gst/gstinfo.c: (gst_debug_set_active),
16100 (gst_debug_category_set_threshold):
16101 Disable debugging unless explicitly activated.
16104 2006-03-22 Wim Taymans <wim@fluendo.com>
16106 * gst/gstelement.c: (gst_element_set_locked_state),
16107 (gst_element_dispose):
16108 Cleanup the error case.
16110 * gst/gstobject.c: (gst_object_dispose):
16111 print a critical when some object was disposed with
16112 a parent, also revive the object since it might
16115 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16117 * tools/gst-launch.1.in:
16120 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16123 * tests/check/Makefile.am:
16124 disable some tests when we don't have a registry
16125 * tests/check/gst/gstutils.c: (gst_utils_suite):
16126 don't build the part that needs parsing
16128 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16131 * tests/examples/Makefile.am:
16132 fix --disable-parse build
16134 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16136 * tools/gst-feedback.1.in:
16137 Fix typo: s/feeback/feedback/ (#133494).
16139 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16141 * tools/Makefile.am:
16142 * tools/gst-launch.1.in:
16143 Add FILES section and correct entry about GST_REGISTRY_PATH
16144 environment variable (#133495; #133494).
16146 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16148 * tools/Makefile.am:
16149 * tools/gst-md5sum.1.in:
16150 * tools/gst-md5sum.c:
16151 Remove gst-md5sum and man page (the md5sink element
16152 required was removed ages ago)
16154 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16156 * gst/gststructure.c: (gst_structure_id_set_value):
16157 Make sure that string fields in structures/taglists
16158 contain valid UTF-8 - we don't want to pass rubbish to
16159 applications because of a buggy plugin (cp. #334167).
16161 2006-03-21 Edward Hervey <edward@fluendo.com>
16163 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16164 (gst_bin_handle_message_func):
16165 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16166 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16167 (gst_element_set_bus_func):
16168 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16169 * gst/gstminiobject.c: (gst_value_set_mini_object),
16170 (gst_value_take_mini_object):
16171 * gst/gstpad.c: (gst_pad_set_pad_template):
16172 * gst/gstpipeline.c: (gst_pipeline_dispose),
16173 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16174 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16175 (gst_collect_pads_chain):
16176 * libs/gst/net/gstnettimeprovider.c:
16177 (gst_net_time_provider_set_property):
16178 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16179 It's in fact all issues with gst_*object_replace().
16181 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16183 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16185 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16186 * pkgconfig/gstreamer-check.pc.in:
16187 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16189 2006-03-21 Edward Hervey <edward@fluendo.com>
16193 * gst/gstmessage.h:
16194 gst_[buffer|event|message]_ref() macros are replaced by a static
16195 inline functions because gcc-4.1 will about if the return value
16197 * tests/check/gst/gstevent.c: (event_probe):
16198 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16200 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16203 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16204 the type' case. (Closes: #335195 for now). In the future, when we
16205 depend on GLib 2.10, we could also intern the type name using
16206 g_intern_static_string()
16208 2006-03-20 Wim Taymans <wim@fluendo.com>
16210 * gst/gstbin.c: (gst_bin_handle_message_func),
16211 (bin_query_max_init), (bin_query_position_fold),
16212 (bin_query_position_done), (gst_bin_query):
16213 Position query should also take max of all streams.
16215 2006-03-20 Wim Taymans <wim@fluendo.com>
16217 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16218 (gst_fake_src_finalize):
16219 Fix leaks in fakesrc.
16221 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16222 Fix leaks in the testcase.
16224 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16226 * gst/gst_private.h:
16227 add win32 specific import decoration(__declspec(dllimport))
16228 for all extern GstDebugCategory * variables
16229 * win32/common/libgstbase.def:
16230 * win32/common/libgstcontroller.def:
16231 * win32/common/libgstreamer.def:
16232 Add some exports, remove empty lines
16233 * win32/common/libgstdataprotocol.def:
16234 * win32/common/libgstdataprotocol.dsp:
16235 * win32/common/libgstnet.def:
16236 * win32/common/libgstnet.dsp:
16237 new project files and exportation files added
16239 2006-03-19 Wim Taymans <wim@fluendo.com>
16241 * tests/check/libs/basesrc.c: (eos_event_counter):
16242 Use proper return value for probe.
16244 2006-03-17 Wim Taymans <wim@fluendo.com>
16246 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16248 Don't leak buffers, caps and pads on negotiation errors.
16250 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16252 * docs/faq/cvs.xml:
16253 * docs/faq/dependencies.xml:
16254 * docs/faq/developing.xml:
16255 * docs/faq/faq.xml:
16256 * docs/faq/general.xml:
16257 * docs/faq/getting.xml:
16258 * docs/faq/legal.xml:
16259 * docs/faq/troubleshooting.xml:
16260 * docs/faq/using.xml:
16261 Faq review and update.
16263 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16265 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16267 Don't pound the cpu to pieces by checking get_caps when accept_caps
16268 is called with the same caps as the pad already has.
16269 Use GST_DEBUG_OBJECT when outputting caps change information.
16271 2006-03-15 Wim Taymans <wim@fluendo.com>
16273 * gst/gstclock.c: (gst_clock_class_init):
16276 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16281 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16282 (gst_pad_accept_caps), (gst_pad_configure_sink),
16283 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16284 Make the default acceptcaps behaviour be to check the requested
16285 caps against the gst_pad_get_caps output.
16287 Ensure that gst_pad_accept_caps is used to check caps when a pad
16288 doesn't have a setcaps function, so that pads automatically refuse
16289 caps that they don't allow in their pad template. (Fixes #332986)
16291 When a buffer with attached caps is pushed, ensure that the source
16292 pad receives those caps even if the element didn't call
16293 gst_pad_set_caps first.
16295 2006-03-15 Wim Taymans <wim@fluendo.com>
16297 * libs/gst/base/gstadapter.c:
16300 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16302 * win32/common/libgstbase.def:
16303 * win32/common/libgstcontroller.def:
16304 * win32/common/libgstreamer.def:
16305 Add a whole bunch of missing functions (#334434).
16307 2006-03-14 Wim Taymans <wim@fluendo.com>
16309 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16310 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16311 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16312 Better debug info when we receive a segment event.
16313 Reorganize a bit so we can pass the get_times() results around.
16314 Use the segment format when calculating the running time.
16315 Don't do QoS is sync is disabled or we have no clock or the
16316 element does not want us to sync to the clock.
16317 Don't drop buffers if QoS is disabled for now.
16319 2006-03-14 Wim Taymans <wim@fluendo.com>
16321 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16322 Marked the stats property as unimplemented so people don't get
16324 Add debug message when regression goes wrong.
16325 Added some more docs.
16327 2006-03-14 Wim Taymans <wim@fluendo.com>
16329 * gst/gstsegment.c: (gst_segment_to_stream_time):
16330 Return correct return type in case of errors.
16332 2006-03-14 Wim Taymans <wim@fluendo.com>
16334 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16335 Don't segfault on invalid formats.
16337 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16339 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16340 Can't use gst_segment_to_running_time() when the segment
16341 is not in GST_TIME_FORMAT (like with filesink, for example).
16342 Stops flac encoding pipelines from spewing critical warnings
16345 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16347 * gst/gstpipeline.c: (gst_pipeline_class_init):
16348 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16350 * plugins/elements/gsttypefindelement.c:
16351 (gst_type_find_element_handle_event):
16352 Don't try to typefind empty streams.
16354 2006-03-14 Wim Taymans <wim@fluendo.com>
16356 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16357 (gst_base_sink_do_qos):
16358 Separate QoS calculation.
16359 Only drop buffers when lateness is bigger than the
16360 duration of the buffer.
16362 2006-03-13 Wim Taymans <wim@fluendo.com>
16364 * gst/gstpipeline.c: (gst_pipeline_set_property),
16365 (gst_pipeline_get_property), (do_pipeline_seek),
16366 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16367 (gst_pipeline_get_delay):
16368 Don't deadlock when reading properties.
16370 2006-03-13 Wim Taymans <wim@fluendo.com>
16372 * libs/gst/base/gstbasetransform.c:
16373 (gst_base_transform_class_init), (gst_base_transform_init),
16374 (gst_base_transform_sink_event),
16375 (gst_base_transform_sink_eventfunc),
16376 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16377 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16378 (gst_base_transform_set_property),
16379 (gst_base_transform_get_property),
16380 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16381 (gst_base_transform_set_qos_enabled),
16382 (gst_base_transform_is_qos_enabled):
16383 * libs/gst/base/gstbasetransform.h:
16384 Make basetransform virtual method for src events too.
16385 Handle QOS in basetransform.
16386 API: gst_base_transform_update_qos()
16387 API: gst_base_transform_set_qos_enabled()
16388 API: gst_base_transform_is_qos_enabled()
16390 2006-03-13 Wim Taymans <wim@fluendo.com>
16392 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16393 (gst_base_sink_do_sync):
16395 Use QOS debug category.
16397 2006-03-13 Wim Taymans <wim@fluendo.com>
16399 * plugins/elements/gstqueue.c:
16400 Very small doc update.
16402 2006-03-13 Wim Taymans <wim@fluendo.com>
16404 * gst/gst_private.h:
16405 * gst/gstinfo.c: (_gst_debug_init):
16406 Added QOS debug category
16408 2006-03-13 Wim Taymans <wim@fluendo.com>
16410 * docs/gst/gstreamer-sections.txt:
16411 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16413 * gst/gstbus.c: (gst_bus_class_init):
16416 * gst/gstelement.c: (gst_element_set_locked_state):
16417 * gst/gstsegment.c:
16418 Documentation updates.
16420 * gst/gstpipeline.c: (gst_pipeline_get_type),
16421 (gst_pipeline_class_init), (gst_pipeline_init),
16422 (gst_pipeline_dispose), (gst_pipeline_set_property),
16423 (gst_pipeline_get_property), (do_pipeline_seek),
16424 (gst_pipeline_send_event), (gst_pipeline_change_state),
16425 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16426 (gst_pipeline_get_delay):
16427 * gst/gstpipeline.h:
16428 Added methods for setting the delay.
16429 API: gst_pipeline_set_delay()
16430 API: gst_pipeline_get_delay()
16431 Add pipeline debug category
16434 Don't reset stream time when seek failed.
16436 2006-03-13 Wim Taymans <wim@fluendo.com>
16438 * docs/design/draft-klass.txt:
16439 * docs/design/part-clocks.txt:
16440 * docs/design/part-events.txt:
16441 * docs/design/part-gstbin.txt:
16442 * docs/design/part-gstpipeline.txt:
16443 * docs/design/part-messages.txt:
16444 * docs/design/part-negotiation.txt:
16445 * docs/design/part-overview.txt:
16446 * docs/design/part-preroll.txt:
16447 * docs/design/part-seeking.txt:
16448 * docs/design/part-states.txt:
16449 * docs/design/part-streams.txt:
16450 Documentation updates.
16452 2006-03-12 Julien MOUTTE <julien@moutte.net>
16454 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16455 us to leak strings...
16457 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16459 * libs/gst/net/gstnettimeprovider.c:
16461 * win32/common/config.h:
16464 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16466 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16469 Don't check for libgnomeui (leftover from old examples
16470 that aren't built or disted any longer) (#334303).
16472 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16474 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16475 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16476 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16477 there's no space left on the device.
16479 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16482 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16483 to cast the input to GstClockTime before comparing with
16484 another GstClockTime value.
16486 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16491 === release 0.10.4 ===
16493 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16496 releasing 0.10.4, "Light"
16498 2006-03-10 Michael Smith <msmith@fluendo.com>
16500 * libs/gst/dataprotocol/dataprotocol.c:
16501 Fix docs for dataprocotol to not get the return types completely
16502 wrong for a few functions.
16504 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16506 * docs/gst/gstreamer-sections.txt:
16507 * gst/gstpipeline.c: (gst_pipeline_class_init),
16508 (gst_pipeline_init), (gst_pipeline_set_property),
16509 (gst_pipeline_get_property), (gst_pipeline_change_state),
16510 (gst_pipeline_set_auto_flush_bus),
16511 (gst_pipeline_get_auto_flush_bus):
16512 * gst/gstpipeline.h:
16513 Add new API: gst_pipeline_set_auto_flush_bus() and
16514 gst_pipeline_get_auto_flush_bus() to disable automatic
16515 flushing of the pipeline's GstBus when going from READY
16516 to NULL state (#332045).
16518 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16520 * docs/gst/gstreamer-sections.txt:
16521 * gst/gsturi.c: (gst_uri_has_protocol):
16523 Add new API: gst_uri_has_protocol() (#333779).
16525 2006-03-09 Wim Taymans <wim@fluendo.com>
16527 * gst/gstclock.c: (gst_clock_entry_new),
16528 (gst_clock_id_compare_func), (gst_clock_id_wait),
16529 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16530 (gst_clock_init), (gst_clock_get_internal_time),
16531 (gst_clock_set_master), (do_linear_regression),
16532 (gst_clock_add_observation), (gst_clock_set_property):
16536 Fix a possible segfault when the window-size is made smaller.
16537 Calculate jitter before performing the clock wait. Ideally
16538 the clock implementation should calculate jitter but we need
16539 API breakage for that.
16541 * gst/gstsystemclock.c: (gst_system_clock_init):
16544 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16545 Remove leftover else
16547 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16548 (gst_systemclock_suite):
16549 Added check to test GST_CLOCK_DIFF.
16551 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16553 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16554 (gst_type_find_helper_get_range):
16555 If we are provided with the size, we should implement
16556 GstTypeFind::get_length, so that typefind functions who
16557 want to can actually peek at the middle of a file.
16559 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16561 * docs/manual/advanced-dataaccess.xml:
16562 Add some very very basic error checking.
16564 * docs/pwg/appendix-checklist.xml:
16565 Some updates to the list of things to check when writing an element.
16567 2006-03-08 Wim Taymans <wim@fluendo.com>
16569 * docs/design/part-element-transform.txt:
16570 Added some docs about the design of tranform elements.
16572 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16573 (gst_base_src_loop), (gst_base_src_change_state):
16574 Mark buffers with the DISCONT flag.
16576 2006-03-08 Michael Smith <msmith@fluendo.com>
16578 * gst/gstregistry.h:
16579 * gst/gstregistryxml.c: (gst_registry_save),
16580 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16581 (gst_registry_xml_save_pad_template),
16582 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16583 (gst_registry_xml_write_cache):
16584 Rewrite registry-saving to avoid race conditions and check for
16587 2006-03-08 Wim Taymans <wim@fluendo.com>
16589 * libs/gst/base/gstbasetransform.c:
16590 (gst_base_transform_transform_caps),
16591 (gst_base_transform_transform_size),
16592 (gst_base_transform_prepare_output_buffer),
16593 (gst_base_transform_get_unit_size),
16594 (gst_base_transform_buffer_alloc),
16595 (gst_base_transform_handle_buffer),
16596 (gst_base_transform_change_state):
16597 Cleanups, separate normal flow from errors, add sensible
16599 Don't try to renegotiate when allocating an output buffer.
16600 Also copy DISCONT buffer flag when copying a buffer.
16601 Reset the transform after we finish streaming, not during.
16603 2006-03-08 Wim Taymans <wim@fluendo.com>
16605 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16606 Use last buffer timestamp in qos message.
16608 2006-03-07 Wim Taymans <wim@fluendo.com>
16610 Patch by: Christophe Fergeau
16612 * docs/pwg/advanced-tagging.xml:
16613 * docs/pwg/building-pads.xml:
16616 2006-03-07 Wim Taymans <wim@fluendo.com>
16618 * docs/libs/gstreamer-libs-sections.txt:
16619 Added basesink new methods.
16623 Docs updates. Flesh out the QoS docs.
16625 * libs/gst/base/gstadapter.c:
16626 Small doc clarification about ownership and flushing.
16628 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16629 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16630 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16631 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16632 * libs/gst/base/gstbasesink.h:
16634 Added new methods to allow subclass to control max-lateness
16636 Generate very basic QoS events based on last sync observation.
16637 Updated docs, fix typo, added some QoS blurb.
16639 * libs/gst/base/gstbasesrc.c:
16640 Remove obsolete _get_state() calls from docs.
16642 2006-03-07 Wim Taymans <wim@fluendo.com>
16644 * docs/libs/gstreamer-libs-sections.txt:
16645 * libs/gst/base/gstbasetransform.h:
16646 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16647 Fix docs for GstBaseSrc.
16649 2006-03-07 Wim Taymans <wim@fluendo.com>
16651 * docs/gst/gstreamer-sections.txt:
16654 * libs/gst/base/gstbasetransform.h:
16655 Small documentation fixes.
16657 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16660 Document thread-unsafety of gst_value_register_foo_func()
16661 when used at the same time as gst_value_foo() (#322628).
16663 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16665 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16666 (gst_push_src_check_get_range):
16667 Push sources don't support pull mode by default.
16669 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16671 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16672 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16673 (gst_base_src_default_check_get_range):
16674 * libs/gst/base/gstbasesrc.h:
16675 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16676 provide default implementation, and rename
16677 gst_base_src_check_get_range() to
16678 gst_base_src_pad_check_get_range() for clarity.
16680 2006-03-06 Wim Taymans <wim@fluendo.com>
16682 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16683 Make property overridable.
16685 2006-03-06 Wim Taymans <wim@fluendo.com>
16687 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16688 (gst_base_sink_init), (gst_base_sink_set_property),
16689 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16690 * libs/gst/base/gstbasesink.h:
16691 API addition: Make max-lateness a property.
16693 2006-03-06 Wim Taymans <wim@fluendo.com>
16695 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16696 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16697 Don't ever draw a frame that is >10ms late.
16699 2006-03-06 Michael Smith <msmith@fluendo.com>
16701 * gst/gstmessage.c: (_gst_message_copy):
16702 When copying a message, set the parent_refcount of the enclosed
16703 structure to point at the copy, not the original message.
16705 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16707 Patch by: Christophe Fergeau
16710 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16711 usable in c++ code (#333417)
16713 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16716 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16718 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16720 * libs/gst/base/gstbasetransform.c:
16721 (gst_base_transform_transform_caps):
16722 Make sure caps are writable before passing them to
16725 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16728 Fix some minor docs errors.
16730 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16732 Patch by: Ross Burton <ross at burtonini dot com>
16734 * gst/gsterror.c: (_gst_resource_errors_init):
16736 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16738 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16741 Add a check and output a g_warning when GStreamer is built
16742 against GLib 2.6 but running against 2.8 or higher, and vice
16743 versa. (Closes: #323542)
16745 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16747 * gst/parse/parse.l:
16748 Commit patch for parse_launch syntax from #331255. Removes
16749 support for quoted strings and mimetypes when writing filtered
16750 caps. See the bug report for more details - I'm pretty sure this
16751 obscure feature is not in use by _anyone_ anywhere.
16753 With this simple change, the size of the gstreamer.so here
16754 drops from 2193KB to 1565KB.
16756 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16758 * plugins/elements/gsttypefindelement.h:
16759 * plugins/elements/gsttypefindelement.c:
16760 (gst_type_find_element_src_event), (start_typefinding),
16761 (stop_typefinding), (gst_type_find_element_handle_event),
16762 (gst_type_find_element_chain),
16763 (gst_type_find_element_chain_do_typefinding):
16764 Use gst_type_find_helper_for_buffer() for chain-based
16767 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16769 * plugins/elements/gsttypefindelement.c:
16770 (gst_type_find_element_class_init),
16771 (gst_type_find_element_set_property),
16772 (gst_type_find_element_get_property):
16773 Deprecate "maximum" property (not only was it only taken into
16774 account for typefinding in push-mode anyway, it also was never
16775 actually possible to set it in the first place because the
16776 property was registered with the numeric property ID for the
16777 "minimum" property). Register "maximum" property correctly,
16778 for the sake of future copy'n'pasters. Remove some cruft
16779 from property get/set functions.
16781 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16783 * plugins/elements/gsttypefindelement.c:
16784 (gst_type_find_element_activate):
16785 Use gst_type_find_helper_get_range() here, so we
16786 can honour the "minimum" property and also emit
16787 the signal with the correct probability of the found caps.
16789 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16791 * docs/libs/gstreamer-libs-sections.txt:
16792 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16793 (helper_find_suggest), (gst_type_find_helper_get_range),
16794 (gst_type_find_helper):
16795 * libs/gst/base/gsttypefindhelper.h:
16796 New API: gst_type_find_helper_get_range() (#333042).
16798 2006-03-02 Michael Smith <msmith@fluendo.com>
16800 * gst/gstregistryxml.c: (load_feature):
16801 Asserting on a failure to read part of the registry is Not Cool.
16802 Just log a warning and return NULL (which is already handled)
16804 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16806 * win32/common/libgstbase.def:
16807 added export of gst_type_find_helper_for_buffer
16808 * win32/common/libgstbase.def:
16809 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16810 gst_ghost_pad_get_target
16812 2006-02-28 Wim Taymans <wim@fluendo.com>
16814 * docs/design/draft-klass.txt:
16816 Added Connector to mark elements that are only used to
16817 allow pipeline connections.
16818 Moved Debug to extra feature since most of them are
16819 functionally something else.
16821 2006-02-28 Wim Taymans <wim@fluendo.com>
16823 * docs/design/draft-klass.txt:
16824 Some updates and clarifications.
16826 2006-02-28 Wim Taymans <wim@fluendo.com>
16828 * docs/design/draft-klass.txt:
16829 Proposal for klass field values.
16831 * docs/design/part-streams.txt:
16832 Start of a doc describing stream anatomy.
16834 2006-02-28 Wim Taymans <wim@fluendo.com>
16836 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16837 Help the compiler a bit with type registration.
16838 Use existing forward cod path instead of duplicating it when
16839 handling a message.
16841 * gst/gstbus.c: (gst_bus_get_type):
16842 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16843 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16844 * gst/gstclock.c: (gst_clock_get_type):
16845 * gst/gstelement.c: (gst_element_get_type),
16846 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16847 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16848 * gst/gstminiobject.c: (gst_mini_object_get_type):
16849 * gst/gstpad.c: (gst_pad_get_type):
16850 * gst/gstsegment.c: (gst_segment_get_type):
16851 * gst/gststructure.c: (gst_structure_get_type):
16852 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16853 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16855 Help compiler with type registration.
16857 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16860 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16862 * plugins/elements/gsttypefindelement.c:
16863 (gst_type_find_element_handle_event):
16864 When we get an EOS event and have not found a type yet
16865 (most likely because we had not yet accumulated
16866 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16867 type given the data we have so far. Fixes typefinding
16868 for very short streams again, most notably quicktime
16869 redirections as used on Apple's trailer site (#331701).
16871 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16873 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16874 (gst_type_find_helper):
16875 Try typefinding factories with the highest rank first.
16877 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16879 * docs/libs/gstreamer-libs-docs.sgml:
16880 * docs/libs/gstreamer-libs-sections.txt:
16881 * libs/gst/base/gsttypefindhelper.c:
16882 Add section for typefind helper and add documentation
16883 for the old and the new function.
16885 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16887 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16888 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16889 (gst_type_find_helper_for_buffer):
16890 * libs/gst/base/gsttypefindhelper.h:
16891 New API: gst_type_find_helper_for_buffer() (#332723).
16893 2006-02-27 Michael Smith <msmith@fluendo.com>
16895 Patch by: Loïc Minier
16898 * docs/Makefile.am:
16899 * docs/slides/Makefile.am:
16900 prevent CVS directories getting disted.
16902 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16904 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16905 Use the REFCOUNTING category for caps refcounting.
16907 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16909 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16910 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16912 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16914 * plugins/elements/gsttypefindelement.c:
16915 (gst_type_find_element_activate):
16916 Use gst_pad_check_pull_range() before _activate_pull()
16917 to avoid unnecessary open/close (see #331690).
16919 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16922 Docs enhancement: make it crystal clear what the
16923 gst_pad_add_*_probe() callbacks should look like.
16925 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16927 * libs/gst/base/gstbasesrc.c:
16928 Document how applications can stop recording from
16929 live sources (see #330996).
16931 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16933 * tests/check/Makefile.am:
16934 * tests/check/libs/basesrc.c: (eos_event_counter),
16935 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16936 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16937 (gst_basesrc_suite), (main):
16938 ... and add some tests for the base source EOS stuff.
16940 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16942 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16943 Test case originally showed the problem fixed below,
16944 but was then amended. Add checks back at the place
16945 where they used to be.
16947 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16949 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16950 (gst_base_src_init), (gst_base_src_loop),
16951 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16952 (gst_base_src_change_state):
16953 * libs/gst/base/gstbasesrc.h:
16954 Don't unconditionally send EOS when going from PAUSED to
16955 READY state, esp. make sure we don't send two EOS events
16956 in some cases (e.g. one when reaching EOS and one when
16957 going from PAUSED to READY). Also, we don't want to send
16958 EOS events when operating in pull mode. However, we do
16959 want to send an EOS event when shutting down a live
16960 source explicitly, for example (fixes #330996).
16962 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16964 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16965 Update src->read_position after a seek when not using mmap.
16966 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16968 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16974 Make things work with --disable-parse as they do with
16975 --disable-load-save - the symbols involved disappear, but the
16976 header is still installed and GST_DISABLE_PARSE is included via
16979 2006-02-20 Julien MOUTTE <julien@moutte.net>
16981 * libs/gst/base/gstbasetransform.c:
16982 (gst_base_transform_change_state): Fix a stupid bug. I was
16983 sure I compiled that.
16985 2006-02-20 Julien MOUTTE <julien@moutte.net>
16987 * gst/gstpad.c: (gst_pad_set_blocked_async):
16988 * gst/gstutils.c: (gst_pad_add_data_probe),
16989 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16990 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16991 (gst_pad_remove_buffer_probe): Make those function act on the
16992 ghostpad target when it's a ghostpad. (Closes #331727)
16994 2006-02-20 Julien MOUTTE <julien@moutte.net>
16996 * libs/gst/base/gstbasetransform.c:
16997 (gst_base_transform_change_state): Make basetransform reusable.
17000 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
17002 * docs/random/release:
17003 Move the current documentation of how to do a release to the top
17006 * gst/gstbin.c: (gst_bin_class_init),
17007 (gst_bin_handle_message_func):
17008 Allow multiple state-recalculation threads. (Closes #328873)
17010 2006-02-19 Julien MOUTTE <julien@moutte.net>
17012 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17013 * gst/gstpad.c: (gst_pad_set_event_function),
17014 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17015 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17016 2 strings. You can't use the STR_NULL macro on that.
17018 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
17020 * gst/gstpad.c: (gst_pad_set_event_function),
17021 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17022 (gst_pad_set_getcaps_function)
17023 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17024 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17025 So now, we can use --gst-debug-level=5 on Windows
17026 * win32/common/libgstcontroller.def:
17027 Added export of gst_controller_init
17028 * win32/vs6/libgstcontroller.dsp:
17029 Fixed Release post build configuration
17031 2006-02-17 Wim Taymans <wim@fluendo.com>
17033 * tests/check/gst/gstquery.c: (GST_START_TEST):
17034 Added another check.
17036 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
17038 * plugins/elements/gsttypefindelement.c: (find_peek):
17039 We can do peeks at non-zero offsets, as long as they
17040 fall within the buffer we have.
17042 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17044 * tests/check/Makefile.am:
17045 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17046 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17047 (parse_suite), (main):
17048 Add testsuite for parse launch syntax
17050 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17052 * plugins/elements/gsttypefindelement.c:
17053 (gst_type_find_element_chain):
17054 When typefinding is unsuccessful in the chain function, don't
17055 error out immediately. Only error out with NO_CAPS_FOUND if
17056 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17057 otherwise simply wait for more data so we can try typefinding
17058 again with more data later. Also, don't attempt to typefind
17059 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17060 this should improve typefinding from network sources where the
17061 size of the first buffer can be somewhat random.
17063 2006-02-14 Wim Taymans <wim@fluendo.com>
17065 * docs/gst/gstreamer-sections.txt:
17066 * gst/gstpadtemplate.c:
17067 * gst/gstpadtemplate.h:
17068 Fix padtemplate docs, fixes #328805.
17070 2006-02-14 Wim Taymans <wim@fluendo.com>
17072 * tools/gst-launch.c: (main):
17073 NO_PREROLL is not an ERROR so don't send confusing messages
17076 2006-02-14 Wim Taymans <wim@fluendo.com>
17078 Patch by: Torsten Schoenfeld
17080 * gst/gstregistry.c: (gst_registry_get_default),
17081 (_gst_registry_cleanup):
17082 Protect default registry with lock and ref/sink it.
17085 2006-02-14 Wim Taymans <wim@fluendo.com>
17088 * gst/gstquery.c: (gst_query_list_add_format),
17089 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17090 (gst_query_parse_formats_nth):
17091 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17094 2006-02-14 Wim Taymans <wim@fluendo.com>
17096 * docs/gst/gstreamer-sections.txt:
17097 Reworked query docs.
17099 * gst/gstquery.c: (gst_query_new_formats),
17100 (gst_query_list_add_format), (gst_query_set_formats),
17101 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17102 (gst_query_parse_formats_nth):
17104 Flesh out formats query, added some new methods.
17105 Fix part of #324398.
17107 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17108 Added query creation tests.
17110 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17112 * gst/gstpad.c: (fixate_value):
17113 Add a default fixation for fraction lists.
17115 2006-02-13 Wim Taymans <wim@fluendo.com>
17117 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17118 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17121 Detect and warn for obvious deadlocks. fixes #320340
17122 Fix error case where lock was not released.
17124 * tests/check/Makefile.am:
17125 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17126 (task_func), (gst_element_suite), (main):
17129 2006-02-13 Wim Taymans <wim@fluendo.com>
17131 * docs/gst/gstreamer-sections.txt:
17133 Add new functions to docs.
17135 2006-02-13 Wim Taymans <wim@fluendo.com>
17137 * docs/design/part-TODO.txt:
17138 Updated TODO list, basesrc supports seeking to non-bytes
17141 * docs/design/part-element-sink.txt:
17144 * gst/gstbin.c: (bin_replace_message),
17145 (gst_bin_handle_message_func):
17146 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17147 * gst/gstevent.c: (gst_event_finalize):
17148 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17149 (gst_pad_send_event):
17150 Use shiny new _TYPE_NAME macros.
17152 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17153 Move debug statement up.
17155 * gst/gstelement.c: (gst_element_set_locked_state):
17156 Add some debugging.
17158 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17160 * docs/gst/gstreamer-sections.txt:
17161 * gst/gstmessage.h:
17163 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17164 macros (#330906). Also, document the already existing
17165 GST_QUERY_TYPE macro.
17167 2006-02-13 Wim Taymans <wim@fluendo.com>
17169 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17170 (event_probe), (GST_START_TEST):
17171 Only events up to the pipeline EOS are counted, there are
17172 some more when going to NULL currently which we don't care
17175 2006-02-13 Wim Taymans <wim@fluendo.com>
17177 * gst/gstpad.c: (gst_pad_send_event):
17178 Correctly check flushing and emit probes. fixes #330125
17180 2006-02-10 Andy Wingo <wingo@pobox.com>
17182 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17184 (gst_bus_init): Cache the location of the private data in the
17185 instance structure.
17186 (gst_bus_enable_sync_message_emission)
17187 (gst_bus_disable_sync_message_emission): Implement new public
17189 (gst_bus_post): Emit the sync-message signal if the user asked for
17192 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17193 location of the bus-private structure.
17194 (gst_bus_enable_sync_message_emission)
17195 (gst_bus_disable_sync_message_emission): API addition
17197 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17199 Patch by: Vincent Torri
17201 * docs/pwg/building-boiler.xml:
17202 PWG patch from #326800
17204 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17207 * docs/Makefile.am:
17208 * docs/design/Makefile.am:
17211 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17216 === release 0.10.3 ===
17218 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17221 releasing 0.10.3, "Like a virgin"
17223 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17226 2nd prerelease of 0.10.3
17227 Bump libtool versioning.
17229 2006-02-07 Andy Wingo <wingo@pobox.com>
17231 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17232 update last_stop if we're in TIME format and the timestamp is
17235 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17236 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17237 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17238 If we get a new newsegment with a different format, adapt
17241 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17242 of 0. Not a problem, really.
17244 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17247 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17252 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17255 project files updated to the default vs7 configuration
17256 * win32/common/libgstbase.def:
17257 * win32/common/libgstreamer.def:
17259 removed empty lines,
17260 sorted all exported symbols alphabetically
17261 * win32/common/dirent.c:
17262 * win32/common/dirent.h:
17263 * win32/common/gchar.h:
17264 use windows line end.
17266 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17268 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17269 Send EOS event when stopping.
17271 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17274 Tell folks what to do if the plugin-foobar.xml file
17275 hasn't been generated for a newly-added plugin.
17277 2006-02-05 Julien MOUTTE <julien@moutte.net>
17279 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17280 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17281 (gst_collect_pads_start), (gst_collect_pads_stop),
17282 (gst_collect_pads_event): Collectpads now holds a reference
17283 to the GstPad that was added. Indeed we don't want to look
17284 at pads that might just go away with no warning...
17286 2006-02-05 Julien MOUTTE <julien@moutte.net>
17288 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17289 (gst_collect_pads_start), (gst_collect_pads_stop),
17290 (gst_collect_pads_event), (gst_collect_pads_chain):
17291 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17292 Mark Nauwelaerts's patch on bug #328491.
17294 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17296 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17298 Add some simple tests for gst_parse_bin_from_description() and
17299 gst_bin_find_unconnected_pad() (#329069).
17301 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17303 * tools/gst-launch.c: (event_loop), (main):
17304 Catch errors during preroll (#320084).
17306 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17308 * plugins/elements/gsttypefindelement.c:
17309 (gst_type_find_element_activate):
17310 Post TYPE_NOT_FOUND error message when typefinding
17311 is unsuccessful in the activate function as well.
17313 2006-02-02 Wim Taymans <wim@fluendo.com>
17315 * docs/design/part-element-sink.txt:
17318 2006-02-02 Wim Taymans <wim@fluendo.com>
17320 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17321 (gst_base_sink_render_object),
17322 (gst_base_sink_queue_object_unlocked):
17323 Only keep track of prerollable items when we are
17325 Before rendering after preroll, always check if we
17327 Added some more debugging.
17329 2006-02-02 Wim Taymans <wim@fluendo.com>
17331 * gst/gstelement.c: (gst_element_continue_state),
17332 (gst_element_set_state_func), (gst_element_change_state):
17333 Fixed #326576, been running this for quite some time with
17334 no regressions at all.
17336 2006-02-02 Wim Taymans <wim@fluendo.com>
17339 Added more suppressions
17341 2006-02-02 Wim Taymans <wim@fluendo.com>
17343 * docs/design/part-element-sink.txt:
17346 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17347 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17348 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17349 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17350 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17351 (gst_base_sink_preroll_object),
17352 (gst_base_sink_queue_object_unlocked),
17353 (gst_base_sink_queue_object), (gst_base_sink_event),
17354 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17355 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17356 (gst_base_sink_get_position), (gst_base_sink_change_state):
17357 * libs/gst/base/gstbasesink.h:
17358 Totally refactored matching the design doc.
17359 Use two segments, one to clip incomming buffers and another to
17361 Handle queueing correctly, bypass the queue when playing.
17362 Make EOS cancelable.
17363 Handle errors correctly when operating in pull based mode.
17365 * tests/check/elements/fakesink.c: (GST_START_TEST),
17367 Added new check for sinks.
17369 2006-02-02 Wim Taymans <wim@fluendo.com>
17371 * gst/gstsegment.c: (gst_segment_clip):
17372 No reason to refuse to clip when start == -1
17374 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17377 * docs/manual/intro-basics.xml:
17378 * docs/manual/intro-preface.xml:
17379 * docs/manual/manual.xml:
17380 * docs/pwg/advanced-dparams.xml:
17381 * docs/pwg/intro-basics.xml:
17382 * docs/pwg/intro-preface.xml:
17383 * docs/pwg/pwg.xml:
17384 describe dparams (controller) for plugins
17385 unify docs a little more
17387 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17389 * docs/gst/gstreamer-sections.txt:
17390 * gst/gstutils.c: (element_find_unconnected_pad),
17391 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17393 Add new API: gst_parse_bin_from_description() and
17394 gst_bin_find_unconnected_pad() (#329069).
17396 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17398 * docs/manual/README:
17399 uncover a nasty detail of the docs build
17401 2006-01-31 Wim Taymans <wim@fluendo.com>
17403 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17404 Don't cache duration messages if we're not going to use or
17407 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17409 * docs/manual/advanced-dparams.xml:
17410 * docs/pwg/advanced-dparams.xml:
17414 * libs/gst/controller/lib.c: (gst_controller_init):
17417 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17419 * gst/gstelement.c: (gst_element_message_full):
17420 also show file/line/func if no additional debug was given
17422 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17424 * win32/vs7/grammar.vcproj:
17425 activate copy of autogenerated files for Release mode
17427 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17429 * win32/common/libgstreamer.def:
17430 export gst_value_compare
17432 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17434 * plugins/elements/Makefile.am:
17435 * plugins/elements/gstelements.c:
17436 * plugins/elements/gstfdsink.c: (_do_init),
17437 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17438 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17439 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17440 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17441 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17442 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17443 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17444 * plugins/elements/gstfdsink.h:
17445 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17447 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17449 * docs/manual/advanced-dparams.xml:
17450 describe controller
17451 * docs/manual/advanced-position.xml:
17452 * docs/manual/basics-init.xml:
17453 * docs/manual/manual.xml:
17454 * docs/manual/titlepage.xml:
17455 * docs/pwg/pwg.xml:
17456 * docs/pwg/titlepage.xml:
17457 cleanup xml (more to come)
17458 * libs/gst/controller/gstcontroller.c:
17461 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17463 * win32/vs6/grammar.dsp:
17464 add autogen of gstmarshal.c,h for Release mode
17466 2006-01-30 Wim Taymans <wim@fluendo.com>
17468 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17469 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17470 (gst_base_sink_handle_object), (gst_base_sink_event),
17471 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17472 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17473 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17474 (gst_base_sink_deactivate), (gst_base_sink_activate),
17475 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17476 (gst_base_sink_query), (gst_base_sink_change_state):
17477 Basesink cleanups, remove some old code.
17478 Handle the case where a subclass can preroll in the render
17479 method (mostly audiosinks).
17480 Handle more events.
17481 Remove some locks around variables that are now protected
17482 with the PREROLL_LOCK (clock_id, flushing, ..).
17483 Optimize position query some more, do correct locking.
17484 Remove old code to push queue in state change, this is not
17485 needed anymore since preroll blocks on all prerollable items
17487 Almost implemented as described in design doc.
17489 2006-01-30 Wim Taymans <wim@fluendo.com>
17491 * tests/check/gst/gstbin.c: (GST_START_TEST):
17492 Wait for refcount to settle down before checking.
17494 2006-01-30 Wim Taymans <wim@fluendo.com>
17496 * docs/design/part-element-sink.txt:
17497 Pseudo code overview of desired sink behaviour regarding
17500 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17501 * win32/vs6/grammar.dsp:
17502 fix some bugs in Release mode for autogenerated files
17504 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17505 * win32/common/libgstbase.def:
17506 * win32/common/libgstreamer.def:
17507 export some new symbols: gst_base_src_set_format,
17508 gst_iterator_next, gst_structure_set_valist
17510 2006-01-29 Julien MOUTTE <julien@moutte.net>
17512 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17513 Set pad functions unconditionally. Fixes #329105.
17515 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17517 add vs8 project files created by Sergey Scobich
17519 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17521 * gst/gstutils.c: (gst_element_unlink_pads):
17522 Don't leak pad references.
17524 * tests/check/elements/fakesink.c: (GST_START_TEST):
17525 * tests/check/generic/sinks.c: (GST_START_TEST):
17526 * tests/check/generic/states.c: (GST_START_TEST):
17527 * tests/check/gst/gstbin.c: (GST_START_TEST):
17528 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17529 * tests/check/gst/gstelement.c: (GST_START_TEST):
17530 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17531 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17532 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17533 Fix a bunch of leaks. Make generic/sinks.c
17534 use a bit less cpu by slowing the buffer rate
17535 between fakesrc and fakesink.
17537 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17539 * gst/gstelement.c: (gst_element_send_event):
17542 * gst/gstiterator.c:
17543 * gst/gstiterator.h:
17544 * gst/gstpad.c: (gst_pad_send_event):
17545 * gst/gststructure.c:
17549 * libs/gst/base/gstadapter.c:
17550 doc fixes, to link to function, just write gst_cool_function(), don't
17553 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17555 * plugins/elements/gsttee.c: (gst_tee_do_push),
17556 (gst_tee_handle_buffer):
17557 Always prefer an actual return value from a src
17558 pad in place of NOT_LINKED. This means we return
17559 WRONG_STATE when all src pads are WRONG_STATE
17560 instead of NOT_LINKED.
17562 Lock when replacing the last message to prevent
17563 racing with the get_property method.
17567 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17569 * tests/check/Makefile.am:
17570 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17572 Add a very simple check that should have caught the memleak I fixed
17573 last night (if not for the slice allocator hiding it)
17575 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17577 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17578 (gst_bin_remove_func), (gst_bin_handle_message_func),
17579 (bin_query_duration_fold), (bin_query_generic_fold):
17580 Clean up references to the clock provider when disposed or when
17581 handling a clock-lost message from it.
17583 Unref sinks when performing a query via gst_iterator_fold, as the
17584 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17586 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17587 (gst_clock_set_master):
17588 Drop our reference to the master clock, if any, when we are disposed.
17590 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17591 Chain up in dispose.
17593 2006-01-26 Wim Taymans <wim@fluendo.com>
17595 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17596 Add some debugging.
17598 2006-01-26 Julien MOUTTE <julien@moutte.net>
17600 * plugins/elements/gsttee.c: (gst_tee_do_push),
17601 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17602 handles pad being NOT_LINKED or in WRONG_STATE.
17604 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17609 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17612 remove obsolete entry
17614 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17616 * docs/gst/gstreamer-sections.txt:
17617 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17618 (gst_bin_iterate_sources), (gst_bin_send_event):
17620 * gst/gstelement.c: (gst_element_send_event):
17622 * gst/gstpad.c: (gst_pad_send_event):
17623 added code for downstream events, reviewed docs in gstevent.c
17625 2006-01-25 Julien MOUTTE <julien@moutte.net>
17627 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17628 We only query position using the clock in the playing state.
17629 Query peer in the other cases.
17630 * win32/common/config.h: Updates.
17632 2006-01-24 Wim Taymans <wim@fluendo.com>
17634 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17635 A clock entry that is scheduled for the exact time of the
17636 clock is still in time.
17638 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17639 (gst_base_sink_do_sync):
17640 Add some more debug info.
17642 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17645 Add new vs7 project files and solution.
17647 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17650 all files removed as they were out-dated.
17652 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17654 * docs/random/release:
17656 * gst/gstbin.c: (gst_bin_init):
17657 * gst/gstbus.c: (gst_bus_new):
17659 * gst/gstpipeline.c: (gst_pipeline_init):
17660 use gst_bus_new(), improve logging, fix docs
17661 * win32/common/config.h:
17662 update for cvs build
17664 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17667 up required version of automake to 1.7
17669 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17671 * win32/common/libgstreamer.def:
17672 export gst_buffer_is_metadata_writable
17674 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17676 * docs/gst/gstreamer-sections.txt:
17678 Add gst_event_replace() (#327001)
17680 2006-01-20 Wim Taymans <wim@fluendo.com>
17682 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17683 Make it actually compile too..
17685 2006-01-20 Wim Taymans <wim@fluendo.com>
17688 Clarify behaviour of _is_equal() when passing NULL parameters.
17690 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17691 (gst_pad_set_caps):
17692 Cleanups. Don't unref NULL caps.
17693 When setting the same caps, protect caps of the pad with
17695 Use full functionality of _is_equal() when comparing caps.
17697 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17699 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17700 Don't loop infinitely if there are no buffers to present. Partially
17701 fixes #327197, but collectpads is just broken for reusing elements
17702 to do multiple encodes atm.
17704 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17706 * tools/gst-inspect.c: (print_element_features):
17707 * tools/gst-xmlinspect.c: (main):
17708 URL_HANDLER is not a plugin feature we can search for in
17711 2006-01-19 Edward Hervey <edward@fluendo.com>
17713 * gst/gstelement.c: (gst_element_pads_activate):
17714 When activating, do src pads first, then sink pads.
17715 When de-activating, do sink pads first, then src pads.
17717 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17719 * docs/gst/gstreamer-sections.txt:
17720 Add gst_index_add_associationv to the docs
17722 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17727 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17728 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17729 Do some refactoring. Doesn't actually change functionality,
17730 but makes landing the DRAIN event easier later.
17732 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17734 * docs/pwg/advanced-scheduling.xml:
17735 Update from 0.9.x to 0.10 API and make example a bit
17738 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17740 * docs/gst/gstreamer-sections.txt:
17741 Add gst_buffer_(is|make)_metadata_writable methods.
17743 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17745 * docs/design/part-sparsestreams.txt:
17746 Update sparse streams doc, hopefully for greater clarity
17748 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17750 * docs/design/part-events.txt:
17751 Remove mention of FILLER events.
17754 * docs/design/part-sparsestreams.txt:
17755 Write some things about using NEWSEGMENT to keep sparse streams
17758 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17760 * gst/gstbin.c: (gst_bin_dispose):
17761 Guard gst_object_unref call against a NULL object (dispose
17762 can theoretically be called multiple times).
17764 2006-01-18 Wim Taymans <wim@fluendo.com>
17766 * gst/gstbin.c: (gst_bin_element_set_state):
17767 * gst/gstclock.c: (gst_clock_id_wait):
17768 Added some more debug info.
17770 * libs/gst/base/gstadapter.c:
17773 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17774 (gst_base_sink_do_sync), (gst_base_sink_chain):
17775 Added some comments.
17777 2006-01-18 Wim Taymans <wim@fluendo.com>
17779 * tests/check/Makefile.am:
17780 * tests/check/elements/fakesink.c: (chain_async_buffer),
17781 (chain_async), (chain_async_return), (GST_START_TEST),
17782 (fakesink_suite), (main):
17783 Added fakesink test that checks prerolling and clipping
17786 * tests/check/gst/gstutils.c: (GST_START_TEST):
17787 Make check run faster so that buildbots don't timeout.
17789 2006-01-18 Wim Taymans <wim@fluendo.com>
17791 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17792 (gst_base_sink_do_sync):
17794 When the sink finishes blocking on the preroll buffer, it can
17795 immediatly render it instead of rendering when the next buffer
17798 2006-01-18 Wim Taymans <wim@fluendo.com>
17800 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17801 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17802 (gst_base_sink_chain):
17804 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17805 Don't store _last_stop if the buffer is dropped.
17807 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17809 * plugins/elements/gsttypefindelement.c:
17810 (gst_type_find_element_class_init):
17811 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17812 object method handler that sets the caps on the pad and we want
17813 that to happen before we emit the signal (fixes e.g. feeding a
17814 plain text file to decodebin).
17816 2006-01-18 Christian Schaller <Christian@fluendo.com>
17818 * gst/gstplugin.c: Add MPL and Proprietary as license options
17820 2006-01-18 Andy Wingo <wingo@pobox.com>
17822 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17823 symbol was exported before, it appears this was just an oversight.
17825 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17827 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17828 prototype to gint. OK since this prototype was not in the header.
17830 2006-01-17 Andy Wingo <wingo@pobox.com>
17832 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17833 registry while we remove plugins.
17835 * tools/gst-inspect.c (print_element_info): Don't unref the
17836 factory arg, that should be the responsibility of whatever code
17837 received the ref. Fixes a double-free when called from
17838 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17839 (main): Unref the factory if we have one.
17840 (print_element_list): No change -- relies on the
17841 plugin_feature_list_free to free the list of features.
17843 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17845 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17846 (gst_buffer_make_metadata_writable):
17848 * libs/gst/base/gstbasetransform.c:
17849 (gst_base_transform_prepare_output_buf):
17850 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17851 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17852 Replace gst_buffer_(make|is)_metadata_writable patch now
17853 that the release is out.
17855 2006-01-17 Andy Wingo <wingo@pobox.com>
17857 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17858 in the present tense without reference to versions.
17860 * gst/gstregistry.c (gst_registry_add_plugin)
17861 (gst_registry_remove_plugin, gst_registry_remove_feature)
17862 (gst_registry_find_feature, gst_registry_get_feature_list)
17863 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17864 (gst_registry_lookup, gst_registry_scan_path)
17865 (_gst_registry_remove_cache_plugins)
17866 (gst_registry_get_feature_list_by_plugin): Add argument
17869 === release 0.10.2 ===
17871 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17874 releasing 0.10.2, "If man is five"
17876 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17880 * libs/gst/base/gstbasetransform.c:
17881 (gst_base_transform_prepare_output_buf):
17882 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17883 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17884 Back out patch until after the release.
17886 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17888 * gst/gstminiobject.c:
17889 Spelling fix in docs.
17890 * ChangeLog - remove conflict indicator
17892 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17894 Reviewed By: Andy Wingo
17896 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17897 (gst_buffer_make_metadata_writable):
17899 Add gst_buffer_(is|make)_metadata_writable as analogues of
17900 gst_buffer_(is|make)_writable.
17902 * libs/gst/base/gstbasetransform.c:
17903 (gst_base_transform_prepare_output_buf):
17904 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17905 Use name gst_buffer_(is|make)_metadata_writable functions.
17907 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17908 Test gst_buffer_(is|make)_metadata_writable
17912 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17914 * docs/manual/Makefile.am:
17915 don't do parallel make
17918 * win32/common/config.h.in:
17919 add generations for HOST_CPU and GST_MAJORMINOR
17920 * win32/common/config.h:
17921 commit generated result
17923 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17925 * docs/manual/appendix-integration.xml:
17926 Update GNOME integration section to use gst_init_get_option_group()
17927 instead of the old popt stuff (#322911). Also, GNOME applications
17928 should now use gconf*sink and gconf*src instead of the old gconf
17931 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17934 * docs/gst/gstreamer-docs.sgml:
17935 * docs/gst/gstreamer-sections.txt:
17936 * docs/libs/gstreamer-libs-sections.txt:
17937 add new API entries to the docs
17938 * libs/gst/controller/Makefile.am:
17939 * libs/gst/controller/gstcontroller.c:
17940 * libs/gst/controller/gstcontroller.h:
17941 * libs/gst/controller/gstcontrollerprivate.h:
17942 * libs/gst/controller/gsthelper.c:
17943 * libs/gst/controller/gstinterpolation.c:
17944 move private structs to private header
17946 gstreamer-0.7 -> gstreamer-0.10
17947 * tests/check/libs/struct_i386.h:
17948 remove private structs
17950 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17952 * plugins/indexers/Makefile.am:
17953 Fixes as part of #317048
17955 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17957 * plugins/indexers/Makefile.am:
17958 fix #316086 - compilation when mmap is missing
17960 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17962 * libs/gst/base/gstbasesink.c:
17963 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17964 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17965 * win32/common/config.h:
17966 added some defines GST_MAJORMINOR and HOST_CPU
17967 * win32/common/libgstbase.def:
17968 * win32/common/libgstreamer.def:
17969 added some exported functions.
17971 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17973 * libs/gst/controller/gstcontroller.c:
17974 (gst_controlled_property_set_interpolation_mode),
17975 (gst_controlled_property_new):
17976 * libs/gst/controller/gstcontroller.h:
17977 * libs/gst/controller/gstinterpolation.c:
17978 (interpolate_none_get_string_value_array):
17979 make G_TYPE_STRING controlable
17981 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17984 * tools/gst-feedback.1.in:
17985 * tools/gst-inspect.1.in:
17986 * tools/gst-launch.1.in:
17987 * tools/gst-md5sum.1.in:
17988 * tools/gst-typefind.1.in:
17989 * tools/gst-xmlinspect.1.in:
17990 * tools/gst-xmllaunch.1.in:
17991 cleanup man-pages, remove reference to gst-register, document env-vars
17993 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17995 * gst/gstbuffer.c: (gst_buffer_span):
17996 gst_buffer_span should copy the timestamp of the first buffer
17997 if they were both originally overlapping subbuffers of the
17998 same parent, using the same logic as the 'slow copy' case.
18000 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
18002 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18003 Need to awaken ALL the pads when we pop a buffer, otherwise
18004 collectpads only works when there is 2 input streams.
18006 2006-01-11 Stefan Kost <ensonic@users.sf.net>
18008 * docs/random/ensonic/media-device-daemon.txt:
18011 fix doc example, add clarification
18012 * tools/gst-launch.1.in:
18013 add initial info about GST_PLUGIN_PATH, needs more work
18015 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
18017 * docs/manual/basics-bins.xml:
18018 * docs/manual/basics-elements.xml:
18019 * docs/manual/intro-basics.xml:
18020 Some more minor docs additions and updates.
18022 2006-01-11 Wim Taymans <wim@fluendo.com>
18024 * docs/manual/basics-bins.xml:
18025 * docs/manual/basics-elements.xml:
18026 Some small fixes as pointed out by Ser-ver on IRC.
18028 2006-01-10 Edward Hervey <edward@fluendo.com>
18030 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18031 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18032 the single-segment mode.
18034 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
18036 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18038 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18039 (gst_base_src_perform_seek), (gst_base_src_send_event),
18040 (gst_base_src_set_property), (gst_base_src_get_property),
18041 (gst_base_src_loop), (gst_base_src_start),
18042 (gst_base_src_activate_push):
18043 * libs/gst/base/gstbasesrc.h:
18044 Name (private) union; makes Sun's Forte compiler happy (#324900).
18046 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18049 gst-register is gone.
18051 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18053 * gst/gstvalue.c: (_gst_value_initialize):
18054 make the G_TYPE_DATE instantiation work if debug is disabled
18056 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18058 * gst/gstmessage.c: (gst_message_parse_tag),
18059 (gst_message_parse_error), (gst_message_parse_warning):
18060 Don't crash when return location for error/warning debug
18061 string is NULL; add fact that return locations can be
18062 NULL to docs where appropriate.
18064 2006-01-05 Wim Taymans <wim@fluendo.com>
18066 * gst/gstplugin.c: (gst_plugin_load_file):
18067 Replace strdup by g_strdup.
18069 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18071 * docs/pwg/advanced-types.xml:
18074 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18076 submitted by: Abel Cheung
18080 Added Chinese (traditional) translation
18082 2006-01-04 Wim Taymans <wim@fluendo.com>
18084 * docs/manual/basics-pads.xml:
18085 * docs/plugins/Makefile.am:
18086 * docs/plugins/gstreamer-plugins-docs.sgml:
18087 * docs/plugins/gstreamer-plugins-sections.txt:
18088 * docs/pwg/advanced-clock.xml:
18089 * docs/pwg/advanced-scheduling.xml:
18090 * docs/pwg/advanced-types.xml:
18091 * plugins/elements/gstfdsink.c:
18092 * plugins/elements/gstfdsrc.c:
18093 * plugins/elements/gstfdsrc.h:
18094 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18095 * plugins/elements/gstidentity.h:
18096 * plugins/elements/gstqueue.h:
18097 * plugins/elements/gsttee.c:
18098 * plugins/elements/gsttee.h:
18099 * plugins/elements/gsttypefindelement.c:
18100 (gst_type_find_element_class_init):
18101 * plugins/elements/gsttypefindelement.h:
18102 Small updates to various docs.
18103 Added core plugins to docs.
18105 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18108 add a suppression for liboil's uninitialized variable
18110 2006-01-02 James Livingston <jrl at ids dot org dot au>
18112 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18115 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18116 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18117 compiler switch is being used (#325429).
18119 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18121 * gst/gstbin.c: (gst_bin_query):
18122 Disable duration query caching in bins until it gets
18123 fixed (see #324807).
18125 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18127 * tools/gst-inspect.c: (print_element_properties_info):
18128 Handle properties of POINTER and BOXED type.
18130 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18132 * gst/gst.c: (init_post):
18133 Init tags stuff and some other things before loading
18134 any static plugins (there may be other static plugins
18135 than just the GStreamer ones, and they may want to
18136 register their own tags or formats or whatever, and
18137 preferably without segfaulting).
18139 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18140 Print at least a warning in the debug logs if we drop a
18141 query just because we don't know how to adjust the value
18142 in the particular format.
18144 2005-12-24 David Schleef <ds@schleef.org>
18146 * tools/gstreamer-completion:
18147 Replacement for gst-complete written in sh and sed. Only
18148 completes names of features, but that's 90% of what I want
18149 it for. Properties are not available in registry.xml. (Maybe
18152 === release 0.10.1 ===
18154 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18157 releasing 0.10.1, "Nollaig chridheil"
18159 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18161 * docs/faq/cvs.xml:
18162 Add missing quote, should be make ERROR_CFLAGS="".
18164 2005-12-20 Wim Taymans <wim@fluendo.com>
18166 * docs/design/part-trickmodes.txt:
18167 More documentation on trickmodes.
18169 2005-12-20 Edward Hervey <edward@fluendo.com>
18171 * gst/gstcaps.c: (gst_static_caps_get_type):
18173 API addition: GST_TYPE_STATIC_CAPS
18174 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18175 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18176 * gst/gstpadtemplate.h:
18177 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18178 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18181 2005-12-18 Wim Taymans <wim@fluendo.com>
18183 * libs/gst/base/gstadapter.c:
18184 * libs/gst/base/gstadapter.h:
18185 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18186 (gst_base_sink_get_position):
18187 * libs/gst/base/gstbasesink.h:
18188 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18189 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18190 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18191 (gst_base_src_send_event), (gst_base_src_update_length),
18192 (gst_base_src_get_range), (gst_base_src_loop),
18193 (gst_base_src_start):
18194 * libs/gst/base/gstbasesrc.h:
18195 * libs/gst/base/gstbasetransform.h:
18196 * libs/gst/base/gstcollectpads.h:
18197 * libs/gst/base/gstpushsrc.c:
18198 * libs/gst/base/gstpushsrc.h:
18199 * libs/gst/dataprotocol/dataprotocol.c:
18200 * libs/gst/dataprotocol/dataprotocol.h:
18201 * libs/gst/net/gstnetclientclock.h:
18202 * libs/gst/net/gstnettimeprovider.h:
18203 Documentation updates.
18205 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18207 * docs/manual/basics-helloworld.xml:
18208 Remove superfluous closing bracket in helloworld example.
18210 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18212 * tools/gst-launch.1.in:
18213 Update gst-launch man page; add a section with useful
18214 environment variables. Fixes #323882.
18216 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18219 * gst/gst_private.h:
18220 change some char* into char[]
18222 2005-12-16 Wim Taymans <wim@fluendo.com>
18224 * gst/gstregistryxml.c: (load_feature):
18226 Don't use g_object_unref on GstObjects so that we avoid
18227 leaks on unsafe glibs.
18229 2005-12-16 Wim Taymans <wim@fluendo.com>
18231 * gst/gstbin.c: (gst_bin_recalc_state):
18234 2005-12-16 Wim Taymans <wim@fluendo.com>
18236 * common/check.mak:
18237 Added make forever target for check.
18239 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18241 * gst/gst.c: (init_post):
18242 make the registry cache file HOST_CPU-dependent
18244 2005-12-16 Andy Wingo <wingo@pobox.com>
18246 * plugins/elements/gstbufferstore.c
18247 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18250 * tests/check/gst/gstobject.c
18251 (test_fake_object_name_threaded_unique): Pay attention to
18252 g_list_sort return value.
18254 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18256 * tools/gst-feedback-m.m:
18257 Update for 0.9/0.10 (fixes #323870).
18259 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18261 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18262 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18264 * tests/check/gst/gstminiobject.c: (my_foo_init),
18265 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18266 (test_value_collection), (gst_mini_object_suite):
18267 Add test to ensure refcounts end up as expected when passing
18268 GstMiniObjects through g_object_get() and g_object_set().
18270 2005-12-14 Julien MOUTTE <julien@moutte.net>
18272 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18273 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18274 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18275 of collectpads. This version removes a lot of races without
18276 touching API/ABI. Yay !
18278 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18280 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18281 Don't allow activation of a srcpad in pull_range if it has no
18283 Change some debug statements to be a little clearer
18285 * plugins/elements/gsttypefindelement.c:
18286 (gst_type_find_handle_src_query):
18287 Check that we have a peer before executing queries thereupon.
18289 * tests/examples/metadata/read-metadata.c: (message_loop):
18290 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18291 immediately return us any available message with 0 timeout.
18293 2005-12-12 Michael Smith <msmith@fluendo.com>
18295 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18296 Don't unref factories after calling them.
18297 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18298 * plugins/elements/gsttypefindelement.c:
18299 (gst_type_find_element_chain):
18300 Free lists of factories after using them. Fixing typefinding memory
18303 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18305 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18306 (gst_plugin_feature_load):
18307 more meaningful debug output
18309 * tests/Makefile.am:
18310 * tests/old/examples/Makefile.am:
18311 make make distcheck happy again
18313 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18315 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18316 Catch the special case where we are operating chain-based,
18317 but the downstream peer pad has no chain function. Emit a
18318 custom error message in this case instead of letting the
18319 core generate one implying that this is some sort of core
18320 bug. It's not, it just means that whatever got plugged
18321 into the pipeline downstream when we announced the type
18322 can only operate pull-based, while our source can only
18323 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18324 Error string has not been marked for translation yet, as
18325 it probably needs some more work first.
18327 (gst_type_find_element_get_best_possibility):
18328 Add helper function to find the best of all available
18329 found possibilities that qualify given the min. threshold.
18331 (gst_type_find_element_handle_event):
18332 Fix the case where we get an EOS while still in TYPEFIND
18333 mode (we want to chose the best of all possible types,
18334 not just the first type that happens to be in our unsorted
18335 list of possible types).
18337 (gst_type_find_element_chain):
18338 Make sure we return GST_FLOW_ERROR when we errored out
18339 in stop_typefinding(); also, don't just find the best of
18340 all found type entries and then use the last examined
18341 type entry, but actually use the best entry.
18343 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18345 * tests/examples/typefind/typefind.c: (type_found):
18346 * tests/examples/xml/runxml.c: (xml_loaded):
18347 More gcc4 fixes and a mem leak fix.
18349 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18351 * tests/examples/xml/createxml.c: (object_saved):
18354 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18356 * tests/Makefile.am:
18357 enable the examples even more
18359 2005-12-12 Andy Wingo <wingo@pobox.com>
18361 * libs/gst/net/gstnettimeprovider.c
18362 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18363 (gst_net_time_provider_set_property)
18364 (gst_net_time_provider_get_property):
18365 API addition: Export "active" as a GObject property.
18366 (gst_net_time_provider_thread): Only respond to time queries if
18367 the time provider is active.
18369 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18370 NetTimeProvider, preserving binary compat.
18372 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18374 * tests/examples/controller/audio-example.c: (main):
18375 * tests/examples/launch/Makefile.am:
18376 convert comments again
18378 2005-12-12 Wim Taymans <wim@fluendo.com>
18380 * libs/gst/base/gstpushsrc.c:
18383 2005-12-12 Wim Taymans <wim@fluendo.com>
18385 * docs/libs/gstreamer-libs-sections.txt:
18386 Added new symbol to docs.
18388 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18389 (gst_base_src_init), (gst_base_src_set_format),
18390 (gst_base_src_default_query), (gst_base_src_query),
18391 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18392 (gst_base_src_perform_seek), (gst_base_src_send_event),
18393 (gst_base_src_default_event), (gst_base_src_event_handler),
18394 (gst_base_src_set_property), (gst_base_src_get_property),
18395 (gst_base_src_wait), (gst_base_src_do_sync),
18396 (gst_base_src_update_length), (gst_base_src_get_range),
18397 (gst_base_src_check_get_range), (gst_base_src_loop),
18398 (gst_base_src_default_negotiate), (gst_base_src_start),
18399 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18400 (gst_base_src_change_state):
18401 * libs/gst/base/gstbasesrc.h:
18402 Implement seeking to other formats than _BYTES.
18403 Implement more seeking methods correctly.
18405 Added query vmethod.
18406 Added do_seek vmethod to make life easier for subclasses
18408 API addition: gst_base_src_set_format()
18410 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18412 * tests/examples/Makefile.am:
18415 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18418 * docs/random/ensonic/media-device-daemon.txt:
18419 * tests/examples/controller/.cvsignore:
18420 * tests/examples/controller/Makefile.am:
18421 * tests/examples/controller/audio-example.c: (main):
18422 * tests/examples/helloworld/.cvsignore:
18423 * tests/examples/helloworld/Makefile.am:
18424 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18425 * tests/examples/launch/.cvsignore:
18426 * tests/examples/launch/Makefile.am:
18427 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18428 * tests/examples/metadata/.cvsignore:
18429 * tests/examples/metadata/Makefile.am:
18430 * tests/examples/metadata/read-metadata.c: (message_loop),
18431 (make_pipeline), (print_tag), (main):
18432 * tests/examples/queue/.cvsignore:
18433 * tests/examples/queue/Makefile.am:
18434 * tests/examples/queue/queue.c: (event_loop), (main):
18435 * tests/examples/typefind/.cvsignore:
18436 * tests/examples/typefind/Makefile.am:
18437 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18439 * tests/examples/xml/.cvsignore:
18440 * tests/examples/xml/Makefile.am:
18441 * tests/examples/xml/createxml.c: (object_saved), (main):
18442 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18443 * tests/old/examples/Makefile.am:
18444 * tests/old/examples/TODO:
18445 * tests/old/examples/controller/.cvsignore:
18446 * tests/old/examples/controller/Makefile.am:
18447 * tests/old/examples/controller/audio-example.c:
18448 * tests/old/examples/helloworld/.cvsignore:
18449 * tests/old/examples/helloworld/Makefile.am:
18450 * tests/old/examples/helloworld/helloworld.c:
18451 * tests/old/examples/launch/.cvsignore:
18452 * tests/old/examples/launch/Makefile.am:
18453 * tests/old/examples/launch/mp3parselaunch.c:
18454 * tests/old/examples/launch/mp3play:
18455 * tests/old/examples/manual/Makefile.am:
18456 * tests/old/examples/metadata/Makefile.am:
18457 * tests/old/examples/metadata/read-metadata.c:
18458 * tests/old/examples/queue/.cvsignore:
18459 * tests/old/examples/queue/Makefile.am:
18460 * tests/old/examples/queue/queue.c:
18461 * tests/old/examples/typefind/.cvsignore:
18462 * tests/old/examples/typefind/Makefile.am:
18463 * tests/old/examples/typefind/typefind.c:
18464 * tests/old/examples/xml/.cvsignore:
18465 * tests/old/examples/xml/Makefile.am:
18466 * tests/old/examples/xml/createxml.c:
18467 * tests/old/examples/xml/runxml.c:
18468 applied some simple fixing to some examples
18469 re-enabled the working examples
18471 2005-12-12 Wim Taymans <wim@fluendo.com>
18473 * gst/gstsegment.c: (gst_segment_init),
18474 (gst_segment_set_last_stop), (gst_segment_set_seek),
18475 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18476 (gst_segment_to_running_time):
18477 Added more documentation.
18478 Make sure the last_pos value is updated properly.
18479 Make sure to_stream_time and to_running_time don't
18480 operate on wrong values.
18482 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18485 2005-12-12 Michael Smith <msmith@fluendo.com>
18487 * plugins/elements/gsttypefindelement.c: (free_entry),
18488 (gst_type_find_element_chain):
18489 Now that we're not leaking factories, make sure we keep references
18490 to them while we need them.
18492 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18494 * tests/check/gst/struct_i386.h:
18495 ifdef out the XML structs
18497 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18499 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18500 floor is not needed, F is always positive; this obviates the
18501 need for adding -lm when building without libxml
18503 2005-12-12 Wim Taymans <wim@fluendo.com>
18505 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18506 Take current playback rate into account when reporting
18509 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18511 * docs/manual/mime-world.fig:
18512 Let's try this again, this time with a file that is
18513 actually in XFig format.
18515 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18517 * docs/manual/mime-world.fig:
18518 Add audioconvert element to diagram so that it
18519 matches the text and the code (fixes #319526).
18521 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18523 * docs/pwg/building-chainfn.xml:
18524 * docs/pwg/building-pads.xml:
18525 * docs/pwg/building-state.xml:
18526 * docs/pwg/other-source.xml:
18527 Update state change stuff for 0.10 (fixes #322969).
18529 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18531 * docs/manual/advanced-dataaccess.xml:
18532 * docs/manual/appendix-checklist.xml:
18533 * docs/manual/appendix-programs.xml:
18534 * docs/manual/basics-pads.xml:
18535 * docs/manual/highlevel-components.xml:
18536 * docs/manual/manual.xml:
18537 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18538 add converters in front of pipelines; remove curly
18539 brackets for threads stuff, they no longer exist; use
18540 GST_TYPE_FRACTION for framerates; update some pieces of
18541 code to 0.10, but there's plenty more to do.
18543 * docs/manual/appendix-porting.xml:
18544 Expand on asynchroneous state changes; s/0.9/0.10/;
18545 mention disappearance of gst_init_get_popt_table()
18548 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18550 * docs/faq/using.xml:
18551 Spider no longer exists, and neither does gst-launch-ext.
18552 Update examples to use decodebin and playbin and put
18553 converters in front of sinks (fixes #323726).
18555 2005-12-09 Michael Smith <msmith@fluendo.com>
18557 * plugins/elements/gsttypefindelement.c: (find_peek),
18558 (gst_type_find_element_chain):
18559 Fix leaking element factories in typefinding.
18560 Fix problem where we forgot about a probable type on non-seekable
18561 files, and thus later mis-typefound it.
18563 2005-12-09 Michael Smith <msmith@fluendo.com>
18565 * common/m4/gst-makecontext.m4:
18566 * common/m4/gst-mcsc.m4:
18568 * win32/common/config.h:
18569 * win32/common/config.h.in:
18570 Remove makecontext stuff; not used in 0.10 and causes problems on
18571 HPUX according to bug #322441
18573 2005-12-07 Wim Taymans <wim@fluendo.com>
18575 * tests/check/Makefile.am:
18576 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18578 * tests/check/libs/struct_i386.h:
18579 Added ABI check for libs
18581 2005-12-07 Wim Taymans <wim@fluendo.com>
18583 * tests/check/Makefile.am:
18584 And add the struct_i386.h to dist.
18586 2005-12-07 Wim Taymans <wim@fluendo.com>
18588 * tests/check/Makefile.am:
18589 * tests/check/gst/.cvsignore:
18590 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18592 * tests/check/gst/struct_i386.h:
18593 Added check for ABI compatibility.
18595 2005-12-07 Wim Taymans <wim@fluendo.com>
18597 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18598 (gst_fake_src_get_times), (gst_fake_src_create):
18599 Fix broken sync option, fixes #323259
18601 2005-12-07 Wim Taymans <wim@fluendo.com>
18606 * gst/gstcaps.c: (gst_caps_is_equal):
18607 Don't assert on NULL <--> X. Fixes #323260
18609 * gst/gstminiobject.c: (gst_mini_object_replace):
18610 If we're doing atomic operations, we might just as well use
18611 the proper way to get an atomic pointer.
18613 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18614 Clean up debugging.
18616 2005-12-07 Michael Smith <msmith@fluendo.com>
18618 * gst/parse/grammar.y:
18619 Remove handling of { } for threads.
18621 2005-12-06 David Schleef <ds@schleef.org>
18623 * libs/gst/base/gstbasetransform.c: speling fix.
18625 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18627 * docs/libs/tmpl/gstdataprotocol.sgml:
18628 * docs/random/omega/testing/gstobject.c:
18631 * gst/gstelement.c:
18632 * gst/gstelementfactory.c:
18635 * gst/gstghostpad.c:
18637 * gst/gstpadtemplate.c:
18638 * gst/gstregistryxml.c:
18639 * gst/gsttaglist.c:
18640 * gst/gsttagsetter.c:
18641 * gst/gsttypefind.c:
18643 * libs/gst/base/gstbasesrc.c:
18644 * libs/gst/net/gstnetclientclock.c:
18645 * libs/gst/net/gstnettimeprovider.c:
18646 * plugins/elements/gstfakesrc.c:
18647 * plugins/elements/gstfdsrc.c:
18648 * plugins/elements/gstfilesrc.c:
18649 * plugins/elements/gstidentity.c:
18650 * plugins/elements/gstqueue.c:
18651 * plugins/elements/gsttypefindelement.c:
18652 * plugins/indexers/gstfileindex.c:
18653 * plugins/indexers/gstmemindex.c:
18654 * tests/check/gst/gsttag.c:
18655 * tests/old/examples/cutter/cutter.c:
18656 * tests/old/examples/mixer/mixer.c:
18657 * tests/old/examples/xml/runxml.c: (main):
18658 * tests/old/testsuite/caps/normalisation.c:
18659 * tests/old/testsuite/debug/global.c:
18660 * tests/old/testsuite/parse/parse1.c:
18661 * tools/gst-xmlinspect.c:
18662 * win32/common/dirent.c:
18665 === release 0.10.0 ===
18667 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18670 releasing 0.10.0, "Maroilles"
18672 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18674 submitted by: Funda Wang <fundawang@linux.net.cn>
18678 added Chinese (Traditional) translation
18680 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18682 * docs/gst/gstreamer-sections.txt:
18683 * docs/libs/tmpl/gstdataprotocol.sgml:
18684 * docs/random/thomasvs/TODO:
18689 2005-12-05 Andy Wingo <wingo@pobox.com>
18691 patch by: Wim Taymans <wim@fluendo.com>
18693 * libs/gst/base/gstbasetransform.c
18694 (gst_base_transform_prepare_output_buf)
18695 (gst_base_transform_buffer_alloc):
18696 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18697 alloc_buffer_and_set_caps.
18699 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18700 set_caps on the source pad.
18701 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18702 alloc_buffer used to do. Fixes #322874.
18704 * docs/gst/gstreamer-sections.txt:
18705 * docs/design/part-negotiation.txt:
18706 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18709 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18711 patch by: Sebastien Moutte
18714 * win32/common/config.h.in:
18715 * win32/vs6/libgstcontroller.dsp:
18718 2005-12-05 Wim Taymans <wim@fluendo.com>
18720 * gst/gstcaps.c: (gst_caps_is_equal):
18721 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18722 (gst_fake_src_create):
18723 Back out previous code changes, leave doc updates, file bugs
18726 2005-12-05 Wim Taymans <wim@fluendo.com>
18728 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18729 (gst_fake_src_get_times), (gst_fake_src_create):
18730 * plugins/elements/gstfakesrc.h:
18731 Fix broken sync code.
18733 2005-12-05 Wim Taymans <wim@fluendo.com>
18735 * gst/gstcaps.c: (gst_caps_is_equal):
18736 Comparing NULL against !NULL yields different caps, not a
18739 2005-12-05 Wim Taymans <wim@fluendo.com>
18741 * gst/gstpipeline.c:
18742 Fix small typo in docs.
18744 2005-12-05 Andy Wingo <wingo@pobox.com>
18746 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18748 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18749 registries/plugins with a MAJORMINOR one.
18750 (plugin_desc): Rename library from gstcoreleements to
18751 staticelements. Fixes #323222.
18753 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18755 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18756 Change debug category to 'collectpads' from 'collect_pads'
18759 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18761 patch by: Sebastien Moutte
18763 * libs/gst/controller/gstinterpolation.c:
18764 use convert function for uint64/double
18765 * win32/vs6/libgstcontroller.dsp:
18768 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18770 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18771 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18773 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18774 add tests that seem to show that the guint64/gdouble conversions
18777 2005-12-02 Wim Taymans <wim@fluendo.com>
18779 * gst/gstregistry.c: (gst_registry_add_path):
18780 * gst/gstregistry.h:
18781 * gst/gstregistryxml.c:
18784 2005-12-02 Wim Taymans <wim@fluendo.com>
18786 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18787 (gst_util_uint64_scale_int):
18790 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18791 Add debug log line.
18793 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18796 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18799 * win32/common/config.h:
18800 * win32/vs6/gstreamer.dsw:
18801 * win32/vs6/libgstcoreelements.dsp:
18802 * win32/vs6/libgstelements.dsp:
18803 renamed core elements plugin
18805 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18807 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18809 do piece-wise major/minor comparison so 0.9 < 0.10
18810 also allow .exe extensions for tools
18812 2005-12-02 Michael Smith <msmith@fluendo.com>
18815 Escape a % to make gtkdoc happier; bug 322958.
18817 === release 0.9.7 ===
18819 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18822 releasing 0.9.7, "My Dog Has No Nose"
18824 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18826 * common/gst-xmlinspect.py:
18828 * docs/libs/tmpl/gstdataprotocol.sgml:
18829 * docs/random/release:
18848 * win32/common/config.h:
18849 * win32/common/config.h.in:
18850 * win32/vs6/gst_inspect.dsp:
18851 * win32/vs6/gst_launch.dsp:
18852 * win32/vs6/libgstbase.dsp:
18853 * win32/vs6/libgstelements.dsp:
18854 * win32/vs6/libgstreamer.dsp:
18855 * win32/vs7/GStreamer.vcproj:
18856 * win32/vs7/gst-inspect.vcproj:
18857 * win32/vs7/gst-launch.vcproj:
18858 * win32/vs7/libgstbase.vcproj:
18859 bump GST_MAJORMINOR to 0.10
18860 reset libtool version
18862 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18866 Added Bulgarian translation by (Alexander Shopov)
18868 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18870 * tests/check/gst/gstplugin.c:
18873 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18875 * common/gst-xmlinspect.py:
18876 * common/gtk-doc-plugins.mak:
18878 * docs/Makefile.am:
18879 * docs/gst/Makefile.am:
18880 * docs/gst/gstreamer-docs.sgml:
18881 * docs/gst/gstreamer-sections.txt:
18882 * docs/gst/gstreamer.types:
18883 * docs/gst/gstreamer.types.in:
18884 * docs/plugins/Makefile.am:
18885 * docs/plugins/gstreamer-plugins-docs.sgml:
18886 * docs/plugins/gstreamer-plugins-sections.txt:
18887 * docs/plugins/gstreamer-plugins.types:
18888 * docs/plugins/inspect.stamp:
18889 * docs/plugins/inspect/plugin-coreelements.xml:
18890 * docs/plugins/inspect/plugin-coreindexers.xml:
18891 * docs/plugins/scanobj-build.stamp:
18892 * gstreamer.spec.in:
18893 * plugins/elements/Makefile.am:
18894 * plugins/elements/gstelements.c:
18895 * plugins/elements/gstfakesink.c:
18896 * plugins/elements/gstfakesrc.c:
18897 * plugins/elements/gstfilesink.c:
18898 * plugins/elements/gstfilesrc.c:
18899 * plugins/elements/gstqueue.c:
18900 * plugins/indexers/Makefile.am:
18901 * plugins/indexers/gstindexers.c:
18902 document core plugins in a separate document just like all the
18904 rename these plugins to something starting with core
18906 2005-12-01 Andy Wingo <wingo@pobox.com>
18908 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18909 padding here before, but it missed the commit.
18911 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18913 * libs/gst/controller/gstinterpolation.c:
18914 whitespace prices have crashed, we should feel free to use some now
18915 use gst_guint64_to_gdouble
18917 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18919 * libs/gst/controller/gstcontroller.c:
18920 * libs/gst/controller/gsthelper.c:
18921 * libs/gst/controller/gstinterpolation.c:
18922 * libs/gst/controller/lib.c:
18923 wrap config.h include
18925 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18927 * docs/gst/gstreamer-sections.txt:
18930 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18932 * plugins/elements/gstelements.c:
18933 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18934 (gst_fd_sink__class_init), (gst_fd_sink__init),
18935 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18936 (gst_fd_sink__get_property):
18937 * plugins/elements/gstfdsink.h:
18938 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18939 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18940 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18941 (gst_fd_src_unlock), (gst_fd_src_set_property),
18942 (gst_fd_src_get_property), (gst_fd_src_create),
18943 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18944 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18945 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18946 (gst_fd_src_uri_handler_init):
18947 * plugins/elements/gstfdsrc.h:
18948 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18951 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18953 * docs/gst/Makefile.am:
18954 * docs/gst/gstreamer.types.in:
18958 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18964 * gst/gstregistry.h:
18965 * tests/benchmarks/complexity.c:
18966 * tests/benchmarks/mass-elements.c:
18967 * tests/check/Makefile.am:
18968 * tools/Makefile.am:
18969 * tools/gst-inspect.c:
18970 * tools/gst-xmlinspect.c:
18971 various fixes to make
18972 --disable-nls --disable-registry --disable-loadsave
18973 --disable-parse --disable-gst-debug
18974 work and get the core .so down to 360444 bytes after stripping
18976 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18981 * docs/random/thomasvs/TODO:
18982 * tests/Makefile.am:
18986 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18988 * win32/GStreamer.vcproj:
18991 * win32/Makefile.inspect:
18992 * win32/Makefile.launch:
18993 * win32/Makefile.register:
18994 * win32/README.txt:
18995 * win32/gst-inspect.vcproj:
18996 * win32/gst-launch.vcproj:
18997 * win32/gst-register.vcproj:
18998 * win32/gstelements.vcproj:
18999 * win32/gstgetbits.def:
19000 * win32/gstgetbits.vcproj:
19001 * win32/gstreamer-dbg.def:
19002 * win32/gstreamer.def:
19003 * win32/libgstbase.def:
19004 * win32/libgstbase.vcproj:
19005 * win32/link_oldruntime.c:
19009 * win32/msvc71.sln:
19010 move even more stuff, win32/ is nice and clean now
19012 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19014 * libs/gst/control/.cvsignore:
19019 * win32/gstbytestream.def:
19020 * win32/gstbytestream.vcproj:
19021 * win32/gstconfig.h:
19022 * win32/gstenumtypes.c:
19023 * win32/gstenumtypes.h:
19024 * win32/gstoptimalscheduler.vcproj:
19025 * win32/gstversion.h:
19027 * win32/testsuite/bins.vcproj:
19028 * win32/testsuite/bytestream.vcproj:
19029 * win32/testsuite/caps.vcproj:
19030 * win32/testsuite/cleanup.vcproj:
19031 * win32/testsuite/clock.vcproj:
19032 * win32/testsuite/debug.vcproj:
19033 * win32/testsuite/dlopen.vcproj:
19034 * win32/testsuite/dynparams.vcproj:
19035 * win32/testsuite/elements.vcproj:
19036 * win32/testsuite/ghostpads.vcproj:
19037 * win32/testsuite/indexers.vcproj:
19038 * win32/testsuite/negotiation.vcproj:
19039 * win32/testsuite/parse.vcproj:
19040 * win32/testsuite/plugin.vcproj:
19041 * win32/testsuite/refcounting.vcproj:
19042 * win32/testsuite/schedulers.vcproj:
19043 * win32/testsuite/states.vcproj:
19044 * win32/testsuite/tags.vcproj:
19045 * win32/testsuite/threads.vcproj:
19046 remove old win32 stuff that isn't maintained and should be
19049 2005-11-30 Andy Wingo <wingo@pobox.com>
19051 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19052 loading the gst.interfaces python module bork.
19054 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19055 available since GLib 2.2. Fixes #318031.
19057 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19060 * check/.cvsignore:
19061 * check/Makefile.am:
19062 * check/elements/.cvsignore:
19063 * check/elements/fakesrc.c:
19064 * check/elements/fdsrc.c:
19065 * check/elements/identity.c:
19066 * check/generic/.cvsignore:
19067 * check/generic/states.c:
19068 * check/gst-libs/.cvsignore:
19069 * check/gst-libs/controller.c:
19070 * check/gst-libs/gdp.c:
19071 * check/gst/.cvsignore:
19072 * check/gst/capslist.h:
19074 * check/gst/gstbin.c:
19075 * check/gst/gstbuffer.c:
19076 * check/gst/gstbus.c:
19077 * check/gst/gstcaps.c:
19078 * check/gst/gstelement.c:
19079 * check/gst/gstevent.c:
19080 * check/gst/gstghostpad.c:
19081 * check/gst/gstiterator.c:
19082 * check/gst/gstmessage.c:
19083 * check/gst/gstminiobject.c:
19084 * check/gst/gstobject.c:
19085 * check/gst/gstpad.c:
19086 * check/gst/gstpipeline.c:
19087 * check/gst/gstplugin.c:
19088 * check/gst/gstsegment.c:
19089 * check/gst/gststructure.c:
19090 * check/gst/gstsystemclock.c:
19091 * check/gst/gsttag.c:
19092 * check/gst/gstutils.c:
19093 * check/gst/gstvalue.c:
19094 * check/net/.cvsignore:
19095 * check/net/gstnetclientclock.c:
19096 * check/net/gstnettimeprovider.c:
19097 * check/pipelines/.cvsignore:
19098 * check/pipelines/cleanup.c:
19099 * check/pipelines/simple_launch_lines.c:
19100 * check/pipelines/stress.c:
19101 * check/states/.cvsignore:
19102 * check/states/sinks.c:
19104 * examples/Makefile.am:
19105 * examples/appreader/.cvsignore:
19106 * examples/appreader/Makefile.am:
19107 * examples/appreader/appreader.c:
19108 * examples/controller/.cvsignore:
19109 * examples/controller/Makefile.am:
19110 * examples/controller/audio-example.c:
19111 * examples/cutter/.cvsignore:
19112 * examples/cutter/Makefile.am:
19113 * examples/cutter/cutter.c:
19114 * examples/cutter/cutter.h:
19115 * examples/events/Makefile.am:
19116 * examples/events/seek.c:
19117 * examples/helloworld/.cvsignore:
19118 * examples/helloworld/Makefile.am:
19119 * examples/helloworld/helloworld.c:
19120 * examples/helloworld2/.cvsignore:
19121 * examples/helloworld2/Makefile.am:
19122 * examples/helloworld2/helloworld2.c:
19123 * examples/launch/.cvsignore:
19124 * examples/launch/Makefile.am:
19125 * examples/launch/mp3parselaunch.c:
19126 * examples/launch/mp3play:
19127 * examples/manual/.cvsignore:
19128 * examples/manual/Makefile.am:
19129 * examples/manual/extract.pl:
19130 * examples/metadata/Makefile.am:
19131 * examples/metadata/read-metadata.c:
19132 * examples/mixer/.cvsignore:
19133 * examples/mixer/Makefile.am:
19134 * examples/mixer/mixer.c:
19135 * examples/mixer/mixer.h:
19136 * examples/pingpong/.cvsignore:
19137 * examples/pingpong/Makefile.am:
19138 * examples/pingpong/pingpong.c:
19139 * examples/plugins/.cvsignore:
19140 * examples/plugins/Makefile.am:
19141 * examples/plugins/example.c:
19142 * examples/plugins/example.h:
19143 * examples/pwg/.cvsignore:
19144 * examples/pwg/Makefile.am:
19145 * examples/pwg/extract.pl:
19146 * examples/queue/.cvsignore:
19147 * examples/queue/Makefile.am:
19148 * examples/queue/queue.c:
19149 * examples/queue2/.cvsignore:
19150 * examples/queue2/Makefile.am:
19151 * examples/queue2/queue2.c:
19152 * examples/queue3/.cvsignore:
19153 * examples/queue3/Makefile.am:
19154 * examples/queue3/queue3.c:
19155 * examples/queue4/.cvsignore:
19156 * examples/queue4/Makefile.am:
19157 * examples/queue4/queue4.c:
19158 * examples/retag/.cvsignore:
19159 * examples/retag/Makefile.am:
19160 * examples/retag/retag.c:
19161 * examples/retag/transcode.c:
19162 * examples/thread/.cvsignore:
19163 * examples/thread/Makefile.am:
19164 * examples/thread/thread.c:
19165 * examples/typefind/.cvsignore:
19166 * examples/typefind/Makefile.am:
19167 * examples/typefind/typefind.c:
19168 * examples/xml/.cvsignore:
19169 * examples/xml/Makefile.am:
19170 * examples/xml/createxml.c:
19171 * examples/xml/runxml.c:
19172 * tests/Makefile.am:
19173 * tests/check/Makefile.am:
19174 * testsuite/.cvsignore:
19175 * testsuite/Makefile.am:
19177 * testsuite/caps/.cvsignore:
19178 * testsuite/caps/Makefile.am:
19179 * testsuite/caps/app_fixate.c:
19180 * testsuite/caps/audioscale.c:
19181 * testsuite/caps/caps.c:
19182 * testsuite/caps/caps.h:
19183 * testsuite/caps/caps_strings:
19184 * testsuite/caps/compatibility.c:
19185 * testsuite/caps/deserialize.c:
19186 * testsuite/caps/enumcaps.c:
19187 * testsuite/caps/eratosthenes.c:
19188 * testsuite/caps/filtercaps.c:
19189 * testsuite/caps/fixed.c:
19190 * testsuite/caps/fraction-convert.c:
19191 * testsuite/caps/fraction-multiply-and-zero.c:
19192 * testsuite/caps/intersect2.c:
19193 * testsuite/caps/intersection.c:
19194 * testsuite/caps/normalisation.c:
19195 * testsuite/caps/random.c:
19196 * testsuite/caps/renegotiate.c:
19197 * testsuite/caps/sets.c:
19198 * testsuite/caps/simplify.c:
19199 * testsuite/caps/string-conversions.c:
19200 * testsuite/caps/structure.c:
19201 * testsuite/caps/subtract.c:
19202 * testsuite/caps/union.c:
19203 * testsuite/debug/.cvsignore:
19204 * testsuite/debug/Makefile.am:
19205 * testsuite/debug/category.c:
19206 * testsuite/debug/commandline.c:
19207 * testsuite/debug/global.c:
19208 * testsuite/debug/output.c:
19209 * testsuite/debug/printf_extension.c:
19210 * testsuite/dlopen/.cvsignore:
19211 * testsuite/dlopen/Makefile.am:
19212 * testsuite/dlopen/dlopen_gst.c:
19213 * testsuite/dlopen/loadgst.c:
19214 * testsuite/elements/.cvsignore:
19215 * testsuite/elements/Makefile.am:
19216 * testsuite/elements/gst-inspect-check.in:
19217 * testsuite/elements/struct_i386.h:
19218 * testsuite/elements/struct_size.c:
19219 * testsuite/indexers/.cvsignore:
19220 * testsuite/indexers/Makefile.am:
19221 * testsuite/indexers/cache1.c:
19222 * testsuite/indexers/indexdump.c:
19223 * testsuite/parse/.cvsignore:
19224 * testsuite/parse/Makefile.am:
19225 * testsuite/parse/parse1.c:
19226 * testsuite/parse/parse2.c:
19227 * testsuite/plugin/.cvsignore:
19228 * testsuite/plugin/Makefile.am:
19229 * testsuite/plugin/README:
19230 * testsuite/plugin/dynamic.c:
19231 * testsuite/plugin/linked.c:
19232 * testsuite/plugin/loading.c:
19233 * testsuite/plugin/registry.c:
19234 * testsuite/plugin/static.c:
19235 * testsuite/plugin/static2.c:
19236 * testsuite/plugin/testplugin.c:
19237 * testsuite/plugin/testplugin2.c:
19238 * testsuite/plugin/testplugin2_s.c:
19239 * testsuite/plugin/testplugin_s.c:
19240 * testsuite/refcounting/.cvsignore:
19241 * testsuite/refcounting/Makefile.am:
19242 * testsuite/refcounting/bin.c:
19243 * testsuite/refcounting/element.c:
19244 * testsuite/refcounting/element_pad.c:
19245 * testsuite/refcounting/mainloop.c:
19246 * testsuite/refcounting/mem.c:
19247 * testsuite/refcounting/mem.h:
19248 * testsuite/refcounting/object.c:
19249 * testsuite/refcounting/pad.c:
19250 * testsuite/refcounting/sched.c:
19251 * testsuite/refcounting/thread.c:
19252 * testsuite/states/.cvsignore:
19253 * testsuite/states/Makefile.am:
19254 * testsuite/states/bin.c:
19255 * testsuite/states/locked.c:
19256 * testsuite/states/parent.c:
19257 * testsuite/threads/.cvsignore:
19258 * testsuite/threads/159566.c:
19259 * testsuite/threads/159852.c:
19260 * testsuite/threads/Makefile.am:
19261 * testsuite/threads/queue.c:
19262 * testsuite/threads/signals.c:
19263 * testsuite/threads/staticrec.c:
19264 * testsuite/threads/thread.c:
19265 * testsuite/threads/threadb.c:
19266 * testsuite/threads/threadc.c:
19267 * testsuite/threads/threadd.c:
19268 * testsuite/threads/threade.c:
19269 * testsuite/threads/threadf.c:
19270 * testsuite/threads/threadg.c:
19271 * testsuite/threads/threadh.c:
19272 * testsuite/threads/threadi.c:
19273 move all of these under tests
19275 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19278 * tests/Makefile.am:
19281 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19283 * docs/gst/gstreamer-sections.txt:
19284 * tests/sched/.cvsignore:
19285 * tests/sched/Makefile.am:
19286 * tests/sched/cases/(fs-fs).xml:
19287 * tests/sched/cases/(fs-i-fs).xml:
19288 * tests/sched/cases/(fs-i-i-fs).xml:
19289 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19290 * tests/sched/dynamic-pipeline.c:
19291 * tests/sched/interrupt1.c:
19292 * tests/sched/interrupt2.c:
19293 * tests/sched/interrupt3.c:
19294 * tests/sched/runtestcases:
19295 * tests/sched/runxml.c:
19296 * tests/sched/sched-stress.c:
19297 * tests/sched/sort.c:
19298 * tests/sched/testcases:
19299 * tests/sched/testcases1.tc:
19300 * tests/seeking/.cvsignore:
19301 * tests/seeking/Makefile.am:
19302 * tests/seeking/seeking1.c:
19303 * tests/threadstate/.cvsignore:
19304 * tests/threadstate/Makefile.am:
19305 * tests/threadstate/test1.c:
19306 * tests/threadstate/test2.c:
19307 * tests/threadstate/threadstate1.c:
19308 * tests/threadstate/threadstate2.c:
19309 * tests/threadstate/threadstate3.c:
19310 * tests/threadstate/threadstate4.c:
19311 * tests/threadstate/threadstate5.c:
19312 remove obsolete tests
19314 * tests/bench-complexity.scm:
19315 * tests/bench-mass_elements.scm:
19316 * tests/complexity.c:
19317 * tests/complexity.gnuplot:
19318 * tests/instantiate/.cvsignore:
19319 * tests/instantiate/Makefile.am:
19320 * tests/instantiate/caps.c:
19321 * tests/mass_elements.c:
19322 * tests/network-clock-utils.scm:
19323 * tests/network-clock.scm:
19325 First pass at cleaning up tests/ dir before moving the rest
19326 Combined with CVS surgery
19328 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19331 queue has moved, update
19333 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19335 * docs/gst/gstreamer-sections.txt:
19336 remove double entries from the docs
19337 * gst/gst_private.h:
19338 * gst/gstinfo.c: (_gst_debug_init):
19339 remove the THREAD debug category
19343 * docs/gst/gstreamer.types:
19344 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19345 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19346 completely move queue and fix up debugging categories
19348 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19350 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19351 make initialization portable, using LL is not
19353 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19355 * win32/common/gstconfig.h:
19358 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19360 * win32/common/libgstreamer.def:
19361 rename symbols; sort base section
19363 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19365 * gst/gstclock.c: (do_linear_regression):
19366 remove crack non-portable handrolled DEBUG macro
19368 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19370 * docs/random/release:
19372 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19373 (gst_object_flags_get_type), (register_gst_bin_flags),
19374 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19375 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19376 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19377 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19378 (gst_caps_flags_get_type), (register_gst_clock_return),
19379 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19380 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19381 (gst_clock_flags_get_type), (register_gst_state),
19382 (gst_state_get_type), (register_gst_state_change_return),
19383 (gst_state_change_return_get_type), (register_gst_state_change),
19384 (gst_state_change_get_type), (register_gst_element_flags),
19385 (gst_element_flags_get_type), (register_gst_core_error),
19386 (gst_core_error_get_type), (register_gst_library_error),
19387 (gst_library_error_get_type), (register_gst_resource_error),
19388 (gst_resource_error_get_type), (register_gst_stream_error),
19389 (gst_stream_error_get_type), (register_gst_event_type_flags),
19390 (gst_event_type_flags_get_type), (register_gst_event_type),
19391 (gst_event_type_get_type), (register_gst_seek_type),
19392 (gst_seek_type_get_type), (register_gst_seek_flags),
19393 (gst_seek_flags_get_type), (register_gst_format),
19394 (gst_format_get_type), (register_gst_index_certainty),
19395 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19396 (gst_index_entry_type_get_type),
19397 (register_gst_index_lookup_method),
19398 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19399 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19400 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19401 (gst_index_flags_get_type), (register_gst_debug_level),
19402 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19403 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19404 (gst_iterator_result_get_type), (register_gst_iterator_item),
19405 (gst_iterator_item_get_type), (register_gst_message_type),
19406 (gst_message_type_get_type), (register_gst_mini_object_flags),
19407 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19408 (gst_pad_link_return_get_type), (register_gst_flow_return),
19409 (gst_flow_return_get_type), (register_gst_activate_mode),
19410 (gst_activate_mode_get_type), (register_gst_pad_direction),
19411 (gst_pad_direction_get_type), (register_gst_pad_flags),
19412 (gst_pad_flags_get_type), (register_gst_pad_presence),
19413 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19414 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19415 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19416 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19417 (gst_plugin_flags_get_type), (register_gst_rank),
19418 (gst_rank_get_type), (register_gst_query_type),
19419 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19420 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19421 (gst_tag_flag_get_type), (register_gst_task_state),
19422 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19423 (gst_alloc_trace_flags_get_type),
19424 (register_gst_type_find_probability),
19425 (gst_type_find_probability_get_type), (register_gst_uri_type),
19426 (gst_uri_type_get_type), (register_gst_parse_error),
19427 (gst_parse_error_get_type):
19428 * win32/common/gstenumtypes.h:
19429 * win32/common/gstversion.h:
19430 update visual studio generated files
19432 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19434 * win32/vs6/libgstbase.dsp:
19435 * win32/vs6/libgstelements.dsp:
19436 update project files for new locations
19438 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19443 reinstate and update
19448 * docs/random/LICENSE:
19451 2005-11-30 Edward Hervey <edward@fluendo.com>
19453 * gst/gsttypefind.c: (gst_type_find_register):
19454 * gst/gsttypefind.h:
19455 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19456 (gst_type_find_factory_dispose):
19457 * gst/gsttypefindfactory.h:
19458 Fix memory leak in GstTypeFindFactory.
19460 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19463 * plugins/elements/Makefile.am:
19464 * plugins/elements/gstelements.c:
19465 * plugins/elements/gstqueue.c:
19466 move queue from core to the elements plugin
19468 2005-11-29 Andy Wingo <wingo@pobox.com>
19470 * libs/gst/base/gstbasetransform.h:
19471 * libs/gst/base/gstbasesrc.h:
19472 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19474 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19475 of pointers by which to pad very extensible base classes (like the
19476 ones in libs/gst/base).
19478 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19480 * docs/gst/gstreamer-docs.sgml:
19481 * docs/gst/gstreamer-sections.txt:
19482 * docs/libs/gstreamer-libs-docs.sgml:
19483 * docs/libs/gstreamer-libs-sections.txt:
19484 moving documentation from core to lib
19486 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19488 * check/Makefile.am:
19490 * docs/gst/Makefile.am:
19492 * gst/base/.cvsignore:
19493 * gst/base/Makefile.am:
19495 * gst/base/gstadapter.c:
19496 * gst/base/gstadapter.h:
19497 * gst/base/gstbasesink.c:
19498 * gst/base/gstbasesink.h:
19499 * gst/base/gstbasesrc.c:
19500 * gst/base/gstbasesrc.h:
19501 * gst/base/gstbasetransform.c:
19502 * gst/base/gstbasetransform.h:
19503 * gst/base/gstcollectpads.c:
19504 * gst/base/gstcollectpads.h:
19505 * gst/base/gstpushsrc.c:
19506 * gst/base/gstpushsrc.h:
19507 * gst/base/gsttypefindhelper.c:
19508 * gst/base/gsttypefindhelper.h:
19509 * gst/check/Makefile.am:
19510 * gst/check/gstcheck.c:
19511 * gst/check/gstcheck.h:
19512 * gst/net/Makefile.am:
19513 * gst/net/gstnet.h:
19514 * gst/net/gstnetclientclock.c:
19515 * gst/net/gstnetclientclock.h:
19516 * gst/net/gstnettimepacket.c:
19517 * gst/net/gstnettimepacket.h:
19518 * gst/net/gstnettimeprovider.c:
19519 * gst/net/gstnettimeprovider.h:
19520 * libs/gst/Makefile.am:
19521 * libs/gst/base/Makefile.am:
19522 * libs/gst/base/gstbasetransform.c:
19523 * libs/gst/check/Makefile.am:
19524 * plugins/elements/Makefile.am:
19526 CVS surgery + support to move base, check, and net out of gst
19529 2005-11-29 Andy Wingo <wingo@pobox.com>
19531 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19533 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19536 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19538 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19540 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19542 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19543 padding; reduces object size by about 30%. We don't expect
19544 anything else to go into gstobject.
19546 * gst/gstminiobject.h (struct _GstMiniObject)
19547 (struct _GstMiniObjectClass): Only one pointer of padding; the
19548 payload is only a pointer and two ints anyway. For the class there
19549 are only two methods as well.
19551 * gst/gstelement.h (struct _GstElementClass): Removed
19552 the state_changed signal callback, it is not used.
19554 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19556 * docs/gst/gstreamer.types:
19557 fix includes, though they are a little dinky
19559 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19561 * check/Makefile.am:
19562 look in the right place for elements, a lot more chance of
19565 remove indexers and elements subdirs
19566 * plugins/Makefile.am:
19567 make indexers conditional
19569 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19573 * plugins/elements/Makefile.am:
19574 * plugins/elements/gstcapsfilter.c:
19575 * plugins/elements/gstfilesink.c:
19576 * plugins/elements/gstfilesrc.c:
19577 * plugins/elements/gstidentity.c:
19578 * plugins/indexers/Makefile.am:
19579 do CVS surgery and related build fixery to move elements
19580 and indexers in a new gstreamer/plugins directory, out of the
19583 2005-11-29 Andy Wingo <wingo@pobox.com>
19585 * check/Makefile.am:
19586 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19587 * pkgconfig/gstreamer-net.pc.in:
19588 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19591 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19593 * tools/Makefile.am:
19594 * tools/gst-complete.1.in:
19595 * tools/gst-complete.c:
19596 * tools/gst-compprep.1.in:
19597 * tools/gst-compprep.c:
19598 removing -compprep and -complete
19600 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19602 * gst/gstevent.c: (gst_event_new_new_segment),
19603 (gst_event_parse_new_segment):
19605 fix #320529 - clean up new_segment API and structure.
19606 Let's hope everyone was using the methods, and not the structure.
19608 2005-11-29 Edward Hervey <edward@fluendo.com>
19610 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19611 (gst_base_sink_event), (gst_base_sink_do_sync),
19612 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19613 Properly handle non GST_FORMAT_TIME segment
19614 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19615 Properly handle non GST_FORMAT_TIME segment
19616 * gst/gstsegment.c:
19617 This function is valid if the accumulator is 0 and the format
19618 is different from the requested format.
19620 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19622 * docs/gst/gstreamer-sections.txt:
19623 Add gst_query_new_seeking and gst_query_parse_seeking to the
19626 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19628 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19629 Treat a pad alloc with new caps the same as if we were not
19630 negotiated, in order to allow a changing upstream output
19631 to produce a new format of data.
19633 2005-11-29 Edward Hervey <edward@fluendo.com>
19635 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19636 (gst_base_transform_event), (gst_base_transform_eventfunc):
19637 The event virtual method is now properly implemented, with a default
19639 Sub classes should call the parent_class event method. They should
19640 return FALSE if they had a problem handling the given event, or don't
19641 want GstBaseTransform to send that even downstream
19642 * gst/elements/gstidentity.c: (gst_identity_class_init),
19643 (gst_identity_init), (gst_identity_event),
19644 (gst_identity_transform_ip), (gst_identity_set_property),
19645 (gst_identity_get_property):
19646 * gst/elements/gstidentity.h:
19647 Added the single-segment boolean property.
19648 If set to TRUE, it will output a single segment of data, starting from
19649 0, will eat up all incoming newsegment, and modify the timestamp of the
19650 buffers accordingly
19652 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19654 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19655 Don't ref NULL target pad (#322751). Improve docs.
19657 2005-11-29 Michael Smith <msmith@fluendo.com>
19659 * gst/gstregistryxml.c: (load_plugin):
19660 Don't crash if we failed to load a feature from a plugin.
19662 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19664 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19666 use more check API and less GLib API
19668 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19671 don't run checks if we don't have check
19672 * common/check.mak:
19673 remove the registry when running make torture
19674 * docs/gst/gstreamer-sections.txt:
19675 remove second multiply
19676 * gst/gstqueue.c: (gst_queue_loop):
19677 fix a compile warning when disabling debug
19679 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19682 Hey! Let's print the pad name if the pointer != NULL instead
19683 of when it == NULL :-)
19685 2005-11-28 Wim Taymans <wim@fluendo.com>
19687 * check/gst/gstutils.c: (GST_START_TEST):
19688 Updated check, add some scaling accuracy checking code.
19690 * gst/gstutils.c: (gst_util_div128_64),
19691 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19692 (gst_util_uint64_scale_int):
19693 Fix 6 times faster division code. Optimize for common
19694 1/1 and less common X/1 cases.
19696 2005-11-28 Wim Taymans <wim@fluendo.com>
19698 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19701 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19702 (do_linear_regression), (gst_clock_add_observation):
19704 Release lock when the clock cannot be slaved.
19705 Catch the case where the regression returned an invalid denominator.
19707 * gst/gstutils.c: (gst_util_div128_64_iterate),
19708 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19709 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19710 Add protentially more performant non-iterative 128/64 divide function
19711 that unfortunatly does not work yet.
19712 Shortcut the trivial 0/X = 0 case.
19713 Remove the warnings on overflow.
19715 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19717 * gst/gstplugin.c: (gst_plugin_register_func):
19718 everything causing a plugin not to load should be at least a WARNING
19720 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19722 * docs/random/ensonic/dparams.txt:
19723 some TODOs for the next dev cycle
19724 * libs/gst/controller/gstcontroller.c:
19725 (gst_controlled_property_set_interpolation_mode),
19726 (gst_controlled_property_new):
19727 * libs/gst/controller/gstcontroller.h:
19728 use base type to assign acccessor functions
19730 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19732 * check/Makefile.am:
19733 Oops, that should have been top_srcdir
19735 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19737 * check/Makefile.am:
19738 * check/elements/fdsrc.c: (GST_START_TEST):
19739 Use a cmdline define to specify the location of a file to use for
19740 testing, to avoid breaking distcheck.
19742 2005-11-28 Andy Wingo <wingo@pobox.com>
19744 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19746 2005-11-28 Edward Hervey <edward@fluendo.com>
19748 * tools/gst-launch.c: (main):
19749 Clarify the output strings, makes it easier to translate.
19752 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19755 don't try and build net if we don't even have <sys/socket.h>
19757 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19759 * check/Makefile.am:
19760 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19761 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19762 Add tests for fdsrc seekability
19764 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19765 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19766 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19767 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19768 * gst/elements/gstfdsrc.h:
19769 fdsrc should not be a 'live' source.
19770 Implement seeking on seekable fd's.
19772 * gst/gstquery.c: (gst_query_new_seeking),
19773 (gst_query_parse_seeking):
19775 Implement SEEKING query functions:
19776 *_new_seeking and *_parse_seeking
19778 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19780 * gst/gstelement.c: (gst_element_dispose):
19783 * gst/gstiterator.c:
19784 * gst/gststructure.c:
19787 * libs/gst/controller/gstcontroller.c:
19788 (gst_controlled_property_set_interpolation_mode):
19789 * libs/gst/controller/gstcontroller.h:
19790 * libs/gst/controller/gstinterpolation.c:
19791 (interpolate_none_get_enum_value_array):
19792 support controlling enums
19794 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19797 Improve documentation for gst_value_union().
19800 Change return value for union, intersect and subtract functions
19801 from gint to gboolean.
19803 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19805 * gst/gstvalue.c: (gst_value_serialize_any_list),
19806 (gst_value_transform_any_list_string),
19807 (gst_value_deserialize_list), (gst_value_deserialize_array),
19808 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19809 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19810 (gst_value_set_fraction_range_full),
19811 (gst_value_deserialize_fraction_range),
19812 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19813 (gst_value_deserialize_boolean),
19814 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19815 (gst_value_serialize_float), (gst_value_deserialize_float),
19816 (gst_string_wrap), (gst_value_deserialize_string),
19817 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19818 (gst_value_union_int_range_int_range),
19819 (gst_value_intersect_int_range_int_range),
19820 (gst_value_intersect_double_range_double_range),
19821 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19822 (gst_value_subtract_int_range_int_range),
19823 (gst_value_subtract_double_double_range),
19824 (gst_value_subtract_double_range_double_range),
19825 (gst_value_deserialize_fraction):
19827 Use gint, gdouble and gchar in our API instead of int, double and
19828 char (and make usage in gstvalue.c more consistent).
19830 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19832 * check/Makefile.am:
19833 * libs/gst/controller/Makefile.am:
19834 * libs/gst/dataprotocol/Makefile.am:
19835 fix up Makefile.am and remove GST_ENABLE_NEW
19837 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19841 * gst/base/Makefile.am:
19842 * gst/check/Makefile.am:
19843 * gst/elements/Makefile.am:
19844 * gst/net/Makefile.am:
19845 update LDFLAGS use some more
19847 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19849 * common/m4/gst-doc.m4:
19852 2005-11-26 Edward Hervey <edward@fluendo.com>
19854 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19855 This shouldn't issue a g_warning since it returns NULL if it
19856 couldn't find the plugin, and all functions using this behave
19857 properly on a NULL return. Switching to a GST_WARNING.
19859 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19861 * gst/gstbin.c: (gst_bin_handle_message_func):
19862 Don't leak clock messages.
19864 2005-11-25 Wim Taymans <wim@fluendo.com>
19866 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19867 (gst_util_uint64_scale_int):
19868 Optimisations, remove unneeded vars.
19870 2005-11-25 Wim Taymans <wim@fluendo.com>
19872 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19873 Added more checks for the high precision uint64 cases.
19875 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19876 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19877 Implement high precision (guint64 * guint64) / guint64.
19879 2005-11-24 Wim Taymans <wim@fluendo.com>
19881 * gst/base/gstbasesrc.c: (gst_base_src_query):
19882 Fix wrong percentage query.
19884 * gst/gstutils.c: (gst_util_uint64_scale),
19885 (gst_util_uint64_scale_int):
19886 Add some more common cases that can be handled
19887 efficiently to _scale.
19889 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19891 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19892 (gst_mini_object_suite):
19893 don't use check calls from threads; check probably isn't
19894 threadsafe and using a lock to make it threadsafe would
19895 defeat the purpose of this check
19896 * gst/check/gstcheck.c:
19897 * gst/check/gstcheck.h:
19898 use GST_DEBUG some more
19900 2005-11-24 Wim Taymans <wim@fluendo.com>
19902 * gst/gstutils.c: (gst_util_uint64_scale),
19903 (gst_util_uint64_scale_int):
19904 Chain trivial case to _scale_int.
19906 2005-11-24 Wim Taymans <wim@fluendo.com>
19908 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19909 Added test for scaling.
19914 * gst/gstutils.c: (gst_util_uint64_scale_int):
19915 Implemented high precision scaling code.
19917 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19920 do not crash on pad==NULL
19922 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19924 Patch by: Stefan Kost
19926 * common/gtk-doc.mak:
19927 * docs/gst/Makefile.am:
19928 * docs/libs/Makefile.am:
19929 Fix distcheck issues for the libraries docs build
19932 2005-11-24 Michael Smith <msmith@fluendo.com>
19934 * docs/manual/basics-helloworld.xml:
19935 Fix bug #315027: memory leak in example code in docs.
19937 2005-11-24 Michael Smith <msmith@fluendo.com>
19939 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19940 Unlock the PREROLL_LOCK in a failure case.
19942 2005-11-24 Wim Taymans <wim@fluendo.com>
19944 * docs/gst/gstreamer-sections.txt:
19945 * gst/base/gstadapter.h:
19946 * gst/base/gstbasesink.h:
19947 * gst/base/gstbasesrc.h:
19948 * gst/base/gstbasetransform.h:
19949 * gst/base/gstpushsrc.h:
19950 * gst/elements/gstfakesink.h:
19951 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19952 * gst/elements/gstfakesrc.h:
19953 * gst/elements/gstfilesink.h:
19954 * gst/elements/gstfilesrc.h:
19957 * gst/gstbuffer.c: (_gst_buffer_copy):
19960 * gst/gstchildproxy.c:
19962 * gst/gstelement.c:
19963 * gst/gstelementfactory.c:
19964 * gst/gstelementfactory.h:
19966 * gst/gstghostpad.h:
19968 * gst/gstinterface.h:
19969 * gst/gstminiobject.c:
19970 * gst/gstminiobject.h:
19973 * gst/gstpadtemplate.h:
19974 * gst/gstpipeline.h:
19975 * gst/gstpluginfeature.h:
19978 * gst/gsttaglist.c:
19979 * gst/gsttaglist.h:
19980 * gst/gsttagsetter.c:
19981 * gst/gsttagsetter.h:
19984 * gst/gsttypefind.h:
19987 * gst/net/gstnetclientclock.c:
19988 * gst/net/gstnetclientclock.h:
19989 * gst/net/gstnettimepacket.c:
19990 * gst/net/gstnettimeprovider.c:
19991 * gst/net/gstnettimeprovider.h:
19994 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19996 * configure.ac: back to HEAD
19998 === release 0.9.6 ===
20000 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20003 releasing 0.9.6, "Always On Time"
20005 2005-11-23 Wim Taymans <wim@fluendo.com>
20007 * docs/gst/gstreamer-sections.txt:
20008 * gst/glib-compat.c:
20009 * gst/gsttagsetter.c:
20011 * gst/net/gstnetclientclock.c:
20012 * gst/net/gstnettimepacket.h:
20015 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
20017 * docs/faq/using.xml:
20018 * docs/libs/tmpl/gstcontrol.sgml:
20019 * docs/manual/advanced-dparams.xml:
20020 * docs/manual/appendix-checklist.xml:
20021 * docs/manual/basics-elements.xml:
20022 * docs/pwg/other-source.xml:
20023 * docs/random/moving-plugins:
20025 * tools/gst-launch.1.in:
20026 remove mentions of sinesrc
20028 2005-11-23 Michael Smith <msmith@fluendo.com>
20030 * docs/gst/gstreamer-sections.txt:
20031 Update for new API and API changes.
20033 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20035 Documentation typo fix.
20036 * gst/net/gstnettimepacket.c:
20037 Documentation fixes for arguments.
20039 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20041 * gst/gststructure.c: (gst_structure_get_fraction),
20042 (gst_structure_parse_value),
20043 (gst_structure_fixate_field_nearest_fraction):
20044 * gst/gststructure.h:
20045 * gst/gstutils.c: (gst_util_uint64_scale_int):
20047 * scripts/update-funcnames:
20049 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20050 Make gst_structure_fixate_field_nearest_fraction take a numerator
20051 and denominator argument instead of a GValue
20052 add gst_structure_get_fraction helper function.
20054 2005-11-23 Wim Taymans <wim@fluendo.com>
20056 * docs/design/part-TODO.txt:
20059 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20060 * gst/net/gstnetclientclock.h:
20061 Use parent fields for timeout and window_size.
20063 2005-11-23 Andy Wingo <wingo@pobox.com>
20065 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20066 rate_num/rate_denom change.
20068 * gst/net/gstnetclientclock.c
20069 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20070 OBJECT_LOCK. Don't call add_observation with the lock.
20072 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20074 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20076 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20077 deal with rate as a fraction whose numerator and denominator are
20078 GstClockTime values.
20079 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20080 master; the other fields are protected by the SLAVE_LOCK.
20081 (do_linear_regression): Note that this must be called with the
20083 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20084 OBJECT_LOCK. Call set_calibration instead of touching the
20085 variables directly.
20086 (gst_clock_set_property, gst_clock_get_property): Protect
20087 master/slave parameters with the SLAVE_LOCK.
20089 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20090 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20091 note that all of the instance variables that add_observation and
20092 the set_master functions use are protected by that lock and not
20094 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20096 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20097 the caller to take the object lock.
20099 2005-11-23 Wim Taymans <wim@fluendo.com>
20101 * gst/gsterror.c: (_gst_core_errors_init):
20103 Add error for clock stuff.
20105 * gst/gstpipeline.c: (gst_pipeline_change_state),
20106 (gst_pipeline_set_clock):
20107 Post clock error when clock cannot be used in a pipeline.
20109 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20111 * docs/gst/gstreamer-sections.txt:
20112 make two symbols from gstinfo private for the docs
20113 * gst/base/gstcollectpads.h:
20115 fix doc typos, update docs
20117 2005-11-22 Wim Taymans <wim@fluendo.com>
20119 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20120 (gst_base_sink_wait), (gst_base_sink_do_sync),
20121 (gst_base_sink_handle_event):
20122 * gst/base/gstbasesink.h:
20123 No need to store the clock, the parent element class already
20126 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20127 Updates for clock_set returning a gboolean
20129 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20130 (gst_clock_id_wait_async), (gst_clock_class_init),
20131 (gst_clock_init), (gst_clock_finalize),
20132 (gst_clock_get_internal_time), (gst_clock_get_time),
20133 (gst_clock_slave_callback), (gst_clock_set_master),
20134 (gst_clock_get_master), (do_linear_regression),
20135 (gst_clock_add_observation), (gst_clock_set_property),
20136 (gst_clock_get_property):
20138 Implement master/slave. When setting a clock as a slave, a
20139 periodic timeout is scheduled to sample master and slave times.
20140 Then the slave clock is recalibrated to match offset and rate
20141 of the master clock.
20142 Update logging a bit.
20143 Add flag so that a clock can state that is cannot be slaved to
20146 * gst/gstelement.c: (gst_element_set_clock):
20147 * gst/gstelement.h:
20148 The set clock returns a gboolean for when an element cannot
20149 deal with the selected clock in the pipeline.
20151 * gst/gstpipeline.c: (gst_pipeline_change_state),
20152 (gst_pipeline_set_clock):
20153 * gst/gstpipeline.h:
20154 Handle the case where the selected clock cannot be set on
20157 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20158 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20159 (gst_net_client_clock_set_property),
20160 (gst_net_client_clock_get_property),
20161 (gst_net_client_clock_observe_times):
20162 * gst/net/gstnetclientclock.h:
20163 Use regression code in GstClock parent, remove duplicated
20166 2005-11-22 Michael Smith <msmith@fluendo.com>
20168 * gst/gstutils.c: (gst_util_clock_time_scale):
20170 * docs/gst/gstreamer-sections.txt:
20171 Rename method to have extra underscore.
20173 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20175 * gst/elements/Makefile.am:
20176 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20177 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20178 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20179 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20180 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20181 * gst/elements/gstfakesrc.h:
20182 * gst/gstqueue.c: (queue_leaky_get_type):
20183 correctly fix GEnumValues so that nick is the short lowercase
20185 * tools/gst-inspect.c: (print_element_properties_info):
20186 also show the nick, since it's useful to use from parse_launch
20190 2005-11-22 Michael Smith <msmith@fluendo.com>
20192 * gst/gstutils.c: (gst_util_clocktime_scale):
20194 * docs/gst/gstreamer-sections.txt:
20195 Add util method for scaling a clocktime by a fraction. Useful
20196 implementation is left as an exercise for the reader.
20198 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20200 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20201 If needed, allocate storage in the destination value during
20204 2005-11-22 Edward Hervey <edward@fluendo.com>
20206 * docs/gst/gstreamer-sections.txt:
20209 * gst/gsturitype.c:
20210 * gst/gsturitype.h:
20211 * gst/gstutils.c: (gst_util_set_object_arg):
20212 * tools/gst-compprep.c: (main):
20213 * tools/gst-inspect.c: (print_element_properties_info):
20214 Removed GstURI, closes bug #321061
20216 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20218 * check/gst/gststructure.c: (GST_START_TEST):
20219 * gst/gststructure.c: (gst_structure_parse_value):
20220 Oops, broke automatic string type parsing.
20221 Add a test to catch it in future.
20223 2005-11-22 Andy Wingo <wingo@pobox.com>
20225 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20226 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20227 Actually rename the function implementations. Grr.
20229 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20231 * check/gst/capslist.h:
20233 * check/gst/gststructure.c: (GST_START_TEST),
20234 (gst_structure_suite):
20235 Test automatic value type detection in gst_structure_from_string.
20236 * gst/gststructure.c: (gst_structure_parse_value):
20237 Add fraction as a type we try and guess automatically in
20238 caps/structure strings.
20240 2005-11-22 Andy Wingo <wingo@pobox.com>
20242 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20244 * gst/gsttagsetter.h:
20245 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20246 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20247 (gst_tag_setter_add_tag_valist)
20248 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20249 _add_values, _add_valist, and _add_valist_values. Since this is an
20250 interface the function suffixes should be more explicit so
20251 language binding don't end up with element.add_valist ->
20252 gst_tag_setter_add_valist, for example. Fixes #322069.
20254 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20256 * check/gst/gstcaps.c: (GST_START_TEST):
20257 Extend caps string tests to check that a caps to string
20258 conversion is reversible and produces the same caps.
20260 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20261 Output "fraction" as the generic type fraction range, so caps
20262 serialisation and deserialisation works.
20263 * check/gst/capslist.h:
20264 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20265 Support 'MIN' and 'MAX' for deserialising fractions.
20267 2005-11-22 Andy Wingo <wingo@pobox.com>
20269 * gst/gstevent.h (gst_event_new_new_segment)
20270 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20271 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20272 Renamed from *_newsegment, *_buffersize, *_notarget.
20274 * scripts/update-funcnames: New script, performs the changes
20277 2005-11-22 Wim Taymans <wim@fluendo.com>
20279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20280 Make sure the GstFlowReturn is returned.
20282 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20283 (gst_bus_add_signal_watch):
20285 add gst_bus_add_signal_watch_full.
20287 * gst/gstplugin.c: (gst_plugin_load_file):
20288 Small style cleanup.
20290 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20292 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20293 Block the fakesrc srcpad when we send an event, to avoid
20294 contention on the stream_lock causing random test failures.
20296 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20298 * check/gst/gstvalue.c: (GST_START_TEST):
20299 * gst/gstvalue.c: (gst_value_fraction_subtract):
20302 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20305 include "gstchildproxy.h"
20306 * gst/gstchildproxy.h:
20307 * libs/gst/controller/gstcontroller.h:
20308 use G_GNUC_NULL_TERMINATED
20310 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20312 * check/gst/capslist.h:
20313 * check/gst/gstcaps.c: (GST_START_TEST):
20314 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20315 * gst/gststructure.c: (gst_structure_parse_range),
20316 (gst_structure_fixate_field_nearest_fraction):
20317 * gst/gststructure.h:
20318 * gst/gstvalue.c: (gst_value_init_fraction_range),
20319 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20320 (gst_value_collect_fraction_range),
20321 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20322 (gst_value_set_fraction_range_full),
20323 (gst_value_get_fraction_range_min),
20324 (gst_value_get_fraction_range_max),
20325 (gst_value_serialize_fraction_range),
20326 (gst_value_transform_fraction_range_string),
20327 (gst_value_compare_fraction_range),
20328 (gst_value_deserialize_fraction_range),
20329 (gst_value_intersect_fraction_fraction_range),
20330 (gst_value_intersect_fraction_range_fraction_range),
20331 (gst_value_subtract_fraction_fraction_range),
20332 (gst_value_subtract_fraction_range_fraction),
20333 (gst_value_subtract_fraction_range_fraction_range),
20334 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20335 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20336 (gst_value_transform_string_fraction), (_gst_value_initialize):
20338 Implement fraction ranges and extend GstFraction to support
20339 arithmetic subtraction, as well as deserialization from integer
20340 strings such as "100"
20341 Add a testsuite as for int and double range set operations
20343 2005-11-21 Andy Wingo <wingo@pobox.com>
20345 * gst/gsttaglist.h:
20347 * gst/gststructure.h: Add glib-compat.h.
20349 2005-11-21 Wim Taymans <wim@fluendo.com>
20351 * gst/gstbin.c: (gst_bin_change_state_func):
20354 2005-11-21 Wim Taymans <wim@fluendo.com>
20356 * gst/gstsegment.h:
20357 And add a nice define too.
20359 2005-11-21 Wim Taymans <wim@fluendo.com>
20361 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20362 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20363 (gst_segment_set_duration), (gst_segment_set_last_stop),
20364 (gst_segment_set_seek), (gst_segment_set_newsegment),
20365 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20366 (gst_segment_clip):
20367 * gst/gstsegment.h:
20368 Make binding friendly.
20370 2005-11-21 Andy Wingo <wingo@pobox.com>
20372 * gst/gsttagsetter.h:
20373 * gst/gsttaglist.h:
20374 * gst/gststructure.h:
20376 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20379 * gst/gsterror.c (_gst_core_errors_init):
20380 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20383 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20384 (noinst_HEADERS): noinst the -private.
20386 2005-11-21 Michael Smith <msmith@fluendo.com>
20389 * gst/gstregistry.h:
20390 Remove unimplemented declarations for which we can see no sensible
20393 2005-11-21 Andy Wingo <wingo@pobox.com>
20395 * gst/gst.h: Include glib-compat.h.
20397 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20399 * gst/glib-compat.c: Include the public and the private header.
20401 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20405 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20407 * check/gst/gstevent.c (create_custom_events): Check that
20408 FLUSH_STOP is serialized.
20410 * check/elements/identity.c (event_func):
20411 * check/elements/fakesrc.c (event_func): No stream lock, the core
20414 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20415 stream lock taking, yay.
20417 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20418 ensure that core takes the stream lock.
20420 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20423 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20424 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20425 it already. For the flush start we do take it though so we get the
20426 right preroll state change messages.
20428 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20429 the stream lock here, the core does it for us.
20431 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20432 GST_STREAM_GET_LOCK.
20433 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20434 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20435 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20436 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20437 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20438 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20440 * gst/gstpad.c: Update for stream lock name change.
20442 * gst/base/gstbasesink.c: Update for preroll lock name change.
20444 2005-11-21 Wim Taymans <wim@fluendo.com>
20446 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20447 (gst_clock_get_master):
20449 * gst/gstsystemclock.c: (gst_system_clock_init):
20450 Convert Clock flags to object flags.
20451 Added methods to manage master/slave clocks.
20453 2005-11-21 Wim Taymans <wim@fluendo.com>
20455 * check/gst/gstsegment.c: (GST_START_TEST):
20456 * docs/design/part-TODO.txt:
20457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20458 (gst_base_sink_event), (gst_base_sink_do_sync),
20459 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20460 (gst_base_sink_query), (gst_base_sink_change_state):
20461 * gst/base/gstbasesink.h:
20462 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20463 (gst_base_src_default_newsegment),
20464 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20465 (gst_base_src_get_range), (gst_base_src_loop),
20466 (gst_base_src_change_state):
20467 * gst/base/gstbasesrc.h:
20468 * gst/base/gstbasetransform.c:
20469 (gst_base_transform_prepare_output_buf),
20470 (gst_base_transform_event), (gst_base_transform_change_state):
20471 * gst/base/gstbasetransform.h:
20472 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20473 (gst_collect_pads_event):
20474 * gst/base/gstcollectpads.h:
20475 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20476 (gst_fake_src_create):
20477 * gst/elements/gstfakesrc.h:
20478 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20479 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20480 (gst_segment_set_last_stop), (gst_segment_set_seek),
20481 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20482 (gst_segment_to_running_time), (gst_segment_clip):
20483 * gst/gstsegment.h:
20484 More segment updates, replace code in plugins with segment
20487 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20489 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20490 Don't ignore sscanf results
20492 2005-11-21 Andy Wingo <wingo@pobox.com>
20494 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20497 * *.c: Ran scripts/update-macros. Oh yes.
20499 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20500 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20503 * scripts/update-macros: New script. Run it on your files to
20504 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20507 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20509 * docs/gst/Makefile.am:
20510 * docs/gst/gstreamer-docs.sgml:
20511 * docs/gst/gstreamer-sections.txt:
20512 * docs/gst/gstreamer.types:
20514 more docs fixes, add new api to the docs
20516 2005-11-21 Andy Wingo <wingo@pobox.com>
20518 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20519 state_broadcast call.
20521 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20523 2005-11-21 Julien MOUTTE <julien@moutte.net>
20525 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20526 function calls for arrays.
20528 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20530 * docs/random/ensonic/media-device-daemon.txt:
20531 wild idea, can this be done?
20532 * docs/gst/gstreamer-sections.txt:
20537 * gst/gstpluginfeature.c:
20541 doc fixes and additions
20543 2005-11-21 Andy Wingo <wingo@pobox.com>
20545 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20546 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20547 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20548 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20549 private to the basesrc implementation.
20551 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20552 behalf of event function if necessary. It should no longer be
20553 necessary to take the stream lock in pad's event functions. Fixes
20556 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20557 * docs/gst/gstreamer-sections.txt:
20558 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20559 (gst_structure_fixate_field_nearest_double),
20560 (gst_structure_fixate_field_boolean):
20561 * gst/gststructure.h:
20562 * win32/common/libgstreamer.def:
20563 * win32/gstreamer.def:
20565 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20568 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20570 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20571 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20572 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20573 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20574 (gst_fdsrc_uri_handler_init):
20575 * gst/elements/gstfdsrc.h:
20576 Port fd:// URI handler from 0.8 to fdsrc
20578 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20580 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20581 (gst_value_serialize_fourcc):
20583 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20584 consistent with our other format defines (#320324).
20586 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20588 * gst/gstvalue.c: (gst_value_is_fixed):
20589 Revert previous commit. Value lists are by definition
20590 not fixed, as they are a list of possible values.
20592 2005-11-21 Andy Wingo <wingo@pobox.com>
20594 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20595 during the stable series if we need it. Fixes #319178.
20597 * gst/gstevent.c (gst_event_new_filler): Removed.
20599 * check/gst/gstevent.c: Update comment about filler events.
20601 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20603 * gst/gstvalue.c: (gst_value_is_fixed):
20604 Should handle both value arrays and value lists.
20606 2005-11-21 Andy Wingo <wingo@pobox.com>
20608 patch by: Alessandro Dessina <alessandro nnva org>
20610 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20611 functions to access arrays. Fixes #321962.
20613 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20615 * docs/gst/gstreamer.types:
20616 gst_collectpads_get_type => gst_collect_pads_get_type.
20618 * gst/base/gstbasetransform.c:
20619 Remove unused SIGNAL_HANDOFF enum.
20621 2005-11-21 Andy Wingo <wingo@pobox.com>
20623 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20624 the event type (upstream, downstream, serialized). Renamed
20625 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20626 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20627 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20629 * gst/gstevent.c: Update for new CUSTOM event names.
20631 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20634 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20637 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20639 * docs/gst/gstreamer-sections.txt:
20640 * win32/common/libgstbase.def:
20641 * win32/libgstbase.def:
20642 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20643 (gst_collect_pads_class_init), (gst_collect_pads_init),
20644 (gst_collect_pads_finalize), (gst_collect_pads_new),
20645 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20646 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20647 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20648 (gst_collect_pads_start), (gst_collect_pads_stop),
20649 (gst_collect_pads_peek), (gst_collect_pads_pop),
20650 (gst_collect_pads_available), (gst_collect_pads_read),
20651 (gst_collect_pads_flush), (gst_collect_pads_event),
20652 (gst_collect_pads_chain):
20653 * gst/base/gstcollectpads.h:
20654 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20655 unimplemented functions as unimplemented. Add padding to
20656 GstCollectData. (#320766, #320423)
20658 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20660 * gst/gstmessage.c:
20661 Improve docs for DURATION message (usage of duration parameter)
20664 2005-11-20 Wim Taymans <wim@fluendo.com>
20666 * check/Makefile.am:
20667 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20671 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20672 (gst_segment_set_seek), (gst_segment_set_newsegment),
20673 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20674 (gst_segment_clip):
20675 * gst/gstsegment.h:
20676 Added segment helper structure and methods. Not fully implemented
20678 Added segment check.
20680 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20682 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20683 Add a deserialisation test for fractions
20684 * examples/metadata/read-metadata.c: (message_loop),
20685 (make_pipeline), (main):
20686 Fix up metadata reading sample.
20687 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20689 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20690 Don't try and fixate empty caps
20691 * gst/gst_private.h:
20692 Wrap in G_BEGIN_DECLS/G_END_DECLS
20693 * gst/gstvalue.c: (gst_value_collect_fraction),
20694 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20695 (gst_value_transform_string_fraction),
20696 (gst_value_compare_fraction):
20697 Add some extra guards to ensure that we don't end up
20698 with an invalid denominator of 0 in a gstfraction and
20699 that fractions always get reduced.
20701 2005-11-20 Wim Taymans <wim@fluendo.com>
20703 * docs/gst/gstreamer-sections.txt:
20705 * gst/gstelement.c:
20714 2005-11-20 Wim Taymans <wim@fluendo.com>
20716 * docs/design/part-TODO.txt:
20718 Make a proper enum of the flag.
20720 2005-11-19 Wim Taymans <wim@fluendo.com>
20722 * docs/design/part-TODO.txt:
20723 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20724 (gst_format_to_quark), (gst_format_register):
20726 * gst/gstquery.c: (_gst_query_initialize),
20727 (gst_query_type_get_name), (gst_query_type_to_quark),
20728 (gst_query_type_register):
20730 Add type to quark and type to string conversions.
20732 2005-11-19 Andy Wingo <wingo@pobox.com>
20734 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20737 2005-11-19 Wim Taymans <wim@fluendo.com>
20739 * docs/design/part-TODO.txt:
20740 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20741 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20742 (gst_bin_handle_message_func):
20744 Make message handling overridable.
20746 2005-11-19 Andy Wingo <wingo@pobox.com>
20748 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20751 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20753 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20754 is a GstClockTime. Fixes #321710.
20756 * gst/gstclock.h (GstClock): Remove offset property. Add
20757 internal_calibration and external_calibration. Fix padding. Pad
20758 also by GstClockTime so we don't run into problems.
20760 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20761 (gst_clock_get_rate_offset): Remove.
20762 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20765 * gst/gstutils.c (g_static_rec_cond_wait)
20766 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20768 * gst/gstbin.c: Remove terrible continue_state prototype.
20770 * gst/gstelement.h (gst_element_continue_state): Make public.
20772 * gst/gstelement.h:
20773 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20774 by continue_state. Fixes #319389.
20776 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20777 Really fixes #168438. However I don't see anywhere where the
20778 filter function is called... stupid GStreamer...
20780 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20781 don't have a dispose function, so it won't get called when the
20782 object is unreffed, but oh well!
20784 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20785 allows a destroy function to be set so user_data can be freed.
20787 (gst_index_set_filter): Call gst_index_set_filter_full.
20789 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20791 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20792 string should produce an error, given the lack of a way to
20793 represent NULL strings. Fixes #165650.
20796 * gst/gstvalue.c (gst_value_array_append_value)
20797 (gst_value_array_prepend_value, gst_value_array_get_size)
20798 (gst_value_array_get_value): New API, copied from
20799 gst_value_list_*, only operates on arrays.
20800 (gst_value_list_append_value, gst_value_list_prepend_value)
20801 (gst_value_list_concat, gst_value_list_get_size)
20802 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20804 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20805 init_list, because it works on both.
20806 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20807 (gst_value_copy_list_or_array): Renamed from copy_list.
20808 (gst_value_free_list_or_array): Renamed from free_list.
20809 (gst_value_collect_list_or_array): Renamed from collect_list.
20810 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20811 (gst_value_list_or_array_peek_pointer): Renamed from
20813 (_gst_value_array_value_table, _gst_value_list_value_table):
20814 Update value table functions.
20815 (gst_value_compare_list_or_array): Renamed from compare_list.
20817 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20820 * gst/gsttaglist.c:
20821 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20822 GstTagList*. Fixes #143472.
20824 * gst/gststructure.h: Clarify what the foreach/map functions can
20825 or can't do to their arguments.
20827 2005-11-18 Wim Taymans <wim@fluendo.com>
20829 * gst/gstclock.c: (gst_clock_set_calibration),
20830 (gst_clock_get_calibration):
20832 Calibration can be set with internal time equal to current
20835 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20841 2005-11-18 Andy Wingo <wingo@pobox.com>
20844 * pkgconfig/gstreamer-net.pc.in:
20845 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20846 * pkgconfig/Makefile.am: Add net pkgconfig files.
20848 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20851 * gst/gstghostpad.c:
20857 2005-11-18 Andy Wingo <wingo@pobox.com>
20859 * gst/net/gstnetclientclock.c: Turn off debugging.
20861 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20862 times connverge somewhat. Can't make a real test.
20864 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20865 integer arithmetic. Return the minimum of the domain, which can be
20866 set as "internal" for gst_clock_set_calibration.
20867 (gst_net_client_clock_observe_times): Call _set_calibration.
20868 (gst_net_client_clock_new): Call _set_calibration instead of
20871 * check/net/gstnetclientclock.c (test_functioning): Use the right
20875 * gst/gstclock.c (gst_clock_get_calibration)
20876 (gst_clock_set_calibration): New functions, obsolete the ones I
20877 added yesterday. Doh. Precision issues mean we have to extrapolate
20878 from a point in the more recent past than 1970.
20879 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20881 (gst_clock_adjust_unlocked): Use the right calibration data.
20883 2005-11-18 Edward Hervey <edward@fluendo.com>
20885 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20886 Also reset the ->current_* values in READY->PAUSED
20888 2005-11-18 Andy Wingo <wingo@pobox.com>
20890 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20891 Whoops, check the right fd. Also add some debugging.
20892 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20893 (do_linear_regression): Add a crapload of debugging. Subtract off
20894 the minimum values from the input series to discard unneeded bits.
20895 Use only int arithmetic. There is still double arithmetic when
20896 calculating the intercept that needs fixing. Return boolean to
20897 indicate success; FALSE would mean the domain or range is too
20898 great. Still needs fixes.
20900 2005-11-18 Wim Taymans <wim@fluendo.com>
20902 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20903 For the current position in stream time, we need to subtract
20906 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20907 Release lock before calling the callback function of async
20910 2005-11-18 Andy Wingo <wingo@pobox.com>
20912 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20913 Port goes all the way to MAXUINT16.
20915 * gst/net/gstnettimeprovider.c: Make the port range the same as
20916 for the kernel: 0 assigns, otherwise ports are less than
20919 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20922 * check/net/gstnetclientclock.c (test_functioning): Add the start
20925 2005-11-18 Wim Taymans <wim@fluendo.com>
20927 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20928 (gst_bin_remove_func), (bin_bus_handler):
20930 Removing a clock provider from a bin, triggers a clock lost message
20931 so that a new clock will be selected.
20932 Adding a clock to a bin triggers a clock provider message.
20933 Make sure we reselect a clock when we received a clock lost message.
20934 Keep a reference to the element that provided the clock.
20936 2005-11-18 Andy Wingo <wingo@pobox.com>
20938 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20939 the clock initially so it produces values around the base time.
20940 (gst_net_client_clock_class_init): Typo fix.
20941 (gst_net_client_clock_thread): Add note on when the socket gets
20944 2005-11-17 Wim Taymans <wim@fluendo.com>
20946 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20947 Free remote and local time arrays.
20949 2005-11-17 Wim Taymans <wim@fluendo.com>
20951 * gst/net/gstnetclientclock.c: (do_linear_regression),
20952 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20953 Fix compilation, uninitialized vars and a forgotten continue.
20955 2005-11-17 Andy Wingo <wingo@pobox.com>
20957 * check/Makefile.am (check_PROGRAMS):
20958 * check/net/gstnetclientclock.c: Add a most minimal test for the
20959 net client clock. More to come later.
20961 * gst/net/gstnet.h:
20962 * gst/net/Makefile.am: Add netclientclock.
20964 * gst/net/gstnetclientclock.h:
20965 * gst/net/gstnetclientclock.c: New files, implement an untested
20966 GstClock that takes its time from a network time provider.
20967 Implements the algorithm in network-clock.scm.
20969 * tests/network-clock.scm (*window-size*): Rename from
20971 * tests/network-clock.scm (network-time):
20972 * tests/network-clock-utils.scm (q-push): Update callers.
20974 2005-11-17 Wim Taymans <wim@fluendo.com>
20976 * gst/gstbin.c: (gst_bin_provide_clock_func),
20977 (gst_bin_sort_iterator_new):
20978 And unref the child too..
20980 2005-11-17 Wim Taymans <wim@fluendo.com>
20982 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20983 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20984 Refactor the sort iterator so it can be used while holding the
20986 Make clock selection select a clock closest to the source.
20988 2005-11-17 Michael Smith <msmith@fluendo.com>
20990 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20991 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20993 Anonymous structs are a gcc (and some other compilers) extension, so
20994 don't use them. Since this is only for ABI-compatibility, and our
20995 API/ABI freeze is over in a few days, this whole thing will only
20996 last a few days, so don't bother trying to think up a meaningful
20997 name for the struct.
20999 2005-11-17 Andy Wingo <wingo@pobox.com>
21001 * gst/gstclock.h (GstClock): Add rate and offset properties,
21002 preserving ABI stability. Add rate/offset accessors. Will file bug
21003 for the freeze break.
21005 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21006 and offset, trying to keep precision and avoiding
21007 underflow/overflow.
21008 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21009 functions. Make gst_clock_set_time_adjust obsolete.
21010 (gst_clock_set_time_adjust): Note that this function is obsolete.
21011 Will file bug soon.
21013 * gst/base/gstbasetransform.h: Make the ABI-stability hack
21014 greppable by using GST_PADDING-1+1.
21016 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
21018 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21020 * gst/gstmessage.c: (gst_message_parse_clock_lost):
21021 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21023 * gst/gstpadtemplate.h:
21024 * gst/gstpluginfeature.h:
21025 Don't use c++ style comments in headers (#321638).
21027 2005-11-16 Andy Wingo <wingo@pobox.com>
21029 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21032 * check/net/gstnettimeprovider.c: Check to see that the time
21033 provider actually provides times. Works, yo!
21035 2005-11-16 Wim Taymans <wim@fluendo.com>
21037 * check/Makefile.am:
21040 * check/elements/fakesrc.c: (GST_START_TEST):
21041 Set element to NULL before disposing it.
21043 2005-11-16 Andy Wingo <wingo@pobox.com>
21045 * gst/net/Makefile.am:
21046 * gst/net/gstnet.h:
21047 * gst/net/gstnettimeprovider.c:
21048 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21049 provider, include it from gstnet.h, and add it to the build.
21051 * gst/net/gstnettimepacket.h:
21052 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21053 sending and receiving.
21055 2005-11-16 Wim Taymans <wim@fluendo.com>
21057 * check/Makefile.am:
21058 Enable valgrind check.
21060 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21061 (gst_fake_src_alloc_buffer):
21064 2005-11-16 Wim Taymans <wim@fluendo.com>
21066 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21067 Call parent finalize too.
21069 2005-11-16 Wim Taymans <wim@fluendo.com>
21071 * check/Makefile.am:
21072 Enable valgrind check that should work fine now.
21074 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21075 * gst/gstqueue.c: (gst_queue_init):
21076 Fix memleaks in pad allocation.
21078 2005-11-16 Andy Wingo <wingo@pobox.com>
21080 * gst/net/Makefile.am:
21081 * gst/net/gstnet.h: New part of core to hold network elements and
21082 objects. Put in core because it exposes API that applications want
21083 to use. The library is named libgstnet-tempname right now because
21084 of the existing libgstnet in gst-plugins-base. Solution is
21085 probably to rename the one in plugins-base; will file a bug for
21088 * gst/net/gstnettimeprovider.c:
21089 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21090 get_time call over the network.
21093 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21095 * check/Makefile.am:
21096 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21097 get additions shortly.
21099 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21101 * gst/gstpad.c: (gst_pad_new_from_static_template):
21103 add gst_pad_new_from_static_template functions
21104 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21105 (gst_check_setup_sink_pad):
21106 * gst/elements/gsttee.c: (gst_tee_init):
21109 2005-11-16 Wim Taymans <wim@fluendo.com>
21111 * gst/gstpad.c: (gst_pad_pause_task):
21112 Removed warning, it's not really an error either.
21114 2005-11-16 Wim Taymans <wim@fluendo.com>
21116 * gst/base/gstbasetransform.c:
21117 (gst_base_transform_prepare_output_buf),
21118 (gst_base_transform_event):
21119 Check if the caps are NULL, this can happen if the element
21120 is shutting down and the pad caps are set to NULL.
21122 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21124 * gst/elements/gsttee.c: (gst_tee_init):
21125 fix pad template leak in tee
21127 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21129 * gst/glib-compat.c: (g_value_dup_gst_object):
21130 * gst/glib-compat.h:
21131 * gst/gstpad.c: (gst_pad_set_property):
21132 use gst_object_ref when setting the pad template; this will
21133 trigger the pad template leaks on GLib 2.6 and the slaves
21135 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21137 * gst/glib-compat.c: (gst_flags_get_first_value):
21138 * gst/glib-compat.h:
21139 * gst/gstregistryxml.c:
21140 remove functions copied from GLib 2.6
21142 2005-11-16 Michael Smith <msmith@fluendo.com>
21145 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21146 do, but only breaks with newer valgrind versions. We're not a
21147 valgrind tool, we have no link-time dependencies on libcoregrind.
21149 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21151 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21153 * gst/gstmessage.h:
21156 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21158 * gst/base/gstbasesrc.c: (gst_base_src_init):
21159 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21160 * gst/gstqueue.c: (gst_queue_init):
21161 * gst/gstregistryxml.c: (load_feature):
21162 Revert all these unrefs, they don't even pass make check !
21164 2005-11-15 Johan Dahlin <johan@gnome.org>
21166 * gst/base/gstbasesrc.c: (gst_base_src_init):
21167 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21168 * gst/gstqueue.c: (gst_queue_init):
21169 Free pad templates, fixes a couple of leaks.
21171 2005-11-15 Daniel Fischer <dan at f3c dot com>
21173 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21175 * gst/gstpad.c: (gst_pad_get_property):
21176 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21177 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21180 2005-11-15 Wim Taymans <wim@fluendo.com>
21185 2005-11-15 Andy Wingo <wingo@pobox.com>
21187 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21189 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21190 using GST_CLOCK_TIME_NONE to disable base time management.
21191 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21192 time if it was NONE before.
21193 (gst_pipeline_change_state): Only munge the base time if
21194 stream_time != GST_CLOCK_TIME_NONE.
21196 * check/gst/gstpipeline.c (test_base_time): Punt around the
21197 problem of the probe not being called, because that's not the
21198 issue I'm looking at. Add a check that setting stream_time to NONE
21199 disables base time management.
21201 2005-11-15 Wim Taymans <wim@fluendo.com>
21203 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21204 segment_stop == -1 at startup.
21206 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21207 (gst_base_transform_change_state):
21208 Init segment values at start.
21210 2005-11-15 Wim Taymans <wim@fluendo.com>
21212 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21213 0 segment values are 0 in any format.
21215 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21216 * gst/base/gstbasetransform.h:
21217 Parse newsegment correctly in basetransform
21219 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21220 Sync to clock using updated segment values.
21222 2005-11-15 Andy Wingo <wingo@pobox.com>
21224 * check/gst/gstpipeline.c (test_base_time): Add check that the
21225 base time and stream time are reset correctly.
21227 2005-11-15 Wim Taymans <wim@fluendo.com>
21229 * docs/design/part-TODO.txt:
21230 Some more TODO items.
21232 2005-11-15 Andy Wingo <wingo@pobox.com>
21234 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21235 error if the user selected "no clock" as the clocking method.
21237 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21238 timestamps with live capture.
21240 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21241 is 0 but we are a live source, timestamp the buffers using the
21244 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21246 * docs/gst/gstreamer-sections.txt:
21248 * gst/gstghostpad.c:
21253 2005-11-14 Wim Taymans <wim@fluendo.com>
21256 add suppressions from Wim's Debian machine
21258 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21261 add suppressions from Andy's AMD64 Ubuntu machine
21263 2005-11-14 Andy Wingo <wingo@pobox.com>
21265 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21266 STATE_LOCK not necessary. Fixes #311489.
21268 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21271 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21272 this function is not implemented.
21274 2005-11-14 Julien MOUTTE <julien@moutte.net>
21276 * gst/base/gstbasetransform.c:
21277 (gst_base_transform_prepare_output_buf):
21278 Ref the source pad caps while we need them.
21281 2005-11-11 Wim Taymans <wim@fluendo.com>
21283 * docs/gst/gstreamer-sections.txt:
21284 Added some docs for GstCollectData.
21286 * gst/base/gstadapter.c:
21287 Some small code example fix.
21289 * gst/base/gstcollectpads.c:
21290 * gst/base/gstcollectpads.h:
21291 Document some more.
21293 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21295 * configure.ac: back to HEAD
21297 === release 0.9.5 ===
21299 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21302 releasing 0.9.5, "Bike Lunch Day"
21304 2005-11-11 Wim Taymans <wim@fluendo.com>
21306 * gst/gstbuffer.c: (_gst_buffer_copy):
21309 * gst/gstcaps.c: (gst_caps_is_equal):
21311 Make _is_equal fast in the trivial cases.
21313 * gst/gstminiobject.c:
21314 * gst/gstminiobject.h:
21315 More docs. Spifify .h file.
21320 2005-11-11 Wim Taymans <wim@fluendo.com>
21322 * gst/base/gstbasetransform.c:
21323 (gst_base_transform_prepare_output_buf),
21324 (gst_base_transform_handle_buffer):
21326 If we're processing a buffer and need to allocate an output
21327 buffer, we cannot accept a format change. If we did get a
21328 format change, we have to alloc a buffer ourselves of the
21331 2005-11-11 Wim Taymans <wim@fluendo.com>
21333 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21334 While checking the flag for reentrancy in the gstcaps function
21335 is nice to detect recursive invocations, it also makes it
21336 impossible to call getcaps from multiple threads, which must be
21337 possible. So, checking for recursive calls has to go.
21339 2005-11-11 Michael Smith <msmith@fluendo.com>
21341 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21342 Don't sync on buffers that fall partially outside our current
21343 segment. Prevents an assertion failure/abort playing some files.
21345 2005-11-10 Andy Wingo <wingo@pobox.com>
21347 * check/gst/gstbin.c (test_message_state_changed_children): Style
21350 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21351 gst_bus_poll with the signal watch. Ensures that poll and a signal
21352 watch see the same messages.
21354 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21355 a poll and a watch at the same time get the same messages.
21357 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21359 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21360 * gst/gstcaps.c: (gst_caps_intersect):
21361 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21362 and it's not needed.
21364 2005-11-10 Wim Taymans <wim@fluendo.com>
21366 * docs/design/part-TODO.txt:
21369 2005-11-10 Wim Taymans <wim@fluendo.com>
21371 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21372 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21373 (gst_base_src_do_sync), (gst_base_src_get_range):
21374 Implement clock sync in base class.
21376 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21378 patch by: Tim-Philipp Müller <tim at centricular dot net>
21380 * gst/gststructure.c: (gst_structure_parse_field),
21381 (gst_structure_from_string):
21382 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21383 so that gst_parse_launch() can deal with spaces in filtered link
21384 caps (fixes #164479)
21385 * check/gst/capslist.h:
21386 * check/gst/gststructure.c: (GST_START_TEST):
21387 add unit tests for this change
21389 2005-11-10 Wim Taymans <wim@fluendo.com>
21391 * docs/gst/gstreamer-sections.txt:
21392 * gst/gstelement.c:
21393 * gst/gstelement.h:
21394 Fix docs, move some STATE macros to private.
21396 2005-11-10 Wim Taymans <wim@fluendo.com>
21398 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21399 Added check for bug #317341
21403 Some more spiffifying.
21405 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21406 Call peer linkfunction if we are a source pad. Totally fixes
21410 Update docs, source pads should call the peer linkfunction
21411 so they can atomically perform the pad link.
21413 2005-11-09 Wim Taymans <wim@fluendo.com>
21417 Uber-spiffy-spiffify some more.
21419 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21421 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21422 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21423 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21424 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21425 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21426 * gst/gstpad.c: (gst_pad_init):
21427 Use GST_DEBUG_FUNCPTR() more extensively.
21429 2005-11-09 Wim Taymans <wim@fluendo.com>
21431 * gst/gstobject.c: (gst_object_class_init):
21433 Documentation fixes.
21435 2005-11-09 Edward Hervey <edward@fluendo.com>
21437 * gst/gsttypefindfactory.c:
21440 2005-11-09 Edward Hervey <edward@fluendo.com>
21442 * gst/base/gsttypefindhelper.c:
21443 * gst/gsttypefind.c:
21444 * gst/gsttypefind.h:
21447 2005-11-09 Wim Taymans <wim@fluendo.com>
21449 * gst/gstiterator.c:
21456 2005-11-09 Wim Taymans <wim@fluendo.com>
21462 2005-11-09 Wim Taymans <wim@fluendo.com>
21464 * docs/gst/gstreamer-sections.txt:
21465 Moved the message async delivery private lock and cond
21466 to the private section.
21468 * gst/gstmessage.c:
21469 * gst/gstmessage.h:
21472 2005-11-09 Edward Hervey <edward@fluendo.com>
21474 * docs/gst/gstreamer-sections.txt:
21477 Document GstURIHandler
21479 2005-11-09 Wim Taymans <wim@fluendo.com>
21481 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21482 (gst_iterator_find_custom):
21483 * gst/gstiterator.h:
21486 2005-11-09 Wim Taymans <wim@fluendo.com>
21489 Document another field.
21491 * gst/gststructure.c:
21492 * gst/gststructure.h:
21495 2005-11-09 Wim Taymans <wim@fluendo.com>
21498 Documented structs.
21500 2005-11-09 Wim Taymans <wim@fluendo.com>
21502 * docs/gst/gstreamer-sections.txt:
21503 Added some new macros.
21510 2005-11-09 Wim Taymans <wim@fluendo.com>
21512 * docs/design/part-TODO.txt:
21513 Some more items for the TODO
21519 2005-11-09 Andy Wingo <wingo@pobox.com>
21521 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21522 to work on something else now tho...
21524 * gst/base/gstadapter.c: More adapter docs.
21526 * gst/elements/gstfilesink.c (gst_file_sink_start)
21527 (gst_file_sink_stop): New functions, replace the state change
21529 (gst_file_sink_class_init): Hook up the start and stop functions.
21530 (gst_file_sink_base_init): Don't set the state change handler any
21531 more. It was a bit ugly too, being set from here...
21532 (gst_file_sink_get_property, gst_file_sink_set_property):
21534 (gst_file_sink_set_location): More robust check that doesn't call
21535 GST_STATE. Ugggggg.
21537 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21539 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21540 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21542 2005-11-08 Wim Taymans <wim@fluendo.com>
21544 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21545 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21546 (gst_base_sink_chain), (gst_base_sink_change_state):
21547 * gst/base/gstbasesink.h:
21548 * gst/base/gstbasesrc.h:
21549 * gst/gstelement.h:
21551 Avoid excessive typechecking in macros.
21553 * gst/gstminiobject.c: (gst_mini_object_get_type),
21554 (gst_mini_object_init), (gst_mini_object_new),
21555 (gst_mini_object_free):
21556 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21557 (gst_object_finalize):
21558 Remove cruft code, optimize alloc_trace.
21560 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21562 * docs/faq/gst-uninstalled:
21563 fix up PS1 for systems that try to reset it
21565 2005-11-07 Wim Taymans <wim@fluendo.com>
21567 * gst/base/gstbasesrc.c: (gst_base_src_init),
21568 (gst_base_src_get_range):
21569 Set the segment_end to -1 initially. Fixed typefind.
21571 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21573 * gst/base/gstadapter.c:
21574 Debug category should be 'adapter', not 'GstAdapter'.
21576 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21577 (gst_collectpads_class_init), (gst_collectpads_init),
21578 (gst_collectpads_peek), (gst_collectpads_pop),
21579 (gst_collectpads_event), (gst_collectpads_chain):
21580 Add debug category and some debugging output. Use boilerplate
21581 macros. Remove some extraneous words from docs.
21583 2005-11-05 Andy Wingo <wingo@pobox.com>
21585 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21588 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21590 * docs/gst/gstreamer-sections.txt:
21593 * gst/gstminiobject.h:
21598 2005-11-04 Wim Taymans <wim@fluendo.com>
21600 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21601 Small update to stop at the configured segment_end
21604 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21606 * gst/gstregistry.c:
21607 * gst/gstregistry.h:
21610 2005-11-04 Edward Hervey <edward@fluendo.com>
21612 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21613 Check if we are doing a segment seek and have arrived at the
21614 end of that segment.
21616 2005-11-04 Wim Taymans <wim@fluendo.com>
21618 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21619 Don't leak a mutex unlock in case of an error.
21624 2005-11-04 Wim Taymans <wim@fluendo.com>
21626 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21628 Get the context to wake up only once.
21630 2005-11-03 Wim Taymans <wim@fluendo.com>
21632 * check/states/sinks.c: (GST_START_TEST):
21633 Uncomment fixed check.
21635 * docs/design/part-TODO.txt:
21638 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21639 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21640 (gst_base_sink_get_position):
21641 If we are going to PLAYING, post the right pending state
21642 when we post the intermediate paused message.
21644 * gst/gstelement.c: (gst_element_continue_state),
21645 (gst_element_set_state_func), (gst_element_change_state):
21646 Don't post state changes that were between the same state
21647 and were not ASYNC.
21649 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21651 * docs/gst/gstreamer-sections.txt:
21654 * gst/gstminiobject.h:
21657 more docs and doc style fixes
21659 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21661 * docs/gst/gstreamer-sections.txt:
21662 * gst/gstelement.c:
21663 * gst/gstminiobject.c:
21666 2005-11-03 Andy Wingo <wingo@pobox.com>
21668 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21669 state-changed messages actually have the right order and the right
21672 2005-11-03 Wim Taymans <wim@fluendo.com>
21674 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21675 Added some more checks. Specifically the case where NO_PREROLL
21676 elements are in the pipeline.
21678 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21679 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21680 (gst_base_sink_get_position):
21681 Post READY->PAUSED state change messages too.
21682 Fix bug where VOID was posted as pending state...
21684 * gst/gstbin.c: (gst_bin_recalc_state):
21685 use _element_continue_state() to continue the state change.
21687 * gst/gstelement.c: (gst_element_continue_state),
21688 (gst_element_commit_state), (gst_element_set_state_func),
21689 (gst_element_change_state), (gst_element_change_state_func):
21690 Lots of state change cleanups, assign the STATE_RETURN in
21691 a new continue_state() function that also propagates the
21692 last return value from a state change to the app.
21693 Update some debug statements with proper category.
21695 2005-11-03 Wim Taymans <wim@fluendo.com>
21697 * docs/design/part-events.txt:
21698 * docs/design/part-gstpipeline.txt:
21699 * docs/design/part-messages.txt:
21700 * docs/design/part-overview.txt:
21701 * docs/design/part-seeking.txt:
21702 * docs/design/part-states.txt:
21703 * docs/design/part-trickmodes.txt:
21704 * docs/manual/advanced-position.xml:
21705 Small docs updates.
21708 People think !! is ugly, this looks better.
21710 * gst/gstpad.c: (gst_pad_set_blocked_async):
21711 Remove !! since it's fixed elsewhere now.
21713 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21715 * gst/gstminiobject.h:
21717 Add !! to _FLAG_IS_SET macros to make the result boolean.
21719 2005-11-03 Edward Hervey <edward@fluendo.com>
21721 * gst/gstpad.c: (gst_pad_set_blocked_async):
21722 comparing a flag and a gboolean rarely returns coherent results...
21723 Added two characters (!!) to make that work correctly.
21725 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21727 * gst/gstbus.c: (gst_bus_class_init):
21730 * gst/gstqueue.c: (gst_queue_loop):
21731 Don't assume a miniobject that isn't a buffer is an
21732 event (it could be that there is a refcounting
21733 problem somewhere and the pointer is stale and
21734 refers to an already destroyed miniobject).
21736 2005-11-03 Julien MOUTTE <julien@moutte.net>
21738 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21740 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21742 * docs/manual/advanced-position.xml:
21743 Update seek example and explanations to current 0.9 API.
21745 * gst/elements/gsttypefindelement.c:
21746 (gst_type_find_element_activate):
21747 Remove FIXME comment now that the found caps
21750 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21752 * gst/gstregistryxml.c: (load_feature):
21753 Add another GST_STR_NULL instance
21755 2005-11-02 Edward Hervey <edward@fluendo.com>
21757 * gst/gstpad.c: (handle_pad_block):
21758 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21760 2005-11-02 Wim Taymans <wim@fluendo.com>
21765 * gst/gstelement.c: (gst_element_commit_state):
21766 Remove unused value.
21768 * gst/gstiterator.c:
21769 Mention that the returned element is reffed in the docs.
21771 2005-11-02 Wim Taymans <wim@fluendo.com>
21773 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21774 (gst_pad_push), (gst_pad_push_event):
21775 Unlock blocked pads when they are flushed.
21777 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21780 * docs/gst/gstreamer-sections.txt:
21783 * gst/gstregistry.c: (gst_registry_scan_path_level):
21784 fix for a nasty little missed situation where an installed plug-in
21785 which was in the cache did not get overridden by an uninstalled one
21786 which was earlier in the plugin path because the newly created plugin
21787 for the uninstalled one (not in the registry) didn't get its
21788 ->registered set to TRUE
21790 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21792 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21793 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21794 (gst_collectpads_is_active), (gst_collectpads_collect),
21795 (gst_collectpads_collect_range), (gst_collectpads_start),
21796 (gst_collectpads_stop), (gst_collectpads_peek),
21797 (gst_collectpads_pop), (gst_collectpads_available),
21798 (gst_collectpads_read), (gst_collectpads_flush):
21799 Guard public API with assertions.
21802 Fix docs for gst_pad_set_link_function().
21804 2005-11-02 Johan Dahlin <johan@gnome.org>
21806 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21807 Unref found_caps after we used it.
21809 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21811 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21812 Don't try to ref NULL.
21814 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21816 * win32/common/config.h.in:
21817 provide a GST_FUNCTION that just gives a string for now
21819 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21821 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21822 (gst_object_flags_get_type), (register_gst_bin_flags),
21823 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21824 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21825 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21826 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21827 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21828 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21829 (gst_clock_flags_get_type), (register_gst_state),
21830 (gst_state_get_type), (register_gst_state_change_return),
21831 (gst_state_change_return_get_type), (register_gst_state_change),
21832 (gst_state_change_get_type), (register_gst_element_flags),
21833 (gst_element_flags_get_type), (register_gst_core_error),
21834 (gst_core_error_get_type), (register_gst_library_error),
21835 (gst_library_error_get_type), (register_gst_resource_error),
21836 (gst_resource_error_get_type), (register_gst_stream_error),
21837 (gst_stream_error_get_type), (register_gst_event_type),
21838 (gst_event_type_get_type), (register_gst_seek_type),
21839 (gst_seek_type_get_type), (register_gst_seek_flags),
21840 (gst_seek_flags_get_type), (register_gst_format),
21841 (gst_format_get_type), (register_gst_index_certainty),
21842 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21843 (gst_index_entry_type_get_type),
21844 (register_gst_index_lookup_method),
21845 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21846 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21847 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21848 (gst_index_flags_get_type), (register_gst_debug_level),
21849 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21850 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21851 (gst_iterator_result_get_type), (register_gst_iterator_item),
21852 (gst_iterator_item_get_type), (register_gst_message_type),
21853 (gst_message_type_get_type), (register_gst_mini_object_flags),
21854 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21855 (gst_pad_link_return_get_type), (register_gst_flow_return),
21856 (gst_flow_return_get_type), (register_gst_activate_mode),
21857 (gst_activate_mode_get_type), (register_gst_pad_direction),
21858 (gst_pad_direction_get_type), (register_gst_pad_flags),
21859 (gst_pad_flags_get_type), (register_gst_pad_presence),
21860 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21861 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21862 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21863 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21864 (gst_plugin_flags_get_type), (register_gst_rank),
21865 (gst_rank_get_type), (register_gst_query_type),
21866 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21867 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21868 (gst_tag_flag_get_type), (register_gst_task_state),
21869 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21870 (gst_alloc_trace_flags_get_type),
21871 (register_gst_type_find_probability),
21872 (gst_type_find_probability_get_type), (register_gst_uri_type),
21873 (gst_uri_type_get_type), (register_gst_parse_error),
21874 (gst_parse_error_get_type):
21875 * win32/common/gstversion.h:
21876 update win32 copies
21878 2005-11-01 Luca Ognibene <luogni@tin.it>
21881 fix docs. popt is dead, long live GOption.
21883 2005-10-31 Wim Taymans <wim@fluendo.com>
21888 2005-10-31 Andy Wingo <wingo@pobox.com>
21892 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21894 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21895 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21896 the possibility of deadlocks here if code calling notify() or
21897 set() has a lock that can be taken in another notify handler (ABBA
21898 with class lock and e.g. python GIL state lock).
21900 2005-10-28 Julien MOUTTE <julien@moutte.net>
21902 * gst/gstbus.c: Doc updates.
21904 2005-10-28 Wim Taymans <wim@fluendo.com>
21906 * docs/design/part-TODO.txt:
21907 * gst/gstiterator.c:
21908 * gst/gstsystemclock.c:
21909 * gst/gstsystemclock.h:
21912 2005-10-28 Edward Hervey <edward@fluendo.com>
21914 * docs/gst/gstreamer-docs.sgml:
21915 * docs/gst/gstreamer-sections.txt:
21916 the GstURIType documentation page is private, it only defines GstURIType
21917 which should be defined in the GstURIHandler page
21919 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21921 * gst/gstbin.c: (gst_bin_class_init):
21924 Documentation updates.
21926 2005-10-28 Wim Taymans <wim@fluendo.com>
21928 * docs/gst/gstreamer-sections.txt:
21931 Documented the clocks.
21933 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21935 * docs/gst/gstreamer-sections.txt:
21936 move some macros to private sections
21937 * gst/gstminiobject.c:
21938 * gst/gstminiobject.h:
21939 add descriptions provided by ds and some more
21941 mark macro as to be removed
21943 2005-10-28 Wim Taymans <wim@fluendo.com>
21945 * docs/design/part-TODO.txt:
21946 Add an item to TODO.
21948 * gst/gstiterator.c: (gst_iterator_fold),
21949 (gst_iterator_find_custom):
21950 * gst/gstiterator.h:
21953 2005-10-28 Wim Taymans <wim@fluendo.com>
21955 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21956 (gst_base_transform_init):
21959 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21960 An EOS event marks the queue as completely filled.
21962 2005-10-27 Wim Taymans <wim@fluendo.com>
21964 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21965 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21966 Some more debugging.
21968 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21969 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21970 (gst_base_transform_event), (gst_base_transform_getrange),
21971 (gst_base_transform_chain):
21972 * gst/base/gstbasetransform.h:
21974 Protect transform and concurrent buffer alloc with a new lock.
21975 Try not to break ABI/API.
21977 2005-10-27 Wim Taymans <wim@fluendo.com>
21979 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21980 (gst_base_src_init), (gst_base_src_query),
21981 (gst_base_src_default_newsegment),
21982 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21983 (gst_base_src_send_event), (gst_base_src_event_handler),
21984 (gst_base_src_pad_get_range), (gst_base_src_loop),
21985 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21986 (gst_base_src_start), (gst_base_src_deactivate),
21987 (gst_base_src_activate_push), (gst_base_src_change_state):
21988 Move some stuff around and cleanup things.
21990 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21992 * gst/base/gstbasesrc.c: (gst_base_src_query):
21993 Add missing break statements.
21995 2005-10-27 Wim Taymans <wim@fluendo.com>
21997 * check/gst/gstbin.c: (GST_START_TEST):
21998 An extra refcount is taken in basesrc.
22000 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22001 (gst_base_src_get_range), (gst_base_src_pad_get_range),
22002 (gst_base_src_loop):
22003 Small cleanups, check for flushing after being unlocked from the
22004 LIVE_LOCK. take refcounts correctly (not yet everywhere).
22005 Don't send out EOS when going to READY.
22007 2005-10-27 Wim Taymans <wim@fluendo.com>
22009 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22010 (gst_base_sink_get_position):
22013 * gst/gstbin.c: (message_check), (bin_replace_message),
22014 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22015 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22016 (bin_query_duration_init), (bin_query_duration_fold),
22017 (bin_query_duration_done), (bin_query_generic_fold),
22019 * tools/gst-launch.c: (main):
22022 2005-10-26 Stefan Kost <ensonic@users.sf.net>
22024 * examples/controller/audio-example.c: (main):
22025 * examples/queue/queue.c: (event_loop):
22026 * gst/base/gstbasetransform.h:
22027 * gst/gstelement.c: (gst_element_send_event):
22029 * gst/gstpad.c: (gst_pad_send_event):
22032 changing log priority in error situations
22034 2005-10-25 Wim Taymans <wim@fluendo.com>
22036 * gst/gstbin.c: (message_check), (bin_replace_message),
22037 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22038 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22039 (bin_query_duration_init), (bin_query_duration_fold),
22040 (bin_query_duration_done), (bin_query_generic_fold),
22042 Some doc and debug updates.
22043 Cache previously requested query DURATION for speed. invalidate
22044 cached duration if element posts a DURATION message.
22046 2005-10-25 Wim Taymans <wim@fluendo.com>
22048 * docs/design/part-TODO.txt:
22051 * gst/gstbin.c: (message_check), (bin_replace_message),
22052 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22053 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22054 (bin_query_duration_init), (bin_query_duration_fold),
22055 (bin_query_duration_done), (bin_query_generic_fold),
22057 Handle SEGMENT_START/DONE messages correctly.
22058 More evolved query algorithm that handles duration queries
22061 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22062 (gst_element_get_state_func), (gst_element_abort_state),
22063 (gst_element_commit_state), (gst_element_lost_state):
22064 Some more debugging.
22066 * gst/gstmessage.h:
22069 2005-10-25 Wim Taymans <wim@fluendo.com>
22071 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22072 Don't use invalid stream_time.
22074 * gst/gstevent.c: (gst_event_new_newsegment):
22075 stream_time in newsegment cannot be undefined.
22077 2005-10-24 Wim Taymans <wim@fluendo.com>
22082 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22084 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22086 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22088 * docs/libs/tmpl/gstdparam.sgml:
22089 * docs/libs/tmpl/gstdplinint.sgml:
22090 * docs/libs/tmpl/gstdpman.sgml:
22091 * docs/libs/tmpl/gstdpsmooth.sgml:
22092 * docs/libs/tmpl/gstunitconvert.sgml:
22095 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22100 === release 0.9.4 ===
22102 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22105 releasing 0.9.4, "Tyrannosaurus Rex"
22107 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22109 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22110 (gst_file_sink_get_current_offset):
22111 Use fseeko() and ftello() if available. When falling back on
22112 lseek() to get the current offset, fflush() first to make sure
22113 everything is up-to-date and we get the right offset.
22115 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22118 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22119 * gst/gsterror.c: (_gst_stream_errors_init):
22121 * gst/gstqueue.c: (gst_queue_loop):
22123 remove prematurely added error category and clean up the instances
22125 2005-10-21 Wim Taymans <wim@fluendo.com>
22127 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22128 (gst_base_sink_get_position), (gst_base_sink_query),
22129 (gst_base_sink_change_state):
22130 Simply set the right flag when going to playing, that's all
22131 we need to do instead of calling a function inside the object
22132 lock (that could take the lock as well and deadlock)
22134 2005-10-21 Wim Taymans <wim@fluendo.com>
22136 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22137 (gst_base_src_loop):
22138 Don't warn, the peer element knows what to do best when
22139 the seek failed, it might try something else.
22141 2005-10-21 Wim Taymans <wim@fluendo.com>
22143 * gst/base/gstbasesrc.c: (gst_base_src_init),
22144 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22147 2005-10-21 Wim Taymans <wim@fluendo.com>
22149 * docs/design/part-segments.txt:
22152 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22153 Correctly set caps, even on the subbufer.
22155 2005-10-21 Wim Taymans <wim@fluendo.com>
22157 * docs/gst/gstreamer-docs.sgml:
22158 * docs/gst/gstreamer-sections.txt:
22159 * gst/gstelement.h:
22162 * gst/gstmessage.h:
22165 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22169 And 2% more doc coverage.
22171 2005-10-21 Andy Wingo <wingo@pobox.com>
22173 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22174 position reporting.
22176 2005-10-20 Wim Taymans <wim@fluendo.com>
22178 * gst/gsterror.c: (gst_error_get_message):
22181 * gst/gststructure.c:
22186 2005-10-20 Wim Taymans <wim@fluendo.com>
22191 Another 1% more coverage.
22193 2005-10-20 Wim Taymans <wim@fluendo.com>
22195 * docs/gst/gstreamer-sections.txt:
22196 * gst/gstelement.c: (gst_element_get_state_func),
22197 (gst_element_abort_state), (gst_element_commit_state),
22198 (gst_element_lost_state):
22200 * gst/gstquery.c: (gst_query_set_position),
22201 (gst_query_parse_position), (gst_query_set_duration),
22202 (gst_query_parse_duration), (gst_query_new_convert):
22204 Yay! 1% more docs coverage.
22206 2005-10-20 Wim Taymans <wim@fluendo.com>
22209 * gst/gstquery.c: (gst_query_set_position),
22210 (gst_query_parse_position), (gst_query_set_duration),
22211 (gst_query_parse_duration), (gst_query_new_convert):
22213 * gst/gstutils.c: (gst_element_query_convert):
22215 Docs and consistency fixes.
22217 2005-10-20 Wim Taymans <wim@fluendo.com>
22223 2005-10-20 Wim Taymans <wim@fluendo.com>
22225 * gst/gstbin.c: (message_check), (bin_replace_message),
22226 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22227 (update_degree), (gst_bin_sort_iterator_next),
22228 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22229 Reworked the message handling a bit, cache the messages instead of
22230 only the senders. alows us to do more in the future.
22232 2005-10-20 Wim Taymans <wim@fluendo.com>
22234 * docs/design/part-TODO.txt:
22237 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22238 (gst_base_sink_query):
22239 Don't use clock time to report position when in EOS.
22241 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22243 * tools/gst-inspect.c: (print_interfaces),
22244 (print_element_properties_info), (print_element_info):
22245 Fix interface output with gst-inspect -a; don't print
22246 newlines after double/float properties.
22248 2005-10-20 Wim Taymans <wim@fluendo.com>
22250 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22251 (gst_base_sink_query):
22252 Speed up current position calculation.
22254 * gst/base/gstbasesrc.c: (gst_base_src_query),
22255 (gst_base_src_default_newsegment):
22256 Correctly set stream position in newsegment.
22258 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22259 (update_degree), (gst_bin_sort_iterator_next),
22260 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22261 * gst/gstmessage.c: (gst_message_new_custom):
22262 Clean up debugging info
22264 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22265 (gst_queue_loop), (gst_queue_handle_src_query):
22268 2005-10-19 Wim Taymans <wim@fluendo.com>
22270 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22271 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22272 Fix query handling again.
22274 2005-10-19 Wim Taymans <wim@fluendo.com>
22276 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22277 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22278 * gst/base/gstbasesrc.c: (gst_base_src_query):
22279 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22280 * gst/elements/gsttypefindelement.c:
22281 (gst_type_find_handle_src_query), (find_element_get_length),
22282 (gst_type_find_element_activate):
22285 * gst/gstquery.c: (gst_query_new_position),
22286 (gst_query_set_position), (gst_query_parse_position),
22287 (gst_query_new_duration), (gst_query_set_duration),
22288 (gst_query_parse_duration), (gst_query_set_segment),
22289 (gst_query_parse_segment):
22291 Bundling query position/duration is not a good idea since duration
22292 does not change much and we don't want to recalculate it for every
22293 position query, so they are separated again..
22294 Base value in segment query is not needed.
22296 * gst/gstqueue.c: (gst_queue_handle_src_query):
22297 * gst/gstutils.c: (gst_element_query_position),
22298 (gst_element_query_duration), (gst_pad_query_position),
22299 (gst_pad_query_duration):
22301 Updates for query API change.
22302 Added some docs here and there.
22304 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22306 * check/gst/gstbin.c: (GST_START_TEST):
22307 * check/gst/gstghostpad.c: (GST_START_TEST):
22308 * check/pipelines/cleanup.c: (GST_START_TEST):
22309 wait on thread to die so we can check refcount correctly
22311 2005-10-18 Wim Taymans <wim@fluendo.com>
22313 * check/pipelines/stress.c: (GST_START_TEST):
22314 Make check a little more time consuming.
22316 2005-10-18 Wim Taymans <wim@fluendo.com>
22318 * check/Makefile.am:
22319 * check/pipelines/stress.c: (GST_START_TEST),
22320 (simple_launch_lines_suite), (main):
22321 Small state change torture test.
22323 * docs/design/part-states.txt:
22324 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22325 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22326 (gst_base_sink_change_state):
22327 Never take state lock from streaming thread, clean up ugly
22328 hacks. Unfortunatly core does not yet support nice ways to
22329 async commit state.
22331 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22333 Start state recalc if a STATE_DIRTY message is posted, but only
22334 on the toplevel bin.
22336 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22337 (gst_element_get_state_func), (gst_element_abort_state),
22338 (gst_element_commit_state), (gst_element_lost_state),
22339 (gst_element_set_state_func), (gst_element_change_state):
22340 * gst/gstelement.h:
22341 State variables are now protected with the LOCK, the state
22342 lock is only used to serialize _set_state().
22344 2005-10-18 Wim Taymans <wim@fluendo.com>
22346 * check/gst/gstbin.c: (GST_START_TEST):
22347 * check/gst/gstmessage.c: (GST_START_TEST):
22348 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22349 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22351 * gst/gstelement.c: (gst_element_abort_state),
22352 (gst_element_commit_state), (gst_element_lost_state):
22353 * gst/gstmessage.c: (gst_message_new_state_changed),
22354 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22355 (gst_message_new_segment_done), (gst_message_new_duration),
22356 (gst_message_parse_state_changed),
22357 (gst_message_parse_segment_start),
22358 (gst_message_parse_segment_done), (gst_message_parse_duration):
22359 * gst/gstmessage.h:
22360 * tools/gst-launch.c: (event_loop):
22361 Seriously, this is better than a previous commit as we only need
22362 to notify the fact that an element changed state in a streaming
22363 thread, marking the state of the parents dirty, hence the
22364 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22367 2005-10-18 Wim Taymans <wim@fluendo.com>
22369 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22370 (gst_bin_recalc_func):
22371 * gst/gstelement.c: (gst_element_set_clock),
22372 (gst_element_abort_state), (gst_element_lost_state):
22373 Cleanups, prepare for state change fixes.
22375 2005-10-18 Wim Taymans <wim@fluendo.com>
22378 * gst/gstelement.c: (gst_element_class_init),
22379 (gst_element_set_state), (gst_element_set_state_func):
22380 * gst/gstelement.h:
22381 Pending ABI changes.
22382 GThreadPool in GstBinClass to monitor async state changes.
22383 state_cookie in GstElement to detect concurrent gst/set state.
22384 set_state is now virtual too in case a very complicated element
22385 has to be constructed.
22387 2005-10-18 Wim Taymans <wim@fluendo.com>
22389 * check/gst/gstbin.c: (GST_START_TEST):
22390 * check/gst/gstmessage.c: (GST_START_TEST):
22391 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22392 * gst/gstbin.c: (bin_bus_handler):
22393 * gst/gstelement.c: (gst_element_commit_state),
22394 (gst_element_lost_state):
22395 * gst/gstmessage.c: (gst_message_new_state_changed),
22396 (gst_message_new_segment_start), (gst_message_new_segment_done),
22397 (gst_message_new_duration), (gst_message_parse_state_changed),
22398 (gst_message_parse_segment_start),
22399 (gst_message_parse_segment_done), (gst_message_parse_duration):
22400 * gst/gstmessage.h:
22401 * tools/gst-launch.c: (event_loop):
22402 Make messages future proof.
22403 state-change gets a flag if it was a message comming from the
22405 segment-start/stop can also be specified in other formats.
22406 A message to notify an app that a pipeline changed playback
22408 Also fix a GstMessage leak in -launch
22410 2005-10-18 Andy Wingo <wingo@pobox.com>
22412 * gst/gstelement.c (gst_element_dispose): More helpful message.
22414 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22416 reviewed by: <delete if not using a buddy>
22418 * common/gtk-doc.mak:
22420 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22422 * gst/gstregistry.c: (gst_registry_scan_path_level):
22423 unref a plug-in we get that was already initialized
22425 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22427 * docs/gst/gstreamer-sections.txt:
22428 * docs/libs/gstreamer-libs-sections.txt:
22429 * gst/gstelement.h:
22430 add new api entries
22431 hide internal macro
22433 2005-10-17 Andy Wingo <wingo@pobox.com>
22435 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22438 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22440 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22442 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22443 (gst_element_get_state_func): Better debug message.
22444 (gst_element_commit_state): s/INFO/DEBUG/.
22445 (gst_element_lost_state, gst_element_change_state):
22447 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22448 (gst_message_new_custom): s/INFO/LOG/.
22450 2005-10-17 Michael Smith <msmith@fluendo.com>
22452 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22453 Check if end time is valid using end time, not start time.
22455 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22457 * check/gst-libs/controller.c: (GST_START_TEST),
22458 (gst_controller_suite):
22459 * libs/gst/controller/gstcontroller.c:
22460 (gst_controlled_property_set_interpolation_mode):
22461 * libs/gst/controller/gstcontroller.h:
22462 * libs/gst/controller/gstinterpolation.c:
22463 * testsuite/controller/.cvsignore:
22464 * testsuite/controller/Makefile.am:
22465 * testsuite/controller/interpolator.c:
22466 merge controller testsuites
22468 remove mem-chunk from docs
22470 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22472 * gst/gstmemchunk.c:
22473 * gst/gstmemchunk.h:
22474 * gst/gsttrashstack.c:
22475 * gst/gsttrashstack.h:
22476 out. get out. you're fired. to the Attic !
22478 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22480 * gst/gstcaps.c: (gst_caps_intersect):
22481 fix signedness issues in a (hopefully) correct way
22482 * gst/gstelement.c: (gst_element_pads_activate):
22484 * gst/gstobject.c: (gst_object_set_parent):
22487 2005-10-17 Julien MOUTTE <julien@moutte.net>
22489 * gst/gstvalue.h: Fix prototypes.
22491 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22493 * docs/gst/gstreamer-sections.txt:
22494 * gst/gst.c: (gst_version_string):
22496 * gst/gstversion.h.in:
22497 * win32/common/libgstreamer.def:
22498 add gst_version_string ()
22500 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22504 * gst/gst.c: (init_post):
22505 * win32/common/config.h.in:
22507 * gst/gstcaps.c: (gst_caps_intersect):
22508 use gint64, the range could be bigger than a guint
22510 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22513 document potential problem in 2038
22515 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22517 * gst/gstcaps.c: (gst_caps_intersect):
22518 Fix guint j diving under 0
22520 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22523 * win32/common/config.h:
22524 * win32/common/config.h.in:
22525 check for process.h, declares getpid() on Windows
22527 include process.h if we have it
22528 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22529 * gst/gstmemchunk.h:
22530 fix signedness issues
22531 * win32/common/libgstreamer.def:
22534 2005-10-16 Julien MOUTTE <julien@moutte.net>
22536 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22537 fix. Because of unsigned ints, caps intersection was going nuts and
22538 trying to access structures with G_MAXUINT index. That fixes
22539 videotestsrc ! ffmpegcolorspace ! fakesink
22540 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22543 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22546 use the gettext macro
22547 * gst/elements/gstelements.c:
22549 * gst/indexers/gstindexers.c:
22550 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22551 * win32/common/config.h:
22553 * win32/common/config.h.in:
22554 add the template to generate config.h
22555 * win32/common/gstenumtypes.c:
22556 * win32/common/gstversion.h:
22559 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22561 * gst/gst.c: (gst_version):
22562 * gst/gstversion.h.in:
22565 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22568 Oops, add missing closing bracket.
22570 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22573 use common m4's for argument checking
22575 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22577 * docs/gst/gstreamer-sections.txt:
22579 Add GST_EVENT_TYPE_NAME() macro.
22581 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22584 * gst/gstpluginfeature.c:
22586 privatize more symbols
22588 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22591 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22592 everything that uses GStreamer API should have the includes
22594 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22596 * docs/gst/gstreamer-sections.txt:
22597 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22599 give each value a _get_type, removes the DATA exports
22601 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22605 remove _gst_registry_auto_load, not used anymore
22606 * gst/gstbin.c: (gst_bin_get_type):
22608 * gst/gstelement.c: (gst_element_get_type):
22609 * gst/gstelement.h:
22610 * gst/gstobject.c: (gst_object_get_type):
22612 * gst/gstpad.c: (gst_pad_get_type):
22614 make _get_type functions similar, fixes data export from library
22616 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22619 correctly make conditionals
22620 * gst/elements/Makefile.am:
22621 * gst/elements/gstelements.c:
22622 fix typo causing fdsrc not to build
22624 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22626 * testsuite/Makefile.am:
22627 * testsuite/bytestream/.cvsignore:
22628 * testsuite/bytestream/Makefile.am:
22629 * testsuite/bytestream/filepadsink.c:
22630 * testsuite/bytestream/gstbstest.c:
22631 * testsuite/bytestream/test1.c:
22632 * testsuite/bytestream/testfile1:
22633 * testsuite/caps/normalisation.c:
22634 * testsuite/caps/random.c: (main):
22635 * testsuite/cleanup/.cvsignore:
22636 * testsuite/cleanup/Makefile.am:
22637 * testsuite/cleanup/cleanup1.c:
22638 * testsuite/cleanup/cleanup2.c:
22639 * testsuite/cleanup/cleanup3.c:
22640 * testsuite/cleanup/cleanup4.c:
22641 * testsuite/cleanup/cleanup5.c:
22642 * testsuite/controller/interpolator.c:
22643 * testsuite/debug/printf_extension.c: (main):
22644 * testsuite/elements/tee.c:
22645 * testsuite/negotiation/.cvsignore:
22646 * testsuite/negotiation/Makefile.am:
22647 * testsuite/negotiation/pad_link.c:
22648 * testsuite/pad/Makefile.am:
22649 * testsuite/pad/chainnopull.c:
22650 * testsuite/pad/getnopush.c:
22651 * testsuite/pad/link.c:
22652 * testsuite/refcounting/sched.c: (create_pipeline):
22653 * testsuite/registry/Makefile.am:
22654 * testsuite/registry/gst-print-formats.c:
22655 * testsuite/schedulers/.cvsignore:
22656 * testsuite/schedulers/142183-2.c:
22657 * testsuite/schedulers/142183.c:
22658 * testsuite/schedulers/143777-2.c:
22659 * testsuite/schedulers/143777.c:
22660 * testsuite/schedulers/147713.c:
22661 * testsuite/schedulers/147819.c:
22662 * testsuite/schedulers/147894-2.c:
22663 * testsuite/schedulers/147894.c:
22664 * testsuite/schedulers/Makefile.am:
22665 * testsuite/schedulers/group_link.c:
22666 * testsuite/schedulers/queue_link.c:
22667 * testsuite/schedulers/relink.c:
22668 * testsuite/schedulers/unlink.c:
22669 * testsuite/schedulers/unref.c:
22670 * testsuite/schedulers/useless_iteration.c:
22671 * testsuite/states/bin.c:
22672 clean out/remove some stuff from the testsuite directories
22674 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22677 check for some headers
22678 * gst/elements/Makefile.am:
22679 * gst/elements/gstelements.c:
22680 don't compile fdsrc without sys/socket.h
22681 * gst/indexers/Makefile.am:
22682 * gst/indexers/gstindexers.c: (plugin_init):
22683 don't compile fileindex without mmap
22685 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22692 * check/Makefile.am:
22693 * docs/gst/Makefile.am:
22694 * examples/helloworld/Makefile.am:
22696 * gst/base/Makefile.am:
22697 * gst/check/Makefile.am:
22698 * gst/elements/Makefile.am:
22699 * gst/indexers/Makefile.am:
22700 * gst/parse/Makefile.am:
22701 * libs/gst/controller/Makefile.am:
22702 * libs/gst/dataprotocol/Makefile.am:
22703 * examples/helloworld/helloworld.c: (event_loop):
22704 compile fixes, though it's not being compiled currently
22706 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22708 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22709 Add some simple tests for the new taglist date API.
22711 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22713 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22714 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22715 Beautify 'last-message' output: print 'none' for buffer timestamps
22716 and durations if none is set; improve alignment with next messages.
22718 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22720 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22721 * gst/gstpluginfeature.h:
22722 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22723 * gst/gstregistry.h:
22724 * docs/gst/gstreamer-sections.txt:
22725 Add new API to check plugin feature version requirements.
22727 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22728 Some basic tests for the above.
22730 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22732 * gst/gststructure.c: (gst_structure_to_string):
22733 guard against NULL printf - happens when for example
22734 a message structure with GstClock gets serialized
22736 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22738 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22739 Fix presumable copy'n'pasto.
22741 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22743 * gst/elements/gstfakesrc.h:
22744 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22745 * gst/elements/gsttypefindelement.c:
22746 fix some signedness
22747 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22748 I wonder if this could actually write +2GB files before
22750 2005-10-13 Andy Wingo <wingo@pobox.com>
22752 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22753 Fix Timmeke Waymans bug.
22754 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22755 string of the proper length to gst_caps_from_string. There's a
22756 potential for, before this fix, that this could cause someone
22757 connecting over the network to cause a segfault if the payload is
22758 not NUL-terminated.
22760 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22762 * docs/design/draft-push-pull.txt:
22763 * docs/design/part-overview.txt:
22764 * docs/random/TODO-pre-0.9:
22765 * docs/random/old/ChangeLog.gstreamer:
22766 * gst/base/gstpushsrc.c:
22770 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22772 * gst/glib-compat.c: (gst_flags_get_first_value):
22773 * gst/glib-compat.h:
22774 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22775 (gst_value_compare_double), (gst_value_serialize_flags):
22776 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22779 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22782 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22784 * tools/gst-launch.c: (event_loop):
22785 print out clock nicely
22787 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22789 * docs/gst/gstreamer-sections.txt:
22790 * gst/gsttaglist.h:
22791 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22792 (gst_tag_list_get_date_index):
22793 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22794 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22796 2005-10-13 Julien MOUTTE <julien@moutte.net>
22798 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22799 (gst_collectpads_chain):
22800 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22803 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22805 * docs/gst/gstreamer-sections.txt:
22808 * tools/gst-inspect.c: (main):
22809 * tools/gst-launch.c: (main):
22810 * tools/gst-run.c: (main):
22811 * tools/gst-xmlinspect.c: (main):
22812 fix GOption context leaks
22815 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22819 * win32/common/config.h:
22821 * win32/vs6/grammar.dsp:
22822 * win32/vs6/libgstelements.dsp:
22823 * win32/vs6/libgstreamer.dsp:
22826 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22829 * gst/base/gstbasesrc.c: (gst_base_src_query):
22830 fix more guint64<->gdouble conversions
22832 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22835 add win32-update target
22836 * win32/common/gstconfig.h:
22837 * win32/common/gstenumtypes.c:
22838 * win32/common/gstenumtypes.h:
22839 * win32/common/gstversion.h:
22840 add files that visual studio can't generate
22842 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22845 add a win32-update target
22848 2005-10-12 Wim Taymans <wim@fluendo.com>
22850 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22851 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22852 * gst/gstelement.c: (gst_element_commit_state),
22853 (gst_element_set_state):
22854 Protect flags with proper lock.
22855 unref provided cached clock in dispose.
22857 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22860 * gst/gstminiobject.h:
22862 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22863 removed unused flags from miniobject
22866 2005-10-12 Wim Taymans <wim@fluendo.com>
22868 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22869 (gst_file_sink_event), (gst_file_sink_render):
22870 Flush before seeking.
22872 2005-10-12 Andy Wingo <wingo@pobox.com>
22874 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22875 always been the case.
22877 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22879 * check/gst/gstbin.c: (GST_START_TEST):
22880 * docs/gst/gstreamer-sections.txt:
22881 * gst/base/gstbasesink.c: (gst_base_sink_init):
22882 * gst/base/gstbasesrc.c: (gst_base_src_init),
22883 (gst_base_src_get_range), (gst_base_src_check_get_range),
22884 (gst_base_src_start), (gst_base_src_stop):
22885 * gst/base/gstbasesrc.h:
22886 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22887 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22888 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22892 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22894 * gst/gstelement.c: (gst_element_is_locked_state),
22895 (gst_element_set_locked_state), (gst_element_commit_state),
22896 (gst_element_set_state):
22897 * gst/gstelement.h:
22898 * gst/gstindex.c: (gst_index_init):
22900 * gst/gstminiobject.h:
22901 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22902 (gst_object_set_parent):
22904 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22905 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22907 * gst/gstpadtemplate.h:
22908 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22909 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22910 * gst/gstpipeline.h:
22911 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22912 (gst_file_index_commit):
22913 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22914 * testsuite/pad/link.c: (gst_test_src_init),
22915 (gst_test_filter_init), (gst_test_sink_init):
22916 * testsuite/states/locked.c: (main):
22917 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22918 moved bitshift from macro to enum definition
22920 2005-10-12 Wim Taymans <wim@fluendo.com>
22922 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22923 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22924 (gst_file_sink_render):
22925 Some more debugging info.
22927 2005-10-12 Wim Taymans <wim@fluendo.com>
22929 * docs/design/part-states.txt:
22930 * tools/gst-launch.c: (main):
22932 Revert non-intentional change.
22934 2005-10-12 Wim Taymans <wim@fluendo.com>
22936 * check/gst/gstbin.c: (GST_START_TEST):
22937 * check/gst/gstelement.c: (GST_START_TEST):
22938 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22939 * check/gst/gstghostpad.c: (GST_START_TEST):
22940 * check/gst/gstpipeline.c: (GST_START_TEST):
22941 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22942 * check/states/sinks.c: (GST_START_TEST):
22943 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22944 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22945 (gst_bin_remove_func), (gst_bin_get_state_func),
22946 (gst_bin_recalc_state), (gst_bin_change_state_func),
22948 * gst/gstelement.c: (gst_element_get_state_func),
22949 (gst_element_get_state), (gst_element_abort_state),
22950 (gst_element_commit_state), (gst_element_set_state),
22951 (gst_element_change_state), (gst_element_change_state_func):
22952 * gst/gstelement.h:
22953 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22954 (gst_pipeline_provide_clock_func):
22955 * gst/gstutils.c: (gst_element_link_pads_filtered):
22956 * tools/gst-launch.c: (main):
22957 * tools/gst-typefind.c: (main):
22958 Use GstClockTime in _get_state() instead of GTimeVal.
22959 Remove old code in gstutils.c
22961 2005-10-12 Andy Wingo <wingo@pobox.com>
22963 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22966 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22967 there is no task. Shouldn't affect any code, as nothing in our
22968 plugins checks this return value.
22969 (gst_pad_stop_task): Also take the stream lock if the pad has no
22970 task. Docs updated.
22972 2005-10-12 Wim Taymans <wim@fluendo.com>
22974 * gst/gstpad.c: (pre_activate), (post_activate),
22975 (gst_pad_activate_pull), (gst_pad_activate_push):
22976 Cleanup activation code. Reset old state if
22979 2005-10-12 Wim Taymans <wim@fluendo.com>
22981 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22982 (gst_base_sink_change_state):
22983 No need to prerol after receiving EOS.
22985 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22986 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22987 * gst/elements/gstidentity.c: (gst_identity_event):
22988 Print events more verbosely.
22990 2005-10-12 Wim Taymans <wim@fluendo.com>
22992 * check/Makefile.am:
22993 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22994 * check/states/sinks2.c:
22995 Moved sinks2 testcode in sinks check.
22997 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22998 (gst_bin_remove_func), (gst_bin_recalc_state),
22999 (gst_bin_change_state_func), (bin_bus_handler):
23000 Fix potential race condition when _get_state() iterated over an
23001 ASYNC element right before it posted a state completion.
23004 Do proper cast here.
23006 * gst/gstevent.c: (gst_event_new_newsegment),
23007 (gst_event_parse_newsegment):
23008 A playback rate of 0.0 is not allowed.
23010 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23012 * win32/common/config.h:
23013 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23014 (_trewinddir), (_ttelldir), (_tseekdir):
23015 * win32/common/dirent.h:
23016 * win32/common/gtchar.h:
23017 * win32/common/libgstbase.def:
23018 * win32/common/libgstreamer.def:
23019 * win32/vs6/grammar.dsp:
23020 * win32/vs6/gst_inspect.dsp:
23021 * win32/vs6/gst_launch.dsp:
23022 * win32/vs6/gstreamer.dsw:
23023 * win32/vs6/libgstbase.dsp:
23024 * win32/vs6/libgstelements.dsp:
23025 * win32/vs6/libgstreamer.dsp:
23026 Visual Studio 6 project files, and a new common directory.
23029 2005-10-11 Wim Taymans <wim@fluendo.com>
23031 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23032 (gst_base_sink_do_sync), (gst_base_sink_query),
23033 (gst_base_sink_change_state):
23034 * gst/base/gstbasesink.h:
23035 Correctly parse newsegment info.
23037 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23039 * gst/gst.c: (init_post):
23040 split plugin paths correctly
23042 2005-10-11 Wim Taymans <wim@fluendo.com>
23044 * check/gst/gstevent.c: (GST_START_TEST):
23045 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23046 (gst_base_sink_change_state):
23047 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23048 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23049 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23050 * gst/gstevent.c: (gst_event_new_newsegment),
23051 (gst_event_parse_newsegment):
23053 Added extra flag to newsegment for future API freeze.
23054 Updated check and base elements.
23056 2005-10-11 Julien MOUTTE <julien@moutte.net>
23058 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23059 (gst_collectpads_add_pad), (gst_collectpads_pop),
23060 (gst_collectpads_event), (gst_collectpads_chain):
23061 * gst/base/gstcollectpads.h: Handle EOS correctly.
23063 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23065 * tools/gst-launch.c: (main):
23066 more null protecting
23068 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23070 * gst/gst-i18n-lib.h:
23071 check for ENABLE_NLS, not GETTEXT_PACKAGE
23072 * gst/gstregistry.c: (gst_registry_add_plugin),
23073 (gst_registry_scan_path_level),
23074 (_gst_registry_remove_cache_plugins):
23075 protect possibly NULL strings
23076 * gst/parse/types.h:
23077 config.h already included before
23078 * tools/gst-inspect.c: (main):
23079 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23080 check for ENABLE_NLS, not GETTEXT_PACKAGE
23081 * tools/gst-launch.c: (main):
23082 check for ENABLE_NLS, not GETTEXT_PACKAGE
23084 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23087 if we don't have glib, fail before testing 2.8
23088 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23089 fix a leak, should fix plugins-base testsuite
23091 2005-10-11 Andy Wingo <wingo@pobox.com>
23093 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23094 take the mode we're going to as an arg. Go head and set the mode
23095 and flushing flags now, so that if the activate function starts a
23096 thread all the flags will be in the right state.
23097 (post_activate): Renamed also. Just handle making sure streaming
23098 finishes for the deactivation case, and setting the deactivated
23100 (gst_pad_set_active): Complain loudly if deactivation fails.
23101 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23102 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23103 remove the terrible hack.
23105 2005-10-11 Wim Taymans <wim@fluendo.com>
23107 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23108 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23109 (gst_bin_recalc_state), (gst_bin_change_state_func),
23110 (gst_bin_dispose), (bin_bus_handler):
23112 Prepare to make current EOS message queue more generic.
23115 * gst/gstevent.c: (gst_event_new_newsegment),
23116 (gst_event_parse_newsegment):
23118 Rename base to stream_time.
23120 * gst/gstmessage.h:
23123 2005-10-11 Wim Taymans <wim@fluendo.com>
23125 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23126 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23127 (gst_bin_change_state_func), (bin_bus_handler):
23129 Work on proper clock selection.
23131 2005-10-11 Edward Hervey <edward@fluendo.com>
23133 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23134 * libs/gst/controller/gstcontroller.h:
23135 Added GList* version of _remove_properties() in order to be able to wrap
23138 2005-10-11 Wim Taymans <wim@fluendo.com>
23140 * docs/design/part-states.txt:
23143 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23144 (gst_bin_change_state_func), (bin_bus_handler):
23145 Doc updates. Don't distribute the same clock over and over again.
23151 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23152 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23153 (gst_pad_send_event):
23155 Make probe emission threadsafe again.
23156 Register quarks and move _get_name() from utils.
23159 * gst/gstpipeline.c: (gst_pipeline_class_init),
23160 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23161 Only redistribute the clock of it changed.
23163 * gst/gstsystemclock.h:
23168 Moved the _flow_get_name() to GstPad.
23170 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23172 * check/gst-libs/gdp.c: (GST_START_TEST):
23173 * check/gst/gstcaps.c: (GST_START_TEST):
23174 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23175 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23176 (gst_dp_packet_from_caps):
23177 fix more valgrind warnings before turning up the heat
23179 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23181 * gst/parse/grammar.y:
23182 some cleanup before the hacking
23184 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23186 * gst/base/gstbasesrc.c: (gst_base_src_query):
23188 * gst/gstutils.c: (gst_guint64_to_gdouble),
23189 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23191 externalize, basesrc uses it
23192 obviously the implementation needs testing
23194 2005-10-10 Wim Taymans <wim@fluendo.com>
23196 * tests/sched/Makefile.am:
23197 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23198 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23200 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23202 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23203 apparently converting from guint64 to double is not implemented
23206 2005-10-10 Wim Taymans <wim@fluendo.com>
23208 * check/Makefile.am:
23209 * check/generic/states.c: (GST_START_TEST):
23210 * check/gst/gstbin.c: (GST_START_TEST):
23211 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23212 * check/states/sinks.c: (GST_START_TEST):
23213 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23215 Check fixes, use API as stated in design docs, remove hacks.
23217 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23218 (gst_base_sink_change_state):
23219 Catch stopping our task while we're shutting down.
23221 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23222 (gst_bin_remove_func), (gst_bin_get_state_func),
23223 (gst_bin_recalc_state), (gst_bin_change_state_func),
23226 * gst/gstelement.c: (gst_element_init),
23227 (gst_element_get_state_func), (gst_element_abort_state),
23228 (gst_element_commit_state), (gst_element_lost_state),
23229 (gst_element_set_state), (gst_element_change_state),
23230 (gst_element_change_state_func):
23231 * gst/gstelement.h:
23232 New state change algorithm (see #318116)
23234 * gst/gstpipeline.c: (gst_pipeline_class_init),
23235 (gst_pipeline_init), (gst_pipeline_set_property),
23236 (gst_pipeline_get_property), (do_pipeline_seek),
23237 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23238 * gst/gstpipeline.h:
23239 Remove crude state change hacks.
23242 Remove crude hacks.
23244 * tools/gst-launch.c: (main):
23245 Fixes for state change. Needs some more work to fully use the
23248 2005-10-10 Andy Wingo <wingo@pobox.com>
23250 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23252 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23253 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23256 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23258 * gst/gstiterator.c: (gst_iterator_new):
23259 Fix my previous commit: GTypes passed to gst_iterator_new()
23260 can be fundamental types.
23262 2005-10-10 Wim Taymans <wim@fluendo.com>
23264 * gst/gstelement.c: (gst_element_iterate_pad_list),
23265 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23266 (gst_element_iterate_sink_pads):
23267 Use src/sink pads lists for the respective iterators instead
23270 2005-10-10 Andy Wingo <wingo@pobox.com>
23272 Merged in popt removal + GOption addition patch from Ronald, bug
23275 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23276 GstElement macros around, remove popt-related symbols, add goption
23279 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23281 * docs/gst/Makefile.am:
23282 * docs/libs/Makefile.am: No POPT_CFLAGS.
23284 * examples/manual/Makefile.am:
23285 * docs/manual/basics-init.xml: Doc updates with an example.
23287 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23288 (gst_init), (parse_one_option), (parse_goption_arg):
23289 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23290 bit of hand merging and debugging to get the GOption stuff working
23293 * tests/Makefile.am:
23294 * tools/Makefile.am:
23295 * tools/gst-inspect.c: (main):
23296 * tools/gst-launch.c: (main):
23297 * tools/gst-run.c: (main):
23298 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23300 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23302 * gst/gstiterator.c: (gst_iterator_new):
23303 Add assertions to make sure passed GType is likely to really
23304 be a GType (as the compiler won't catch it if the size and
23305 GType arguments get mixed up, see #318447).
23307 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23309 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23311 * gst/gstbin.c: (gst_bin_iterate_sorted):
23312 Pass GType and size arguments to gst_iterator_new() in the right
23313 order (maybe we should make _new() take the GType as first argument
23314 just like _new_list()?) (#318447).
23317 2005-10-10 Wim Taymans <wim@fluendo.com>
23319 * gst/gstelement.c: (gst_element_finalize):
23320 And free the GStaticRecMutex too
23322 2005-10-10 Andy Wingo <wingo@pobox.com>
23324 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23325 Allocate and free the mutex properly.
23327 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23329 (GstElement): The state_lock is now recursive. Rebuild your
23330 plugins, suckers. Old macros adapted.
23332 * docs/gst/gstreamer-sections.txt: Doc updates.
23335 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23336 (g_static_rec_cond_wait): Ported from state changes patch, while
23337 we wait on bug #317802 to be solved in a well-distributed GLib.
23339 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23340 gst_element_change_state, variable name changes.
23341 (gst_element_change_state): Split out of gst_element_set_state in
23342 preparation for the state change merge. Doesn't pay attention to
23343 the 'transition' argument.
23344 (gst_element_set_state): Updates, hopefully purely cosmetic.
23345 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23346 state change patch.
23347 (gst_element_get_state_func): Renamed from get_state, cosmetic
23350 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23352 * gst/elements/gstelements.c:
23353 * win32/GStreamer.vcproj:
23355 * win32/dirent.c: (_tseekdir):
23356 * win32/gst-inspect.vcproj:
23357 * win32/gst-launch.vcproj:
23358 * win32/gstconfig.h:
23359 * win32/gstelements.vcproj:
23360 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23361 * win32/gstreamer.def:
23362 * win32/msvc71.sln:
23363 updates for the win32 build (patch from Sebastien Moutte)
23365 2005-10-10 Andy Wingo <wingo@pobox.com>
23367 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23368 gst_bin_get_state, cleaned up (but no logic changes).
23369 (bin_element_is_sink): Comment updates.
23370 (sink_iterator_filter): Remove needless cast.
23371 (gst_bin_iterate_sinks): Doc update.
23372 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23373 cleaned up (but no logic changes).
23375 * check/states/sinks.c (test_src_sink): Cleanups from the state
23377 (test_livesrc_sink): Sync on the state.
23379 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23380 the state change patch.
23382 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23385 * check/gst/gstbin.c: Merge in some style fixes and additional
23386 checks from Wim's state change patch.
23388 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23390 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23391 (gst_type_find_helper):
23392 Check whether we have the requested data already in our list of
23393 cached buffers before pulling a new buffer; also make the buffer
23394 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23396 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23401 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23402 don't use long long, it's not portable. Replacing with
23403 gint64 seems to work; let's hope no skeletons fall out of the closet.
23405 2005-10-10 Andy Wingo <wingo@pobox.com>
23407 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23409 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23411 * docs/gst/gstreamer-sections.txt:
23416 * gst/gstmessage.c: (gst_message_parse_state_changed):
23419 more docs, fix compilation
23421 2005-10-09 Philippe Khalaf <burger@speedy.org>
23422 * gst/gstmessage.c:
23423 Fixed a few forgotten variables on previous commit
23425 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23427 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23428 Fix evil typefind crasher: getrange() might return a short
23429 buffer at the end of a file, but gst_type_find_peek() must
23430 either return the full data as requested or NULL, but
23431 never a short buffer.
23433 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23435 * gst/gstmessage.c: (gst_message_new_state_changed),
23436 (gst_message_parse_state_changed):
23437 * gst/gstmessage.h:
23438 don't use "new", it's a C++ keyword
23440 2005-10-08 Wim Taymans <wim@fluendo.com>
23442 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23443 * gst/gstelement.c: (gst_element_post_message):
23444 * gst/gstpipeline.c: (gst_pipeline_change_state):
23445 Small docs and debug updates.
23447 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23449 * docs/gst/gstreamer-sections.txt:
23450 * gst/gstelementfactory.c:
23452 * gst/gsttaglist.c:
23455 2005-10-08 Wim Taymans <wim@fluendo.com>
23457 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23458 (gst_bin_dispose), (bin_bus_handler):
23459 Fix typos, add comments.
23460 Clear EOS list when going to PAUSED from any direction and do it
23461 in a threadsafe way.
23462 Get base time in a threadsafe way too.
23463 Fix confusing debug in the change_state function.
23464 Various other small cleanups.
23466 * gst/gstelement.c: (gst_element_post_message):
23467 Fix very verbose bus posting code.
23469 * gst/gstpipeline.c: (gst_pipeline_class_init),
23470 (gst_pipeline_set_property), (gst_pipeline_get_property),
23471 (gst_pipeline_change_state):
23472 Small ARG_ -> PROP_ cleanup
23474 2005-10-08 Wim Taymans <wim@fluendo.com>
23476 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23477 Do a less CPU demanding EOS check because we can.
23479 2005-10-08 Wim Taymans <wim@fluendo.com>
23481 * libs/gst/dataprotocol/dataprotocol.c:
23482 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23483 (gst_dp_packet_from_event):
23484 * libs/gst/dataprotocol/dataprotocol.h:
23485 * libs/gst/dataprotocol/dp-private.h:
23486 It's about time we bump the version number.
23487 Since event types don't fit in the guint8 anymore describing
23488 the payload type, make payload type 16 bits wide.
23490 2005-10-08 Wim Taymans <wim@fluendo.com>
23492 * docs/design/part-TODO.txt:
23493 * docs/design/part-clocks.txt:
23494 * docs/design/part-events.txt:
23495 * docs/design/part-gstbin.txt:
23496 * docs/design/part-gstelement.txt:
23497 * docs/design/part-gstpipeline.txt:
23498 * docs/design/part-live-source.txt:
23499 * docs/design/part-messages.txt:
23500 * docs/design/part-overview.txt:
23501 * docs/design/part-states.txt:
23504 2005-10-08 Wim Taymans <wim@fluendo.com>
23508 Fix event quark registration.
23509 Add some space between events so we can insert them in the
23512 2005-10-08 Wim Taymans <wim@fluendo.com>
23514 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23515 (gst_base_sink_handle_buffer):
23516 Better log message.
23519 * gst/gstelement.h:
23522 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23523 (gst_queue_set_property), (gst_queue_get_property):
23525 Remove old unused properties.
23527 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23528 * docs/gst/gstreamer-sections.txt:
23529 * gst/gstmessage.c:
23530 * gst/gstmessage.h:
23531 * gst/gstminiobject.c:
23532 * gst/gstminiobject.h:
23536 lots of new docs and doc fixes
23538 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23540 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23542 * gst/gstregistry.c: (gst_registry_lookup_locked),
23543 (gst_registry_scan_path_level):
23544 * gst/gstregistryxml.c: (load_plugin):
23545 Only ever load one plugin for a given plugin basename.
23546 This ensures correct overriding of GST_PLUGIN_PATH over
23547 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23548 system installed plugins.
23550 2005-10-08 Wim Taymans <wim@fluendo.com>
23552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23553 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23554 Prepare for doing QOS.
23556 2005-10-08 Wim Taymans <wim@fluendo.com>
23558 * check/gst/gstbin.c: (GST_START_TEST):
23559 * check/pipelines/cleanup.c: (GST_START_TEST):
23560 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23561 Allow new clock message too.
23563 2005-10-08 Wim Taymans <wim@fluendo.com>
23565 * gst/gstmessage.c: (gst_message_new_error),
23566 (gst_message_new_warning), (gst_message_new_tag),
23567 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23568 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23569 (gst_message_new_segment_start), (gst_message_new_segment_done),
23570 (gst_message_parse_state_changed),
23571 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23572 (gst_message_parse_new_clock):
23573 * gst/gstmessage.h:
23574 Also carry the clock in question.
23576 2005-10-08 Wim Taymans <wim@fluendo.com>
23578 * gst/gstmessage.c: (gst_message_new_custom),
23579 (gst_message_new_eos), (gst_message_new_error),
23580 (gst_message_new_warning), (gst_message_new_tag),
23581 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23582 (gst_message_new_new_clock), (gst_message_new_segment_start),
23583 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23584 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23585 * gst/gstmessage.h:
23587 Added clock related messages.
23589 * gst/gstpipeline.c: (gst_pipeline_change_state):
23590 Post message when the clock changed.
23592 * tools/gst-launch.c: (event_loop):
23595 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23597 * tools/gst-inspect.c: (print_element_properties_info):
23598 Can't pass NULL strings to g_print() on windows.
23600 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23602 * docs/Makefile.am:
23603 * docs/gst/Makefile.am:
23604 * docs/gst/gstreamer-docs.sgml:
23605 * docs/gst/running.xml:
23606 * docs/version.entities.in:
23607 add a chapter on running GStreamer.
23608 document GST_DEBUG and GST_PLUGIN* env vars
23610 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23615 remove PLUGINS_BUILDDIR stuff
23616 * gst/gst.c: (init_post):
23617 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23619 remove, it was condescending and not needed
23621 2005-10-08 Wim Taymans <wim@fluendo.com>
23623 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23624 (gst_base_sink_handle_object), (gst_base_sink_event),
23625 (gst_base_sink_wait), (gst_base_sink_handle_event),
23626 (gst_base_sink_change_state):
23627 * gst/base/gstbasesink.h:
23628 Repost EOS message while going to PLAYING if still EOS.
23629 Make sure that when receiving a FLUSH_START we don't attempt
23630 to sync on the clock anymore.
23632 2005-10-08 Wim Taymans <wim@fluendo.com>
23634 * tools/gst-launch.c: (event_loop):
23635 Better message printout.
23637 2005-10-08 Wim Taymans <wim@fluendo.com>
23639 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23640 (gst_bin_child_proxy_get_children_count):
23641 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23642 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23643 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23644 (gst_child_proxy_set_valist):
23645 * gst/parse/grammar.y:
23646 Make ChildProxy threadsafe and fix mem leaks.
23648 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23650 * gst/gst.c: (init_post):
23651 debug the GST_PLUGIN_ env vars
23653 2005-10-08 Wim Taymans <wim@fluendo.com>
23655 * check/gst/gstbin.c: (GST_START_TEST):
23656 * check/gst/gstmessage.c: (GST_START_TEST):
23657 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23658 * gst/gstelement.c: (gst_element_commit_state),
23659 (gst_element_lost_state):
23660 * gst/gstmessage.c: (gst_message_new_state_changed),
23661 (gst_message_parse_state_changed):
23662 * gst/gstmessage.h:
23663 * tools/gst-launch.c: (event_loop):
23664 Added extra field to STATE_CHANGE message with the pending
23665 state, which will be different from the new state soon.
23667 2005-10-08 Wim Taymans <wim@fluendo.com>
23669 * gst/gstbus.c: (gst_bus_pop):
23671 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23672 Small cleanups and doc updates.
23674 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23676 * gst/gst.c: (init_pre):
23677 * gst/gstbin.c: (gst_bin_add_func):
23678 log distributing clocks and base time
23679 * gst/gstregistry.c: (gst_registry_add_plugin),
23680 (gst_registry_scan_path_level), (gst_registry_scan_path):
23681 clean up the debugging output a little
23682 * gst/gstutils.c: (gst_element_state_get_name):
23683 warn about a memleak (I've actually seen this be used, though
23684 it was probably a bug)
23686 2005-10-07 Wim Taymans <wim@fluendo.com>
23688 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23689 (gst_base_src_init), (gst_base_src_default_newsegment),
23690 (gst_base_src_newsegment), (gst_base_src_do_seek),
23691 (gst_base_src_loop), (gst_base_src_start):
23692 * gst/base/gstbasesrc.h:
23693 Make the newsegment event customizable by subclasses.
23695 2005-10-07 Wim Taymans <wim@fluendo.com>
23697 * gst/gstevent.c: (gst_event_new_buffersize),
23698 (gst_event_parse_buffersize):
23700 New event for future idea.
23702 2005-10-07 Andy Wingo <wingo@pobox.com>
23704 * gst/gstelement.c (gst_element_post_message): Doc update.
23706 * docs/gst/gstreamer-sections.txt: Update.
23708 * gst/gstmessage.c (gst_message_new_application): Made into a
23709 function like honest API calls.
23710 (gst_message_new_element): New message type.
23712 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23714 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23715 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23718 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23719 NO_PREROLL from gst_element_change_state to fall through.
23721 2005-10-07 Wim Taymans <wim@fluendo.com>
23723 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23724 (gst_ghost_pad_do_activate_push):
23725 Activating a ghostpad with no internal pad in push mode
23728 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23731 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23732 Fixes compilation on Windows.
23734 2005-10-07 Michael Smith <msmith@fluendo.com>
23736 * tools/gst-inspect.c:
23737 Print out feature and plugin count at the end when printing out
23740 2005-10-04 Michael Smith <msmith@fluendo.com>
23742 * gst/gsterror.c: (_gst_stream_errors_init):
23743 Add another error string used in a few existing plugins.
23746 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23747 * tools/gst-inspect.c: (print_element_info):
23748 When a feature disappears from a plugin (and the feature exists in
23749 the cached registry file), things went horribly wrong. This isn't a
23750 complete fix, we should actually be removing the 'missing' features
23751 from the features list when we load the actual plugin. That's not
23754 2005-10-04 Johan Dahlin <johan@gnome.org>
23756 * check/gst/gstiterator.c: (GST_START_TEST):
23757 * gst/gstbin.c: (gst_bin_iterate_elements),
23758 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23759 * gst/gstelement.c: (gst_element_iterate_pads):
23760 * gst/gstformat.c: (gst_format_iterate_definitions):
23761 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23762 (gst_iterator_new_list), (gst_iterator_filter):
23763 * gst/gstiterator.h:
23764 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23765 Add a GType to GstIterator, update callsites and tests.
23767 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23769 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23770 give events a chance to be handled by event probes when the pad
23773 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23775 * gst/gstevent.c: (gst_event_type_get_name),
23776 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23778 add string representations for event types
23780 2005-10-06 Wim Taymans <wim@fluendo.com>
23782 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23783 Don't use NULL pointers.
23785 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23787 * gst/gst_private.h:
23789 * gst/gstelement.c:
23791 * gst/gstpluginfeature.c:
23792 widen the debug category in output to fit the biggest one we have
23793 add a bus category and use it
23794 play with the colors
23795 fix up some categories
23797 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23799 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23800 add push activation of sink ghost pads.
23801 Andye, please verify
23803 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23805 * gst/gstutils.c: (gst_element_link_pads):
23806 fix a bug in the case where neither element has a pad
23807 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23808 add a test for that case
23810 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23812 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23813 emit have-data before checking for peers. This allows
23814 for probe handlers to connect elements. This helps autopluggers.
23815 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23817 add six checks, linked/unlinked with no/true/false probe
23819 2005-10-04 Wim Taymans <wim@fluendo.com>
23821 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23822 (gst_fake_sink_event), (gst_fake_sink_preroll),
23823 (gst_fake_sink_render), (gst_fake_sink_change_state):
23824 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23825 (gst_fake_src_get_property), (gst_fake_src_create),
23826 (gst_fake_src_stop):
23827 * gst/elements/gstidentity.c: (gst_identity_stop):
23828 Protect last_message with lock.
23830 2005-10-04 Edward Hervey <edward@fluendo.com>
23833 Added precision in the comments for GST_FORMAT_DEFAULT
23835 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23837 * tools/gst-launch.c: (main):
23838 Don't try to run erroneous pipelines.
23840 2005-10-04 Julien MOUTTE <julien@moutte.net>
23842 * gst/gstbus.c: We don't need this header.
23844 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23847 back to development
23849 === release 0.9.3 ===
23851 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23855 Releasing 0.9.3, "Unregistered"
23857 2005-10-03 Andy Wingo <wingo@pobox.com>
23859 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23860 whereby calling a pad's activatepush() function can start a thread
23861 that starts to push or pull before the pad gets the FLUSHING flag
23862 unset. Hack around it by holding the stream lock until the flag is
23863 set. Need to replace this with a proper solution. Together with
23864 the ghost pad fixes, this fixes mp3 playing/tagreading.
23866 * docs/design/part-gstghostpad.txt: Add a note about activation of
23867 proxy pads outside of ghost pads.
23869 * gst/gstghostpad.c: Implement the ghost pad activation design.
23871 2005-10-02 Andy Wingo <wingo@pobox.com>
23873 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23874 It is volatile, after all.
23876 * docs/design/part-gstghostpad.txt: Flesh out activation with
23879 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23882 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23885 Fix (unused) AM_CONDITIONAL tests.
23887 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23889 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23891 * gst/gstutils.c: (gst_pad_query_convert):
23892 Add assertion that makes sure src_val is >=0, just like
23893 gst_query_new_convert() has. (#315895)
23895 2005-09-30 Edward Hervey <edward@fluendo.com>
23897 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23898 Let's not iterate pads we're not interested in, it avoids getting
23899 sky-high refcounts on sinkpad.
23901 2005-09-30 Wim Taymans <wim@fluendo.com>
23903 * gst/gstelement.c: (gst_element_set_state),
23904 (gst_element_change_state):
23905 Small tweak, element in ASYNC remains ASYNC.
23907 2005-09-30 Wim Taymans <wim@fluendo.com>
23909 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23910 Only error is an error.
23912 * gst/gstbin.c: (gst_bin_change_state):
23915 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23916 Also call pad_block in pad alloc.
23918 * gst/gstutils.c: (gst_flow_get_name):
23921 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23923 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23924 (gst_base_src_get_range):
23925 Fix documentation typos. Add some more debug info.
23927 2005-09-29 David Schleef <ds@schleef.org>
23929 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23930 more end-user friendly.
23931 * tools/gst-inspect.c: (main): Check if command-line argument is
23932 a file and attempt to load that file as a plugin.
23934 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23936 * check/gst/gstbin.c:
23937 * check/states/sinks.c:
23938 fix tests for the new warning
23939 * check/gst/gstpipeline.c:
23940 add a test for pipeline and bus interaction
23941 * gst/gstelement.c:
23942 elements should be NULL if they get disposed; add a warning if not
23944 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23947 for 2.6 refcounting, make debug log more correct by printing
23948 the actual refcounts at the time of swap (Wim)
23950 2005-09-29 Andy Wingo <wingo@pobox.com>
23952 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23953 removes signal watches previously added via
23954 gst_bus_add_signal_watch.
23955 (gst_bus_add_signal_watch): Don't return the source id, just store
23956 it on the bus if there wasn't an id already.
23958 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23959 add_signal_watch and remove_signal_watch.
23961 2005-09-29 Edward Hervey <edward@fluendo.com>
23963 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23964 Better if we actually iterate the list :)
23966 2005-09-29 Wim Taymans <wim@fluendo.com>
23968 * check/gst/gstbin.c: (GST_START_TEST):
23969 Change for new bus API.
23971 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23972 (send_messages), (GST_START_TEST), (gstbus_suite):
23973 Change for new bus signal API.
23975 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23976 (gst_bus_source_prepare), (gst_bus_source_check),
23977 (gst_bus_create_watch), (gst_bus_add_watch_full),
23978 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23979 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23981 Remove support for multiple GSources operating on different
23982 message types as it is too complex and unneeded when using
23984 Added support for receiving signals from the bus.
23986 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23988 * docs/libs/tmpl/gstdataprotocol.sgml:
23989 * docs/manual/advanced-dataaccess.xml:
23990 * gst/elements/gstcapsfilter.c:
23992 rename filter-caps to caps property
23994 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23996 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23997 More robust fraction string parsing.
23999 * docs/pwg/appendix-porting.xml:
24000 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24002 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
24004 * gst/gstcaps.c: (gst_caps_do_simplify):
24005 Thou shalt not free a structure and then continue using it
24006 in the next loop iteration.
24008 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24010 Add test case for caps simplification.
24012 2005-09-29 Wim Taymans <wim@fluendo.com>
24014 * check/gst/gstbin.c: (GST_START_TEST):
24017 2005-09-29 Wim Taymans <wim@fluendo.com>
24019 * check/gst/gstbin.c: (GST_START_TEST):
24022 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24023 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24024 (find_element), (gst_bin_sort_iterator_next),
24025 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24026 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24027 (gst_bin_change_state), (gst_bin_dispose):
24028 A bin does not have a bus, it gets the bus from the parent.
24030 * gst/gstelement.c: (gst_element_requires_clock),
24031 (gst_element_provides_clock), (gst_element_is_indexable),
24032 (gst_element_is_locked_state), (gst_element_change_state),
24033 (gst_element_set_bus_func):
24036 * gst/gstpipeline.c: (gst_pipeline_class_init),
24037 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24038 The pipeline provides a bus.
24040 2005-09-28 Johan Dahlin <johan@gnome.org>
24042 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24043 gst_structure_get_enum instead of gst_structure_get_int
24045 * gst/gststructure.c (gst_structure_get_enum): Impl.
24047 * gst/gststructure.h (gst_structure_get_enum): Add
24049 * docs/gst/gstreamer-sections.txt: Ditto
24051 * gst/gstmessage.c (gst_message_new_state_changed): Use
24052 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24053 which does introspection.
24054 Reviewed by Christian Schaller
24056 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24058 * gst/gstinfo.c: (gst_debug_log_default):
24059 don't do dummy g_strdup()s
24060 * libs/gst/controller/gstcontroller.c:
24061 (on_object_controlled_property_changed),
24062 (gst_controlled_property_new), (gst_controller_new_valist),
24063 (gst_controller_new_list),
24064 (gst_controller_remove_properties_valist), (gst_controller_set),
24065 (gst_controller_get), (gst_controller_sync_values),
24066 (gst_controller_get_value_array), (_gst_controller_class_init),
24067 (gst_controller_get_type):
24068 * libs/gst/controller/gstcontroller.h:
24069 * libs/gst/controller/gstinterpolation.c:
24070 (gst_controlled_property_find_timed_value_node):
24071 convert // to /**/ comments
24073 2005-09-28 Wim Taymans <wim@fluendo.com>
24075 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24076 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24077 (gst_bus_sync_signal_handler):
24079 Added async-message and sync-message signals to the bus.
24080 Added helper BusFunc to emit signals for all posted messages.
24082 * gst/gstmessage.c: (gst_message_type_get_name),
24083 (gst_message_type_to_quark), (gst_message_get_type):
24084 * gst/gstmessage.h:
24085 Register quarks for message names.
24087 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24089 * docs/libs/gstreamer-libs-sections.txt:
24090 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24091 (gst_controller_new_list):
24092 * libs/gst/controller/gstcontroller.h:
24093 added another constructor for language bindings
24095 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24097 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24101 * gst/gstinfo.c: (_gst_debug_init):
24102 slightly more readable color for refcount debugging
24104 2005-09-28 Wim Taymans <wim@fluendo.com>
24106 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24107 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24108 (find_element), (gst_bin_sort_iterator_next),
24109 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24110 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24111 (gst_bin_change_state), (gst_bin_dispose):
24112 Small doc fixes. get_clock -> provide_clock.
24114 * gst/gstelement.c: (gst_element_class_init),
24115 (gst_element_provides_clock), (gst_element_provide_clock),
24116 (gst_element_get_clock), (gst_element_commit_state),
24117 (gst_element_lost_state):
24118 * gst/gstelement.h:
24119 Make get/set_clock() symetric. Add provide_clock vmethod since
24120 that is actually what this function does.
24122 * gst/gstpipeline.c: (gst_pipeline_class_init),
24123 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24124 (gst_pipeline_get_clock):
24125 get_clock -> provide_clock.
24127 2005-09-28 Andy Wingo <wingo@pobox.com>
24129 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24130 lieu of real docs...
24132 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24134 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24136 * gst/elements/gstcapsfilter.c:
24137 * gst/elements/gstfakesink.c:
24138 * gst/elements/gstfakesrc.c:
24139 * gst/elements/gstfdsink.c:
24140 * gst/elements/gstfdsrc.c:
24141 * gst/elements/gstfilesink.c:
24142 * gst/elements/gstfilesrc.c:
24143 * gst/elements/gstidentity.c:
24144 * gst/elements/gsttee.c:
24145 * gst/elements/gsttypefindelement.c:
24146 Make element details static.
24148 2005-09-28 Wim Taymans <wim@fluendo.com>
24150 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24151 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24152 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24153 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24154 (gst_bin_change_state), (gst_bin_dispose):
24155 Some documentation updates.
24156 Clean up dispose handlers.
24158 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24159 * gst/gstpad.c: (gst_pad_dispose):
24160 Clean up dispose handler.
24162 * gst/gstpipeline.c: (gst_pipeline_change_state):
24163 Removed spurious UNLOCK.
24165 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24167 * docs/gst/gstreamer-sections.txt:
24168 * gst/base/gstbasesrc.h:
24169 * gst/gstelement.h:
24173 * gst/gstpipeline.c:
24174 * gst/gstpipeline.h:
24177 added two new functions to the docs
24178 documents all undocumented GstXXXFlags
24179 completed some incomplete docs
24181 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24183 * gst/gstbin.c: (gst_bin_dispose):
24184 * gst/gstelement.c: (gst_element_dispose):
24185 remove now useless and leaky resurrection code in dispose
24186 * gst/base/gstbasesrc.c: (gst_base_src_init):
24187 * gst/gstelementfactory.c: (gst_element_factory_create):
24188 * gst/gstobject.c: (gst_object_set_parent):
24191 2005-09-27 Wim Taymans <wim@fluendo.com>
24193 * docs/design/part-TODO.txt:
24196 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24197 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24198 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24199 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24200 (gst_bin_change_state):
24201 * gst/gstelement.h:
24202 Remove element variable, we keep element info in the iterator now.
24204 2005-09-27 Andy Wingo <wingo@pobox.com>
24206 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24209 2005-09-27 Wim Taymans <wim@fluendo.com>
24211 * check/gst/gstbin.c: (GST_START_TEST):
24212 Enable check that works now.
24214 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24215 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24216 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24217 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24218 (gst_bin_change_state):
24220 Redid the state change algorithm using a topological sort algo.
24221 Handles all cases correctly.
24222 Exposed iterator for state change order.
24224 * gst/gstelement.h:
24225 Temp storage for state changes. Need to get rid of this soon.
24227 2005-09-27 Wim Taymans <wim@fluendo.com>
24229 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24230 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24231 (link_fold_func), (gst_pad_proxy_setcaps):
24232 Leak fixes, the fold functions need to unref the passed object and
24233 _get_parent_*() returns ref to parent.
24235 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24237 * check/gst/gstbuffer.c: (test_make_writable):
24238 Plug leak in test case and fix 'make check-valgrind'
24240 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24242 * gst/gstbuffer.c: (gst_subbuffer_init):
24243 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24244 works correctly in all circumstances (we could have just copied
24245 the parent buffer's readonly flag, but conceptually it seems
24246 cleaner to mark all subbuffers as read-only). (based on patch
24247 by Alessandro Decina, #314710).
24249 * check/gst/gstbuffer.c: (create_read_only_buffer),
24250 (test_make_writable), (test_subbuffer_make_writable),
24252 Add some tests for gst_buffer_make_writable().
24254 2005-09-27 Wim Taymans <wim@fluendo.com>
24256 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24257 use gst_object_has_ancestor().
24259 * gst/gstobject.c: (gst_object_has_ancestor):
24261 gst_object_has_ancestor() copied from gstbin.c as it is a
24264 * tests/instantiate/create.c: (create_all_elements):
24265 * tests/lat.c: (handoff_src), (handoff_sink):
24266 * tests/sched/runxml.c: (main):
24267 * tests/seeking/seeking1.c: (main):
24268 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24270 Fix compilation of some tests.
24272 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24275 Remove comment. GST_TYPE_G_ERROR is here to stay,
24276 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24277 (#316961, #300610).
24279 2005-09-26 Wim Taymans <wim@fluendo.com>
24281 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24282 Added check that shows error in state change order.
24284 2005-09-26 Wim Taymans <wim@fluendo.com>
24286 * gst/gstbin.c: (gst_bin_change_state):
24287 Make state change function use 3 queues again, we were
24288 adding elements in the wrong order.
24290 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24293 * gst/gstpad.c: (gst_pad_dispose):
24294 Added some debug info first.
24296 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24298 * docs/design/draft-push-pull.txt:
24299 * docs/design/part-events.txt:
24300 * docs/design/part-overview.txt:
24301 * docs/design/part-scheduling.txt:
24302 Replace all _pull_region() with _pull_range()
24304 2005-09-26 Andy Wingo <wingo@pobox.com>
24306 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24308 * check/gst-libs/controller.c: Update for controller api change.
24311 * tests/Makefile.am:
24312 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24313 over by GLib bug 118439.
24315 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24316 routines to a function.
24318 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24320 * libs/gst/controller/gsthelper.c:
24321 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24322 (gst_object_sync_values): Renamed from sink_values. Ugh.
24324 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24326 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24327 Renamed from controller_key, as it is exported.
24329 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24331 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24336 * gst/gstpadtemplate.h:
24339 * gst/gstqueryutils.c:
24340 * gst/gstqueryutils.h:
24341 remove queryutils headers after moving the two used functions
24342 to gstquery. also fixes build problem for gstsiddec
24344 2005-09-26 Michael Smith <msmith@fluendo.com>
24346 * tools/gst-launch.1.in:
24347 Correct documentation in manpage of debug syntax
24349 2005-09-26 Wim Taymans <wim@fluendo.com>
24351 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24352 (gst_base_src_is_seekable), (gst_base_src_change_state):
24353 Some more debugging info.
24355 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24357 * docs/gst/gstreamer-sections.txt:
24358 * gst/base/gstbasetransform.h:
24362 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24364 * docs/gst/.cvsignore:
24365 * docs/gst/tmpl/.cvsignore:
24366 * docs/gst/tmpl/gstpipeline.sgml:
24367 * docs/gst/tmpl/gstplugin.sgml:
24368 * gst/gstpipeline.c:
24371 inlined the last two docs files
24372 removed the tmpl directory from cvs (no more conflicts here!)
24374 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24376 * docs/gst/gstreamer-sections.txt:
24377 * docs/gst/tmpl/.cvsignore:
24378 * docs/gst/tmpl/gstpad.sgml:
24379 * docs/gst/tmpl/gstpadtemplate.sgml:
24381 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24382 (gst_pad_finalize), (gst_pad_set_pad_template):
24384 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24385 (gst_pad_template_class_init), (gst_pad_template_init),
24386 (gst_pad_template_dispose), (name_is_valid),
24387 (gst_static_pad_template_get), (gst_pad_template_new),
24388 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24389 (gst_pad_template_pad_created):
24390 * gst/gstpadtemplate.h:
24391 inlined two more docs
24392 factored gstpadtemplate out of gstpad
24394 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24396 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24397 (test_children_state_change_order_semi_sink):
24398 Fix test case: we can't rely on a fixed state change order when
24399 going from READY => PAUSED because the sink might commit its
24400 new state first when the first buffer created by the source
24401 reaches the sink before the source has finished its change state.
24402 (Test case still fails at times, see #316856, comment 5 onwards)
24404 2005-09-24 Wim Taymans <wim@fluendo.com>
24406 * docs/design/part-events.txt:
24407 * docs/design/part-gstbus.txt:
24408 * docs/design/part-gstpipeline.txt:
24409 * docs/design/part-messages.txt:
24410 * docs/design/part-overview.txt:
24411 * docs/design/part-segments.txt:
24415 * gst/gstelement.c:
24418 * gst/gstiterator.c:
24419 Various documentation updates.
24421 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24424 Well, that's embarassing. Luckily we weren't using
24425 GST_CLOCK_DIFF anywhere.
24427 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24429 * common/gtk-doc.mak:
24430 don't fail on building XML, FC4 slave shows a bunch of doc
24431 missing bits that I don't get
24433 * gst/gstpipeline.c:
24434 * gst/gststructure.c:
24437 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24439 * docs/design/part-gstbin.txt:
24440 * docs/design/part-gstbus.txt:
24442 Add blurb about how the bus goes into flushing mode and
24443 drops all messages when its bin goes from READY into NULL
24446 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24448 * docs/gst/gstreamer-sections.txt:
24449 * gst/gststructure.c: (gst_structure_get_clock_time):
24450 * gst/gststructure.h:
24451 add a method to get a GstClockTime out of a structure
24453 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24455 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24456 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24457 Added test to check state change order in bins (can still be made
24458 to fail here under heavy disk load; bails out with 'Push on pad
24459 fakesink:sink0, but it was not activated in push mode').
24461 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24462 Fix state change order when there is only a semi sink (#316856)
24464 * gst/gstbus.c: (gst_bus_class_init):
24465 Use _class_peek_parent(), not _class_ref(); fix docs to say
24466 'default main context' instead of 'mainloop' where that is
24469 * gst/gstelement.c: (gst_element_commit_state),
24470 (gst_element_set_state):
24471 Fix typos in debug messages
24473 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24476 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24477 * gst/gstpluginfeature.c:
24479 various doc updates
24480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24481 change an assert into an error until it gets fixed properly
24483 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24485 * docs/gst/gstreamer-sections.txt:
24486 * docs/gst/tmpl/.cvsignore:
24487 * docs/gst/tmpl/gstelement.sgml:
24488 * docs/gst/tmpl/gstinfo.sgml:
24489 * docs/gst/tmpl/gstobject.sgml:
24490 * gst/gstelement.c:
24491 * gst/gstelement.h:
24494 * gst/gstobject.c: (gst_object_class_init):
24496 inlined 3 more biiiig doc files and added some missing docs on the fly
24498 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24500 * check/gst/.cvsignore:
24501 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24502 * gst/gstregistryxml.c: (load_plugin),
24503 (gst_registry_xml_save_plugin):
24504 put back source in registry. add checks for find_plugin.
24505 * testsuite/states/bin.c: (assert_state), (empty_bin),
24506 (test_adding_one_element), (main):
24507 * testsuite/states/locked.c: (main):
24508 some compile/run fixes
24510 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24512 * check/gst/gstvalue.c: (GST_START_TEST):
24513 fix leaks in the test itself
24515 2005-09-22 Wim Taymans <wim@fluendo.com>
24517 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24518 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24519 (gst_base_sink_query):
24520 Prepare for more accurate position reporting and query
24523 * gst/gstelement.c: (gst_element_send_event),
24524 (gst_element_set_state):
24527 2005-09-22 Wim Taymans <wim@fluendo.com>
24529 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24530 (gst_query_parse_segment):
24532 More documentation.
24533 Add segment query for future use.
24535 2005-09-22 Wim Taymans <wim@fluendo.com>
24537 * gst/gstbin.c: (gst_bin_add_func):
24538 Some more debug info.
24540 * gst/gstelement.c: (gst_element_send_event):
24541 Simplify send_event
24543 * gst/gstelement.h:
24544 Don't know how flags got broken.
24549 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24551 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24552 Add simplistic test suite for GST_TYPE_DATE serialisation and
24555 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24557 * docs/gst/gstreamer-sections.txt:
24558 * gst/gststructure.c: (gst_structure_set_valist),
24559 (gst_structure_get_date):
24560 * gst/gststructure.h:
24561 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24562 (gst_date_copy), (gst_value_compare_date),
24563 (gst_value_serialize_date), (gst_value_deserialize_date),
24564 (gst_value_transform_date_string),
24565 (gst_value_transform_string_date), (_gst_value_initialize):
24567 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24568 bunch of utility functions along with a hack that checks that
24569 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24570 is required. Part of the grand scheme in #170777.
24572 2005-09-22 Andy Wingo <wingo@pobox.com>
24574 * gst/gstconfig.h.in: Psych out gtk-doc.
24576 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24578 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24580 * tools/gst-inspect.c (print_element_list): Plug some
24581 inconsequential leaks.
24583 * gst/gstregistry.c (gst_registry_get_default): Doc.
24585 * check/gst/gstplugin.c:
24586 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24587 * gst/gstelementfactory.c (gst_element_factory_create):
24588 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24591 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24592 (gst_plugin_feature_load): Doc, don't eat refs.
24594 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24595 (gst_plugin_list_free): Doc.
24596 (gst_plugin_load_file): Doc updates.
24598 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24599 accessors returning refcounted objects, return a ref.
24601 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24602 accessor for caps. IDEMPOTENCE. Oh yes.
24604 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24606 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24608 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24609 (_gst_debug_register_funcptr):
24610 Add mutex to serialise access to the hash table with
24611 the function pointer => function name string mapping;
24612 make that hash table static scope (#316809).
24614 * gst/registries/.cvsignore:
24615 Remove left-over file.
24617 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24619 * docs/pwg/appendix-porting.xml:
24620 And something about newsegment events and caps-on-buffers to
24621 the porting guide (feel free to improve).
24623 2005-09-21 Andy Wingo <wingo@pobox.com>
24625 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24626 data and event probes on the same pad.
24627 (test_buffer_probe_once): Test that removing probes from within
24628 the probe functions works.
24630 2005-09-21 Andy Wingo <wingo@pobox.com>
24632 * check/gst/gstutils.c: New file.
24633 (test_buffer_probe_n_times): A simple buffer probe test. More to
24636 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24637 have-data::buffer, not have-data.
24638 (gst_pad_add_event_probe): Likewise for have-data::event.
24639 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24640 peer' isn't quite right yet though.
24641 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24642 (gst_pad_remove_data_probe): Change to take the guint handler_id
24643 as their arg, not the function+data, which is more glib-like.
24645 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24646 the signal emission to indicate if the data is a buffer or an
24648 (gst_pad_get_type): Initialize buffer and event quarks.
24649 (gst_pad_class_init): have-data is now a detailed signal, yes it
24652 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24654 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24655 * gst/gstutils.c: (gst_util_set_value_from_string),
24656 (gst_util_set_object_arg):
24657 Don't put functional code in g_return_if_fail() or
24658 g_return_val_if_fail() statements, otherwise things will
24659 break when G_DISABLE_CHECKS is defined during compilation.
24661 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24663 * docs/gst/tmpl/.cvsignore:
24664 * docs/gst/tmpl/gstvalue.sgml:
24667 inlied another one and added some obvious docs
24669 2005-09-21 Wim Taymans <wim@fluendo.com>
24671 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24672 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24673 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24674 (gst_fdsrc_get_property), (gst_fdsrc_create):
24675 * gst/elements/gstfdsrc.h:
24676 Properly implement fdsrc. Removed signal and timeout,
24677 better implemented somewhere else.
24679 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24681 * docs/gst/tmpl/.cvsignore:
24682 * docs/gst/tmpl/gstimplementsinterface.sgml:
24683 * gst/gstinterface.c:
24686 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24688 * docs/gst/gstreamer-sections.txt:
24689 * docs/gst/tmpl/.cvsignore:
24690 * docs/gst/tmpl/gstenumtypes.sgml:
24691 remove obsolete doc file
24693 2005-09-21 David Schleef <ds@schleef.org>
24695 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24696 little beer, fix a little leak.
24698 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24700 * docs/gst/gstreamer-docs.sgml:
24701 * docs/gst/gstreamer-sections.txt:
24702 * docs/gst/tmpl/.cvsignore:
24706 * gst/gstelement.h:
24707 * gst/gstindex.c: (gst_index_class_init):
24709 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24710 (gst_index_factory_class_init), (gst_index_factory_init),
24711 (gst_index_factory_finalize), (gst_index_factory_new),
24712 (gst_index_factory_destroy), (gst_index_factory_find),
24713 (gst_index_factory_create), (gst_index_factory_make):
24714 * gst/gstindexfactory.h:
24715 * gst/gstpluginfeature.c:
24716 * gst/gstpluginfeature.h:
24717 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24718 more docs inlined, splitted gstindex.{c,h}
24720 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24722 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24725 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24727 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24728 Set sync to FALSE by default.
24730 2005-09-20 Wim Taymans <wim@fluendo.com>
24732 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24733 (gst_base_sink_init):
24734 Make sync property settable from subclass.
24736 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24737 (gst_fake_sink_change_state):
24738 Set sync to FALSE by default.
24740 2005-09-20 Wim Taymans <wim@fluendo.com>
24742 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24743 * tools/gst-launch.c: (main):
24744 The timeout handler should have lower priority than the source
24745 so we don't timeout before popping a message with 0 timeout.
24746 Dump error messages after failed state change.
24748 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24750 * tools/gst-inspect.c: (print_element_properties_info):
24753 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24755 * check/gst/gstevent.c:
24756 * gst/elements/gstfakesink.c:
24757 * gst/elements/gstfakesink.h:
24758 remove the sync property from fakesink.
24759 has the side effect of setting sync TRUE
24760 for fakesink, which is a change. Anyone who knows how
24761 to fix this nicely in a GObject-y way, feel free.
24763 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24765 * docs/gst/gstreamer-docs.sgml:
24766 remove probe refsection
24768 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24770 * check/Makefile.am:
24771 disable valgrinding the controller test again
24772 * docs/gst/gstreamer-sections.txt:
24773 update for api-changes
24775 2005-09-20 Wim Taymans <wim@fluendo.com>
24777 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24778 (gst_base_sink_set_property), (gst_base_sink_get_property),
24779 (gst_base_sink_do_sync):
24780 * gst/base/gstbasesink.h:
24781 Added sync property to basesink to disable clock sync.
24783 2005-09-20 Andy Wingo <wingo@pobox.com>
24785 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24786 eating the caller's refcount.
24788 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24789 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24792 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24793 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24794 of GLib 2.8 public, so we can know which refcount to check in
24797 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24798 (gst_object_init): Only set the gst refcount if we're going ahead
24799 with the refcount hack.
24801 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24803 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24804 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24805 more leaks plumbed, added more debug-logging
24809 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24811 * gst/gstmessage.c:
24812 remove include of gstmemchunk.h
24814 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24816 * gst/gstclock.c: (_gst_clock_id_free):
24817 Commit from the Political Party For More Atomic CVS Commits,
24818 so that people don't waste too much of their day fishing
24819 out obvious leaks out of massive commits.
24820 Oh, and fix a pretty damn obvious leak in the memchunk
24823 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24825 * check/Makefile.am:
24826 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24827 plug mem-leak, re-add to valgrindable tests
24829 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24832 unbreak the build for those who have chronic arthritis
24833 and typing "make check" is just too taxing on the hands
24835 2005-09-20 Andy Wingo <wingo@pobox.com>
24837 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24838 really want it out, you should fix plugins at the same time.
24840 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24843 * docs/gst/gstreamer-sections.txt:
24845 added missing symbols to api docs
24846 disable ref-count hack if we have glib >= 2.8
24848 2005-09-19 David Schleef <ds@schleef.org>
24850 * docs/gst/Makefile.am: Ignore a few more internal headers
24851 * docs/gst/gstreamer-docs.sgml: Remove old sections
24852 * docs/gst/gstreamer-sections.txt: Remove old sections
24853 * docs/gst/tmpl/gstobject.sgml: update
24854 * docs/gst/tmpl/gstplugin.sgml: update
24855 * docs/gst/tmpl/gstpluginfeature.sgml: update
24856 * docs/random/ds/0.9-suggested-changes: update.
24857 * gst/Makefile.am: remove memchunk and trashstack, since they're
24859 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24860 * gst/gst.h: don't include some headers
24861 * gst/gstchildproxy.c: add gstmarshal.h
24862 * gst/gstclock.c: Don't use memchunks
24863 * gst/gstminiobject.c: Add some docs
24864 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24865 * gst/gstobject.h: same
24866 * gst/gstplugin.c: include gstmacros.h
24867 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24868 * gst/gstquery.c: don't use memchunks
24869 * gst/gstregistry.c: rename gst_registry_deinit()
24870 * gst/gstregistry.h: same
24872 2005-09-19 David Schleef <ds@schleef.org>
24874 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24875 * docs/libs/gstreamer-libs-sections.txt:
24876 * docs/libs/tmpl/gstgetbits.sgml:
24877 * docs/libs/tmpl/gstputbits.sgml:
24879 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24881 * win32/gstenumtypes.c:
24882 * win32/gstenumtypes.h:
24885 2005-09-19 Wim Taymans <wim@fluendo.com>
24887 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24888 Automatically PAUSE and RESUME a pipeline when a flushing seek
24891 2005-09-19 Andy Wingo <wingo@pobox.com>
24893 * gst/gstregistry.h: Spacing fixen.
24895 2005-09-19 Wim Taymans <wim@fluendo.com>
24897 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24898 Handle state change failure more correctly.
24900 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24902 * check/Makefile.am:
24903 * check/pipelines/cleanup.c: (run_pipeline):
24904 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24906 enable cleanup again after fixing the leak
24908 some more info on docs
24910 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24912 * check/Makefile.am:
24913 re-enable tests now that leaks are plugged
24915 * check/gst/gstbin.c:
24916 * check/gst/gstpipeline.c:
24917 add some more tests while fixing leaks
24918 * common/check.mak:
24919 make sure binaries are uptodate when valgrinding/gdbing
24921 * gst/gstelementfactory.c:
24922 remove a ref too many, and add a FIXME for when we get
24923 round to disposing of classes
24925 fix the refcounting when loading a plugin from a file and
24926 the code pretends that the pointer is the same even though
24927 of course it can change
24928 * gst/gstpluginfeature.c:
24929 unref plugins marked cached (a bit confusing as a name)
24930 as the docs state should be done
24931 various doc additions to explain refcounting
24932 * gst/gstregistry.c:
24933 * gst/gstregistryxml.c:
24936 2005-09-19 Wim Taymans <wim@fluendo.com>
24938 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24939 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24940 (send_messages), (GST_START_TEST), (gstbus_suite):
24941 * check/gst/gstpipeline.c: (GST_START_TEST):
24942 * check/pipelines/cleanup.c: (run_pipeline):
24943 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24945 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24946 (gst_bus_source_check), (gst_bus_source_dispatch),
24947 (gst_bus_create_watch), (gst_bus_add_watch_full),
24948 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24950 * tools/gst-launch.c: (event_loop):
24951 * tools/gst-md5sum.c: (event_loop):
24952 GstBusHandler -> GstBusFunc, return value has the same meaning as
24953 any other GSource (FALSE == remove source).
24954 _add_watch() and _add_watch_full() now take a MessageType mask to
24955 only handle specific types of messages.
24956 _poll() returns the GstMessage instead of the message type to avoid
24958 _have_pending() takes a MessageType mask now too.
24959 Added testsuite for multiple bus watches.
24960 Fix testsuites and applications for new bus API.
24962 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24964 * check/Makefile.am:
24965 mark a bunch of the tests as to fix until we fix them
24967 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24969 * common/check.mak:
24970 use GST_PLUGIN settings for valgrind tests as well, so we're
24971 valgrinding the correct thing
24972 * gst/gst.c: (init_post):
24975 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24977 * gst/gst.c: (init_post), (gst_deinit):
24978 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24979 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24980 * gst/gstindex.c: (gst_index_factory_class_init),
24981 (gst_index_factory_finalize):
24982 * gst/gstobject.c: (gst_object_dispose):
24983 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24984 (gst_plugin_load_file), (gst_plugin_desc_free):
24985 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24986 (gst_plugin_feature_finalize):
24987 * gst/gstregistry.c: (gst_registry_class_init),
24988 (gst_registry_init), (gst_registry_finalize),
24989 (gst_registry_get_default), (gst_registry_deinit):
24990 * gst/gstregistry.h:
24991 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24992 various cleanups and memleak plugging. make valgrind is happy now.
24994 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24996 * common/check.mak:
24997 add a check-valgrind target
24999 2005-09-18 David Schleef <ds@schleef.org>
25001 * tools/gst-inspect.c: Revert the GOption code.
25003 2005-09-17 David Schleef <ds@schleef.org>
25005 * check/Makefile.am: Fix environment variables.
25006 * check/gst/gstplugin.c: Fix for API changes.
25007 * tools/gst-inspect.c: Fix for API changes.
25008 * tools/gst-xmlinspect.c: Fix for API changes.
25009 * gst/gstelementfactory.c:
25012 * gst/gstpluginfeature.c:
25013 * gst/gstpluginfeature.h:
25014 * gst/gstregistry.c:
25015 * gst/gstregistry.h:
25016 * gst/gstregistryxml.c:
25017 * gst/gsttypefind.c:
25018 * gst/gsttypefindfactory.c:
25019 * gst/indexers/gstfileindex.c:
25020 * gst/indexers/gstmemindex.c:
25021 * gst/schedulers/Makefile.am:
25022 Change registry to keep track of both plugins and features,
25023 removing the feature tracking from plugins themselves.
25025 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
25027 * check/Makefile.am:
25028 * tools/gst-register.1.in:
25029 remove gst-register
25031 2005-09-15 David Schleef <ds@schleef.org>
25033 * check/gst/gstplugin.c:
25034 * gst/gstelementfactory.c:
25036 * gst/gstpluginfeature.c:
25037 * gst/gstregistry.c:
25038 Getting tired of debugging. Disabled all the unreffing of
25039 plugins and features, which fixes the segfaults, but of
25040 course leaks like crazy. At least playbin works.
25042 2005-09-15 David Schleef <ds@schleef.org>
25044 * check/gst/gstplugin.c: (register_check_elements),
25045 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25047 * gst/elements/gsttypefindelement.c: Fix refcounting.
25048 * gst/gsttypefind.c:
25049 * gst/gsttypefindfactory.c:
25050 * gst/gsttypefindfactory.h:
25052 2005-09-15 David Schleef <ds@schleef.org>
25054 * gst/gstindex.c: get refcounting correct.
25055 * gst/gstregistry.c: Handle the case where a feature/plugin is
25058 2005-09-15 David Schleef <ds@schleef.org>
25060 * check/Makefile.am:
25061 * check/gst/gstplugin.c: Add test
25062 * gst/gstplugin.c: Fix problems noticed by testsuite
25064 * gst/gstregistry.c:
25065 * gst/gstregistry.h:
25067 2005-09-15 David Schleef <ds@schleef.org>
25069 * gst/gstplugin.c: Implement semi-decent recounting and locking
25070 in plugins and plugin features.
25072 * gst/gstpluginfeature.c:
25073 * gst/gstpluginfeature.h:
25074 * gst/gstregistry.c:
25076 2005-09-15 Michael Smith <msmith@fluendo.com>
25078 * gst/gstregistry.c: (gst_registry_get_feature_list):
25079 Implement this. Makes oggdemux work; decodebin still broken.
25081 2005-09-14 David Schleef <ds@schleef.org>
25083 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25085 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25086 * gst/check/Makefile.am:
25087 * libs/gst/controller/Makefile.am:
25088 * libs/gst/dataprotocol/Makefile.am:
25090 2005-09-14 David Schleef <ds@schleef.org>
25092 * configure.ac: Remove getbits library. Nothing uses it, and
25093 it should be in something like liboil if someone did want
25095 * libs/gst/Makefile.am:
25096 * libs/gst/getbits/Makefile.am:
25097 * libs/gst/getbits/gbtest.c:
25098 * libs/gst/getbits/getbits.c:
25099 * libs/gst/getbits/getbits.h:
25100 * libs/gst/getbits/gstgetbits_generic.c:
25101 * libs/gst/getbits/gstgetbits_i386.s:
25102 * libs/gst/getbits/gstgetbits_inl.h:
25104 2005-09-14 David Schleef <ds@schleef.org>
25106 * gst/Makefile.am: Dist glib-compat.h
25108 2005-09-14 David Schleef <ds@schleef.org>
25110 * configure.ac: Remove gst/registries, since it's no longer used.
25111 * gst/registries/Makefile.am:
25112 * gst/registries/gstlibxmlregistry.c:
25113 * gst/registries/gstlibxmlregistry.h:
25114 * gst/registries/gstxmlregistry.c:
25115 * gst/registries/gstxmlregistry.h:
25116 * gst/registries/registrytest.c:
25118 2005-09-14 David Schleef <ds@schleef.org>
25120 * gst/glib-compat.h:
25121 * gst/gstregistryxml.c:
25122 Convergence is near. Seriously.
25124 2005-09-14 David Schleef <ds@schleef.org>
25126 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25127 * gst/glib-compat.h:
25128 Attempt #4 to appease the buildbots.
25130 2005-09-14 David Schleef <ds@schleef.org>
25132 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25135 2005-09-14 David Schleef <ds@schleef.org>
25137 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25140 2005-09-14 David Schleef <ds@schleef.org>
25142 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25145 2005-09-14 David Schleef <ds@schleef.org>
25147 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25148 * gst/glib-compat.h: Add some functions that are in newer versions
25149 of glib than we care to require.
25150 * gst/gstregistryxml.c: Use them.
25152 2005-09-14 David Schleef <ds@schleef.org>
25154 * po/POTFILES.in: remove gst-register.c
25156 2005-09-14 David Schleef <ds@schleef.org>
25158 * docs/gst/gstreamer-docs.sgml:
25159 * docs/gst/gstreamer-sections.txt:
25160 * docs/gst/gstreamer.types:
25161 * docs/gst/tmpl/gstelement.sgml:
25162 * docs/gst/tmpl/gstplugin.sgml:
25163 * docs/gst/tmpl/gstpluginfeature.sgml:
25164 Documentation updates for registry changes.
25166 2005-09-14 David Schleef <ds@schleef.org>
25168 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25169 because we don't require glib-2.8.
25171 2005-09-14 David Schleef <ds@schleef.org>
25173 * gst/gstregistryxml.c: Added. Essentially moved out of the
25174 registries directory.
25176 2005-09-14 David Schleef <ds@schleef.org>
25178 * check/Makefile.am:
25179 * check/generic/states.c:
25183 * gst/gst_private.h:
25184 * gst/gstelementfactory.c:
25189 * gst/gstpluginfeature.c:
25190 * gst/gstpluginfeature.h:
25191 * gst/gstregistry.c:
25192 * gst/gstregistry.h:
25193 * gst/gstregistrypool.c: remove
25194 * gst/gstregistrypool.h: remove
25195 * gst/gsttypefind.c:
25196 * gst/gsttypefindfactory.c:
25198 * tools/Makefile.am:
25199 * tools/gst-compprep.c:
25200 * tools/gst-inspect.c:
25201 * tools/gst-register.c: remove
25202 * tools/gst-xmlinspect.c:
25203 Registry rewrite. Changes registry from being a file created
25204 by a tool into a simple cache file created automatically by
25205 libgstreamer. Removed gst-register (because it's no longer
25206 needed). Remove registry pools, because we only have one
25207 registry implementation (XML). Fix up other subsystems as
25210 2005-09-13 Michael Smith <msmith@fluendo.com>
25212 * gst/gstconfig.h.in:
25213 Don't Use windows linking attributes for MinGW. Fixes #316157
25215 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25217 * gst/gstutils.c: (set_state_async_thread_func),
25218 (gst_element_set_state_async):
25219 Apparently people think it's better if this function doesn't
25220 try to set the state to whatever state was asked for on the first
25221 call to this function for any object. Seriously.
25223 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25225 * check/gst/gstpipeline.c: (GST_START_TEST):
25226 * docs/gst/gstreamer-sections.txt:
25227 * gst/gstutils.c: (set_state_async_thread_func),
25228 (gst_element_set_state_async):
25230 add a "gst_element_set_state_async" method that
25231 sets the state and starts a thread to make sure the state
25232 change completes as best as it can
25234 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25236 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25237 codify design+behaviour in testsuite after discussion
25239 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25241 * docs/gst/tmpl/gstelement.sgml:
25242 * docs/manual/appendix-quotes.xml:
25244 * gst/gstelement.c: (gst_element_set_state):
25247 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25249 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25250 (gst_base_transform_prepare_output_buf),
25251 (gst_base_transform_handle_buffer):
25252 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25253 (gst_capsfilter_prepare_buf):
25254 Remove the requirement for sub-classes to call the parent
25255 implementation of prepare_output_buffer with a wrapper function.
25257 * gst/gsttaglist.h:
25258 * gst/gsttagsetter.h:
25259 Fix #define wrapper
25261 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25263 * docs/gst/gstreamer-sections.txt:
25266 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25268 * docs/gst/gstreamer-sections.txt:
25269 * docs/gst/tmpl/gstelement.sgml:
25270 * docs/gst/tmpl/gstplugin.sgml:
25271 * gst/gstminiobject.c:
25273 docs now stop throwing warnings
25275 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25277 * docs/gst/gstreamer-sections.txt:
25278 * docs/gst/gstreamer.types:
25279 * docs/gst/tmpl/gstpad.sgml:
25280 * docs/gst/tmpl/gsttypes.sgml:
25281 * gst/base/gstadapter.h:
25282 * gst/base/gstbasesink.h:
25283 * gst/base/gstbasesrc.h:
25289 * gst/gstelement.h:
25291 * gst/gstmessage.h:
25293 * gst/gststructure.c:
25294 * gst/registries/gstlibxmlregistry.h:
25295 various documentation fixes
25297 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25299 * docs/gst/gstreamer-sections.txt:
25300 * docs/gst/tmpl/gstvalue.sgml:
25301 rearrange gstvalue section
25302 * gst/gstutils.c: (gst_element_state_get_name):
25304 * gst/gstvalue.c: (_gst_value_initialize):
25308 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25310 * check/gst-libs/controller.c:
25311 Header include fix.
25312 * gst/base/gstbasetransform.c:
25313 (gst_base_transform_default_prepare_buf),
25314 (gst_base_transform_handle_buffer):
25315 * gst/base/gstbasetransform.h:
25316 Some more basetransform changes and fixes to enable sub-classes
25317 that modify buffer metadata only.
25318 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25319 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25320 (gst_capsfilter_prepare_buf):
25321 If the output pad has fixed allowed caps and input buffers
25322 don't have any, set the fixed caps on outgoing buffers.
25324 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25325 * check/elements/identity.c: (GST_START_TEST):
25326 Make the error a little clearer when the test fails because
25327 identity made a copy of the buffer.
25328 * docs/gst/gstreamer-sections.txt:
25329 New symbols in gstbasetransform.h
25330 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25331 (gst_base_transform_init), (gst_base_transform_transform_size),
25332 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25333 (gst_base_transform_default_prepare_buf),
25334 (gst_base_transform_get_unit_size),
25335 (gst_base_transform_buffer_alloc),
25336 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25337 (gst_base_transform_change_state),
25338 (gst_base_transform_set_passthrough),
25339 (gst_base_transform_set_in_place),
25340 (gst_base_transform_is_in_place):
25341 * gst/base/gstbasetransform.h:
25342 Change BaseTransform to separate in_place operate from same_caps
25343 output. in_place implies that the element can perform the transform
25344 on incoming buffers in-place, even if the caps on the output are
25346 Sub-class elements can now implement special buffer allocation
25347 methods for outgoing buffers if they wish to.
25348 Big documentation addition.
25349 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25350 * gst/elements/gstelements.c:
25351 Changes for basetransform modifications.
25352 * gst/elements/Makefile.am:
25353 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25354 Compile fix. Extra debug output.
25356 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25358 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25360 add tests for valid pad naming
25361 * gst/check/gstcheck.c: (gst_check_log_message_func),
25362 (gst_check_log_critical_func):
25364 remove printing of code, it is fragile when the code contains
25365 % and the line number is enough info
25366 * gst/check/gstcheck.h:
25367 * gst/gstpad.c: (gst_pad_template_new):
25370 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25373 say what CHECK flags we use
25374 * docs/libs/gstreamer-libs.types:
25375 * libs/gst/controller/Makefile.am:
25376 * libs/gst/controller/gst-controller.c:
25377 * libs/gst/controller/gst-controller.h:
25378 * libs/gst/controller/gst-helper.c:
25379 * libs/gst/controller/gst-interpolation.c:
25380 * libs/gst/controller/gstcontroller.c:
25381 * libs/gst/controller/gsthelper.c:
25382 * libs/gst/controller/gstinterpolation.c:
25383 * tools/gst-inspect.c: (print_plugin_info):
25384 we don't use dashes in header names
25386 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25388 * check/Makefile.am:
25389 * check/gst/.cvsignore:
25390 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25391 (gst_pipeline_suite), (main):
25392 adding a test for pipelines and state changes
25393 * gst/gstutils.c: (get_state_func):
25395 * gstreamer.spec.in:
25398 2005-09-08 Michael Smith <msmith@fluendo.com>
25400 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25401 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25402 (gst_file_src_is_seekable), (gst_file_src_get_size),
25403 (gst_file_src_start):
25404 * gst/elements/gstfilesrc.h:
25405 Various fixes for unseekable, unmmapable, and non-normal files, so
25406 that fallback to read() rather than mmap() works.
25407 * gst/gstevent.c: (gst_event_new_newsegment):
25408 Allow newsegment events with segment_start == segment_end, as will
25409 correctly happen if you use filesrc on a zero-size file, for
25412 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25414 * gst/gstplugin.c: (gst_plugin_load_file):
25415 Call g_module_close when we don't load the module
25417 * gst/registries/gstlibxmlregistry.c:
25418 (gst_xml_registry_get_property):
25419 Port leak fix from 0.8
25421 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25423 * docs/gst/gstreamer-docs.sgml:
25424 * docs/gst/tmpl/.cvsignore:
25425 * docs/gst/tmpl/gsttrace.sgml:
25426 * docs/gst/tmpl/gsttrashstack.sgml:
25429 * gst/gstelement.h:
25431 * gst/gstmessage.c:
25432 * gst/gstmessage.h:
25435 * gst/gsttaginterface.c:
25436 * gst/gsttaginterface.h:
25437 * gst/gsttaglist.c:
25438 * gst/gsttaglist.h:
25439 * gst/gsttagsetter.c:
25440 * gst/gsttagsetter.h:
25443 * gst/gsttrashstack.c:
25444 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25445 inlined docs for gsttrace, gsttrashstack
25447 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25450 * gst/elements/gstbufferstore.h:
25451 * gst/elements/gsttypefindelement.c:
25452 * gst/elements/gsttypefindelement.h:
25454 * gst/gsttypefind.c:
25455 * gst/gsttypefind.h:
25456 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25457 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25458 (gst_type_find_factory_dispose),
25459 (gst_type_find_factory_unload_thyself),
25460 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25461 (gst_type_find_factory_get_caps),
25462 (gst_type_find_factory_get_extensions),
25463 (gst_type_find_factory_call_function):
25464 * gst/gsttypefindfactory.h:
25465 * gst/registries/gstlibxmlregistry.c:
25466 * gst/registries/gstxmlregistry.c:
25467 splitted gsttypefind into gsttypefind, gsttypefindfactory
25469 2005-09-07 Andy Wingo <wingo@pobox.com>
25471 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25472 condition whereby the pad's task function is entered before the
25473 pad_mode variable was set.
25475 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25477 * gst/gstpad.c: (gst_pad_alloc_buffer):
25478 Catch misbehaving pad_alloc functions that don't
25479 set up caps and do it for them.
25481 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25483 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25484 test for pipe!=NULL
25485 * docs/gst/tmpl/.cvsignore:
25486 * docs/gst/tmpl/gstmemchunk.sgml:
25487 * docs/gst/tmpl/gstparse.sgml:
25488 * docs/gst/tmpl/gsttaglist.sgml:
25489 * docs/gst/tmpl/gsttagsetter.sgml:
25490 * docs/gst/tmpl/gsttypefind.sgml:
25491 * docs/gst/tmpl/gsttypefindfactory.sgml:
25492 * gst/gstmemchunk.c:
25495 * gst/gsttaginterface.c:
25496 * gst/gsttypefind.c:
25497 * gst/gsttypefind.h:
25500 === release 0.9.2 ===
25502 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25507 releasing 0.9.2, "South"
25509 2005-09-05 Andy Wingo <wingo@pobox.com>
25511 * gst/registries/gstxmlregistry.h:
25512 * gst/registries/gstxmlregistry.c: Um... resurrect...
25514 * gst/registries/gstxmlregistry.h:
25515 * gst/registries/gstxmlregistry.c: and update to newer API.
25516 Incidentally they should be a bit faster now that they don't have
25519 2005-09-05 Andy Wingo <wingo@pobox.com>
25521 * gst/registries/gstxmlregistry.h:
25522 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25523 replaced by the libxml registry a while back
25525 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25527 * docs/gst/tmpl/gstplugin.sgml:
25528 * gst/elements/gstelements.c:
25530 * gst/gstplugin.c: (gst_plugin_register_func),
25531 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25532 (gst_plugin_get_source):
25534 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25535 (gst_xml_registry_save_plugin):
25536 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25537 (gst_xml_registry_save_plugin):
25538 * tools/gst-inspect.c: (print_plugin_info):
25539 add a "source" plugin description field, to represent the source
25540 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25541 will set it to PACKAGE, which is automake's idea of the name of
25542 the source project.
25544 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25549 * docs/Makefile.am:
25550 * docs/faq/Makefile.am:
25551 * docs/gst/tmpl/gstelement.sgml:
25552 * docs/gst/tmpl/gsttypes.sgml:
25553 * docs/htmlinstall.mak:
25554 * docs/manual/Makefile.am:
25555 * docs/pwg/Makefile.am:
25556 reorganize doc build a little
25557 split out docbook and gtk-doc stuff
25558 have two separate --enable's and enable them through autogen
25559 but disable by default in configure (to be similar to other
25561 * gstreamer.spec.in:
25562 clean up docs install
25580 translation updates
25582 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25584 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25587 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25588 (gst_fake_sink_change_state):
25589 Make state change function thread-safe.
25591 * gst/gstpad.c: (gst_pad_alloc_buffer):
25592 Set offset on generic buffer allocated by fallback.
25594 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25596 * docs/gst/gstreamer-sections.txt:
25597 * docs/gst/tmpl/gstelement.sgml:
25599 * libs/gst/controller/gst-controller.c:
25600 (gst_controlled_property_set_interpolation_mode),
25601 (gst_controlled_property_new),
25602 (gst_controller_find_controlled_property):
25603 run the wingo-magic script against the docs
25605 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25607 * docs/gst/gstreamer-docs.sgml:
25608 * docs/gst/gstreamer-sections.txt:
25609 * docs/gst/tmpl/.cvsignore:
25610 * docs/gst/tmpl/gstelementdetails.sgml:
25611 * docs/gst/tmpl/gstelementfactory.sgml:
25614 * gst/gstelementfactory.c:
25615 * gst/gstelementfactory.h:
25616 merged elementdetails docs into elementfactory docs
25619 2005-09-02 Andy Wingo <wingo@pobox.com>
25621 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25622 consider this enum an enum and not a flags.
25624 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25626 * docs/gst/gstreamer-docs.sgml:
25627 * docs/gst/tmpl/.cvsignore:
25628 * docs/gst/tmpl/gstghostpad.sgml:
25629 * docs/gst/tmpl/gstiterator.sgml:
25630 * docs/gst/tmpl/gstmacros.sgml:
25631 * docs/gst/tmpl/gstrealpad.sgml:
25632 * docs/gst/tmpl/gstregistry.sgml:
25633 * docs/gst/tmpl/gstregistrypool.sgml:
25634 * docs/gst/tmpl/gststructure.sgml:
25635 * docs/gst/tmpl/gstsystemclock.sgml:
25636 * docs/gst/tmpl/gsttrace.sgml:
25637 * gst/gstghostpad.c:
25639 * gst/gstmemchunk.c:
25640 * gst/gstmemchunk.h:
25642 * gst/gstregistry.c:
25643 * gst/gstregistrypool.c:
25644 * gst/gststructure.c:
25645 * gst/gstsystemclock.c:
25648 2005-09-02 Andy Wingo <wingo@pobox.com>
25650 * gst/gstelement.h (GstState): Renamed from GstElementState,
25651 changed to be a normal enum instead of flags.
25652 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25653 munged to be GST_STATE_CHANGE_*.
25654 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25655 work with the new state representation.
25656 (GstStateChange): New enumeration of possible state transitions.
25657 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25658 (GstElementClass::change_state): Pass the GstStateChange along as
25659 an argument. Helps language bindings, so they don't have to use
25660 tricky lock-needing macros like GST_STATE_CHANGE ().
25662 * scripts/update-states (file): New script. Run it on a file to
25663 update it for state naming and API changes. Updates files in
25666 * All files updated for the new API.
25668 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25670 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25671 * gst/gstutils.c: (gst_util_set_value_from_string),
25672 (gst_util_set_object_arg):
25673 fix a bunch of unchecked return values
25674 * tools/gst-complete.c: (main):
25675 * gstreamer.spec.in:
25678 2005-09-01 Wim Taymans <wim@fluendo.com>
25680 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25681 (gst_base_sink_event), (gst_base_sink_do_sync),
25682 (gst_base_sink_handle_event):
25683 * gst/base/gstbasesink.h:
25684 Handle newsegments more correctly.
25689 * gst/gstevent.c: (gst_event_new_newsegment):
25690 A newsegment cannot have a start_time of -1
25692 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25694 * win32/gstenumtypes.c:
25695 * win32/gstenumtypes.h:
25698 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25700 * libs/gst/controller/gst-controller.c:
25701 (gst_controlled_property_set_interpolation_mode),
25702 (gst_controlled_property_new):
25703 fixed boolean again
25705 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25707 * docs/faq/gst-uninstalled:
25712 * gst/gstutils.c: (gst_element_link_filtered):
25714 add gst_element_link_filtered
25716 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25718 * docs/gst/gstreamer-docs.sgml:
25719 * docs/gst/gstreamer-sections.txt:
25720 * docs/gst/tmpl/.cvsignore:
25721 * docs/gst/tmpl/gsterror.sgml:
25722 * docs/gst/tmpl/gstfilter.sgml:
25723 * docs/gst/tmpl/gsturihandler.sgml:
25724 * docs/gst/tmpl/gsturitype.sgml:
25725 * docs/gst/tmpl/gstutils.sgml:
25726 * docs/gst/tmpl/gstxml.sgml:
25731 * gst/gsturitype.c:
25734 inlined more docs, fixed double id-ref
25736 2005-08-31 Wim Taymans <wim@fluendo.com>
25738 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25739 (gst_base_transform_handle_buffer):
25740 Passthrough elements don't need the caps as they don't care.
25742 2005-08-31 Wim Taymans <wim@fluendo.com>
25744 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25745 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25746 Don't leak refcounts on buffers.
25748 2005-08-31 Wim Taymans <wim@fluendo.com>
25750 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25751 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25752 (gst_base_transform_chain), (gst_base_transform_change_state):
25753 * gst/base/gstbasetransform.h:
25754 Handle the case where we are not negotiated more gracefully.
25756 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25758 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25759 (gst_file_src_map_region):
25760 Set READONLY flag on mmap'ed buffers, otherwise
25761 gst_buffer_make_writable() won't work properly (#314708).
25763 2005-08-31 Wim Taymans <wim@fluendo.com>
25765 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25766 passthrough elements can even do inplace on non writable
25767 buffers (as they don't touch them).
25769 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25771 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25772 (gst_test_mono_source_set_property),
25773 (gst_test_mono_source_class_init), (GST_START_TEST),
25774 (gst_controller_suite):
25775 more tests (hehe I have the most)
25777 describe popping messages whenusing mulltiple sources
25778 * libs/gst/controller/gst-controller.c:
25779 (gst_controlled_property_set_interpolation_mode),
25780 (gst_controlled_property_new):
25781 * libs/gst/controller/gst-controller.h:
25782 * libs/gst/controller/gst-interpolation.c:
25783 implement boolean properties
25785 2005-08-31 Wim Taymans <wim@fluendo.com>
25787 * gst/gstminiobject.c: (gst_mini_object_ref):
25788 Cannot assert that the refcount has to be positive
25789 since a disposed object can be resurrected.
25791 2005-08-31 Wim Taymans <wim@fluendo.com>
25793 * gst/gstpad.c: (gst_pad_init):
25794 Revert change, need to first fix badly behaving
25797 2005-08-30 Wim Taymans <wim@fluendo.com>
25799 * check/elements/fakesrc.c: (setup_fakesrc):
25800 * check/elements/identity.c: (setup_identity):
25801 Activate pads before using them.
25803 2005-08-30 Wim Taymans <wim@fluendo.com>
25805 * gst/base/gstadapter.c: (gst_adapter_flush):
25806 Flushing out 0 bytes is ok for this function.
25808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25809 no newsegment gives a warning and sets the start/stop to
25812 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25813 (gst_base_transform_set_passthrough):
25816 * gst/gstminiobject.c: (gst_mini_object_ref):
25817 Check refcount here too.
25819 * gst/gstpad.c: (gst_pad_init):
25820 Pads are initially flushing and refusing data.
25822 * gst/gstutils.c: (gst_element_link_pads_filtered):
25823 When adding a capsfilter element make sure it has the
25824 same state as the parent bin.
25826 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25828 * docs/gst/tmpl/.cvsignore:
25829 * docs/gst/tmpl/gstformat.sgml:
25830 * docs/gst/tmpl/gstversion.sgml:
25834 * gst/gstversion.h.in:
25835 more docs and two more inlined
25837 2005-08-30 Wim Taymans <wim@fluendo.com>
25839 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25840 Don't sync to clock.
25842 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25844 * docs/gst/gstreamer-sections.txt:
25845 ultral33t func10ns deserve to appear in the docs actually
25846 * docs/gst/tmpl/.cvsignore:
25847 * docs/gst/tmpl/gstcompat.sgml:
25848 * docs/gst/tmpl/gstconfig.sgml:
25849 * gst/check/gstcheck.c:
25851 * gst/gstconfig.h.in:
25854 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25856 * docs/gst/tmpl/.cvsignore:
25857 * docs/gst/tmpl/gstquery.sgml:
25858 * docs/gst/tmpl/gstutils.sgml:
25861 inlined and extended docs
25863 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25865 * check/gst-libs/controller.c: (GST_START_TEST),
25866 (gst_controller_suite):
25868 * docs/gst/tmpl/gstutils.sgml:
25869 * docs/libs/gstreamer-libs-sections.txt:
25870 * docs/libs/tmpl/gstdataprotocol.sgml:
25872 * examples/controller/audio-example.c: (main):
25873 controller example works now
25876 * tools/gst-inspect.c: (print_element_properties_info):
25877 show param spec flags
25879 2005-08-29 Andy Wingo <wingo@pobox.com>
25881 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25883 2005-08-28 Andy Wingo <wingo@pobox.com>
25885 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25886 as having two arguments instead of just one. Allows superclasses
25887 to access information on subclasses -- see the terrible for() loop
25888 in gtype.c:g_type_create_instance for the reason why. All callers
25891 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25893 * docs/design/part-messages.txt:
25895 * docs/gst/tmpl/.cvsignore:
25896 * docs/gst/tmpl/gstcaps.sgml:
25897 * docs/gst/tmpl/gstclock.sgml:
25903 * gst/gstmessage.c:
25904 added descriptions for bus and message
25905 inline caps and clock docs
25907 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25909 * gst/gstmessage.c:
25910 * gst/gstmessage.h:
25913 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25915 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25918 2005-08-26 Andy Wingo <wingo@pobox.com>
25920 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25921 element_set_state's return val.
25922 (test_2_elements): Add test that's been disabled for months.
25924 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25925 can-activate-pull properties.
25927 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25928 can-activate-pull properties. Implement is_seekable so fakesrc can
25929 operate in pull mode.
25931 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25933 (gst_base_sink_activate, gst_base_sink_activate_pull)
25934 (gst_base_sink_activate_push): Make activation mode choosing work.
25936 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25937 is right. Make pull mode work. Post an eos before pausing in pull
25939 (gst_base_sink_change_state): Pay attention to the core's
25940 change_state() return val.
25942 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25943 has-getrange properties. Cleanups.
25945 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25946 has_getrange and replace with can_activate_pull and
25949 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25950 locking comments. Remove has_loop, has_chain and replace with
25951 can_activate_pull and can_activate_push.
25953 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25956 * examples/Makefile.am:
25957 * examples/metadata/Makefile.am:
25958 * examples/metadata/read-metadata.c: (message_loop),
25959 (have_pad_handler), (make_pipeline), (print_tag), (main):
25960 Add metadata reading example that loops over a list of filenames,
25961 dumping any tags found.
25963 * gst/gstbus.c: (gst_bus_dispose):
25964 * gst/gstelement.c: (gst_element_dispose):
25965 Release a few potentially-held references in dispose.
25967 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25969 * docs/gst/tmpl/gstminiobject.sgml:
25970 do *not* add tmpl/*.sgml files to CVS!
25972 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25974 * libs/gst/bytestream/.cvsignore:
25975 * libs/gst/bytestream/Makefile.am:
25976 * libs/gst/bytestream/adapter.c:
25977 * libs/gst/bytestream/adapter.h:
25978 * libs/gst/bytestream/bytestream.c:
25979 * libs/gst/bytestream/bytestream.h:
25980 * libs/gst/bytestream/filepad.c:
25981 * libs/gst/bytestream/filepad.h:
25982 removing obsolete files
25984 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25986 * docs/gst/gstreamer-docs.sgml:
25987 * docs/libs/gstreamer-libs-docs.sgml:
25988 disabed additional index entries again, as this makes docs-gen just
25989 slow and they aren't useful yet
25990 * docs/libs/gstreamer-libs-sections.txt:
25991 little -section.txt cleanup for libs
25993 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25996 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25997 fix up some debugging
25998 (gst_base_transform_get_unit_size),
25999 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26000 (gst_base_transform_handle_buffer):
26001 * gst/base/gstbasetransform.h:
26002 handle and store timed NEWSEGMENT events so that subclasses that
26003 calculate time by counting samples have a segment_start time they
26004 need to add to their timestamps - see audioresample
26006 2005-08-26 Stefan Kost <ensonic@users.sf.net>
26009 removed ';' from the end of macro defs
26010 * docs/gst/gstreamer-docs.sgml:
26011 * docs/gst/gstreamer-sections.txt:
26012 * docs/gst/tmpl/.cvsignore:
26014 * gst/gstelement.c: (gst_element_class_init),
26015 (gst_element_set_state), (activate_pads),
26016 (gst_element_save_thyself):
26017 * gst/gstevent.c: (gst_event_new_newsegment):
26019 * gst/gstiterator.c:
26020 * gst/gstiterator.h:
26023 * gst/gstutils.c: (gst_pad_query_convert):
26025 fixed parameter name mismatches between source, header and docs
26026 added some more docs, resolved the last batch of unused elements in
26027 docs (now someone needs to doc them)
26029 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26031 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26032 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26033 don't walk through the plugins backwards. Where is all this
26034 reversed logic coming from ?
26036 2005-08-25 Wim Taymans <wim@fluendo.com>
26038 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26039 (gst_base_transform_transform_size),
26040 (gst_base_transform_configure_caps),
26041 (gst_base_transform_get_unit_size),
26042 (gst_base_transform_buffer_alloc),
26043 (gst_base_transform_change_state):
26044 * gst/base/gstbasetransform.h:
26045 Cache caps unit_size.
26046 Make sure we cannot negotiate up and downstream at the
26049 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26051 * gst/gst.c: (init_pre), (init_post):
26052 register the installed plugin path after the env var
26053 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26054 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26055 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26056 directories, so the tests can prefer uninstalled over installed
26058 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26060 * gst/base/gstbasetransform.h:
26065 2005-08-25 Wim Taymans <wim@fluendo.com>
26067 * gst/gstbin.c: (bin_bus_handler):
26068 Be a bit more conservative about the posted message.
26070 * gst/gstbus.c: (gst_bus_post):
26071 Some cleanups, warn wrong return values.
26073 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26075 * check/gst/gstbin.c: (GST_START_TEST):
26076 * gst/gstbin.c: (bin_bus_handler):
26077 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26078 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26079 (gst_message_new_warning), (gst_message_new_tag),
26080 (gst_message_new_state_changed), (gst_message_new_segment_start),
26081 (gst_message_new_segment_done), (gst_message_new_custom):
26082 * gst/gstmessage.h:
26083 * tools/gst-launch.c: (event_loop):
26084 * tools/gst-md5sum.c: (event_loop):
26085 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26087 2005-08-25 Wim Taymans <wim@fluendo.com>
26089 * check/generic/states.c: (GST_START_TEST):
26090 Cleanup can be done at the end.
26092 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26093 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26094 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26095 Oh boy.. Thanks for finding this, Thomas.
26097 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26099 * docs/gst/gstreamer.types:
26100 added missing types
26102 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26104 * docs/gst/gstreamer-docs.sgml:
26105 * docs/gst/gstreamer-sections.txt:
26106 * docs/gst/tmpl/.cvsignore:
26108 * gst/gstiterator.c:
26110 * gst/registries/gstxmlregistry.h:
26111 added missing classes and symbols (123 more to go)
26112 removed removed symbols from section file
26113 fixed many doc-comments
26115 2005-08-24 Wim Taymans <wim@fluendo.com>
26117 * check/generic/states.c: (GST_START_TEST):
26118 Make sure all tasks are stopped.
26120 * check/gst/gstbin.c: (GST_START_TEST):
26121 Unref after usage for proper valgrinding.
26123 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26124 Really wait for the task to stop before destroying the
26127 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26128 (gst_queue_src_activate_push):
26129 Small cleanups. Don't stop the task when we did not start
26132 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26133 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26134 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26137 Protect the stream lock with the object lock.
26138 Disallow setting the stream lock when running.
26139 Add cleanup_all to wait for the threadpool to finish.
26140 Remove code to autoallocate a mutex if none was provided.
26141 Add _join() to wait for a task to stop.
26142 Protect the thread pool with a global lock.
26144 2005-08-24 Wim Taymans <wim@fluendo.com>
26146 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26147 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26148 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26149 * gst/base/gstbasesink.h:
26150 Handle newsegment events correctly.
26151 Drop buffers out of the segment range.
26153 2005-08-22 Andy Wingo <wingo@pobox.com>
26155 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26156 macro, implements an interface and gstimplementsinterface for a
26159 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26161 * check/Makefile.am:
26162 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26163 add a test that does a bunch of state changes on elements
26164 needs some fixing for valgrind
26165 * check/states/sinks.c: (gst_object_suite):
26168 add prototype for gst_caps_is_equal_fixed
26170 * gst/gstregistrypool.c:
26173 2005-08-24 Andy Wingo <wingo@pobox.com>
26175 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26176 convert a negative value. Doesn't make much sense. Mostly this is
26177 here to force callers to ensure -1 maps to -1.
26179 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26181 * docs/pwg/advanced-types.xml:
26182 Well done to Michael for catching my deliberate introduction
26183 of this spelling mistake.
26184 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26185 * gst/gstelement.h:
26186 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26187 unlink pads before removing the element from the bin.
26189 2005-08-24 Andy Wingo <wingo@pobox.com>
26191 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26192 the same thing as GST_DEBUG=*:4.
26193 (parse_debug_level, parse_debug_category): New helper parsers.
26195 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26197 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26198 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26199 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26200 (gst_base_transform_buffer_alloc),
26201 (gst_base_transform_handle_buffer):
26202 use gboolean return values and pointers to size so we can use the
26203 full GST_BUFFER_SIZE range (guint) for buffer sizes
26204 use GstPadDirection for transform_caps
26205 * gst/base/gstbasetransform.h:
26206 rename get_size to get_unit_size since that's what it is
26207 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26208 use GstPadDirection for transform_caps
26209 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26211 cleanup and debugging
26213 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26215 * gst/gstelement.c: (gst_element_class_init),
26216 (gst_element_set_state), (activate_pads),
26217 (gst_element_save_thyself):
26218 * tools/gst-compprep.c: (main):
26219 * tools/gst-inspect.c: (print_element_properties_info):
26220 * tools/gst-xmlinspect.c: (print_element_properties):
26221 Fixed long standing mem-leak
26223 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26225 * check/gst/gstbin.c: (GST_START_TEST):
26226 * gst/gstbin.c: (bin_bus_handler):
26227 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26228 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26229 (gst_message_new_warning), (gst_message_new_tag),
26230 (gst_message_new_state_changed), (gst_message_new_segment_start),
26231 (gst_message_new_segment_done), (gst_message_new_custom):
26232 * gst/gstmessage.h:
26233 * tools/gst-launch.c: (event_loop):
26234 * tools/gst-md5sum.c: (event_loop):
26235 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26236 that applications can sensibly post custom messages with references
26237 to their own objects.
26239 2005-08-24 Andy Wingo <wingo@pobox.com>
26241 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26244 2005-08-24 Wim Taymans <wim@fluendo.com>
26246 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26247 (gst_base_transform_transform_caps),
26248 (gst_base_transform_transform_size),
26249 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26250 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26251 (gst_base_transform_handle_buffer):
26252 * gst/base/gstbasetransform.h:
26253 Many fixes and new features added by Thomas. Can now also do
26254 transforms with variable sizes and a custom fixate_caps function.
26256 2005-08-24 Wim Taymans <wim@fluendo.com>
26258 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26262 Cast to ClockTime before formatting to time.
26267 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26269 * check/gst-libs/controller.c: (GST_START_TEST),
26270 (gst_controller_suite):
26271 * docs/gst/tmpl/gstcaps.sgml:
26272 * docs/gst/tmpl/gstghostpad.sgml:
26273 * docs/gst/tmpl/gstquery.sgml:
26274 * docs/gst/tmpl/gstutils.sgml:
26275 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26276 (gst_object_sink_values), (gst_object_get_value_arrays),
26277 (gst_object_get_value_array):
26278 gracefully handle helper method calls to objects that are not beeing
26279 controlled, added test case for that
26281 2005-08-23 Wim Taymans <wim@fluendo.com>
26283 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26284 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26285 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26286 (gst_event_parse_qos), (gst_event_new_seek),
26287 (gst_event_parse_seek):
26289 Some more debugging output and doc cleanups.
26291 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26292 Fix possible deadlock.
26294 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26296 * docs/gst/gstreamer-docs.sgml:
26297 * docs/gst/gstreamer-sections.txt:
26298 * docs/gst/gstreamer.types:
26299 * docs/gst/tmpl/.cvsignore:
26302 * gst/gstelement.c:
26304 added 100 symbols from gstreamer-unused.txt to the right sections
26305 fixed more broken comments
26306 added GstBus to docs
26308 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26310 * docs/gst/gstreamer-sections.txt:
26311 * docs/gst/tmpl/.cvsignore:
26312 * docs/gst/tmpl/gstbin.sgml:
26313 * docs/gst/tmpl/gstbuffer.sgml:
26314 * gst/base/gstbasesrc.c:
26315 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26318 * tools/gst-launch.1.in:
26319 inlined more doc comments, added missing comments and fixed comments
26322 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26324 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26328 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26330 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26331 * gst/gststructure.h:
26332 add a fixate function for booleans; add a FIXME that these func
26333 names should probably be gst_structure_fixate_*
26335 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26337 * docs/gst/gstreamer-docs.sgml:
26338 * docs/gst/gstreamer-sections.txt:
26340 * gst/gstbin.c: (gst_bin_get_type),
26341 (gst_bin_child_proxy_get_child_by_index),
26342 (gst_bin_child_proxy_get_children_count),
26343 (gst_bin_child_proxy_init):
26344 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26345 (gst_child_proxy_get_child_by_index),
26346 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26347 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26348 (gst_child_proxy_get), (gst_child_proxy_set_property),
26349 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26350 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26351 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26352 * gst/gstchildproxy.h:
26353 * gst/parse/grammar.y:
26354 * tools/gst-inspect.c: (print_interfaces),
26355 (print_element_properties_info), (print_element_info):
26356 ported gstchildproxy over from 0.8
26357 ported gst-inspect fixes and enhancements over from 0.8
26359 2005-08-22 Wim Taymans <wim@fluendo.com>
26361 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26362 (gst_base_transform_handle_buffer):
26363 Also call the transform function if we have ANY caps.
26365 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26368 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26370 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26371 Don't pretend to handle seek events if the source is not seekable
26373 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26376 Remove extra parameter to debug output
26378 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26379 (gst_base_src_do_seek), (gst_base_src_activate_push):
26380 Fix seek event handling.
26382 * gst/gstpipeline.c: (gst_pipeline_change_state):
26383 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26384 (gst_queue_src_activate_push):
26385 Don't start the src pad task on FLUSH_STOP if the pad
26389 2005-08-22 Wim Taymans <wim@fluendo.com>
26391 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26392 Added check for gst_static_caps_get() refcounting.
26394 2005-08-22 Wim Taymans <wim@fluendo.com>
26396 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26397 Make _static_caps_get() refcounting sane.
26399 * gst/gstelement.c: (gst_element_set_state):
26400 Add g_return_val_if_fail() to protect against segfaults.
26402 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26404 * docs/gst/tmpl/gstevent.sgml:
26407 inlined remaining docs, added missing doc comments
26409 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26411 * check/gst/gstbin.c: (GST_START_TEST):
26412 since we don't know when preroll is done, use refcount range
26414 * gst/check/gstcheck.h:
26415 add macro for checking refcount range
26417 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26419 * check/Makefile.am:
26420 clean up environment for when registry gets built versus
26421 when actual tests are run; valgrind seems to not report
26422 leaks if GST_PLUGIN_PATH is set to some specific values
26423 * check/gst/gstbin.c: (GST_START_TEST):
26424 add more refcounting checks; maybe this exposes a
26426 * common/check.mak:
26427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26428 * gst/check/gstcheck.h:
26429 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26430 (gst_bin_change_state):
26431 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26432 add/fix debugging/whitespace
26434 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26436 * check/gst/gstevent.c: (event_probe), (test_event),
26438 Er, don't call gst_bin_watch_for_state_change you idiot.
26440 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26442 * check/Makefile.am:
26443 Use CHECK_CFLAGS and CHECK_LIBS
26444 * check/gst/gstevent.c: (event_probe), (test_event),
26447 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26448 (gst_base_src_start), (gst_base_src_stop),
26449 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26450 (gst_base_src_change_state):
26451 Sprinkle gst_base_src_stop liberally around error paths to fix
26452 problems reusing a source after failed state changes.
26453 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26454 (helper_find_suggest), (gst_type_find_helper):
26455 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26457 * docs/gst/tmpl/gstevent.sgml:
26458 Migrate part of the docs from the SGML file. Wait for ensonic to
26459 tell me how I did it wrong ;)
26460 * tools/gst-typefind.c: (main):
26461 Extra robustness to state changes between files.
26463 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26465 * check/Makefile.am:
26466 don't valgrind the controller test - it's leaking - Stefan, HELP
26467 * gst/check/gstcheck.c: (gst_check_message_error),
26468 (gst_check_chain_func), (gst_check_setup_element),
26469 (gst_check_teardown_element), (gst_check_setup_src_pad),
26470 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26471 (gst_check_teardown_sink_pad):
26472 * gst/check/gstcheck.h:
26473 add a bunch of methods to set up elements, and src and sink pads
26474 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26475 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26478 * gst/gstmessage.c:
26480 whitespace/doc fixes
26482 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26484 * gst/gstelement.h:
26485 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26486 be handled by the application and not always printed as well
26488 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26490 * check/Makefile.am:
26492 * gst/check/gstcheck.c: (gst_check_message_error):
26493 * gst/check/gstcheck.h:
26494 add a fail_unless_equals_int
26495 add fail_unless for error messages
26497 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26499 * check/Makefile.am:
26501 * common/Makefile.am:
26502 * common/check.mak:
26504 factor out some of the common stuff so we can use it
26506 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26508 * check/Makefile.am:
26509 * check/gst/gstiterator.c: (GST_START_TEST):
26510 * check/gst/gstsystemclock.c: (GST_START_TEST),
26511 (gst_systemclock_suite):
26512 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26514 valgrind more tests
26516 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26518 * check/elements/.cvsignore:
26519 * check/elements/gstfakesrc.c:
26520 rename to name of element
26521 * check/elements/identity.c: (chain_func), (event_func),
26522 (setup_identity), (cleanup_identity), (GST_START_TEST),
26523 (identity_suite), (main):
26524 add a test for identity
26525 * check/Makefile.am:
26526 * pkgconfig/Makefile.am:
26527 * pkgconfig/gstreamer-check.pc.in:
26528 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26532 move the check stuff to a library that gets installed
26533 * check/gst-libs/controller.c: (GST_START_TEST):
26534 * check/gst-libs/gdp.c:
26535 * check/gst/gst.c: (GST_START_TEST):
26536 * check/gst/gstbin.c:
26537 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26538 * check/gst/gstbus.c:
26539 * check/gst/gstcaps.c: (GST_START_TEST):
26540 * check/gst/gstelement.c:
26541 * check/gst/gstghostpad.c:
26542 * check/gst/gstiterator.c:
26543 * check/gst/gstmessage.c:
26544 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26545 * check/gst/gstobject.c:
26546 * check/gst/gstpad.c: (GST_START_TEST):
26547 * check/gst/gststructure.c: (GST_START_TEST):
26548 * check/gst/gstsystemclock.c: (GST_START_TEST),
26549 (gst_systemclock_suite):
26550 * check/gst/gsttag.c: (gst_tag_suite):
26551 * check/gst/gstvalue.c:
26552 * check/pipelines/cleanup.c:
26553 * check/pipelines/simple_launch_lines.c:
26554 * check/states/sinks.c:
26555 change include statement
26557 * docs/gst/gstreamer-sections.txt:
26558 * docs/gst/tmpl/gstpad.sgml:
26559 document more pad stuff
26560 * gst/gstminiobject.c: (gst_mini_object_ref),
26561 (gst_mini_object_unref):
26564 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26566 * docs/gst/tmpl/gst.sgml:
26568 eliminate another tmpl file, fix spelling in the long-description
26570 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26572 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26573 (test_event), (timediff), (gstevents_suite):
26574 Should fix build on 64-bit arch's
26576 2005-08-18 Andy Wingo <wingo@pobox.com>
26578 Make sure that when a pipeline goes to PLAYING, that data has
26579 actually hit the sink.
26581 * check/states/sinks.c (test_sink): A sink that doesn't get any
26582 data shouldn't return SUCCESS for going to either PLAYING or
26583 PAUSED. Test also the return values on the way back down.
26585 * gst/gstelement.c (gst_element_set_state): When changing the
26586 state of an element currently changing state asynchronously, go to
26587 lost-state after commiting the pending state. Makes future calls
26588 to get_state continue to return ASYNC.
26590 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26591 ASYNC when going to PLAYING if we still don't have preroll, as can
26592 happen with live sources.
26594 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26596 * docs/pwg/advanced-types.xml:
26597 Hack long paragraph into 2 chunks as a workaround for buggy
26598 jadetex version in sid and breezy that loops infinitely and
26601 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26603 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26604 (test_event), (timediff), (gstevents_suite):
26605 Provide more error margin in clock measurements to allow for
26606 g_get_current_time inaccuracies.
26608 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26610 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26611 (test_event), (timediff), (gstevents_suite):
26612 Fix error message output so I might be able to tell why the
26613 test works here but fails on the build farm.
26615 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26617 * check/Makefile.am:
26618 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26619 (test_event), (timediff), (gstevents_suite), (main):
26622 * docs/design/part-seeking.txt:
26623 Spelling correction
26625 * docs/gst/tmpl/gstevent.sgml:
26626 * docs/gst/tmpl/gstfakesrc.sgml:
26629 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26630 Treat a buffer-without-newsegment the same as a receiving
26631 a newsegment not in time format, and disable syncing to the clock
26634 * gst/gstbus.c: (gst_bus_set_sync_handler):
26635 Assert if anyone tries to replace the existing sync_handler for bus,
26636 as only the owner should be setting it.
26639 Have a fixed set of custom event enums with events identified by
26640 their structure name (as in 0.8), rather than a free-for-all
26641 allowing collisions between enum values from different plugins.
26643 * gst/gstpad.c: (gst_pad_class_init):
26646 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26647 Handle out-of-band downstream events from the sending thread.
26649 2005-08-17 Andy Wingo <wingo@pobox.com>
26651 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26652 play-timeout==0 to mean no timeout at all. In that case, don't
26653 bother with a get_state or a warning, just return directly, even
26656 * gst/base/gstbasetransform.c: Debug changes.
26659 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26660 ensure bins post state change messages. A bit of a hack but I can't
26661 think of a way to avoid it.
26663 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26665 2005-08-16 Andy Wingo <wingo@pobox.com>
26667 * gst/base/gstadapter.h:
26668 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26669 peek() but you own the data. Not terribly efficient atm.
26671 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26673 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26674 (gst_element_found_tags):
26676 Add two utility functions for tag handling.
26678 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26680 * docs/manual/advanced-dataaccess.xml:
26681 * docs/manual/basics-helloworld.xml:
26682 Fix docs to use _bin_add() before _link(), which fixes the examples
26683 with recent core versions (reported by Madhan Raj M
26684 <raj_madan@rediffmail.com>, #313199).
26686 2005-08-16 Wim Taymans <wim@fluendo.com>
26688 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26689 Added subtract checks.
26691 * docs/design/part-events.txt:
26692 Some more docs about newsegment
26694 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26697 * gst/gstcaps.c: (gst_caps_to_string):
26698 Add comments, cleanups.
26700 * gst/gstelement.c: (gst_element_save_thyself):
26703 * gst/gstvalue.c: (gst_value_collect_int_range),
26704 (gst_string_unwrap), (gst_value_union_int_int_range),
26705 (gst_value_union_int_range_int_range),
26706 (gst_value_intersect_int_int_range),
26707 (gst_value_intersect_int_range_int_range),
26708 (gst_value_intersect_double_double_range),
26709 (gst_value_intersect_double_range_double_range),
26710 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26711 (gst_value_subtract_int_range_int),
26712 (gst_value_subtract_double_range_double),
26713 (gst_value_subtract_double_range_double_range),
26714 (gst_value_subtract_from_list), (gst_value_subtract_list),
26715 (gst_value_can_compare), (gst_value_compare_fraction):
26716 Cleanups, add comments, remove unneeded asserts.
26718 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26720 * tools/gst-launch.c: (event_loop):
26721 don't convert NULL structures to strings
26723 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26725 * docs/gst/gstreamer-sections.txt:
26726 made some defines private
26727 * docs/gst/tmpl/gstconfig.sgml:
26728 * docs/gst/tmpl/gstqueue.sgml:
26729 * docs/gst/tmpl/gsttaglist.sgml:
26730 * docs/gst/tmpl/gsttypes.sgml:
26731 * docs/gst/tmpl/gstutils.sgml:
26732 * docs/pwg/appendix-porting.xml:
26733 * gst/base/gstbasesink.h:
26734 * gst/base/gstbasesrc.c:
26735 * gst/base/gstbasesrc.h:
26736 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26737 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26738 * gst/gstelement.c: (gst_element_class_init):
26739 * gst/gstpad.c: (gst_pad_class_init):
26740 * gst/gstqueue.c: (gst_queue_class_init):
26741 * gst/gstxml.c: (gst_xml_class_init):
26742 documented all undocumented signal inline
26743 * libs/gst/controller/gst-controller.h:
26746 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26748 * docs/pwg/appendix-porting.xml:
26749 Document _set_link_function -> _set_setcaps_function.
26751 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26753 * check/Makefile.am:
26754 add a .check target for running the check
26755 * check/gst-libs/controller.c: (GST_START_TEST):
26757 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26758 complete checks for gstbuffer; would be nice if I could get the
26759 gcov stuff to work so I can see if I actually completed gstbuffer.c
26760 * check/gstcheck.h:
26761 add ASSERT_BUFFER_REFCOUNT
26763 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26765 * docs/gst/gstreamer-sections.txt:
26766 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26768 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26769 spew out a warning if a tag that is already registered
26770 is re-registered, unless it is re-registered with a
26771 different type (#308438).
26773 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26775 * docs/pwg/appendix-porting.xml:
26776 * docs/pwg/building-state.xml:
26777 Add some paragraphs about state changes in 0.9 to the PWG
26778 and the porting guide, in particular about the new meaning
26779 of GST_STATE_PAUSED and how to write state change functions
26780 with concurrent access by multiple threads in mind.
26782 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26784 * docs/gst/gstreamer-docs.sgml:
26785 * docs/libs/gstreamer-libs-docs.sgml:
26786 added deprecation and since indexes
26787 * libs/gst/controller/gst-controller.c:
26788 * libs/gst/controller/gst-helper.c:
26792 2005-08-11 Wim Taymans <wim@fluendo.com>
26794 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26795 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26796 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26797 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26798 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26799 (gst_ghost_pad_set_target):
26800 Actually implement (re)setting the target on a ghostpad
26801 as described in the docs.
26803 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26805 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26806 Check whether GST_DEBUG_NO_COLOR environment variable is
26807 set and disable coloured debug output if that is the case.
26809 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26811 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26812 (gst_type_find_helper):
26813 The memory returned by gst_type_find_peek() needs to
26814 stay valid until the end of a typefind function, and
26815 typefind functions may keep results from different
26816 offsets around, so we can't just unref the buffer from
26817 the previous _peek(), but have to save all buffers
26818 returned by _peek() until typefinding is done and only
26821 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26823 * docs/gst/gstreamer-sections.txt:
26825 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26827 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26829 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26830 Fix a pretty good memleak.
26832 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26834 * gst/gstiterator.h:
26835 Fix wrong include and 'make distcheck'.
26837 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26839 * gst/gstbin.c: (bin_bus_handler):
26840 Use gst_element_post_message() instead.
26842 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26844 * gst/base/gstadapter.h:
26845 * gst/base/gstbasesink.h:
26846 * gst/base/gstbasesrc.h:
26847 * gst/base/gstbasetransform.h:
26848 * gst/base/gstcollectpads.h:
26849 * gst/base/gstpushsrc.h:
26850 * gst/gstiterator.h:
26851 Add padding to our base elements' class and instance structs and
26852 to GstIterator (you will need to rebuild all plugins and apps!)
26854 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26856 * gst/gstbin.c: (bin_bus_handler):
26857 Make default message forwarding from child->bus to bin->bus
26858 threadsafe and make it not emit warnings if the parent has no bus.
26860 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26862 * gst/gstelement.c: (activate_pads):
26863 On paused->ready, set pad->caps to NULL, as is the documented
26864 behaviour in this state change. Fixes playback of series of
26865 media files when visualization is enabled in Totem.
26867 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26869 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26870 Allow NULL as filter-caps (which means "any").
26872 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26874 * docs/libs/gstreamer-libs-sections.txt:
26875 * libs/gst/controller/gst-controller.c:
26876 * libs/gst/controller/gst-controller.h:
26877 * libs/gst/controller/gst-helper.c:
26878 adding more entries to the docs and fix small doc-bugs
26880 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26882 * docs/gst/gstreamer-docs.sgml:
26883 * docs/gst/gstreamer-sections.txt:
26884 * docs/gst/gstreamer.types:
26885 * docs/gst/tmpl/gstbasesink.sgml:
26886 * docs/gst/tmpl/gstbasesrc.sgml:
26887 * docs/gst/tmpl/gstbasetransform.sgml:
26888 * docs/gst/tmpl/gstfakesrc.sgml:
26889 * gst/base/gstcollectpads.c:
26890 * gst/base/gstcollectpads.h:
26891 * libs/gst/controller/gst-controller.c:
26892 * libs/gst/controller/gst-controller.h:
26893 * libs/gst/controller/gst-helper.c:
26894 * libs/gst/controller/gst-interpolation.c:
26895 * libs/gst/controller/lib.c:
26896 added long/short desc for controller docs
26897 added collectpads base class docs
26898 added correct includes to base-class docs
26900 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26902 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26903 (gst_test_mono_source_set_property),
26904 (gst_test_mono_source_class_init), (GST_START_TEST),
26905 (gst_controller_suite):
26906 * docs/gst/gstreamer-docs.sgml:
26907 * docs/gst/gstreamer-sections.txt:
26908 * docs/gst/gstreamer.types:
26909 * docs/libs/gstreamer-libs-docs.sgml:
26910 * docs/libs/gstreamer-libs-sections.txt:
26911 * gst/base/gstadapter.c:
26912 * libs/gst/controller/gst-controller.c:
26913 (gst_controlled_property_new), (gst_controlled_property_free),
26914 (gst_controller_new_valist),
26915 (gst_controller_remove_properties_valist),
26916 (gst_controller_sink_values), (_gst_controller_finalize):
26917 * libs/gst/controller/gst-controller.h:
26918 * libs/gst/controller/gst-helper.c:
26919 (gst_object_control_properties), (gst_object_uncontrol_properties),
26920 (gst_object_get_controller), (gst_object_set_controller),
26921 (gst_object_sink_values), (gst_object_get_value_arrays),
26922 (gst_object_get_value_array):
26923 more tests (and fixes) for the controller
26924 more docs for the controller
26925 integrated companies docs for the adapter
26927 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26929 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26930 (GST_START_TEST), (fakesrc_suite):
26931 add tests for sizetype
26933 2005-08-04 Andy Wingo <wingo@pobox.com>
26935 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26936 fixes buffer_alloc proxying among other things.
26938 * gst/base/gstbasetransform.c:
26939 * gst/base/gstbasetransform.h:
26940 Revert patch to gstbasetransform from 7-28 removing
26943 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26944 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26945 Semantics changed, should return not the size of the output buffer
26946 but the byte size of a buffer with a given caps.
26948 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26950 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26951 out) are not the pad caps until setcaps finishes.
26952 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26953 not-in-place case as well. Deal with changing from in-place to
26954 not-in-place within calling pad_alloc_buffer. Still a bit
26955 concerned about the overhead here...
26957 2005-08-03 Andy Wingo <wingo@pobox.com>
26959 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26960 fixating is an error.
26962 2005-08-04 Edward Hervey <edward@fluendo.com>
26964 * gst/base/gstadapter.h:
26965 Added gst_adapter_get_type() to the header
26967 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26969 * check/Makefile.am:
26970 * check/gst-libs/controller.c:
26971 * libs/gst/controller/gst-controller.c:
26972 (gst_controller_new_valist):
26973 added check test suite for the controller
26974 * gst/base/gstpushsrc.c:
26977 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26979 * docs/gst/Makefile.am:
26980 * docs/gst/gstreamer-docs.sgml:
26981 * docs/gst/gstreamer-sections.txt:
26982 * docs/gst/gstreamer.types:
26983 * docs/gst/tmpl/gstfakesrc.sgml:
26985 * gst/base/gstbasesink.c:
26986 * gst/base/gstbasesink.h:
26987 * gst/base/gstbasesrc.c:
26988 * gst/base/gstbasesrc.h:
26989 * gst/base/gstbasetransform.c:
26990 * gst/base/gstpushsrc.c:
26991 * gst/base/gstpushsrc.h:
26992 add short/long description docs to base classes
26993 add pushsrc to the docs
26994 remove consolidated doc fragments
26996 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26999 * docs/libs/Makefile.am:
27000 * docs/libs/gstreamer-libs-docs.sgml:
27001 * docs/libs/gstreamer-libs-sections.txt:
27002 * docs/libs/gstreamer-libs.types:
27003 * examples/Makefile.am:
27004 * examples/controller/.cvsignore:
27005 * examples/controller/Makefile.am:
27006 * examples/controller/audio-example.c: (main):
27007 * libs/gst/Makefile.am:
27008 * libs/gst/controller/.cvsignore:
27009 * libs/gst/controller/Makefile.am:
27010 * libs/gst/controller/gst-controller.c:
27011 (on_object_controlled_property_changed), (gst_timed_value_compare),
27012 (gst_timed_value_find),
27013 (gst_controlled_property_set_interpolation_mode),
27014 (gst_controlled_property_new), (gst_controlled_property_free),
27015 (gst_controller_find_controlled_property),
27016 (gst_controller_new_valist), (gst_controller_new),
27017 (gst_controller_remove_properties_valist),
27018 (gst_controller_remove_properties), (gst_controller_set),
27019 (gst_controller_set_from_list), (gst_controller_unset),
27020 (gst_controller_get), (gst_controller_get_all),
27021 (gst_controller_sink_values), (gst_controller_get_value_arrays),
27022 (gst_controller_get_value_array),
27023 (gst_controller_set_interpolation_mode),
27024 (_gst_controller_finalize), (_gst_controller_init),
27025 (_gst_controller_class_init), (gst_controller_get_type):
27026 * libs/gst/controller/gst-controller.h:
27027 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27028 (g_object_uncontrol_properties), (g_object_get_controller),
27029 (g_object_set_controller), (g_object_sink_values),
27030 (g_object_get_value_arrays), (g_object_get_value_array):
27031 * libs/gst/controller/gst-interpolation.c:
27032 (gst_controlled_property_find_timed_value_node),
27033 (interpolate_none_get), (interpolate_trigger_get),
27034 (interpolate_trigger_get_value_array):
27035 * libs/gst/controller/lib.c: (gst_controller_init):
27036 * pkgconfig/Makefile.am:
27037 * pkgconfig/gstreamer-control-uninstalled.pc.in:
27038 * pkgconfig/gstreamer-control.pc.in:
27039 * testsuite/Makefile.am:
27040 * testsuite/controller/.cvsignore:
27041 * testsuite/controller/Makefile.am:
27042 * testsuite/controller/interpolator.c: (main):
27043 added controller code
27044 removed dparam pc files
27046 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27047 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27048 (gst_collectpads_stop):
27049 Broadcast the condition when shutting down, to make sure we wake all
27050 threads up. Shut down pads on finalize, for safety.
27052 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27053 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27054 (gst_base_transform_handle_buffer),
27055 (gst_base_transform_change_state):
27056 Handle PAUSED->READY->PAUSED transition after negotiation
27058 * gst/gstmessage.c: (gst_message_init):
27059 Extra piece of debug for new messages.
27061 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27064 * docs/gst/tmpl/gstbasesrc.sgml:
27065 * docs/gst/tmpl/gstelement.sgml:
27066 * docs/gst/tmpl/gstevent.sgml:
27067 * docs/gst/tmpl/gstfakesrc.sgml:
27068 * docs/gst/tmpl/gstformat.sgml:
27069 * docs/gst/tmpl/gstghostpad.sgml:
27070 * docs/gst/tmpl/gstpad.sgml:
27071 * docs/gst/tmpl/gstquery.sgml:
27072 * docs/gst/tmpl/gststructure.sgml:
27073 * docs/gst/tmpl/gsttaglist.sgml:
27074 * docs/gst/tmpl/gstvalue.sgml:
27075 * docs/libs/gstreamer-libs-docs.sgml:
27076 * docs/libs/gstreamer-libs-sections.txt:
27077 * docs/libs/gstreamer-libs.types:
27078 * libs/gst/Makefile.am:
27079 * libs/gst/control/.cvsignore:
27080 * libs/gst/control/Makefile.am:
27081 * libs/gst/control/control.c:
27082 * libs/gst/control/control.h:
27083 * libs/gst/control/dparam.c:
27084 * libs/gst/control/dparam.h:
27085 * libs/gst/control/dparam_smooth.c:
27086 * libs/gst/control/dparam_smooth.h:
27087 * libs/gst/control/dparamcommon.h:
27088 * libs/gst/control/dparammanager.c:
27089 * libs/gst/control/dparammanager.h:
27090 * libs/gst/control/dplinearinterp.c:
27091 * libs/gst/control/dplinearinterp.h:
27092 * libs/gst/control/unitconvert.c:
27093 * libs/gst/control/unitconvert.h:
27094 * testsuite/Makefile.am:
27095 * testsuite/dynparams/.cvsignore:
27096 * testsuite/dynparams/Makefile.am:
27097 * testsuite/dynparams/dparamstest.c:
27098 * tools/Makefile.am:
27099 * tools/gst-inspect.c: (print_element_info), (main):
27100 * tools/gst-xmlinspect.c: (print_element_info), (main):
27101 deactivate and remove dparams (libgstcontrol)
27103 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27105 * gst/elements/gsttypefindelement.c:
27106 (gst_type_find_element_have_type), (gst_type_find_element_init),
27107 (stop_typefinding), (gst_type_find_element_handle_event),
27108 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27109 * gst/elements/gsttypefindelement.h:
27110 Set caps on all outgoing buffers, not just the first one.
27112 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27114 * gst/elements/gsttypefindelement.c:
27115 (gst_type_find_element_have_type),
27116 (gst_type_find_element_check_set_buffer_caps),
27117 (gst_type_find_element_init), (stop_typefinding),
27118 (gst_type_find_element_handle_event),
27119 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27120 * gst/elements/gsttypefindelement.h:
27121 Set caps on first outgoing buffer when we've found the type.
27123 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27125 * docs/gst/gstreamer-docs.sgml:
27126 * docs/gst/gstreamer-sections.txt:
27127 * docs/gst/tmpl/gstscheduler.sgml:
27128 * docs/gst/tmpl/gstschedulerfactory.sgml:
27129 Remove some old cruft from docs.
27131 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27134 Fix inline docs for GstPadLinkReturn.
27136 * gst/gststructure.c: (gst_structure_has_name):
27137 * gst/gststructure.h:
27138 * docs/gst/gstreamer-sections.txt:
27139 New API: gst_structure_has_name().
27141 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27144 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27145 and _LARGEFILE_SOURCE in config.h as required. Do not
27146 export those flags in our .pc files any longer (#142209).
27148 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27150 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27151 (gst_file_sink_do_seek), (gst_file_sink_event),
27152 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27153 Redo seek/tell calls with large file support in mind; add some
27154 debugging messages; add log message that tells us when large
27155 file support is unavailable or not enabled for some reason.
27157 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27158 Add log message that tells us when large file support
27159 is unavailable or not enabled for some reason.
27161 2005-07-29 Wim Taymans <wim@fluendo.com>
27163 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27164 Added test for removing an element with ghostpad from a bin.
27165 Fixed test as current implementation does the right thing.
27167 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27168 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27169 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27170 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27171 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27172 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27173 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27174 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27175 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27176 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27177 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27178 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27179 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27180 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27181 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27182 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27183 * gst/gstghostpad.h:
27184 Clean up ghostpads, remove properties for internal stuff.
27187 Prepare for switching targets, not all use cases work yet.
27189 2005-07-29 Wim Taymans <wim@fluendo.com>
27191 * docs/design/part-gstghostpad.txt:
27194 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27195 (gst_bin_remove_func):
27196 Unlinking pads while holding the bin LOCK is not a good
27199 * gst/gstpad.c: (gst_pad_class_init),
27200 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27201 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27202 No prob setting template after creating the pad.
27204 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27206 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27207 (gst_bus_peek), (gst_bus_source_dispatch),
27208 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27209 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27210 gst_bus_poll may be called from other threads. Handle
27211 this nicely by not making poll_data disappear off the
27212 stack once gst_bus_poll returns.
27213 gst_bus_peek now increments the refcount on the returned
27216 2005-07-29 Wim Taymans <wim@fluendo.com>
27218 * docs/design/part-gstghostpad.txt:
27219 Overview of current GhostPad datastructures and use
27220 cases for changing the target.
27222 2005-07-28 Wim Taymans <wim@fluendo.com>
27224 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27225 Added checks for hierarchy consistency whan adding linked
27228 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27229 Added check to test element scheduling without bin/pipeline.
27231 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27232 First add elements to bin, then link.
27234 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27235 (gst_bin_remove_func):
27236 Unlink pads from elements added/removed from bin to maintain
27237 hierarchy consistency.
27239 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27241 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27242 (gst_base_transform_handle_buffer):
27243 * gst/base/gstbasetransform.h:
27244 Remove broken delay_configure (fixes renegotiation of software
27245 scaling pipelines); remove some leftover printf()s.
27247 2005-07-28 Wim Taymans <wim@fluendo.com>
27249 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27250 Added some more tests for wrong hierarchy
27252 * docs/design/part-overview.txt:
27255 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27258 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27259 (gst_element_dispose):
27260 Some more cleanups.
27262 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27263 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27264 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27265 (gst_pad_set_caps), (gst_pad_send_event):
27266 Check for correct hierarchy when linking pads. Moving to
27267 strict requirement for ghostpads when linking elements in
27271 Clean ups. Added WRONG_HIERARCHY return value.
27273 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27275 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27276 Better debug if no transform is possible.
27278 2005-07-27 Wim Taymans <wim@fluendo.com>
27280 * docs/random/wtay/network-transp:
27281 Some old doc I had.
27283 2005-07-27 Wim Taymans <wim@fluendo.com>
27285 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27286 (gst_dp_event_from_packet):
27287 Fix serialization of seek events.
27289 2005-07-27 Wim Taymans <wim@fluendo.com>
27291 * check/gst-libs/gdp.c: (GST_START_TEST):
27292 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27293 Fix compilation and fix event serialization.
27295 2005-07-27 Wim Taymans <wim@fluendo.com>
27298 * docs/design/part-TODO.txt:
27299 * docs/design/part-events.txt:
27302 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27303 (gst_base_sink_event), (gst_base_sink_do_sync),
27304 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27305 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27306 (gst_base_src_do_seek), (gst_base_src_event_handler),
27307 (gst_base_src_loop):
27308 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27309 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27310 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27311 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27312 (gst_base_transform_set_passthrough),
27313 (gst_base_transform_is_passthrough):
27314 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27315 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27321 * gst/gstelement.c: (gst_element_seek):
27322 * gst/gstelement.h:
27323 Update gst_element_seek.
27325 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27326 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27327 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27328 (gst_event_new_eos), (gst_event_new_newsegment),
27329 (gst_event_parse_newsegment), (gst_event_new_tag),
27330 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27331 (gst_event_parse_qos), (gst_event_new_seek),
27332 (gst_event_parse_seek), (gst_event_new_navigation):
27334 Make GstEvent use GstStructure. Add parsing code, make sure the
27335 API is sufficiently generic.
27336 Mark possible directions of events and serialization.
27338 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27339 (_gst_message_copy), (gst_message_new_segment_start),
27340 (gst_message_new_segment_done), (gst_message_new_custom),
27341 (gst_message_parse_segment_start),
27342 (gst_message_parse_segment_done):
27345 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27346 (gst_pad_set_caps), (gst_pad_send_event):
27347 Update for new events.
27348 Catch events sent in wrong directions.
27350 * gst/gstqueue.c: (gst_queue_link_src),
27351 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27352 (gst_queue_handle_src_query):
27357 Remove event code from this file.
27359 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27360 (gst_dp_event_from_packet):
27363 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27365 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27366 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27367 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27368 Make debugging actually useful.
27370 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27372 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27373 (gst_pad_fixate_caps):
27374 Implement default fixation once again, so that gst_pad_fixate()
27375 actually does anything at all. This probably needs to be some
27376 sort of a last resort, and use profile-based fixation first, but
27377 since that doesn't exist yet, this is the best we have. Fixes
27378 visualization in Totem.
27380 2005-07-22 Wim Taymans <wim@fluendo.com>
27382 * docs/design/part-events.txt:
27385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27386 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27387 (gst_base_sink_activate_pull):
27388 Some more comments.
27390 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27391 (gst_fake_src_create):
27392 Fix handoff marshall.
27394 * gst/elements/gstidentity.c: (gst_identity_class_init),
27395 (gst_identity_transform_ip):
27396 We're a real inplace element.
27398 * gst/gstbus.c: (gst_bus_post):
27399 Added some comments.
27401 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27402 * tests/muxing/case1.c: (main):
27403 * tests/sched/dynamic-pipeline.c: (main):
27404 * tests/sched/interrupt1.c: (main):
27405 * tests/sched/interrupt2.c: (main):
27406 * tests/sched/interrupt3.c: (main):
27407 * tests/sched/runxml.c: (main):
27408 * tests/sched/sched-stress.c: (main):
27409 * tests/seeking/seeking1.c: (event_received), (main):
27410 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27412 * tests/threadstate/threadstate3.c: (main):
27413 * tests/threadstate/threadstate4.c: (main):
27414 * tests/threadstate/threadstate5.c: (main):
27417 2005-07-21 Wim Taymans <wim@fluendo.com>
27419 * docs/design/part-seeking.txt:
27420 Some small additions.
27422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27423 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27424 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27425 * gst/base/gstbasesink.h:
27426 discont values are gint64, handle the math correctly.
27428 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27429 Make the basesrc report error if the source pad is not linked.
27431 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27432 (gst_queue_loop), (gst_queue_handle_src_query),
27433 (gst_queue_src_activate_push):
27434 Make queue collect data even if the srcpad is not linked.
27435 Start pushing out data as soon as it is linked.
27437 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27439 Added gst_flow_get_name() to ease error reporting.
27441 2005-07-20 Wim Taymans <wim@fluendo.com>
27443 * gst/gstmessage.c: (gst_message_new_segment_start),
27444 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27445 (gst_message_parse_segment_done):
27446 * gst/gstmessage.h:
27447 Added a bunch of messages for advanced seeking.
27449 * gst/parse/grammar.y:
27450 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27451 (gst_dpman_state_changed):
27452 Fix some new-pad -> pad-added signals
27454 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27456 * docs/manual/appendix-porting.xml:
27457 * docs/pwg/appendix-porting.xml:
27458 Document new-pad/state-change signal renames and the FixedList
27461 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27463 * docs/manual/advanced-autoplugging.xml:
27464 * docs/manual/basics-helloworld.xml:
27465 * docs/manual/basics-pads.xml:
27466 * docs/random/ds/0.9-suggested-changes:
27467 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27468 * gst/gstelement.h:
27472 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27473 (gst_structure_parse_array), (gst_structure_parse_value):
27474 * gst/gstvalue.c: (gst_type_is_fixed),
27475 (gst_value_list_prepend_value), (gst_value_list_append_value),
27476 (gst_value_list_get_size), (gst_value_list_get_value),
27477 (gst_value_transform_array_string), (gst_value_serialize_array),
27478 (gst_value_deserialize_array), (gst_value_intersect_array),
27479 (gst_value_is_fixed), (_gst_value_initialize):
27481 GstElement::new-pad -> pad-added, GstElement::state-change ->
27482 state-changed, GstValueFixedList -> GstValueArray, add format and
27483 flags as their own arguments in gst_element_seek() (should improve
27484 "bindeability"), remove function generators since they don't work
27485 under a whole bunch of compilers (they were deprecated already
27488 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27490 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27491 (_gst_debug_register_funcptr):
27493 Fix illegal cast on some platforms (#309253).
27495 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27497 * gst/gstmessage.c: (gst_message_new_custom):
27498 * gst/gstmessage.h:
27499 Add _new_custom, make _new_application a macro to _new_custom.
27501 2005-07-20 Wim Taymans <wim@fluendo.com>
27503 * gst/base/gstbasesrc.c: (gst_base_src_init),
27504 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27505 * gst/base/gstbasesrc.h:
27506 Add a gboolean to decide when to push out a discont.
27508 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27509 (gst_queue_loop), (gst_queue_handle_src_query),
27510 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27511 (gst_queue_set_property), (gst_queue_get_property):
27514 * tests/threadstate/threadstate1.c: (main):
27515 Make a thread test compile and run... very silly..
27518 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27520 * docs/manual/appendix-porting.xml:
27521 Mention removal of libgstgconf-0.9.la and existence of gconf
27524 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27526 * docs/pwg/advanced-clock.xml:
27527 * docs/pwg/appendix-porting.xml:
27528 * docs/pwg/intro-preface.xml:
27529 * docs/pwg/other-base.xml:
27530 * docs/pwg/other-manager.xml:
27531 * docs/pwg/other-nton.xml:
27532 * docs/pwg/other-ntoone.xml:
27533 * docs/pwg/other-oneton.xml:
27534 * docs/pwg/pwg.xml:
27535 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27536 demuxer), remove n-to-n (was never written), fix some code examples
27537 and links and update the porting section to include all this.
27539 2005-07-19 Wim Taymans <wim@fluendo.com>
27541 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27542 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27543 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27544 (gst_queue_src_activate_push), (gst_queue_change_state),
27545 (gst_queue_get_property):
27547 Propagate GstFlowReturn more intelligently upstream and output
27548 an ERROR/EOS when streaming stopped due to fatal error.
27550 2005-07-19 Wim Taymans <wim@fluendo.com>
27552 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27553 Don't block forever for the state change to complete, the
27554 pipeline already did with a sensible timeout.
27556 2005-07-19 Wim Taymans <wim@fluendo.com>
27558 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27559 Make sure we never call the create function is we
27562 2005-07-19 Andy Wingo <wingo@pobox.com>
27564 * gst/parse/parse.l: Attempt to solve bug #172815.
27566 2005-07-19 Wim Taymans <wim@fluendo.com>
27568 * docs/design/part-clocks.txt:
27569 * docs/design/part-events.txt:
27570 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27571 Small docs updates.
27572 Only update the seeking values when we are not
27575 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27577 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27578 Oops, ignore the result of gst_pad_push_event here.
27580 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27582 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27583 (gst_base_src_activate_push):
27584 Send discont event from the loop function, as pads
27585 aren't activated yet in the activate_push handler.
27587 * gst/gstbin.c: (bin_bus_handler):
27588 Don't leak element name.
27590 2005-07-18 Andy Wingo <wingo@pobox.com>
27592 * configure.ac: Use AS_LIBTOOL_TAGS.
27594 2005-07-18 Wim Taymans <wim@fluendo.com>
27596 * docs/gst/gstreamer.types:
27597 Remove deleted types.
27599 2005-07-18 Wim Taymans <wim@fluendo.com>
27601 * check/elements/gstfakesrc.c: (GST_START_TEST):
27604 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27605 (init_popt_callback):
27607 * gst/gst_private.h:
27608 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27609 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27612 * gst/gstconfig.h.in:
27613 * gst/gstelement.c: (gst_element_class_init),
27614 (gst_element_set_base_time), (gst_element_get_base_time),
27615 (iterator_fold_with_resync), (gst_element_change_state),
27616 (gst_element_dispose), (gst_element_get_bus):
27617 * gst/gstelement.h:
27618 * gst/gstelementfactory.h:
27619 * gst/gsterror.c: (_gst_core_errors_init):
27622 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27624 * gst/gstinfo.c: (_gst_debug_init):
27625 * gst/gstmessage.c: (_gst_message_copy):
27626 * gst/gstmessage.h:
27627 * gst/gstminiobject.h:
27630 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27631 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27634 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27635 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27636 (gst_pipeline_get_last_stream_time):
27637 * gst/gstpipeline.h:
27638 * gst/gstpluginfeature.h:
27640 * gst/gstscheduler.c:
27641 * gst/gstscheduler.h:
27642 * gst/gststructure.h:
27643 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27644 (gst_task_finalize), (gst_task_func), (gst_task_create),
27645 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27646 (gst_task_stop), (gst_task_pause):
27648 * gst/gsttypefind.h:
27650 * gst/registries/gstlibxmlregistry.c: (load_feature),
27651 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27652 * gst/registries/gstxmlregistry.c:
27653 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27654 * gst/schedulers/threadscheduler.c:
27655 * libs/gst/control/dparammanager.h:
27656 * tools/gst-inspect.c: (print_element_list),
27657 (print_plugin_features), (print_element_features):
27658 * tools/gst-xmlinspect.c: (print_element_list),
27659 (print_plugin_info), (main):
27660 Removed plugable schedulers.
27661 Removed Scheduler/Manager from elements.
27662 Removed gsttypes.h, rearranged includes.
27663 Removed dependency pad<->element, element<>pipeline, and
27664 various others, fix includes.
27665 implement gst_pad_get_parent() with gst_object_get_parent()
27666 Make GstTask sefcontained.
27667 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27669 Fix endless loop in iterator_fold_with_resync.
27672 2005-07-18 Wim Taymans <wim@fluendo.com>
27678 2005-07-18 Wim Taymans <wim@fluendo.com>
27681 No more cothreads.h
27683 2005-07-18 Wim Taymans <wim@fluendo.com>
27687 Let's remove these.
27689 2005-07-18 Wim Taymans <wim@fluendo.com>
27691 * docs/design/part-dynamic.txt:
27692 * docs/design/part-events.txt:
27693 * docs/design/part-seeking.txt:
27694 Some more docs in the works.
27696 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27697 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27698 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27699 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27700 (gst_base_transform_handle_buffer),
27701 (gst_base_transform_sink_activate_push),
27702 (gst_base_transform_src_activate_pull),
27703 (gst_base_transform_set_passthrough),
27704 (gst_base_transform_is_passthrough):
27707 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27710 * gst/gstevent.c: (gst_event_finalize):
27713 * gst/gstutils.c: (gst_element_unlink),
27714 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27715 (gst_pad_proxy_setcaps):
27717 Add _get_parent_element() to get a pads parent as an element.
27719 2005-07-18 Wim Taymans <wim@fluendo.com>
27721 * check/gst/gstbin.c: (GST_START_TEST):
27724 2005-07-18 Wim Taymans <wim@fluendo.com>
27726 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27727 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27728 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27729 (gst_base_sink_event), (gst_base_sink_do_sync),
27730 (gst_base_sink_chain), (gst_base_sink_loop),
27731 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27732 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27734 Fix logic for returning ASYNC when not prerolled.
27736 2005-07-18 Wim Taymans <wim@fluendo.com>
27738 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27739 Fix nasty refcount bug.
27741 2005-07-16 Philippe Khalaf <burger@speedy.org>
27743 * gst/elements/gstfdsrc.c:
27744 * gst/elements/gstfdsrc.h:
27745 * gst/elements/gstelements.c:
27746 * gst/elements/Makefile.am:
27747 Ported fdsrc to 0.9.
27749 2005-07-16 Wim Taymans <wim@fluendo.com>
27751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27752 (gst_base_sink_do_sync):
27755 2005-07-16 Wim Taymans <wim@fluendo.com>
27757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27758 (gst_base_sink_event), (gst_base_sink_get_times),
27759 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27760 * gst/base/gstbasesink.h:
27761 Store and use discont values when syncing buffers as described
27764 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27765 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27766 (gst_base_src_activate_push):
27767 Push discont event when starting.
27769 * gst/elements/gstidentity.c: (gst_identity_transform):
27772 * gst/gstbin.c: (gst_bin_change_state):
27773 Small cleanups in base_time distribution.
27775 * gst/gstelement.c: (gst_element_set_base_time),
27776 (gst_element_get_base_time), (gst_element_change_state):
27777 * gst/gstelement.h:
27778 Added methods for the base_time of the element.
27781 * gst/gstpipeline.c: (gst_pipeline_send_event),
27782 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27783 (gst_pipeline_get_last_stream_time):
27784 * gst/gstpipeline.h:
27786 Handle seeking as described in design doc, remove stream_time
27788 Cleanups clock and stream_time selection code. Added accessors
27789 for the stream_time.
27792 2005-07-16 Andy Wingo <wingo@pobox.com>
27794 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27797 2005-07-16 Wim Taymans <wim@fluendo.com>
27799 * check/gst/gstbin.c: (GST_START_TEST):
27800 Make elements silent as the deep_notify refs the
27801 parent, which might make the test fail.
27803 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27804 Don't hold the lock for too long.
27806 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27808 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27809 Don't unref the caps we passed to gst_caps_make_writable() after
27810 passing them. gst_caps_make_writable() will do that for us.
27812 2005-07-15 Andy Wingo <wingo@pobox.com>
27814 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27817 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27818 own marshalling function for the handoff signal. Properly type the
27819 buffer as a buffer. Fixes some warnings. Should do a more general
27821 (gst_identity_class_init): Plug into the right marshaller.
27823 2005-07-15 Wim Taymans <wim@fluendo.com>
27825 * docs/design/part-TODO.txt:
27826 * docs/design/part-clocks.txt:
27827 * docs/design/part-element-sink.txt:
27828 * docs/design/part-events.txt:
27829 * docs/design/part-gstpipeline.txt:
27830 Updated docs, mostly DISCONT related.
27832 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27834 * docs/pwg/building-pads.xml:
27835 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27837 2005-07-15 Andy Wingo <wingo@pobox.com>
27839 * tools/gst-typefind.c: Update, add copyright block.
27841 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27842 Normalize and truncate caps before fixation.
27845 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27846 discards all but the first structure from its argument.
27848 2005-07-15 Wim Taymans <wim@fluendo.com>
27850 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27851 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27852 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27853 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27854 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27855 (gst_base_transform_chain), (gst_base_transform_change_state),
27856 (gst_base_transform_set_passthrough),
27857 (gst_base_transform_is_passthrough):
27858 * gst/base/gstbasetransform.h:
27859 Make passthrough work using the bufferpools.
27860 Changed API a bit, subclasses have to write into a buffer
27861 provided by the base class.
27862 More debug info in nego functions.
27864 * gst/elements/gstidentity.c: (gst_identity_init),
27865 (gst_identity_transform):
27866 Port to new base class.
27868 2005-07-15 Wim Taymans <wim@fluendo.com>
27870 * gst/gstmessage.c: (gst_message_new_state_changed):
27871 * tools/gst-launch.c: (event_loop), (main):
27872 Totally dump messages in -launch with the -m option.
27873 Fix message name for State messages,
27875 2005-07-14 Wim Taymans <wim@fluendo.com>
27877 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27878 Post error messages on errors.
27880 2005-07-14 Wim Taymans <wim@fluendo.com>
27882 * gst/gstcaps.c: (gst_caps_do_simplify):
27886 Define error for stream stopped.
27888 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27889 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27890 Do proper return values.
27892 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27893 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27894 (gst_pad_get_range):
27895 Better return values.
27898 Reorganise return values, add macro to check for fatal errors.
27900 * gst/gstqueue.c: (gst_queue_chain):
27901 Return proper GstFlowReturn values,
27903 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27905 * docs/gst/gstreamer-sections.txt:
27906 * docs/gst/gstreamer.types:
27907 * docs/gst/tmpl/gst.sgml:
27908 * docs/gst/tmpl/gstbasesink.sgml:
27909 * docs/gst/tmpl/gstbasesrc.sgml:
27910 * docs/gst/tmpl/gstbasetransform.sgml:
27911 * docs/gst/tmpl/gstbin.sgml:
27912 * docs/gst/tmpl/gstbuffer.sgml:
27913 * docs/gst/tmpl/gstcaps.sgml:
27914 * docs/gst/tmpl/gstclock.sgml:
27915 * docs/gst/tmpl/gstcompat.sgml:
27916 * docs/gst/tmpl/gstconfig.sgml:
27917 * docs/gst/tmpl/gstelement.sgml:
27918 * docs/gst/tmpl/gstelementdetails.sgml:
27919 * docs/gst/tmpl/gstelementfactory.sgml:
27920 * docs/gst/tmpl/gstenumtypes.sgml:
27921 * docs/gst/tmpl/gsterror.sgml:
27922 * docs/gst/tmpl/gstevent.sgml:
27923 * docs/gst/tmpl/gstfakesink.sgml:
27924 * docs/gst/tmpl/gstfakesrc.sgml:
27925 * docs/gst/tmpl/gstfilesink.sgml:
27926 * docs/gst/tmpl/gstfilesrc.sgml:
27927 * docs/gst/tmpl/gstfilter.sgml:
27928 * docs/gst/tmpl/gstformat.sgml:
27929 * docs/gst/tmpl/gstghostpad.sgml:
27930 * docs/gst/tmpl/gstimplementsinterface.sgml:
27931 * docs/gst/tmpl/gstindex.sgml:
27932 * docs/gst/tmpl/gstindexfactory.sgml:
27933 * docs/gst/tmpl/gstinfo.sgml:
27934 * docs/gst/tmpl/gstiterator.sgml:
27935 * docs/gst/tmpl/gstmacros.sgml:
27936 * docs/gst/tmpl/gstmemchunk.sgml:
27937 * docs/gst/tmpl/gstminiobject.sgml:
27938 * docs/gst/tmpl/gstobject.sgml:
27939 * docs/gst/tmpl/gstpad.sgml:
27940 * docs/gst/tmpl/gstpadtemplate.sgml:
27941 * docs/gst/tmpl/gstparse.sgml:
27942 * docs/gst/tmpl/gstpipeline.sgml:
27943 * docs/gst/tmpl/gstplugin.sgml:
27944 * docs/gst/tmpl/gstpluginfeature.sgml:
27945 * docs/gst/tmpl/gstquery.sgml:
27946 * docs/gst/tmpl/gstqueue.sgml:
27947 * docs/gst/tmpl/gstregistry.sgml:
27948 * docs/gst/tmpl/gstregistrypool.sgml:
27949 * docs/gst/tmpl/gstscheduler.sgml:
27950 * docs/gst/tmpl/gstschedulerfactory.sgml:
27951 * docs/gst/tmpl/gststructure.sgml:
27952 * docs/gst/tmpl/gstsystemclock.sgml:
27953 * docs/gst/tmpl/gsttaglist.sgml:
27954 * docs/gst/tmpl/gsttagsetter.sgml:
27955 * docs/gst/tmpl/gsttrace.sgml:
27956 * docs/gst/tmpl/gsttrashstack.sgml:
27957 * docs/gst/tmpl/gsttypefind.sgml:
27958 * docs/gst/tmpl/gsttypefindfactory.sgml:
27959 * docs/gst/tmpl/gsttypes.sgml:
27960 * docs/gst/tmpl/gsturihandler.sgml:
27961 * docs/gst/tmpl/gsturitype.sgml:
27962 * docs/gst/tmpl/gstutils.sgml:
27963 * docs/gst/tmpl/gstvalue.sgml:
27964 * docs/gst/tmpl/gstversion.sgml:
27965 * docs/gst/tmpl/gstxml.sgml:
27966 * docs/libs/tmpl/gstcontrol.sgml:
27967 * docs/libs/tmpl/gstdataprotocol.sgml:
27968 * docs/libs/tmpl/gstdparam.sgml:
27969 * docs/libs/tmpl/gstdplinint.sgml:
27970 * docs/libs/tmpl/gstdpman.sgml:
27971 * docs/libs/tmpl/gstdpsmooth.sgml:
27972 * docs/libs/tmpl/gstgetbits.sgml:
27973 * docs/libs/tmpl/gstunitconvert.sgml:
27974 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27975 (gst_push_src_base_init), (gst_push_src_class_init),
27976 (gst_push_src_init), (gst_push_src_create):
27977 * gst/base/gstpushsrc.h:
27978 * gst/elements/gstelements.c:
27979 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27980 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27981 (gst_fake_sink_init), (gst_fake_sink_set_property),
27982 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27983 (gst_fake_sink_event), (gst_fake_sink_preroll),
27984 (gst_fake_sink_render), (gst_fake_sink_change_state):
27985 * gst/elements/gstfakesink.h:
27986 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27987 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27988 (gst_fake_src_base_init), (gst_fake_src_class_init),
27989 (gst_fake_src_init), (gst_fake_src_event_handler),
27990 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27991 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27992 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27993 (gst_fake_src_create_buffer), (gst_fake_src_create),
27994 (gst_fake_src_start), (gst_fake_src_stop):
27995 * gst/elements/gstfakesrc.h:
27996 * gst/elements/gstfilesink.c: (_do_init),
27997 (gst_file_sink_base_init), (gst_file_sink_class_init),
27998 (gst_file_sink_init), (gst_file_sink_dispose),
27999 (gst_file_sink_set_location), (gst_file_sink_set_property),
28000 (gst_file_sink_get_property), (gst_file_sink_open_file),
28001 (gst_file_sink_close_file), (gst_file_sink_query),
28002 (gst_file_sink_event), (gst_file_sink_render),
28003 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28004 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28005 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28006 * gst/elements/gstfilesink.h:
28007 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28008 (gst_file_src_class_init), (gst_file_src_init),
28009 (gst_file_src_finalize), (gst_file_src_set_location),
28010 (gst_file_src_set_property), (gst_file_src_get_property),
28011 (gst_file_src_map_region), (gst_file_src_map_small_region),
28012 (gst_file_src_create_mmap), (gst_file_src_create_read),
28013 (gst_file_src_create), (gst_file_src_is_seekable),
28014 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28015 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28016 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28017 (gst_file_src_uri_handler_init):
28018 * gst/elements/gstfilesrc.h:
28019 more autistic cleanliness in functions/names/defines
28021 2005-07-13 Andy Wingo <wingo@pobox.com>
28023 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28024 source couldn't negotiate.
28026 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28030 * gst/gstutils.c (gst_element_link_pads_filtered): New old
28031 function. I am channeling Hades. Put your boots on suckers!!!
28033 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
28035 * testsuite/caps/Makefile.am:
28036 * testsuite/caps/value_compare.c:
28037 * testsuite/caps/value_intersect.c:
28038 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28039 move two testsuite apps over to the check dir
28041 2005-07-12 Wim Taymans <wim@fluendo.com>
28043 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28044 Added more debug info in the negotiate process.
28046 * gst/gstmessage.h:
28047 Prepare for segment playback.
28049 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28055 * tools/gst-launch.c: (main):
28056 NULL pipeline on errors.
28058 2005-07-12 Andy Wingo <wingo@pobox.com>
28060 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28061 not it comes from a malloc region. Make sure our copy gets freed.
28063 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28065 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28066 * check/gst/gstmessage.c: (GST_START_TEST):
28067 * check/gst/gststructure.c: (GST_START_TEST),
28068 (gst_structure_suite), (main):
28070 * gst/gstelement.c: (gst_element_message_full):
28071 clean up GError and debug string now that they get copied
28072 * gst/gstmessage.c: (gst_message_new_error),
28073 (gst_message_new_warning), (gst_message_parse_error),
28074 (gst_message_parse_warning):
28075 use GST_TYPE_G_ERROR for structure_new, and take copies of
28076 arguments, so that we don't mess up refcounting
28078 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28080 * check/Makefile.am:
28081 add per-test valgrind targets
28082 * check/gst-libs/gdp.c: (GST_START_TEST),
28083 (gst_data_protocol_suite), (main):
28086 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28088 * check/Makefile.am:
28089 instate more valgrindable tests
28090 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28091 (GST_START_TEST), (fakesrc_suite):
28092 * check/gst/gstpad.c: (GST_START_TEST):
28093 * check/gst/gststructure.c: (GST_START_TEST):
28095 * docs/gst/tmpl/gstminiobject.sgml:
28096 * gst/gstpad.c: (gst_pad_finalize):
28097 fix the static mutex leak
28099 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28101 * check/Makefile.am:
28102 add two more tests for valgrinding
28103 * check/gst/gstvalue.c: (GST_START_TEST):
28104 test refcount of deserialized buffer, found a leak
28105 * docs/gst/gstreamer-docs.sgml:
28106 * docs/gst/gstreamer-sections.txt:
28107 * docs/gst/gstreamer.types:
28108 * docs/gst/tmpl/gstminiobject.sgml:
28109 add miniobject to docs
28110 * gst/gstminiobject.c:
28112 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28113 (gst_string_unwrap):
28114 fix a hard-to-find invalid write for one of the tests
28115 fix a leak for deserialized buffers
28117 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28119 * docs/pwg/advanced-events.xml:
28120 * docs/pwg/advanced-request.xml:
28121 * docs/pwg/advanced-scheduling.xml:
28122 * docs/pwg/appendix-porting.xml:
28123 * docs/pwg/building-boiler.xml:
28124 * docs/pwg/intro-preface.xml:
28125 * docs/pwg/other-ntoone.xml:
28126 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28127 of example code and explanation for pad activation, loop() and
28128 getrange() functions and a bit more. Remove old comments pointing
28130 * examples/pwg/Makefile.am:
28131 Add loop/getrange examples.
28133 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28136 check for valgrind binary + some fixes
28138 valgrind suppressions for the tests
28139 * check/Makefile.am:
28140 add a valgrind: target that valgrinds the unit tests
28141 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28142 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28143 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28144 * check/gst/gstghostpad.c:
28146 * check/gst/gstdata.c:
28148 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28149 (thread_unref), (gst_mini_object_suite), (main):
28151 * gst/gst.c: (gst_deinit):
28153 add a method to clean up.
28154 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28155 (gst_system_clock_obtain):
28156 allow for disposing the system clock.
28157 * tools/gst-launch.c: (main):
28160 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28162 * docs/gst/tmpl/gstbasesrc.sgml:
28163 * docs/gst/tmpl/gstfakesrc.sgml:
28164 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28165 (gst_base_src_init), (gst_base_src_set_property),
28166 (gst_base_src_get_property), (gst_base_src_get_range),
28167 (gst_base_src_start):
28168 * gst/base/gstbasesrc.h:
28169 add num-buffers property
28170 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28171 (gst_fakesrc_init), (gst_fakesrc_set_property),
28172 (gst_fakesrc_get_property), (gst_fakesrc_create),
28173 (gst_fakesrc_start):
28174 remove num-buffers property
28176 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28178 * docs/gst/gstreamer-sections.txt:
28179 * docs/gst/tmpl/gstbasesink.sgml:
28180 * docs/gst/tmpl/gstbasesrc.sgml:
28181 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28182 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28183 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28184 (gst_base_sink_set_property), (gst_base_sink_get_property),
28185 (gst_base_sink_handle_object), (gst_base_sink_event),
28186 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28187 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28188 (gst_base_sink_loop), (gst_base_sink_deactivate),
28189 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28190 (gst_base_sink_change_state):
28191 * gst/base/gstbasesink.h:
28192 * gst/base/gstbasesrc.h:
28193 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28194 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28195 (gst_filesink_init):
28196 more macro splitting
28198 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28200 * gst/gstelement.c: (gst_element_get_bus):
28202 * tools/gst-launch.c: (check_intr), (event_loop):
28205 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28207 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28210 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28212 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28213 (gst_base_src_finalize):
28214 add finalize method and clean up properly
28215 * gst/gstpipeline.c: (gst_pipeline_dispose):
28218 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28220 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28222 add more things to check
28223 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28224 * gst/gstelement.c:
28227 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28229 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28230 (GST_START_TEST), (fakesrc_suite):
28231 * check/gst-libs/gdp.c: (GST_START_TEST):
28232 * check/gst/gst.c: (GST_START_TEST):
28233 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28234 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28235 * check/gst/gstbus.c: (GST_START_TEST):
28236 * check/gst/gstcaps.c: (GST_START_TEST):
28237 * check/gst/gstdata.c: (GST_START_TEST):
28238 * check/gst/gstelement.c: (GST_START_TEST):
28239 * check/gst/gstghostpad.c: (GST_START_TEST):
28240 * check/gst/gstiterator.c: (GST_START_TEST):
28241 * check/gst/gstmessage.c: (GST_START_TEST):
28242 * check/gst/gstobject.c: (GST_START_TEST):
28243 * check/gst/gstpad.c: (GST_START_TEST):
28244 * check/gst/gststructure.c: (GST_START_TEST):
28245 * check/gst/gstsystemclock.c: (GST_START_TEST),
28246 (gst_systemclock_suite):
28247 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28248 * check/gst/gstvalue.c: (GST_START_TEST):
28249 * check/pipelines/cleanup.c: (GST_START_TEST):
28250 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28251 * check/states/sinks.c: (GST_START_TEST):
28252 * check/gstcheck.c: (gst_check_init):
28253 * check/gstcheck.h:
28254 add debugging category
28255 use GST_START_TEST now, so we add a debug line
28257 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28259 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28260 add test for state change message on a bin
28261 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28263 * gst/gstbin.c: (gst_bin_init):
28264 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28265 * gst/gstelement.c: (gst_element_post_message),
28266 (gst_element_set_state):
28267 * gst/gstelementfactory.c: (gst_element_factory_create):
28268 * gst/gstmessage.c: (gst_message_new):
28269 * gst/gstscheduler.c:
28270 various debugging additions and cleanups
28272 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28274 * check/Makefile.am:
28275 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28277 adding tests for elements
28278 * gst/gstelement.c: (gst_element_dispose):
28280 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28282 * gst/registries/gstlibxmlregistry.c: (load_feature):
28283 plug more leaks. A simple gst_init() now is leakfree, yay.
28285 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28287 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28288 (gst_xml_registry_load):
28289 plug another memleak
28291 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28294 use GST_SET_ERROR_CFLAGS
28295 * docs/faq/cvs.xml:
28296 change to ERROR_CFLAGS
28298 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28301 make GST_ERROR_CFLAGS overridable and re-enable Werror
28302 * docs/faq/cvs.xml:
28303 add a note about error CFLAGS
28304 * docs/gst/tmpl/gstfakesrc.sgml:
28305 * gst/elements/gstfakesrc.c:
28306 comment out some unused code
28307 * gst/gst.c: (split_and_iterate):
28308 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28312 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28314 * common/Makefile.am:
28315 * common/gtk-doc.mak:
28316 * docs/gst/Makefile.am:
28317 factor out gtk-doc.mak
28319 2005-07-07 Wim Taymans <wim@fluendo.com>
28321 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28322 (gst_thread_scheduler_dispose):
28323 Unlock the STREAM_LOCK completely.
28325 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28327 * check/Makefile.am:
28328 * check/elements/.cvsignore:
28329 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28330 (START_TEST), (fakesrc_suite), (main):
28331 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28332 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28333 (gst_fakesrc_create), (gst_fakesrc_start):
28334 * gst/elements/gstfakesrc.h:
28335 adding a first element test
28337 2005-07-07 Andy Wingo <wingo@pobox.com>
28339 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28342 2005-07-07 Wim Taymans <wim@fluendo.com>
28348 2005-07-07 Wim Taymans <wim@fluendo.com>
28350 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28351 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28352 Allow subclasses to implement their own negotiation.
28354 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28356 * docs/design/part-gstbin.txt:
28357 * docs/design/part-gstpipeline.txt:
28358 Update design notes to reflect the movement of
28359 responsibility for bus handling from GstPipeline to
28362 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28365 Remove unnecessary queue2/3/4 examples.
28367 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28369 * examples/Makefile.am:
28370 * examples/helloworld/helloworld.c: (event_loop), (main):
28371 * examples/queue/queue.c: (event_loop), (main):
28372 * examples/queue2/queue2.c: (main):
28373 Update a couple of the examples to work again.
28375 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28376 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28377 Spelling corrections and extra debug.
28379 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28380 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28381 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28383 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28384 (gst_pipeline_change_state):
28385 * gst/gstpipeline.h:
28386 Move the bus handler for children to the GstBin, and create a
28387 separate bus for receiving messages from children to the one the
28388 bus sends 'upwards' on.
28390 2005-07-06 Wim Taymans <wim@fluendo.com>
28393 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28394 (gst_base_sink_handle_object), (gst_base_sink_loop),
28395 (gst_base_sink_change_state):
28396 * gst/base/gstbasesink.h:
28397 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28398 (gst_base_src_init), (gst_base_src_setcaps),
28399 (gst_base_src_getcaps), (gst_base_src_loop),
28400 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28401 (gst_base_src_start), (gst_base_src_change_state):
28402 * gst/base/gstbasesrc.h:
28403 Make basesrc negotiate.
28404 Handle the case where preroll fails in basesink.
28407 2005-07-06 Wim Taymans <wim@fluendo.com>
28409 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28410 Implement the fixate function.
28411 Clean up acceptcaps.
28413 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28415 * docs/pwg/building-filterfactory.xml:
28416 * docs/pwg/pwg.xml:
28417 Remove never-written filter-factory chapter; I'll add the various
28418 base classes to part 4 ("other element types") later on.
28420 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28422 * docs/pwg/advanced-negotiation.xml:
28423 * docs/pwg/building-boiler.xml:
28424 * docs/pwg/building-pads.xml:
28425 * docs/pwg/pwg.xml:
28426 * examples/pwg/Makefile.am:
28427 Add a chapter on caps negotiation, simplify the original code
28428 samples a bit w.r.t. caps negotiation, add link to the advanced
28429 section. Add a bunch of examples showing different use cases of
28430 different types of caps negotiation. Upstream renegotiation isn't
28431 fully documented yet since nobody knows how that works.
28433 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28435 * check/gst/gstpad.c:
28436 * check/gstcheck.c:
28437 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28438 if pad has no parent, return NULL as list of internal links
28440 2005-07-05 Andy Wingo <wingo@pobox.com>
28442 * gst/elements/gstfilesrc.c:
28443 * gst/elements/gstfakesrc.c:
28444 * gst/base/gstpushsrc.c:
28445 * gst/base/gstbasesrc.h:
28446 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28448 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28451 better report generation target (lcov needs a patch)
28453 2005-07-05 Andy Wingo <wingo@pobox.com>
28455 * gst/elements, testsuite: Null if we got it...
28457 2005-07-05 Wim Taymans <wim@fluendo.com>
28460 * libs/gst/dataprotocol/Makefile.am:
28461 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28462 * libs/gst/dataprotocol/dataprotocol.h:
28463 * pkgconfig/Makefile.am:
28464 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28465 * pkgconfig/gstreamer-dataprotocol.pc.in:
28466 Ported dataprotol to 0.9.
28467 Added pkgconfig files.
28469 2005-07-05 Andy Wingo <wingo@pobox.com>
28471 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28472 Default to returning TRUE for the case when tranform_caps returns
28473 a fixed caps, like for identity or volume.
28475 * check/gst/gstbus.c (pound_bus_with_messages):
28476 * check/gst/gstmessage.c (START_TEST):
28477 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28478 message API change.
28480 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28481 logic weaks here: always run transform_caps, trying passthrough
28482 operation only if the original caps intersects with the transform.
28484 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28485 source and sink caps.
28487 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28488 Intersect the peer caps with the pad template before going into
28490 (gst_base_transform_transform_caps): More debugging.
28492 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28495 2005-07-04 Edward Hervey <edward@fluendo.com>
28499 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28502 2005-07-04 Andy Wingo <wingo@pobox.com>
28504 * check/gst/gstpad.c: Only set explicit caps on pads.
28506 2005-07-01 Andy Wingo <wingo@pobox.com>
28508 * tests/network-clock.scm: Commentary update.
28510 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28511 Didn't really make sense, not implementable with basetransform,
28513 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28514 attempt at implementing the sync property, needs an unlock method.
28516 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28517 New func, by default returns the same caps (the identity
28519 (gst_base_transform_getcaps): Uses transform_caps to return
28520 something sensible.
28521 (gst_base_transform_setcaps): Complicated logic to get caps on
28522 both pads, even if they are different, and to call set_caps once
28523 for every time both pads get their caps set.
28524 (gst_base_transform_handle_buffer): Give the ref to the transform
28525 function. Allows in-place modification of the buffer.
28527 * gst/base/gstbasetransform.h (transform_caps): New class method.
28528 Given caps on one side, what can I do on the other.
28529 (set_caps): Take two caps, one for each side of the element.
28532 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28533 caps in place. This is safe because we can check the mutability of
28534 the caps, and a good idea because fixate functions are just called
28535 as a matter of last resort. (Not actually implemented.)
28536 (gst_pad_set_caps): If the caps we're setting is actually the same
28537 as the existing pad caps, just update the pointer without calling
28538 setcaps. Assert that caps is either NULL or fixed, as per the
28541 * gst/gstghostpad.c: Update for fixate changes.
28543 2005-07-02 Andy Wingo <wingo@pobox.com>
28546 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28547 two refcounts makes it immutable, which is enough. Doc more.
28549 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28551 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28552 Put the mini_object into GValue as a mini_object,
28553 not a gpointer, since that's how we declared
28556 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28558 * examples/pwg/Makefile.am:
28559 Fix buildbot again.
28561 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28563 * docs/pwg/building-testapp.xml:
28565 * examples/pwg/Makefile.am:
28568 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28571 * examples/Makefile.am:
28572 * examples/pwg/Makefile.am:
28573 * examples/pwg/extract.pl:
28574 Enable building the PWG examples.
28575 * docs/pwg/advanced-interfaces.xml:
28576 Add URI interface stub.
28577 * docs/pwg/advanced-types.xml:
28578 * docs/pwg/other-autoplugger.xml:
28579 * docs/pwg/appendix-porting.xml:
28580 * docs/pwg/pwg.xml:
28581 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28582 * docs/pwg/building-boiler.xml:
28583 * docs/pwg/building-chainfn.xml:
28584 * docs/pwg/building-pads.xml:
28585 * docs/pwg/building-props.xml:
28586 * docs/pwg/building-state.xml:
28587 * docs/pwg/building-testapp.xml:
28588 Update the building-*.xml parts for 0.9 changes. All examples
28589 code blocks compile in examples/pwg/*.
28591 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28593 * docs/manual/advanced-autoplugging.xml:
28594 * docs/manual/appendix-checklist.xml:
28595 * docs/manual/appendix-integration.xml:
28596 * docs/manual/highlevel-components.xml:
28597 Fix playbin/decodebin examples, update docs a bit, mention bus
28598 instead of signals in various places, mention kmplayer and
28599 kaffeine since they have a working GStreamer backend in the KDE
28602 2005-06-30 Wim Taymans <wim@fluendo.com>
28605 * docs/design/draft-ghostpads.txt:
28606 * docs/design/draft-push-pull.txt:
28607 * docs/design/draft-query.txt:
28608 * docs/design/part-TODO.txt:
28609 * docs/design/part-query.txt:
28610 Added CHANGES-0.9 doc, updated status of other docs.
28615 2005-06-30 Wim Taymans <wim@fluendo.com>
28617 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28618 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28619 (gst_base_sink_change_state):
28620 * gst/base/gstbasesink.h:
28621 Some tweaks, only EOS and a buffer complete a preroll.
28623 2005-06-30 Andy Wingo <wingo@pobox.com>
28625 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28626 activate_push down to the internal pad as well.
28628 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28630 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28632 * gst/gsttaginterface.c:
28633 Some documentation fixes (#307394 and #307397).
28635 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28637 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28639 * gst/gstvalue.c: (gst_value_intersect_list):
28640 Fix memleak (#309125).
28642 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28644 * docs/manual/advanced-dataaccess.xml:
28645 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28646 * docs/manual/basics-pads.xml:
28647 Add reference for filtered caps to above chapter.
28649 2005-06-30 Wim Taymans <wim@fluendo.com>
28651 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28652 (gst_bin_change_state):
28654 Lame attempt at making the state change function a bit
28657 2005-06-30 Wim Taymans <wim@fluendo.com>
28659 * docs/design/part-clocks.txt:
28660 * docs/design/part-element-sink.txt:
28661 * docs/design/part-events.txt:
28662 * docs/design/part-preroll.txt:
28663 * docs/design/part-states.txt:
28664 Some more tweeks and additions to the docs.
28666 2005-06-30 Wim Taymans <wim@fluendo.com>
28668 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28669 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28670 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28671 (gst_pad_check_pull_range), (gst_pad_get_range),
28672 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28674 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28675 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28676 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28677 (gst_pad_remove_buffer_probe):
28678 Removed atomic operations, use existing LOCK.
28679 Move exception handling out of main code path.
28681 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28683 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28684 (silly_return_true_function), (gst_pad_class_init),
28685 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28686 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28687 (gst_pad_send_event):
28688 Fix accumulator, add default value by using _emitv() instead
28689 of _emit() for signal emission.
28691 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28693 * docs/manual/advanced-dataaccess.xml:
28694 * examples/manual/Makefile.am:
28696 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28699 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28701 * gst/elements/gstfilesink.c: (gst_filesink_render):
28702 Simplify code so that we don't have to handle short
28703 writes and return GST_FLOW_ERROR if an error occured.
28705 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28707 * docs/gst/gstreamer-docs.sgml:
28708 Remove probes more.
28710 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28712 * docs/gst/gstreamer-sections.txt:
28713 * docs/gst/tmpl/gstpad.sgml:
28714 * docs/gst/tmpl/gstprobe.sgml:
28716 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28717 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28718 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28719 (gst_pad_push_event), (gst_pad_send_event):
28721 * gst/gstutils.c: (gst_pad_add_data_probe),
28722 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28723 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28724 (gst_pad_remove_buffer_probe):
28726 Remove old probes, add new g-signal-based probes and some utility
28729 2005-06-29 Edward Hervey <edward@fluendo.com>
28731 * gst/gstelementfactory.c:
28734 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28735 the definition to the header file.
28737 2005-06-29 Andy Wingo <wingo@pobox.com>
28739 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28740 plugins from the source directory.
28742 2005-06-29 Wim Taymans <wim@fluendo.com>
28744 * docs/gst/tmpl/gstbuffer.sgml:
28745 * docs/gst/tmpl/gstclock.sgml:
28746 Some fixings for blantently wrong text.
28748 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28750 * check/Makefile.am:
28751 * gst/gst.c: (add_path_func), (init_pre):
28752 * gst/gstregistry.c: (gst_registry_add_path):
28753 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28754 only scan the GST_PLUGIN_PATH locations, and not add
28757 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28759 * docs/gst/gstreamer-sections.txt:
28760 * docs/gst/tmpl/gstbasesrc.sgml:
28761 * gst/gstelement.c:
28762 * gst/gstelement.h:
28767 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28769 * docs/manual/advanced-autoplugging.xml:
28770 Fix autoplugging example.
28772 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28774 * docs/manual/advanced-autoplugging.xml:
28775 * docs/manual/mime-world.fig:
28776 Try to get autoplugging working, fix type detection. Fix text
28777 in hello-world image.
28779 2005-06-29 Wim Taymans <wim@fluendo.com>
28781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28782 (gst_base_sink_change_state):
28786 map SIGNAL and BROADCAST to the right function.
28789 Remove redundant braces.
28791 * gst/gstpad.c: (gst_pad_set_caps):
28792 Don't call setcaps function when reseting caps to NULL.
28794 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28795 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28796 (gst_system_clock_id_unschedule):
28797 Use BROADCAST as this is what we do.
28799 2005-06-29 Wim Taymans <wim@fluendo.com>
28801 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28802 We are actually prerolling before commiting the state
28805 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28807 * docs/manual/advanced-clocks.xml:
28808 * docs/manual/advanced-interfaces.xml:
28809 * docs/manual/advanced-metadata.xml:
28810 * docs/manual/advanced-position.xml:
28811 * docs/manual/advanced-schedulers.xml:
28812 * docs/manual/advanced-threads.xml:
28813 * docs/manual/appendix-porting.xml:
28814 * docs/manual/basics-bins.xml:
28815 * docs/manual/basics-bus.xml:
28816 * docs/manual/basics-elements.xml:
28817 * docs/manual/basics-helloworld.xml:
28818 * docs/manual/basics-pads.xml:
28819 * docs/manual/highlevel-components.xml:
28820 * docs/manual/manual.xml:
28821 * docs/manual/thread.fig:
28822 Update (until threads/scheduling) Application Development Manual;
28823 remove GstThread, add GstBus, add simple porting checklist, add
28824 documentation for tag writing, clocks, make all examples until this
28825 part compile and run.
28826 * examples/manual/Makefile.am:
28827 Update from changes to Application Development Manual; add bus
28828 example, remove thread example.
28830 2005-06-28 Wim Taymans <wim@fluendo.com>
28832 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28833 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28834 (gst_bus_source_dispatch):
28835 Add debugging messages.
28836 Make internal methods static.
28837 Handle the case where the bus is flushed in the handler.
28839 * gst/gstelement.c: (gst_element_get_bus):
28840 Fix refcount in _get_bus();
28842 * gst/gstpipeline.c: (gst_pipeline_change_state),
28843 (gst_pipeline_get_clock_func):
28844 Clock refcounting fixes.
28845 Handle the case where preroll timed out more gracefully.
28847 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28848 Clean up the internal thread in dispose. This is needed
28849 for subclasses that actually get disposed.
28851 * gst/schedulers/threadscheduler.c:
28852 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28853 (gst_thread_scheduler_dispose):
28854 Free thread pool in dispose.
28856 2005-06-28 Andy Wingo <wingo@pobox.com>
28858 * tests/network-clock-utils.scm (debug, print-event): New utils.
28860 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28861 (*packet-loss*): Unified loss probability.
28862 (network-time): Report out-of-band events.
28864 * tests/plot-data: Add support for out-of-band events. Hack it
28865 into this script instead of passing it down the pipe; should fix
28868 2005-06-28 Wim Taymans <wim@fluendo.com>
28870 * docs/gst/gstreamer.types:
28871 * docs/gst/tmpl/gstbasesrc.sgml:
28872 * docs/gst/tmpl/gstpad.sgml:
28875 2005-06-28 Wim Taymans <wim@fluendo.com>
28877 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28878 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28879 (gst_proxy_pad_do_fixatecaps):
28880 Correctly proxy the check_pull_range function.
28882 2005-06-28 Andy Wingo <wingo@pobox.com>
28884 * tests/network-clock.scm: Removed need for slib.
28886 2005-06-28 Wim Taymans <wim@fluendo.com>
28888 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28889 (gst_basesink_preroll_queue_flush):
28890 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28891 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28892 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28893 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28894 (gst_proxy_pad_set_property):
28897 * gst/gstqueue.c: (gst_queue_init):
28898 The deprecated pad loop function is removed now.
28900 2005-06-28 Andy Wingo <wingo@pobox.com>
28902 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28903 New parameters, simulate network packet loss.
28905 * tests/network-clock-utils.scm: Initialize the RNG.
28907 2005-06-28 Wim Taymans <wim@fluendo.com>
28909 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28910 (gst_basesink_event), (gst_basesink_deactivate):
28911 Flushing the preroll queue always needs to unlock the waiters.
28913 2005-06-28 Edward Hervey <edward@fluendo.com>
28915 * gst/gstpipeline.c: (gst_pipeline_send_event):
28916 Wheen a seek was successful on a pipeline, set the stream_time to the
28917 seek offset in order to have a synchronized stream_time.
28919 2005-06-28 Wim Taymans <wim@fluendo.com>
28921 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28922 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28923 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28924 (gst_proxy_pad_do_fixatecaps):
28925 Call wrapper function instead of just calling the function
28926 pointers. This takes care of any locking and whatmore.
28928 2005-06-28 Wim Taymans <wim@fluendo.com>
28930 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28931 (gst_pad_pull_range):
28933 CONNECTED -> LINKED.
28935 2005-06-28 Andy Wingo <wingo@pobox.com>
28937 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28938 source-munging commit!!!
28940 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28941 (gst_object_sink): Take gpointer arguments, not GstObject --
28942 avoids casts. Like GLib.
28944 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28947 2005-06-27 Andy Wingo <wingo@pobox.com>
28949 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28952 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28953 returns a sorted copy of the trace list.
28954 (gst_alloc_trace_print_live): New API, only prints traces with
28955 live objects. Sort the list.
28956 (gst_alloc_trace_print_all): Sort the list.
28957 (gst_alloc_trace_print): Align columns.
28959 * gst/elements/gstttypefindelement.c:
28960 * gst/elements/gsttee.c:
28961 * gst/base/gstbasesrc.c:
28962 * gst/base/gstbasesink.c:
28963 * gst/base/gstbasetransform.c:
28964 * gst/gstqueue.c: Adapt for pad activation changes.
28966 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28968 (gst_pipeline_dispose): Drop ref on sched.
28970 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28971 (gst_pad_activate_default): Push mode by default.
28972 (pre_activate_switch, post_activate_switch): New stubs, things to
28973 do before and after switching activation modes on pads.
28974 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28975 the pad's activate function to choose which mode to activate.
28976 Shortcut on deactivation and call the right function directly.
28977 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28979 (gst_pad_activate_push): New API, same for push mode.
28980 (gst_pad_set_activate_function)
28981 (gst_pad_set_activatepull_function)
28982 (gst_pad_set_activatepush_function): Setters for new API.
28984 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28985 Trace all miniobjects.
28986 (gst_mini_object_make_writable): Unref the arg if we copy, like
28987 gst_caps_make_writable.
28989 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28991 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28992 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28993 Adapt for new pad API.
28995 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28997 * gst/gstelement.h:
28998 * gst/gstelement.c (gst_element_iterate_src_pads)
28999 (gst_element_iterate_sink_pads): New API functions.
29001 * gst/gstelement.c (iterator_fold_with_resync): New utility,
29002 should fold into gstiterator.c in some form.
29003 (gst_element_pads_activate): Simplified via use of fold and
29004 delegation of decisions to gstpad->activate.
29006 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29009 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29010 class once in init, like gstmessage. Didn't run into this issue
29011 but it seems correct. Don't initialize a trace, gstminiobject does
29014 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29015 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29017 (assert_live_count): New util function, uses alloc traces to check
29020 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29021 To be modified when unlink drops the internal pad.
29023 2005-06-27 Wim Taymans <wim@fluendo.com>
29025 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29026 (gst_bin_change_state):
29027 Cleanup the get_state() function a little, make sure it
29028 iterates the same set of elements.
29029 Added stub iterate_state_order().
29031 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
29033 * docs/gst/gstreamer-docs.sgml:
29034 * docs/gst/gstreamer-sections.txt:
29035 * docs/gst/gstreamer.types:
29036 * docs/gst/tmpl/gstbasesink.sgml:
29037 * docs/gst/tmpl/gstbasesrc.sgml:
29038 * docs/gst/tmpl/gstbasetransform.sgml:
29039 * docs/gst/tmpl/gstelement.sgml:
29040 * docs/gst/tmpl/gstiterator.sgml:
29041 * gst/base/gstbasesrc.c:
29042 * gst/base/gstbasesrc.h:
29043 * gst/base/gstbasetransform.h:
29044 * gst/gstelement.c:
29045 * gst/gstiterator.h:
29046 adding basetransform and iterator docs
29048 2005-06-27 Andy Wingo <wingo@pobox.com>
29050 * docs/design/part-activation.txt: Notes on how activation should
29051 work -- not quite implemented yet.
29053 2005-06-25 Wim Taymans <wim@fluendo.com>
29055 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29056 At least get the chain function correct, needs more
29059 2005-06-25 Wim Taymans <wim@fluendo.com>
29061 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29062 (gst_basesink_handle_object), (gst_basesink_event),
29063 (gst_basesink_do_sync), (gst_basesink_handle_event),
29064 (gst_basesink_change_state):
29066 Right, two problems here: ghostpads don't take locks and
29067 glib _rec_mutex_lock_full() with depth==0 still locks.
29068 Catch illegal locking and g_warn them.
29070 2005-06-25 Wim Taymans <wim@fluendo.com>
29072 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29073 Have to check for completion now...
29075 2005-06-25 Wim Taymans <wim@fluendo.com>
29077 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29078 (gst_basesink_handle_object), (gst_basesink_event),
29079 (gst_basesink_do_sync), (gst_basesink_handle_event),
29080 (gst_basesink_change_state):
29082 Unlock STREAM_LOCK whatever the recursion was.
29084 2005-06-25 Wim Taymans <wim@fluendo.com>
29086 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29087 (gst_basesink_preroll_queue_empty),
29088 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29089 (gst_basesink_event), (gst_basesink_do_sync),
29090 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29091 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29092 (gst_basesink_change_state):
29093 Reworked the base sink, handle event and buffer serialisation
29094 correctly and removed possible deadlock.
29095 Handle EOS correctly.
29097 2005-06-25 Wim Taymans <wim@fluendo.com>
29099 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29100 (gst_pipeline_change_state):
29101 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29102 Allow elements to post EOS in the state change function.
29103 Fix up -launch, make it exit the poll loop when the
29104 pipeline actually changed state.
29105 Fix up warning parsing in -launch.
29107 2005-06-25 Wim Taymans <wim@fluendo.com>
29109 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29110 (gst_tee_sink_activate):
29111 Core takes STREAM_LOCK for us now.
29113 2005-06-25 Wim Taymans <wim@fluendo.com>
29115 * gst/gstelement.c: (gst_element_get_state_func),
29116 (gst_element_set_state):
29117 * gst/gstelement.h:
29118 * gst/gstmessage.c: (gst_message_parse_error),
29119 (gst_message_parse_warning):
29120 Keep track of current target state while performing a state
29121 change so that subclasses can do something interesting.
29122 Fix parsing of warning/error messages when GError is NULL.
29124 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29126 * docs/gst/Makefile.am:
29127 * docs/gst/gstreamer-docs.sgml:
29128 * docs/gst/gstreamer-sections.txt:
29129 * docs/gst/gstreamer.types:
29130 * docs/gst/tmpl/gstbasesink.sgml:
29131 * docs/gst/tmpl/gstbasesrc.sgml:
29132 * docs/gst/tmpl/gstbin.sgml:
29133 * docs/gst/tmpl/gstcompat.sgml:
29134 * docs/gst/tmpl/gstfakesink.sgml:
29135 * docs/gst/tmpl/gstfakesrc.sgml:
29136 * docs/gst/tmpl/gstfilesink.sgml:
29137 * docs/gst/tmpl/gstfilesrc.sgml:
29138 * docs/gst/tmpl/gstindex.sgml:
29139 * docs/manual/appendix-quotes.xml:
29140 * gst/base/gstbasesrc.h:
29141 * gst/elements/gstfakesrc.h:
29142 * gst/gstmessage.h:
29143 start pulling in base classes and elements in our docs
29145 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29147 * docs/gst/Makefile.am:
29148 * docs/libs/Makefile.am:
29149 fixed make distcheck with gtk-doc 1.3
29151 2005-06-23 Wim Taymans <wim@fluendo.com>
29153 * gst/gstelement.c: (gst_element_get_state_func),
29154 (gst_element_set_state), (gst_element_change_state):
29155 When the state did not change, also report NO_PREROLL
29158 2005-06-23 Wim Taymans <wim@fluendo.com>
29160 * gst/gstpad.c: (gst_pad_event_default):
29161 * gst/gstqueue.c: (gst_queue_loop):
29162 No unsafe task pausing please.
29164 2005-06-23 Wim Taymans <wim@fluendo.com>
29166 * gst/schedulers/threadscheduler.c:
29167 (gst_thread_scheduler_task_start),
29168 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29169 Ref the task before pushing it on the threadpool. This
29170 makes sure that we have a ref when the threadfunction is
29173 2005-06-23 Andy Wingo <wingo@pobox.com>
29175 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29176 offset is greater than the file's size.
29178 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29179 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29180 * gst/gstobject.c (gst_object_class_init): Make the class lock
29181 recursive. Wim won't let me drop deep_notify. Decodebin works
29182 again, whoopdy doo.
29184 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29185 internal pad, and hacks accordingly. Doesn't do it on the target
29186 pad because we change its caps. Probably catches all cases of
29188 (gst_ghost_pad_set_property): Connect to notify::caps as
29191 * tests/network-clock.scm (plot-simulation): Pipe data to the
29192 elite python skript.
29194 * tests/network-clock-utils.scm (define-parameter): New macro,
29195 defines a parameter that can be set via the command line.
29196 (set-parameter!, parse-parameter-arguments): Command line args
29199 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29202 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29204 * gst/elements/gsttypefindelement.c:
29205 (gst_type_find_element_handle_event):
29206 Don't restart typefinding on a discont.
29207 * gst/gstelement.c: (gst_element_set_state):
29208 Debug spelling fix.
29209 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29210 Allow changing mode of an active pad.
29211 Debug output fixes.
29212 * gst/registries/gstlibxmlregistry.c: (load_feature):
29213 Don't cast a static pad template to a normal pad template.
29215 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29217 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29218 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29219 remove gst_strtoll completely, since it didn't actually do
29220 anything more than what g_ascii_strtoull already does.
29221 check for range errors when deserializing
29222 do a cast for the unsigned cases; but further fixing needs
29223 a decision on what the interpretation of "(int)" and
29224 deserialization should be for values that fall outside the
29225 type's boundaries (ie, refuse, or interpret as casting)
29227 2005-06-23 Wim Taymans <wim@fluendo.com>
29229 * check/Makefile.am:
29230 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29231 * docs/design/part-live-source.txt:
29232 * docs/design/part-states.txt:
29233 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29234 (gst_basesrc_set_live), (gst_basesrc_is_live),
29235 (gst_basesrc_get_range), (gst_basesrc_activate),
29236 (gst_basesrc_change_state):
29237 * gst/base/gstbasesrc.h:
29238 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29239 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29240 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29241 * gst/gstelement.c: (gst_element_get_state_func),
29242 (gst_element_set_state):
29243 * gst/gstelement.h:
29245 * tools/gst-launch.c: (event_loop), (main):
29246 Added support for live sources and other elements that
29248 Updated design docs, added live-source design doc.
29249 Implemented live source functionality in basesrc
29250 Fix error condition in _bin_get_state()
29251 Implement live source handling in -launch.
29252 Added check for live sources.
29253 Fixed case in GstBin where elements were changed state
29257 2005-06-23 Andy Wingo <wingo@pobox.com>
29259 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29260 borken refcounting.
29262 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29263 gst_caps_replace takes care of this for us.
29265 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29266 gst_pad_set_caps on the target, not just its setcaps() function.
29268 * tests/network-clock.scm:
29269 * tests/network-clock-utils.scm: A network clock simulator.
29270 Something of an algorithmic testbed before doing something in C.
29272 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29274 * check/Makefile.am:
29275 * check/gst/capslist.h:
29276 copy over from 0.8, and add two with bitmasks specified with
29278 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29279 add test to parse everything from capslist.h
29280 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29282 add test for structure deserialization
29283 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29284 add tests for deserialization of strings to int types
29285 * gst/gststructure.c: (gst_structure_nth_field_name):
29286 * gst/gststructure.h:
29287 add a way to get the name of a field referenced by index
29288 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29289 instead of checking if the resulting long long lies between
29290 min and max, we check if the long long would fit into
29291 a number of bytes for the final type.
29292 This fixes cases where a string represents 2^32 - 1, which
29293 when cast to int would be the (valid) -1, but is bigger than
29296 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29298 * gst/parse/grammar.y:
29299 add a log line for type deserialization
29301 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29303 * check/gst/gstvalue.c: (START_TEST):
29304 * gst/gstvalue.c: (gst_value_deserialize):
29305 return long long, not int, so gint64 deserialization actually
29306 works. Is there any flag that makes the compiler check this ?
29309 2005-06-22 Wim Taymans <wim@fluendo.com>
29312 Added convenience macros for setting buffers in GValue.
29314 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29316 * check/gst/.cvsignore:
29317 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29318 add a test deserializing int64, and comment part out because
29321 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29323 * check/Makefile.am:
29324 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29325 * testsuite/Makefile.am:
29326 * testsuite/caps/Makefile.am:
29327 * testsuite/caps/value_serialize.c:
29328 * testsuite/test_gst_init.c:
29329 move a value_serialize test over
29331 2005-06-20 Wim Taymans <wim@fluendo.com>
29336 * gst/gstvalue.c: (gst_value_compare_buffer),
29337 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29338 (gst_value_compare_flags), (gst_value_serialize_flags),
29339 (gst_value_deserialize_flags), (_gst_value_initialize):
29340 Fix serialisation of buffers, they are not boxed types anymore
29342 2005-06-20 Wim Taymans <wim@fluendo.com>
29344 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29345 Testcase to show error in buffer-on-caps serialisation.
29347 2005-06-20 Andy Wingo <wingo@pobox.com>
29349 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29350 will be adding to later.
29352 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29353 if its socks fill with rocks.
29354 (gst_system_clock_obtain): Set the name on object construction.
29355 Avoid double-checked locking.
29357 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29359 * gst/gsturi.c: (gst_element_make_from_uri):
29360 Fix potential endless loop.
29362 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29364 * check/Makefile.am:
29366 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29368 move over from testsuite dir and clean up
29371 * testsuite/Makefile.am:
29372 * testsuite/tags/.cvsignore:
29373 * testsuite/tags/Makefile.am:
29374 * testsuite/tags/merge.c:
29375 remove testsuite/tags
29377 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29379 * docs/gst/gstreamer-sections.txt:
29380 * docs/gst/tmpl/gstenumtypes.sgml:
29381 * win32/gstenumtypes.c:
29382 clean up documentation build a little
29384 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29386 * check/gstcheck.h:
29387 add macros for checking refcounts on objects and caps
29388 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29389 add some more unit tests
29390 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29391 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29392 fix leaked refcounts (I hope :)) so unittest works
29396 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29398 * configure.ac: back to HEAD
29400 === release 0.9.1 ===
29402 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29408 2005-06-17 Andy Wingo <wingo@pobox.com>
29410 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29411 assert; it's always possible that the pad gets deactivated in
29412 between the checks in gstpad.c and the implementation. Rely on
29413 finish_preroll() to return a FLUSHING or similar instead of on the
29416 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29417 clock and post an EOS message if we come out of finish_preroll in
29420 2005-06-16 David Schleef <ds@schleef.org>
29422 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29423 (gst_capsfilter_set_property): Allow NULL as possible value
29424 for filter_caps property, indicating GST_CAPS_ANY.
29426 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29428 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29430 * gst/schedulers/Makefile.am:
29432 * gstreamer.spec.in:
29435 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29437 * gstreamer.spec.in:
29440 2005-06-08 Andy Wingo <wingo@pobox.com>
29442 * gst/gstutils.c: RPAD fixes all around.
29443 (gst_element_link_pads): Refcounting fixes.
29445 * tools/gst-inspect.c:
29446 * tools/gst-xmlinspect.c:
29448 * gst/base/gsttypefindhelper.c:
29449 * gst/base/gstbasesink.c:
29450 * gst/gstqueue.c: RPAD fixes.
29452 * gst/gstghostpad.h:
29453 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29454 pads. The tricky thing is they provide both source and sink
29455 interfaces, since they proxy the internal pad for the external
29456 pad, and vice versa. Implement with lower-level ProxyPad objects,
29457 with the interior proxy pad as a child of the exterior ghost pad.
29458 Should write a doc on this.
29460 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29461 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29464 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29465 pads are real pads. No ghost pads in this file. Not documenting
29466 the myriad s/RPAD/PAD/ and REALIZE fixes.
29467 (gst_pad_class_init): Add properties for "direction" and
29468 "template". Both are construct-only, so they can't change during
29469 the life of the pad. Fixes properly deriving from GstPad.
29470 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29471 derived objects, just set properties when creating the objects via
29473 (gst_pad_get_parent): Implement as a function, return NULL if the
29474 parent is not an element.
29475 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29476 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29478 * gst/gstobject.c (gst_object_class_init): Make name a construct
29479 property. Don't set it in the object init.
29481 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29482 with UNKNOWN direction.
29483 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29484 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29485 (gst_element_remove_pad): Remove ghost-pad special cases.
29486 (gst_element_pads_activate): Remove rpad cruft.
29488 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29489 catch the pad's-parent-not-an-element case.
29491 * gst/gst.h: Include gstghostpad.h.
29493 * gst/gst.c (init_post): No more real, ghost pads.
29495 * gst/Makefile.am: Add gstghostpad.[ch].
29497 * check/Makefile.am:
29498 * check/gst/gstbin.c:
29499 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29500 into a bin creates ghost pads, and that the refcounts are right.
29501 Partly moved from gstbin.c.
29503 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29505 * check/gst-libs/.cvsignore:
29506 * check/gst/.cvsignore:
29507 * check/pipelines/.cvsignore:
29509 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29510 (START_TEST), (cleanup_suite), (main):
29511 add some tests related to cleanup after running pipelines
29513 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29515 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29516 add a testsuite for GstBuffer
29518 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29520 * gst/gstminiobject.h:
29521 add defines for accessing the refcount
29523 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29525 * Makefile.am: added support for html unit test coverage reports
29527 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29529 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29530 Free existing caps if the capsfilter changes. Add a FIXME about
29531 setting those caps on the pads.
29533 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29534 Before adding a ghost pad to a parent bin, check that there isn't
29535 already one for the element on the bin. Prevents infinite recursion
29536 when using decodebin in parse pipelines. Andy says he'll rewrite the
29537 way this works anyway, so ignore the hack.
29539 2005-06-02 Andy Wingo <wingo@pobox.com>
29541 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29542 file size, pass it on to the type find helper.
29544 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29545 segment_start and segment_end properly according to the seek
29546 method. Segment_end is still a bit flaky because offset can be
29547 negative for CUR and END cases, but it takes -1 as an "unset"
29550 2005-06-02 Wim Taymans <wim@fluendo.com>
29552 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29553 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29554 (gst_basesink_activate):
29555 * gst/base/gstbasesink.h:
29556 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29557 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29558 (gst_pad_query), (gst_pad_start_task):
29560 * gst/gstqueue.c: (gst_queue_bufferalloc),
29561 (gst_queue_handle_sink_event), (gst_queue_chain):
29562 Bufferalloc: return GstFlowReturn to more accuratly report
29563 why allocation failed.
29565 2005-06-02 Wim Taymans <wim@fluendo.com>
29567 * gst/gstpipeline.c: (gst_pipeline_send_event):
29568 Take snapshot of state without blocking.
29570 2005-06-02 Wim Taymans <wim@fluendo.com>
29572 * docs/design/part-TODO.txt:
29573 * docs/design/part-caps.txt:
29574 * docs/design/part-clocks.txt:
29575 * docs/design/part-negotiation.txt:
29576 * docs/design/part-preroll.txt:
29579 2005-05-30 Wim Taymans <wim@fluendo.com>
29581 * gst/elements/gstidentity.c: (gst_identity_event),
29582 (gst_identity_transform), (gst_identity_get_property):
29583 Protect last_message property as it is accessed from
29586 2005-05-30 Wim Taymans <wim@fluendo.com>
29588 * gst/gstelement.c: (gst_element_init),
29589 (gst_element_pads_activate), (gst_element_change_state):
29590 Slicker pad activation code.
29592 2005-05-30 Wim Taymans <wim@fluendo.com>
29595 * gst/gstelement.h:
29596 * gst/gstelementfactory.h:
29598 Move elementfactory methods to separate .h file.
29600 2005-05-30 Wim Taymans <wim@fluendo.com>
29602 * docs/design/part-overview.txt:
29603 * gst/gstsystemclock.h:
29604 Small typo fixes, doc updates.
29606 2005-05-30 Wim Taymans <wim@fluendo.com>
29608 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29609 (init_popt_callback):
29610 Remove cpu-opt flag.
29612 2005-05-30 Wim Taymans <wim@fluendo.com>
29614 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29615 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29617 Avoid typechecking in places where not needed.
29618 Added accessor for malloc_data.
29620 2005-05-30 Wim Taymans <wim@fluendo.com>
29622 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29623 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29624 (gst_pad_configure_sink), (gst_pad_configure_src),
29625 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29626 (gst_pad_start_task):
29627 Propagate errors from _set_caps() in configure_src/sink
29628 functions instead of returning TRUE.
29629 FLUSH events can travel up and downstream
29632 2005-05-30 Wim Taymans <wim@fluendo.com>
29634 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29635 (gst_basesink_activate):
29636 Handle EOS in preroll.
29638 2005-05-30 Wim Taymans <wim@fluendo.com>
29640 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29641 (gst_queue_loop), (gst_queue_handle_src_event):
29642 Remove old pieces of code
29643 Flushing the queue in an upstream event is a very bad idea.
29645 2005-05-26 Andy Wingo <wingo@pobox.com>
29647 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29648 gst_value_set_mini_object so as to add a ref on the object (which
29649 will be removed when the value is unset).
29651 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29652 arg type in ::handoff.
29654 * gst/gstelement.c (gst_element_change_state): Also deactivate
29655 pads in READY->NULL, just in case the element didn't make it to
29656 PAUSED. Wingo tested, Wim approved.
29658 2005-05-26 Wim Taymans <wim@fluendo.com>
29660 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29661 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29662 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29663 A flushing pad cannot be used to alloc_buffer from.
29665 2005-05-26 Wim Taymans <wim@fluendo.com>
29667 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29668 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29669 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29670 (gst_bus_create_watch), (gst_bus_add_watch_full):
29672 Implement a real GSource and use g_main_context_wakeup() to
29673 signal new messages instead of the socketpair.
29675 2005-05-25 Wim Taymans <wim@fluendo.com>
29677 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29678 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29679 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29680 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29681 (gst_pad_send_event), (gst_pad_start_task):
29682 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29683 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29684 (gst_queue_sink_activate), (gst_queue_src_activate),
29685 (gst_queue_change_state):
29687 Fix state changes for non sinks. We now change sinks, then elements
29688 with unconnected srcpads, then the rest.
29689 More efficient queue unlocking in flush and state changes.
29690 Set the pad activate mode even if it does not have an activate
29693 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29695 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29696 Don't go in pull mode for non-seekable sources.
29697 * gst/elements/gsttypefindelement.h:
29698 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29699 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29700 (free_entry), (stop_typefinding),
29701 (gst_type_find_element_handle_event), (find_peek),
29702 (gst_type_find_element_chain), (do_pull_typefind),
29703 (gst_type_find_element_change_state):
29704 Allow typefinding (w/o seeking) in push-mode, simplified version
29705 of what was in 0.8.
29706 * gst/gstutils.c: (gst_buffer_join):
29708 gst_buffer_join() from 0.8.
29710 2005-05-25 Wim Taymans <wim@fluendo.com>
29712 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29713 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29714 (gst_pad_send_event), (gst_pad_start_task):
29715 Disable attempt at mode switching until it is figured out.
29717 2005-05-25 Wim Taymans <wim@fluendo.com>
29719 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29720 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29721 (gst_basesink_finish_preroll), (gst_basesink_chain),
29722 (gst_basesink_loop), (gst_basesink_activate),
29723 (gst_basesink_change_state):
29724 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29725 (gst_basesrc_get_range), (gst_basesrc_loop),
29726 (gst_basesrc_activate):
29727 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29728 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29729 (gst_real_pad_init), (gst_real_pad_set_property),
29730 (gst_real_pad_get_property), (gst_pad_set_active),
29731 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29732 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29733 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29734 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29735 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29736 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29737 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29738 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29739 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29740 (gst_pad_stop_task):
29742 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29743 (gst_queue_loop), (gst_queue_src_activate):
29744 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29745 (gst_task_get_state):
29747 * gst/schedulers/threadscheduler.c:
29748 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29749 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29751 Remove ACTIVE pad flag, use FLUSHING everywhere
29752 Added _pad_chain(), _pad_get_range() to call chain/getrange
29754 Add locks around IS_FLUSHING when reading.
29755 Take STREAM lock in chain(), get_range() functions so plugins
29756 don't need to take it anymore.
29760 2005-05-25 Wim Taymans <wim@fluendo.com>
29762 * tools/gst-launch.c: (event_loop):
29763 Unref message after using its contents instead of
29766 2005-05-24 Wim Taymans <wim@fluendo.com>
29768 * docs/design/draft-ghostpads.txt:
29769 * docs/design/draft-push-pull.txt:
29770 * docs/design/draft-query.txt:
29771 * docs/design/part-overview.txt:
29772 Docs updates, added general overview doc.
29774 2005-05-21 David Schleef <ds@schleef.org>
29776 * docs/gst/tmpl/old/GstBin.sgml:
29777 * docs/gst/tmpl/old/GstBuffer.sgml:
29778 * docs/gst/tmpl/old/GstCaps.sgml:
29779 * docs/gst/tmpl/old/GstClock.sgml:
29780 * docs/gst/tmpl/old/GstCompat.sgml:
29781 * docs/gst/tmpl/old/GstData.sgml:
29782 * docs/gst/tmpl/old/GstElement.sgml:
29783 * docs/gst/tmpl/old/GstEvent.sgml:
29784 * docs/gst/tmpl/old/GstIndex.sgml:
29785 * docs/gst/tmpl/old/GstStructure.sgml:
29786 * docs/gst/tmpl/old/GstTag.sgml:
29787 * docs/gst/tmpl/old/cothreads.sgml:
29788 * docs/gst/tmpl/old/cothreads_compat.sgml:
29789 * docs/gst/tmpl/old/gettext.sgml:
29790 * docs/gst/tmpl/old/gobject2gtk.sgml:
29791 * docs/gst/tmpl/old/grammar.tab.sgml:
29792 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29793 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29794 * docs/gst/tmpl/old/gst_private.sgml:
29795 * docs/gst/tmpl/old/gstaggregator.sgml:
29796 * docs/gst/tmpl/old/gstarch.sgml:
29797 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29798 * docs/gst/tmpl/old/gstbufferstore.sgml:
29799 * docs/gst/tmpl/old/gstdata_private.sgml:
29800 * docs/gst/tmpl/old/gstdisksink.sgml:
29801 * docs/gst/tmpl/old/gstdisksrc.sgml:
29802 * docs/gst/tmpl/old/gstelementfactory.sgml:
29803 * docs/gst/tmpl/old/gstextratypes.sgml:
29804 * docs/gst/tmpl/old/gstfakesink.sgml:
29805 * docs/gst/tmpl/old/gstfakesrc.sgml:
29806 * docs/gst/tmpl/old/gstfdsink.sgml:
29807 * docs/gst/tmpl/old/gstfdsrc.sgml:
29808 * docs/gst/tmpl/old/gstfilesink.sgml:
29809 * docs/gst/tmpl/old/gstfilesrc.sgml:
29810 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29811 * docs/gst/tmpl/old/gstidentity.sgml:
29812 * docs/gst/tmpl/old/gstindexfactory.sgml:
29813 * docs/gst/tmpl/old/gstmarshal.sgml:
29814 * docs/gst/tmpl/old/gstmd5sink.sgml:
29815 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29816 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29817 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29818 * docs/gst/tmpl/old/gstpipefilter.sgml:
29819 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29820 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29821 * docs/gst/tmpl/old/gstshaper.sgml:
29822 * docs/gst/tmpl/old/gstspider.sgml:
29823 * docs/gst/tmpl/old/gstspideridentity.sgml:
29824 * docs/gst/tmpl/old/gststatistics.sgml:
29825 * docs/gst/tmpl/old/gsttee.sgml:
29826 * docs/gst/tmpl/old/gsttimecache.sgml:
29827 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29828 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29829 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29830 * docs/gst/tmpl/old/types.sgml:
29831 I didn't intend to add these or check them in.
29833 2005-05-19 David Schleef <ds@schleef.org>
29835 * configure.ac: Use -no-common everywhere. In a sane world, it
29836 would be the default in libtool, because without it, you can't
29837 build DLLs on Windows.
29838 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29839 * docs/gst/gstreamer-sections.txt:
29840 * docs/gst/tmpl/gstcpu.sgml:
29841 * docs/gst/tmpl/gstdata.sgml:
29842 * docs/gst/tmpl/gstthread.sgml:
29844 2005-05-19 David Schleef <ds@schleef.org>
29846 * gst/gstminiobject.c: (gst_value_set_mini_object),
29847 (gst_value_take_mini_object), (gst_value_get_mini_object):
29848 * gst/gstminiobject.h: Add GValue set/get functions.
29850 2005-05-19 Wim Taymans <wim@fluendo.com>
29852 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29853 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29854 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29856 * gst/gstbus.c: (gst_bus_post):
29857 * gst/gstelement.c: (gst_element_get_random_pad):
29858 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29859 Make subbufer unref the parent in finalize.
29860 some more debugging info.
29863 2005-05-19 Wim Taymans <wim@fluendo.com>
29865 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29866 (gst_basesink_init), (gst_basesink_finalize),
29867 (gst_basesink_activate), (gst_basesink_change_state):
29868 Don't free preroll queue too early.
29870 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29874 Hi, I'm outdated. Please shoot me.
29876 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29878 * gst/gstpipeline.c: (gst_pipeline_send_event):
29879 Do not access variables after they have been deleted.
29881 2005-05-19 Wim Taymans <wim@fluendo.com>
29883 * tools/gst-inspect.c: (print_plugin_features):
29884 A plugin feature does unfortunatly not use the
29887 2005-05-18 Wim Taymans <wim@fluendo.com>
29889 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29890 Port _span() functions to new subbuffers.
29892 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29894 * gst/gstbin.c: (gst_bin_add_func):
29895 Fix clock settery in bins when adding kids after the clock has
29898 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29900 * gst/elements/gstidentity.c: (gst_identity_class_init):
29901 Workaround until signals support GstMiniObject.
29903 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29906 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29908 2005-05-18 Wim Taymans <wim@fluendo.com>
29910 * gst/base/Makefile.am:
29911 * gst/base/gstadapter.c: (gst_adapter_base_init),
29912 (gst_adapter_class_init), (gst_adapter_init),
29913 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29914 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29915 (gst_adapter_flush), (gst_adapter_available),
29916 (gst_adapter_available_fast):
29917 * gst/base/gstadapter.h:
29918 Ported and added adapter to the base classes.
29920 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29923 * gst/gstmessage.c:
29924 Make sure the class is reffed/unreffed once before threads can be
29925 used. Fixes #304551.
29927 2005-05-17 Wim Taymans <wim@fluendo.com>
29929 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29930 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29931 * gst/gstminiobject.c: (gst_mini_object_get_type),
29932 (gst_mini_object_free):
29933 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29934 (gst_pad_push), (gst_pad_push_event):
29935 * gst/gstqueue.c: (gst_queue_change_state):
29936 Don't queue buffers in basesink when we are flushing.
29937 Unref buffer when flushing in basesink.
29938 Flush queue when going to READY
29939 Unref buffer when _push() returns an error.
29940 Don't free MiniObject instance when refcount is incremented
29941 in _finalize() so that we can recover objects.
29943 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29945 * docs/manual/advanced-schedulers.xml:
29946 * docs/manual/appendix-checklist.xml:
29947 * docs/pwg/advanced-clock.xml:
29948 * docs/pwg/advanced-interfaces.xml:
29949 * docs/pwg/advanced-request.xml:
29950 * docs/pwg/advanced-types.xml:
29951 * docs/pwg/intro-preface.xml:
29952 * examples/plugins/example.c: (gst_example_get_type),
29953 (gst_example_class_init), (gst_example_chain),
29954 (gst_example_set_property), (gst_example_get_property),
29955 (gst_example_change_state), (plugin_init):
29956 * examples/plugins/example.h:
29959 2005-05-17 Wim Taymans <wim@fluendo.com>
29961 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29962 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29963 * gst/gstqueue.c: (gst_queue_change_state):
29964 Clear queue when going to READY.
29965 Remove IN_SETCAPS flag too.
29967 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29969 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29970 Remove implicit cast from gboolean to GstElementStateReturn;
29971 make sure we still return failure in paused => ready case if
29972 the parent class fails to change state and our own stop
29975 2005-05-17 Wim Taymans <wim@fluendo.com>
29977 * tools/gst-launch.c: (event_loop):
29978 Message was unreffed too soon.
29980 2005-05-16 Andy Wingo <wingo@pobox.com>
29982 * gst/gstbin.c (sink_iterator_filter): Err... um...
29984 * check/gst/gstbin.c (test_ghost_pads): New test for the
29985 ghosting-if-elements-not-in-same-bin behavior.
29987 2005-05-16 David Schleef <ds@schleef.org>
29989 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29990 accessing refcount directly.
29992 2005-05-15 David Schleef <ds@schleef.org>
29994 * check/Makefile.am: remove GstData checks
29995 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29996 * gst/Makefile.am: add miniobject, remove data
29997 * gst/gst.h: add miniobject, remove data
29998 * gst/gstdata.c: remove
29999 * gst/gstdata.h: remove
30000 * gst/gstdata_private.h: remove
30001 * gst/gsttypes.h: remove GstEvent and GstMessage
30002 * gst/gstelement.c: (gst_element_post_message): fix for API changes
30003 * gst/gstmarshal.list: change BOXED -> OBJECT
30005 Implement GstMiniObject.
30006 * gst/gstminiobject.c:
30007 * gst/gstminiobject.h:
30009 Modify to be subclasses of GstMiniObject.
30010 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30011 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30012 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30013 (gst_subbuffer_get_type), (gst_subbuffer_init),
30014 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30017 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30018 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30019 (_gst_event_copy), (gst_event_new):
30021 * gst/gstmessage.c: (_gst_message_initialize),
30022 (gst_message_get_type), (gst_message_class_init),
30023 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30024 (gst_message_new), (gst_message_new_error),
30025 (gst_message_new_warning), (gst_message_new_tag),
30026 (gst_message_new_state_changed), (gst_message_new_application):
30027 * gst/gstmessage.h:
30028 * gst/gstprobe.c: (gst_probe_perform),
30029 (gst_probe_dispatcher_dispatch):
30031 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30032 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30033 (_gst_query_copy), (gst_query_new):
30035 Update elements for GstData -> GstMiniObject changes
30037 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30038 (gst_queue_chain), (gst_queue_loop):
30039 * gst/elements/gstbufferstore.c:
30040 (gst_buffer_store_add_buffer_func),
30041 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30042 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30043 (gst_fakesink_render):
30044 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30045 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30046 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30047 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30048 (gst_filesrc_create_read):
30049 * gst/elements/gstidentity.c: (gst_identity_class_init):
30050 * gst/elements/gsttypefindelement.c:
30051 (gst_type_find_element_src_event), (free_entry_buffers),
30052 (gst_type_find_element_handle_event):
30053 * libs/gst/dataprotocol/dataprotocol.c:
30054 (gst_dp_header_from_buffer):
30055 * libs/gst/dataprotocol/dataprotocol.h:
30056 * libs/gst/dataprotocol/dp-private.h:
30058 2005-05-15 David Schleef <ds@schleef.org>
30060 * gst/elements/gstelements.c: Don't include headers that were
30063 2005-05-15 David Schleef <ds@schleef.org>
30065 * gst/elements/Makefile.am: Remove some elements that don't
30066 need to be in the core (or even exist at all).
30067 * gst/elements/gstaggregator.c:
30068 * gst/elements/gstaggregator.h:
30069 * gst/elements/gstmd5sink.c:
30070 * gst/elements/gstmd5sink.h:
30071 * gst/elements/gstmultifilesrc.c:
30072 * gst/elements/gstmultifilesrc.h:
30073 * gst/elements/gstpipefilter.c:
30074 * gst/elements/gstpipefilter.h:
30075 * gst/elements/gstshaper.c:
30076 * gst/elements/gstshaper.h:
30077 * gst/elements/gststatistics.c:
30078 * gst/elements/gststatistics.h:
30079 * po/POTFILES.in: Remove above files.
30081 2005-05-14 Andy Wingo <wingo@pobox.com>
30083 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30084 so as to get the refs right.
30085 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30086 unreffing objects that don't pass the filter.
30088 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30089 gst_element_set_bus.
30090 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30091 normal cases, this will destroy the bus.
30093 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30096 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30099 2005-05-13 Andy Wingo <wingo@pobox.com>
30101 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30102 gst_pad_link, call pad_link_maybe_ghosting,
30103 (pad_link_maybe_ghosting): Links pads, making sure that the
30104 elements being linked are in the same bin.
30105 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30106 Helpers for pad_link_maybe_ghosting.
30108 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30111 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30113 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30115 * docs/design/part-element-source.txt:
30118 2005-05-12 Wim Taymans <wim@fluendo.com>
30120 * gst/base/gstbasesink.c: (gst_basesink_init),
30121 (gst_basesink_activate):
30122 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30123 (gst_basesrc_is_seekable):
30124 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30125 (bin_element_is_sink), (gst_bin_change_state):
30126 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30127 * gst/gstelement.h:
30128 Identify sinks by their flag to avoid overly complicated
30130 Do state changes even for elements not reachable from the
30132 BaseSink is a sink now :)
30133 Some more debugging info in the basesrc.
30136 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30138 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30139 Implement _query on a bin, similar to _send_event.
30141 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30143 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30144 Discont event offset format should be GST_FORMAT_BYTES,
30145 not GST_FORMAT_TIME.
30147 2005-05-12 Wim Taymans <wim@fluendo.com>
30149 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30150 Same fix as Ronald's but without the signal.
30152 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30154 * gst/gstutils.c: (gst_element_query_position):
30155 No, an element is not a pad.
30157 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30159 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30160 (gst_bin_get_state):
30161 If a child is removed from a bin while we remove the child from
30162 the bin and while we're retrieving its state, signal this to the
30163 get_state function so we abort the wait (instead of waiting for
30164 a timeout) and can immediately re-iterate over all other elements.
30166 2005-05-12 Wim Taymans <wim@fluendo.com>
30168 * gst/base/Makefile.am:
30169 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30170 (gst_basesrc_start):
30171 * gst/base/gstbasesrc.h:
30172 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30173 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30174 (gst_pushsrc_init), (gst_pushsrc_create):
30175 * gst/base/gstpushsrc.h:
30176 Added is_seekable to BaseSrc
30177 Added simple PushSrc.
30179 2005-05-11 Wim Taymans <wim@fluendo.com>
30181 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30182 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30183 (gst_element_link_pads), (gst_element_query_position),
30184 (gst_element_query_convert), (intersect_caps_func),
30185 (gst_pad_query_position), (gst_pad_query_convert):
30186 Fix refcounting in utils function.
30187 No point in trying to activate a pad when it's added, it could
30188 be added from the state change function and then we deadlock, the
30189 element has to decide what to do.
30191 2005-05-10 Andy Wingo <wingo@pobox.com>
30193 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30194 *all* the arguments.
30196 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30197 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30198 lock (according to the docs -- if this is wrong change the docs).
30200 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30201 flush messages in the NULL state.
30203 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30204 message immediately and return.
30205 (gst_bus_set_flushing): New function. If a bus is flushing, it
30206 flushes out any queued messages and immediately unrefs new
30207 messages. This is so when an element goes to NULL, all of the
30208 unhandled messages coming from it can be freed, and their
30209 references to the element dropped. In other words: message source
30210 ref considered harmful :P
30212 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30213 we're finished with it.
30215 * gst/gstmessage.c (gst_message_new_state_changed):
30217 2005-05-10 Wim Taymans <wim@fluendo.com>
30219 * gst/gstvalue.c: (gst_value_compare_flags),
30220 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30221 (_gst_value_initialize):
30222 Added flags serialize/deserialize/compare code.
30224 2005-05-09 Andy Wingo <wingo@pobox.com>
30226 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30227 Intersect the peer's caps with our caps.
30229 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30231 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30232 * gst/elements/gsttypefindelement.c: (find_peek):
30233 Handle negative offsets better. Fixes decodebin.
30235 2005-05-09 Wim Taymans <wim@fluendo.com>
30237 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30238 (gst_base_transform_event):
30239 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30240 Implement accept_caps.
30241 Fix silly lock/unlock mismatch in base class.
30243 2005-05-09 Wim Taymans <wim@fluendo.com>
30245 * docs/design/draft-push-pull.txt:
30246 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30247 * gst/elements/gstfilesink.c: (gst_filesink_init),
30248 (gst_filesink_query):
30249 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30250 (gst_type_find_handle_src_query), (find_element_get_length):
30251 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30252 * gst/gstelement.h:
30253 * gst/gstmessage.c:
30254 * gst/gstmessage.h:
30255 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30256 (gst_real_pad_get_caps_unlocked),
30257 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30258 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30259 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30260 (gst_real_pad_dispose), (gst_real_pad_finalize),
30261 (gst_pad_load_and_link), (gst_pad_save_thyself),
30262 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30263 (gst_pad_check_pull_range), (gst_pad_pull_range),
30264 (gst_pad_template_get_type), (gst_pad_template_class_init),
30265 (gst_pad_template_init), (gst_pad_template_dispose),
30266 (name_is_valid), (gst_static_pad_template_get),
30267 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30268 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30269 (gst_pad_get_element_private), (gst_pad_start_task),
30270 (gst_pad_pause_task), (gst_pad_stop_task),
30271 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30272 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30273 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30274 (gst_ghost_pad_new):
30276 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30277 (gst_query_new_position), (gst_query_set_position),
30278 (gst_query_parse_position), (gst_query_new_convert),
30279 (gst_query_set_convert), (gst_query_parse_convert):
30281 * gst/gstqueryutils.c:
30282 * gst/gstqueryutils.h:
30283 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30284 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30285 (gst_queue_handle_src_query):
30286 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30287 (gst_element_query_position), (gst_element_query_convert),
30288 (intersect_caps_func), (gst_pad_query_position),
30289 (gst_pad_query_convert):
30291 * tools/gst-inspect.c: (print_pad_info):
30292 * tools/gst-xmlinspect.c: (print_element_info):
30293 Remove old query functions. Ported old code.
30294 Added position/convert helper functions to gstutils.
30295 Reordered gstpad.c code, grouping relevant things.
30296 Remove gst_message_new(), always need to speficy a specific
30300 2005-05-09 Andy Wingo <wingo@pobox.com>
30302 * gst/gstiterator.h: Add some includes.
30304 * gst/gstqueryutils.h: Include more headers.
30307 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30308 some uses of gst_pad_query.
30310 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30311 NULL out parameters.
30312 (gst_query_new_position): New proc, allocates a new position
30315 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30316 gstqueryutils.c to the build.
30318 * gst/gststructure.c (gst_structure_set_valist): Implement with
30319 the generic G_VALUE_COLLECT.
30321 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30323 * gst/Makefile.am: (gst_headers):
30324 Added gstqueryutils.h to the list of headers to install, that was
30325 a 'nachty' move wingo :)
30327 2005-05-06 Andy Wingo <wingo@pobox.com>
30330 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30331 GstData, init a memchunk.
30332 (standard_definitions): Add a few query types, deprecate a few.
30333 (gst_query_get_type): New proc.
30334 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30336 (gst_query_new_application, gst_query_get_structure): New public
30339 * docs/design/draft-query.txt: Removed LINKS from the query types,
30340 because all the rest can be dispatched to other pads -- seemed
30341 ugly to have a query that couldn't be dispatched. internal_links
30342 is fine as a pad method.
30344 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30345 in gstpad.c, but maintain binary compatibility for the moment.
30346 Will fix before 0.9 is out.
30348 * gst/gstqueryutils.c:
30349 * gst/gstqueryutils.h: New files, implement 3 methods for each
30350 query type: parse_query, parse_response, and set. Probably need an
30353 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30355 * gst/elements/gstfilesink.c (gst_filesink_query2):
30356 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30357 query_types, and formats methods.
30359 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30360 (gst_pad_set_query2_function): New functions.
30361 (gst_real_pad_init): Set query2_default as the default query2
30362 function. Basically just dispatches to internally linked pads.
30366 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30367 without using the atomic operations. Only one thread can possibly
30368 be accessing the data at this point. Changed so as to avoid
30369 gst_atomic operations.
30371 2005-05-06 Wim Taymans <wim@fluendo.com>
30373 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30374 Also set caps if we use the fallback buffer alloc.
30376 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30378 * docs/gst/Makefile.am:
30379 * docs/gst/gstreamer-docs.sgml:
30380 * docs/gst/gstreamer-sections.txt:
30381 * docs/gst/tmpl/gstatomic.sgml:
30382 * docs/gst/tmpl/gstmemchunk.sgml:
30383 * testsuite/elements/struct_i386.h:
30384 * win32/GStreamer.vcproj:
30386 Purge GstAtomic stuff from docs and win32 makefiles as well
30388 2005-05-06 Wim Taymans <wim@fluendo.com>
30390 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30391 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30392 * gst/gstpad.c: (gst_pad_peer_get_caps):
30393 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30394 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30395 (gst_queue_src_activate), (gst_queue_change_state):
30397 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30398 (intersect_caps_func):
30399 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30400 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30401 Some fixes for the peer_get_caps() change.
30403 2005-05-06 Wim Taymans <wim@fluendo.com>
30405 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30406 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30407 (gst_basesink_activate):
30408 Actually do something with error codes returned from the push
30411 2005-05-06 Wim Taymans <wim@fluendo.com>
30413 * docs/design/part-element-sink.txt:
30414 * docs/design/part-element-source.txt:
30415 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30416 (gst_basesink_event), (gst_basesink_activate):
30417 * gst/base/gstbasesink.h:
30418 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30419 (gst_basesrc_activate):
30420 * gst/base/gstbasesrc.h:
30421 * gst/gstelement.c: (gst_element_pads_activate):
30422 Some more documentation.
30423 Fixed scheduling decision in _pads_activate().
30425 2005-05-05 Andy Wingo <wingo@pobox.com>
30427 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30430 2005-05-05 Wim Taymans <wim@fluendo.com>
30432 * gst/base/Makefile.am:
30433 * gst/base/gstbasesink.h:
30434 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30435 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30436 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30437 (gst_collectpads_class_init), (gst_collectpads_init),
30438 (gst_collectpads_finalize), (gst_collectpads_new),
30439 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30440 (find_pad), (gst_collectpads_remove_pad),
30441 (gst_collectpads_is_active), (gst_collectpads_collect),
30442 (gst_collectpads_collect_range), (gst_collectpads_start),
30443 (gst_collectpads_stop), (gst_collectpads_peek),
30444 (gst_collectpads_pop), (gst_collectpads_available),
30445 (gst_collectpads_read), (gst_collectpads_flush),
30446 (gst_collectpads_chain):
30447 * gst/base/gstcollectpads.h:
30448 * gst/elements/Makefile.am:
30449 * gst/elements/gstelements.c:
30450 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30451 (gst_fakesink_get_times), (gst_fakesink_event),
30452 (gst_fakesink_preroll), (gst_fakesink_render):
30453 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30454 (gst_filesink_init), (gst_filesink_set_location),
30455 (gst_filesink_open_file), (gst_filesink_close_file),
30456 (gst_filesink_pad_query), (gst_filesink_event),
30457 (gst_filesink_render), (gst_filesink_change_state):
30458 * gst/elements/gstfilesink.h:
30459 Added object to help in making collect pad based elements.
30461 Make event function in sink baseclass return gboolean.
30463 2005-05-05 Wim Taymans <wim@fluendo.com>
30465 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30466 (gst_bin_get_by_name):
30468 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30469 (gst_clock_finalize):
30470 * gst/gstdata.c: (gst_data_replace):
30472 * gst/gstelement.c: (gst_element_request_pad),
30473 (gst_element_pads_activate):
30474 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30475 (gst_object_unref):
30476 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30477 (gst_pad_set_checkgetrange_function),
30478 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30479 (gst_pad_check_pull_range), (gst_pad_pull_range),
30480 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30481 (gst_pad_pause_task), (gst_pad_stop_task):
30482 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30483 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30484 Fix name lookup in GstBin.
30485 Added _data_replace() function and _buffer_replace()
30486 Use finalize method to clean up clock.
30487 Fix refcounting on request pads.
30488 Fix pad schedule mode error.
30489 Some more object refcounting debug info,
30492 2005-05-04 Andy Wingo <wingo@pobox.com>
30494 * check/Makefile.am:
30495 * docs/gst/tmpl/gstatomic.sgml:
30496 * docs/gst/tmpl/gstplugin.sgml:
30497 * gst/base/gstbasesink.c: (gst_basesink_activate):
30498 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30499 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30500 (gst_basesrc_query), (gst_basesrc_set_property),
30501 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30502 (gst_basesrc_activate):
30503 * gst/base/gstbasesrc.h:
30504 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30505 (gst_base_transform_src_activate):
30506 * gst/elements/gstelements.c:
30507 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30508 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30509 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30510 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30511 (gst_type_find_element_checkgetrange),
30512 (gst_type_find_element_activate):
30513 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30514 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30515 (gst_caps_load_thyself):
30516 * gst/gstelement.c: (gst_element_pads_activate),
30517 (gst_element_save_thyself), (gst_element_restore_thyself):
30518 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30519 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30521 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30522 (gst_xml_parse_file), (gst_xml_parse_memory),
30523 (gst_xml_get_element), (gst_xml_make_element):
30524 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30525 (_file_index_id_save_xml), (gst_file_index_commit):
30526 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30527 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30529 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30530 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30531 * tools/gst-complete.c: (main):
30532 * tools/gst-compprep.c: (main):
30533 * tools/gst-inspect.c: (print_element_properties_info):
30534 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30535 * tools/gst-xmlinspect.c: (print_element_properties):
30538 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30540 * gst/gstplugin.c: (gst_plugin_check_module),
30541 (gst_plugin_check_file), (gst_plugin_load_file):
30542 apply patch from #172526 to make register work on MacOSX
30544 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30546 * docs/gst/tmpl/gstconfig.sgml:
30547 * gst/gstconfig.h.in:
30548 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30549 * testsuite/debug/printf_extension.c: (main):
30550 Do not use GST_PTR_FORMAT on pointers to types with
30551 sizeof < sizeof(gpointer). Fixes test on 64-bit
30552 * testsuite/elements/property.h:
30553 use correct printf format
30555 2005-05-02 Wim Taymans <wim@fluendo.com>
30557 * docs/design/draft-push-pull.txt:
30558 * docs/design/draft-query.txt:
30559 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30560 (gst_basesrc_start):
30561 Added draft for new query API.
30562 Added draft for better selecting scheduling methods.
30563 Make basesrc ignore length if the subclass does not support
30566 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30569 possible fixes for automake-1.5 - _LIBADD is reserved
30571 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30573 * docs/faq/Makefile.am:
30574 * docs/manual/Makefile.am:
30575 * docs/manuals.mak:
30576 * docs/pwg/Makefile.am:
30578 possible fixes for automake-1.5
30580 2005-04-28 Wim Taymans <wim@fluendo.com>
30582 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30583 (gst_basesink_pad_getcaps), (gst_basesink_init),
30584 (gst_basesink_do_sync):
30585 * gst/gstclock.c: (gst_clock_entry_new):
30586 * gst/gstevent.c: (gst_event_discont_get_value):
30587 * gst/gstpipeline.c: (pipeline_bus_handler),
30588 (gst_pipeline_change_state):
30589 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30590 Better debugging of clocking info.
30591 Allow NULL values when getting discont values.
30593 2005-04-27 Wim Taymans <wim@fluendo.com>
30595 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30596 * check/gst/gstpad.c: (gst_pad_suite):
30597 Increase timeout for checks.
30599 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30601 * check/Makefile.am:
30602 fix the broken rule for cleanup. Apparently this rule is
30603 only needed on FC2, so maybe this warrants further autotool
30606 2005-04-26 Wim Taymans <wim@fluendo.com>
30608 * gst/gsttrashstack.h:
30609 Ooohh. a nasty one! After having a failed pop() from the stack,
30610 it's possible that the stack is empty. In that case, don't
30611 follow the NULL pointer.
30613 2005-04-25 Wim Taymans <wim@fluendo.com>
30615 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30616 (gst_pad_set_checkgetrange_function),
30617 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30618 (gst_pad_check_pull_range), (gst_pad_pull_range),
30619 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30620 (gst_pad_pause_task), (gst_pad_stop_task):
30621 * gst/gstplugin.c: (gst_plugin_load):
30623 Remove gst_library_load as it does more harm than good with
30624 the new g_module flags.
30625 Revert bogus caps template check in pad linking, pad caps
30626 are important when linking not the template, which is more
30627 general than the current caps.
30629 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30631 * gst/autoplug/.cvsignore:
30632 * gst/autoplug/Makefile.am:
30633 * gst/autoplug/gstsearchfuncs.c:
30634 * gst/autoplug/gstsearchfuncs.h:
30635 * gst/autoplug/gstspider.c:
30636 * gst/autoplug/gstspider.h:
30637 * gst/autoplug/gstspideridentity.c:
30638 * gst/autoplug/gstspideridentity.h:
30639 * gst/autoplug/spidertest.c:
30642 2005-04-25 Wim Taymans <wim@fluendo.com>
30644 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30645 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30646 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30647 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30649 Added stubs for unimplemented functions.
30651 2005-04-24 David Schleef <ds@schleef.org>
30653 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30656 2005-04-24 David Schleef <ds@schleef.org>
30658 Convert everything from GstAtomicInt to g_atomic_int_*, and
30663 * gst/gstatomic_impl.h:
30671 * gst/gstdata_private.h:
30675 * gst/gstmessage.c:
30678 * gst/gststructure.c:
30679 * gst/gststructure.h:
30680 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30683 2005-04-24 David Schleef <ds@schleef.org>
30685 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30686 make the regressions tests work. Remove some code that is no
30688 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30689 Disable warning for pads without templates.
30691 2005-04-24 David Schleef <ds@schleef.org>
30693 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30694 functions that handle filtered links.
30695 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30697 * gst/gstutils.c: Fix/remove utility functions that handle
30700 * gst/gstvalue.c: Add serialization/deserialization of caps
30701 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30702 requires fixing so that the filter caps notation creates
30703 a capsfilter element and sets the filter_caps property. I
30704 think everyone probably wants to keep the shorthand notation.
30705 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30706 * docs/gst/tmpl/gstpad.sgml:
30708 * gst/elements/gstelements.c: Register capsfilter element.
30709 * gst/Makefile.am: fix spacing
30710 * docs/random/ds/0.9-suggested-changes: random
30712 2005-04-23 David Schleef <ds@schleef.org>
30714 * gst/elements/Makefile.am:
30715 * gst/elements/gstcapsfilter.c: New element that acts like an
30716 identity, but filters caps. Will eventually replace filtered
30717 caps in pad linking.
30718 * gst/gstutils.c: (gst_element_create_all_pads): New function
30719 to create all the ALWAYS pads that are registered with an
30720 element class. This functionality should eventually be
30721 merged in with GstElement initialization.
30723 * testsuite/trigger/README: part of trigger test code that should
30724 have been checked in a long time ago.
30726 2005-04-23 David Schleef <ds@schleef.org>
30728 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30729 needed with new versions of libtool (nobody will confirm this),
30730 and hard to carry around.
30731 * gst/autoplug/Makefile.am:
30732 * gst/base/Makefile.am:
30733 * gst/elements/Makefile.am:
30734 * gst/indexers/Makefile.am:
30735 * gst/schedulers/Makefile.am:
30736 * libs/gst/bytestream/Makefile.am:
30737 * libs/gst/control/Makefile.am:
30738 * libs/gst/dataprotocol/Makefile.am:
30739 * libs/gst/getbits/Makefile.am:
30741 2005-04-21 Wim Taymans <wim@fluendo.com>
30743 * docs/design/draft-push-pull.txt:
30744 * docs/design/part-MT-refcounting.txt:
30745 * docs/design/part-TODO.txt:
30746 * docs/design/part-caps.txt:
30747 * docs/design/part-events.txt:
30748 * docs/design/part-gstbus.txt:
30749 * docs/design/part-gstpipeline.txt:
30750 * docs/design/part-messages.txt:
30751 * docs/design/part-push-pull.txt:
30752 * docs/design/part-query.txt:
30755 2005-04-21 Wim Taymans <wim@fluendo.com>
30757 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30758 (gst_message_new), (gst_message_new_error),
30759 (gst_message_new_warning), (gst_message_new_tag),
30760 (gst_message_new_state_changed), (gst_message_new_application),
30761 (gst_message_get_structure):
30762 * gst/gstmessage.h:
30763 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30764 (gst_structure_copy_conditional):
30765 Use parent refcount in GstMessage to ensure GstStructure
30767 Cleaned up headers a bit.
30770 2005-04-20 Wim Taymans <wim@fluendo.com>
30772 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30773 (gst_basesink_pad_getcaps), (gst_basesink_init),
30774 (gst_basesink_chain_unlocked):
30775 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30776 (gst_type_find_helper):
30777 * gst/elements/gsttypefindelement.c:
30778 (gst_type_find_element_have_type), (gst_type_find_element_init),
30779 (stop_typefinding), (gst_type_find_element_handle_event),
30780 (find_suggest), (gst_type_find_element_chain),
30781 (gst_type_find_element_checkgetrange),
30782 (gst_type_find_element_getrange), (do_typefind),
30783 (gst_type_find_element_activate):
30784 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30785 (gst_buffer_default_free), (gst_buffer_default_copy),
30786 (gst_buffer_set_caps):
30787 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30788 (gst_caps_replace):
30789 * gst/gstmessage.c: (gst_message_new),
30790 (gst_message_new_state_changed):
30791 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30792 (gst_pad_set_checkgetrange_function),
30793 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30794 (gst_pad_set_caps), (gst_pad_check_pull_range),
30795 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30797 * gst/gsttypefind.c: (gst_type_find_register):
30798 Make gst_caps_replace() work like other _replace() functions.
30799 Use _caps_replace() where possible.
30800 Make sure _message_new() initialises its field.
30801 Add gst_static_pad_template_get_caps()
30804 2005-04-18 Andy Wingo <wingo@pobox.com>
30806 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30807 on the peer, not the pad. I think that was a typo. Pass an extra
30808 arg to see if random access is possible. Activate the pads as
30809 PULL_RANGE if possible.
30811 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30813 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30814 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30817 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30819 * docs/faq/using.xml:
30820 Add note on gstreamer-properties (#154996).
30822 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30824 * docs/random/bbb/optional-properties:
30825 Some analysis on optional properties.
30827 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30829 * docs/gst/tmpl/gstelementfactory.sgml:
30830 * gst/gstelement.h:
30831 * gst/gstelementfactory.c: (gst_element_factory_init),
30832 (gst_element_factory_cleanup), (gst_element_register),
30833 (__gst_element_factory_add_static_pad_template),
30834 (gst_element_factory_get_static_pad_templates),
30835 (gst_element_factory_can_src_caps),
30836 (gst_element_factory_can_sink_caps):
30837 * gst/registries/Makefile.am:
30838 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30839 (gst_xml_registry_class_init), (gst_xml_registry_init),
30840 (gst_xml_registry_new), (gst_xml_registry_set_property),
30841 (gst_xml_registry_get_property), (get_time), (make_dir),
30842 (gst_xml_registry_get_perms_func),
30843 (plugin_times_older_than_recurse), (plugin_times_older_than),
30844 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30845 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30846 (add_to_char_array), (read_string), (read_uint), (read_enum),
30847 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30848 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30849 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30850 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30851 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30852 (gst_xml_registry_rebuild):
30853 * gst/registries/gstlibxmlregistry.h:
30854 * tools/gst-compprep.c: (main):
30855 * tools/gst-inspect.c: (print_pad_templates_info):
30856 * tools/gst-xmlinspect.c: (print_element_info):
30857 Use libxml2 for registry parsing, use staticpadtemplates in
30858 elementfactories. Makes gst_init() +/- 10x faster.
30860 2005-04-12 Wim Taymans <wim@fluendo.com>
30862 * gst/base/Makefile.am:
30863 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30864 (gst_basesink_pad_getcaps), (gst_basesink_init),
30865 (gst_basesink_event), (gst_basesink_change_state):
30866 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30867 (gst_basesrc_init), (gst_basesrc_query),
30868 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30869 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30870 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30871 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30872 (gst_basesrc_stop), (gst_basesrc_activate),
30873 (gst_basesrc_change_state):
30874 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30875 (helper_find_suggest), (gst_type_find_helper):
30876 * gst/base/gsttypefindhelper.h:
30877 * gst/elements/Makefile.am:
30878 * gst/elements/gstelements.c:
30879 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30880 (gst_fakesink_get_times), (gst_fakesink_event),
30881 (gst_fakesink_preroll), (gst_fakesink_render):
30882 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30883 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30884 (gst_fakesrc_get_property), (gst_fakesrc_create),
30885 (gst_fakesrc_start), (gst_fakesrc_stop):
30886 * gst/elements/gstfakesrc.h:
30887 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30888 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30889 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30890 (gst_filesrc_create_read), (gst_filesrc_create),
30891 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30892 (gst_filesrc_start):
30893 * gst/elements/gsttypefindelement.c:
30894 (gst_type_find_element_have_type), (gst_type_find_element_init),
30895 (start_typefinding), (stop_typefinding), (push_buffer_store),
30896 (gst_type_find_element_handle_event),
30897 (gst_type_find_element_chain),
30898 (gst_type_find_element_checkgetrange),
30899 (gst_type_find_element_getrange), (do_typefind),
30900 (gst_type_find_element_activate),
30901 (gst_type_find_element_change_state):
30902 * gst/elements/gsttypefindelement.h:
30903 * gst/gstpipeline.c: (pipeline_bus_handler):
30904 Added typefind helper.
30905 Small preroll fix in the base sink.
30906 Disable typefind code in basesrc.
30907 Crude port of typefindelement.
30911 2005-04-11 Wim Taymans <wim@fluendo.com>
30913 * check/gst/gstbus.c: (gstbus_suite):
30914 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30915 * check/gstcheck.h:
30916 Fix up the timeout so that the test does not fail.
30918 2005-04-06 Wim Taymans <wim@fluendo.com>
30921 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30922 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30923 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30924 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30925 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30926 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30927 (gst_basesrc_stop), (gst_basesrc_activate),
30928 (gst_basesrc_change_state), (basesrc_find_peek),
30929 (basesrc_find_suggest), (gst_basesrc_type_find):
30930 * gst/base/gstbasesrc.h:
30931 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30932 (gst_filesrc_class_init), (gst_filesrc_init),
30933 (gst_filesrc_finalize), (gst_filesrc_set_location),
30934 (gst_filesrc_set_property), (gst_filesrc_get_property),
30935 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30936 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30937 (gst_filesrc_create_read), (gst_filesrc_create),
30938 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30939 * gst/elements/gstfilesrc.h:
30940 * gst/gstelement.c: (gst_element_get_state_func),
30941 (gst_element_lost_state), (gst_element_pads_activate):
30942 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30943 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30944 (gst_pad_pull_range):
30946 More work on the generic source base class, implement seeking,
30948 Make filesrc extend the base source class.
30949 Added gst_pad_set_checkgetrange_function to GstPad.
30951 2005-04-06 Andy Wingo <wingo@pobox.com>
30953 * pkgconfig/gstreamer-base.pc.in:
30954 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30956 * pkgconfig/Makefile.am:
30957 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30959 2005-04-04 Wim Taymans <wim@fluendo.com>
30961 * gst/base/Makefile.am:
30963 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30964 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30965 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30966 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30967 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30968 (gst_basesrc_base_init), (gst_basesrc_class_init),
30969 (gst_basesrc_init), (gst_basesrc_get_formats),
30970 (gst_basesrc_get_query_types), (gst_basesrc_query),
30971 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30972 (gst_basesrc_set_property), (gst_basesrc_get_property),
30973 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30974 (gst_basesrc_loop), (gst_basesrc_activate),
30975 (gst_basesrc_change_state):
30976 * gst/base/gstbasesrc.h:
30977 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30978 (gst_fakesrc_class_init), (gst_fakesrc_init),
30979 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30980 (gst_fakesrc_get_property), (gst_fakesrc_create):
30981 * gst/elements/gstfakesrc.h:
30982 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30983 (gst_filesrc_open_file), (gst_filesrc_loop),
30984 (gst_filesrc_activate), (filesrc_find_peek),
30985 (gst_filesrc_type_find):
30986 Made base source class, make fakesrc extend it.
30987 Add comments to basesink class.
30988 Some filesrc cleanup.
30990 2005-03-31 David Schleef <ds@schleef.org>
30992 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30993 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30994 expected to link against libgstreamer.
30995 * gst/base/Makefile.am: link against libgstreamer
30996 * gst/elements/Makefile.am: same
30998 2005-03-31 Andy Wingo <wingo@pobox.com>
31000 * tests/instantiate/Makefile.am:
31001 * tests/instantiate/caps.c: Add test to test speed of caps copy
31004 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31005 GMemChunk to be fair.
31007 * gst/gsttrashstack.h: Remove warning about using the fallback
31008 trash stack implementation, it's still faster than malloc.
31010 2005-03-30 Andy Wingo <wingo@pobox.com>
31012 * tests/complexity.c: Add a copyright.
31014 2005-03-31 Wim Taymans <wim@fluendo.com>
31016 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31017 (gst_base_transform_class_init), (gst_base_transform_init),
31018 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31019 (gst_base_transform_get_property),
31020 (gst_base_transform_sink_activate),
31021 (gst_base_transform_src_activate),
31022 (gst_base_transform_change_state):
31023 * gst/base/gstbasetransform.h:
31024 * gst/elements/gstidentity.c: (gst_identity_class_init),
31025 (gst_identity_event), (gst_identity_check_perfect),
31026 (gst_identity_transform), (gst_identity_start),
31027 (gst_identity_stop):
31028 Added start/stop methods to transform base class so subclasses
31029 don't need to deal with state changes even.
31031 2005-03-31 Wim Taymans <wim@fluendo.com>
31033 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31034 (gst_event_new_discontinuous), (gst_event_discont_get_value):
31036 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31037 (gst_pad_pull_range):
31038 Added rate to the discont event to prepare for variable speed
31039 and reverse playback.
31041 2005-03-29 David Schleef <ds@schleef.org>
31044 * testsuite/trigger/Makefile.am:
31045 * testsuite/trigger/trigger.c: A little example program to show
31046 how trigger-based elements can work.
31048 2005-03-29 Wim Taymans <wim@fluendo.com>
31050 * gst/base/Makefile.am:
31052 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31053 (gst_basesink_base_init), (gst_basesink_class_init),
31054 (gst_basesink_pad_getcaps), (gst_basesink_init),
31055 (gst_basesink_activate), (gst_basesink_change_state):
31056 * gst/base/gstbasesink.h:
31057 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31058 (gst_base_transform_base_init), (gst_base_transform_finalize),
31059 (gst_base_transform_class_init), (gst_base_transform_init),
31060 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31061 (gst_base_transform_event), (gst_base_transform_getrange),
31062 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31063 (gst_base_transform_set_property),
31064 (gst_base_transform_get_property),
31065 (gst_base_transform_sink_activate),
31066 (gst_base_transform_src_activate),
31067 (gst_base_transform_change_state):
31068 * gst/base/gstbasetransform.h:
31069 * gst/elements/gstidentity.c: (gst_identity_finalize),
31070 (gst_identity_class_init), (gst_identity_init),
31071 (gst_identity_event), (gst_identity_check_perfect),
31072 (gst_identity_transform), (gst_identity_set_property),
31073 (gst_identity_get_property), (gst_identity_change_state):
31074 * gst/elements/gstidentity.h:
31075 * gst/gstelement.c: (gst_element_get_state_func),
31076 (gst_element_lost_state), (gst_element_pads_activate):
31077 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31078 (gst_pad_check_pull_range), (gst_pad_pull_range):
31080 Simplify pad activation.
31081 Added function to check if pull_range can be performed.
31082 Error out when pulling inactive or flushing pads.
31083 Removed const from refcounted types as it does not make sense.
31084 Simplify pad templates in basesink
31085 Added base class for simple 1-to-1 transforms.
31086 Make identity subclass the base transform.
31088 2005-03-29 Andy Wingo <wingo@pobox.com>
31090 * docs/libs/gstreamer-libs-overrides.txt:
31091 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31092 really don't understand what's going on, but like whatever. I want
31095 * docs/gst/Makefile.am:
31096 * docs/libs/Makefile.am: Dist the overrides files.
31098 * check/Makefile.am (clean-local): Remove .libs directories.
31100 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31101 elements to EXTRA_DIST, so po/ files are happy.
31103 * po/POTFILES.in: Er, remove it here.
31105 * po/POTFILES: Remove gstspider.c.
31107 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31109 * docs/libs/gstreamer-libs-docs.sgml:
31110 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31113 * tests/complexity.c (main): Set the length of the preroll queue
31114 on the sinks to prevent a lockup.
31116 * libs/gst/dataprotocol/Makefile.am:
31117 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31118 the same as the one in check/gst-libs/gdp.c.
31120 * po/, docs/gst/: Commit automatic changes to docs and po files.
31122 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31123 the versioned libgstbase.
31125 * check/Makefile.am: Depend on an unversioned gst-register, seems
31126 to make autoconf happier.
31128 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31130 2005-03-28 Wim Taymans <wim@fluendo.com>
31133 * docs/design/part-gstelement.txt:
31134 * docs/design/part-negotiation.txt:
31135 * docs/design/part-preroll.txt:
31136 * docs/design/part-scheduling.txt:
31137 * docs/design/part-states.txt:
31139 * gst/base/Makefile.am:
31141 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31142 (gst_basesink_base_init), (gst_basesink_class_init),
31143 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31144 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31145 (gst_basesink_set_pad_functions),
31146 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31147 (gst_basesink_set_property), (gst_basesink_get_property),
31148 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31149 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31150 (gst_basesink_preroll_queue_push),
31151 (gst_basesink_preroll_queue_empty),
31152 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31153 (gst_basesink_event), (gst_basesink_get_times),
31154 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31155 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31156 (gst_basesink_loop), (gst_basesink_activate),
31157 (gst_basesink_change_state):
31158 * gst/base/gstbasesink.h:
31159 * gst/elements/Makefile.am:
31160 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31161 (gst_fakesink_class_init), (gst_fakesink_init),
31162 (gst_fakesink_set_property), (gst_fakesink_get_property),
31163 (gst_fakesink_get_times), (gst_fakesink_event),
31164 (gst_fakesink_preroll), (gst_fakesink_render),
31165 (gst_fakesink_change_state):
31166 * gst/elements/gstfakesink.h:
31167 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31168 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31169 * gst/gstelement.c: (gst_element_add_pad),
31170 (gst_element_get_state_func), (gst_element_abort_state),
31171 (gst_element_commit_state), (gst_element_lost_state),
31172 (gst_element_set_state), (gst_element_pads_activate):
31173 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31174 * gst/gstpipeline.c: (gst_pipeline_send_event),
31175 (gst_pipeline_change_state):
31176 Added state change code.
31177 Added/updated docs.
31178 Added sink base class, make fakesink extend the base class.
31179 Small cleanups in GstPipeline.
31181 2005-03-26 David Schleef <ds@schleef.org>
31183 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31184 is broken and should be implemented in a different library.
31185 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31186 * gst/gst.h: remove gstcpu.h
31187 * gst/gstcpu.c: remove
31188 * gst/gstcpu.h: remove
31189 * gst/Makefile.am.future: Remove this file. It's ancient.
31191 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31193 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31194 (gst_bin_send_event):
31195 Add default event/set_manager handlers. The set_manager handler
31196 takes care that the manager is distributed over kids that were
31197 already in the bin before the manager was set. The event handler
31198 is a utility virtual function that sends the event over all sinks,
31199 so that gst_element_send_event (bin, event); has the expected
31201 * gst/gstpad.c: (gst_pad_event_default):
31202 Re-install default event handling for discontinuities, so that
31203 seeking works without requiring hacks in applications or extra
31205 * gst/gstpipeline.c: (gst_pipeline_class_init),
31206 (gst_pipeline_send_event):
31207 Half hack, half utility: set a pipeline to PAUSED for seek events,
31208 since that is the only way we can guarantee a/v sync. Means that
31209 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31210 and it "just works".
31212 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31214 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31215 Lock/unlock mismatch.
31217 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31219 * docs/faq/gst-uninstalled:
31220 add gst-plugins-base
31221 * docs/gst/Makefile.am:
31222 don't error out until docs are fixed
31223 * docs/gst/gstreamer.types:
31226 2005-03-22 Wim Taymans <wim@fluendo.com>
31228 * check/Makefile.am:
31229 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31230 * gst/gststructure.c: (gst_structure_set_valist),
31231 (gst_structure_copy_conditional):
31232 Activated more tests.
31233 Added message test.
31234 Added G_TYPE_POINTER to GstStructure.
31237 2005-03-22 Wim Taymans <wim@fluendo.com>
31239 * docs/design/part-TODO.txt:
31240 * docs/design/part-events.txt:
31241 * docs/design/part-gstbin.txt:
31242 * docs/design/part-gstbus.txt:
31243 * docs/design/part-gstpipeline.txt:
31244 * docs/design/part-messages.txt:
31246 * gst/gstmessage.c:
31249 2005-03-21 Wim Taymans <wim@fluendo.com>
31251 * gst/gstbus.c: (gst_bus_post):
31252 Fix copy-and-paste error.
31254 2005-03-21 Wim Taymans <wim@fluendo.com>
31256 * check/Makefile.am:
31258 * gst/elements/Makefile.am:
31259 * gst/elements/gstelements.c:
31260 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31261 (gst_fakesink_event), (gst_fakesink_chain):
31262 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31263 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31264 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31265 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31266 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31267 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31268 (gst_fakesrc_loop), (gst_fakesrc_activate),
31269 (gst_fakesrc_change_state):
31270 * gst/elements/gstfakesrc.h:
31271 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31272 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31273 (gst_filesrc_open_file), (gst_filesrc_loop),
31274 (gst_filesrc_activate), (gst_filesrc_change_state),
31275 (filesrc_find_peek), (filesrc_find_suggest),
31276 (gst_filesrc_type_find):
31277 * gst/elements/gstidentity.c: (gst_identity_finalize),
31278 (gst_identity_class_init), (gst_identity_init),
31279 (gst_identity_proxy_getcaps), (identity_queue_push),
31280 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31281 (gst_identity_getrange), (gst_identity_chain),
31282 (gst_identity_sink_loop), (gst_identity_src_loop),
31283 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31284 (gst_identity_set_property), (gst_identity_get_property),
31285 (gst_identity_change_state):
31286 * gst/elements/gstidentity.h:
31287 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31288 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31289 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31290 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31291 (gst_tee_sink_activate):
31292 * gst/elements/gsttee.h:
31293 * gst/gst.c: (gst_register_core_elements), (init_post):
31295 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31296 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31297 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31298 (gst_bin_change_state):
31300 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31301 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31302 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31303 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31304 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31305 (bus_watch_callback), (bus_watch_destroy),
31306 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31307 (poll_timeout), (gst_bus_poll):
31311 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31312 (gst_element_post_message), (gst_element_message_full),
31313 (gst_element_get_state_func), (gst_element_get_state),
31314 (gst_element_abort_state), (gst_element_commit_state),
31315 (gst_element_lost_state), (gst_element_set_state),
31316 (gst_element_pads_activate), (gst_element_change_state),
31317 (gst_element_dispose), (gst_element_set_manager_func),
31318 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31319 (gst_element_set_manager), (gst_element_get_manager),
31320 (gst_element_set_bus), (gst_element_get_bus),
31321 (gst_element_set_scheduler), (gst_element_get_scheduler):
31322 * gst/gstelement.h:
31323 * gst/gstevent.c: (gst_event_new_segment_seek),
31324 (gst_event_new_flush):
31326 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31327 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31328 (gst_message_new_eos), (gst_message_new_error),
31329 (gst_message_new_warning), (gst_message_new_tag),
31330 (gst_message_new_state_changed), (gst_message_new_application),
31331 (gst_message_get_structure), (gst_message_parse_tag),
31332 (gst_message_parse_state_changed), (gst_message_parse_error),
31333 (gst_message_parse_warning):
31334 * gst/gstmessage.h:
31335 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31336 (gst_real_pad_set_property), (gst_pad_set_active),
31337 (gst_pad_is_active), (gst_pad_set_blocked_async),
31338 (gst_pad_set_blocked), (gst_pad_is_blocked),
31339 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31340 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31341 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31342 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31343 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31344 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31345 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31346 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31347 (gst_pad_set_caps), (gst_pad_configure_sink),
31348 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31349 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31350 (gst_real_pad_dispose), (gst_real_pad_finalize),
31351 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31352 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31353 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31355 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31356 (pipeline_bus_handler), (gst_pipeline_change_state),
31357 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31358 * gst/gstpipeline.h:
31360 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31361 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31362 (gst_queue_link_src), (gst_queue_bufferalloc),
31363 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31364 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31365 (gst_queue_loop), (gst_queue_handle_src_event),
31366 (gst_queue_handle_src_query), (gst_queue_src_activate),
31367 (gst_queue_change_state):
31369 * gst/gstscheduler.c: (gst_scheduler_init),
31370 (gst_scheduler_dispose), (gst_scheduler_create_task),
31371 (gst_scheduler_factory_create):
31372 * gst/gstscheduler.h:
31373 * gst/gststructure.c: (gst_structure_get_type),
31374 (gst_structure_copy_conditional):
31375 * gst/gststructure.h:
31376 * gst/gsttaginterface.h:
31377 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31378 (gst_task_init), (gst_task_dispose), (gst_task_create),
31379 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31385 * gst/schedulers/Makefile.am:
31386 * gst/schedulers/cothreads_compat.h:
31387 * gst/schedulers/entryscheduler.c:
31388 * gst/schedulers/faircothreads.c:
31389 * gst/schedulers/faircothreads.h:
31390 * gst/schedulers/fairscheduler.c:
31391 * gst/schedulers/gstbasicscheduler.c:
31392 * gst/schedulers/gstoptimalscheduler.c:
31393 * gst/schedulers/gthread-cothreads.h:
31394 * gst/schedulers/threadscheduler.c:
31395 (gst_thread_scheduler_task_get_type),
31396 (gst_thread_scheduler_task_class_init),
31397 (gst_thread_scheduler_task_init),
31398 (gst_thread_scheduler_task_start),
31399 (gst_thread_scheduler_task_stop),
31400 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31401 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31402 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31403 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31405 * libs/gst/Makefile.am:
31406 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31407 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31408 (gst_file_pad_parent_set):
31409 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31410 (gst_dp_event_from_packet):
31411 * tests/complexity.c: (main):
31412 * tests/mass_elements.c: (main):
31413 * testsuite/states/locked.c: (message_received), (main):
31414 * testsuite/states/parent.c: (main):
31415 * tools/gst-inspect.c: (print_element_flag_info),
31416 (print_implementation_info), (print_pad_info):
31417 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31419 * tools/gst-md5sum.c: (event_loop), (main):
31420 * tools/gst-typefind.c: (main):
31421 * tools/gst-xmlinspect.c: (print_element_info):
31423 Added GstBus for mainloop integration.
31424 Added GstMessage for sending notifications on the bus.
31425 Added GstTask as an abstraction for pipeline entry points.
31427 Removed Schedulers.
31428 Simplified GstQueue for multithreaded core.
31429 Made _link threadsafe, removed old capsnego.
31430 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31431 Added pad blocking functions.
31432 Reworked scheduling functions in GstPad to prepare for
31433 scheduling updates soon.
31434 Moved events out of data stream.
31435 Simplified GstEvent types.
31436 Added return values to push/pull.
31437 Removed clocking from GstElement.
31438 Added prototypes for state change function for next merge.
31439 Removed iterate from bins and state change management.
31440 Fixed some elements, disabled others for now.
31441 Fixed -inspect and -launch.
31442 Added check for GstBus.
31444 2005-03-10 Wim Taymans <wim@fluendo.com>
31446 * docs/design/part-MT-refcounting.txt:
31447 * docs/design/part-clocks.txt:
31448 * docs/design/part-gstelement.txt:
31449 * docs/design/part-gstobject.txt:
31450 * docs/design/part-standards.txt:
31451 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31452 (gst_bin_remove_func), (gst_bin_remove):
31456 * testsuite/clock/clock1.c: (main):
31457 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31459 * testsuite/dlopen/loadgst.c: (do_test):
31460 * testsuite/refcounting/bin.c: (add_remove_test1),
31461 (add_remove_test2), (main):
31462 * testsuite/refcounting/element.c: (main):
31463 * testsuite/refcounting/element_pad.c: (main):
31464 * testsuite/refcounting/pad.c: (main):
31465 * tools/gst-launch.c: (sigint_handler_sighandler):
31466 * tools/gst-typefind.c: (main):
31468 Added doc about clock.
31469 removed gst_bin_iterate_recurse_up(), marked methods
31471 Fix more testsuites.
31473 2005-03-09 Wim Taymans <wim@fluendo.com>
31475 * gst/gstpad.c: (gst_pad_get_direction),
31476 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31477 (gst_pad_collect_valist):
31478 * testsuite/bins/interface.c: (main):
31479 * testsuite/caps/audioscale.c: (test_caps):
31480 * testsuite/caps/caps.c: (test1), (test2), (test3):
31481 * testsuite/caps/deserialize.c: (main):
31482 * testsuite/caps/enumcaps.c: (main):
31483 * testsuite/caps/filtercaps.c: (main):
31484 * testsuite/caps/intersect2.c: (main):
31485 * testsuite/caps/random.c: (main):
31486 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31487 * testsuite/caps/sets.c: (check_caps):
31488 * testsuite/caps/simplify.c: (check_caps), (main):
31489 * testsuite/caps/subtract.c: (check_caps):
31490 Fix _pad_get_direction wrt ghostpads.
31491 Fix caps testsuite.
31493 2005-03-09 Wim Taymans <wim@fluendo.com>
31495 * check/Makefile.am:
31496 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31497 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31498 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31499 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31500 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31501 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31502 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31503 (bin_element_is_sink), (gst_bin_iterate_sinks),
31504 (gst_bin_iterate_all_by_interface):
31506 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31507 (gst_element_change_state), (gst_element_dispose),
31508 (gst_element_finalize), (gst_element_set_loop_function):
31509 * gst/gstelement.h:
31510 * gst/gstiterator.c: (find_custom_fold_func):
31511 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31512 (gst_pad_collectv), (gst_pad_collect_valist),
31513 (gst_pad_template_new):
31514 * gst/gstpipeline.c: (gst_pipeline_class_init),
31515 (gst_pipeline_dispose), (gst_pipeline_set_property),
31516 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31517 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31518 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31520 * gst/schedulers/entryscheduler.c:
31521 * gst/schedulers/gstbasicscheduler.c:
31522 (gst_basic_scheduler_cothreaded_chain),
31523 (gst_basic_scheduler_chain_add_element):
31524 * testsuite/bins/interface.c: (main):
31526 Added GstSystemClock test.
31527 Implemented clock distribution code in GstBin.
31528 Implemented iterate sinks method for future use.
31529 Rearranged gstelement.h
31530 Fix GstIterator comparison bug.
31531 Moved some code to GstPipeline, mostly clocking related.
31533 2005-03-09 Wim Taymans <wim@fluendo.com>
31536 * gst/gst_private.h:
31537 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31538 (gst_bin_remove_func), (gst_bin_remove),
31539 (gst_bin_get_by_name_recurse_up):
31540 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31541 (gst_clock_id_compare_func), (gst_clock_id_wait),
31542 (gst_clock_id_wait_async), (gst_clock_init),
31543 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31544 * gst/gstelement.h:
31545 * gst/gstinfo.c: (_gst_debug_init):
31547 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31548 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31550 Bump version number, we're now 0.9.0
31551 Add future debugging category.
31552 Fix NULL _unref() in _get_by_name_recurse_up
31553 Rearrange gstpad.h.
31556 2005-03-08 Wim Taymans <wim@fluendo.com>
31558 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31559 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31560 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31561 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31562 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31563 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31564 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31565 * gst/elements/gstidentity.c: (gst_identity_class_init):
31566 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31567 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31568 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31569 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31570 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31572 * gst/gstelement.c: (gst_element_class_init),
31573 (gst_element_base_class_init), (gst_element_init),
31574 (gst_element_get_random_pad), (gst_element_wait_state_change),
31575 (gst_element_change_state), (gst_element_dispose),
31576 (gst_element_finalize), (gst_element_set_loop_function):
31577 * gst/gstelement.h:
31578 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31579 * gst/gstthread.c: (gst_thread_class_init),
31580 (gst_thread_release_children_locks), (gst_thread_change_state):
31581 * gst/schedulers/gstbasicscheduler.c:
31582 (gst_basic_scheduler_loopfunc_wrapper),
31583 (gst_basic_scheduler_chain_wrapper),
31584 (gst_basic_scheduler_src_wrapper),
31585 (gst_basic_scheduler_remove_element):
31586 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31587 Remove threadsafe properties. Fix elements because GObject
31588 complains when installing a property before declaring a
31589 set/get_property handler.
31590 Rearrange gstelement.h file, use STATE macros for state locks.
31591 Free mutexes in the finalize method instead of dispose.
31593 2005-03-08 Wim Taymans <wim@fluendo.com>
31595 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31596 * gst/gstthread.c: (gst_thread_release_children_locks):
31597 Added parentage check.
31598 Fix build og GstThread again.
31600 2005-03-08 Wim Taymans <wim@fluendo.com>
31602 * docs/design/part-MT-refcounting.txt:
31603 * docs/design/part-conventions.txt:
31604 * docs/design/part-gstobject.txt:
31605 * docs/design/part-relations.txt:
31606 * docs/design/part-standards.txt:
31607 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31608 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31609 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31610 (gst_bin_iterate_all_by_interface):
31613 * gst/gstelement.c: (gst_element_class_init),
31614 (gst_element_change_state), (gst_element_set_loop_function):
31615 * gst/gstelement.h:
31616 * gst/gstiterator.c:
31617 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31618 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31619 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31620 (gst_object_set_parent), (gst_object_unparent),
31621 (gst_object_check_uniqueness):
31623 Docs updates, clean up some headers.
31625 2005-03-07 Wim Taymans <wim@fluendo.com>
31627 * check/.cvsignore:
31628 * check/Makefile.am:
31629 * check/gst-libs/.cvsignore:
31630 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31631 * check/gst/.cvsignore:
31632 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31633 (START_TEST), (gstbus_suite), (main):
31634 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31635 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31636 (gst_data_suite), (main):
31637 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31638 (add_fold_func), (gstiterator_suite), (main):
31639 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31640 (thread_name_object), (thread_name_object_default),
31641 (gst_object_name_compare), (gst_object_suite), (main):
31642 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31643 (gst_pad_suite), (main):
31644 * check/gstcheck.c: (gst_check_log_message_func),
31645 (gst_check_log_critical_func), (gst_check_init):
31646 * check/gstcheck.h:
31647 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31648 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31651 2005-03-07 Wim Taymans <wim@fluendo.com>
31653 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31654 (gst_list_iterator_next), (gst_list_iterator_resync),
31655 (gst_list_iterator_free), (gst_iterator_new_list),
31656 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31657 (gst_iterator_free), (gst_iterator_push), (filter_next),
31658 (filter_resync), (filter_uninit), (filter_free),
31659 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31660 (gst_iterator_foreach), (find_custom_fold_func),
31661 (gst_iterator_find_custom):
31662 * gst/gstiterator.h:
31663 Added missing files.
31665 2005-03-07 Wim Taymans <wim@fluendo.com>
31669 * docs/design/part-MT-refcounting.txt:
31670 * docs/design/part-conventions.txt:
31671 * docs/design/part-gstobject.txt:
31672 * docs/design/part-relations.txt:
31673 * examples/mixer/mixer.c: (main):
31674 * examples/thread/thread.c: (eos), (main):
31676 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31677 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31678 (gst_spider_plug_from_srcpad):
31679 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31680 (gst_spider_identity_change_state),
31681 (gst_spider_identity_sink_loop_type_finding):
31682 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31683 * gst/elements/gstidentity.c: (gst_identity_init):
31684 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31685 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31686 * gst/elements/gsttypefindelement.c: (free_entry):
31689 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31690 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31691 (gst_bin_set_index), (gst_bin_set_element_sched),
31692 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31693 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31694 (gst_bin_iterate_elements), (iterate_child_recurse),
31695 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31696 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31697 (compare_interface), (gst_bin_get_by_interface),
31698 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31700 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31701 (gst_buffer_default_free), (gst_buffer_default_copy),
31702 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31703 (gst_buffer_create_sub):
31705 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31706 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31707 (gst_caps_unref), (gst_static_caps_get),
31708 (gst_caps_remove_and_get_structure), (gst_caps_append),
31709 (gst_caps_append_structure), (gst_caps_remove_structure),
31710 (gst_caps_copy_nth), (gst_caps_set_simple),
31711 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31712 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31713 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31714 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31715 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31716 (gst_caps_structure_figure_out_union),
31717 (gst_caps_switch_structures), (gst_caps_do_simplify),
31718 (gst_caps_replace), (gst_caps_from_string),
31719 (gst_caps_copy_conditional):
31721 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31722 (_gst_clock_id_free), (gst_clock_id_unref),
31723 (gst_clock_id_compare_func), (gst_clock_id_wait),
31724 (gst_clock_id_wait_async), (gst_clock_class_init),
31725 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31726 (gst_clock_get_time), (gst_clock_set_time_adjust),
31727 (gst_clock_set_property), (gst_clock_get_property):
31730 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31731 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31733 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31734 (gst_element_requires_clock), (gst_element_provides_clock),
31735 (gst_element_set_clock), (gst_element_clock_wait),
31736 (gst_element_wait), (gst_element_set_time_delay),
31737 (gst_element_is_indexable), (gst_element_add_pad),
31738 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31739 (pad_compare_name), (gst_element_get_static_pad),
31740 (gst_element_request_pad), (gst_element_get_request_pad),
31741 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31742 (gst_element_class_get_pad_template_list),
31743 (gst_element_class_get_pad_template), (gst_element_error_func),
31744 (gst_element_get_random_pad), (gst_element_get_event_masks),
31745 (gst_element_send_event), (gst_element_seek),
31746 (gst_element_get_query_types), (gst_element_query),
31747 (gst_element_get_formats), (gst_element_convert),
31748 (gst_element_is_locked_state), (gst_element_set_locked_state),
31749 (gst_element_sync_state_with_parent), (gst_element_change_state),
31750 (gst_element_finalize), (gst_element_yield),
31751 (gst_element_interrupt), (gst_element_set_scheduler),
31752 (gst_element_get_scheduler), (gst_element_set_loop_function):
31753 * gst/gstelement.h:
31755 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31756 (gst_format_get_by_nick), (gst_format_get_details),
31757 (gst_format_iterate_definitions):
31759 * gst/gstindex.c: (gst_index_gtype_resolver):
31762 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31763 (gst_mem_chunk_free):
31764 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31765 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31766 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31767 (gst_object_dispatch_properties_changed),
31768 (gst_object_set_name_default), (gst_object_set_name),
31769 (gst_object_get_name), (gst_object_set_name_prefix),
31770 (gst_object_get_name_prefix), (gst_object_set_parent),
31771 (gst_object_get_parent), (gst_object_unparent),
31772 (gst_object_check_uniqueness), (gst_object_save_thyself),
31773 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31774 (gst_object_set_property), (gst_object_get_property),
31775 (gst_object_get_path_string):
31777 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31778 (gst_real_pad_init), (gst_real_pad_get_property),
31779 (gst_pad_custom_new), (gst_pad_get_direction),
31780 (gst_pad_set_active), (gst_pad_is_active),
31781 (gst_pad_set_event_function), (gst_pad_is_linked),
31782 (gst_pad_link_free), (gst_pad_link_intersect),
31783 (gst_pad_link_fixate), (gst_pad_set_caps),
31784 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31785 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31786 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31787 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31788 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31789 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31790 (gst_pad_realize), (gst_pad_get_allowed_caps),
31791 (gst_real_pad_dispose), (gst_real_pad_finalize),
31792 (gst_pad_collectv), (gst_pad_collect_valist),
31793 (gst_pad_template_dispose), (gst_pad_template_new),
31794 (gst_pad_get_internal_links):
31796 * gst/gstpipeline.c: (gst_pipeline_dispose),
31797 (gst_pipeline_change_state):
31798 * gst/gstpipeline.h:
31800 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31801 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31802 * gst/gstpluginfeature.h:
31803 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31804 * gst/gstquery.c: (_gst_query_type_initialize),
31805 (gst_query_type_register), (gst_query_type_get_by_nick),
31806 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31808 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31809 * gst/gstscheduler.c: (gst_scheduler_add_element),
31810 (gst_scheduler_factory_create):
31811 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31812 (gst_structure_free), (gst_structure_set_name),
31813 (gst_structure_id_set_value), (gst_structure_set_value),
31814 (gst_structure_set_valist), (gst_structure_remove_field),
31815 (gst_structure_remove_fields),
31816 (gst_structure_remove_fields_valist),
31817 (gst_structure_remove_all_fields), (gst_structure_foreach),
31818 (gst_structure_map_in_place),
31819 (gst_caps_structure_fixate_field_nearest_int),
31820 (gst_caps_structure_fixate_field_nearest_double):
31821 * gst/gststructure.h:
31822 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31823 (gst_system_clock_init), (gst_system_clock_dispose),
31824 (gst_system_clock_async_thread),
31825 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31826 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31827 * gst/gstsystemclock.h:
31828 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31829 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31830 * gst/gsttaginterface.c:
31831 * gst/gstthread.c: (gst_thread_dispose),
31832 (gst_thread_release_children_locks), (gst_thread_change_state),
31833 (gst_thread_main_loop):
31834 * gst/gsttrashstack.h:
31835 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31837 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31838 (gst_element_request_pad), (gst_element_get_pad_from_template),
31839 (gst_element_request_compatible_pad),
31840 (gst_element_get_compatible_pad_filtered),
31841 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31842 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31843 (gst_element_link_many), (gst_element_link),
31844 (gst_element_link_pads), (gst_element_unlink_pads),
31845 (gst_element_unlink_many), (gst_element_unlink),
31846 (gst_pad_can_link_filtered), (gst_pad_can_link),
31847 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31848 (gst_object_default_error), (gst_bin_add_many),
31849 (gst_bin_remove_many), (gst_element_populate_std_props),
31850 (gst_element_class_install_std_props), (gst_buffer_merge),
31851 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31852 (link_fold_func), (gst_pad_proxy_setcaps):
31854 * gst/gstvalue.c: (gst_value_deserialize_string):
31855 * gst/parse/grammar.y:
31856 * gst/schedulers/gstbasicscheduler.c:
31857 (gst_basic_scheduler_cothreaded_chain),
31858 (gst_basic_scheduler_chain_recursive_add),
31859 (gst_basic_scheduler_pad_link):
31860 * gst/schedulers/gstoptimalscheduler.c:
31861 (get_group_schedule_function),
31862 (gst_opt_scheduler_state_transition),
31863 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31864 * libs/gst/bytestream/bytestream.c:
31865 * libs/gst/dataprotocol/dataprotocol.c:
31866 (gst_dp_header_from_buffer):
31869 * tests/threadstate/threadstate2.c: (eos):
31870 * tools/gst-compprep.c: (main):
31871 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31872 (print_pad_info), (print_children_info):
31873 * tools/gst-launch.c: (idle_func), (main):
31874 * tools/gst-md5sum.c: (idle_func), (main):
31875 * tools/gst-xmlinspect.c: (print_element_info):
31876 First THREADED backport attempt, focusing on adding locks and
31877 making sure the API is threadsafe. Needs more work. More docs
31880 2005-02-24 Andy Wingo <wingo@pobox.com>
31882 * tests/bench-complexity.scm:
31883 * tests/complexity.gnuplot: New files, good for running complexity
31886 * tests/Makefile.am:
31887 * tests/complexity.c: New test, sets up N elements, at each level
31888 teeing into M streams per element. Eeeenteresting.
31890 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31891 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31892 running bench-mass_elements.scm.
31894 * tests/bench-mass_elements.scm: New script, runs mass_elements
31895 for various numbers of identities, outputting the results to a
31896 file. Requires guile 1.6. Just for testing.
31898 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31900 * gst/schedulers/fairscheduler.c:
31901 compile with debug disabled
31903 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31906 hunting season on 0.9 is now OPEN