1 2008-11-17 Andy Wingo <wingo@pobox.com>
3 * tools/gst-inspect.c (print_all_uri_handlers): New function,
4 prints a summary of what URI schemes are supported by what
6 (main): Plumb in support for --uri-handlers or -u, and fix the
7 argc check for -a and -u.
9 2008-11-17 Sebastian Dröge <sebastian.droege@collabora.co.uk>
12 Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
15 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
17 * gst/gstbuffer.c: (gst_buffer_finalize):
18 Avoid costly typechecking for trivially correct pointers.
20 * gst/gstpoll.c: (gst_poll_wait):
21 Add some G_LIKELY here and there.
23 * libs/gst/base/gstadapter.c: (gst_adapter_push):
26 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
28 * docs/random/wtay/poll-timeout:
31 2008-11-13 Wim Taymans <wim.taymans@collabora.co.uk>
33 * tests/old/testsuite/caps/intersection.c: (main):
34 * tests/old/testsuite/plugin/loading.c: (main):
35 Remove references to deprecated API g_mem_chunk*.
38 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
40 * tools/gst-inspect.c: (main):
41 Add --plugin option. Fixes #560301.
43 2008-11-12 Wim Taymans <wim.taymans@collabora.co.uk>
45 * docs/random/wtay/poll-timeout:
46 Quick braindump for a possible (not totally verified) atomic case.
48 2008-11-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
50 * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
51 (gst_registry_binary_initialize_magic),
52 (gst_registry_binary_write_cache),
53 (gst_registry_binary_check_magic):
54 * gst/gstregistrybinary.h:
55 Don't write and check a CRC for the binary registry file. It's
56 guaranteed that the registry is completely written (it's first written
57 to a temporary file and then moved) and if the registry was corrupted
58 by some hardware failure we would have bigger problems.
60 Bump binary registry version to 0.10.21.1 for this as it's an
61 incompatible change and to ensure that the registry gets rebuild
64 This saves some milliseconds for reading/writing the registry.
67 2008-11-11 Wim Taymans <wim.taymans@collabora.co.uk>
69 * docs/random/wtay/poll-timeout:
70 Some pseudo code for how we could implement clock timeouts with GstPoll.
72 2008-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
74 * plugins/elements/gstfilesink.c:
75 Update Author string to match others.
77 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
79 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
80 Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
81 being fixed and inline the trivial check.
83 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
85 * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
86 (gst_caps_merge_structure), (gst_caps_get_structure),
87 (gst_caps_copy_nth), (gst_caps_set_simple),
88 (gst_caps_set_simple_valist), (gst_caps_is_fixed),
89 (gst_caps_is_equal_fixed), (gst_caps_intersect),
90 (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
92 Callgrind micro optimisations.
93 Avoid array bounds checks and force inline of trivial function.
95 * gst/gstobject.c: (gst_object_set_name_default):
96 -1 is equivalent to letting glib to the strlen but then there is more
97 room for optimisations and it's not our fault.
99 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
100 no need to clear the array, we're cool.
102 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
103 The most common _is_fixed() check is done on fundamental glib base
104 types so we check this first instead of doing a huge amount of
105 useless GST_TYPE_ARRAY calls.
107 2008-11-06 Wim Taymans <wim.taymans@collabora.co.uk>
110 Add a SKIP seek flag for use with advanced trickmodes.
111 API: GstSeekFlags::GST_SEEK_FLAG_SKIP
113 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
115 * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
116 No need to memset, we can clear the value ourselves.
118 * gst/gstvalue.c: (gst_type_is_fixed),
119 (gst_value_get_compare_func):
120 Some optimisations from a few callgrind sessions:
121 When checking if a type is fixed, check for trivial fundamental types
122 first before checking types for which we need to get the type followed
123 by the heavy duty type checks, this reduces the amount of
124 g_type_fundamental() calls a lot.
125 When getting the compare function, first check for our registered types.
126 If that fails, do the heavy duty g_type_is_a() checks, reduces the
127 amount of g_type_is_a() considerably.
129 2008-11-05 Wim Taymans <wim.taymans@collabora.co.uk>
131 * docs/design/part-TODO.txt:
132 Mumble something about removing GstXML.
134 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
136 * gst/gstbin.c: (gst_bin_handle_message_func):
137 Get the seqnum before we dispose the message.
139 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
141 * docs/design/part-TODO.txt:
142 Refer to the framestepping document.
144 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
146 * gst/gstbin.c: (bin_handle_async_start),
147 (gst_bin_handle_message_func), (gst_bin_query):
148 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
149 (gst_base_sink_event), (gst_base_sink_change_state):
150 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
151 (gst_base_src_loop), (gst_base_src_change_state):
152 Copy seqnums from events to messages so that they can all be related
155 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
157 * tools/gst-launch.c: (event_loop):
158 Print the message seqnums.
160 2008-11-04 Andy Wingo <wingo@pobox.com>
162 * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
164 2008-11-04 Andy Wingo <wingo@pobox.com>
166 Add sequence numbers to events and messages. See #559250.
168 * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
172 * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
173 events with a new sequence number, and copy it when copying.
174 (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
175 an event's sequence number.
178 * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
179 (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
182 * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
184 2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
186 * docs/manual/advanced-position.xml:
187 * docs/manual/basics-bins.xml:
188 * docs/manual/basics-bus.xml:
189 * docs/manual/basics-pads.xml:
190 * docs/manual/intro-gstreamer.xml:
191 * docs/manual/intro-preface.xml:
192 Some Application Development Manual fixes thanks to
193 Andrew Feren. Fixes #558459.
195 2008-11-03 Stefan Kost <ensonic@users.sf.net>
197 * gst/gstregistrybinary.c:
198 Don't bother with the GTimer if we don't output the results.
200 2008-11-03 Wim Taymans <wim.taymans@collabora.co.uk>
202 Patch by: David Schleef <ds@schleef.org>
204 * libs/gst/net/Makefile.am:
205 Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
207 2008-10-31 Stefan Kost <ensonic@users.sf.net>
209 * gst/gstregistrybinary.c:
210 Oh my, studip, stupid me. Remove double stat() call.
212 2008-10-31 Stefan Kost <ensonic@users.sf.net>
215 Use g_unlink instead of unlink.
217 * gst/gststructure.c:
226 Formatting & whitespaces.
228 2008-10-31 Stefan Kost <ensonic@users.sf.net>
230 * plugins/elements/gstidentity.c:
231 Doc typo. Use return value of parent_class->event.
233 * plugins/elements/gsttypefindelement.c:
234 Chain up at the end for consistency.
236 2008-10-30 Stefan Kost <ensonic@users.sf.net>
239 * docs/gst/gstreamer-docs.sgml:
240 * docs/gst/gstreamer-sections.txt:
241 * docs/gst/running.xml:
242 * docs/libs/gstreamer-libs-docs.sgml:
243 Change to xinclude based build - its faster and easier to maintain.
245 2008-10-30 Stefan Kost <ensonic@users.sf.net>
247 * gst/gstregistrybinary.c:
248 * gst/gstregistryxml.c:
249 Use g_unlink() as none of these are directories.
251 2008-10-29 Wim Taymans <wim.taymans@collabora.co.uk>
253 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
256 2008-10-27 Wim Taymans <wim.taymans@collabora.co.uk>
258 * libs/gst/base/gstbasetransform.c:
259 (gst_base_transform_find_transform), (gst_base_transform_getrange):
260 If we have a fixate function, call it even if we already have fixed caps
261 because the subclass might add some caps. Makes audioconvert add a
262 default channel layout.
264 2008-10-24 Wim Taymans <wim.taymans@collabora.co.uk>
266 * libs/gst/base/gstbasetransform.c:
267 (gst_base_transform_prepare_output_buffer),
268 (gst_base_transform_getrange):
269 Clear the output buffer variable.
270 Cleanups to the error path in the getrange function.
273 2008-10-23 Sebastian Dröge <slomo@circular-chaos.org>
275 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
276 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
277 Use gst_buffer_try_new_and_alloc() and handle errors instead of
278 using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
281 2008-10-23 Wim Taymans <wim.taymans@collabora.co.uk>
283 * gst/gstsegment.c: (gst_segment_set_newsegment_full):
284 Set the last_stop to a more meaningful position when configuring the
285 segment. ie. the start/stop of the segment or clipped against the
286 updated segment boundaries.
288 * tests/check/gst/gstsegment.c: (GST_START_TEST):
289 Add some unit tests for the last_stop.
291 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
293 * libs/gst/base/gstbytereader.c:
294 Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
297 2008-10-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
299 * docs/gst/gstreamer-sections.txt:
301 API: Move float endianness conversion macros from libgstfloatcast
302 to core as it's useful in general, even in core. Fixes bug #555196.
303 This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
304 GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
305 GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
307 Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
308 GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
309 GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
310 GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
312 2008-10-22 Sebastian Dröge <slomo@circular-chaos.org>
314 * docs/libs/gstreamer-libs-sections.txt:
315 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
316 (gst_byte_reader_peek_data):
317 * libs/gst/base/gstbytereader.h:
318 * win32/common/libgstbase.def:
319 API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
320 to get a pointer to the data at the current position and have
323 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
326 Fix a bug in the output of the configure script summary
327 when --gst-disable-registry is supplied
329 2008-10-22 Jan Schmidt <jan.schmidt@sun.com>
331 * libs/gst/base/gstbitreader.c:
332 * libs/gst/base/gstbytereader.c:
333 Fix the names of 2 functions in the docs strings.
335 2008-10-21 Wim Taymans <wim.taymans@collabora.co.uk>
337 * libs/gst/base/gstbasetransform.c:
338 (gst_base_transform_prepare_output_buffer),
339 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
340 Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
341 refcount problems as seen in banshee and maybe also in farsight2.
342 Remove atomic int now that we need to take the lock anyways.
344 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
346 * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
347 (gst_base_sink_default_prepare_seek_segment),
348 (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
349 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
350 (gst_base_sink_query):
351 Implement more seeking in pull mode.
352 Use pad convert functions to convert position to the requested format.
353 Fix position/duration reporting in pull mode.
354 Implement position and duration reporting in other formats than time.
356 * libs/gst/base/gstbasesink.h:
357 Add member to keep track of when the segment is playing.
359 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
361 * gst/gstpad.c: (gst_pad_configure_src):
362 When we use gst_pad_alloc_buffer() without wanting to set the caps we
363 also don't need to check if the caps are compatible because the caller
364 presumably is going to perform its own custom checks. Fixes some cases
365 where basetransform elements would error out when it was not needed.
367 2008-10-20 Wim Taymans <wim.taymans@collabora.co.uk>
369 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
372 * libs/gst/base/gstbasetransform.c:
373 (gst_base_transform_handle_buffer),
374 (gst_base_transform_reconfigure):
377 * win32/common/libgstbase.def:
380 2008-10-19 Stefan Kost <ensonic@users.sf.net>
382 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
383 Remove duplicated assignment and log a message in failure case.
385 2008-10-19 Tim-Philipp Müller <tim.muller at collabora co uk>
387 Patch by: Dig Ge <dig.ge.cn at gmail com>
389 * tests/examples/helloworld/helloworld.c: (main):
390 Fix copy'n'paste bug in hello world example (#556900).
392 2008-10-17 Wim Taymans <wim.taymans@collabora.co.uk>
394 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
395 (gst_base_sink_query):
396 Query the total number of bytes when activating the pad in pull mode.
397 Implement duration query in pull mode by using the installed pad convert
398 function to convert from bytes to the requested format.
400 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
402 * docs/libs/gstreamer-libs-sections.txt:
403 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
404 (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
405 (gst_base_sink_event), (gst_base_sink_perform_seek),
406 (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
407 (gst_base_sink_send_event), (gst_base_sink_change_state):
408 * libs/gst/base/gstbasesink.h:
409 Add method to commit the state in subclasses.
410 Refactor the flush_start and flush_stop code because we need it for
411 flushing while seeking too.
412 Implement the beginnings of seeking in pull mode.
413 Use the segment last_stop field for the pulling offset.
414 Fix the pause method in pull mode.
415 Configure the segment to BYTES for pull mode.
416 API: GstBaseSink::gst_base_sink_do_preroll()
418 2008-10-16 Wim Taymans <wim.taymans@collabora.co.uk>
420 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
423 2008-10-14 Tim-Philipp Müller <tim.muller at collabora co uk>
425 * gst/gstquark.c: (_priv_gst_quarks_initialize):
426 Fix printf format warning.
428 2008-10-14 Sebastian Dröge <slomo@circular-chaos.org>
430 * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
431 Fix flow aggregation of tee. Error out immediately for all flow returns
432 except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
433 and return OK if at least one pad is linked.
435 Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
436 and otherwise returned the flow return of the last pad, which is wrong.
438 * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
439 (GST_START_TEST), (tee_suite):
440 Add unit tests for the flow aggregation.
442 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
444 * docs/design/part-TODO.txt:
445 Remove item from the todo list because it was fixed with the latency
446 state change rewrites.
448 * docs/design/part-seeking.txt:
449 * docs/design/part-segments.txt:
452 * gst/gstevent.c: (gst_event_new_new_segment_full),
453 (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
454 (gst_event_parse_buffer_size), (gst_event_new_qos),
455 (gst_event_parse_qos), (gst_event_new_seek),
456 (gst_event_parse_seek), (gst_event_new_latency),
457 (gst_event_parse_latency):
458 Use quarks to construct and parse events.
460 * gst/gstquark.c: (_priv_gst_quarks_initialize):
462 Add some more quarks to the table.
463 Emit a warning when the quark tables are not in sync.
465 * tests/check/gst/gstbus.c: (GST_START_TEST):
468 2008-10-13 Stefan Kost <ensonic@users.sf.net>
470 * plugins/elements/Makefile.am:
471 * plugins/indexers/Makefile.am:
472 Don't install static libs for plugins. Fixes #550851 for core.
474 2008-10-13 Wim Taymans <wim.taymans@collabora.co.uk>
476 * gst/gstbus.c: (gst_bus_source_finalize),
477 (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
478 (gst_bus_enable_sync_message_emission),
479 (gst_bus_disable_sync_message_emission),
480 (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
481 Fix deadlock, g_source_get_id() cannot be called in finalize.
482 Keep track of the watch source by keeping a pointer to the source object
484 Use the bus lock to protect access to the pointer to the current
487 2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
489 Base on Patch by: Olivier Crete <tester at tester dot ca>
491 * gst/gstbus.c: (gst_bus_source_finalize),
492 (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
493 Only allow one bus watch to be set at a time. This is necessary
494 because the dispatcher pops the message from the bus and the second
495 watcher will then get NULL or the next message (and the first won't
496 get this next message then, etc). If more than one "watcher" is
497 required signal watches should be used. Fixes bug #526044.
499 2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
501 * tools/gst-launch.c:
502 Change the printing of the 'buffering...' output to avoid putting
503 a \r in a translateable string (flagged by the TP).
505 2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
508 Clarify that the save_thyself() and restore_thyself() virtual
509 functions of GstObject need to be overriden, not
510 gst_object_(save|restore)_thyself() which is impossible.
513 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
515 * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
516 Revert a patch from 21 months ago that broke caps negotiation in pull
517 mode. Basically, having a buffer pass over a pad will trigger the
518 setcaps function when caps change, just like in push mode.
520 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
522 * docs/design/part-negotiation.txt:
523 Update the docs some more.
525 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
526 If we pull a buffer with non-trivial caps, suggest those caps with the
529 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
531 * docs/design/part-TODO.txt:
532 Add another limitation of pad-blocking with segment seeks not pushing
535 2008-10-10 Jan Schmidt <jan.schmidt@sun.com>
537 * win32/common/libgstbase.def:
538 * win32/common/libgstreamer.def:
539 Add new symbols to the win32 defs files
541 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
543 * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
544 (gst_bin_handle_message_func):
545 The message src can be NULL, don't try to print the object names in that
548 * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
549 Add some more debug info.
551 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
554 Fix the test, pull based sinks go ASYNC to PAUSED, just like other
557 2008-10-10 Wim Taymans <wim.taymans@collabora.co.uk>
559 * docs/design/part-negotiation.txt:
562 * docs/libs/gstreamer-libs-sections.txt:
563 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
564 (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
565 (gst_base_sink_init), (gst_base_sink_set_blocksize),
566 (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
567 (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
568 (gst_base_sink_loop), (gst_base_sink_pad_activate),
569 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
570 (gst_base_sink_change_state):
571 * libs/gst/base/gstbasesink.h:
572 Add blocksize property and methods to control the amount of data
574 Negotiate first before activating upstream in pull mode so that they can
575 negotiate themselves.
576 When we operate in pull mode, we only accept the caps that we
578 Make the sink go ASYNC to PAUSED, like all other sinks.
579 API: GstBaseSink::gst_base_sink_set_blocksize()
580 API: GstBaseSink::gst_base_sink_get_blocksize()
581 API: GstBaseSink::blocksize
583 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
584 (gst_base_src_set_live), (gst_base_src_is_live),
585 (gst_base_src_set_format), (gst_base_src_query_latency),
586 (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
587 (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
588 (gst_base_src_set_property), (gst_base_src_get_property):
589 * libs/gst/base/gstbasesrc.h:
590 Add typechecking in public API functions.
591 Add methods to control the blocksize in subclasses.
592 API: GstBaseSrc::gst_base_src_set_blocksize()
593 API: GstBaseSrc::gst_base_src_get_blocksize()
595 2008-10-10 Edward Hervey <edward.hervey@collabora.co.uk>
597 * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
598 (buffer_probe), (event_probe), (GST_START_TEST):
599 We now see 3 events go through our pad, since basesink now sends
600 upstream latency events.
602 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
604 * gst/gstpipeline.c: (gst_pipeline_change_state):
605 Release the object lock before trying to flush the bus.
607 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
609 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
610 Forward LATENCY events upstreams so that elements know about the total
611 pipeline latency. Fixes #555307.
613 2008-10-08 Jan Schmidt <jan.schmidt@sun.com>
615 * plugins/elements/gstqueue.c:
616 Allow through queries when we don't know how
617 to adjust them (not TIME or BYTES), as otherwise it's
618 not possible to query the current position in order
619 to seek in other formats at all.
621 2008-10-08 Andy Wingo <wingo@pobox.com>
623 * docs/gst/gstreamer-sections.txt: Placate doc pendants.
625 2008-10-08 Wim Taymans <wim.taymans@collabora.co.uk>
629 Unbreak -good build, private is a reserved c++ keyword.
631 2008-10-08 Andy Wingo <wingo@pobox.com>
633 * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
634 * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
635 removal: re-add GST_GHOST_PAD_CAST to the header.
637 * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
638 (GstGhostPadClass): Publically expose these structures so as to
639 allow easy subclassing from C. Hide the member data behind a
640 private opaque data pointer.
642 * gst/gstghostpad.c: Adapt to store instance data in the type
643 instance's private data region, not in the public struct.
645 2008-10-08 Andy Wingo <wingo@pobox.com>
647 * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
648 template via g_object_get(), be sure to unref it.
650 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
652 2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
654 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
655 If we can't get a cache file don't try to save something to it.
656 Dereferencing NULL pointers usually isn't a good idea.
658 2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
660 * tests/check/Makefile.am:
661 * tests/check/gst/gstabi.c:
662 * tests/check/gst/struct_sparc.h:
663 * tests/check/libs/libsabi.c:
664 * tests/check/libs/struct_sparc.h:
667 * tests/check/gst/gstvalue.c: (GST_START_TEST):
668 Cast signed integer to unsigned to avoid a compiler warning.
670 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
672 * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
673 (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
674 (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
675 (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
676 (gst_byte_reader_peek_int24_be):
677 Use new GST_READ_UINT24_(LE|BE) macros.
679 2008-10-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
681 * docs/gst/gstreamer-sections.txt:
683 Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
684 as it's too easy to break the ISO C strict aliasing rules with simple
685 casts to the corresponding type and this would introduce hard to debug
686 bugs. Fixes bug #545714.
688 API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
690 2008-10-07 Tim-Philipp Müller <tim.muller at collabora co uk>
692 * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
693 * gst/gstghostpad.c: (gst_ghost_pad_construct):
694 Add 'Since' bits to gtk-doc chunks for new API.
696 2008-10-06 Thijs Vermeir <thijsvermeir@gmail.com>
698 * docs/gst/gstreamer-sections.txt:
701 2008-10-06 Andy Wingo <wingo@pobox.com>
703 * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
704 that will be called on the malloc_data to free it. Basically a way
705 to avoid subclassing when all you need is a different free
706 function, i.e. free() instead of g_free().
708 * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
709 calling the free function.
710 (gst_buffer_init): Initialize the free function to g_free.
712 2008-10-06 Andy Wingo <wingo@pobox.com>
715 * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
716 finishes the initialization of ghost pad. Useful for language
717 bindings and subclassers of GstGhostPad. Fixes #539108.
718 (gst_ghost_pad_new_full): Use the new constructor.
720 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
722 Base on Patch by: Olivier Crete <tester at tester dot ca>
724 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
725 (gst_bin_remove_func), (update_degree),
726 (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
727 Keep track of pads that are being linked/unlinked and resync the state
730 * gst/gstpad.c: (gst_pad_get_direction),
731 (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
732 (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
733 (gst_pad_link_prepare), (gst_pad_link),
734 (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
735 (gst_pad_check_pull_range), (gst_pad_get_range),
736 (gst_pad_pull_range):
737 Some code cleanups, use macros to check pad direction.
738 Don't need to take the lock on the pad direction.
739 Post structure change when pads are linked/unlinked.
740 Change some checks into _return_if_fail().
742 * tests/check/gst/gstbin.c:
743 (test_link_structure_change_state_changed_sync_cb),
744 (GST_START_TEST), (gst_bin_suite):
745 Add testcase for pad link/unlinke resync during a state change.
748 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
750 * docs/gst/gstreamer-sections.txt:
751 * gst/gstmessage.c: (gst_message_new_structure_change),
752 (gst_message_parse_structure_change):
754 Implement STRUCTURE_CHANGED messages. These messages will be used to
755 signal the parent bin of link/unlink operations that could require a
756 resync when doing a state change. See ##510354.
757 API: gst_message_new_structure_change()
758 API: gst_message_parse_structure_change()
760 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
764 Add some more quarks for new message. See #510354.
766 2008-10-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
768 * docs/libs/gstreamer-libs-docs.sgml:
769 * docs/libs/gstreamer-libs-sections.txt:
770 * libs/gst/base/Makefile.am:
771 * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
772 (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
773 (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
774 (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
775 (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
776 (gst_bit_reader_skip_to_byte):
777 * libs/gst/base/gstbitreader.h:
778 * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
779 (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
780 (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
781 (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
782 (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
783 (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
784 (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
785 (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
786 (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
787 (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
788 (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
789 (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
790 * libs/gst/base/gstbytereader.h:
791 * tests/check/Makefile.am:
792 * tests/check/libs/bitreader.c: (GST_START_TEST),
793 (gst_bit_reader_suite):
794 * tests/check/libs/bytereader.c: (GST_START_TEST),
795 (gst_byte_reader_suite):
796 API: Add bit reader and byte reader classes, including documentation
797 and an extensive unit test suite. Fixes bug #553554.
799 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
801 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
802 (gst_base_sink_query):
803 Improve position reporting while flushing and other intermediate state
804 changes. Fixes #553874.
806 2008-10-06 Wim Taymans <wim.taymans@collabora.co.uk>
808 Patch by: Antoine Tremblay <hexa00 at gmail dot com>
810 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
811 Original patch by : Simon Descaries
812 Fix small refount leak in caps compatibility check.
815 2008-10-06 Stefan Kost <ensonic@users.sf.net>
817 * docs/pwg/advanced-request.xml:
818 Fix 0.8 api usage in example. Fixes #554561
820 * docs/pwg/appendix-porting.xml:
821 Change 0.9 to 0.10 here.
823 2008-10-06 Stefan Kost <ensonic@users.sf.net>
825 * docs/manual/basics-data.xml:
826 Change "event-event interaction" to "element-element interaction".
827 Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
830 2008-10-05 Jan Schmidt <jan.schmidt@sun.com>
833 Back to development -> 0.10.21.1
835 === release 0.10.21 ===
837 2008-10-02 Jan Schmidt <jan.schmidt@sun.com>
840 releasing 0.10.21, "Take These Things From Me"
842 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
845 0.10.20.4 pre-release
847 2008-09-28 Jan Schmidt <jan.schmidt@sun.com>
849 * libs/gst/base/gstbasetransform.c:
850 * plugins/elements/gstcapsfilter.c:
851 * tests/check/Makefile.am:
852 * tests/check/elements/.cvsignore:
853 * tests/check/elements/capsfilter.c:
854 Fix assertion in basetransform when the subclass chooses not to
855 allocate a buffer in prepare_buffer(), and make capsfilter error out
856 cleanly if requested to apply caps that don't completely specify the
857 buffer. Fixes #551509
859 2008-09-24 Wim Taymans <wim.taymans@collabora.co.uk>
861 * libs/gst/base/gstbasetransform.c:
862 (gst_base_transform_prepare_output_buffer):
863 Take new caps ref because our old one might have been gone when the
864 subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
866 2008-09-15 Stefan Kost <ensonic@users.sf.net>
869 Do not probe availability of check unit test library when cross
870 compiling, as test would not work anyway. Also cleanup verbose output
871 of the check test. Fixes #551952.
873 2008-09-14 Wim Taymans <wim.taymans@collabora.co.uk>
875 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
877 * gst/gstelement.c: (gst_element_sync_state_with_parent):
878 Avoid leaking the parent ref when we fail changing the state of the
879 element using gst_element_sync_state_with_parent(). Fixes #551978.
881 2008-09-11 Tim-Philipp Müller <tim.muller at collabora co uk>
883 * docs/manual/intro-motivation.xml::
884 Remove some bits that no longer apply, update others (#551642).
886 2008-09-10 Jan Schmidt <jan.schmidt@sun.com>
889 0.10.20.2 pre-release
897 2008-09-09 Tim-Philipp Müller <tim.muller at collabora co uk>
899 * win32/common/config.h.in:
900 Add GST_DATADIR, hard-code cpu to x86.
902 * win32/common/libgstreamer.def:
905 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
908 Fix Since: markers for new geo tags.
910 2008-09-02 Stefan Kost <ensonic@users.sf.net>
913 Fix actual tag name define after renaming from altitude to elevation.
915 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
917 * gst/gstpad.c: (add_unref_pad_to_list),
918 (gst_pad_get_internal_links_default):
919 Add fallback when calling the deprecated function on an element that
920 implements the new internal_link handler.
922 2008-09-01 Stefan Kost <ensonic@users.sf.net>
924 * docs/gst/gstreamer-sections.txt:
927 Add new tags for geo location and clarify purpose of existing location
930 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
932 Patch by: Olivier Crete <tester at tester dot ca>
934 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
935 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
936 Use thread-safe internal links iterator. Fixes #549504.
938 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
940 Based on patch by: Olivier Crete <tester at tester dot ca>
942 * docs/gst/gstreamer-sections.txt:
943 * win32/common/libgstreamer.def:
944 * gst/gstpad.c: (gst_pad_init),
945 (gst_pad_set_iterate_internal_links_function),
946 (int_link_iter_data_free), (iterate_pad),
947 (gst_pad_iterate_internal_links_default),
948 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
950 Add threadsafe replacement functions for getting internal links of an
951 element. Deprecate the old internal links functions.
952 API:GstPad::gst_pad_set_iterate_internal_links_function()
953 API:GstPad::GstPadIterIntLinkFunction
954 API:GstPad::gst_pad_iterate_internal_links()
955 API:GstPad::gst_pad_iterate_internal_links_default()
957 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
958 (gst_proxy_pad_init):
959 Implement threadsafe internal links.
961 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
962 Unit test for internal links on tee. See #549504.
964 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
966 * tests/check/Makefile.am:
967 libs/transform1 test requires libs/test_transform.c
969 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
971 * gst/gstpad.c: (gst_pad_get_internal_links_default):
972 Die evil deadlock, die !
974 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
976 * gst/gstutils.c: (gst_element_get_compatible_pad):
977 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
978 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
979 Fix all leaks due to the bug in gst_pad_template_new() by which it does
980 not steal the refcount of the given caps as stated.
982 REVERT THIS COMMIT ONCE FIXED !
983 REVERT THIS COMMIT ONCE FIXED !
984 REVERT THIS COMMIT ONCE FIXED !
985 REVERT THIS COMMIT ONCE FIXED !
986 REVERT THIS COMMIT ONCE FIXED !
987 REVERT THIS COMMIT ONCE FIXED !
989 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
993 After 3 years it's about time to revise the documentation of the
996 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
998 * gst/gstpad.c: (gst_pad_get_internal_links_default):
999 Make the internal links function less thread-unsafe and add some
1000 comments, dunno why.
1002 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1004 * gst/gst_private.h:
1005 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1006 build with --disable-gst-debug.
1008 2008-08-28 David Schleef <ds@schleef.org>
1010 * gst/gstpadtemplate.c: Revert last change, since it breaks
1011 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
1012 but shouldn't be enabled until we've released fixed versions
1013 of -good and -ffmpeg.
1015 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1018 Put the gst_object_get_name() back in.
1020 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1022 * gst/gstpadtemplate.c:
1023 The old behaviour was that gst_pad_template_new() takes ownership of
1024 the caps. As we now call g_object_new() which calls g_object_set() and
1025 which copies the caps, we have to unref them to not leak them. Fixes
1026 make valgrid for me.
1028 2008-08-28 Stefan Kost <ensonic@users.sf.net>
1031 Don't segfault on input like "tel:+1-123-555-1234".
1033 2008-08-27 Stefan Kost <ensonic@users.sf.net>
1036 Due to popular request also include ObjectType in
1037 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1039 2008-08-26 David Schleef <ds@schleef.org>
1041 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1042 src_val must be positive, because that's not a requirement.
1043 This causes problems with converting negative granulepos
1045 * gst/gstquery.c: Same, gst_query_new_convert().
1047 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1049 * gst/gstclock.c: (gst_clock_add_observation):
1050 Add some more debugging to the clock slaving code.
1052 * win32/common/libgstbase.def:
1053 Add new basetransform method.
1055 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1057 * gst/gstbin.c: (gst_bin_element_set_state):
1058 Take the (recursive) state lock between getting the locked state of an
1059 element and changing the element state. This allows the application to
1060 lock an element's state and then change its state without races.
1062 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
1064 * gst/gstbin.c: (gst_bin_element_set_state):
1065 When an element is in the locked state we still want to update the
1066 base_time of the element.
1068 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
1070 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1071 Use the result from gst_pad_set_caps() instead of assuming the element
1072 always accepted the caps computed by the default negotiate function.
1074 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
1076 * docs/libs/gstreamer-libs-sections.txt:
1077 * libs/gst/base/gstbasetransform.c:
1078 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1079 (gst_base_transform_chain), (gst_base_transform_suggest),
1080 (gst_base_transform_reconfigure):
1081 * libs/gst/base/gstbasetransform.h:
1082 Implement method for reconfiguring basetransform.
1083 API: GstBaseTransform::gst_base_transform_reconfigure()
1085 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1087 patch by: Murray Cumming <murrayc@murrayc.com>
1090 Mention that this is just like gst_buffer_merge() but with extra
1091 unreffing for C coders. Advise language bindings not to wrap it.
1094 Also fix file comment.
1096 2008-08-20 Stefan Kost <ensonic@users.sf.net>
1098 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1100 * plugins/elements/gstfakesink.c:
1101 * plugins/elements/gstfakesrc.c:
1102 Call super::event() when not handling it. Fixes #544855.
1104 2008-08-19 Michael Smith <msmith@songbirdnest.com>
1106 Patch by: Alessandro Decina <alessandro@nnva.org>
1107 * plugins/elements/gstfilesrc.c:
1108 Use 64 bit variants of stat functions on win32, to enable support
1109 of large files there.
1112 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1114 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1115 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1116 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1117 (gst_base_sink_get_position), (gst_base_sink_change_state):
1118 Improve position reporting in the flushing state.
1119 Also report the position when we are not yet prerolled but we
1120 have a newsegment event. Fixes #543444.
1121 Improve the pull-based negotiation code.
1123 * tests/check/elements/fakesink.c: (GST_START_TEST),
1125 Add testcase for position reporting while flushing in PAUSED and
1128 * tests/check/generic/sinks.c: (GST_START_TEST):
1129 Update unit-test, we can now query the position as soon as we receive a
1132 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
1134 Based on patch by: Jason Zhao <e3423c at motorola dot com>
1136 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1137 When the subclass event handler releases the PREROLL_LOCK, we could be
1138 in the flushing state and we have to ignore the event. Fixes #548394.
1140 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1142 * tools/gst-launch.1.in:
1143 Document GST_REGISTRY_UPDATE environment variable.
1145 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
1147 * libs/gst/base/gstbasetransform.c:
1148 (gst_base_transform_prepare_output_buffer):
1149 If the element is configured in passthrough mode but the
1150 prepare_output_buffer gave us a new output buffer, discard that buffer
1151 and reuse the input buffer.
1153 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
1155 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1157 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1158 (gst_tee_request_new_pad), (gst_tee_release_pad),
1159 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1160 * plugins/elements/gsttee.h:
1161 Protect pad_alloc with a new lock so that we can be sure that nothing is
1162 performing a pad_alloc when removing the pad. Fixes #547835.
1164 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1165 (buffer_alloc_harness_teardown), (app_thread_func),
1166 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1167 Added testcase for shutdown race.
1169 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
1174 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1176 * libs/gst/base/gstbasetransform.c:
1177 (gst_base_transform_prepare_output_buffer),
1178 (gst_base_transform_buffer_alloc):
1179 Go over the buffer_alloc function again and make sure we always end up
1180 allocating a buffer.
1182 Avoid doing pad alloc when we have a pending suggestion because we
1183 cannot yet deal with changing caps in that case. Fixes #547728
1185 2008-08-14 Stefan Kost <ensonic@users.sf.net>
1187 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1189 * docs/manual/advanced-clocks.xml:
1190 * docs/manual/clocks.png:
1191 * docs/manual/diagrams-clocks.svg:
1192 Add one more image showing different times together with a describing
1193 paragraph. Fixes #547729.
1195 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1197 * win32/common/libgstbase.def:
1200 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
1202 * libs/gst/base/gstbasetransform.c:
1203 (gst_base_transform_transform_caps),
1204 (gst_base_transform_prepare_output_buffer),
1205 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1206 Don't overwrite the outsize when calculating the expected size of a new
1207 buffer because we still need it in case we cannot process the new
1209 When converting the size of the new buffer to an upstream size, actually
1210 use the expected size of the buffer, not some other random value.
1211 Use an atomic int to signal that a new upstream caps suggestion is
1213 When we can convert the current buffer to a new format, check if the
1214 buffer size is of the expected size and allocate a new buffer of the
1215 expected size when this is not the case. Fixes #546883.
1217 * tests/check/libs/transform1.c: (GST_START_TEST):
1218 remove ifdeffed code from the unit test.
1220 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1222 * pkgconfig/gstreamer-uninstalled.pc.in:
1223 * pkgconfig/gstreamer.pc.in:
1224 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1225 called gstcontroller-0.10.
1227 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1229 * gst/gstchildproxy.h:
1231 Remove double interface from doc-string.
1233 2008-08-12 Stefan Kost <ensonic@users.sf.net>
1235 * libs/gst/base/gstbasesrc.c:
1236 * libs/gst/base/gstbasetransform.c:
1237 Fix headings in docs and gtk-doc warnings.
1239 2008-08-11 Michael Smith <msmith@songbirdnest.com>
1241 * gst/gstregistrybinary.c:
1242 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1246 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
1248 * libs/gst/base/gstbasetransform.c:
1249 (gst_base_transform_buffer_alloc):
1250 Fix a "may be used unitialized" warning.
1252 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1254 * docs/gst/gstreamer-sections.txt:
1256 Document preset-iface vmethods.
1258 2008-08-11 Stefan Kost <ensonic@users.sf.net>
1260 * docs/manual/advanced-interfaces.xml:
1261 Turn thoughts about HAL into a note-tag. Remove mentioning that is
1262 only used to discover devices.
1264 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
1266 Patch by: Frederic Crozat <fcrozat@mandriva.org>
1268 * gst/gst.c: (init_pre):
1269 Make sure gettext returns translations in UTF-8 encoding rather
1270 than in the current locale encoding (#546822).
1272 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
1274 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1277 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1278 Improve unit test subset tests and add a testcase for the subset failure
1281 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1282 Improve subtraction unit test.
1284 2008-08-07 Stefan Kost <ensonic@users.sf.net>
1286 * plugins/elements/gsttee.c:
1287 Unlock, instead of locking again.
1289 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1292 Clarify the docs a bit more.
1294 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1296 * tests/examples/metadata/read-metadata.c:
1297 Don't leak old taglist.
1299 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1301 Patch by: Olivier Crete <tester at tester dot ca>
1303 * gst/gststructure.c:
1304 (gst_structure_fixate_field_nearest_fraction):
1305 Avoid overflows in fixation code when dealing with MAXINT values, which
1306 v4l2src seems to do.
1309 * tests/check/gst/gststructure.c: (GST_START_TEST):
1310 Make a unit test to check the fix.
1312 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1314 * plugins/elements/gstcapsfilter.c: (copy_func),
1315 (gst_capsfilter_set_property):
1316 Use new caps suggestion feature of basetransform to request a caps
1317 negotiation upstream.
1319 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
1321 * docs/libs/gstreamer-libs-sections.txt:
1323 API: GstBaseTransform::gst_base_transform_suggest()
1325 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1326 (gst_base_transform_init), (gst_base_transform_transform_caps),
1327 (gst_base_transform_transform_size),
1328 (gst_base_transform_configure_caps),
1329 (gst_base_transform_can_transform),
1330 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1331 (gst_base_transform_prepare_output_buffer),
1332 (gst_base_transform_buffer_alloc),
1333 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1334 (gst_base_transform_chain), (gst_base_transform_activate),
1335 (gst_base_transform_set_passthrough),
1336 (gst_base_transform_is_passthrough),
1337 (gst_base_transform_set_in_place),
1338 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1339 (gst_base_transform_set_qos_enabled),
1340 (gst_base_transform_is_qos_enabled),
1341 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1342 (gst_base_transform_reconfigure):
1343 * libs/gst/base/gstbasetransform.h:
1344 Rewrite of basetransform to perform negotiation outside of the
1345 buffer_alloc functions. Fixes #545853.
1347 * tests/check/libs/transform1.c: (GST_START_TEST),
1351 2008-08-05 Stefan Kost <ensonic@users.sf.net>
1353 * tests/check/gst/gstpreset.c:
1354 Only run preset tests when $HOME is writable. Preliminary fix for
1357 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
1359 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1360 (gst_bin_change_state_func), (bin_handle_async_done),
1361 (gst_bin_handle_message_func):
1362 Fix race for bins that simulate ASYNC state changes by inserting
1363 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1364 pending ASYNC messages even when the bin does not have ASYNC children.
1365 We note detect this behaviour because we will receive an ASYNC message
1366 that is originating from the bin itself.
1367 Fixes races with decodebin2 state changes.
1369 * tests/check/gst/gstbin.c: (GST_START_TEST):
1370 Add some more debug.
1372 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
1374 * gst/gsttaglist.c: (_gst_tag_initialize):
1377 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1380 Argh. actually save the text before committing. Now adds
1381 gst_tag_merge_strings_with_comma() to gst_tag_register().
1383 2008-08-04 Stefan Kost <ensonic@users.sf.net>
1387 Do as tim pointed out and actually register the new tag. Also improve
1388 te docs and use gst_tag_merge_strings_with_comma() method to allow
1389 retriving all keywords merged in one list.
1391 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1394 * docs/gst/gstreamer.types:
1395 Revert 'accidential' change of the configure option removal. We still
1396 need to generate the types file in configure --disable-load-save.
1398 2008-08-01 Stefan Kost <ensonic@users.sf.net>
1400 * docs/gst/gstreamer-sections.txt:
1402 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1404 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1406 * gst/gstpadtemplate.c:
1407 (gst_pad_template_class_init), (gst_static_pad_template_get),
1408 (gst_pad_template_new), (gst_pad_template_pad_created),
1409 (gst_pad_template_set_property), (gst_pad_template_get_property):
1410 Add "name-template", "direction", "presence" and "caps" properties,
1411 so that gst_pad_template_new() is just a thin wrapper around
1412 g_object_new(), which is better for bindings. (Fixes: #539772)
1414 2008-07-31 Michael Smith <msmith@songbirdnest.com>
1417 Be more liberal in what URIs we accept.
1418 Do not unescape bits of the URI for no apparent reason before passing to
1419 the element. Fixes #545352.
1421 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1423 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1426 Include gstconfig.h as macros from it are used. Fixes bug #545607.
1428 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1431 * docs/gst/gstreamer-sections.txt:
1432 * docs/gst/gstreamer.types:
1433 * docs/gst/gstreamer.types.in:
1436 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1437 * gst/gstconfig.h.in:
1438 * gst/gstelement.c: (gst_element_get_index):
1439 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1440 (gst_registry_binary_load_feature),
1441 (gst_registry_binary_read_cache):
1442 * gst/gstregistryxml.c: (load_feature),
1443 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1444 * plugins/Makefile.am:
1446 * tools/gst-inspect.c: (print_index_info), (print_element_list),
1447 (print_plugin_features), (print_element_features):
1448 * tools/gst-xmlinspect.c: (print_event_masks),
1449 (print_element_info):
1450 * win32/common/gstconfig.h:
1451 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1453 Disabling the indexers and URI handler code will only reduce the
1454 required amount of memory by a very small amount but on the other hand
1455 requires much more maintaince work. Apart from that many places of
1456 code are broken when disabling them.
1458 Disabling the enum types doesn't reduce the required amount of memory
1459 by more than a few bytes and makes it hard to fix bugs like #539772,
1460 i.e. use the enums as GObject properties.
1462 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1464 * docs/design/part-TODO.txt:
1465 Add some thoughts and problems with upstream renegotiation.
1467 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1469 * gst/gstpad.c: (gst_pad_acceptcaps_default),
1470 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1471 Remove silly redundant debug.
1472 Add some more debug info.
1473 Clarify the docs regarding new caps received from pad_alloc.
1475 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1477 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1478 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1479 Make setting the caps more threadsafe.
1481 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1483 * docs/design/part-element-transform.txt:
1486 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
1488 * plugins/elements/gstqueue.c: (gst_queue_init),
1489 (gst_queue_acceptcaps):
1490 Add and use a custom acceptcaps function instead of falling back to the
1491 potentially less optimized default implementation.
1493 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
1495 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1496 Only sanity-check the buffer size if requested_caps == buffer_caps
1497 (ie. don't take pad caps into account, they're not relevant here)
1499 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1501 * plugins/elements/gsttee.c:
1502 * plugins/elements/gsttee.h:
1503 Reverting as not everything is clear yet. Needs some general design
1506 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1509 ChangeLog surgery for tee commit.
1511 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1513 * docs/gst/gstreamer-sections.txt:
1514 Cleanup section-file.
1516 2008-07-29 Stefan Kost <ensonic@users.sf.net>
1518 * plugins/elements/gsttee.c:
1519 * plugins/elements/gsttee.h:
1520 Relay tag events in tee. Fixes parts of #474016.
1521 Downgrades 3 reoccurring debugs to log.
1523 2008-07-28 Michael Smith <msmith@songbirdnest.com>
1526 * libs/gst/Makefile.am:
1527 Build the net library if we have winsock2.
1529 2008-07-26 Stefan Kost <ensonic@users.sf.net>
1531 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1533 * docs/manual/advanced-threads.xml:
1534 * docs/manual/diagrams-pipelines.svg:
1535 * docs/manual/hello-world.png:
1536 * docs/manual/linked-elements.png:
1537 * docs/manual/mime-world.png:
1538 * docs/manual/queue.png:
1539 * docs/manual/thread-buffering.png:
1540 * docs/manual/thread-synchronizing.png:
1541 Replace one diagram with two separate ones and updates others.
1544 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
1547 Fix link in documentation.
1549 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1552 Fix confusing documentation.
1554 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1556 * libs/gst/base/gstbasesrc.h:
1557 revert the changes to the header file for the ABI.
1559 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
1561 * libs/gst/base/gstbasesrc.c:
1562 * libs/gst/base/gstbasesrc.h:
1563 Don't cache the seekable status.
1566 2008-07-24 Rene Stadler <mail@renestadler.de>
1568 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1569 code to close the pipeline graph. This prevents the program from
1570 printing internal data flow errors.
1572 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1574 * docs/manual/basics-bus.xml:
1575 Correct typo. Fixes bug #544320.
1577 2008-07-22 Michael Smith <msmith@songbirdnest.com>
1580 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1581 Add check (taken from -base) for winsock, adds WIN32_LIBS
1583 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1585 Define GST_EXPORTS when building libgstreamer (only used on win32)
1586 * gst/gst_private.h:
1588 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1589 for symbols that we need to export in both these files.
1591 Include gst_private.h higher up to avoid some compile problems on win32.
1593 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1598 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1601 Previous commit was wrong NULL caps does not exist
1602 and indicate an error, so also add a FIXME to
1603 gst_caps_is_equal where NULL caps are accepted.
1605 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
1608 Allow passing of NULL to gst_caps_union
1610 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
1612 * gst/gstghostpad.c:
1613 Add in doc that gst_ghost_pad_set_target can accept
1614 NULL to clear target
1616 2008-07-15 Michael Smith <msmith@songbirdnest.com>
1619 * gst/gstregistry.c:
1620 GstRegistryPool doesn't exist; don't refer to it in docs.
1621 Don't refer to functions that don't exist in docs, it's
1624 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1627 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1629 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1631 Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1633 * docs/pwg/building-testapp.xml:
1634 Don't use an undeclared variable in the example program.
1637 2008-07-12 Stefan Kost <ensonic@users.sf.net>
1639 * gst/gstdebugutils.c:
1640 Squeeze ghost-pad links and remove <> from classname labels to save
1641 more horizontal space.
1643 2008-07-11 Stefan Kost <ensonic@users.sf.net>
1645 * gst/gstdebugutils.c:
1646 Give request and sometimes pads a different shpe style. Condense the
1647 graphs a little more.
1649 2008-07-09 Michael Smith <msmith@songbirdnest.com>
1652 Don't require flex and bison if the parser is disabled.
1654 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1656 * libs/gst/controller/gstinterpolationcontrolsource.c:
1657 (_list_find_sorted_custom):
1658 Don't use declarations after statements.
1660 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1662 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1663 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1664 of the the child-added / -removed signals as GstChildProxy
1665 only supports GstObjects.
1667 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
1669 * gst/gstdebugutils.c:
1672 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1674 Patch by: Alessandro Decina <alessandro at nnva dot org>
1677 Fix "ignored return value" compiler warning with newer glibc.
1679 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1681 * gst/gstchildproxy.c:
1682 Fix copy&paste error in gst_child_proxy_removed() documentation.
1684 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
1686 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1687 Print error debug message if plugin description fields that should
1690 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1691 Don't crash if the string to serialise is NULL (it really should
1692 not be, but apparently this used to work with the xml registry ...).
1694 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
1696 * tools/gst-plot-timeline.py:
1697 Fix parsing of log messages
1699 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
1701 * win32/common/libgstbase.def::
1702 Sort alphabetically so make check-exports doesn't barf.
1704 2008-07-01 Stefan Kost <ensonic@users.sf.net>
1707 Use gst_format_get_name() to improve debug output.
1710 Remove #ifdef'ed code. Add TODO comment.
1713 Add debug output to ease spotting format != segment.format assertions.
1715 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1717 * tests/check/libs/gdp.c: (gst_dp_suite):
1718 Also enable the GDP unit test again on PPC now that the bug
1721 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1723 * libs/gst/dataprotocol/dataprotocol.c:
1724 Don't write to the same region of memory as a uint64 and uint16
1725 as this breaks strict aliasing rules and apparantly breaks on PPC
1726 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
1728 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1730 * libs/gst/controller/gstinterpolationcontrolsource.c:
1731 Optimize list handling. Use own find function. Exploit that fact that
1732 the list is sorted. Also pass back the node before, so that we can
1733 insert quickly. Have a fast path for append.
1735 2008-06-29 Stefan Kost <ensonic@users.sf.net>
1737 * docs/design/draft-framestep.txt:
1738 * docs/design/part-negotiation.txt:
1741 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1744 Show configuration sumary after configure run. Based on patch by
1745 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
1747 2008-06-27 Stefan Kost <ensonic@users.sf.net>
1749 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1751 * docs/manual/advanced-autoplugging.xml:
1752 * docs/manual/advanced-threads.xml:
1753 * docs/manual/basics-bins.xml:
1754 * docs/manual/basics-elements.xml:
1755 * docs/manual/basics-helloworld.xml:
1756 * docs/manual/basics-pads.xml:
1757 Add scale factor for pdf output.
1759 * docs/manual/intro-basics.xml:
1760 Switched sections "pads" and "bins" and added a pipeline diagram.
1762 * docs/manual/intro-gstreamer.xml:
1763 Added more info on gstreamer.
1765 * docs/manual/intro-motivation.xml:
1766 Commented out the whole section "current problem", which sounds
1767 historical and somehow osolete; it could be turned in a positive
1768 way and reused to improve the design principles.
1770 * docs/manual/intro-preface.xml:
1771 - Update URLs to library.gnome.org.
1772 - Do not mention GTK+ in preliminary reading (irrelevant).
1773 - Mention Plugin Writer's Manual and further reading only in the
1775 - Added a list of most relevant GObject/glib topics.
1777 * docs/manual/Makefile.am:
1778 * docs/manual/bin-element-ghost.fig:
1779 * docs/manual/bin-element-ghost.png:
1780 * docs/manual/bin-element-noghost.fig:
1781 * docs/manual/bin-element-noghost.png:
1782 * docs/manual/bin-element.fig:
1783 * docs/manual/bin-element.png:
1784 * docs/manual/filter-element-multi.fig:
1785 * docs/manual/filter-element-multi.png:
1786 * docs/manual/filter-element.fig:
1787 * docs/manual/filter-element.png:
1788 * docs/manual/gstreamer-overview.png:
1789 * docs/manual/hello-world.fig:
1790 * docs/manual/hello-world.png:
1791 * docs/manual/linked-elements.fig:
1792 * docs/manual/linked-elements.png:
1793 * docs/manual/mime-world.fig:
1794 * docs/manual/mime-world.png:
1795 * docs/manual/queue.fig:
1796 * docs/manual/queue.png:
1797 * docs/manual/simple-player.png:
1798 * docs/manual/sink-element.fig:
1799 * docs/manual/sink-element.png:
1800 * docs/manual/src-element.fig:
1801 * docs/manual/src-element.png:
1802 * docs/manual/diagrams-general.svg:
1803 * docs/manual/diagrams-pipelines.svg:
1804 Removed .fig, added .png counterpart.
1808 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
1810 * plugins/elements/gstmultiqueue.c:
1811 * plugins/elements/gstmultiqueue.h:
1812 revert extra-size-buffers stuff, caused some race conditions
1813 and extra-size-buffers is not used anymore. Docs needs some updates
1815 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1817 * win32/common/config.h:
1818 * win32/common/gstenumtypes.c:
1819 * win32/common/gstenumtypes.h:
1820 * win32/common/gstversion.h:
1823 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
1825 * gst/gstdebugutils.h: (GstDebugGraphDetails),
1826 (GST_DEBUG_BIN_TO_DOT_FILE):
1827 Add missing Since' markers to gtk-doc blurbs.
1829 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
1831 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1832 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1833 (set_caps_1), (set_caps_ct1), (transform_ct1),
1834 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1835 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1836 (transform_size_ct2), (buffer_alloc_ct2):
1837 Add some more tests with switching caps in buffer_alloc.
1839 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1841 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1842 (gst_test_trans_class_init), (result_sink_chain),
1843 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1844 (gst_test_trans_push), (gst_test_trans_pop):
1845 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1846 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1847 (set_caps_1), (set_caps_ct1), (transform_ct1),
1848 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1849 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
1850 (transform_size_ct2), (buffer_alloc_ct2),
1851 (gst_basetransform_suite):
1852 More tests, prepare for tests with switching caps in buffer_alloc.
1854 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
1856 * plugins/elements/gstmultiqueue.c:
1857 * plugins/elements/gstmultiqueue.h:
1858 Fix dead-lock in underrun_cb
1860 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1862 * docs/design/part-states.txt:
1863 Fix device open/close docs.
1865 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1868 Mention bugnumber for last commit.
1870 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1872 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1874 * docs/manual/manual.xml:
1875 - Reorganised the previous "introduction" bundle into Foreword,
1876 Introduction, and About GStreamer. The two first are <preface>
1877 docbook elements. The later is the first part of the book.
1878 - added intro-gstreamer.xml (content partially from
1880 - moved appendix-win32.xml into appendix-integration.xml
1882 * docs/manual/intro-preface.xml: gstreamer section moved...
1883 * docs/manual/intro-gstreamer.xml: ...here. new file.
1885 * docs/manual/appendix-win32.xml: removed file. Content moved...
1886 * docs/manual/appendix-integration.xml: ...here.
1888 * docs/manual/highlevel-components.xml: section about GstEditor moved...
1889 * docs/manual/appendix-checklist.xml: ...here.
1893 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1895 patch by: Luc Pionchon <luc.pionchon@nokia.com>
1897 * docs/manual/basics-helloworld.xml:
1898 * docs/manual/hello-world.fig:
1899 - Explicitely include glib.h.
1900 - Do not use global variables.
1901 - Use g_printerr() instead of g_print().
1902 - Minor formating/renaming to increase readibility.
1903 - Renamed new_pad() to on_pad_added()
1904 - Improved explenatory comments.
1905 - renamed ogg parser to ogg demuxer
1906 - Use "autoaudiosink" instead of "alsasink".
1909 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1912 Remove cvs conflict marker.
1914 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1917 Document that for plgin-docs we extraxt he short-desc from the element
1920 * docs/design/part-states.txt:
1921 Tell that devices should be closed in PAUSED -> READY.
1923 * docs/manual/README:
1924 Document how tests in the manual are handled.
1929 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1931 * gst/gstbin.c: (bin_query_latency_fold):
1932 Only care about latency min and max when the sink is actually a live
1935 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1937 * docs/design/part-block.txt:
1940 * docs/design/part-element-transform.txt:
1941 Add notes about why transform needs to know input/output sizes.
1942 Add some issues that need to be solved.
1943 Add some more use cases.
1945 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1946 (gst_test_trans_class_init), (result_sink_chain),
1947 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1948 (gst_test_trans_push), (gst_test_trans_pop):
1949 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1950 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1951 (set_caps_1), (set_caps_ct1), (transform_ct1),
1952 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1953 (gst_basetransform_suite):
1954 Add suport for different pad templates and buffer-alloc.
1955 Add more checks for caps and buffer-alloc.
1956 Add checks for proxy buffer alloc.
1957 Add unit test for copy transform.
1959 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1961 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1963 * docs/manual/appendix-integration.xml:
1964 * docs/manual/appendix-licensing.xml:
1965 * docs/manual/basics-elements.xml:
1966 * docs/manual/basics-helloworld.xml:
1967 * docs/manual/basics-pads.xml:
1968 * docs/manual/highlevel-components.xml:
1969 * docs/manual/highlevel-xml.xml:
1970 * docs/manual/intro-basics.xml:
1971 * docs/manual/intro-preface.xml:
1972 Typo and formatting fixes (#538594).
1974 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1976 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1977 Fix some memory leaks and uses of object instances that we don't
1980 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1982 * plugins/elements/gstmultiqueue.c:
1983 Add functionality to extra-size-buffers property.
1985 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1987 * plugins/elements/gstmultiqueue.c:
1988 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1989 activate the pads if they are added in STATE_NULL.
1991 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1993 * docs/libs/gstreamer-libs-sections.txt:
1995 * libs/gst/check/gstcheck.c:
1996 * libs/gst/check/gstcheck.h:
1997 API: gst_check_teardown_pad_by_name
1999 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
2001 * libs/gst/check/gstcheck.c:
2002 * libs/gst/check/gstcheck.h:
2003 Also setup request pads and allow setup pads by name (#537812)
2004 API: gst_check_setup_src_pad_by_name
2005 API: gst_check_setup_sink_pad_by_name
2007 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2009 * tests/check/gst/gstbuffer.c:
2010 * tests/check/pipelines/parse-launch.c:
2011 Use HAVE_VALGRIND_H some more.
2013 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2015 * scripts/cvs-update.sh:
2016 Pass arguments to make.
2017 Run autoregen.sh if Makefile is not there.
2019 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
2023 Don't assume that <valgrind/valgrind.h> exists just because
2024 the binary is there.
2026 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2028 * tests/check/Makefile.am:
2029 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2030 (gst_test_trans_class_init), (gst_test_trans_init),
2031 (gst_test_trans_set_data), (result_sink_chain),
2032 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2033 (gst_test_trans_pop):
2034 * tests/check/libs/transform1.c: (GST_START_TEST),
2035 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2036 Add some test basetransform element and the beginnings of various
2039 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2041 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2042 Increase code readability.
2043 Don't try to compare buffer offsets when ther are invalid.
2045 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2047 * docs/design/Makefile.am:
2048 Dist some more design docs.
2050 * docs/random/moving-plugins:
2051 Small addition: good plugins mustn't have functional code
2052 within assertion macros.
2054 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2056 * docs/design/draft-framestep.txt:
2057 Some ideas about a framestep API
2059 * docs/design/part-element-transform.txt:
2060 Start design and use cases for basetransform in order to get it
2063 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2066 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2067 be in UTF-8 encoding.
2069 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
2072 Make it known that gst_bus_poll() is pure evil (fixes #538810).
2074 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2076 * plugins/elements/gstcapsfilter.c:
2077 * plugins/elements/gstfakesink.c:
2078 * plugins/elements/gstfakesrc.c:
2079 * plugins/elements/gstfdsink.c:
2080 * plugins/elements/gstfdsrc.c:
2081 * plugins/elements/gstfilesink.c:
2082 * plugins/elements/gstfilesrc.c:
2083 * plugins/elements/gstidentity.c:
2084 * plugins/elements/gstmultiqueue.c:
2085 * plugins/elements/gstqueue.c:
2086 * plugins/elements/gsttee.c:
2087 * plugins/elements/gsttypefindelement.c:
2088 Remove short_description. Add basic docs for gsttypefindelement.
2089 Simplify markup for fakesrc/fdsrc.
2091 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2093 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2096 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2098 Patch by: Joel Larsson <tilljoel at gmail dot com>
2100 * docs/plugins/gstreamer-plugins.args:
2101 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2102 (gst_fd_src_init), (gst_fd_src_update_fd),
2103 (gst_fd_src_set_property), (gst_fd_src_get_property),
2104 (gst_fd_src_create):
2105 * plugins/elements/gstfdsrc.h:
2106 Add timeout property like udpsrc. Fixes #538628.
2107 Add some more docs and example pipelines.
2109 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2111 * docs/libs/gstreamer-libs-sections.txt:
2112 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2113 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2114 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2115 (gst_base_sink_do_sync):
2116 * libs/gst/base/gstbasesink.h:
2117 * win32/common/libgstbase.def:
2118 Add method to allow sinks to specify additional delay between the sync
2119 times and the actual rendering of the data.
2120 API: gst_base_sink_set_render_delay()
2121 API: gst_base_sink_get_render_delay()
2123 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
2126 Bump version number back to dev -> 0.10.20.1
2128 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
2130 * docs/gst/gstreamer-sections.txt:
2131 * gst/gsttaglist.c: (_gst_tag_initialize):
2133 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2136 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2138 * libs/gst/controller/gstcontroller.c:
2139 Revert one change, that make ret value possible uninitialized.
2141 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2143 * libs/gst/controller/gstcontroller.c:
2144 Use freeze/thaw notify to sync notify emission a bit (its also more
2145 efficient). Move debug output to LOG (is called a lot in a loop).
2146 Always unset g_values if the have been initialized.
2148 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2150 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2151 (gst_base_sink_wait_eos), (gst_base_sink_event):
2152 If we have not seen a buffer before EOS, use the segment values to
2153 report the current position instead of invalid positions.
2155 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2157 * docs/plugins/tmpl/.cvsignore:
2158 * tests/check/gst/.cvsignore:
2161 2008-06-20 Stefan Kost <ensonic@users.sf.net>
2163 * libs/gst/controller/gstinterpolation.c:
2164 * libs/gst/controller/gstinterpolationcontrolsource.c:
2165 * tests/check/libs/controller.c:
2166 Rewrite handling of default values. Fix overflow with unsigned types
2167 in linear interpolation. Remove now obsolete _first_value() function.
2168 Add more tests. Fixes #538201.
2170 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
2172 * libs/gst/base/gstbasetransform.c:
2173 (gst_base_transform_class_init), (gst_base_transform_init),
2174 (gst_base_transform_transform_caps),
2175 (gst_base_transform_prepare_output_buffer):
2177 When a buffer is writable, its metadata is also writable so we don't
2178 need to subbuffer (which then makes the buffer not-writable anymore).
2180 === release 0.10.20 ===
2182 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
2185 releasing 0.10.20, "You Crazy Diamond"
2187 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2190 0.10.19.3 pre-release
2192 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
2196 Rename DATADIR to GST_DATADIR to avoid build problems
2197 on win32. Patch By: David Schleef <ds@schleef.org>
2200 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
2203 Explicitely link with -ldl if dladdr() is found there. Before it was
2204 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2205 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2207 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2209 * gst/gsterror.c: (_gst_stream_errors_init):
2210 Fix typo (spotted by Fabricio Godoy, #536723).
2212 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
2215 0.10.19.2 pre-release
2217 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2219 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2220 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2222 Make sure we don't generate invalid QoS messages.
2224 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
2226 * gst/gstevent.c: (gst_event_new_qos):
2227 Add some assert and docs for invalid input to the qos function.
2229 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
2231 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2232 (gst_base_sink_get_position):
2233 The reported position must always be smaller than the last seen
2234 timestamps (or timestamp + duration for reverse).
2236 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
2238 Patch by: Rob Bradford <rob at robster dot org dot uk>
2240 * gst/gstregistry.c: (gst_registry_scan_path_level):
2241 Don't recurse into .debug directories as some distros install
2242 the debugging symbols next to the plugins in .debug directories
2243 and dlopen() crashes on them sometimes. Fixes bug #508070.
2245 Add FIXME for 0.11 to not recurse into directories at all because
2246 it's very inconsistent to the behaviour of other PATH environment
2249 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
2251 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2252 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2253 Fix position query range checks in reverse playback.
2255 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
2259 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2260 clear of the reference to the resulting pad must be released later
2261 or not, resulting in possible leaks. Fixes bug #533865.
2263 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2265 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2267 * gst/gstelementfactory.c:
2268 Small doc fix. Fixes #535285.
2270 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
2272 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2274 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2275 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2276 (gst_base_src_loop), (gst_base_src_set_flushing),
2277 (gst_base_src_change_state):
2278 Make sending an EOS event to the basesrc non-blocking even if the
2279 implementation does blocking waits in the create function. This is done
2280 by unlocking the create function when EOS is sent.
2283 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2285 * tools/gst-inspect.c: (print_element_properties_info):
2286 If possible print the element type of GValueArray properties.
2288 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
2290 * gst/gstiterator.c:
2291 Remove an unused field from the private GstListIterator struct.
2293 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2295 * libs/gst/controller/gstcontroller.c:
2296 Add parameter guards.
2298 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2300 * tests/check/gst/gstpipeline.c:
2301 Revert test change and add comment why it should not work.
2303 2008-05-27 Stefan Kost <ensonic@users.sf.net>
2305 * tests/check/gst/gstpipeline.c:
2306 Extending the test a little to verify that we also get the NULL state-
2309 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2311 * gst/gstpreset.c: (gst_preset_default_get_meta),
2312 (gst_preset_get_preset_names), (gst_preset_get_property_names),
2313 (gst_preset_load_preset), (gst_preset_save_preset),
2314 (gst_preset_rename_preset), (gst_preset_delete_preset),
2315 (gst_preset_set_meta):
2316 Add Since: markers to docs blurbs.
2318 * win32/common/libgstreamer.def:
2319 Add recently-added API.
2321 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2323 Patch by: Stefan Kost <ensonic@users.sf.net>
2326 Add DATADIR for storing presets.
2328 * docs/gst/gstreamer-docs.sgml:
2329 * docs/gst/gstreamer-sections.txt:
2330 * docs/gst/gstreamer.types.in:
2331 Add GstPreset to docs.
2335 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2336 (preset_open_and_parse_header), (preset_parse_version),
2337 (preset_merge), (preset_get_keyfile),
2338 (gst_preset_default_get_preset_names),
2339 (gst_preset_default_get_property_names),
2340 (gst_preset_default_load_preset),
2341 (gst_preset_default_save_presets_file),
2342 (gst_preset_default_save_preset),
2343 (gst_preset_default_rename_preset),
2344 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2345 (gst_preset_default_get_meta), (gst_preset_default_randomize),
2346 (gst_preset_default_reset), (gst_preset_get_preset_names),
2347 (gst_preset_get_property_names), (gst_preset_load_preset),
2348 (gst_preset_save_preset), (gst_preset_rename_preset),
2349 (gst_preset_delete_preset), (gst_preset_set_meta),
2350 (gst_preset_get_meta), (gst_preset_class_init),
2351 (gst_preset_base_init), (gst_preset_get_type):
2353 Add GstPreset to core. Fixes #396779
2355 * tests/check/Makefile.am:
2356 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2357 (gst_preset_test_set_property), (gst_preset_test_class_init),
2358 (gst_preset_test_base_init), (gst_preset_test_get_type),
2359 (gst_preset_test_plugin_init), (GST_START_TEST),
2360 (remove_preset_file), (test_setup), (test_teardown),
2362 Add GstPreset unit tests.
2364 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2366 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2367 The default event function on a sinkpad should return TRUE when
2368 there are no internal links but should collect the return values from
2369 the internal links otherwise.
2371 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
2373 * plugins/elements/gsttypefindelement.c:
2374 (gst_type_find_element_src_event),
2375 (gst_type_find_element_handle_event):
2376 Use faster and safer _pad_push_event().
2378 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
2380 * docs/gst/gstreamer-sections.txt:
2381 * gst/gstutils.c: (element_find_unlinked_pad),
2382 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2384 API: add gst_bin_find_unlinked_pad()
2385 API: deprecate gst_bin_find_unconnected_pad() (#401456)
2387 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
2393 Fixed a bunch of typos.
2395 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2398 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2399 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2400 (gst_parse_bin_from_description_full):
2402 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2404 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2406 * docs/pwg/advanced-tagging.xml:
2407 Small docs update, can't be bothered to rewrite the nonsensical
2410 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2413 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2415 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2417 * gst/parse/grammar.y:
2418 Remove unneeded casts.
2420 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
2422 * gst/parse/grammar.y:
2423 * tests/check/pipelines/parse-launch.c:
2424 Get all missing elements from a parse launch string if possible
2425 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2427 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2429 * tests/check/Makefile.am:
2430 * tests/check/pipelines/parse-launch.c:
2431 Add some unit tests for the new gst_parse_launch*_full() API.
2432 (Exposes a previously-existing memory leak in the error code
2433 path, so adding to VALGRIND_TO_FIX for now).
2435 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
2437 * docs/gst/gstreamer-sections.txt:
2438 * gst/gst.c: (init_post):
2439 * gst/gst_private.h: (_GstParseContext):
2440 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2441 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2442 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2443 (gst_parse_launch_full):
2444 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2445 (GstParseFlags), (GstParseContext):
2446 * gst/gstutils.c: (gst_parse_bin_from_description),
2447 (gst_parse_bin_from_description_full):
2449 * gst/parse/grammar.y:
2450 * gst/parse/types.h:
2451 * win32/common/libgstreamer.def:
2452 Add new gst_parse_*_full API (#528178):
2453 API: gst_parse_launch_full()
2454 API: gst_parse_launchv_full()
2455 API: gst_parse_bin_from_description_full()
2456 API: gst_parse_context_new()
2457 API: gst_parse_context_free()
2458 API: gst_parse_context_get_missing_elements()
2460 2008-05-23 Stefan Kost <ensonic@users.sf.net>
2462 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2464 * docs/faq/gst-uninstalled:
2465 Also support ffmpeg in gst-uninstalled.
2467 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2470 After discussion on IRC use the binary registry as default
2471 but allow to disable it with --disable-binary-registry.
2473 * win32/common/libgstreamer.def:
2474 Add the two new symbols for the binary registry.
2476 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
2478 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2479 * gst/gstutils.c: (gst_parse_bin_from_description):
2480 * gst/parse/grammar.y: (graph):
2481 More guards against bad input; typo fix; some minor clean-ups.
2483 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
2485 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2487 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2488 If nothing else can be used, use the last buffer's start time as
2489 the segment's last stop. Fixes bug #534258.
2491 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
2493 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2494 Move size sanity check to the right place: downstream may return
2495 a buffer with a smaller size if the buffer caps are different than
2496 the requested ones, as may happen when doing reverse negotiation.
2498 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2500 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2501 (gst_file_sink_render):
2502 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2503 (gst_file_src_start):
2504 Small cleanups. Add note adbout g_fopen() on windows and why we don't
2507 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2509 * gst/gstpad.c: (gst_pad_load_and_link):
2510 * gst/gstutils.c: (gst_element_link_pads),
2511 (gst_element_unlink_pads):
2512 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2513 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2514 (gst_check_teardown_sink_pad),
2515 (gst_check_element_push_buffer_list):
2516 * tests/check/elements/fakesink.c: (GST_START_TEST):
2517 * tests/check/elements/filesink.c:
2518 * tests/check/elements/filesrc.c: (GST_START_TEST):
2519 * tests/check/elements/multiqueue.c: (setup_multiqueue),
2520 (mq_sinkpad_to_srcpad):
2521 * tests/check/elements/tee.c: (GST_START_TEST):
2522 * tests/check/generic/sinks.c: (GST_START_TEST):
2523 * tests/check/gst/gstbin.c: (GST_START_TEST):
2524 * tests/check/gst/gstevent.c: (GST_START_TEST):
2525 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2526 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2527 * tests/check/gst/gstquery.c: (GST_START_TEST):
2528 * tests/check/gst/gstutils.c: (GST_START_TEST):
2529 * tests/check/libs/basesrc.c: (GST_START_TEST):
2530 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2531 (gst_parse_test_element_change_state):
2532 Don't use gst_element_get_pad().
2534 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
2537 Fix installing plugin documentation when gtk-doc is disabled.
2539 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2541 * docs/manual/advanced-autoplugging.xml:
2542 * docs/manual/basics-helloworld.xml:
2543 * docs/manual/basics-pads.xml:
2544 * docs/manual/highlevel-components.xml:
2545 Avoid using a bad function in the example code.
2547 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
2549 * gst/gstclock.c: (gst_clock_set_calibration):
2550 Fix debug of the new clock rate.
2552 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
2554 * win32/common/libgstbase.def:
2555 Add gst_base_sink_wait_clock() to the exported symbols.
2557 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
2559 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
2561 * libs/gst/base/gstbasetransform.c:
2562 (gst_base_transform_sink_event):
2563 Unref events that the GstBaseTransform::event vfunc didn't want to
2564 have forwarded by the base class. Closes a leak in identity.
2567 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2569 * docs/libs/gstreamer-libs-sections.txt:
2570 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2571 * libs/gst/base/gstbasesink.h:
2572 Expose a method that was previously used internally to synchronize
2573 against the clock because it can be useful for subclasses too.
2574 API: GstBaseSink::gst_base_sink_wait_clock()
2576 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2578 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2579 Add sanity check to make sure we don't get smaller buffers
2580 than requested (and fallback to normal buffer alloc if we do).
2582 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2584 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2585 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2586 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2587 Refactor adjusting the running_time with latency and offset into a
2589 When doing clipping, we still want to use the subclass get_times method,
2590 just in case the DURATION or TIMESTAMP are not set.
2592 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2594 * docs/gst/gstreamer-sections.txt:
2595 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2596 * gst/gsttypefind.h:
2597 * win32/common/libgstreamer.def:
2598 API: add gst_type_find_suggest_simple(), #533740.
2600 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
2602 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2603 Use right error code when typefinding fails, so we can use
2604 the default (translated) error messages.
2606 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
2608 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2609 (gst_base_src_start):
2610 When the subclass did not set caps on outgoing buffers, configure the
2611 caps we negotiated on the source pad.
2612 When the typefind helper does not find caps, error out properly instead
2613 of doing things with NULL caps.
2615 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2617 * gst/gsttypefind.h:
2618 Tabs to spaces, oh yes!
2620 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2622 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2623 Add David's and Benjamin's tests for array intersection to the
2624 unit test suite (#147931).
2626 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
2629 Document that gst_event_new_tag() and gst_event_new_navigation()
2630 take ownership of the taglist/structure passed to them. (#533635).
2632 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
2635 Don't descend into the plugins dir if plugin docs building
2639 Add a note about the new type:GTypeName syntax for the plugin
2640 documentation .types file.
2642 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
2644 * gst/gstmessage.c: (gst_message_new_error),
2645 (gst_message_new_warning), (gst_message_new_info):
2647 Mark the debug string parameters as const. Fixes bug #533490.
2649 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
2651 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2652 Sort buffer cache list by end offsets. This makes sure that we don't
2653 stop to search for a cached buffer that contains the requested data
2655 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2656 more efficient. Fixes bug #459862.
2658 2008-05-14 Stefan Kost <ensonic@users.sf.net>
2661 Explain why we copy the list.
2663 * gst/gstpipeline.c:
2667 Add one debug-log statement to help tracing probelms with linking pads.
2669 2008-05-12 Stefan Kost <ensonic@users.sf.net>
2671 * tests/check/gst/gstinfo.c:
2672 Add a test for removing the default log handler. Seems to fail under
2675 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2677 * gst/gstpad.c: (gst_pad_peer_accept_caps):
2678 Release pad lock before calling out to avoid a possible deadlock.
2680 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
2682 * gst/parse/grammar.y:
2683 Remove unneeded value unset.
2685 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2686 Add unit test for de/serialization of caps.
2688 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2690 * plugins/elements/gstfakesink.c:
2691 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2692 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2693 (gst_fake_src_class_init):
2694 Use custom marshalers that take GstMiniObject as first parameter.
2695 Using OBJECT as parameter while a GstMiniObject is given will lead
2696 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2698 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2700 * plugins/elements/gsttypefindelement.c:
2701 (gst_type_find_element_handle_event),
2702 (gst_type_find_element_send_cached_events),
2703 (gst_type_find_element_change_state):
2704 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
2707 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2709 * plugins/elements/gsttypefindelement.c:
2710 (gst_type_find_handle_src_query), (stop_typefinding),
2711 (gst_type_find_element_handle_event),
2712 (gst_type_find_element_send_cached_events),
2713 (gst_type_find_element_change_state):
2714 Forward FLUSH_START events immediately and clean up instead of
2717 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
2719 Patch by: Sjoerd Simons <sjoerd at luon dot net>
2721 * libs/gst/base/gstbasetransform.c:
2722 (gst_base_transform_buffer_alloc):
2723 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
2724 fall back to default negotiation in the chain function if the caps
2725 are different from what was requested. Fixes bug #526768.
2727 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2730 * tests/check/gst/gstsegment.c:
2731 No, let's not use g_slice_{dup|copy} here, since they only exist
2732 since GLib 2.14 and we still depend only on >= 2.12. Also add
2733 unit test for gst_segment_copy().
2735 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
2737 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
2738 Try to fix 'dereferencing type-punned pointer will break strict
2739 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
2740 changed the default GType typedef from gulong to gsize at some point,
2741 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
2742 g_once_* functions all take a gsize * though, so work around the type
2743 mismatch for C++ by doing everything in gsize and casting to GType
2746 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
2748 * plugins/elements/gstmultiqueue.c:
2749 Add documentation for the signals to push our core plugin docs
2750 coverage back up to 100%.
2752 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2754 * gst/gstinfo.h (GST_FUNCTION):
2755 Reverted GST_FUNCTION to the old version as we don't want the
2756 full signature in C++ code. Also added support for MSVC.
2758 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2761 Intern the type name string, similar to what G_DEFINE_TYPE does.
2763 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2766 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
2768 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
2770 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
2772 * libs/gst/base/gstbasetransform.c:
2773 (gst_base_transform_buffer_alloc):
2774 Don't passthrough buffer allocation too easily if the caps change.
2775 This breaks when working in passthrough mode and upstream changes
2776 it's caps. Fixes bug #526768.
2778 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2780 * gst/gstinfo.c (gst_debug_log_valist):
2781 Improved the __FILE__ part of debug output for MSVC.
2783 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2785 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
2786 Declaration after statement fix for compilers like MSVC.
2788 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2790 * win32/common/config.h.in:
2791 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
2792 use the real thing than having "???" unconditionally.
2794 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
2796 * gst/gstinfo.h (GST_FUNCTION):
2797 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
2799 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2801 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
2804 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2805 (gst_base_sink_set_flushing):
2806 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2809 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
2811 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2812 (gst_fake_src_init), (gst_fake_src_set_property),
2813 (gst_fake_src_get_property), (gst_fake_src_start):
2814 * plugins/elements/gstfakesrc.h:
2815 Added format property to control the format of the newsegment events.
2816 API: GstFakeSrc:format
2818 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2820 * win32/common/libgstreamer.def:
2821 Add gst_pad_has_name() to the exported symbols.
2823 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
2825 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2826 * libs/gst/base/gstbasetransform.c:
2827 (gst_base_transform_prepare_output_buffer):
2828 Don't allow negative sizes when allocating new buffers.
2831 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2833 Patch by: Sjoerd Simons <sjoerd at luon net>
2835 * gst/gstbus.c: (gst_bus_source_dispatch):
2836 Don't print a warning if the queue is empty when we try to pop
2837 here. That could happen if another thread or callback set the
2838 bus to flushing between the source's check/prepare and the
2839 dispatch being called (#531538).
2841 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
2843 * plugins/elements/gstmultiqueue.c:
2846 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
2848 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2849 Add unit test for deserializing uint64s and check some really large
2850 numbers in the int64 test.
2852 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2854 * tools/gst-inspect.c: (n_print), (print_hierarchy),
2855 (print_interfaces), (print_element_properties_info),
2856 (print_signal_info):
2857 Use "%s" as format string instead of printing strings directly.
2859 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
2861 * gst/gstclock.c: (gst_clock_set_calibration):
2862 Make some checks actually useful.
2864 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2865 Remove some unused code. Unsigned integers tend to be >= 0.
2867 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2869 * gst/gstminiobject.c: (gst_value_get_mini_object):
2870 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
2871 function was not in the unscheduled 0.10.19 release.
2873 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2875 * gst/gstregistry.c: (gst_registry_scan_path_level):
2876 Only print one log message per non-plugin file.
2878 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2880 * gst/gstinfo.c: (gst_debug_log_default):
2881 Fix alignment of debug log columns on 64-bit.
2883 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
2885 * docs/libs/Makefile.am:
2886 * docs/libs/gstreamer-libs-sections.txt:
2887 Ignore private controller headers for docs.
2889 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
2891 * libs/gst/controller/gstcontrollerprivate.h:
2892 * libs/gst/controller/gsthelper.c:
2893 * libs/gst/controller/gstinterpolation.c:
2894 * libs/gst/controller/gstinterpolationcontrolsource.c:
2895 (gst_interpolation_control_source_set_interpolation_mode):
2896 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2897 * libs/gst/controller/lib.c:
2898 Move some private declarations into private headers.
2900 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
2902 * gst/gstdebugutils.c: (debug_dump_element_pad):
2903 Remove some code that is unused after Stefan's refactoring and uses
2904 uninitialized variables now, resulting in a compiler warning.
2906 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2908 * gst/gstregistry.c: (gst_registry_scan_path_level):
2909 Run g_str_has_suffix() only on the file name, not the
2912 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2914 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2915 Since we're not called only from the chain function any longer,
2916 we can't assume that there's always data in the queue, so move
2917 the is_full check to the beginning of the loop (otherwise we'd
2918 hit the assert when changing the limit properties while the
2919 queue is empty or not running yet).
2920 Also, only set a discont if items were actually removed from
2923 * tests/check/elements/queue.c: (test_leaky_downstream):
2924 Test case for the above.
2926 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2928 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2930 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2931 (gst_queue_chain), (queue_capacity_change),
2932 (gst_queue_set_property):
2933 When changing thr max capacity of a leaky queue, immediatly drop buffers
2934 instead of waiting for a push on the sinkpad. Fixes #530637.
2936 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2938 * gst/gstdebugutils.c:
2939 Refactor code and fix handling of ghostpads and their proxypads.
2941 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2943 * docs/gst/gstreamer-sections.txt:
2944 * gst/gstevent.c: (gst_event_has_name):
2946 * tests/check/gst/gstevent.c: (GST_START_TEST):
2947 Add method to conveniently check the name of a custom event with
2948 gst_event_has_name().
2949 Reformat the event docs so that related methods are put together instead
2950 of the default alphabetical sort.
2951 Update unit test with new method.
2952 API: GstEvent::gst_event_has_name()
2954 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2956 * libs/gst/check/Makefile.am:
2957 Don't add an explicit link to libgstreamer-0.10.la; it's already
2958 included in GST_OBJ_LIBS.
2960 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2963 Register GstClock type from a type-safe context. Fixes bug #530317.
2965 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2967 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2969 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2971 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2973 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2975 Use the GLib stuff to create a private structure.
2976 Add some locking around some dispose methods to make them a little
2977 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2979 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2981 * libs/gst/base/gstbasesink.h:
2982 * libs/gst/base/gstbasesrc.h:
2983 * libs/gst/base/gstbasetransform.h:
2984 * libs/gst/base/gstcollectpads.h:
2985 Fix doc typos and unify caps a bit.
2987 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2989 * tools/gst-launch.1.in:
2990 Forgot to also add the envvar docs here.
2992 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2994 * gst/gst.c: (init_post), (gst_deinit):
2995 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2996 (test_concurrent_create), (gst_pipeline_suite):
2997 Ref some more classes in gst_init() to work around thread-safety
2998 issues in pre-2.16 GLibs, and add basic unit test.
3000 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
3002 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3003 (gst_base_sink_send_event):
3004 Rearrange the latency query code. We always want to do the upstream
3005 query, even if we are not live so that the upstream elements can get the
3006 latency results too. If we fail doing the query and we are live, we
3007 return TRUE afterwards.
3009 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3011 patch by: Jason Zhao <e3423c@motorola.com>
3013 * docs/gst/running.xml:
3015 Enable/disable scan_and_update_registry() based on commandline switch
3016 or environment variable. Fixes #520468.
3019 Fix typo in my previous commit.
3021 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3023 * gst/gstregistrybinary.c:
3024 Add a warning if we hit unhandled factories when saving.
3025 More debug logging detail, but move to LOG category.
3027 2008-04-24 Stefan Kost <ensonic@users.sf.net>
3029 * gst/gstregistry.c:
3030 Tell the *truth* when improving the documentation.
3032 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
3034 * gst/gstelementfactory.c: (gst_element_factory_make):
3035 Unref the factory after it was used the last time, not before.
3037 * gst/gstindexfactory.c: (gst_index_factory_make):
3038 Improve debugging a bit and don't leak a ref to the index factory with
3041 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3043 * gst/gstregistry.c:
3044 Improve the documentation.
3046 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3049 The glib macro seems to be borked. Use g_slice_copy directly and cast
3050 in the hope that this fixes the warning on 64bit.
3052 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3055 Document the new function. Use g_slice_dup() (no need for
3056 gst_segment_init()).
3058 2008-04-23 Stefan Kost <ensonic@users.sf.net>
3060 * docs/gst/gstreamer-sections.txt:
3061 Move GParamSepc macros to standart section.
3064 Dn't document _get_type - its in private section in docs anyway and
3065 this doc-blob was incomplete.
3068 Fix wrong symbol names in docs.
3071 Add once doc sentence.
3073 * tests/check/gst/.cvsignore:
3076 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3078 * docs/gst/Makefile.am:
3079 And remove those libs here.
3081 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
3083 * docs/libs/Makefile.am:
3084 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3086 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
3088 Patch by: Olivier Crete <tester at tester dot ca>
3090 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3091 Add the min-threshold to the min latency if possible. Fixes #529148.
3093 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3095 * docs/gst/gstreamer.types.in:
3096 Stupid editor, I removed that line as it should go in yet.
3098 2008-04-21 Stefan Kost <ensonic@users.sf.net>
3100 * docs/gst/gstreamer.types.in:
3101 * docs/libs/gstreamer-libs.types:
3102 Remove library types fro core docs and have them in libs docs.
3103 Reformat and cleanup. Add comment for miniobject types.
3105 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
3107 * gst/gsturi.c: (gst_uri_get_protocol):
3108 Fix leak: g_strdown operates on the string in place, while
3109 g_ascii_strdown() returns a newly-allocated string.
3111 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
3113 * tools/gst-inspect.c: (print_uri_handler_info),
3114 (print_element_info):
3115 Print the URI protocols and the URI type supported by the element.
3117 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3119 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3120 Use g_value_take_string() instead of the deprecated
3121 g_value_set_string_take_ownership().
3123 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3125 * gst/gstregistrybinary.c: (_gst_crc32):
3126 Return the old CRC instead of 0 if we give a NULL buffer
3127 or a buffer with a length of 0.
3129 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3131 * gst/gsturi.c: (gst_uri_protocol_check_internal),
3132 (gst_uri_get_protocol), (gst_uri_has_protocol),
3133 (gst_uri_construct), (gst_uri_handler_set_uri):
3134 A valid URI scheme can also include '+', '-' and '.' additional
3135 to alphanumeric characters as per RFC 3986 Section 3.1.
3137 Handle URI schemes case insensitive in all places and convert
3138 to lower-case when constructing an URI or setting an URI with
3139 the GstURIHandler interface. Fixes bug #528868.
3140 All elements can still assume (as before) that they will
3141 get passed URIs with a lower-case URI scheme by the GstURIHandler
3144 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
3146 * gst/gstcaps.c: (gst_static_caps_get):
3147 * gst/gstclock.c: (gst_clock_entry_new):
3148 Don't use g_atomic_set_int where it's not needed.
3150 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
3152 * gst/gstvalue.c: (gst_value_deserialize_caps):
3153 * gst/parse/grammar.y:
3156 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3158 * gst/gstutils.c: (gst_atomic_int_set):
3159 Use g_atomic_int_set() here too instead of assignment +
3162 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
3166 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3167 now that we depend on new enough GLib.
3169 * gst/gstcaps.c: (gst_static_caps_get):
3170 * gst/gstclock.c: (gst_clock_entry_new):
3171 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3172 (gst_debug_set_default_threshold), (_gst_debug_category_new),
3173 (gst_debug_category_set_threshold):
3174 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3175 (gst_base_sink_set_qos_enabled):
3176 * libs/gst/net/gstnettimeprovider.c:
3177 (gst_net_time_provider_set_property):
3178 Use g_atomic_int_set() instead of gst_atomic_int_set().
3180 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3183 Also use G_GINT64_CONSTANT for the queries.
3185 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3188 Use G_GINT64_CONSTANT in varargs function.
3190 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3192 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3193 Initialize the registry magic with zeroes.
3195 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3197 * gst/gstregistrybinary.c: (_gst_crc32),
3198 (gst_registry_binary_write),
3199 (gst_registry_binary_initialize_magic),
3200 (gst_registry_binary_write_cache),
3201 (gst_registry_binary_check_magic),
3202 (gst_registry_binary_read_cache):
3203 * gst/gstregistrybinary.h:
3204 Add crc32 checksum to the binary registry file and check this before
3205 accepting a registry file.
3207 Also free the data list when writing to the registry file fails.
3209 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
3211 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3212 (gst_registry_binary_load_feature),
3213 (gst_registry_binary_load_plugin):
3214 If an element supports the Uri interface, returns a valid pointer
3215 to the supported URI protocols but this pointer contains nothing
3216 don't try to save that as it will corrupt the registry.
3218 Don't unref the plugin if we added it to the registry already but
3219 fail to load a feature as gst_registry_add_plugin() takes ownership
3222 Improve debugging a bit.
3224 2008-04-16 Stefan Kost <ensonic@users.sf.net>
3227 Clarify some tag item docs after discussion on irc.
3229 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3231 * docs/gst/gstreamer-docs.sgml:
3232 Remove commented out plugins (they have their own docs). Update
3235 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3237 * docs/gst/gstreamer-docs.sgml:
3238 * docs/gst/gstreamer-sections.txt:
3239 * gst/gstparamspecs.c:
3240 * gst/gstparamspecs.h:
3241 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3242 docs to own section.
3245 This now only documents GValue.
3247 * docs/libs/gstreamer-libs-sections.txt:
3248 * libs/gst/controller/gstcontroller.h:
3249 Remove GST_PARAM_CONTROLLABLE.
3251 2008-04-15 Stefan Kost <ensonic@users.sf.net>
3254 Correct file path. Tell about how to use -overrides.txt.
3255 * docs/design/draft-tagreading.txt:
3256 Small design update.
3258 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
3260 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3261 (gst_registry_binary_load_plugin):
3262 Fix a typo in a debug message and revert change from yesterday as
3263 gst_registry_add_plugin() will only fail if something is really wrong
3264 already and we can't survive it anyway.
3266 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
3268 * gst/gst.c: (init_post), (gst_deinit):
3269 Pre-register GstGError GType from a thread-safe context
3270 (fixes #527967); unref enum type classes in deinit.
3272 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3274 Patch by: Rene Stadler <mail at renestadler de>
3276 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3277 Merging an empty list with another list in KEEP_ALL mode should
3278 yield an empty list as result and not the second list (#512578).
3280 * tests/check/gst/gsttagsetter.c:
3281 Add unit test for tag merge modes and the aforementioned bug.
3283 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3285 Patch by: Rene Stadler <mail at renestadler de>
3288 Fix description to match the order in the table (#512577).
3290 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
3292 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
3294 * libs/gst/net/gstnettimepacket.h:
3295 * docs/libs/gstreamer-libs-sections.txt:
3296 Define socklen_t as int if it's not defined yet. Fixes compilation
3297 with MSVC6 and other versions where socklen_t is not defined in
3298 the windows headers (#518022).
3300 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
3302 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3303 If gst_registry_add_plugin() fails our reference to the plugin is
3304 invalid so don't try to use it anymore and instead error out.
3306 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
3308 * tools/gst-xmlinspect.c: (print_element_info), (main):
3309 De-cruft a bit. If no argument is specified, print all elements in
3310 XML syntax rather than a freestyle list of elements like gst-inspect.
3311 Also, don't print XML header chunk unless we actually have something
3312 to print (ie. don't print it before an error message); print error
3313 message to stderr not stdout. Remove support for printing plugin
3314 info (it would just output something freestyle along the lines of
3315 gst-inspect so far), which fixes #514507. Also add license header.
3317 2008-04-11 Julien Moutte <julien@fluendo.com>
3320 * configure.ac: Merge platform specific defines, introduce a new
3321 define on OS X to remember that forking when updating registry is
3323 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3325 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3327 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3328 condition that leads to absolutely no plugins being registered on
3331 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3333 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3335 * gst/gstutils.c: (gst_pad_add_data_probe),
3336 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3337 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3338 (gst_pad_add_buffer_probe_full):
3340 * docs/gst/gstreamer-sections.txt:
3341 * win32/common/libgstreamer.def:
3342 Add gst_pad_add_*_probe_full() functions with a notify callback that
3343 lets the caller free the data it passes to the probe functions. This
3344 is useful for bindings such as gst-python or gstreamermm (#526814).
3345 API: gst_pad_add_data_probe_full
3346 API: gst_pad_add_buffer_probe_full
3347 API: gst_pad_add_event_probe_full
3349 * tests/check/gst/gstutils.c:
3350 Add minimal unit test to make sure freeing the data actually works
3353 * tests/benchmarks/.cvsignore:
3354 Random cvsignore addendum.
3356 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
3358 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3359 (GST_DEBUG_BIN_TO_DOT_FILE):
3360 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3361 to it in the docs (since these are macros the types of the arguments
3362 won't be shown in the docs otherwise).
3364 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3367 Do not abort on out of memory for pad_alloc_buffer.
3369 2008-04-10 Stefan Kost <ensonic@users.sf.net>
3371 * libs/gst/check/gstcheck.c:
3372 Remove blank line between symbol name ad parameters to fix gtkdoc
3375 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3377 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3379 * docs/gst/gstreamer-sections.txt:
3382 * win32/common/libgstreamer.def:
3383 Expose gst_segment_copy() to make things easier for the c++ bindings.
3385 API: gst_segment_copy()
3387 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3389 * gst/gst.c: (gst_init_get_option_group), (init_post):
3390 Fix const position; ref GType classes for enum types to work
3391 around thread-safety issues in GLib versions < 2.16.
3393 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
3395 * docs/design/part-buffering.txt:
3396 Fix some typos and set the estimated total for push mode to -1.
3398 * gst/gstquery.c: (gst_query_new_buffering):
3399 Set buffering-left to 0 as we're not buffering by default.
3401 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3402 Implement BUFFERING query.
3404 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3406 Based on patch by: Milosz Derezynski <internalerror gmail com>
3408 * gst/gsterror.c: (_gst_stream_errors_init):
3410 Add two new error codes for encrypted content. Fixes #524659.
3411 API: GST_STREAM_ERROR_DECRYPT
3412 API: GST_STREAM_ERROR_DECRYPT_NOKEY
3414 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
3419 * win32/common/libgstreamer.def:
3422 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
3424 * plugins/elements/gstidentity.c: (gst_identity_event),
3425 (gst_identity_start):
3426 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3427 event after processing some data. Fixes bug #526042.
3429 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3431 * docs/gst/gstreamer-sections.txt:
3432 * gst/gstquery.c: (gst_query_parse_latency),
3433 (gst_query_set_buffering_percent),
3434 (gst_query_parse_buffering_percent),
3435 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3437 Rename _avail -> _range
3438 API: gst_query_set_buffering_range
3439 API: gst_query_parse_buffering_range
3441 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3443 * docs/design/part-buffering.txt:
3446 * gst/gstquery.c: (gst_query_parse_latency),
3447 (gst_query_new_buffering), (gst_query_set_buffering_percent),
3448 (gst_query_parse_buffering_percent):
3450 Add busy field and quark for the buffering query so that the app can
3451 only use the query to see if buffering is in progress.
3453 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3455 * docs/gst/gstreamer-sections.txt:
3456 * gst/gstmessage.c: (gst_message_set_buffering_stats),
3457 (gst_message_parse_buffering_stats):
3459 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3460 (gst_query_parse_latency), (gst_query_new_buffering),
3461 (gst_query_set_buffering_percent),
3462 (gst_query_parse_buffering_percent),
3463 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3464 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3466 Reorder the message docs and headers for clarity.
3467 Add aditional buffering stats API for messages.
3468 Add buffering query.
3469 Convert some leftover queries to use GstQuark.
3470 API: gst_message_set_buffering_stats
3471 API: gst_message_parse_buffering_stats
3472 API: GST_QUERY_BUFFERING
3473 API: GstBufferingMode
3474 API: gst_query_new_buffering
3475 API: gst_query_set_buffering_percent
3476 API: gst_query_parse_buffering_percent
3477 API: gst_query_set_buffering_stats
3478 API: gst_query_parse_buffering_stats
3480 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3482 * gst/gstmessage.c: (gst_message_new_error),
3483 (gst_message_new_warning), (gst_message_new_info),
3484 (gst_message_new_buffering), (gst_message_new_state_changed),
3485 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3486 (gst_message_new_new_clock), (gst_message_new_segment_start),
3487 (gst_message_new_segment_done), (gst_message_new_duration),
3488 (gst_message_new_async_start), (gst_message_parse_buffering),
3489 (gst_message_parse_state_changed),
3490 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3491 (gst_message_parse_new_clock), (gst_message_parse_error),
3492 (gst_message_parse_warning), (gst_message_parse_info),
3493 (gst_message_parse_segment_start),
3494 (gst_message_parse_segment_done), (gst_message_parse_duration),
3495 (gst_message_parse_async_start):
3496 Use GstQuark for messages.
3498 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3500 * gst/gstquark.c: (_priv_gst_quarks_initialize):
3502 Add some more quarks needed for messages and queries.
3504 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
3506 * docs/design/part-buffering.txt:
3507 Remove the "none" buffering mode, STREAM is a good default.
3508 Move estimated-time to the avail query, that's when it will be needed.
3509 Other small typo fixes and updates.
3511 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3513 * gst/gstindex.c: (gst_index_resolver_get_type):
3514 Don't put descriptions into the nick field of a GEnumValue: it's not
3515 meant for that and some language bindings rely on the nick field to
3516 construct constants and the like. Fixes #526705.
3518 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
3523 Merge other changes from 0.10.19 release branch.
3525 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
3527 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3530 Actually build dlls when cross-compiling with mingw32.
3533 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
3535 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3538 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3540 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
3542 * docs/design/draft-latency.txt:
3545 * docs/design/part-buffering.txt:
3546 Update design docs with more buffering ideas.
3548 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
3551 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3553 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3556 Revert part that belongs to the preset patch.
3558 2008-04-03 Stefan Kost <ensonic@users.sf.net>
3561 Add qoutes to the define. Fixes # 525961.
3563 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
3565 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3566 (gst_file_index_load), (gst_file_index_add_id),
3567 (gst_file_index_get_assoc_entry):
3568 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3569 (gst_mem_index_free_id), (gst_mem_index_add_id),
3570 (gst_mem_index_index_format):
3571 Use GSlice when possible.
3573 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
3575 * libs/gst/controller/gstinterpolationcontrolsource.c:
3576 (gst_control_point_free),
3577 (gst_interpolation_control_source_set_internal):
3578 Use GSlice for allocating the control points.
3580 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
3582 * plugins/elements/gsttypefindelement.c:
3583 (gst_type_find_element_class_init),
3584 (gst_type_find_element_set_property),
3585 (gst_type_find_element_get_property),
3586 (gst_type_find_element_activate):
3587 * plugins/elements/gsttypefindelement.h:
3589 Fix pad leak when peer query fails.
3590 We can still typefind when the peer returns -1.
3591 Add property to force caps and bypass typefinding. This will be used in
3595 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3600 * gst/glib-compat-private.h:
3601 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3602 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3603 Unconditionally use GSlice for allocation.
3605 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3606 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3607 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3608 (gst_structure_free):
3609 Use GSlice for allocation.
3611 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
3613 * gst/parse/Makefile.am:
3614 * gst/parse/grammar.tab.pre.c:
3615 * gst/parse/grammar.tab.pre.h:
3616 * gst/parse/lex._gst_parse_yy.pre.c:
3617 Require a new enough flex and bison and remove the parser hacks to use
3618 a pre-regenerated version.
3620 2008-04-01 Julien Moutte <julien@fluendo.com>
3622 patch by: Jason Zhao <E3423C@motorola.com>
3624 * configure.ac: Add a configure switch to disable option parsing
3628 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3631 * gst/gstregistry.c:
3632 MacOS has plugins under .so or under .dylib. Add detection for MacOS
3633 and handle this case.
3636 Add a comment here describing, why we stat each plugin and not try to
3639 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
3641 * libs/gst/base/gstbasetransform.c:
3642 (gst_base_transform_prepare_output_buffer):
3643 Also unset the GAP flag on buffers if we're working inplace but
3644 the element is not GAP-aware.
3646 Mark a comment as FIXME 0.11.
3648 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3651 Fix type in log message and add one to ease seeing how long registry
3652 cache verification takes.
3654 * gst/gstregistry.c:
3655 Only test plugin filenames against G_MODULE_SUFFIX.
3657 2008-03-31 Stefan Kost <ensonic@users.sf.net>
3659 * gst/gstdebugutils.c:
3660 Improve handling ghost/proxy pads.
3662 2008-03-27 Stefan Kost <ensonic@users.sf.net>
3664 * docs/gst/gstreamer-sections.txt:
3667 Expose macro to docs and fix link to it.
3669 2008-03-27 Michael Smith <msmith@fluendo.com>
3671 * libs/gst/dataprotocol/dataprotocol.c:
3672 (gst_dp_packet_from_event_1_0):
3673 When calculating GDP body CRC, use the correct pointer.
3674 Fixes part of #522401.
3676 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3678 Patch by: Mark Nauwelaerts <manauw at skynet be>
3680 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3681 (gst_identity_init), (gst_identity_prepare_output_buffer):
3682 Identity is not always a passthrough element, it can modify the buffer
3683 timestamps when it has a datarate and operates in single-segment mode.
3684 We therefore make it an in_place filter with a custom buffer prepare
3685 function that conditionally makes the input buffer metadata writable
3686 when needed. Fixes #523985.
3688 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3690 Patch by: Mark Nauwelaerts <manauw at skynet be>
3693 * libs/gst/base/gstbasesrc.h:
3694 * libs/gst/base/gstbasetransform.c:
3695 * libs/gst/check/gstcheck.c:
3696 Small documentation fixes. Fixes #523978.
3698 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3700 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3701 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3702 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
3704 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3706 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
3707 (single_queue_underrun_cb):
3708 When trying to make room in the queue, bump the max allowed buffers
3709 bigger than the current amount of buffers in the queue. this fixes some
3710 nasty deadlocks in multiqueue when dynamically changing the limits of
3713 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3715 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3717 * gst/gstcaps.c: (gst_caps_set_simple),
3718 (gst_caps_set_simple_valist), (gst_caps_intersect):
3720 Constify the field gchar * params in set_simple and friends.
3723 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
3725 * gst/gstvalue.c: (gst_value_transform_object_string):
3726 Transform a GstObject to a more meaningfull string that includes the
3727 object type in addition to its name.
3729 2008-03-23 Stefan Kost <ensonic@users.sf.net>
3732 ChangeLog surgery to add bugnumber to commit.
3734 2008-03-23 Rene Stadler <mail@renestadler.de>
3736 * libs/gst/base/gstbasetransform.c:
3737 (gst_base_transform_set_gap_aware): Fix confusing documentation.
3739 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3741 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3742 Rename constant everywhere and don't forget one occurence.
3744 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3746 * gst/gstregistrybinary.c: (gst_registry_binary_write):
3747 Align memory to the pointer size even if the architecture allows
3748 unaligned memory access. Unaligned memory access usually comes with
3749 performance penality.
3751 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
3753 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3754 (gst_registry_binary_check_magic),
3755 (gst_registry_binary_load_pad_template),
3756 (gst_registry_binary_load_feature),
3757 (gst_registry_binary_load_plugin):
3758 Align memory to the pointer size instead of always 32 bit. Fixes
3759 unaligned memory accesses on ia64 and friends.
3761 * gst/gstregistrybinary.h:
3762 Bump binary registry format version for this as it changes the
3763 format on those architectures that don't have unaligned access
3764 and 64 bit pointers.
3766 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3768 * docs/pwg/advanced-dparams.xml:
3769 * docs/pwg/building-props.xml:
3770 * docs/pwg/other-source.xml:
3771 * gst/glib-compat.h:
3772 * gst/gstbin.c: (gst_bin_class_init):
3773 * gst/gstclock.c: (gst_clock_class_init):
3774 * gst/gstindex.c: (gst_index_class_init):
3775 * gst/gstobject.c: (gst_object_class_init):
3776 * gst/gstpad.c: (gst_pad_class_init):
3777 * gst/gstpipeline.c: (gst_pipeline_class_init):
3778 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3779 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3780 * libs/gst/base/gstbasetransform.c:
3781 (gst_base_transform_class_init):
3782 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
3783 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
3784 (_gst_check_fault_handler_sighandler),
3785 (_gst_check_fault_handler_setup), (gst_check_init):
3786 * libs/gst/controller/gstcontroller.c:
3787 (_gst_controller_class_init):
3788 * libs/gst/controller/gstlfocontrolsource.c:
3789 (gst_lfo_control_source_class_init):
3790 * libs/gst/net/gstnetclientclock.c:
3791 (gst_net_client_clock_class_init):
3792 * libs/gst/net/gstnettimeprovider.c:
3793 (gst_net_time_provider_class_init):
3794 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3795 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3796 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3797 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3798 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3799 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3800 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3801 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3802 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
3803 * plugins/elements/gstqueue.c: (gst_queue_class_init):
3804 * plugins/elements/gsttee.c: (gst_tee_class_init):
3805 * plugins/elements/gsttypefindelement.c:
3806 (gst_type_find_element_class_init):
3807 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3808 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
3809 use it everywhere for GParamSpecs that use static strings (i.e. all).
3810 This gives us less memory usage, fewer allocations and thus less
3811 memory defragmentation. Fixes bug #523806.
3813 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3815 * gst/gstminiobject.c: (gst_value_dup_mini_object),
3816 (gst_param_spec_mini_object):
3817 * gst/gstminiobject.h:
3818 * win32/common/libgstreamer.def:
3819 * docs/gst/gstreamer-sections.txt:
3820 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
3821 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
3822 GstParamSpecMiniObject into a public header for this.
3824 This make GstMiniObject a bit more consistent with GObject and makes
3825 it possible to extend the param specs.
3827 gst_value_dup_mini_object is mainly useful for set_property methods.
3831 * tools/gst-inspect.c: (print_element_properties_info):
3832 Print something useful for GstMiniObject properties and not just
3835 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3837 * docs/gst/gstreamer-sections.txt:
3838 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3839 (gst_registry_binary_check_magic):
3840 * gst/gstregistrybinary.h:
3841 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
3842 and add it to the (private part) of the docs to fix the build.
3844 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
3846 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
3847 (gst_registry_binary_check_magic),
3848 (gst_registry_binary_read_cache):
3849 * gst/gstregistrybinary.h:
3850 Don't use GST_MAJORMINOR for the binary registry version. Instead
3851 hardcode a value that must be changed whenever the format changes
3852 in an incompatible way.
3853 Also don't GST_ERROR when there is a version mismatch, just
3854 regenerate the registry silently.
3856 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
3859 Back to development - 0.10.18.1
3861 === release 0.10.18 ===
3863 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
3866 releasing 0.10.18, "So far away"
3868 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
3871 * win32/common/config.h:
3872 0.10.17.4 pre-release
3874 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
3876 Patch by: Ole André Vadla Ravnås
3877 <ole dot andre dot ravnas at tandberg dot com>
3879 * docs/gst/gstreamer-sections.txt:
3880 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
3881 (gst_poll_update_winsock_event_mask),
3882 (gst_poll_prepare_winsock_active_sets),
3883 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
3884 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
3885 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
3886 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3887 (gst_poll_check_ctrl_commands), (gst_poll_wait):
3889 * win32/common/libgstreamer.def:
3890 Add new function gst_poll_fd_ignored() for improved Windows
3892 Various minor fixes and cleanups. See #520808.
3894 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
3896 * gst/gstindex.c: (gst_index_entry_free):
3898 Don't free key strings which we don't own. Fixes crash in
3899 gst_index_entry_free() (#522741).
3901 * tests/check/Makefile.am:
3902 * tests/check/gst/.cvsignore:
3903 * tests/check/gst/gstindex.c: (test_index_entries),
3904 (gst_index_suite), (gst_index):
3905 Add unit test for the above.
3907 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3909 * win32/common/libgstreamer.def:
3910 Remove symbols that were removed recently. Fixes bug #521740.
3912 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3915 * win32/common/config.h:
3916 0.10.17.3 pre-release
3918 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3920 Patch by: Ole André Vadla Ravnås
3921 <ole dot andre dot ravnas at tandberg dot com>
3923 * docs/gst/gstreamer-sections.txt:
3924 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3925 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3926 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3927 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3928 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3929 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3930 (gst_poll_fd_can_write), (gst_poll_wait),
3931 (gst_poll_set_controllable), (gst_poll_restart),
3932 (gst_poll_set_flushing):
3934 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3935 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3936 (gst_net_time_provider_new):
3937 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3938 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3939 * tests/benchmarks/gstpollstress.c: (main):
3940 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3941 Remove GstPollMode from the API, it does not make sense to let the
3942 application control this.
3943 Add support for Win32.
3944 Fix the testsuite. Fixes #520671.
3946 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3948 Patch by: Ole André Vadla Ravnås
3949 <ole dot andre dot ravnas at tandberg dot com>
3951 * gst/gstregistrybinary.c:
3952 Include io.h for write() and close() when building with MSVC. Fixes
3955 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3958 * gst/gst_private.h:
3959 * gst/gstconfig.h.in:
3960 * gst/gstregistry.h:
3961 * gst/gstregistrybinary.c:
3962 * win32/common/gstconfig.h:
3963 Move registry backend API to private headers where we can. Add
3964 fixme-0.11 comments for the others. Add stubs for the xml backend when
3965 using the binary to ensure they functions exists (they should not be
3966 used though). Fixes #520756.
3968 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3971 * win32/common/config.h:
3974 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3976 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3977 (gst_registry_binary_read_cache):
3978 * gst/gstregistryxml.c: (gst_registry_save):
3979 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3980 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3981 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3982 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3983 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3986 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3988 * gst/gstminiobject.c:
3989 Import gst_private.h before any other header that might include other
3990 glib headers. This fixes the build on windows using native compilers.
3992 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3994 * win32/common/gstconfig.h:
3995 Add here too, just for completeness.
3997 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
4000 * gst/gstconfig.h.in:
4001 * gst/gstregistry.h:
4002 Fix broken use of config.h-defined preprocessor directive in a public
4003 header file. Add a corresponding define to gstconfig.h, since we can't
4004 really remove those function declarations from the header file now
4005 (or can we? and why are they there in the first place?).
4007 2008-03-03 Andy Wingo <wingo@pobox.com>
4009 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4012 * gst/gststructure.c (gst_structure_from_string): Warn if
4013 structure_from_string didn't consume the whole string, but the
4014 caller did not provide an end pointer.
4016 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
4018 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4020 * gst/gstregistryxml.c: (read_string), (load_feature):
4021 Strings allocated by libxml2 should be freed with xmlFree(), not
4022 with g_free(). Fixes issues on windows in certain contexts (#519698).
4024 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
4026 * gst/gstinterface.c: (gst_element_implements_interface):
4027 Don't crash if the element supports the interface queried, but does
4028 not implement GstImplementsInterface. Fixes #519584.
4030 * tests/check/Makefile.am:
4031 * tests/check/gst/.cvsignore:
4032 * tests/check/gst/gstinterface.c:
4033 Add unit test for the above.
4035 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4037 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4040 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4042 * gst/gstsegment.c: (gst_segment_set_seek),
4043 (gst_segment_to_stream_time):
4044 Improve some comment.
4045 Update variables where it makes more sense.
4047 2008-02-29 Rene Stadler <mail@renestadler.de>
4049 * gst/gsturi.c: (gst_uri_handler_get_protocols):
4050 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
4051 URIHandlers implemented using language bindings.
4053 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4055 * gst/gstelementfactory.h:
4056 * tests/check/elements/fakesink.c:
4057 * tests/check/elements/fakesrc.c: (setup_fakesrc):
4058 * tests/check/elements/fdsrc.c: (setup_fdsrc):
4059 * tests/check/elements/filesink.c: (setup_filesink):
4060 * tests/check/elements/filesrc.c: (setup_filesrc):
4061 * tests/check/elements/identity.c: (setup_identity):
4062 * tests/check/elements/tee.c:
4063 * tests/check/generic/sinks.c:
4064 * tests/check/generic/states.c: (setup), (teardown):
4065 * tests/check/gst/gst.c:
4066 * tests/check/gst/gstabi.c:
4067 * tests/check/gst/gstbin.c:
4068 * tests/check/gst/gstbus.c: (pull_messages):
4069 * tests/check/gst/gstcaps.c:
4070 * tests/check/gst/gstelement.c:
4071 * tests/check/gst/gstevent.c:
4072 * tests/check/gst/gstghostpad.c:
4073 * tests/check/gst/gstiterator.c:
4074 * tests/check/gst/gstmessage.c:
4075 * tests/check/gst/gstminiobject.c: (my_foo_init):
4076 * tests/check/gst/gstobject.c: (thread_name_object),
4078 * tests/check/gst/gstpad.c:
4079 * tests/check/gst/gstplugin.c:
4080 * tests/check/gst/gstpoll.c:
4081 * tests/check/gst/gstquery.c:
4082 * tests/check/gst/gstsegment.c:
4083 * tests/check/gst/gststructure.c:
4084 * tests/check/gst/gstsystemclock.c:
4085 * tests/check/gst/gsttask.c:
4086 * tests/check/gst/gstutils.c:
4087 * tests/check/gst/gstvalue.c:
4088 * tests/check/gst/struct_hppa.h:
4089 * tests/check/gst/struct_i386.h:
4090 * tests/check/gst/struct_ppc32.h:
4091 * tests/check/gst/struct_ppc64.h:
4092 * tests/check/gst/struct_x86_64.h:
4093 * tests/check/libs/adapter.c: (create_and_fill_adapter):
4094 * tests/check/libs/basesrc.c:
4095 * tests/check/libs/controller.c: (GST_START_TEST):
4096 * tests/check/libs/gdp.c:
4097 * tests/check/libs/gstnetclientclock.c:
4098 * tests/check/libs/gstnettimeprovider.c:
4099 * tests/check/libs/libsabi.c:
4100 * tests/check/libs/struct_hppa.h:
4101 * tests/check/libs/struct_i386.h:
4102 * tests/check/libs/struct_ppc32.h:
4103 * tests/check/libs/struct_ppc64.h:
4104 * tests/check/libs/struct_x86_64.h:
4105 * tests/check/pipelines/cleanup.c:
4106 * tests/check/pipelines/simple-launch-lines.c:
4107 * tests/check/pipelines/stress.c:
4108 And correct even more valid sparse warnings.
4110 * win32/common/libgstreamer.def:
4111 Add gst_poll_fd_init to the list of symbols.
4113 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4115 * gst/gstconfig.h.in:
4116 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4117 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4118 (gst_check_log_critical_func), (gst_check_drop_buffers),
4119 (gst_check_element_push_buffer_list):
4120 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4121 (gst_controller_get_type):
4122 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4123 (gst_object_get_controller), (gst_object_get_control_source):
4124 * libs/gst/controller/gstinterpolationcontrolsource.c:
4125 (gst_interpolation_control_source_new):
4126 * libs/gst/controller/gstlfocontrolsource.c:
4127 (gst_lfo_control_source_new):
4128 * libs/gst/dataprotocol/dataprotocol.c:
4129 (gst_dp_event_from_packet_0_2):
4130 * plugins/elements/gstfdsrc.c:
4131 * plugins/elements/gstmultiqueue.c:
4132 * plugins/elements/gsttee.c:
4133 * plugins/elements/gsttypefindelement.c:
4134 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4135 (gst_file_index_add_association):
4136 * plugins/indexers/gstmemindex.c:
4137 * tests/benchmarks/gstpollstress.c: (mess_some_more):
4138 * tests/check/elements/queue.c: (setup_queue):
4139 * tests/check/gst/gstpipeline.c:
4140 * tests/check/libs/collectpads.c: (setup), (teardown),
4141 (gst_collect_pads_suite):
4142 * tests/examples/adapter/adapter_test.c:
4143 * tests/examples/metadata/read-metadata.c: (make_pipeline):
4144 * tests/examples/xml/createxml.c:
4145 * tests/examples/xml/runxml.c:
4146 * tools/gst-inspect.c:
4148 Correct all relevant warnings found by the sparse semantic code
4149 analyzer. This include marking several symbols static, using
4150 NULL instead of 0 for pointers, not using variable sized arrays
4151 on the stack, moving variable declarations to the beginning of
4152 a block and using "foo (void)" instead of "foo ()" for declarations.
4154 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
4156 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4157 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4158 Don't reset GstPollFDs, this is not necessary at all.
4160 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4161 (delayed_restart), (delayed_control):
4162 Use GST_POLL_FD_INIT.
4164 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4166 * gst/gstpoll.c: (gst_poll_fd_init):
4170 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4171 Use some more init macros.
4173 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4175 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4176 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4177 Use init macros and functions.
4179 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
4181 * docs/gst/gstreamer-sections.txt:
4182 * gst/gstpoll.c: (gst_poll_fd_init):
4184 Add INIT macro and _init method for initializing the GstPollFD.
4186 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
4188 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4189 (gst_fd_sink_update_fd):
4190 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4191 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4192 (delayed_restart), (delayed_control):
4193 Initialize some uninitialized variables as spotted by valgrind.
4195 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4197 * tests/benchmarks/Makefile.am:
4198 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4200 Add poll stress test.
4202 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
4204 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4206 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4207 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4208 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4209 * plugins/elements/gstfdsink.h:
4210 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4211 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4212 (gst_fd_src_unlock_stop), (gst_fd_src_create),
4213 (gst_fd_src_uri_set_uri):
4214 * plugins/elements/gstfdsrc.h:
4215 Port to GstPoll. See #505417.
4217 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
4219 * win32/common/libgstreamer.def:
4220 Add new gst_poll_ symbols to win32 defs.
4222 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4224 * docs/libs/gstreamer-libs-sections.txt:
4225 * libs/gst/net/gstnetclientclock.c:
4226 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4227 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4228 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4229 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4230 * libs/gst/net/gstnetclientclock.h:
4231 * libs/gst/net/gstnettimeprovider.c:
4232 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4233 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4234 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4235 (gst_net_time_provider_new):
4236 * libs/gst/net/gstnettimeprovider.h:
4237 Use a private stuct to not break ABI.
4239 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4241 Patch by: Peter Kjellerstedt <pkj at axis dot com>
4243 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4244 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4245 (gst_net_client_clock_thread), (gst_net_client_clock_start),
4246 (gst_net_client_clock_stop), (gst_net_client_clock_new):
4247 * libs/gst/net/gstnetclientclock.h:
4248 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4249 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4250 (gst_net_time_provider_start), (gst_net_time_provider_stop),
4251 (gst_net_time_provider_new):
4252 * libs/gst/net/gstnettimeprovider.h:
4253 Massive code removal and cleanups because of GstPoll.
4256 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
4259 Add checks for poll, ppoll and pselect.
4261 * docs/gst/gstreamer-docs.sgml:
4262 * docs/gst/gstreamer-sections.txt:
4263 Add docs for GstPoll.
4267 * gst/gstpoll.c: (find_index), (selectable_fds),
4268 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4269 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4270 (gst_poll_set_mode), (gst_poll_get_mode),
4271 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4272 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4273 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4274 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4275 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4276 (gst_poll_fd_can_write), (gst_poll_wait),
4277 (gst_poll_set_controllable), (gst_poll_restart),
4278 (gst_poll_set_flushing):
4280 Add generic poll abstraction. We ideally don't want to have this in core
4281 here but in glib intead...
4282 This code will be used in various network elements and ultimately for
4283 the nanosecond precision monotonic clock (that's why it's here in core).
4284 It'll allow us to implement cancelable socket operations for windows too.
4286 * tests/check/Makefile.am:
4287 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4288 (delayed_stop), (delayed_restart), (delayed_flush),
4289 (delayed_control), (gst_poll_suite):
4290 Add GstPoll unit test.
4292 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
4295 Improve documentation of gst_filter_run(). Fixes #518627.
4297 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
4300 Add a few lines about the new 'check-inspected-versions' target.
4302 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4304 * tests/check/gst/gstevent.c:
4305 Add qos to the event test. Rename tcase/tsuite; is not only about
4308 2008-02-21 Stefan Kost <ensonic@users.sf.net>
4310 * plugins/elements/gstqueue.c:
4311 Ensure that buffer metadata is writeable, before modifying. Spotted by
4314 2008-02-20 Stefan Kost <ensonic@users.sf.net>
4316 * plugins/elements/gstqueue.c:
4317 * plugins/elements/gstqueue.h:
4318 When dropping buffers in leaky modes, mark next buffers we sent as
4321 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4323 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4324 Also, if mmap() fails that would be a READ error, not OPEN_READ.
4326 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
4328 * plugins/elements/Makefile.am:
4329 * plugins/elements/gstbufferstore.c:
4330 * plugins/elements/gstbufferstore.h:
4331 * plugins/elements/gsttypefindelement.h:
4332 Remove GstBufferStore, no idea why we were still building it.
4333 It's not used anywhere and superseded by GstAdapter.
4335 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4336 (gst_file_src_create_mmap):
4337 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4338 Printf format fixes for 64-bit integers.
4340 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4343 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4344 We're not in 0.8 times anymore.
4346 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
4348 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4349 (gst_check_element_push_buffer_list):
4350 * libs/gst/check/gstcheck.h:
4351 Make the declaration in the header for
4352 gst_check_element_push_buffer_list match the implementation.
4354 Fix up spelling, grammar and wording of the documentation in a few
4355 places, and add the Since keyword to new API functions.
4356 Use g_list_delete_link instead of g_list_remove in
4357 gst_check_drop_buffers, since it's immeasurably more efficient.
4359 * tests/check/elements/fakesrc.c: (GST_START_TEST):
4360 Use new gst_check_drop_buffers function where appropriate.
4362 * win32/common/libgstbase.def:
4363 * win32/common/libgstreamer.def:
4364 Add new symbols gst_collect_pads_take_buffer,
4365 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4368 Changelog surgery to add API keyword to new gst_check API.
4370 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4372 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4373 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4374 Update pre-generated flex files with flex 2.3.34.
4376 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
4378 * gst/gstminiobject.c:
4379 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4380 friendly to subclasses and not require them to know all internals
4381 of their parent class.
4383 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4385 * docs/libs/gstreamer-libs-sections.txt:
4386 * libs/gst/base/gstcollectpads.c:
4387 * libs/gst/base/gstcollectpads.h:
4388 Add sub-buffer functions to collectpads. Fixes #516187.
4389 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4391 2008-02-15 Stefan Kost <ensonic@users.sf.net>
4394 Copy selected buffer-flags when creating subbuffers.
4397 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
4399 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4400 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4401 * gst/gstmessage.c: (gst_message_class_init),
4402 (gst_message_finalize):
4403 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4404 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4405 (gst_mmap_buffer_finalize):
4406 Properly chain up finalize functions to the parent class.
4408 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
4410 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4412 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4413 (gst_index_set_resolver_full):
4415 Add new function with option to dispose of user_data in resolver.
4416 Actually call the dispose function when finalizing the object and not
4417 just when changing the resolver/filter.
4418 API: GstIndex::gst_index_set_resolver_full()
4420 * docs/gst/gstreamer-sections.txt:
4421 Add new function to docs. Fixes #515469.
4423 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
4425 * gst/gstindex.c: (gst_index_finalize):
4426 Chain up finalize to the parent class. Fixes leaking the GstObject
4427 name and other things.
4429 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
4432 Make DISABLE_DEPRECATED defined *only* during CVS, not during
4433 pre-releases or releases.
4435 * docs/faq/gst-uninstalled:
4438 * docs/random/release:
4439 Change one of the steps - we only upload core & base to Gnome FTP
4441 2008-02-06 Stefan Kost <ensonic@users.sf.net>
4443 * gst/gstconfig.h.in:
4444 Add 'id' for example.
4448 * plugins/elements/gstfdsink.c:
4449 Link to signals. Doc and comment fixes.
4451 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
4453 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4454 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4455 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4456 unused and unimplemented; finally, it is plugin features, not
4457 plugins, that have ranks.
4459 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4461 * gst/gstpluginfeature.h:
4462 Clarify GstRank range docs.
4464 2008-02-05 David Schleef <ds@schleef.org>
4466 * gst/gst.c: Add a separate gst_deinitialized that prevents
4467 gst_init() from being called after gst_deinit(). Fixes #509559
4469 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4471 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4472 (gst_bin_class_init):
4473 * gst/gstelement.c: (gst_element_base_class_init),
4474 (gst_element_class_add_pad_template):
4475 * gst/gstpadtemplate.c: (gst_pad_template_init):
4476 * gst/gstpipeline.c: (gst_pipeline_get_type),
4477 (gst_pipeline_base_init), (gst_pipeline_class_init):
4478 * libs/gst/base/gstbasesink.c:
4479 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4480 (gst_base_src_base_init), (gst_base_src_class_init):
4481 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4482 (gst_capsfilter_class_init):
4483 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4484 (gst_fake_sink_class_init):
4485 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4486 (gst_fake_src_class_init):
4487 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4488 (gst_fd_sink_class_init):
4489 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4490 (gst_fd_src_class_init):
4491 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4492 (gst_file_sink_class_init):
4493 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4494 (gst_file_src_class_init):
4495 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4496 (gst_identity_class_init):
4497 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4498 (gst_multi_queue_class_init):
4499 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4500 (gst_queue_class_init):
4501 * plugins/elements/gsttee.c: (gst_tee_base_init),
4502 (gst_tee_class_init):
4503 * plugins/elements/gsttypefindelement.c:
4504 (gst_type_find_element_base_init),
4505 (gst_type_find_element_class_init):
4506 * tests/check/gst/gstelement.c: (gst_element_suite):
4507 Revert previous changes to the behaviour of GstPadTemplates, etc
4508 and the possiblity to call them in class_init as it breaks too
4509 many elements. Reopens bug #491501.
4511 Should be applied again for 0.11, thus added a few FIXME 0.11 at
4514 2008-02-05 Stefan Kost <ensonic@users.sf.net>
4516 * tools/gst-launch.c:
4517 Dump one graph per pipeline state-change and state change name
4518 (if GST_DEBUG_DUMP_DOT_DIR is set).
4520 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
4523 * tests/check/gst/gstpad.c:
4524 Be sure that we have a new copy of the caps and not
4525 reffed caps from a template
4527 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4529 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4530 * gst/gstpipeline.c: (gst_pipeline_get_type),
4531 (gst_pipeline_class_init):
4532 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4533 (gst_base_sink_class_init):
4534 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4535 (gst_base_src_class_init):
4536 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4537 (gst_base_transform_class_init):
4538 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4539 (gst_collect_pads_class_init):
4540 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4541 * libs/gst/net/gstnettimeprovider.c:
4542 (gst_net_time_provider_base_init),
4543 (gst_net_time_provider_class_init):
4544 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4545 (gst_capsfilter_class_init):
4546 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4547 (gst_fake_sink_class_init):
4548 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4549 (gst_fake_src_class_init):
4550 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4551 (gst_fd_sink_class_init):
4552 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4553 (gst_fd_src_class_init):
4554 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4555 (gst_file_sink_class_init):
4556 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4557 (gst_file_src_class_init):
4558 * plugins/elements/gstidentity.c: (gst_identity_base_init),
4559 (gst_identity_class_init):
4560 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4561 (gst_multi_queue_class_init):
4562 * plugins/elements/gstqueue.c: (gst_queue_base_init),
4563 (gst_queue_class_init):
4564 * plugins/elements/gsttee.c: (gst_tee_base_init),
4565 (gst_tee_class_init):
4566 * plugins/elements/gsttypefindelement.c:
4567 (gst_type_find_element_base_init),
4568 (gst_type_find_element_class_init):
4569 Don't use base_init where not absolutely necessary. For example it's
4570 not necessary anymore for adding pad templates or setting element
4573 Leave empty base_init functions in several places as GST_BOILERPLATE
4574 still defines and uses them.
4576 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
4578 * gst/gstelement.c: (gst_element_base_class_init),
4579 (gst_element_class_add_pad_template):
4580 * gst/gstpadtemplate.c:
4581 Make it possible (and recommended) to set element details and add
4582 pad templates in the class_init functions by copying the details/pad
4583 templates in GstElement's base_init.
4585 Also make it possible to replace existing pad templates by adding
4586 a new one with the same name. This was done in a hackish fashion
4587 in same elements before already.
4589 Don't reference pad templates that are added a second time. A
4590 new pad template has a refcount of one and is not floating anymore
4591 and to be owned by the element's class. Make this more explicit by
4592 mentioning it in the docs of gst_element_class_add_pad_template().
4594 These changes are backwards compatible. Fixes bug #491501.
4596 * tests/check/gst/gstelement.c:
4597 Add unit test for setting element details, adding pad templates and
4598 replacing them in a subclass.
4600 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4602 * tools/gst-inspect.c: (print_interfaces),
4603 (print_element_properties_info), (print_pad_info),
4604 (print_signal_info), (print_element_info):
4605 Fix a few memory leaks.
4607 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4609 * docs/libs/gstreamer-libs-sections.txt:
4610 * libs/gst/check/gstcheck.c:
4611 * libs/gst/check/gstcheck.h:
4612 Add more functions for unit testing: gst_check_drop_buffers,
4613 gst_check_caps_equal, gst_check_element_push_buffer_list,
4614 gst_check_element_push_buffer
4615 API: gst_check_drop_buffers
4616 API: gst_check_caps_equal
4617 API: gst_check_element_push_buffer_list
4618 API: gst_check_element_push_buffer
4620 2008-02-01 Julien Moutte <julien@fluendo.com>
4622 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4623 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4624 (gst_index_finalize), (gst_index_entry_free),
4625 (gst_index_add_association): Fix memory leaks.
4626 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4627 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4628 (gst_mem_index_free_format), (gst_mem_index_free_id),
4629 (gst_mem_index_finalize): Fix memory leaks.
4630 * win32/common/config.h: Updated to CVS HEAD.
4632 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4635 Some more details about how the plugin docs works.
4637 * docs/plugins/gstreamer-plugins-sections.txt:
4640 2008-02-01 Stefan Kost <ensonic@users.sf.net>
4642 * gst/parse/grammar.tab.pre.c:
4643 * gst/parse/grammar.tab.pre.h:
4644 * gst/parse/grammar.y:
4645 * gst/parse/lex._gst_parse_yy.pre.c:
4646 Add delayed set-property. This allows to set properties on dynamicaly
4647 created objects (pads in videomxer). Fixes #509391.
4649 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
4652 Check if caps are not NULL (fix bug #510194)
4654 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4656 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4657 (gst_base_sink_get_position_paused):
4658 Add fixme regarding EOS in pull mode.
4659 Fix position reporting in PAUSED for negative rates.
4661 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4663 * gst/gstminiobject.c: (gst_mini_object_replace):
4664 When replacing a miniobject, do a quick equality check first so that we
4665 can avoid a ref/unref pair.
4667 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
4669 * docs/design/part-synchronisation.txt:
4672 * docs/plugins/Makefile.am:
4673 * docs/plugins/gstreamer-plugins-docs.sgml:
4674 * docs/plugins/gstreamer-plugins-sections.txt:
4675 * plugins/elements/gstmultiqueue.c:
4676 Add multiqueue to the docs.
4678 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4683 === release 0.10.17 ===
4685 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4688 releasing 0.10.17, "Due Negligence"
4690 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4693 Revert caps != NULL check temporarily for 0.10.17 release.
4695 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
4698 Check if caps are not NULL (fix bug #510194)
4700 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4703 Fix compilation on systems that have posix timers but no
4706 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
4709 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
4711 * tools/gst-inspect.c:
4712 Revert previous commit in preparation for an impromptu 0.10.17 release
4714 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
4716 * tools/gst-inspect.c: (print_interfaces),
4717 (print_element_properties_info), (print_pad_info),
4718 (print_signal_info), (print_element_info):
4719 Fix a few memory leaks.
4721 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
4726 === release 0.10.16 ===
4728 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
4731 releasing 0.10.16, "Special Dispensation"
4733 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
4736 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
4737 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
4738 not fail when trying to crosscompile on OpenEmbedded (#511750).
4740 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
4743 Use $(MAKE) instead of make to fix the build if GNU make is
4744 called different. Fixes bug #510747.
4746 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
4748 * gst/gstplugin.c: (_gst_plugin_initialize):
4749 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
4750 again, which I broke two commits ago when changing the API
4751 of gst_plugin_register_static(): the g_list_foreach() in
4752 _gst_plugin_register_static still assumed the old function
4753 signature and would therefore fail (re-fixes #510187).
4755 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
4756 (_gst_plugin_register_static), (gst_plugin_register_static):
4757 Revert the (technically correct) change to call g_thread_init() from
4758 the pre-main() constructor. This will break programs which call
4759 g_thread_init() without an if (!g_thread_supported()) guard in their
4760 main function. We could just blame it on GLib or the application, but
4761 it's probably best to just avoid this altogether and simply not use
4762 any GLib functions here and use plain old malloc() with a simple
4763 array to store the plugins to register later when gst_init() is
4764 finally called (re-fixes #510187).
4766 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
4767 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
4768 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
4769 (GST_START_TEST), (gst_plugin_suite):
4770 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
4773 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4775 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4776 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
4777 This makes gtk-doc complain, but results in slightly better
4778 compiler errors. The old _gst_plugin_register_static() is
4779 still guarded, so there'll be a compiler warning about that
4780 instead. Fixes #510187 too.
4782 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
4784 * gst/gst.c: (init_post):
4785 * gst/gstplugin.c: (_gst_plugin_register_static),
4786 (gst_plugin_register_static), (_gst_plugin_initialize):
4787 * gst/gstplugin.h: (GstPluginFilter):
4788 Change API of gst_plugin_register_static() to not take
4789 a GstPluginDesc, but rather just take all the arguments
4790 in a GstPluginDesc directly. This is more intuitive and
4791 avoids certain mistakes when porting code from
4792 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
4795 * tests/check/gst/gstplugin.c:
4796 Fix up for changed API.
4798 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
4800 * docs/faq/legal.xml:
4801 Update FAQ, Totem actually has an exception these days.
4803 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
4805 * win32/common/libgstreamer.def:
4806 Add new API declarations
4808 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4810 * gst/gstminiobject.c:
4811 Spelling fixes for the API docs.
4813 2008-01-14 Stefan Kost <ensonic@users.sf.net>
4815 * libs/gst/base/gstbasetransform.c:
4816 Fix long property description for QoS.
4818 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
4821 _gst_trace_on is already provided by gsttrace.h, no need to declare
4824 * docs/libs/gstreamer-libs-sections.txt:
4825 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
4826 and remove strange tcase_add_test which is outputting a warning.
4828 * libs/gst/check/gstcheck.c:
4829 * libs/gst/check/gstcheck.h:
4830 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
4831 and define them in gstcheck.c instead of having every .c file whcih
4832 includes gstcheck.h be defining its own copy and relying on symbol
4833 interposing to marry them all, which doesn't work on Solaris.
4835 * tests/check/elements/identity.c: (GST_START_TEST):
4836 Don't define 'buffers' locally, it comes from libgstcheck.
4838 * tests/check/generic/sinks.c: (send_buffer):
4839 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
4841 * tests/check/gst/gststructure.c: (GST_START_TEST):
4842 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
4843 * tests/check/gst/gstutils.c: (GST_START_TEST):
4844 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4845 Add a bunch of casts to make various constants fit the types
4846 they're being assigned to.
4848 2008-01-10 Stefan Kost <ensonic@users.sf.net>
4850 * gst/gstchildproxy.c:
4851 Improve docs and add some ideas for making this more general-purpose.
4853 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
4855 * gst/gst_private.h: (GST_CAT_TYPES):
4856 Add GST_CAT_TYPES, for consistency, and so that the other
4857 debug categories don't make fun of it. Spotted by Saur on IRC.
4859 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4861 * gst/parse/Makefile.am:
4862 Move types.h from EXTRA_DIST to noinst_HEADERS.
4864 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
4867 Add -Wno-portability to the automake parameters to stop warnings
4868 about GNU make extensions being used. We require GNU make in almost
4869 every Makefile anyway.
4872 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
4873 at the same time is required for per target flags.
4875 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4878 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
4879 __GNUC__ is defined before using it.
4881 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4883 * docs/gst/gstreamer-sections.txt:
4884 * gst/gst.c: (init_post):
4885 * gst/gstplugin.c: (_gst_plugin_register_static),
4886 (gst_plugin_register_static), (_gst_plugin_initialize),
4887 (gst_plugin_register_func):
4888 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
4889 API: add gst_plugin_register_static() and deprecate
4890 GST_PLUGIN_DEFINE_STATIC, since it's not portable
4892 Also, in _gst_plugin_register_static(), make sure to call
4893 g_thread_init() before calling GLib functions such as
4894 g_list_append() if we're not initialised yet, since that
4895 may lead to random crashes with older GSlice/GLib versions.
4897 * tests/check/gst/gstplugin.c:
4898 Adapt unit test to above changes.
4900 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4902 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
4903 * gst/gstcaps.c: (gst_caps_to_string):
4904 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4905 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4906 Yet another gratuitous GString micro-optimisation: add a (private)
4907 function that serialises a structure appending to an existing
4908 GString, so that when we serialise caps we don't need to alloc+free
4909 a throwaway GString for each structure (each of which also entailing
4910 multiple reallocs on the way); also use g_string_sized_new() in
4911 various places with an approximate string length to avoid reallocs
4912 within GString. See #500143.
4914 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4916 * gst/gststructure.c: (gst_structure_id_set_value):
4917 Always check UTF-8 conformance of structure strings and not only
4918 if the debugging system is enabled; reasoning: the behaviour of
4919 the actual code shouldn't really change depending on whether the
4920 debugging system is enabled or not (#508291).
4922 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4925 Remove old coverage target in favour of "make lcov".
4927 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4929 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4930 (gst_base_src_loop):
4931 The start segment for reverse playback goes from start to last_stop.
4933 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4935 Patch by: Peter Kjellerstedt <pkj axis com>
4938 Cast the results from the timeval/spec_to_time macros to what the
4939 docs say it casts to, a GstClockTime. fixes #508175.
4941 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4944 Update some comments.
4946 * tools/gst-inspect.c: (print_element_properties_info):
4947 Improve printing of flags.
4949 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4951 * libs/gst/base/gstbasetransform.c:
4952 (gst_base_transform_transform_size):
4953 Print element name with g_warning() if there's a problem
4956 2008-01-07 David Schleef <ds@schleef.org>
4958 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4960 * libs/gst/controller/gstcontroller.h:
4961 * libs/gst/controller/gstcontrolsource.h:
4962 * libs/gst/controller/gstinterpolationcontrolsource.h:
4963 * libs/gst/controller/gstlfocontrolsource.h:
4964 * libs/gst/dataprotocol/dataprotocol.h:
4965 Fix empty prototypes. Fixes bug #507957.
4967 2008-01-07 David Schleef <ds@schleef.org>
4969 * docs/faq/dependencies.xml: Fix typo.
4971 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4973 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4974 (gst_base_src_loop):
4975 Don't update the last_stop position in do_seek, that's the position we
4977 Read backwards when we have a negative rate.
4979 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4980 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4982 Add check for reverse reading.
4984 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4986 Patch by: Alexis Ballier <aballier at gentoo org>
4988 * tests/check/gst/gstabi.c:
4989 * tests/check/gst/struct_ppc64.h:
4990 * tests/check/libs/libsabi.c:
4991 * tests/check/libs/struct_ppc64.h:
4992 Decide which header to include based on the userland ABI target
4993 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4994 for 64-bit userland (#503590). Might need something similar for
4997 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4999 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5000 Log the reason why fopen fails in addition to the fact that it failed.
5002 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
5004 * gst/parse/parse.l:
5005 Use "%option never-interactive" to prevent useless calls to isatty()
5006 on every input when parsing. Also use "%option noinput" to not define
5007 the static input/yyinput functions which we don't use anyway. This
5008 removes a compiler warning with gcc 4.3 and saves some bytes in the
5011 * gst/parse/lex._gst_parse_yy.pre.c:
5012 Regenerated for the above change.
5014 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
5016 * gst/gstpad.c: (fixate_value):
5017 Don't crash when trying to fixate and empty list.
5020 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
5022 * docs/faq/gst-uninstalled:
5023 Clarify the comments to make the usage of this script and what it
5024 does easier to understand.
5026 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
5028 * tools/gst-plot-timeline.py:
5029 Add more options to gst-plot-timeline
5031 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
5033 * docs/design/part-synchronisation.txt:
5034 Some more info on how the stream_time in GstBaseSink is done.
5036 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
5038 * tests/check/generic/sinks.c: (gst_sinks_suite):
5039 Put back the tcase_set_timeout(), apparently it's needed after
5040 all; fix it up in a way that makes things work with valgrind too.
5042 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
5044 * gst/gstdebugutils.c:
5045 Add warning when failed to open file for writing.
5047 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5049 Based on patch by: Laurent Glayal <spglegle yahoo fr>
5051 * gst/gstvalue.c: (gst_value_is_fixed):
5052 Optimisation: bail out of the loop as early as possible (#500143).
5054 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5056 * gst/gstcaps.c: (gst_caps_to_string):
5057 * gst/gstinfo.c: (gst_debug_construct_term_color):
5058 * gst/gstparse.c: (gst_parse_launchv):
5059 * gst/gstutils.c: (gst_util_dump_mem):
5060 * gst/gstvalue.c: (gst_value_serialize_any_list),
5061 (gst_value_transform_any_list_string):
5062 Bunch of gratuitous nano-optimisations.
5064 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
5066 * tests/check/generic/sinks.c: (async_done_func),
5067 (async_done_eos_func):
5068 Fix leak in unit test (bus sync handler must unref the message
5069 if it returns GST_BUS_DROP). Don't fiddle with the default test
5070 timeout, this is smaller than the current preconfigured value
5071 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5072 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5074 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5076 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5079 Check for stdio_ext.h for the filesink changes.
5081 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5082 (gst_file_sink_class_init), (gst_file_sink_init),
5083 (gst_file_sink_dispose), (gst_file_sink_set_property),
5084 (gst_file_sink_get_property), (gst_file_sink_open_file),
5085 (gst_file_sink_close_file):
5086 * plugins/elements/gstfilesink.h:
5087 Add two properties to control the buffering mode and size.
5088 API: GstFileSink::buffer-mode
5089 API: GstFileSink::buffer-size
5092 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
5094 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5095 Add some more docs to explain why a FIXME was wrongly added.
5097 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
5100 Fix typo in the gst_object_{ref,unref} documentation.
5102 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5104 * tests/check/libs/controller.c:
5105 * tests/check/libs/typefindhelper.c:
5106 * tests/check/pipelines/parse-launch.c:
5107 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5108 going to be deprecated (see #498924).
5110 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
5112 * gst/gsttypefind.c: (gst_type_find_register):
5113 Make gst_type_find_register work for static typefind functions,
5114 ie. allow passing plugin == NULL (prerequisite for #498924).
5116 * gst/gstelementfactory.c: (gst_element_register):
5117 Small docs addition.
5119 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
5121 * gst/gstpad.c: (gst_pad_dispose):
5122 Really unlink the peer pad instead of setting the peer pointer to NULL
5123 when we dispose the pad.
5124 This correctly calls the unlink functions and makes sure that the peer
5125 does not have a handle to invalid memory. See #504671.
5127 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5128 Add testsuite for above case.
5130 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
5132 Patch by: Peter Kjellerstedt <pkj axis com>
5134 * libs/gst/check/gstcheck.h:
5135 Fix detection of the check version we're compiling against (would
5136 otherwise break if check goes v0.10.0); correctly report the
5137 name of the failed test again in case of failure, instead of
5138 just 'tf' (fixes #504499).
5140 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5142 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5143 (gst_base_src_get_range), (gst_base_src_pad_get_range),
5144 (gst_base_src_loop), (gst_base_src_set_flushing),
5145 (gst_base_src_change_state):
5146 Allow sending EOS to the source to make it send out an EOS event from
5147 the streaming thread.
5148 Update docs and deprecate the old NULL/READY shutdown method.
5150 * tests/check/libs/basesrc.c: (GST_START_TEST),
5151 (gst_basesrc_suite):
5152 Add unit test for controlled shutdown.
5154 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
5156 * docs/design/part-synchronisation.txt:
5159 * gst/gstsegment.c: (gst_segment_set_seek),
5160 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5161 (gst_segment_to_running_time):
5162 The seek format can be different from the segment format when the start
5163 and stop values are not to be updated, when we only do a rate change for
5166 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5167 (gst_segment_suite):
5168 Add a testcase for the rate-only seeks, checking that the format is
5169 correctly ignored when start and stop are not updated.
5171 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
5173 Patch by: Matthias Bolte <photon at mail dot upb dot de>
5175 * win32/vs8/grammar.vcproj:
5176 * win32/vs8/libgstcontroller.vcproj:
5177 * win32/vs8/libgstreamer.vcproj:
5178 Fix compilation with VS8 and include some missing files.
5180 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
5183 Small docs addition: mention that the strings returned by
5184 gst_tag_list_get_string*() are in UTF-8 encoding.
5186 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
5189 The check-exports stuff moved to common/win32.mak, so include that.
5191 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
5193 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5194 (gst_base_src_perform_seek), (gst_base_src_get_range),
5195 (gst_base_src_set_playing), (gst_base_src_change_state):
5196 Make _wait_playing() not check any variables so that we can call this
5197 function from subclasses. Move the checks elsewhere similar to
5198 _wait_preroll() in basesink.
5200 Only signal the LIVE cond when we are going back to PLAYING.
5202 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
5204 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5205 Use g_remove() and g_rename(). Check result of g_rename(), and
5206 don't leak the open file descriptor if we error out when writing.
5208 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5209 Must check the return value of close() after writing out the new
5210 registry file. Sometimes write problems such as out-of-diskspace
5211 are only reported when the file is closed and not already during
5212 the write. This may have caused partial/broken registry files in
5213 some rare circumstances. Should fix #503675.
5215 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
5217 * docs/gst/.cvsignore:
5218 * docs/libs/.cvsignore:
5219 * docs/plugins/.cvsignore:
5220 Ignore files generated by new common/* modifications
5222 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5224 * win32/common/libgstbase.def:
5225 Yes, you can also have a <TAB> if you want.
5227 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5229 * win32/common/libgstbase.def:
5230 Add new basetransform API to win export file.
5232 2007-12-15 Stefan Kost <ensonic@users.sf.net>
5234 * tests/check/gst/gstbin.c:
5235 Adjust the test to the refcount change two days ago.
5237 2007-12-14 David Schleef <ds@schleef.org>
5239 * docs/faq/getting.xml: Fix typo.
5241 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
5243 * docs/libs/gstreamer-libs-sections.txt:
5244 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5245 (gst_base_transform_prepare_output_buffer),
5246 (gst_base_transform_set_gap_aware):
5247 * libs/gst/base/gstbasetransform.h:
5248 API: Add gst_base_transform_set_gap_aware() to control whether
5249 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5250 get buffers with this flag at all. Fixes #503231.
5252 2007-12-13 Stefan Kost <ensonic@users.sf.net>
5254 * libs/gst/base/gstbasesink.c:
5255 * libs/gst/base/gstbasesrc.c:
5256 * libs/gst/base/gstbasetransform.c:
5257 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5258 thread. Correct log message in gstbasesrc.c.
5260 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5262 * gst/gstutils.c: (element_find_unconnected_pad):
5263 Fix possible compiler warning (#503417).
5265 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
5267 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5268 Don't use GST_CAT_EVENT here for logging, it makes no sense.
5270 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
5272 * tools/gst-inspect.c: (print_element_properties_info):
5273 Add support for GstFraction properties.
5275 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
5278 Add check-exports target and run it as part of 'make check'
5279 (see #499140 and #493983).
5281 * gst/gst_private.h:
5282 * gst/gstelementfactory.h:
5283 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5284 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5285 (_priv_gst_in_valgrind):
5286 * gst/gstinfo.h: (GstLogFunction):
5287 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5288 (gst_type_find_register):
5289 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5290 (gst_type_find_factory_get_type):
5291 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5292 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5293 (gst_controller_new_valist), (gst_controller_new_list),
5294 (_gst_controller_dispose), (_gst_controller_class_init):
5295 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5296 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5297 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5298 (gst_object_get_controller), (gst_object_set_controller),
5299 (gst_object_suggest_next_sync), (gst_object_sync_values),
5300 (gst_object_set_control_source), (gst_object_get_control_source),
5301 (gst_object_get_value_arrays), (gst_object_get_value_array),
5302 (gst_object_get_control_rate), (gst_object_set_control_rate):
5303 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5304 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5305 Make some functions that should be static static; rename some
5306 private symbols so that they don't get exported; add some FIXME
5307 comments so we can move accidentally exported functions into
5308 our private section in 0.11.
5310 * win32/common/libgstreamer.def:
5311 Add gst_utils_get_timestamp().
5313 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5317 Add more missing "Since:" tags to docs.
5319 2007-12-12 Stefan Kost <ensonic@users.sf.net>
5322 Add mising "Since:" to docs.
5324 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5327 Include "glib-compat-private.h" to fix the build on system with
5328 glib < 2.10. Fixes #503131.
5330 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5334 Actually its not PURE as it gets the time from elsewhere.
5336 2007-12-11 Stefan Kost <ensonic@users.sf.net>
5338 * docs/gst/gstreamer-sections.txt:
5340 * gst/gstdebugutils.c:
5344 * libs/gst/base/gstbasesink.c:
5345 * tools/gst-launch.c:
5346 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5347 uses as we don't have HAVE_POSIX_TIMERS in public headers.
5348 Thanks Tim for spotting.
5349 API: gst_util_get_timestamp
5351 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
5354 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5356 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
5358 * gst/gststructure.c: (gst_structure_validate_name),
5359 (gst_structure_new_valist), (gst_structure_parse_value),
5360 (gst_structure_from_string):
5361 Don't crash in _from_string() if the structure name is not valid
5362 (fixes #501560). Allow structure names to start with a number
5363 again (this apparently broke the ubuntu codec installer).
5365 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5367 Add unit test for the crash; update unit tests for new behaviour.
5369 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
5372 Clarify gst_element_get_compatible_pad() documentation.
5375 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
5377 * tests/check/Makefile.am:
5378 Don't forget to dist {gst,libs}/struct_hppa.h.
5380 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5382 * libs/gst/base/gstbasesink.c:
5383 Use new API to get elapsed time.
5385 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5387 * gst/gstdebugutils.c:
5389 Fix wrong order of args in GST_CLOCK_DIFF() usage.
5391 * tools/gst-launch.c:
5392 Use new API to get elapsed time.
5394 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5396 * docs/gst/gstreamer-sections.txt:
5398 * gst/gstdebugutils.c:
5400 Rename new API + ChangeLog surgery to remove old name from last entry..
5402 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5404 * docs/gst/gstreamer-sections.txt:
5406 * gst/gstdebugutils.c:
5408 Now hide the different clock stuff behind a macro.
5410 2007-11-28 Stefan Kost <ensonic@users.sf.net>
5413 * gst/gstdebugutils.c:
5415 Apply the posix-timer check from #361155. Conditionally use the posix
5416 timer for logging. This gives better timestamp precission, less
5417 overhead and no ntp jitter.
5419 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
5421 * gst/gstminiobject.c: (gst_mini_object_get_type),
5422 (gst_mini_object_class_init), (gst_mini_object_copy_default),
5423 (gst_mini_object_finalize), (gst_mini_object_copy),
5424 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5425 (gst_mini_object_replace), (param_mini_object_validate),
5426 (gst_param_spec_mini_object_get_type):
5427 Some cleanup and checking against invalid function parameters.
5429 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
5431 * docs/gst/gstreamer-sections.txt:
5433 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5434 (gst_systemclock_suite):
5435 Start merging in the easy bits of #361155, the monotonic clock patch.
5436 This one adds a few handy macros with docs and a testsuite.
5438 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
5440 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5441 Be a bit smarter when seeking, like, don't try to do a seek when it's
5442 not needed. This avoids errors when the file is not seekable.
5445 2007-11-26 Stefan Kost <ensonic@users.sf.net>
5447 * docs/gst/gstreamer-docs.sgml:
5448 * docs/gst/gstreamer-sections.txt:
5449 * docs/gst/gstreamer.types.in:
5454 * plugins/elements/gstqueue.c:
5455 Due to popular request remove preset interface again. :-(.
5457 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5459 * tools/gst-inspect.c:
5460 Print 'default value' for enums and flags too.
5462 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5464 * docs/random/ensonic/profiling.txt:
5468 Fix typo and give better log output.
5470 * gst/gstdebugutils.c:
5471 * gst/gstdebugutils.h:
5472 More ideas, make graphs a bit smaller and fix param name in macro.
5474 2007-11-22 Stefan Kost <ensonic@users.sf.net>
5477 Try harder to use the return value from fgets().
5479 2007-11-21 Stefan Kost <ensonic@users.sf.net>
5482 For theses two fgets we handle the error below.
5484 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5486 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5487 Only send upstream events upstream. Fixes #498746.
5489 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
5491 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5493 * plugins/elements/gstidentity.c: (gst_identity_class_init),
5494 (gst_identity_init), (gst_identity_transform_ip),
5495 (gst_identity_set_property), (gst_identity_get_property):
5496 * plugins/elements/gstidentity.h:
5497 Add property to disable handoff signal emission. Fixes #498694.
5498 API: GstIdentity::signal-handoffs
5500 2007-11-21 Julien Moutte <julien@fluendo.com>
5502 * docs/faq/gst-uninstalled: Yet another missing library for the
5503 uninstalled script (fft)
5505 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
5507 * docs/faq/developing.xml:
5508 Add a question about how to submit new translations.
5510 * docs/random/release:
5511 Update the contact email address for the Translation Project
5513 * plugins/elements/gstfdsrc.c:
5514 The parent_class for fdsrc is pushsrc, not GstElement.
5516 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5519 Plug a leak and fix saving.
5521 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
5523 * docs/gst/gstreamer-sections.txt:
5524 Add new gst_preset__get_property_names() function to the docs
5527 2007-11-20 Stefan Kost <ensonic@users.sf.net>
5531 Change _get_preset_names API to return a strv with copies. Add
5532 _get_property_names to allow implementations to filter and provide
5533 good default implementation.
5535 2007-11-20 Julien MOUTTE <julien@moutte.net>
5537 * docs/faq/gst-uninstalled: Add another library to the uninstalled
5540 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5543 More cleanups, docs, and TODOs from comments that now slowly come in.
5545 2007-11-19 Julien MOUTTE <julien@moutte.net>
5547 * docs/faq/gst-uninstalled: Add new base libraries in the LD
5550 2007-11-19 Stefan Kost <ensonic@users.sf.net>
5553 Fix bogus warning and make the property type specific code more
5556 2007-11-19 Julien MOUTTE <julien@moutte.net>
5558 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5561 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
5563 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5564 (gst_bin_add_func), (gst_bin_remove_func),
5565 (gst_bin_change_state_func), (gst_bin_continue_func):
5566 Change email, cleanups add some more debug and comments.
5567 Also set bus and clock on new elements when the pipeline was in error.
5569 2007-11-18 Stefan Kost <ensonic@users.sf.net>
5572 * gst/gstdebugutils.c:
5573 Fix build with --disable-gst-debug. Fixes #497859.
5574 Spotted by Sameer Naik.
5576 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5579 Little documentation improvment.
5582 More TODO cleanups. Remove c++ comments.
5584 * libs/gst/controller/gstcontroller.c:
5585 Add TODO and use quark from static string.
5587 * tests/check/gst/gstmessage.c:
5588 * tests/check/gst/gststructure.c:
5589 Use quark from static string.
5591 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5594 Add some comments and TODOs.
5597 Add padding for future changes.
5599 * plugins/elements/gstqueue.c:
5600 Implement the iface.
5602 2007-11-17 Stefan Kost <ensonic@users.sf.net>
5604 * docs/gst/gstreamer-docs.sgml:
5605 * docs/gst/gstreamer-sections.txt:
5606 * docs/gst/gstreamer.types.in:
5611 Add the preset interface (Fixes #396779). Do some doc cleanups along.
5613 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
5619 === release 0.10.15 ===
5621 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
5624 releasing 0.10.15, "October"
5626 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
5628 * win32/vs6/libgstreamer.dsp:
5629 Convert line endings back to DOS.
5631 2007-11-13 Stefan Kost <ensonic@users.sf.net>
5633 * docs/design/draft-tagreading.txt:
5634 * docs/random/ensonic/profiling.txt:
5635 Update fast tagreading draft and performance profiling ideas.
5637 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5639 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5640 Don't hold the object lock when unreffing a buffer because it could
5641 cause a deadlock when the finalize function wants to grab the object
5642 lock too. Fixes #495133.
5644 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
5646 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5647 (gst_segment_to_stream_time), (gst_segment_to_running_time):
5648 Also accumulate time correctly when doing reverse playback. Fixes
5650 When converting to running and stream time, use default values for
5651 start/stop/time/accum when comparing different formats. Fixes #494245.
5653 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5654 Do running/stream time in TIME format.
5656 * tests/check/gst/gstsegment.c: (GST_START_TEST),
5657 (gst_segment_suite):
5658 2 new unit tests for segment accumulation.
5660 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
5662 * gst/gst.c: (init_pre):
5663 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5664 (_gst_debug_bin_to_dot_file):
5665 Move getenv() back into gst_init, so everyone can live happily
5666 ever after. Make sure the symbol isn't exported though.
5668 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5670 Patch by: Sebastien Moutte <sebastien moutte net>
5672 * win32/common/gstenumtypes.c:
5673 * win32/common/gstenumtypes.h:
5676 * win32/vs6/libgstreamer.dsp:
5677 Update vs6 project files (#494343).
5679 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5681 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5682 (gst_base_src_perform_seek), (gst_base_src_default_event),
5683 (gst_base_src_set_flushing), (gst_base_src_activate_push),
5684 (gst_base_src_activate_pull):
5685 Unify flushing code, remove some old unlock code that is no longer used.
5686 Take the streaming lock when seeking to avoid races. Fixes #492729.
5687 Added some more comments.
5689 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5691 * gst/gst.c: (_gst_disable_segtrap):
5692 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
5693 we can use gst_segtrap_is_enabled() there now that we have that API.
5694 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5695 to do the getenv here (and export the variable).
5697 * gst/gstdebugutils.c: (debug_dump_element),
5698 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5699 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5701 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5702 (gst_debug_log_default):
5703 Rename _gst_info_start_time to priv_gst_info_start_time so it
5704 doesn't get exported (was never in any header).
5706 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
5707 (gst_plugin_loading_mutex):
5708 Make static mutex gst_plugin_loading_mutex really static (was never
5709 in any header), and use gst_segtrap_is_enabled() instead of
5710 _gst_disable_segtrap.
5712 * gst/gsttrace.c: (_gst_trace_default):
5713 Make local _gst_trace_default static (was never in any header).
5715 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5717 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5719 * win32/common/libgstbase.def:
5720 * win32/common/libgstcontroller.def:
5721 * win32/common/libgstdataprotocol.def:
5722 * win32/common/libgstnet.def:
5723 * win32/common/libgstreamer.def:
5724 Add more missing symbols, remove some duplicates, and sort
5725 as the 'sort' command sorts it (partially fixes #493983).
5727 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5729 * gst/gstelement.c: (gst_element_set_state_func):
5730 Only change the state cookie if a different state was set on the
5731 element. See #492729.
5733 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
5736 Remove unused and uninitialised type variables that were still
5737 exported for some reason (they were never in any header files
5740 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5742 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
5743 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
5744 (gst_base_sink_event), (gst_base_sink_get_position_last),
5745 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
5746 (gst_base_sink_change_state):
5747 Don't try to report a 0 position when we don't know, return -1 and FALSE
5748 instead. This mostly happens when we are prerolling.
5749 Make sure we can report the right position before we post the ASYNC_DONE
5750 message so that a message handler can query position without races.
5752 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5753 (async_done_handoff), (async_done_func), (send_buffer),
5754 (async_done_eos_func), (gst_sinks_suite):
5755 Add two tests for the above.
5757 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
5760 Update with new email address.
5762 * docs/design/part-TODO.txt:
5763 Add some more info about future pad-block and negotiation changes.
5765 * docs/design/part-buffering.txt:
5766 Add some ideas about buffering reporting.
5768 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
5770 * tests/check/gst/gstobject.c:
5771 Disable silly racy test that always fails on this combination of CPU
5774 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
5776 Patch by: Murray Cumming <murrayc@murrayc.com>
5779 Corrected the registration of the parent-set and parent-unset
5780 signals: The parameter is a GstObject, not a GObject (#493134).
5782 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5784 * gst/gst_private.h:
5793 Move declaration of private _gst_foo_initialize() functions into
5794 our private header file where they should have been all along.
5796 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5798 * docs/plugins/gstreamer-plugins-sections.txt:
5799 * gst/gstdebugutils.h:
5801 * plugins/elements/gstqueue.c:
5802 gtk-doc fixes; trailing-comma-in-enum fix.
5804 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
5806 * gst/gst.c: (gst_deinit):
5807 Clean up on deinit (not the external ones though, doesn't seem to be
5808 needed for some reason).
5810 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5812 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
5813 Remove __declspec(dllimport) for MSVC that was copied over into core
5814 from a plugin, obviously without ever having been tested (note the
5815 single underscore in _declspec in the initial commit), and that doesn't
5816 really make sense. See #492077.
5818 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5820 * gst/gst.c: (init_post):
5821 * gst/gstevent.c: (_gst_event_initialize):
5822 * gst/gstquery.c: (_gst_query_initialize):
5823 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
5824 g_type_class_ref() other types as well, see #349410 and #64764.
5826 * gst/gstbuffer.c: (_gst_buffer_initialize):
5827 * gst/gstmessage.c: (_gst_message_initialize):
5828 Simplify existing g_type_class_ref().
5830 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5832 * gst/gstformat.c: (_gst_format_initialize):
5833 g_type_class_ref() our GstFormat type to make sure we avoid the
5834 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
5835 bug #64764. Should fix intermittent tee unit test failures (#474823).
5837 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
5839 * tests/check/elements/tee.c: (test_num_buffers):
5840 Simplify, simplify, simplify - or not. Rewrite unit test
5841 not to use gst_parse_launch(); allow N sub-streams. Increasing
5842 the number of sub-streams seems to reproduce #474823 more easily.
5844 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5846 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
5849 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
5850 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
5851 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
5852 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
5853 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
5854 so use _pipe() directly (#492077).
5856 * win32/common/dirent.c: (_treaddir):
5857 Add a couple of casts to make it build without warnings with MSVC.
5859 * win32/common/libgstreamer.def:
5860 Add some more symbols that need to be exported.
5862 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
5864 * tests/examples/metadata/read-metadata.c: (message_loop):
5865 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
5866 arriving in a second or third tag message are added to
5867 the tag list as well.
5869 2007-10-31 Stefan Kost <ensonic@users.sf.net>
5871 * libs/gst/base/gstbasesrc.c:
5872 Its "Since:" and not "@Since:". And remove an superflous cast.
5874 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
5876 * docs/libs/gstreamer-libs-sections.txt:
5877 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5878 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
5879 (gst_base_sink_get_property), (gst_base_sink_render_object),
5880 (gst_base_sink_preroll_object),
5881 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5882 (gst_base_sink_change_state):
5883 * libs/gst/base/gstbasesink.h:
5884 Add a new last-buffer property that contains the last buffer used in
5885 basesink for preroll or rendering. useful for making snapshots.
5886 API: gst_base_sink_get_last_buffer()
5887 API: GstBaseSink::last-buffer
5889 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5891 * docs/gst/running.xml:
5893 * gst/gstdebugutils.c:
5894 * gst/gstdebugutils.h:
5895 * tools/gst-launch.c:
5896 Improve bin graph dumping, by using the envvar to specify a path.
5897 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
5899 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
5901 * plugins/elements/gsttypefindelement.c:
5902 (gst_type_find_element_handle_event),
5903 (gst_type_find_element_activate):
5904 Post special error message if we can't determine the type of a stream
5907 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5909 * docs/gst/running.xml:
5910 * gst/gstdebugutils.c:
5911 Document new env-var. Add one log-line after dumpng a graph.
5913 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5916 Ugly hack to put the (recently removed and non-portable, apparently)
5917 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5918 GNU ld, because without that 'make check' fails miserably on my debian
5919 stable box. Someone with more knowledge of linker intricacies and
5920 portability issues than me fix this properly please.
5922 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5924 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5925 Reset last seen position after flushing so that we don't report the old
5928 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5930 * gst/gstelementfactory.c: (gst_element_register):
5932 Patch from Alessandro Decina adding get_type_full and
5933 get_protocols_full private vfuncs to the URIHandler interface
5934 to allow bindings to support creating URI handlers.
5935 Partially fixes: #339279
5936 API: GstURIHandlerInterface::get_type_full
5937 API: GstURIHandlerInterface::get_protocols_full
5939 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5941 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5942 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5943 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5944 Make it so that pads are considered linked until a buffer is pushed
5945 and discovered otherwise. This avoids problems with decodebin2 hanging
5946 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5949 Make sure we lock the multiqueue when updating the max-size properties.
5951 Fix a crash on Solaris in a debug statement in get_request_pad that
5952 passes a NULL string to GST_DEBUG.
5954 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5955 (run_output_order_test):
5956 Fix the test to allow the first buffer on not-linked pads to come out
5957 of sequence while multiqueue discovers that they are not-linked.
5959 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5962 * libs/gst/check/Makefile.am:
5963 Use a custom export symbol regex for libgstcheck, as it needs
5964 to export symbols that don't match the standard GStreamer gst_*
5965 pattern, and --export-dynamic is not portable (only works on
5968 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5969 (gst_check_setup_sink_pad):
5970 Make sure to pass a message parameter to the fail_* macros.
5972 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5973 Fix some compiler warnings.
5975 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5977 * tests/check/gst/gststructure.c: (test_to_string):
5978 Disable test that checks that white spaces are not allowed
5979 in structure names or field names, since we need to
5980 support that for now for backwards compatibility reasons.
5982 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5984 * docs/gst/gstreamer-sections.txt:
5987 API: add GST_TAG_ARTIST_SORTNAME
5988 API: add GST_TAG_ALBUM_SORTNAME
5989 API: add GST_TAG_TITLE_SORTNAME
5990 Add tag variants for sorting (#414539).
5992 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5994 * gst/gststructure.c:
5995 Also allow white space for names so we don't break
5996 backwards compatibility.
5998 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
6000 * docs/design/part-TODO.txt:
6001 * docs/design/part-segments.txt:
6002 * docs/design/part-streams.txt:
6005 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6007 * docs/gst/gstreamer-sections.txt:
6008 Fixed documentation from my previous commit (added new API add
6009 gst_value_set_structure(), add gst_value_get_structure() and
6010 GST_VALUE_HOLDS_STRUCTURE).
6012 2007-10-22 Stefan Kost <ensonic@users.sf.net>
6014 * gst/gstdebugutils.c:
6015 Reflow code to fix uninitialized variable warning.
6017 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
6019 * gst/gstcaps.c: (gst_caps_to_string),
6020 (gst_caps_from_string_inplace):
6021 * gst/gststructure.c: (gst_structure_get_abbrs),
6022 (gst_structure_to_string), (gst_structure_from_string):
6023 * gst/gstvalue.c: (gst_value_set_structure),
6024 (gst_value_get_structure), (gst_value_serialize_structure),
6025 (gst_value_deserialize_structure), (_gst_value_initialize):
6027 * tests/check/gst/gststructure.c: (GST_START_TEST),
6028 (gst_structure_suite):
6029 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6030 Added GstStructure to gst_value_table and its related functions.
6031 Changed gst_structure_to_string to print ';' in the end.
6032 Changed gst_caps_to_string to not print ';' beteween its
6033 fields (structures) anymore and remove the lastes ';' from latest
6034 structure. Now it is possible to have nested structures.
6035 In addition, backward compatibilty is assured by accepting '\0' as
6036 end delimiter. Fixes: #487969.
6037 API: add gst_value_set_structure()
6038 API: add gst_value_get_structure()
6039 API: add GST_VALUE_HOLDS_STRUCTURE
6041 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
6044 When no GSource callback has been set up, tell developer
6045 to use a function that actually exists.
6047 2007-10-17 Stefan Kost <ensonic@users.sf.net>
6049 * docs/gst/gstreamer-sections.txt:
6053 * gst/gstdebugutils.c:
6054 * gst/gstdebugutils.h:
6057 * tools/gst-launch.c:
6058 Allow dumping pipelines as dot graphs. Fixes #456573.
6060 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6062 * gst/gststructure.c:
6063 Allow '+' as well, it can be part of media or mime types
6064 such as image/svg+xml.
6066 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6068 * docs/gst/gstreamer-sections.txt:
6071 API: add gst_bus_pop_filtered
6072 API: add gst_bus_timed_pop_filtered
6073 Two new functions for waiting for specific message types on the
6074 bus for a specified amount of time without iterating any main
6075 loops or main contexts.
6077 * tests/check/gst/gstbus.c:
6078 Some tests for the new functions.
6080 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6082 * docs/libs/gstreamer-libs-sections.txt:
6083 Make gtk-doc ignore stuff it should ignore.
6085 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
6087 * libs/gst/check/gstcheck.c:
6088 * libs/gst/check/gstcheck.h:
6089 Allow runtime selection of unit tests to run via the GST_CHECKS
6090 environment variable (test case function names, comma-separated).
6092 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6094 * gst/gststructure.c:
6095 * tests/check/gst/gststructure.c:
6096 Revert serialisation change and constrain structure-names after
6097 consensus on irc. Update api documentation to reflect the change.
6099 2007-10-16 Stefan Kost <ensonic@users.sf.net>
6101 * gst/gststructure.c:
6102 Improve serialization and fix tests.
6104 * tests/check/gst/gststructure.c:
6105 Add another test that covers why I actually did the previous structure
6108 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6110 * tools/gst-inspect.c: (print_element_info):
6111 Don't crash when inspecting an element.
6113 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
6115 * tests/check/gst/gststructure.c:
6116 Add unit test for escaping of structure name when serialising
6117 and deserialising to/from strings.
6119 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
6121 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6122 (gst_single_queue_new):
6123 * plugins/elements/gstqueue.c: (gst_queue_init),
6124 (gst_queue_push_one):
6125 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6126 upstream is tricked into thinking it can suggest a format downstream
6127 while downstream does not support that format. The real problem is that
6128 core calls acceptcaps when pushing a buffer with new caps, for which we
6129 do a little workaround by setting the caps on the srcpad ourselves
6130 before pushing the buffer (until this is figured out). Fixes #486758.
6132 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6134 * gst/gststructure.c:
6136 Add some more comments and debug output. Quote structure name to fix
6137 deserialisation of some strings.
6139 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6142 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6143 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6145 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6147 * tools/gst-inspect.c:
6148 Save approx. 400 1 byte allocs when printing. Use API to acces element
6154 * tools/gst-xmlinspect.c:
6155 Use API to acces element details.
6157 2007-10-15 Stefan Kost <ensonic@users.sf.net>
6160 Fix some spelling errors.
6162 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
6164 * gst/gstbin.c: (bin_handle_async_done):
6165 Correctly set the next state if all of our async children commited their
6166 state. This makes sure we can actually cancel the state change in
6167 progress. Fixes a regression in Rhythmbox when seeking.
6169 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6172 Don't shadow local variable.
6175 Don't shadow global function name.
6177 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
6179 * gst/gstelementfactory.c:
6180 * gst/gstpluginfeature.c:
6181 * gst/gstpluginfeature.h:
6182 * gst/gstregistrybinary.c:
6183 * gst/gstregistryxml.c:
6184 * gst/gsttypefind.c:
6185 Use already-interned string for the private GstPluginFeature
6188 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6190 * docs/libs/gstreamer-libs-sections.txt:
6191 Add new API to docs; fixes the build.
6193 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
6195 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6197 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6198 (gst_base_sink_event):
6199 * libs/gst/base/gstbasesink.h:
6200 Add function to wait for EOS, subclasses can use this to correctly wait
6201 for devices to drain before performing the EOS logic. Fixes #485343.
6202 API: gst_base_sink_wait_eos()
6204 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
6207 Cast description string constants in GST_PLUGIN_DEFINE macros
6208 to a (gchar*) to make C++ code using these macros compile
6209 without warning with g++-4.2 (see #462737). Even if slightly
6210 ugly, this seems preferable to putting the description strings
6211 into the GLib quark table or making the structure member a
6212 const gchar * and doing casts in core code that allocs and
6213 frees these strings, or requiring a cast in the C++ code.
6215 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6218 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6219 to print the entire class/function signature into the log
6220 file for C++ code. This only affects C++ code, for C code
6221 everything remains the same.
6223 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
6225 * gst/gstbin.c: (remove_from_queue):
6226 Work around a problem with pipelines containing (semi)loops until a
6227 proper, more complicated solution is ready. See #475455.
6229 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6233 * gst/gstregistrybinary.c:
6234 * gst/gstregistryxml.c:
6235 Put more strings into the GLib quark table. No need to keep
6236 a hundred-something copies of identical version strings,
6237 license strings, package name strings and package origin
6240 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
6242 * docs/manual/advanced-dataaccess.xml:
6243 Don't imply that it's okay to unconditionally change
6244 buffer data or buffer metadata in a pad probe callback,
6245 and a bunch of other comments. Fixes #430031.
6247 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6249 * win32/common/gstenumtypes.c:
6250 * win32/common/gstenumtypes.h:
6251 * win32/common/gstversion.h:
6252 Update generated files.
6254 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6256 * docs/manual/advanced-autoplugging.xml:
6257 Prefix section with broken code with a warning (see #342432).
6259 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
6261 * docs/manual/appendix-integration.xml:
6262 * docs/manual/basics-init.xml:
6263 Call g_thread_init() before g_option_context_new() to
6264 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6266 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6268 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6269 (gst_base_sink_queue_object_unlocked),
6270 (gst_base_sink_queue_object), (gst_base_sink_event),
6271 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6272 When we received EOS and are waiting for when to post the EOS message,
6273 our state is prerolled and we should not return ASYNC.
6274 Reorganize some code paths to implement this behavior.
6276 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6278 Add unit test to verify above EOS fix.
6280 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6282 * plugins/elements/gsttypefindelement.c:
6283 (gst_type_find_element_have_type), (gst_type_find_element_init),
6284 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6285 Move detecting the input caps of the sinkpad to the setcaps function.
6286 This allows us to update the output caps when we receive new input caps
6287 instead of always using the first detected caps.
6289 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
6291 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6292 (gst_base_sink_get_position):
6293 Don't try to preroll non-async elements after a flush.
6294 Subtract latency form clock times when reporting position.
6296 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6298 * gst/gstpad.c: (gst_pad_pause_task):
6300 Small comment and documentation update.
6302 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6304 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6305 (gst_base_src_set_live), (gst_base_src_is_live),
6306 (gst_base_src_query_latency), (gst_base_src_perform_seek),
6307 (gst_base_src_default_event), (gst_base_src_wait),
6308 (gst_base_src_do_sync), (gst_base_src_get_range),
6309 (gst_base_src_pad_get_range), (gst_base_src_loop),
6310 (gst_base_src_unlock), (gst_base_src_unlock_stop),
6311 (gst_base_src_set_flushing), (gst_base_src_set_playing),
6312 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6313 (gst_base_src_change_state):
6314 Rework the locking of basesrc in a similar fashion to basesink. We
6315 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6316 us to handle live sources and semi live ones much better.
6318 Fix unlocking when seeking, shutting down and pausing in live sources.
6320 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
6322 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6323 Fix compilation again.
6325 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6328 Use meaningful categories for the logs to clean the default one.
6330 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6332 * tests/check/pipelines/cleanup.c:
6333 Print message name and not just number.
6335 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6337 * docs/design/draft-tagreading.txt:
6338 Add some more thoughts.
6340 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6342 * tests/check/pipelines/simple-launch-lines.c:
6343 Print message name and not just number.
6345 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6347 * libs/gst/base/gsttypefindhelper.c:
6348 Speedup typefinding. This is work in progress (see #459862).
6350 2007-10-03 Stefan Kost <ensonic@users.sf.net>
6353 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6354 Spotted by Josep Torra Valles <josep@fluendo.com>.
6356 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
6359 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6360 field has moved to GstObject.
6362 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
6364 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6365 (gst_base_src_get_range), (gst_base_src_change_state):
6366 Call unlock for live sources so that they can't get stuck in _create and
6367 produce a buffer before they are set back to PLAYING.
6369 2007-10-02 Edward Hervey <bilboed@bilboed.com>
6371 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6372 (gst_queue_locked_dequeue):
6373 Comment the segment-related code... in the PROPER function.
6374 See #482147 and my commit from yesterday.
6376 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
6378 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6379 Also initialize the counter that calculates the first timestamp on a
6380 buffer correctly for non-live sources.
6382 2007-10-01 Edward Hervey <bilboed@bilboed.com>
6384 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6385 Disable code that's breaking the current-time-level reporting.
6388 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
6390 * docs/gst/gstreamer-sections.txt:
6391 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6392 as they shouldn't show up. Fixes the docs build.
6394 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
6397 Add an explicit variable importation needed on VS6 (only for MSC_VER)
6398 Define M_PI which is used in files which are including gstinfo.h.
6399 VS6 includes doesn't define it.
6400 * win32/common/libgstbase.def:
6401 * win32/common/libgstcontroller.def:
6402 * win32/common/libgstreamer.def:
6403 Add new exported functions and variables.
6404 * win32/vs6/libgstcontroller.dsp:
6405 * win32/vs6/libgstreamer.dsp:
6406 Update the list of files to build.
6408 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6410 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6412 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6413 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6414 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6415 Improve debugging. Fixes #480858.
6417 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
6419 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6421 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6422 First patch of code cleanups, use the macros and right arguments in the
6423 macros to signal and lock the queue. See #480858.
6425 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
6427 * gst/gstbus.c: (poll_func):
6428 Improve debugging when dealing with _poll().
6430 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
6432 * gst/gstregistryxml.c:
6433 Fix memory leak I introduced a few days ago.
6435 2007-09-26 Michael Smith <msmith@fluendo.com>
6437 * gst/gstbuffer.c: (gst_buffer_finalize):
6438 Make it once again possible to free GstBuffers in the default
6440 The poisoning scribbles on parts of the miniobject we need in
6444 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
6446 * docs/gst/gstreamer-sections.txt:
6449 API: add GST_TAG_COMPOSER, fixes #459809.
6451 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
6455 Add the 3-clause BSD license and the MIT/X11 license to the license
6456 list. Fixes #479784.
6458 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
6460 * docs/faq/getting.xml:
6461 Add Q+A about different GStreamer versions (#364056).
6463 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6465 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6466 (gst_base_sink_event), (gst_base_sink_change_state):
6467 Return correct gboolean from query function.
6469 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6471 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6472 (gst_base_sink_event), (gst_base_sink_query),
6473 (gst_base_sink_change_state):
6474 Simplify latency query.
6475 When not synchronizing, we can report latency without querying the peer
6478 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6482 Fix small typos in the docs.
6484 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
6486 * docs/design/draft-latency.txt:
6487 * docs/design/draft-push-pull.txt:
6488 * docs/design/draft-tagreading.txt:
6489 * docs/design/part-MT-refcounting.txt:
6490 * docs/design/part-activation.txt:
6491 * docs/design/part-block.txt:
6492 * docs/design/part-element-source.txt:
6493 * docs/design/part-events.txt:
6494 * docs/design/part-gstbin.txt:
6495 * docs/design/part-gstelement.txt:
6496 * docs/design/part-gstobject.txt:
6497 * docs/design/part-gstpipeline.txt:
6498 * docs/design/part-messages.txt:
6499 * docs/design/part-preroll.txt:
6500 * docs/design/part-push-pull.txt:
6501 * docs/design/part-qos.txt:
6502 * docs/design/part-query.txt:
6503 * docs/design/part-scheduling.txt:
6504 * docs/design/part-seeking.txt:
6505 * docs/design/part-segments.txt:
6506 * docs/design/part-states.txt:
6507 Documentation updates and typo fixes.
6509 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
6511 * plugins/elements/gstfakesink.c:
6512 Add some debug text to error message to indicate that
6513 we errored out on request.
6515 * tools/gst-launch.c:
6516 When the state change to PLAYING fails, check for an
6517 error message on the bus and print it.
6519 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6521 translated by: Jorge González González <aloriel@gmail.com>
6525 Added Spanish translation.
6527 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
6529 * plugins/elements/gstqueue.c: (gst_queue_push_one):
6530 Fix printf arguments.
6532 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6534 * tests/check/generic/states.c:
6535 Improved state change unit test.
6537 2007-09-20 Stefan Kost <ensonic@users.sf.net>
6540 Move priv to the right place.
6542 * gst/gstsystemclock.c:
6543 Add FIXME: and improve log.
6545 * tests/check/Makefile.am:
6546 * tests/examples/manual/Makefile.am:
6547 Work with all types of registries.
6549 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
6551 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6552 Don't unref the event after pushing it. Fixes #478401.
6554 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6557 * tests/examples/manual/.cvsignore:
6558 Ignore registries in any format.
6560 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
6562 * gst/glib-compat-private.h:
6563 Add compatibility macro for g_intern_string() for
6564 GLib-2.8 (any reason we can't just bump the
6565 requirement to at least 2.10?)
6567 * gst/gstpadtemplate.h:
6568 * gst/gstelementfactory.c:
6569 * gst/gstregistryxml.c:
6570 * gst/gstregistrybinary.c:
6571 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6572 up the internal code accordingly. This shouldn't be a problem, since
6573 there is no reason external code could ever assume the string in such
6574 a structure is dynamically allocated unless it did that itself; the
6575 use of g_strdup() is private to element factories. The new code also
6576 saves some memory by putting pad template name strings into the GLib
6577 quark table instead of allocating them dynamically.
6578 Declaring this field constant fixes warnings with g++-4.2 when using
6579 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6581 2007-09-19 Stefan Kost <ensonic@users.sf.net>
6583 * gst/gstelementfactory.c:
6584 Release static caps. Fixes #475723.
6586 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
6590 Make some internal API take const gchar * instead of just
6591 gchar * to avoid compiler warnings with g++-4.2.2 when
6592 passing string constants (partially fixes #478092).
6594 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6596 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6597 A latency query fails when one of the sinks fail.
6599 * gst/gstelement.c: (gst_element_set_base_time):
6602 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6604 * gst/gstbin.c: (gst_bin_continue_func):
6605 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6606 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6607 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6609 Fix minor compilation warnings shown with Forte.
6611 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
6613 * plugins/elements/gstqueue.c: (apply_buffer),
6614 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6615 Measure queue level based on the diff between head and tail timestamps
6616 even when pushing the first buffer.
6618 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6620 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6621 (gst_base_sink_event), (gst_base_sink_change_state):
6622 Sinks that don't preroll can always be queried for the latency.
6623 Don't post ASYNC start when we are not async.
6625 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6627 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6628 (gst_queue_handle_sink_event), (gst_queue_chain),
6629 (gst_queue_push_one), (gst_queue_handle_src_query),
6630 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6631 * plugins/elements/gstqueue.h:
6632 When downstream returns UNEXPECTED from pushing a buffer, don't try to
6633 push more buffers but allow pushing of EOS and NEWSEGMENT.
6634 Add some more debug info here and there. Fixes #476514.
6636 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
6638 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6639 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6640 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6641 (gst_base_sink_set_flushing), (gst_base_sink_query),
6642 (gst_base_sink_change_state):
6643 Latency query is allowed after we are prerolled. Introduce a new flag
6644 for this and stop abusing other variables.
6646 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6648 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6649 Push OOB events downstream when we get them in send_event. This allows
6650 the application to insert events in the pipeline.
6651 Add some more comments.
6653 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6655 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6656 (do_bin_latency), (gst_bin_change_state_func):
6657 * gst/gstpipeline.c: (gst_pipeline_change_state):
6658 Move latency query from GstPipeline to GstBin so that we can also
6659 use it when async-handling is enabled on bins.
6661 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6663 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6664 (gst_base_src_do_sync), (gst_base_src_change_state):
6666 Clean up the timestamping and syncing code for pseudo live sources.
6668 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
6670 Patch by: Steve Fink <sphink gmail com>
6672 * docs/manual/appendix-checklist.xml:
6673 Mention less -R switch in the section about debug output (#474055).
6675 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
6677 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6678 Queue can latency to the pipeline up to the configured max size in time.
6679 Report this fact in the latency query.
6681 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6683 Patch by: Sebastien Moutte <sebastien at moutte dot net>
6685 * libs/gst/controller/gstinterpolation.c:
6686 * libs/gst/controller/gstlfocontrolsource.c:
6687 Use gst_guint64_to_gdouble() when converting from a uint64 or
6688 GstClockTime to double to fix the build on win32. Fixes #474371.
6690 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6692 * gst/gstbuffer.c: (gst_buffer_finalize):
6693 Implement poisoning for GstBuffer if --enable-poisoning is specified.
6694 When finalizing a buffer the complete struct is filled with 0xff,
6695 thus making a use of the buffer after the final unref impossible.
6697 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
6699 * tests/check/libs/controller.c: (GST_START_TEST):
6700 Use fail_unless_equals_int(a, b) instead of
6701 fail_unless_equals (a == b) to get better output on failures.
6703 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6705 * tests/check/gst/gsturi.c:
6706 Also check for the other file URI variant on win32.
6708 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
6710 * gst/gsturi.c: (gst_uri_get_location):
6711 If there's no hostname, we want to return 'c:/foo/bar.txt'
6712 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
6714 * tests/check/gst/gsturi.c:
6715 Unit test for the above and a few more things.
6717 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6719 * docs/design/part-live-source.txt:
6720 Add docs on how live sources should timestamp.
6722 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6723 Add some more debug info.
6724 For subclasses that are live and like to sync, add aditional startup
6725 latency to sync time and timestamps so that we timstamp according to the
6728 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6731 Also do a g_type_class_ref() for the subbuffer type in
6734 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
6736 * docs/gst/gstreamer-sections.txt:
6737 * gst/gstpad.c: (gst_pad_peer_query):
6739 Add function to perform a query on the peer of a pad.
6740 API: gst_pad_peer_query()
6742 2007-09-11 Stefan Kost <ensonic@users.sf.net>
6744 * tests/check/gst/gstsystemclock.c:
6745 Cleanup the test a little (use gst-logging and not g_message). Improve
6746 test to check if a wait reached the target.
6748 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
6750 * docs/libs/gstreamer-libs-sections.txt:
6751 Add new API to docs and fix the build.
6753 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
6755 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6756 (gst_base_src_init), (gst_base_src_set_do_timestamp),
6757 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
6758 (gst_base_src_get_property), (gst_base_src_do_sync):
6759 * libs/gst/base/gstbasesrc.h:
6760 Add property to make the basesrc timestamp buffers based on the current
6762 API: GstBaseSrc::do-timestamp
6763 API: gst_base_src_set_do_timestamp()
6764 API: gst_base_src_get_do_timestamp()
6766 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
6768 * docs/random/release:
6769 Really make sure translations are up-to-date before
6770 a release (#465010).
6772 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
6774 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6775 Always destroy the timer, also in error cases.
6777 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6779 * docs/manual/highlevel-xml.xml:
6780 Fix XML example code. Fixes #472714.
6782 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
6784 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6785 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6786 (gst_base_sink_query):
6787 Protect eos and have_preroll with the OBJECT lock so we don't need to
6788 take the PREROLL lock when querying the latency. Fixes #473846.
6790 2007-09-05 Stefan Kost <ensonic@users.sf.net>
6793 Give some log-messages a category.
6795 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
6797 * gst/gststructure.c:
6798 (gst_structure_fixate_field_nearest_fraction):
6799 Fix fraction list fixation code. Take the fraction with the smallest
6800 difference with the target instead of the first one in the list.
6802 * tests/check/gst/gststructure.c: (GST_START_TEST),
6803 (gst_structure_suite):
6804 Added test to verify correct fraction list fixation behaviour.
6806 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
6808 * win32/common/libgstreamer.def:
6809 Export gst_bus_add_signal_watch too.
6811 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
6813 * docs/libs/gstreamer-libs-sections.txt:
6814 Add new methods to docs.
6816 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6817 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
6818 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
6819 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
6820 * libs/gst/base/gstbasesink.h:
6821 Add ts-offset property to fine-tune the synchronisation.
6822 API: GstBaseSink::ts-offset property
6823 API: gst_base_sink_set_ts_offset()
6824 API: gst_base_sink_get_ts_offset()
6826 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
6828 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6829 (gst_base_sink_init), (gst_base_sink_set_sync),
6830 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
6831 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
6832 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
6833 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
6834 (gst_base_sink_get_property), (gst_base_sink_change_state):
6835 * libs/gst/base/gstbasesink.h:
6836 Add async property to instruct the sink never to inform the parent about
6837 ASYNC state changes, update docs.
6838 Check argument with g_return_* for the public functions.
6839 API: GstBaseSink::async property
6840 API: gst_base_sink_set_async_enabled()
6841 API: gst_base_sink_is_async_enabled()
6843 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
6845 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
6848 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6849 (gst_base_src_default_query), (gst_base_src_wait),
6850 (gst_base_src_do_sync), (gst_base_src_change_state):
6851 Rearrange some code so that we can add support for measuring the
6854 2007-08-27 Stefan Kost <ensonic@users.sf.net>
6856 * docs/random/ensonic/dynlink.txt:
6857 More thoughs on this.
6859 * plugins/elements/gstcapsfilter.c:
6860 Add bugzilla ticket number to FIXME comment.
6862 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
6864 * docs/design/part-TODO.txt:
6865 * docs/design/part-block.txt:
6868 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6871 Revert patch which uses $(gst_headers) instead of $^ because it
6874 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
6876 * tests/check/gst/gstbin.c: (GST_START_TEST):
6877 Fix leaks in the new unit test.
6879 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
6882 Don't use GST_INFO before the debug system is actually initialised
6883 (shouldn't do any harm, but won't print anything either, so we can
6884 just as well remove it).
6887 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
6888 compilers that don't support variadic macros (such as MSVC), should
6889 check for debug_level <= __gst_debug_min as well, since that's the
6890 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
6891 inline helper functions. Should improve performance a bit, but also
6892 makes sure uses of GST_INFO et.al are ignored if the debugging
6893 system isn't initialised yet (instead of printing an assertion
6896 2007-08-23 Stefan Kost <ensonic@users.sf.net>
6898 patch by: David Nečas <yeti@physics.muni.cz>
6901 Replace some non portable makefile constructs.
6903 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6905 * common/gtk-doc-plugins.mak:
6906 Grrrrr. Don't remove the types file on make clean.
6908 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6910 * tools/gst-launch.1.in:
6911 Add colorspace to example pipeline. Fixes #458274.
6913 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6915 * docs/random/release:
6916 The release manager should run 'make download-po' before making a
6917 release to make sure translations are up-to-date.
6923 Add some new translations.
6925 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6927 * tools/gst-launch.c: (event_loop), (main):
6928 Don´t try to do any state management when a live pipeline posts
6930 Also make the buffering string translatable.
6932 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6934 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6935 (bin_handle_async_start), (gst_bin_handle_message_func):
6937 When adding elements, insert messages into the bus of the newly added
6938 element and make sure the element is the source of the message. This
6939 allows the parent bin to intercept the message and do the
6940 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6941 messages to the app (which is not allowed).
6944 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6945 Fix testsuite so that is does not work around messages that should not
6946 have been posted in the first place.
6948 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6950 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6951 (update_degree), (gst_bin_sort_iterator_next):
6952 Fix annoying bug in the sorted iterator where a sink that is not really
6953 a sink (when it has downstream links) screwed up the iterator.
6955 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6956 Unit test to verify the fix.
6958 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6961 Add some more docs for the messages.
6963 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6964 (gst_base_sink_query):
6965 Add some more debugging.
6967 * tools/gst-launch.c: (event_loop):
6968 When interrupting, don't try to set pipeline to PAUSED twice.
6970 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6973 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6974 (bin_handle_async_start), (gst_bin_handle_message_func):
6975 Move ASYNC_START message posting to where it belongs, similar to
6977 Don't post ASYNC_START when we are in error.
6978 Post ASYNC_START when we added an async element to a bin.
6980 2007-08-14 Julien MOUTTE <julien@moutte.net>
6982 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6983 generation from vargs. Fixes #466595.
6985 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6987 * gst/gstbin.c: (gst_bin_element_set_state):
6988 Always change the state of a NO_PREROLL element even if it has ASYNC
6989 elements inside (in case of a bin).
6991 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6992 Unit test for this case.
6994 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6996 * libs/gst/check/gstbufferstraw.c:
6997 * libs/gst/check/gstcheck.h:
6998 * libs/gst/controller/gstcontroller.c:
6999 * libs/gst/controller/gstcontrolsource.h:
7000 * libs/gst/controller/gstlfocontrolsource.h:
7001 * plugins/elements/gstcapsfilter.h:
7002 * plugins/elements/gstfdsink.h:
7003 * plugins/elements/gstfdsrc.h:
7004 Add more missing docs.
7006 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7008 * gst/gststructure.c:
7009 Add Since tag to docs.
7011 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7013 * docs/gst/gstreamer-sections.txt:
7014 * gst/gststructure.c: (gst_structure_get_uint):
7015 * gst/gststructure.h:
7016 Add function to get uint from a structure.
7017 API: gst_structure_get_uint()
7019 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
7021 * gst/gstcaps.c: (gst_caps_set_simple_valist),
7022 (gst_caps_intersect):
7023 Fix proper check for simple caps.
7025 2007-08-10 Stefan Kost <ensonic@users.sf.net>
7027 * docs/gst/Makefile.am:
7028 * docs/libs/Makefile.am:
7029 Remove cruft and do some cleanups.
7031 * docs/gst/gstreamer-docs.sgml:
7032 * docs/libs/gstreamer-libs-docs.sgml:
7033 Prepare for comming gtkdoc features (rebase against online docs).
7035 2007-08-10 Michael Smith <msmith@fluendo.com>
7037 * docs/gst/gstreamer-sections.txt:
7038 Add gst_registry_add_path to docs.
7040 2007-08-10 Michael Smith <msmith@fluendo.com>
7042 * gst/gstregistry.h:
7043 Add gst_registry_add_path, which was missing from this header.
7045 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
7047 * libs/gst/controller/gstlfocontrolsource.c:
7050 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7052 * libs/gst/base/gstbasesink.c:
7053 Don't send an async_start message during downwards state change if
7054 target state is less than READY
7056 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7058 translated by: Gabor Kelemen <kelemeng@gnome.hu>
7062 Added Hungarian translation.
7064 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7071 Updated translations.
7073 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7075 * libs/gst/controller/Makefile.am:
7076 Dist gstlfocontrolsourceprivate.h
7078 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
7080 * docs/libs/gstreamer-libs.types:
7081 Don't register the enum type gst_lfo_waveform_get_type() in the
7082 .types file - only GObject derived types belong.
7084 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7086 Patch by: <arenevier at fdn dot fr>
7089 Remove comma from last element in enum to avoid compile errors when
7090 using -pendantic. Fixes #464366.
7092 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
7094 * docs/design/part-TODO.txt:
7095 Add some more TODO items
7097 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7100 * gst/gstcaps.c: (gst_caps_intersect):
7101 Optimize trivial intersection case between identical caps pointers.
7103 * gst/gstelement.c: (gst_element_continue_state),
7104 (gst_element_set_state_func):
7106 Fix spelling and grammar mistakes.
7108 2007-08-05 Stefan Kost <ensonic@users.sf.net>
7112 Update POTFILES. Fixes #461599.
7114 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7117 Fix confusing typo in debug output.
7119 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
7121 reviewed by: Stefan Kost <ensonic@users.sf.net>
7123 * libs/gst/controller/Makefile.am:
7124 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7125 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7126 (gst_lfo_control_source_new),
7127 (gst_lfo_control_source_set_waveform),
7128 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7129 (gst_lfo_control_source_finalize),
7130 (gst_lfo_control_source_dispose),
7131 (gst_lfo_control_source_set_property),
7132 (gst_lfo_control_source_get_property),
7133 (gst_lfo_control_source_class_init):
7134 * libs/gst/controller/gstlfocontrolsource.h:
7135 * libs/gst/controller/gstlfocontrolsourceprivate.h:
7136 API: Add GstLFOControlSource, a control source that gives values
7137 for specific timestamps based on several periodic waveforms.
7140 * tests/check/libs/controller.c: (GST_START_TEST),
7141 (gst_controller_suite):
7142 * docs/libs/gstreamer-libs-docs.sgml:
7143 * docs/libs/gstreamer-libs-sections.txt:
7144 * docs/libs/gstreamer-libs.types:
7145 Add documentation and unit tests for GstLFOControlSource.
7147 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7152 === release 0.10.14 ===
7154 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
7157 releasing 0.10.14, "Breathing Vacuum"
7159 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
7161 * gst/gstelement.c: (gst_element_class_set_details_simple):
7163 Make strings passed to gst_element_class_set_details_simple()
7164 constant, as they should be (#462752).
7166 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
7168 * gst/gstbin.c: (gst_bin_change_state_func),
7169 (bin_handle_async_done), (gst_bin_handle_message_func):
7170 Don't forget about the fact that some element went ASYNC even after a
7171 resync. This makes us post the ASYNC_DONE message correctly.
7174 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7176 * gst/gstregistry.c: (gst_registry_add_feature):
7177 When replacing an existing feature in the registry, make sure to
7178 continue holding a reference until we've replaced the name string
7179 within our feature hash table. Make sure to use g_hash_table_replace
7180 instead of g_hash_table_insert to ensure the new name string is used
7181 as a key instead of the old one that we're about to free.
7184 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7186 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7187 (gst_plugin_feature_set_name):
7188 Revert patch from #459466 until after the release and we can work
7189 out exactly what the problem is (if any).
7191 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7193 * docs/gst/gstreamer-sections.txt:
7196 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7198 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7200 * docs/libs/Makefile.am:
7201 Include our build-prefix libs and includes before the generic ones to
7202 avoid linking against the installed libs when we want the build-tree
7205 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
7207 Patch by: Steve Fink <sphink gmail com>
7209 * docs/pwg/building-testapp.xml:
7210 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7211 if people try to build or install the example from the plugin
7212 template against a GStreamer from package using the configure
7215 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
7217 Patch by: Steve Fink <sphink gmail com>
7219 * tools/gst-inspect.1.in:
7220 Document --print-all and --print-plugin-auto-install-info command
7221 line options in man page.
7223 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7225 * docs/gst/gstreamer-sections.txt:
7226 Add docs for new api function.
7228 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
7230 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7231 * gst/gstelementfactory.h:
7232 API: gst_element_factory_has_interface()
7233 Added method to check if an element factory implements a named
7236 2007-07-25 Stefan Kost <ensonic@users.sf.net>
7239 * docs/gst/gstreamer.types.in:
7240 Another conditional doc check.
7243 * gst/gstparamspecs.h:
7244 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7249 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7251 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7252 (gst_registry_binary_load_feature),
7253 (gst_registry_binary_load_plugin),
7254 (gst_registry_binary_read_cache):
7255 Print error just once and with additional info.
7257 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7259 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7260 (helper_find_suggest), (helper_find_get_length),
7261 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7262 (gst_type_find_helper_for_buffer):
7263 Cleanup the typefindhelper code and add private doc comments.
7265 2007-07-24 Edward Hervey <bilboed@bilboed.com>
7267 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7268 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7269 Fix capsfilter for cases where the caps set on capsfilter will provide
7270 additional information.
7273 2007-07-24 Stefan Kost <ensonic@users.sf.net>
7275 * gst/gsttypefindfactory.c:
7276 Fix docs that recommened wrong function to use.
7278 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7280 * tools/gst-inspect.c: (print_plugin_features):
7281 Also give media-type for typefinders in element output.
7283 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7285 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7286 (gst_registry_remove_features_for_plugin_unlocked),
7287 (gst_registry_add_feature), (gst_registry_remove_feature),
7288 (gst_registry_lookup_feature_locked):
7289 * gst/gstregistry.h:
7290 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7293 2007-07-23 Stefan Kost <ensonic@users.sf.net>
7295 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7296 (gst_plugin_feature_set_name):
7297 Avoid double memory usage for pluginfeature names. Fixes #459466.
7299 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7302 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7303 driving the pipeline may need to explicitly check for NOT_LINKED as
7304 well, since IS_FATAL doesn't cover that.
7306 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
7308 * docs/pwg/advanced-types.xml:
7309 Fix typo and duplicate entry in video formats list.
7311 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
7313 * libs/gst/controller/gstinterpolation.c:
7314 Also round to the nearest int when using cubic interpolation.
7316 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
7318 * libs/gst/controller/gstinterpolation.c:
7319 When linearly interpolating integer types, round to the nearest int
7320 by adding 0.5. Don't do it for float/double types.
7321 Fixes the failing controller test on my machine, which is somehow
7322 rounding differently than on the buildbots.
7324 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7326 * tools/gst-plot-timeline.py:
7327 Better log parsing (categories can have -). Adjust text vs. lines, so
7328 that they span the same y-range.
7330 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7332 * docs/random/ensonic/audiobaseclasses.txt:
7333 * docs/random/ensonic/dynlink.txt:
7334 * docs/random/ensonic/profiling.txt:
7337 * docs/random/moving-plugins:
7338 Add note to use g_assert type macros.
7340 2007-07-20 Stefan Kost <ensonic@users.sf.net>
7343 * libs/gst/check/Makefile.am:
7344 Add libm check as we use in for plugins.
7346 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
7348 * gst/gstbin.c: (gst_bin_continue_func):
7349 Check that the state_cookie hasn't changed since the continue_func
7350 was scheduled. Avoids problems where the state changes back to
7351 something it shouldn't be because it was changed in the meantime.
7353 2007-07-17 Stefan Kost <ensonic@users.sf.net>
7355 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7356 (gst_registry_binary_save_string),
7357 (gst_registry_binary_save_pad_template),
7358 (gst_registry_binary_save_feature),
7359 (gst_registry_binary_save_plugin),
7360 (gst_registry_binary_load_feature),
7361 (gst_registry_binary_load_plugin),
7362 (gst_registry_binary_read_cache):
7363 Fix memory leak. Be less verbose in the log.
7365 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7367 * tests/check/elements/.cvsignore:
7368 Add file to cvsignore as commanded.
7370 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7372 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7373 (mq_dummypad_event), (run_output_order_test):
7374 Use a GStaticMutex to protect all cases where libcheck
7375 fail_if/fail_unless macros might be called from multiple threads
7376 simultaneously to avoid errors like:
7377 "check_pack.c:107: :-1081725400:Bad message type arg"
7379 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7381 * tests/check/pipelines/stress.c: (GST_START_TEST):
7382 Make sure we set the pipeline back to the NULL state before
7383 dropping our final reference.
7385 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
7387 * tests/check/elements/tee.c: (GST_START_TEST):
7388 Make the tee stress-test a little less stressful so it doesn't just
7389 time out on slow-machines, and remove a small race when it's starting
7390 up by adding a get_state() call.
7392 2007-07-16 Stefan Kost <ensonic@users.sf.net>
7395 Avoid reading registry twice on startup. Fixes #457322.
7397 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7399 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7400 * pkgconfig/gstreamer-check.pc.in:
7401 Substitute the CFLAGS for libcheck into our .pc file too so that
7402 dependent modules will pick it up properly if libcheck is installed
7403 into some other prefix.
7405 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
7408 Revert the pkg-config check for libcheck, since it pulls in the
7409 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7410 a proper solution, either from the check project, or something else.
7412 2007-07-12 Stefan Kost <ensonic@users.sf.net>
7415 Use pkg-config to locate check.
7417 2007-07-10 Stefan Kost <ensonic@users.sf.net>
7424 Add deprecation guards.
7426 * libs/gst/base/gstcollectpads.h:
7427 Don't document object (this is implicitly private).
7429 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
7431 * gst/gststructure.c: (gst_structure_parse_value):
7432 When deserialising foo=bar without a type cast, check if it's a
7433 boolean before falling back to a string type, otherwise things like
7434 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7435 because the filtercaps end up having a signed=(string)true field,
7436 which causes problems later when intersection caps.
7438 * tests/check/gst/gststructure.c: (GST_START_TEST):
7439 Add a unit test for this.
7441 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
7443 Reviewed by: Stefan Kost <ensonic@users.sf.net>
7445 * libs/gst/controller/Makefile.am:
7446 * libs/gst/controller/gstcontroller.c:
7447 (gst_controlled_property_add_interpolation_control_source),
7448 (gst_controlled_property_new), (gst_controlled_property_free),
7449 (gst_controller_find_controlled_property),
7450 (gst_controller_new_valist), (gst_controller_new_list),
7451 (gst_controller_new), (gst_controller_remove_properties_valist),
7452 (gst_controller_remove_properties_list),
7453 (gst_controller_remove_properties),
7454 (gst_controller_set_property_disabled),
7455 (gst_controller_set_disabled), (gst_controller_set_control_source),
7456 (gst_controller_get_control_source), (gst_controller_get),
7457 (gst_controller_sync_values), (gst_controller_get_value_array),
7458 (_gst_controller_dispose), (gst_controller_get_type),
7459 (gst_controlled_property_set_interpolation_mode),
7460 (gst_controller_set), (gst_controller_set_from_list),
7461 (gst_controller_unset), (gst_controller_unset_all),
7462 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7463 * libs/gst/controller/gstcontroller.h:
7464 * libs/gst/controller/gstcontrollerprivate.h:
7465 * libs/gst/controller/gstcontrolsource.c:
7466 (gst_control_source_class_init), (gst_control_source_init),
7467 (gst_control_source_get_value),
7468 (gst_control_source_get_value_array), (gst_control_source_bind):
7469 * libs/gst/controller/gstcontrolsource.h:
7470 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7471 (gst_object_get_control_source):
7472 * libs/gst/controller/gstinterpolation.c:
7473 (gst_interpolation_control_source_find_control_point_node),
7474 (gst_interpolation_control_source_get_first_value),
7475 (_interpolate_none_get), (interpolate_none_get),
7476 (interpolate_none_get_boolean_value_array),
7477 (interpolate_none_get_enum_value_array),
7478 (interpolate_none_get_string_value_array),
7479 (_interpolate_trigger_get), (interpolate_trigger_get),
7480 (interpolate_trigger_get_boolean_value_array),
7481 (interpolate_trigger_get_enum_value_array),
7482 (interpolate_trigger_get_string_value_array):
7483 * libs/gst/controller/gstinterpolationcontrolsource.c:
7484 (gst_control_point_free), (gst_interpolation_control_source_reset),
7485 (gst_interpolation_control_source_new),
7486 (gst_interpolation_control_source_set_interpolation_mode),
7487 (gst_interpolation_control_source_bind),
7488 (gst_control_point_compare), (gst_control_point_find),
7489 (gst_interpolation_control_source_set_internal),
7490 (gst_interpolation_control_source_set),
7491 (gst_interpolation_control_source_set_from_list),
7492 (gst_interpolation_control_source_unset),
7493 (gst_interpolation_control_source_unset_all),
7494 (gst_interpolation_control_source_get_all),
7495 (gst_interpolation_control_source_get_count),
7496 (gst_interpolation_control_source_init),
7497 (gst_interpolation_control_source_finalize),
7498 (gst_interpolation_control_source_dispose),
7499 (gst_interpolation_control_source_class_init):
7500 * libs/gst/controller/gstinterpolationcontrolsource.h:
7501 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7502 API: Refactor GstController into the core controller which can take
7503 a GstControlSource for providing actual values for timestamps.
7504 Implement a interpolation control source and use this for backward
7505 compatibility, deprecate a bunch of functions that are now handled
7506 by GstControlSource or GstInterpolationControlSource.
7507 Make it possible to disable the controller completely or only for
7508 specific properties. Fixes #450711.
7509 * docs/libs/gstreamer-libs-docs.sgml:
7510 * docs/libs/gstreamer-libs-sections.txt:
7511 * docs/libs/gstreamer-libs.types:
7512 Add new functions and classes to the docs.
7513 * tests/check/libs/controller.c: (GST_START_TEST),
7514 (gst_controller_suite):
7515 * tests/examples/controller/audio-example.c: (main):
7516 Port unit test and example to the new API and add some new
7519 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
7521 Patch by: Mark Nauwelaerts <manauw at skynet be>
7523 * plugins/elements/gstmultiqueue.c:
7524 (gst_multi_queue_get_internal_links), (apply_buffer),
7525 (single_queue_overrun_cb), (gst_single_queue_new):
7526 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7527 the pipeline layout can be tracked correctly. Fixes #453732.
7529 2007-07-05 Stefan Kost <ensonic@users.sf.net>
7531 * docs/gst/Makefile.am:
7532 * docs/libs/Makefile.am:
7533 * docs/plugins/Makefile.am:
7534 Simplify --extra-dir as gtkdoc scans recursively.
7536 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7538 * tools/gst-launch.c: (main):
7539 When we got an error, there is no point in waiting for preroll when
7542 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
7544 * plugins/elements/gsttee.c: (gst_tee_base_init),
7545 (gst_tee_request_new_pad), (gst_tee_release_pad),
7546 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7547 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7549 Be a lot smarter when deciding what srcpad to use for proxying
7550 the buffer_alloc. Also handle pad added/removed when doing so.
7552 Keep track of what pads we already pushed on in case we have pads
7553 added/removed while pushing. Fixes #374639
7555 * tests/check/Makefile.am:
7556 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7558 Added unit test for pad resync.
7560 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7564 Updated translations.
7566 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
7568 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7572 Added new Finnish translation.
7574 2007-06-28 Wim Taymans <wim@fluendo.com>
7576 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7577 (single_queue_overrun_cb):
7578 When figuring out when a queue is filled, use our internal time estimate
7579 based on segments, just like check_full does.
7581 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7583 * gst/gstminiobject.c: (gst_mini_object_get_type):
7584 Remove 3 do-nothing methods.
7586 2007-06-27 Wim Taymans <wim@fluendo.com>
7588 Patch by: Tim Angus <tim at ngus dot net>
7590 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7591 (gst_capsfilter_set_property):
7592 Take a reference instead of a copy when setting "caps".
7593 Fix documentation to clarify this behaviour. Fixes #449414.
7595 2007-06-27 Stefan Kost <ensonic@users.sf.net>
7597 * gst/gstindexfactory.c: (gst_index_factory_get_type):
7598 * gst/gstplugin.c: (gst_plugin_init):
7599 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7600 * gst/gstquery.c: (gst_query_get_type):
7601 * gst/gstregistry.c: (gst_registry_init):
7602 * gst/gsturi.c: (gst_uri_handler_base_init):
7603 Remove empty instance_init() functions to save relocs and lessen the
7604 noise. Remove some of the function prototypes that are doubled by
7607 2007-06-27 Wim Taymans <wim@fluendo.com>
7609 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7611 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7612 Add peer and direction in the XML serialisation of ghostpads.
7615 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7618 Preserve useful information, thanks Tim.
7620 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
7622 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7623 (gst_single_queue_flush), (apply_segment), (apply_buffer),
7624 (gst_single_queue_push_one), (gst_multi_queue_loop),
7625 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7626 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7627 (compute_high_id), (gst_single_queue_new):
7628 * plugins/elements/gstmultiqueue.h:
7629 Take the multiqueue lock when updating the fill level so we don't get
7632 After applying a buffer or event on the src pad segment, make sure to
7633 call gst_data_queue_limits_changed() to get the data queue to unblock
7634 and check the filled state again.
7636 Rework the not-linked pad handling so the logic is that not-linked
7637 pads can push as fast as they like, but only so they never get
7638 ahead of any linked pads.
7640 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7641 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7642 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7644 Add a test to check that not-linked pads always stay behind
7649 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
7651 * docs/random/release:
7652 Some updates to the release procedure.
7654 2007-06-26 Stefan Kost <ensonic@users.sf.net>
7656 * gst/gstelementfactory.c: (__gst_element_details_clear):
7657 Microoptimization that saves stunning 80 bytes.
7659 2007-06-25 Stefan Kost <ensonic@users.sf.net>
7661 * docs/plugins/gstreamer-plugins.args:
7662 * docs/plugins/inspect/plugin-coreelements.xml:
7663 * docs/plugins/inspect/plugin-coreindexers.xml:
7664 Update docs with caps info.
7666 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7669 Updated Italian translation.
7671 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7675 Update Vietnamese translations.
7677 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7679 * libs/gst/base/gstbasesink.c:
7680 Remove unused signal enum.
7682 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7684 * docs/gst/gstreamer-sections.txt:
7686 * gst/gstutils.c: (gst_type_register_static_full):
7687 Beef up and include the docs for gst_type_register_static_full and
7688 gst_element_class_set_details_simple and add the API keyword
7691 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
7693 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7694 (update_time_level), (gst_single_queue_push_one),
7695 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7696 (single_queue_overrun_cb), (single_queue_underrun_cb),
7697 (single_queue_check_full):
7698 Fix setting max-* properties after adding queues.
7699 Use IS_FILLED for checking visible items.
7700 Signal overrun if multiple queues overrun.
7701 Add extra debug output.
7702 Patch by: Wim Taymans <wim@fluendo.com>
7704 2007-06-21 Stefan Kost <ensonic@users.sf.net>
7706 * gst/gstelement.c: (gst_element_class_set_details_simple):
7708 * gst/gstutils.c: (gst_type_register_static_full):
7710 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
7711 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
7712 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
7713 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
7714 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
7715 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
7716 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
7717 * plugins/elements/gstidentity.c: (gst_identity_base_init):
7718 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
7719 * plugins/elements/gstqueue.c: (gst_queue_base_init),
7720 (apply_buffer), (gst_queue_chain):
7721 * plugins/elements/gsttee.c: (gst_tee_base_init):
7722 * plugins/elements/gsttypefindelement.c:
7723 (gst_type_find_element_base_init),
7724 (gst_type_find_element_class_init):
7725 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
7726 API: add gst_type_register_static_full
7727 API: add gst_element_class_set_details_simple
7729 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
7731 * docs/pwg/advanced-types.xml:
7732 Fix typo in iana.org URI.
7734 2007-06-19 Andy Wingo <wingo@pobox.com>
7736 * tests/check/pipelines/simple-launch-lines.c
7737 (test_state_change_returns): Enable pull-mode tests now that
7738 basesink has been fixed.
7740 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
7741 Changed from gst_base_sink_is_prerolled, reversing the sense of
7742 the return value. Returns FALSE also if the sink is in pull mode,
7743 in which case it needs no preroll.
7744 (gst_base_sink_query, gst_base_sink_change_state): Update for
7745 needs_preroll change.
7746 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
7747 chaining up, in which we return SUCCESS directly if we activated
7748 in pull mode instead of ASYNC. Involves countering an async_start
7749 message sent before chaining up; not sure if this is correct, in
7750 an ideal world we only send async-start when activating in push
7753 * tests/check/pipelines/simple-launch-lines.c
7754 (test_state_change_returns): New test, partially disabled until
7757 2007-06-19 Wim Taymans <wim@fluendo.com>
7759 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7760 (gst_multi_queue_sink_event):
7763 2007-06-19 Wim Taymans <wim@fluendo.com>
7765 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7766 (gst_bin_change_state_func), (bin_push_state_continue),
7767 (bin_handle_async_start), (bin_handle_async_done),
7768 (gst_bin_handle_message_func):
7769 Move the common code for posting state-change messages into
7771 Broadcast the state signal after we posted the messages.
7772 Mark the bin as busy when it's doing a state-change.
7773 Make sure async-start/done messages don't interfere with the bin's
7774 state when it's busy.
7775 After the state change, let the bin check which elements completed the
7776 state change while it was busy so that it can update its state.
7778 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
7780 * docs/random/release:
7781 Add a note about updating the doap file to the release checklist
7783 2007-06-18 Wim Taymans <wim@fluendo.com>
7785 * plugins/elements/gstmultiqueue.c: (apply_buffer),
7786 (gst_single_queue_push_one), (gst_multi_queue_chain),
7787 (gst_multi_queue_sink_event):
7788 Make sure we don't reference the buffer/event after we have given away
7789 ownership in the queue.
7791 2007-06-18 Wim Taymans <wim@fluendo.com>
7793 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7794 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
7795 Update queue state _after_ adding the item in the queue because else we
7796 could end up being full without the element added yet.
7798 2007-06-18 Wim Taymans <wim@fluendo.com>
7800 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
7801 (gst_bin_remove_func), (gst_bin_get_state_func),
7802 (gst_bin_element_set_state), (gst_bin_continue_func),
7803 (bin_push_state_continue), (bin_handle_async_start),
7804 (bin_handle_async_done), (gst_bin_handle_message_func):
7806 Immediatly commit the toplevel bin state when receiving an async-done
7807 message. This enables us to avoid spawning a thread to commit the state
7808 in some common cases and it also avoids some races.
7809 Avoid spawning a state thread when adding/removing async elements to a
7810 toplevel bin. Instead we immediatly update the bin state.
7811 Get rid of iterating all the children when getting the state in the bin
7812 because it is now always up-to-date.
7813 Fix bug where locked elements would always return _SUCCESS even it they
7814 returned NO_PREROLL before being locked.
7815 Fix the order of the state_change, async-start/done messages that was
7816 sometimes incorrect.
7817 Mark the state_dirty field as deprecated, we don't need it anymore as we
7818 are always up-to-date.
7820 * gst/gstelement.c: (gst_element_get_state_func),
7821 (gst_element_continue_state):
7822 Small debug inprovements.
7823 Return the previous element state return when nothing is pending instead
7824 of blindly returning SUCCESS.
7826 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
7828 Add a whole bunch of new testcases.
7830 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7834 Update translations.
7836 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
7839 Fix typo in the docs.
7841 2007-06-15 Wim Taymans <wim@fluendo.com>
7843 * docs/libs/gstreamer-libs-sections.txt:
7844 Add docs for new methods.
7846 2007-06-15 Wim Taymans <wim@fluendo.com>
7848 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
7849 (gst_multi_queue_item_new):
7850 Don't use GSlice because we don't depend on >= 2.10 yet.
7852 2007-06-15 Wim Taymans <wim@fluendo.com>
7854 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
7855 (update_time_level), (apply_segment), (apply_buffer),
7856 (gst_single_queue_push_one), (gst_multi_queue_item_new),
7857 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
7858 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
7859 (single_queue_underrun_cb), (single_queue_check_full):
7860 Remove debug printf.
7862 2007-06-15 Wim Taymans <wim@fluendo.com>
7864 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
7865 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
7866 (gst_data_queue_set_flushing), (gst_data_queue_push),
7867 (gst_data_queue_pop), (gst_data_queue_drop_head),
7868 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
7869 * libs/gst/base/gstdataqueue.h:
7871 Added methods to get the current levels and to inform the queue that the
7872 'full' limits changed.
7874 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7875 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7876 (gst_single_queue_flush), (update_time_level), (apply_segment),
7877 (apply_buffer), (gst_single_queue_push_one),
7878 (gst_multi_queue_item_steal_object),
7879 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7880 (gst_multi_queue_loop), (gst_multi_queue_chain),
7881 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7882 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
7883 (gst_multi_queue_src_query), (single_queue_overrun_cb),
7884 (single_queue_underrun_cb), (single_queue_check_full),
7885 (gst_single_queue_new):
7886 Keep track of time in the queue by measuring the difference between
7887 running_time on input and output. This gives more accurate results and
7888 can compensate for segments correctly.
7889 Make a queue by default only 5 buffers deep. We will now increase the
7890 buffer size depending on the filledness of the other queues.
7891 Factor out commong flush code.
7892 Make sure we don't add additional refcounts to buffers when we can avoid
7894 Propagate GstFlowReturn differently.
7895 Use GSlice for intermediate GstMultiQueueItems.
7897 Resize queues on over and underruns based on filled level of other
7899 When checking if the queue is filled, prefer to measure in time if we
7900 can and fall back to bytes when no time is known.
7902 * plugins/elements/gstqueue.c:
7905 2007-06-15 Wim Taymans <wim@fluendo.com>
7907 * libs/gst/base/gstbasetransform.c:
7908 (gst_base_transform_sink_event):
7909 Work around the brokenness of the event vmethod in basetransform. Prefer
7910 to return TRUE when the subclass returned FALSE (meaning don't forward
7913 * libs/gst/base/gstbasetransform.h:
7916 2007-06-15 Wim Taymans <wim@fluendo.com>
7918 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7919 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7920 (gst_base_src_default_query), (gst_base_src_get_range),
7921 (gst_base_src_start):
7922 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7925 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7927 * docs/pwg/advanced-types.xml:
7928 Added more formats to caps table.
7930 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7932 * tools/gst-launch.c: (main):
7933 Remove crufy code. GOption does not need this workaround.
7935 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7937 * libs/gst/controller/gstcontroller.c:
7938 (gst_controlled_property_set_interpolation_mode):
7939 Fix wrong getter for enums in controller.
7941 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7943 * libs/gst/check/gstcheck.c: (gst_check_init):
7944 Intercept criticals and warnings in the Gst-Phonon log domain, so
7945 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7948 2007-06-14 Edward Hervey <edward@fluendo.com>
7950 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7951 Since this file doesn't include "gst.h" it will not go through the
7952 macros that disable GST_LOG if debugging was disabled.
7954 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7956 * libs/gst/check/Makefile.am:
7957 * libs/gst/check/gstcheck.h:
7958 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7959 * pkgconfig/gstreamer-check.pc.in:
7960 Ugly 'fix' for the controller unit test on the p5 bot: in
7961 fail_unless_equals_float() check whether the values are 'almost
7962 equal' by allowing a small absolute error, which should be good
7963 enough for our use cases (normal numbers and values close to 0).
7964 Proper fixage left to floating point arithmetic aficionados.
7966 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7968 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7969 (gst_base_sink_render_object), (gst_base_sink_get_position):
7970 Add two breaks thats where missing.
7972 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7974 * docs/libs/gstreamer-libs-sections.txt:
7975 * libs/gst/check/gstcheck.h:
7976 API: add fail_unless_equals_float() and assert_equals_float().
7977 Add documentation for some of the macros.
7979 * tests/check/libs/controller.c: (GST_START_TEST):
7980 Use newly-added asserts.
7982 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7984 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7985 Show the caps change in the log to help spotting the case of not
7986 exactly matching caps.
7988 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7990 * docs/pwg/building-boiler.xml:
7991 Fix typos, spotted by Thijs Vermeir (#447190).
7993 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7995 * docs/plugins/tmpl/.cvsignore:
7996 Ignore file to keep the buildbots happy
7998 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8000 * docs/plugins/Makefile.am:
8001 * docs/plugins/gstreamer-plugins-docs.sgml:
8002 * docs/plugins/gstreamer-plugins-sections.txt:
8003 Pull fdsink into the docs too.
8005 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
8007 * libs/gst/controller/gstinterpolation.c:
8008 Actually use the new functions with min/max checks for the trigger and
8009 none interpolation modes for get() and get_value_array() instead of
8012 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
8014 * libs/gst/controller/gstcontroller.c:
8015 (gst_controlled_property_free):
8016 Unset the minimum and maximum GValues when freeing the corresponding
8017 GstControllerProperty struct.
8019 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
8021 * libs/gst/controller/gstcontroller.c:
8022 (gst_controlled_property_new):
8023 * libs/gst/controller/gstcontrollerprivate.h:
8024 * libs/gst/controller/gstinterpolation.c:
8025 (gst_controlled_property_find_control_point_node),
8026 (interpolate_none_get), (interpolate_none_get_enum_value_array),
8027 (interpolate_none_get_string_value_array),
8028 (interpolate_trigger_get),
8029 (interpolate_trigger_get_enum_value_array),
8030 (interpolate_trigger_get_string_value_array):
8031 Protect against values larger or smaller than the minimum or maximum
8032 allowed value for the property when using values that can be compared.
8034 Optimize trigger interpolator a bit by taking the last requested value
8035 into account instead of always looping through the complete list.
8037 Fix coding style a bit, everywhere else we use "return foo" instead
8040 * tests/check/libs/controller.c: (GST_START_TEST),
8041 (gst_controller_suite):
8042 Add unit test for the protection against too large or too small
8045 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
8047 * docs/random/slomo/controller.txt:
8048 Add some thoughts about the future of the controller.
8050 2007-06-08 Wim Taymans <wim@fluendo.com>
8052 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8053 Don't overflow in retimestamping code.
8055 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
8057 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8058 Use gst_util_guint64_to_gdouble for conversions.
8059 * win32/common/libgstreamer.def:
8060 Add new exported functions.
8062 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
8065 Small docs addition.
8067 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8070 Remove that test line again.
8072 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8075 Test commit mail sending.
8077 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8080 Fix typo and test commit mail sending.
8082 2007-06-07 Stefan Kost <ensonic@users.sf.net>
8084 * tests/examples/controller/audio-example.c:
8085 Improve comment and test commit mail sending.
8087 2007-06-07 Wim Taymans <wim@fluendo.com>
8089 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8090 (gst_bin_remove_func), (gst_bin_element_set_state),
8091 (bin_handle_async_start), (bin_handle_async_done),
8092 (gst_bin_handle_message_func):
8093 Add helper function to find messages.
8094 Generate the async-done messages together with the state change
8096 Small cleanups in handling toplevel bins.
8098 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8100 * libs/gst/base/gstdataqueue.c:
8101 * libs/gst/base/gstdataqueue.h:
8102 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8103 (gst_multi_queue_item_new), (gst_multi_queue_chain),
8104 (gst_multi_queue_sink_event):
8105 * tests/check/elements/multiqueue.c: (multiqueue_suite):
8106 Fix multiqueue leaking buffers and events when downstream or the
8107 queue are flushing. Make refcounting assumptions explicit and
8108 document them (shouldn't break existing code that uses it other than
8109 maybe leak miniobjects, but that already happens anyway). Add unit
8110 test for the most common flushing case. Fixes #423700.
8112 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8114 * libs/gst/controller/gstcontroller.c:
8115 Clarify docs: The get_all, get_value_array(s) functions
8116 don't modify the GObject properties.
8118 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
8120 * libs/gst/controller/gstcontroller.c:
8121 (gst_controlled_property_set_interpolation_mode),
8122 (gst_controlled_property_prepend_default),
8123 (gst_controlled_property_new), (gst_controller_set_unlocked),
8124 (gst_controller_set), (gst_controller_set_from_list),
8125 (gst_controller_unset), (gst_controller_unset_all):
8126 * libs/gst/controller/gstcontrollerprivate.h:
8127 * libs/gst/controller/gstinterpolation.c:
8128 Factor out the 'set' logic into gst_controller_set_unlocked for the
8129 gst_controller_set and gst_controller_set_from_list functions.
8131 To make life of the interpolators easier always add a control point
8132 at timestamp zero with the default value.
8134 In the linear interpolator make things more obvious by better variable
8137 Implement cubic interpolation mode (by using a natural cubic spline)
8138 and map the quadratic interpolation mode to this too (as quadratic
8139 doesn't make much sense, see discussion on the list).
8141 * tests/check/libs/controller.c: (GST_START_TEST),
8142 (gst_controller_suite):
8143 Add unit test for the cubic interpolation mode and check everywhere
8144 if the interpolation mode could be set as expected.
8146 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8148 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8149 Don't use GLib-2.10 functions, we still depend on
8150 GLib-how-old-is-it-again-2.8.
8152 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
8154 * docs/gst/gstreamer-sections.txt:
8158 * gst/gstparamspecs.c: (_gst_param_fraction_init),
8159 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8160 (_gst_param_fraction_values_cmp),
8161 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8162 * gst/gstparamspecs.h:
8164 * tests/check/Makefile.am:
8165 * tests/check/gst/.cvsignore:
8166 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8167 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8168 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8169 (GST_START_TEST), (gst_param_spec_suite):
8170 API: add GstParamSpecFraction, so elements can have fraction
8171 properties without lots of painful string parsing (#444648).
8173 2007-06-05 Wim Taymans <wim@fluendo.com>
8175 * gst/gstobject.c: (gst_object_class_init):
8176 Fix signal signature.
8179 Add small clarification in the api docs.
8181 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8182 States are protected with object lock.
8184 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8187 I should probably be listed as an author by now.
8189 * docs/random/release:
8190 Update the release doc
8192 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
8195 Make docs for gst_value_compare() mention return enums that
8198 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8203 === release 0.10.13 ===
8205 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
8208 releasing 0.10.13, "With or without you"
8210 2007-05-25 Wim Taymans <wim@fluendo.com>
8212 * gst/gstbin.c: (bin_handle_async_done):
8213 Make sure that the child bin stops after completing the async state
8214 change so that the parent can continue the state change to PLAYING.
8217 2007-05-25 Wim Taymans <wim@fluendo.com>
8219 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8220 (unref_data), (gst_collect_pads_remove_pad),
8221 (gst_collect_pads_check_pads):
8222 Use additional refcounting to avoid crashes when dynamically adding and
8223 removing pads. Fixes #420206.
8225 2007-05-24 Wim Taymans <wim@fluendo.com>
8227 * tools/gst-launch.c: (event_loop):
8228 When buffering goes from a two digit to a single digit number, make sure
8229 to remove the old second digit by writing a blank over it.
8231 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8233 * libs/gst/base/gstdataqueue.c:
8234 Eliminate tabs and trailing comma in enum list; fix some typos.
8236 2007-05-24 Wim Taymans <wim@fluendo.com>
8238 * tests/check/gst/gstbin.c: (GST_START_TEST):
8239 Allow refcount of 3 and 4 because some state thread might still be busy
8242 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
8244 * plugins/elements/Makefile.am:
8245 * plugins/elements/gstmultiqueue.h:
8246 * plugins/elements/gstqueue.h:
8247 These are not installed headers, no need for padding.
8249 2007-05-24 Wim Taymans <wim@fluendo.com>
8251 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8252 (gst_bin_continue_func):
8253 Enable latency for next release.
8254 Restore STATE_LOCK around recalc_state that was left out during the
8255 rewrite and could result in racy behaviour when _get_state and
8256 recalc_state are run concurrently. See #440463.
8258 2007-05-23 Wim Taymans <wim@fluendo.com>
8260 * tests/check/gst/gstsystemclock.c: (store_callback),
8262 Improve test_async_order to also work when both timers are already
8263 expired when we get scheduled to check it.
8265 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8267 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8268 (gst_bin_set_property), (gst_bin_get_property),
8269 (gst_bin_remove_func), (gst_bin_handle_message_func):
8271 'private' is a c++ keyword, let's not use that in header files,
8272 otherwise c++ compilers will throw a tantrum.
8274 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8276 * plugins/elements/gstelements.c:
8277 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8278 (gst_file_sink_get_current_offset):
8279 * plugins/indexers/gstindexers.c: (plugin_init):
8280 Use #ifdef for HAVE_XYZ for consistency.
8282 * tests/check/Makefile.am:
8283 * tests/check/elements/.cvsignore:
8284 * tests/check/elements/filesink.c: (setup_filesink),
8285 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8286 Add some unit tests for filesink.
8288 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
8290 Patch by: Mark Nauwelaerts <manauw at skynet be>
8292 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8293 (gst_file_sink_query), (gst_file_sink_do_seek),
8294 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8295 * plugins/elements/gstfilesink.h:
8296 Fix position reporting; rename data_written member to current_pos to
8297 reflect its real meaning (fixes #412648).
8299 2007-05-22 Edward Hervey <edward@fluendo.com>
8301 * docs/gst/gstreamer-sections.txt:
8302 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8303 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8304 (gst_bin_remove_func), (gst_bin_handle_message_func):
8306 Add a property for bins that handle the state change of their childs.
8309 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
8311 * libs/gst/controller/gstinterpolation.c:
8312 Use an array of the correct type when using _get_value_array with
8313 linear interpolation.
8315 2007-05-22 Stefan Kost <ensonic@users.sf.net>
8317 * gst/gstelement.c (gst_element_requires_clock,
8318 gst_element_provides_clock, gst_element_request_pad,
8319 gst_element_class_set_details, gst_element_class_set_details_simple,
8320 gst_element_default_send_event, gst_element_abort_state,
8321 gst_element_continue_state, gst_element_set_state,
8322 gst_element_set_state_func, iterator_activate_fold_with_resync):
8323 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8324 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8325 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8326 gst_pad_get_range, gst_pad_pull_range):
8327 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8328 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8329 GstPadActivateModeFunction, GstPadChainFunction,
8330 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8331 GstPadFixateCapsFunction, GstPadTemplate):
8332 * gst/gstpipeline.c (gst_pipeline_change_state,
8333 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8334 gst_pipeline_set_clock, gst_pipeline_auto_clock,
8335 gst_pipeline_get_delay):
8336 Whitespace and docs fixes.
8338 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8340 * libs/gst/controller/gstinterpolation.c:
8341 (interpolate_trigger_get_enum_value_array),
8342 (interpolate_trigger_get_string_value_array):
8343 Add support for retrieving value arrays when using the trigger
8346 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8348 * libs/gst/controller/gstcontroller.c:
8349 (gst_controller_get_value_array):
8350 * libs/gst/controller/gstcontroller.h:
8351 Clarify the docs of gst_controller_get_value_array(): The array where
8352 the values should be written to must be allocated as there seems to be
8353 no way to get the size of a random GType. This doesn't change any
8354 behaviour. Also fix some typos all over the place and remove an unused,
8355 commented function that is not necessary as g_object_set() could be
8357 * tests/check/libs/controller.c: (GST_START_TEST),
8358 (gst_controller_suite):
8359 Add unit test for gst_controller_get_value_array().
8361 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
8363 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8365 Disable part of the gst_buffer_try_new_and_alloc test, because
8366 it can happily succeed on 64-bit systems where there's more address
8369 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
8371 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8372 Add unit test for the improved caps checking from bug #421543.
8374 2007-05-21 Wim Taymans <wim@fluendo.com>
8376 * docs/design/part-synchronisation.txt:
8379 * gst/gstbin.c: (gst_bin_query):
8380 * plugins/elements/gstqueue.c: (apply_segment):
8386 2007-05-21 Wim Taymans <wim@fluendo.com>
8388 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8389 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8390 (gst_pad_configure_src):
8391 Added simple version of improved caps checking. It was previously
8392 assumed that a setcaps function would check the validity of the caps but
8393 people prefer us to check caps against the template automatically.
8396 2007-05-21 Wim Taymans <wim@fluendo.com>
8398 * libs/gst/base/gstbasetransform.h:
8399 Fix macro for locking/unlocking the transform lock.
8401 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
8403 * docs/plugins/tmpl/.cvsignore:
8406 2007-05-18 Edward Hervey <edward@fluendo.com>
8408 * plugins/elements/gstqueue.c: (gst_queue_loop):
8409 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8410 for the subtle art of warning a potentially blocking thread that it
8411 should check the source pad return value, and relay the information
8414 2007-05-18 Edward Hervey <edward@fluendo.com>
8416 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8417 Release the queue lock !
8419 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8421 * docs/libs/gstreamer-libs-sections.txt:
8422 Add the two new controller functions to the appropiate places.
8424 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8426 reviewed by: Stefan Kost <ensonic@users.sf.net>
8428 * libs/gst/controller/gstcontroller.c:
8429 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8430 (_gst_controller_get_property), (_gst_controller_set_property),
8431 (_gst_controller_init), (_gst_controller_class_init):
8432 * libs/gst/controller/gstcontroller.h:
8433 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8434 (gst_object_get_control_rate), (gst_object_set_control_rate):
8435 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8436 Add API that provides sync suggestion timestamps for elements that
8437 call gst_object_sync_values() from which those elements can subdivide
8438 their processing loop to get the best results for the controlled
8439 properties. For now it just suggests last_sync + control_rate as
8440 new timestamp but this will be improved in the future.
8442 While doing that change the control-rate property to a GstClockTime
8443 from guint and change it's meaning from samples to nanoseconds as
8444 the GstController doesn't know anything about sampling rate. Strictly
8445 speaking this breaks ABI but as the control-rate property didn't do
8446 anything in the past and as such couldn't be used this should be no
8449 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8451 reviewed by: Stefan Kost <ensonic@users.sf.net>
8453 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8454 (gst_controller_unset_all):
8455 * libs/gst/controller/gstcontrollerprivate.h:
8456 * libs/gst/controller/gstinterpolation.c:
8457 (gst_controlled_property_find_control_point_node):
8458 Save last synced value from the list to continue searching from there
8459 in future syncs. This speeds everything up a bit.
8461 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
8463 reviewed by: Stefan Kost <ensonic@users.sf.net>
8465 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8466 (gst_control_point_find), (gst_controlled_property_new),
8467 (gst_control_point_free), (gst_controlled_property_free),
8468 (gst_controller_set), (gst_controller_set_from_list),
8469 (gst_controller_unset), (gst_controller_unset_all),
8470 (gst_controller_sync_values):
8471 * libs/gst/controller/gstcontroller.h:
8472 * libs/gst/controller/gstcontrollerprivate.h:
8473 * libs/gst/controller/gstinterpolation.c:
8474 (gst_controlled_property_find_control_point_node),
8475 (interpolate_none_get), (interpolate_trigger_get):
8476 Add a new private GstControlPoint struct which "inherits" from
8477 GstTimedValue to allow different interpolators to store internal
8478 values next to each control point. From the outside everything is
8479 still a GstControlPoint so we don't loose binary compatibility.
8480 Also fixup all the GValue handling to not leak GValues or list nodes.
8481 * tests/check/libs/controller.c: (GST_START_TEST):
8482 Free the list nodes and GValues in the controller_misc test.
8484 2007-05-17 Edward Hervey <edward@fluendo.com>
8489 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
8491 * gst/gstplugin.c: (gst_plugin_load_file):
8492 If we fail to load a plugin because of unresolved symbols or missing
8493 libraries and spew a warning to stderr, we may just as well mention
8494 which plugin it was that failed to load.
8496 2007-05-13 David Schleef <ds@schleef.org>
8498 * docs/Makefile.am: the gtk-doc makefile snippet correctly
8499 handles the case when ENABLE_GTK_DOC is false, and installs
8500 the prebuilt documentation. So gtk-doc subdirs are
8501 unconditionally enabled. Fixes: #349099.
8503 2007-05-13 David Schleef <ds@schleef.org>
8505 * gst/gstutils.h: Reword some documentation.
8507 2007-05-12 David Schleef <ds@schleef.org>
8509 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8510 do anything with the passed "module" parameter, so remove it.
8511 Allows removal of additional vestigal code.
8513 2007-05-12 David Schleef <ds@schleef.org>
8516 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8517 Switch to using g_stat() because it's more portable.
8519 2007-05-12 David Schleef <ds@schleef.org>
8522 Add GST_DISABLE_OPTION_PARSING, in order to disable option
8523 parsing for embedded systems.
8524 * gst/gstelementfactory.c:
8525 Allow gst_element_register() to be called with plugin==NULL.
8526 Did nobody notice that static elements were broken?
8528 2007-05-12 Wim Taymans <wim@fluendo.com>
8530 * tools/gst-launch.c: (event_loop):
8531 Give more interesting info when buffering starts and stops.
8532 Fix case where buffering starts but we fail to update the buffering flag
8533 because the target state is not PLAYING.
8535 2007-05-12 Wim Taymans <wim@fluendo.com>
8537 * plugins/elements/gstqueue.c: (gst_queue_init),
8538 (gst_queue_finalize), (update_time_level), (apply_segment),
8539 (apply_buffer), (gst_queue_locked_flush),
8540 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8541 (gst_queue_handle_sink_event), (gst_queue_chain),
8542 (gst_queue_push_one), (gst_queue_loop):
8543 * plugins/elements/gstqueue.h:
8544 Refactor an cleanup queue a bit.
8545 Do better time level calculations that also work when the srcpad is not
8547 Remove some unneeded debug lines.
8549 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8550 Added testcase for time level measurement.
8551 Try to make some stuff more racefree.
8553 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8555 * gst/gsturi.c: (gst_element_make_from_uri):
8556 Don't leak plugin feature.
8558 * tests/check/Makefile.am:
8559 * tests/check/gst/.cvsignore:
8560 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8561 Add brain-dead unit test.
8563 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
8565 Patch by: Jeroen Wouters <woutersj at gmail com>
8567 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8568 Treat protocol strings in a case-insensitive way (#437563).
8570 2007-05-11 Michael Smith <msmith@fluendo.com>
8572 * gst/gstplugin.c: (gst_plugin_load_file):
8573 * gst/gstregistry.c: (gst_registry_scan_path_level):
8574 Don't print a g_warning for any failure to load a shared object.
8575 Instead, push this down into gstplugin.c, and warn _only_ if we
8576 failed to open the module (i.e. failure to link).
8577 Avoids warnings on normal, working, non-plugin .so files.
8579 2007-05-11 Stefan Kost <ensonic@users.sf.net>
8581 * gst/gstplugin.c (gst_plugin_load_file):
8582 * gst/gstregistry.c (GST_CAT_DEFAULT,
8583 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8584 Print a g_warning if there was an error when loading a plugins during
8585 registry scan. The shuld help beginners starting with gst-plugin
8588 2007-05-10 Wim Taymans <wim@fluendo.com>
8590 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8591 (update_time_level), (gst_queue_locked_flush),
8592 (gst_queue_handle_sink_event), (gst_queue_chain),
8593 (gst_queue_push_one), (gst_queue_loop):
8594 * plugins/elements/gstqueue.h:
8595 Be smarter when calculating the current amount of data in the queue by
8596 measuring the difference between start and end timestamps (in running
8597 time) inside the queue. Fixes #432876.
8598 API: GstQueue::pushing to notify elements that we are pushing data again
8599 since the running signal is rather broken for this purpose.
8601 2007-05-10 Stefan Kost <ensonic@users.sf.net>
8603 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8604 gst_queue_base_init, gst_queue_init):
8607 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
8609 * win32/common/libgstreamer.def:
8610 Add new exported functions.
8611 * win32/vs6/grammar.dsp:
8612 Use grammar pre-generated files.
8614 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8616 Based on patch by: Peter Kjellerstedt <pkj at axis com>
8619 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8621 * gst/gstutils.c: (gst_parse_bin_from_description):
8623 Maintain API and ABI when --disable-parse is used. Now that
8624 we have an appropriate error code, we can just return NULL and the
8625 appropriate error when gst_parse_launch() is used despite it having
8626 been disabled (#342564).
8628 * tests/check/Makefile.am:
8629 * tests/check/pipelines/.cvsignore:
8630 * tests/check/pipelines/parse-disabled.c:
8631 Make sure these functions exist and return NULL plus a GError when
8632 --disable-parse is used.
8634 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
8636 * tests/benchmarks/complexity.c: (main):
8637 * tests/benchmarks/mass-elements.c: (main):
8638 Set a good example and don't leak messages.
8640 2007-05-06 Stefan Kost <ensonic@users.sf.net>
8642 * docs/gst/Makefile.am:
8643 * docs/libs/Makefile.am:
8644 Correct fixxrefs options.
8646 * docs/plugins/Makefile.am:
8647 * docs/plugins/gstreamer-plugins-docs.sgml:
8648 * docs/plugins/gstreamer-plugins-sections.txt:
8649 * plugins/elements/Makefile.am:
8650 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8651 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8652 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8653 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8654 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8655 _GstCapsFilterClass, trans_class):
8656 * plugins/elements/gstelements.c (name, rank, type, _elements):
8657 * plugins/elements/gstidentity.c
8658 (gst_identity_check_imperfect_timestamp,
8659 gst_identity_check_imperfect_offset):
8660 Document capsfilter and add doc-blurb to identity.
8662 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
8664 * libs/gst/controller/gstcontroller.c:
8665 (gst_controlled_property_set_interpolation_mode):
8666 * libs/gst/controller/gstinterpolation.c:
8667 Don't crash if someone tries to set an interpolation mode that
8668 is invalid or that isn't supported yet. Fixes #422295.
8670 * tests/check/libs/controller.c: (GST_START_TEST),
8671 (gst_controller_suite):
8672 Add a test case for the above.
8674 2007-05-03 Edward Hervey <edward@fluendo.com>
8676 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8677 Properly set the last_stop position on GstSegment. This will only happen
8678 if there is a buffer to push out.
8680 2007-05-03 Wim Taymans <wim@fluendo.com>
8682 * libs/gst/base/gstbasetransform.c:
8683 (gst_base_transform_buffer_alloc):
8684 always_in_place does not mean that the sink and source caps are the
8685 same! Make sure we don't blindly proxy the buffer_alloc in this case.
8687 2007-05-03 Wim Taymans <wim@fluendo.com>
8689 * docs/libs/gstreamer-libs-sections.txt:
8690 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8691 (gst_base_src_default_query), (gst_base_src_get_range):
8692 * libs/gst/base/gstbasesrc.h:
8693 API: gst_base_src_query_latency(). Added method so that subclasses can
8694 easily get the latency values of the base source class.
8696 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
8698 * tools/gst-inspect.c (print_implementation_info):
8701 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
8703 * tools/Makefile.am:
8704 * tools/gst-launch.1.in:
8705 Don't create a customised man page based on the host architecture,
8706 describe the default registry path generically. That way the man
8707 page is the same for all architectures and packagers have one
8708 multilib issue less to deal with. Fixes #434926.
8710 2007-05-02 Wim Taymans <wim@fluendo.com>
8713 Fix documentation as spotted by rg on IRC.
8715 2007-04-29 Stefan Kost <ensonic@users.sf.net>
8718 Improve docs for gst_element_{link,unlink}.
8720 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
8722 * docs/design/part-events.txt:
8723 * docs/design/part-overview.txt:
8727 * libs/gst/base/gstbasesink.c:
8728 Typo fixes; minor docs addition.
8730 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8732 * docs/gst/gstreamer-sections.txt:
8733 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
8734 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
8736 API: Add gst_uri_protocol_is_supported(), which checks if a sink
8737 or src that supports a given URI protocol exists.
8739 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8741 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8742 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8743 Set the location to NULL if "file://" is set as URI. Otherwise
8744 some random previous URI would still be set if "file://" is
8745 set on an already used filesink/filesrc.
8747 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
8749 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8750 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8751 Special case the "file://" URI as as this is used by some
8752 applications to test with gst_element_make_from_uri if there's
8753 an element that supports the URI protocol.
8754 Also move the g_path_is_absolute() check for the location part
8755 of the URI to also check this for "file://localhost/bla" URIs.
8757 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
8759 * docs/gst/gstreamer-sections.txt:
8760 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
8762 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8764 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
8766 2007-04-26 Stefan Kost <ensonic@users.sf.net>
8768 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8769 (gst_registry_binary_load_pad_template),
8770 (gst_registry_binary_load_plugin),
8771 (gst_registry_binary_read_cache):
8772 * gst/gstregistrybinary.h:
8773 Implement no-mmap alternative for registry reading. Do code cleanups.
8774 Add more comments about avoiding strdups for all text data. Comments
8777 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8779 * gst/gstregistrybinary.h (GstBinaryPluginElement,
8780 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
8781 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
8782 Comment structs and reformat to fix the build (that stuff should go
8783 into a priv. header).
8785 2007-04-25 Stefan Kost <ensonic@users.sf.net>
8787 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
8788 (gst_registry_binary_load_feature):
8789 * gst/gstregistrybinary.h:
8790 Refactor so that we can implement multiple features. Add support for
8791 TypeFindFactory features.
8793 2007-04-24 Stefan Kost <ensonic@users.sf.net>
8795 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
8798 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
8800 2007-04-23 Stefan Kost <ensonic@users.sf.net>
8802 * gst/gstbin.c: (gst_bin_element_set_state),
8803 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
8804 (bin_handle_async_done), (gst_bin_handle_message_func):
8805 Fix build with --gst-disable-gst-debug
8807 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
8809 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
8810 Make sure streaming has finished before calling the ::stop() vfunc,
8811 since that vfunc might clear state which is being used in the
8812 streaming thread. This fixes a race that caused crashes in
8813 audioresample when shutting down a pipeline (#420106).
8815 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8817 * docs/gst/gstreamer-sections.txt:
8818 That was one byte missing.
8820 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8823 * docs/gst/gstreamer-sections.txt:
8825 * gst/gstconfig.h.in:
8826 * gst/gstobject.c: (gst_object_class_init),
8827 (gst_signal_object_class_init):
8829 2nd attempt to have a xml-less build as a joined effort of #413123
8832 2007-04-20 Stefan Kost <ensonic@users.sf.net>
8834 * docs/design/draft-tagreading.txt:
8835 Added open issues/thoughts to draft.
8837 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8839 * gst/parse/grammar.tab.pre.c:
8840 * gst/parse/grammar.tab.pre.h:
8841 * gst/parse/lex._gst_parse_yy.pre.c:
8842 Update the prebuild parser sources.
8844 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8846 * gst/parse/Makefile.am:
8847 And now fix the building of the flex sources. Now everything should
8850 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8852 * gst/parse/Makefile.am:
8853 Now hopefully fix the build failures by setting proper rule
8854 dependencies and moving instead of copying.
8856 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8858 * tests/benchmarks/complexity.gnuplot:
8859 * tests/benchmarks/complexity.scm:
8860 * tests/benchmarks/mass-elements.gnuplot:
8861 * tests/benchmarks/mass-elements.scm:
8862 Total licensification.
8864 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8866 * gst/parse/Makefile.am:
8867 Fix the build by correcting the rule that gave wrong files to flex.
8869 2007-04-19 Stefan Kost <ensonic@users.sf.net>
8871 * tests/benchmarks/complexity.c:
8872 * tests/benchmarks/mass-elements.c:
8873 Change licence to LGPL as granted by Benjamin and Andy.
8875 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
8877 * gst/parse/Makefile.am:
8878 Add correct grammar.tab.h dependency if compiling without new enough
8879 flex. Fixes #431150.
8881 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8883 * gst/parse/Makefile.am:
8884 Fix typo and use outdated sources if the flex/bison sources are newer
8885 than the pregenerated ones but flex is too old. Print a warning in
8886 that case. This should fix the build on the build bot.
8888 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
8890 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
8891 * gst/parse/Makefile.am:
8892 * gst/parse/grammar.y:
8893 * gst/parse/parse.l:
8894 Make the parser reentrant and recursively callable. This requires flex
8895 >= 2.5.31, for older versions pregenerated sources are used as we
8896 can't bump the build dependency. Finally fixes #349180.
8898 * gst/gstparse.c: (gst_parse_launch):
8899 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
8902 * docs/gst/Makefile.am:
8903 * docs/gst/Makefile.am:
8904 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8905 (__gst_parse_strfree), (__gst_parse_link_new),
8906 (__gst_parse_link_free), (__gst_parse_chain_new),
8907 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8908 (gst_parse_element_set), (gst_parse_free_link),
8909 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8910 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8911 (_gst_parse_launch):
8912 * gst/parse/grammar.tab.pre.h:
8913 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8914 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8915 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8916 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8917 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8918 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8919 (_gst_parse_yypop_buffer_state),
8920 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8921 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8922 (yy_fatal_error), (_gst_parse_yyget_extra),
8923 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8924 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8925 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8926 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8927 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8928 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8929 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8930 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8931 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8932 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8933 (_gst_parse_yyfree):
8934 If the installed flex version is too old use pre-generated parser
8935 sources. These pre-generated parser sources are always updated when
8936 the actual flex/bison sources change but require everybody who wants
8937 to change something in the parser to have flex >= 2.5.31 installed.
8939 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8941 * common/m4/gst-gettext.m4:
8942 * gst/gst-i18n-lib.h:
8943 Make --disable-nls to work
8945 2007-04-17 Wim Taymans <wim@fluendo.com>
8947 * gst/gstconfig.h.in:
8948 Revert previous change that broke the build.
8950 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8954 * gst/gstconfig.h.in:
8955 Drop libxml2 dependency when building with
8956 --enable-binary-registry --disable-loadsave
8958 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8960 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8961 (gst_registry_binary_read_cache):
8962 * gst/gstregistrybinary.h:
8963 Remove unnecessary <sys/mman.h> include which broke the win32 build
8964 with MingW; move includes from header file to .c file, even if the
8965 header file isn't installed; use g_strerror() where UTF-8 strings
8966 are expected, such as in GST_DEBUG messages.
8968 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8970 * docs/libs/gstreamer-libs-sections.txt:
8971 Remove bogus addition for API I didn't end up keeping.
8973 * libs/gst/base/gstbasesrc.h:
8974 Mention Since: 0.10.13 in the documentation.
8976 Add the API keyword to the previous ChangeLog entry.
8978 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8980 * docs/libs/gstreamer-libs-sections.txt:
8981 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8982 (gst_base_src_default_prepare_seek_segment),
8983 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8984 * libs/gst/base/gstbasesrc.h:
8985 Allow basesrc derived classes to execute seeks in other formats
8986 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8987 to prepare the GstSegment in any format that their perform_seek method
8988 will be able to understand. The default implementation provides the
8989 old behaviour of attempting to convert the seek offsets to the
8990 configured native format.
8992 API: basesrc::prepare_seek_segment vmethod.
8994 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8996 * gst/gstelement.c: (gst_element_get_state_func):
8997 Don't output the same debug statement twice.
8999 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9000 (gst_adapter_peek), (gst_adapter_take_buffer):
9001 Optimise the case where we have buffers at the head of the queue that
9002 can be joined quickly (because they're contiguous sub-buffers) by
9003 merging them together rather than copying data out into new memory.
9005 * gst/parse/grammar.y:
9006 * tests/check/pipelines/parse-launch.c:
9007 Fix a leak in an error path for parse_launch, and add a check
9008 for it to the testsuite.
9010 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
9012 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9013 Don't deadlock when releasing a pad - gst_pad_set_active may try
9014 and take the multiqueue lock too.
9016 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
9018 * gst/gsterror.c: (_gst_core_errors_init):
9020 API: add GST_CORE_ERROR_DISABLED (#392804).
9022 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
9024 * docs/faq/gst-uninstalled:
9025 don't get empty paths on the PATH variables
9026 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9027 Don't format for the uncommon terminal width of 84 characters.
9029 2007-04-06 Wim Taymans <wim@fluendo.com>
9031 * gst/gstpipeline.c: (reset_stream_time),
9032 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9033 Only try to select a different pipeline clock when we went back to
9034 PAUSED and not when we merely got flushed.
9036 2007-04-05 Michael Smith <msmith@fluendo.com>
9038 * tools/gst-launch.1.in:
9039 fractions are better supported in gstreamer than ractions, so
9040 suggest using those.
9042 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
9044 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9048 Added Danish translation.
9050 2007-04-05 Wim Taymans <wim@fluendo.com>
9052 * libs/gst/base/gstbasesink.c:
9053 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9054 Fix leak caused when refusing newsegment after EOS.
9056 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9057 (gst_fake_sink_init), (gst_fake_sink_set_property),
9058 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9059 (gst_fake_sink_render), (gst_fake_sink_change_state):
9060 * plugins/elements/gstfakesink.h:
9061 Add num-buffers property to make the element generate EOS after a
9062 configurable amount of buffers.
9063 API: fakesink::num-buffers property.
9065 * tests/check/elements/fakesink.c: (GST_START_TEST),
9067 Fix GstBus leak in test.
9068 Test for fakesink num-buffers.
9070 2007-04-05 Wim Taymans <wim@fluendo.com>
9072 * libs/gst/base/gstbasesink.c:
9073 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9074 (gst_base_sink_change_state):
9075 Don't accept anything after an EOS, return UNEXPECTED instead.
9077 * tests/check/elements/fakesink.c: (GST_START_TEST),
9079 Unit test for new EOS behaviour.
9081 2007-04-05 Wim Taymans <wim@fluendo.com>
9083 * gst/gstelement.c: (gst_element_get_request_pad):
9084 Make padtemplates also work when they don't contain %s or %d.
9086 2007-04-05 Wim Taymans <wim@fluendo.com>
9088 * docs/gst/gstreamer-sections.txt:
9089 * gst/gstclock.c: (gst_clock_adjust_unlocked),
9090 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9092 Improve _adjust_unlocked() so that it overflows less.
9093 Add gst_clock_unadjust_unlocked to convert from external time to
9094 internal time based on calibration.
9095 Add some more debug.
9096 API: GstClock::gst_clock_unadjust_unlocked()
9098 2007-04-03 Wim Taymans <wim@fluendo.com>
9100 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9102 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9103 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9104 when releasing sink pad. Fixes #425400.
9106 2007-04-02 Stefan Kost <ensonic@users.sf.net>
9108 * docs/random/ensonic/dynlink.txt:
9109 More work on proposal for new core api.
9111 * docs/libs/gstreamer-libs-sections.txt:
9112 * libs/gst/base/gstbasetransform.h:
9113 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9115 * libs/gst/controller/gstcontroller.c:
9116 (on_object_controlled_property_changed),
9117 (gst_controller_sync_values),
9118 (gst_controller_set_interpolation_mode):
9119 * libs/gst/controller/gstcontroller.h:
9120 Less verbose logging add docs for unimplemented parts and correctly
9121 return when using unavailable parts.
9123 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9125 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9126 Move all the debug to the CLOCK category, and associate it with
9129 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
9131 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9132 Make take_buffer a bit quicker by removing redundant checks
9133 caused by calling gst_adapter_take.
9135 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9137 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9140 * tests/check/Makefile.am:
9141 * tests/check/elements/.cvsignore:
9142 * tests/check/elements/multiqueue.c: (setup_multiqueue),
9143 (GST_START_TEST), (multiqueue_suite):
9144 Add some dead simple unit tests for the 'multiqueue' element
9145 (some bits don't work yet and are disabled for now).
9147 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
9149 * gst/gstelement.c: (gst_element_get_request_pad),
9150 (gst_element_class_get_request_pad_template):
9151 Make gst_element_get_request_pad() create request pads only for
9152 request pad templates and not for, say, sometimes pad templates.
9154 2007-03-28 Stefan Kost <ensonic@users.sf.net>
9156 * docs/design/draft-klass.txt:
9157 Add example that needs more thinking.
9159 * docs/design/draft-missing-plugins.txt:
9160 More thoughts about wrapper plugins.
9162 * docs/random/ensonic/embedded.txt:
9163 * docs/random/ensonic/profiling.txt:
9166 2007-03-25 Wim Taymans <wim@fluendo.com>
9168 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9169 (gst_base_src_loop):
9170 Only push the segment events in the PLAYING state for live sources.
9172 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
9174 * gst/gstpipeline.c: (gst_pipeline_change_state):
9175 Modify the clock distribution path in PAUSED->PLAYING so that we
9176 never attempt to choose a new clock unless we're actually leaving
9177 the PAUSED state for the first time. This prevents choosing a
9178 different clock when the state_change gets called for a 2nd time due
9179 to some element doing an async state change.
9181 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9183 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9184 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9185 (gst_pad_chain_unchecked), (gst_pad_push):
9186 Revert last commit. This needs some more thoughts.
9188 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
9190 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9191 (gst_pad_chain_unchecked), (gst_pad_push):
9192 Check in set_caps if the caps are compatible with the pad and remove
9193 two functions that are redundant now. Fixes #421543.
9195 2007-03-22 Wim Taymans <wim@fluendo.com>
9197 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9198 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9199 Unref some more to make valgrind happy.
9201 2007-03-22 Wim Taymans <wim@fluendo.com>
9203 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9204 (gst_system_clock_id_wait_jitter),
9205 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9206 Fix anoying regression that survived a few releases. When adding an
9207 async entry while blocking on a sync entry, the sync entry will unblock
9208 but still be busy, so it should continue to wait instead of returning
9210 Add some comments here and there.
9212 * tests/check/gst/gstsystemclock.c: (mixed_thread),
9213 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9214 Add testcase for this.
9216 2007-03-22 Wim Taymans <wim@fluendo.com>
9218 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9219 Handle errors from the clock sync better, only UNSCHEDULED indicates a
9220 WRONG_STATE and can silently pause the task. All other cases should
9223 2007-03-22 Wim Taymans <wim@fluendo.com>
9225 Patch by: Ville Syrjala <syrjala at sci dot fi>
9227 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9228 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
9231 2007-03-21 Michael Smith <msmith@fluendo.com>
9233 * docs/pwg/advanced-types.xml:
9234 Fix some errors in the typefinding docs pointed out on irc.
9236 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
9238 * libs/gst/base/gstbasesrc.c:
9239 Clarify FIXME comment in the face of having added unlock_stop()
9241 2007-03-21 Wim Taymans <wim@fluendo.com>
9243 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9244 Prepare for release where we warn against possible app breakage in the
9245 case of live pipelines along with an env var to enable/disable live
9246 preroll mode (GST_COMPAT=[no-]live-preroll).
9248 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9250 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9251 So we should use correct constants for checking for None offset.
9253 2007-03-20 Wim Taymans <wim@fluendo.com>
9255 * docs/design/part-block.txt:
9256 Mention the fact that the newly switched element should be set to at
9259 2007-03-20 Wim Taymans <wim@fluendo.com>
9262 Fix compilation with registry disabled as spotted by Saur.
9264 2007-03-20 Wim Taymans <wim@fluendo.com>
9266 Patch by: Olivier Crete <tester at tester dot ca>
9268 * gst/gstelement.c: (gst_element_sync_state_with_parent):
9269 Look at the pending state too when syncing the element state to the
9270 parent. Fixes #420133.
9272 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
9274 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9275 (gst_base_sink_change_state):
9276 * libs/gst/base/gstbasesink.h:
9277 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9278 (gst_base_src_default_event), (gst_base_src_unlock_stop),
9279 (gst_base_src_deactivate):
9280 * libs/gst/base/gstbasesrc.h:
9281 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9282 for sub-classes to correctly clear any state they set trying to
9283 unlock, such as clearing out unlock commands from a command fd.
9284 API: basesrc::unlock_stop
9285 API: basesink::unlock_stop
9287 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9288 (gst_fd_sink_render), (gst_fd_sink_unlock),
9289 (gst_fd_sink_unlock_stop):
9290 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9291 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9292 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9294 Implement unlock_stop in fdsrc and fdsink.
9295 Implement seeking in fdsrc when a seekable fd is passed, as in
9296 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9298 2007-03-19 Wim Taymans <wim@fluendo.com>
9300 Patch by: Evan Nemerson <evan at coeus dash group dot com>
9302 * gst/gstelement.c: (gst_element_class_init):
9303 Fix pad-added and pad-removed signal signatures so that the pad type is
9304 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9306 2007-03-19 Wim Taymans <wim@fluendo.com>
9308 * docs/gst/gstreamer-sections.txt:
9309 Add new element field and method.
9311 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9312 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9313 (gst_bin_recalc_state), (gst_bin_get_state_func),
9314 (gst_bin_element_set_state), (gst_bin_change_state_func),
9315 (gst_bin_continue_func), (bin_bus_handler),
9316 (bin_push_state_continue), (bin_handle_async_start),
9317 (bin_handle_async_done), (gst_bin_handle_message_func):
9318 Make async state changes a bit smarter by using new ASYNC_START and
9319 ASYNC_DONE messages. This reduces the number of times we run the state
9320 recalculation thread.
9321 Don't change state of element with a pending ASYNC_START message.
9322 Deprecate STATE_DIRTY messages.
9324 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9325 (gst_element_get_state_func), (gst_element_continue_state),
9326 (gst_element_lost_state), (gst_element_set_state_func),
9327 (gst_element_change_state):
9329 Keep the state that was last set by the app in a new element field.
9330 Don't allow state changes when handling an element event.
9331 Post ASYNC_START and ASYNC_DONE messages.
9332 Change lost_state so that we go to PAUSED and wait for the parent to set
9333 us to PLAYING again (so latency calculation can be performed)
9334 Export gst_element_change_state() method so that subclasses can use it.
9335 API: gst_element_change_state()
9336 API: GST_STATE_TARGET
9338 * gst/gstpipeline.c: (gst_pipeline_class_init),
9339 (reset_stream_time), (gst_pipeline_change_state),
9340 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9341 Using the new ASYNC_START message we can reset the base_time when
9342 needed. This can then be used to implement base_time redistribution in
9343 flushing seeks so that we can remove the explicit seek handling.
9344 Perform latency query and configuration when going to PLAYING.
9346 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9347 (gst_base_sink_query), (gst_base_sink_change_state):
9348 Post new ASYNC_START/ASYNC_DONE messages.
9350 * tests/check/generic/sinks.c: (GST_START_TEST):
9351 Fix test because the bin will not set the async element to PLAYING right
9354 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9355 Make the message check a little stronger.
9356 Handle ASYNC messages.
9358 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9359 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9360 Expect ASYNC_DONE messages.
9362 2007-03-19 Wim Taymans <wim@fluendo.com>
9364 * docs/gst/gstreamer-sections.txt:
9365 * gst/gstmessage.c: (gst_message_new_async_start),
9366 (gst_message_new_async_done), (gst_message_parse_info),
9367 (gst_message_parse_async_start):
9369 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9372 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
9374 * tools/gst-inspect.c:
9375 (print_plugin_automatic_install_info_codecs):
9376 Now that we don't check for the 'Codec' keyword any longer in the
9377 klass, we shouldn't spew a warning if the klass isn't a decoder or
9378 encoder (since it might be a Source/Network, for example).
9380 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
9382 * tools/gst-inspect.c:
9383 (print_plugin_automatic_install_info_codecs):
9384 Don't require decoder/demuxer/depayloader elements or
9385 encoder/muxer/paylader elements to have 'Codec' as part of their
9386 factory class string when introspecting a plugin's capabilities.
9387 draft-klass.txt mentions that it might be removed in future, and
9388 flump3dec doesn't have it as part of its class string, so chances
9389 are others might also not have it.
9391 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
9413 Update translations from translation project
9415 2007-03-14 Stefan Kost <ensonic@users.sf.net>
9417 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9418 (gst_child_proxy_set_property):
9419 Invert precondition check to be alike the ones in the mimiced gobject
9422 2007-03-13 Stefan Kost <ensonic@users.sf.net>
9424 * docs/design/draft-tagreading.txt:
9425 * docs/random/ensonic/audiobaseclasses.txt:
9426 Do some Architect work.
9428 * gst/gstobject.c: (gst_object_set_name):
9432 Add docs that point from gst_pad_get_range to gst_pad_pull_range
9434 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
9436 * gst/gstsystemclock.c: (gst_system_clock_init),
9437 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9438 Defer starting the async system clock thread until the first async
9439 wait is scheduled. Fixes #414986.
9441 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
9443 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9444 (gst_single_queue_free):
9445 Fix small leak (free GstSingleQueue structure too, not only contents).
9447 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
9449 * gst/gstbin.c:(gst_bin_add):
9450 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9451 * win32/common/libgstbase.def:
9452 * win32/common/libgstreamer.def:
9453 Add new exported functions.
9455 2007-03-09 Wim Taymans <wim@fluendo.com>
9457 * docs/plugins/gstreamer-plugins-sections.txt:
9460 2007-03-09 Wim Taymans <wim@fluendo.com>
9462 * docs/gst/gstreamer-sections.txt:
9463 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9465 Add metadata copy functions. Fixes #393099.
9466 API: gst_buffer_copy_metadata()
9468 * gst/gstutils.c: (gst_buffer_stamp):
9469 * libs/gst/base/gstbasetransform.c:
9470 (gst_base_transform_prepare_output_buffer):
9471 Use new metadata copy functions.
9473 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
9475 * plugins/elements/gstidentity.c: (gst_identity_class_init),
9476 (gst_identity_init), (gst_identity_check_perfect),
9477 (gst_identity_check_imperfect_timestamp),
9478 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9479 (gst_identity_set_property), (gst_identity_get_property):
9480 * plugins/elements/gstidentity.h:
9481 Separate out check-imperfect-timestamp and check-imperfect-offset.
9482 Put back check-perfect as it was to keep compatibility.
9484 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
9486 * gst/gstelement.c: (gst_element_dispose):
9487 There's no need to warn if VOID_PENDING is not NONE here, as
9488 long as the state is NULL it's ok, and that's checked immediately
9491 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9493 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9494 Fix check for perfect stream to ignore buffers with -1
9495 offsets/offset ends when checking data contiguity.
9497 2007-03-08 Wim Taymans <wim@fluendo.com>
9499 * tools/gst-launch.c: (event_loop):
9500 Print INFO messages.
9502 2007-03-08 Wim Taymans <wim@fluendo.com>
9504 * libs/gst/base/gstbasetransform.c:
9505 (gst_base_transform_sink_eventfunc),
9506 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9507 (gst_base_transform_activate):
9508 * libs/gst/base/gstbasetransform.h:
9509 Add support for dropping buffers with custom GstFlowReturn.
9510 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9511 buffers or dropped buffers.
9513 * docs/libs/gstreamer-libs-sections.txt:
9514 docs for new custom return code.
9516 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9517 Use drop support in base class to implement drop-probability.
9519 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
9521 * gst/gst.c: (load_plugin_func):
9522 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9523 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9524 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9525 Remove newlines at end of debug log strings.
9527 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9529 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9530 Only post bus message at max, once per buffer received.
9532 2007-03-07 Wim Taymans <wim@fluendo.com>
9534 * docs/design/Makefile.am:
9535 * docs/design/part-synchronisation.txt:
9536 Add doc about synchronisation
9538 * docs/design/draft-latency.txt:
9539 * docs/design/part-TODO.txt:
9540 * docs/design/part-clocks.txt:
9541 * docs/design/part-events.txt:
9542 * docs/design/part-gstbus.txt:
9543 * docs/design/part-gstpipeline.txt:
9544 * docs/design/part-live-source.txt:
9545 * docs/design/part-messages.txt:
9546 * docs/design/part-overview.txt:
9547 * docs/design/part-streams.txt:
9548 * docs/design/part-trickmodes.txt:
9549 Documentation updates.
9551 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9554 Update the doap file.
9556 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9558 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9559 Rename non-perfect to imperfect for Mike and for the sanctity of the
9561 Also make sure bus message gets emitted for data-incontiguities.
9563 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9565 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9566 (gst_identity_start):
9567 * plugins/elements/gstidentity.h:
9568 Emit bus message if check-perfect is true and we encounter a
9569 non-perfect stream between 2 consecutive buffers.
9572 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9577 === release 0.10.12 ===
9579 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
9582 releasing 0.10.12, "Inevitable Demise"
9584 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
9587 Version 0.10.11.2 (0.10.12 pre-release)
9588 Bump libtool versioning.
9590 2007-03-01 Stefan Kost <ensonic@users.sf.net>
9592 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9593 Log flow-names and not numbers.
9595 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9598 Convert to new AG_GST style.
9600 2007-02-28 Wim Taymans <wim@fluendo.com>
9602 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9603 Don't unref query twice.
9605 2007-02-28 Wim Taymans <wim@fluendo.com>
9607 * gst/gstvalue.c: (gst_value_transform_object_string),
9608 (_gst_value_initialize):
9609 Implement GstObject -> string transform so we print object names
9610 when serializing GValues containing GstObjects.
9612 2007-02-28 Wim Taymans <wim@fluendo.com>
9614 * docs/gst/gstreamer-sections.txt:
9615 Add new stuff to docs.
9617 2007-02-28 Wim Taymans <wim@fluendo.com>
9619 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9620 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9621 (gst_base_sink_change_state):
9622 Improve latency query code.
9623 Don't leak latency events.
9625 * tests/check/gst/gstbin.c: (GST_START_TEST):
9628 2007-02-28 Wim Taymans <wim@fluendo.com>
9630 * gst/gstelement.c: (gst_element_message_full),
9631 (gst_element_get_state_func):
9633 Improve docs a little. Added Since: for new macro.
9635 * gst/gstobject.c: (gst_object_sink):
9636 * gst/gstpipeline.c: (gst_pipeline_change_state),
9637 (gst_pipeline_set_new_stream_time):
9638 * gst/gstpipeline.h:
9639 Improve debugging and docs.
9641 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9644 2007-02-28 Wim Taymans <wim@fluendo.com>
9646 * gst/gstelement.c: (gst_element_message_full),
9647 (gst_element_set_locked_state), (gst_element_get_state_func),
9648 (gst_element_change_state):
9649 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9650 Documentation updates.
9651 Small code cleanups.
9653 * gst/gstmessage.c: (gst_message_new_info),
9654 (gst_message_parse_info):
9656 API: gst_message_new_info()
9657 API: gst_message_parse_info()
9658 Add INFO message create and parse code.
9660 2007-02-28 Wim Taymans <wim@fluendo.com>
9662 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9663 (bin_query_latency_done):
9664 Also report the live parameter of a latency query.
9666 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
9668 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9669 Copy the current generic/states example from -base and adapt so
9670 we can use the exact same code everywhere.
9671 Check a STATES_IGNORE_ELEMENTS env var which can be used
9672 to ignore certain element factories for this test, which is
9673 what is being done in -base
9674 * tests/check/Makefile.am:
9675 Mention this environment variable.
9677 2007-02-27 Wim Taymans <wim@fluendo.com>
9679 * docs/gst/gstreamer-sections.txt:
9680 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9681 (gst_bus_timed_pop), (gst_bus_pop):
9683 API: gst_bus_timed_pop()
9684 Implement gst_bus_timed_pop() to do a blocking timed wait for a
9685 message to arrive on the bus.
9687 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9689 Two unit tests for new _timed_pop() function.
9691 2007-02-23 Wim Taymans <wim@fluendo.com>
9693 * gst/gstpipeline.c: (gst_pipeline_change_state),
9694 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9695 Don't ref a NULL clock in _provide_clock_func().
9696 Don't allow an INVALID delay.
9697 Don't try to calculate base_time with an invalid start_time.
9698 Also distribute and notify a NULL clock when it was selected.
9700 * tools/gst-launch.c: (event_loop):
9701 Don't crash when a NULL clock was selected in the pipeline.
9703 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
9705 * docs/design/Makefile.am:
9706 * docs/design/draft-missing-plugins.txt:
9707 * docs/random/draft-missing-plugins.txt:
9708 Some small updates: update plugin system identifier prefix
9709 ('gstreamer.net' to 'gstreamer'), mention our new install
9710 API in libgstbaseutils rather than libgimme-codec, add
9711 reference to the online docs.
9713 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9715 * win32/common/config.h:
9716 Pretty sure Bill never made a powerpc version. Powerpc hackers,
9717 use moap cl ci to only check in what is mentioned in the ChangeLog.
9719 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9721 * docs/gst/gstreamer-sections.txt:
9723 Fix up documentation to link to the correct GstGError section.
9724 Add GST_ELEMENT_INFO macro since someone else added a Info message.
9726 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
9728 * tools/gst-launch.c: (event_loop):
9729 Make sure that we actually show the important message part of a
9731 No need to check if the gerror is not NULL to free; first of all
9732 g_free accepts NULL; and second the default error handler would
9733 segfault if gerror was NULL.
9735 2007-02-21 Wim Taymans <wim@fluendo.com>
9737 * docs/gst/gstreamer-sections.txt:
9738 Removed docs as well.
9740 2007-02-21 Wim Taymans <wim@fluendo.com>
9742 * gst/gstmessage.c: (gst_message_parse_duration):
9744 Remove new messages for release.
9746 2007-02-20 Wim Taymans <wim@fluendo.com>
9748 * docs/design/part-gstghostpad.txt:
9749 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
9750 (gst_ghost_pad_new_full):
9751 Make the ghostpad a parent of the internal pad again for better backward
9752 compatibility. Don't write code that relies on this however.
9754 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9755 (gst_pad_link_check_hierarchy):
9756 Require that parents should be GstElements in the hierarchy check.
9758 2007-02-20 Wim Taymans <wim@fluendo.com>
9760 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
9761 (gst_bin_change_state_func), (bin_query_min_max_init),
9762 (bin_query_latency_fold), (bin_query_latency_done),
9765 Implement latency query.
9767 2007-02-20 Wim Taymans <wim@fluendo.com>
9769 * docs/design/part-gstghostpad.txt:
9770 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
9771 (gst_ghost_pad_internal_do_activate_push),
9772 (gst_ghost_pad_internal_do_activate_pull),
9773 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9774 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
9775 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
9776 Do not set the internal pad as a parent anymore so we can avoid
9777 hierarchy linking errors when the ghostpad has no parent yet. This also
9778 fixes failed activation because of unlinked internal pads, which in
9779 turn fixes the impossible case where you have to activate a pad before
9780 you can add it to a running element.
9783 * gst/gstpad.c: (pre_activate), (post_activate),
9784 (gst_pad_set_active), (gst_pad_activate_pull),
9785 (gst_pad_activate_push), (gst_pad_check_pull_range):
9786 Add some more debug info.
9787 Mark activation mode in pre_activate so that we don't try to activate in
9788 endless loops. Fixes #385084.
9790 2007-02-19 Wim Taymans <wim@fluendo.com>
9792 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
9793 (gst_base_transform_check_get_range):
9794 Implement a checkgetrange function instead of relying on the default
9795 core behaviour that assumes we can operate in pull mode if we have a
9796 getrange function. First step at fixing #385084.
9798 2007-02-15 Stefan Kost <ensonic@users.sf.net>
9800 * gst/gstchildproxy.h:
9801 * libs/gst/base/gstbasesink.h:
9802 * libs/gst/base/gstbasesrc.h:
9803 * libs/gst/base/gstbasetransform.h:
9804 More docs coverage and some ChangeLog surgery (add missing names)
9806 2007-02-15 Wim Taymans <wim@fluendo.com>
9808 * docs/design/part-TODO.txt:
9809 * docs/design/part-activation.txt:
9810 * docs/design/part-block.txt:
9811 * docs/design/part-buffering.txt:
9812 * docs/design/part-clocks.txt:
9813 * docs/design/part-element-source.txt:
9814 * docs/design/part-events.txt:
9815 * docs/design/part-gstbin.txt:
9816 * docs/design/part-gstbus.txt:
9817 * docs/design/part-gstpipeline.txt:
9818 * docs/design/part-live-source.txt:
9819 * docs/design/part-messages.txt:
9820 * docs/design/part-overview.txt:
9821 * docs/design/part-qos.txt:
9822 * docs/design/part-query.txt:
9823 * docs/design/part-states.txt:
9824 * docs/design/part-trickmodes.txt:
9825 Some doc updates. Start renaming from stream_time to running_time where
9826 it was used wrongly.
9828 2007-02-15 Wim Taymans <wim@fluendo.com>
9830 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9831 Answer LATENCY query.
9833 2007-02-15 Wim Taymans <wim@fluendo.com>
9835 * tests/check/gst/gstevent.c: (event_probe), (test_event),
9839 2007-02-15 Wim Taymans <wim@fluendo.com>
9841 * gst/gstpad.c: (gst_pad_get_internal_links_default),
9842 (gst_pad_dispatcher):
9843 Improve debugging of default pad dispatcher and query functions.
9845 2007-02-15 Wim Taymans <wim@fluendo.com>
9847 * docs/gst/gstreamer-sections.txt:
9848 Remove old unused method.
9850 2007-02-13 Wim Taymans <wim@fluendo.com>
9852 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9855 2007-02-13 Wim Taymans <wim@fluendo.com>
9857 * docs/design/part-seeking.txt:
9860 * gst/gstsegment.c: (gst_segment_set_seek):
9861 Revert old bogus change that should make seeking work again.
9863 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9865 * docs/random/ensonic/dynlink.txt:
9866 * docs/random/ensonic/interfaces.txt:
9867 * docs/random/ensonic/receipies.txt:
9868 Possible dynamic reconnection api, plus some type fixes the other two
9871 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
9873 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9874 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9875 Also check for an absolute path following file:// in the filesrc
9876 element. Remove redundant check and call g_path_is_absolute() on the
9879 2007-02-13 Stefan Kost <ensonic@users.sf.net>
9881 * docs/design/draft-klass.txt:
9882 Add existing category analysis.
9885 Fix doc example, framerate is a fraction.
9887 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9890 * docs/gst/Makefile.am:
9891 * docs/gst/gstreamer-sections.txt:
9892 * docs/libs/Makefile.am:
9893 Erm, forgot a bunch of --extra-dir.
9895 2007-02-12 Stefan Kost <ensonic@users.sf.net>
9898 * docs/gst/Makefile.am:
9899 * docs/libs/Makefile.am:
9900 * docs/plugins/Makefile.am:
9901 Add crossreferences to glib/gobject docs.
9903 2007-02-12 Wim Taymans <wim@fluendo.com>
9905 * docs/design/draft-latency.txt:
9908 * docs/libs/gstreamer-libs-sections.txt:
9909 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9910 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9911 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9912 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9913 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9914 (gst_base_sink_get_position), (gst_base_sink_query),
9915 (gst_base_sink_change_state):
9916 * libs/gst/base/gstbasesink.h:
9917 API: gst_base_sink_query_latency() to let subclasses query the upstream
9919 API: gst_base_sink_get_latency() to let subclasses query the configured
9920 latency in the sink.
9921 Implement query and set latency.
9923 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9924 don't continue preroll when we are flushing. Fixes #405284.
9926 * tests/check/pipelines/stress.c: (change_state_timeout),
9927 (quit_timeout), (GST_START_TEST), (stress_suite):
9930 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9932 Patch by: René Stadler <mail at renestadler de>
9934 * docs/gst/gstreamer-sections.txt:
9935 * gst/gsttaglist.c: (_gst_tag_initialize):
9937 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9939 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9941 * docs/libs/Makefile.am:
9942 Fix path to core docs.
9944 * gst/gstbin.c: (gst_bin_get_by_interface),
9945 (gst_bin_iterate_all_by_interface):
9946 Refix docs by also renaming 'interface' to 'iface' in implementation.
9948 * docs/gst/gstreamer-sections.txt:
9950 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9951 * gst/gstchildproxy.h:
9952 * gst/gstelementfactory.c:
9953 * gst/gstpadtemplate.h:
9954 * libs/gst/controller/gstcontroller.c:
9955 (gst_controlled_property_new):
9958 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9960 * gst/gstbin.h:(gst_bin_get_by_interface),
9961 (gst_bin_iterate_all_by_interface):
9962 Replace interface parameter name by iface as interface is
9963 a reserved keyword in Visual Studio for C++ projects so it removes
9964 a build error for application developpers using VS.
9965 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9966 Fix a bug on Windows in uri format check. Now the prefix checked
9967 is file:// and next we check if the path after file:// is absolute.
9968 * win32/common/libgstbase.def:
9969 * win32/common/libgstdataprotocol.def:
9970 * win32/common/libgstgstreamer.def:
9971 Add new exported functions.
9973 2007-02-09 Andy Wingo <wingo@pobox.com>
9975 * tests/check/pipelines/simple-launch-lines.c
9976 (simple_launch_lines_suite, test_tee): Disable tee test until I
9977 have time to fix it :-(
9979 * tests/check/Makefile.am (noinst_HEADERS):
9980 * tests/check/libs/libsabi.c:
9981 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9982 * tests/check/gst/gstabi.c:
9983 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9985 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9986 tests for push and pull tee behavior.
9988 * plugins/elements/gsttee.h:
9989 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9990 mark as deprecated as well as unimplemented. It was a crack idea.
9991 Add support for tee operating in pull mode, off by default.
9993 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9994 normal-case logs down to LOG, raise errors to WARNING.
9995 (gst_registry_xml_read_cache): Don't log before calling a function
9998 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9999 exit (registry finalize).
10000 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10001 DEBUG log when we emit signals that people don't even have the
10002 chance to connect to.
10003 (gst_registry_scan_path_level): Less logging in the normal case.
10005 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10007 Patch by: Michal Benes <michal dot benes at itonis dot tv>
10009 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10010 Correctly generate EOS for non-seekable files. We don't have a total
10011 length for them and would get an unexpected end of file if we only
10012 special-cased for regular files. (Fixes: #404569)
10014 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
10016 * tests/check/elements/filesrc.c: (GST_START_TEST),
10018 Add unit test for the GstURIHandler interface in filesrc. This also
10019 tests the newly added file://localhost/foo/bar support.
10021 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
10023 * gst/gstelementfactory.h:
10024 The klass string is not a hierarchy. Add reference to the design doc
10025 for more information and common types.
10027 2007-02-02 Wim Taymans <wim@fluendo.com>
10029 * gst/gstquery.c: (gst_query_new_latency):
10030 Remove old structure field.
10032 2007-02-02 Stefan Kost <ensonic@users.sf.net>
10034 * tools/gst-launch.1.in:
10035 Give example for network streaming (#351998)
10037 2007-02-02 Wim Taymans <wim@fluendo.com>
10039 * docs/gst/gstreamer-sections.txt:
10040 Add docs for new methods.
10042 * gst/gstevent.c: (gst_event_new_latency),
10043 (gst_event_parse_latency):
10045 Add new LATENCY event to configure latency in a pipeline.
10046 API: gst_event_new_latency
10047 API: gst_event_parse_latency
10049 * gst/gstmessage.c: (gst_message_new_buffering),
10050 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10051 (gst_message_new_latency), (gst_message_parse_buffering),
10052 (gst_message_parse_lost_preroll):
10053 * gst/gstmessage.h:
10054 Added messages used in draft-latency.
10055 API: gst_message_new_lost_preroll
10056 API: gst_message_parse_lost_preroll
10057 API: gst_message_new_prerolled
10058 API: gst_message_new_latency
10060 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10061 (gst_query_parse_latency):
10063 Implemented new latency query as in design doc.
10064 API: gst_query_new_latency
10065 API: gst_query_set_latency
10066 API: gst_query_parse_latency
10068 2007-02-02 Wim Taymans <wim@fluendo.com>
10070 * docs/design/draft-latency.txt:
10071 Slight redesign to allow for dynamic latency adjustments.
10073 * docs/design/part-negotiation.txt:
10076 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
10078 reviewed by: Wim Taymans <wim@fluendo.com>
10080 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10081 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10082 Allow file://localhost/foo/bar URLs and correctly fail for every other
10083 hostname that one sets. This was gnomevfssrc is linked for those if
10084 installed as it can handle it (#403172)
10086 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10088 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10090 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10091 (unref_data), (gst_collect_pads_add_pad_full):
10092 * libs/gst/base/gstcollectpads.h:
10093 Don't put the previously added destroy notify in the GstCollectData
10094 struct as all it's padding is already used and we don't want to break
10095 ABI. Instead put in the pad's GObject data for now. This should be
10096 cleaned up for 0.11 (#402393).
10098 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
10100 reviewed by: Wim Taymans <wim@fluendo.com>
10102 * docs/libs/gstreamer-libs-sections.txt:
10103 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10104 (unref_data), (gst_collect_pads_add_pad),
10105 (gst_collect_pads_add_pad_full):
10106 * libs/gst/base/gstcollectpads.h:
10107 API: Add function to specify a destroy notification for custom
10108 GstCollectData when adding new pads in GstCollectPads (#402393).
10110 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
10113 Update Swedish translation (#378255).
10115 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10117 * docs/design/draft-klass.txt:
10118 Fix the previous change, this is a list of categories and not a hierarchy.
10120 2007-01-31 Stefan Kost <ensonic@users.sf.net>
10122 * docs/design/draft-klass.txt:
10123 Add info about how to get a list of used classes.
10125 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
10127 * plugins/elements/gsttypefindelement.c:
10128 (gst_type_find_element_chain_do_typefinding),
10129 (gst_type_find_element_change_state):
10130 Don't leak found caps in chain function (no idea why that never
10131 showed up as a leak anywhere).
10133 2007-01-30 Stefan Kost <ensonic@users.sf.net>
10136 Fix and expand GstPluginDesc API docs.
10138 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10141 * gst/gstelementfactory.c:
10142 * gst/gstpadtemplate.h:
10145 * libs/gst/controller/gstcontroller.c:
10146 (gst_controlled_property_new):
10147 * tests/examples/controller/audio-example.c:
10150 2007-01-29 Stefan Kost <ensonic@users.sf.net>
10153 comment about refining the xml deps
10155 * docs/manuals.mak:
10156 comments about moving away from jade for docs
10159 recommit the ifdefs to use the binary registry
10161 * gst/gstbin.c: (gst_bin_change_state_func):
10162 this break is obsolete
10164 * gst/gstelementfactory.h:
10165 better GST_ELEMENT_DETAILS docs, add comment about translation
10170 * gst/gstobject.c: (gst_signal_object_get_type):
10171 add G_UNLIKELY as usual
10173 * gst/gstpad.c: (gst_pad_event_default):
10174 add fall trhu comment
10176 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10177 (gst_registry_binary_initialize_magic),
10178 (gst_registry_binary_save_string),
10179 (gst_registry_binary_save_pad_template),
10180 (gst_registry_binary_save_feature),
10181 (gst_registry_binary_save_plugin),
10182 (gst_registry_binary_write_cache),
10183 (gst_registry_binary_check_magic),
10184 (gst_registry_binary_load_pad_template),
10185 (gst_registry_binary_load_feature),
10186 (gst_registry_binary_load_plugin),
10187 (gst_registry_binary_read_cache):
10188 comment typo and formatting
10190 * gst/gstutils.c: (gst_element_state_get_name),
10191 (gst_element_state_change_return_get_name):
10192 remove obsolete breaks
10194 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10195 add FIXME 0.11 and remove cpp comment
10197 2007-01-29 Edward Hervey <edward@fluendo.com>
10199 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10200 Fix print statement in an even more portable way.
10202 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
10204 * docs/gst/gstreamer-sections.txt:
10206 API: add GST_ROUND_DOWN_* macros (#401781).
10208 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
10210 * docs/gst/gstreamer.types.in:
10211 * gst/gstregistry.c: (gst_registry_class_init):
10212 Document registry signals and make gtk-doc pick them up (#401381).
10214 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10216 * docs/pwg/building-testapp.xml:
10217 Add some audioconverts and audioresample to the pipeline, and some
10218 more comments and error handling.
10220 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
10222 * docs/manual/manual.xml:
10223 * docs/pwg/pwg.xml:
10224 Fix typo (#400987).
10226 2007-01-26 Wim Taymans <wim@fluendo.com>
10228 * gst/gstcaps.c: (gst_static_caps_get):
10229 Init caps flags too.
10231 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
10233 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10235 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10236 If not using mmap'ed files try to seek to the end instead of the
10237 start to determine whether we can seek at all. This fixes the case
10238 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10239 seeks for everything afterwards fail. Fixes #400656
10241 2007-01-25 Wim Taymans <wim@fluendo.com>
10243 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10244 Add some refcount debugging.
10245 Make gst_static_caps_get threadsafe, which is needed when autoplugging
10246 in multiple streaming threads.
10248 2007-01-25 Wim Taymans <wim@fluendo.com>
10250 Patch by: David Schleef <ds at schleef dot org>
10252 * docs/libs/gstreamer-libs-sections.txt:
10253 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10254 * libs/gst/base/gstadapter.h:
10255 API: gst_adapter_copy() that can reduce the amount of memcpy when
10256 getting data from the adapter. Fixes #388201.
10258 2007-01-25 Edward Hervey <edward@fluendo.com>
10260 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10261 In print statements, "%x" is for guint. Fixes build on macosx.
10263 2007-01-24 Edward Hervey <edward@fluendo.com>
10265 * plugins/elements/gstmultiqueue.c:
10266 (gst_multi_queue_loop):
10268 (single_queue_overrun_cb), (single_queue_underrun_cb),
10269 (single_queue_check_full), (gst_single_queue_new):
10270 Implement single queue growth system.
10271 This uses the extra-size properties, and will grow single queues by
10272 that much if one goes full whereas there are others empty. This is
10273 called extra-mode in the code.
10274 When a single queue's levels go back below the initial max-size
10275 limits, it is no longer in extra-mode. This is to ensure we don't
10276 consume too much memory.
10279 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
10281 * gst/gst.c: (gst_init_get_option_group):
10282 Make warning about late g_thread_init() calls a bit more explicit,
10283 so that it's more obvious to application developers what they need
10284 to do if a user files a bug against their application.
10286 2007-01-22 Edward Hervey <edward@fluendo.com>
10288 * plugins/elements/gstmultiqueue.c:
10289 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10290 Remove previous hack of unsetting the flushing flag for the source pad
10291 instead of activating it. Instead, fix the source pad activate function
10292 so that it no longer depends on having a parent set or not.
10294 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
10296 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10298 * docs/manual/basics-bus.xml:
10299 Fix example code, gst_element_unref() doesn't exist any longer.
10301 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
10303 Patch by: Mark Nauwelaerts <manauw at skynet be>
10306 Fix two docs typoes (#399094).
10308 2007-01-19 Edward Hervey <edward@fluendo.com>
10310 * docs/faq/gst-uninstalled:
10311 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10312 depending on libgstbaseutils can work in uninstalled environment.
10314 2007-01-18 Stefan Kost <ensonic@users.sf.net>
10316 * gst/gsttaglist.h:
10317 * gst/gsttagsetter.c:
10318 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10319 statement for new tag.
10321 2007-01-17 Edward Hervey <edward@fluendo.com>
10323 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10324 When dynamically creating single queues, activate sinkpad before adding
10326 We should be doing the same thing for the source pad, but we can't
10327 since it would call a method which needs the parent to be set in order
10328 to work propertly. Instead of activating the source pad, we just unset
10329 the flushing flag, which is the minimal requirement for adding a pad
10330 to an element in a state greater than READY.
10332 2007-01-17 Edward Hervey <edward@fluendo.com>
10334 * docs/faq/gst-uninstalled:
10335 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10338 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
10340 * tests/check/gst/gstabi.c:
10341 * tests/check/gst/struct_hppa.h:
10342 * tests/check/libs/libsabi.c:
10343 * tests/check/libs/struct_hppa.h:
10344 Add ABI structs for HPPA (see #393796).
10346 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
10348 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10349 Actually write ABI structs to the file specified in the GST_ABI
10350 environment variable, as the message we print claims we would.
10352 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10354 * tests/check/gst/gsttask.c:
10355 Fix header comment.
10357 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10359 * gst/gsttaglist.c: (_gst_tag_initialize):
10360 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10361 previous two entries.
10363 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10365 * docs/gst/gstreamer-sections.txt:
10366 * gst/gsttaglist.c: (_gst_tag_initialize):
10367 * gst/gsttaglist.h:
10368 Add tag support for beat-per-minute.
10370 2007-01-15 Stefan Kost <ensonic@users.sf.net>
10372 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10373 (gst_registry_binary_initialize_magic),
10374 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10375 (gst_registry_binary_save_pad_template),
10376 (gst_registry_binary_save_feature),
10377 (gst_registry_binary_save_plugin),
10378 (gst_registry_binary_write_cache),
10379 (gst_registry_binary_check_magic),
10380 (gst_registry_binary_load_pad_template),
10381 (gst_registry_binary_load_feature),
10382 (gst_registry_binary_load_plugin),
10383 (gst_registry_binary_read_cache):
10384 * gst/gstregistrybinary.h:
10385 Use glib types, cleanup comments, impement interfaces and uri-types.
10387 2007-01-13 Andy Wingo <wingo@pobox.com>
10389 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10390 getrange() to return buffers with other caps, while we fix
10391 demuxers and typefind, or otherwise change part-negotiation.txt.
10393 2007-01-12 Andy Wingo <wingo@pobox.com>
10395 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10396 Factor start/stop into this private function instead of partially
10397 in activate functions and partially in the change_state function.
10398 Fixes setup before the element has changed from READY->PAUSED, as
10399 is the case in pull-mode pipelines.
10400 (gst_base_transform_sink_activate_push)
10401 (gst_base_transform_src_activate_pull): Refactor to use
10402 gst_base_transform_activate().
10403 (gst_base_transform_change_state): Removed, not needed any more.
10405 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10406 Truncate before fixating.
10408 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10409 Don't set_caps() if the result of fixating is ANY, as it's not
10410 supported, and not necessary in the case of a link with no
10411 template caps on either side. Fixes tests/check/libs/basesrc in
10412 some pull-mode tests.
10414 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10415 (gst_base_transform_init, gst_base_transform_sink_activate_push)
10416 (gst_base_transform_src_activate_pull):
10417 Track the activation mode.
10418 (gst_base_transform_setcaps): In pull mode, when activating the
10419 src pad, after activating the sink pad, activate the sink pad's
10420 peer, as discussed in part-negotiation.txt.
10422 * libs/gst/base/gstbasesrc.h:
10423 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10424 vmethod, as in basesink.
10426 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10428 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10429 mode, first proxy the setcaps to the peer pad.
10430 (gst_base_sink_pad_fixate): Add a fixate function that calls the
10431 new fixate vmethod.
10432 (gst_base_sink_default_activate_pull): Rename from
10433 gst_base_sink_activate_pull.
10434 (gst_base_sink_negotiate_pull): New function, performs negotiation
10435 in pull mode before calling ::activate_pull().
10436 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10437 vmethod instead of the default implementation. I have no idea how
10438 this worked before. Negotiate before calling activate_pull.
10440 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10441 sink pads in pull mode. In addition to being correct, fixes
10442 filesrc ! decodebin ! identity ! fakesink.
10443 (gst_pad_get_range, gst_pad_pull_range): Don't call
10444 gst_pad_set_caps() if the caps changes; instead error out with
10445 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10447 2007-01-12 Andy Wingo <wingo@pobox.com>
10449 * docs/design/part-negotiation.txt: Update with more policy.
10451 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10453 * libs/gst/check/gstbufferstraw.h:
10454 * libs/gst/check/gstcheck.h:
10455 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10458 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10460 * tests/check/Makefile.am:
10461 * tests/check/gst/.cvsignore:
10462 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10463 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10464 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10465 (GST_START_TEST), (gst_tag_setter_suite):
10466 Add minimal unit test for beforementioned GstTagSetter bug.
10468 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
10470 Patch by: René Stadler <mail at renestadler dot de>
10472 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10473 gst_tag_list_merge() returns a new list, so it's not the best idea
10474 to ingore its return value. Effectively meant that tags could only
10475 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10476 Also add function guard to require a non-NULL taglist as input (has
10477 always been so due to gst_tag_list_copy(), just making it explicit).
10479 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10481 * docs/random/draft-missing-plugins.txt:
10482 Some additions: mention new API that is supposed to be used at the
10483 various stages; short blob about new gst-inspect introspection
10484 option; mention potential future problem with plugins that have
10485 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10487 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10489 * tools/gst-inspect.c:
10490 (print_plugin_automatic_install_info_codecs),
10491 (print_plugin_automatic_install_info_protocols),
10492 (print_plugin_automatic_install_info), (main):
10493 Add --print-plugin-auto-install-info option to gst-inspect, so we can
10494 introspect plugin files and get machine-parsable output that corresponds
10495 to the last bit of the missing-plugin installer string (small gotcha:
10496 doesn't take into account ranks).
10498 2007-01-11 Stefan Kost <ensonic@users.sf.net>
10501 * docs/gst/gstreamer-sections.txt:
10503 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10504 (gst_registry_lookup_locked):
10505 * gst/gstregistry.h:
10506 * gst/gstregistrybinary.c: (gst_registry_binary_write),
10507 (gst_registry_binary_initialize_magic),
10508 (gst_registry_binary_save_string),
10509 (gst_registry_binary_save_pad_template),
10510 (gst_registry_binary_save_feature),
10511 (gst_registry_binary_save_plugin),
10512 (gst_registry_binary_write_cache),
10513 (gst_registry_binary_check_magic),
10514 (gst_registry_binary_load_pad_template),
10515 (gst_registry_binary_load_feature),
10516 (gst_registry_binary_load_plugin),
10517 (gst_registry_binary_read_cache):
10518 * gst/gstregistrybinary.h:
10519 * gst/gstregistryxml.c: (load_feature),
10520 (gst_registry_xml_read_cache):
10521 commit binary registry (disabled by default, see #359653)
10523 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
10525 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10526 Fix 'make check' too.
10528 2007-01-10 Andy Wingo <wingo@pobox.com>
10530 * docs/design/part-negotiation.txt: Fix a typo, add a couple
10533 * docs/design/part-negotiation.txt: Update with, um, one way that
10534 pull-mode negotiation might work?
10537 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10538 that the pad must be a src pad; makes sense to call it the other
10539 way in pull mode, and the logic is symmetric anyway.
10541 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
10543 * plugins/elements/gstfilesink.c:
10544 Include <stdio.h> for fseeko().
10546 2007-01-10 Wim Taymans <wim@fluendo.com>
10550 Reserve LATENCY event.
10552 2007-01-09 Wim Taymans <wim@fluendo.com>
10554 * docs/design/draft-latency.txt:
10557 2007-01-09 Wim Taymans <wim@fluendo.com>
10559 * docs/design/draft-latency.txt:
10562 * gst/gstelement.h:
10563 * gst/gststructure.c:
10567 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
10569 * tests/check/.cvsignore:
10570 Ignore test-registry.xml as well.
10572 2007-01-09 Wim Taymans <wim@fluendo.com>
10574 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10575 unref data at the end when we are done with the pad.
10577 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10579 * docs/gst/gstreamer-sections.txt:
10580 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10581 (init_post), (gst_deinit), (gst_update_registry):
10583 API: add gst_update_registry() (#391296).
10585 * tests/check/Makefile.am:
10586 * tests/check/gst/gstregistry.c:
10587 * tests/check/gst/.cvsignore:
10588 Simple unit test for the above.
10590 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
10592 * gst/gstregistry.c: (gst_registry_scan_path_level):
10593 Plugin extension on HP-UX is .sl, add that to the list of approved
10594 plugin extensions (see #393796).
10596 * tests/check/gst/gstpad.c: (GST_START_TEST):
10597 ulong => gulong. Fixes compilation with HP-UX compiler.
10599 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10600 Fix compilation if valgrind headers are not available.
10602 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
10604 * win32/common/libgstreamer.def:
10605 Add new exported function.
10606 * win32/vs6/libgstbase.dsp:
10607 Add gstdataqueue.c to the build.
10608 * win32/vs6/libgstcoreelements.dsp:
10609 Add gstmultiqueue.c to the build.
10611 2007-01-06 Andy Wingo <wingo@pobox.com>
10613 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10614 activate_pull(), providing for a way to specialize the process of
10615 spawning a thread to pull on the sink pad. There is a default
10618 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10619 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10620 (gst_base_sink_init): Renamed pad activation functions (inserting
10621 "_pad" in their names). Refactor to use the new activate_pull
10622 vmethod, as appropriate.
10623 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10624 default activate_pull function to start a task pulling from the
10625 sink pad, as before.
10627 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10628 on the pads if necessary, as in push()/chain(). Update docs.
10629 Shouldn't affect existing pull() usage as it is currently only
10630 being used on buffers without caps.
10632 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10634 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10636 Call g_thread_init() first thing in gst_init() / gst_check_init().
10637 When initialisation is done via gst_init_get_option_group() and
10638 GOption parsing, issue a warning if the GLib thread system has not
10639 been initialised yet by the time gst_init_get_option_group() is
10640 called, as it's quite likely other GLib functions such as
10641 g_option_context_new() have been called already then, and
10642 g_thread_init() must be called before any other GLib function. The
10643 application in question must be fixed in that case, since memory
10644 corruption might happen otherwise.
10645 We issue the warning because even if the GLib folks decide to work
10646 around the problem on their end in future, this is still an issue
10647 with all GLib versions >= 2.10.0, so we should warn until we depend
10648 on a GLib version we know to be safe.
10649 Update documentation as well.
10650 Closes bug #391278.
10652 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10654 * tools/gst-inspect.c: (main):
10655 * tools/gst-launch.c: (main):
10656 * tools/gst-typefind.c: (main):
10657 * tools/gst-xmlinspect.c: (main):
10658 Call g_thread_init() really really early, before any other GLib
10659 function (see #342564 and recent discussion on gtk-devel-list).
10661 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10663 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
10665 * gst/gst_private.h:
10666 * gst/gstconfig.h.in:
10668 On win32, all the __declspec stuff for symbol exporting is
10669 apparently only needed with MSVC, but doesn't work with MingW.
10670 Fixes compilation with MingW and #391909.
10672 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
10674 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10675 Change some GST_ERROR_OBJECT that aren't really errors to
10676 GST_WARNING_OBJECT in order to reduce terminal spam.
10678 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10680 * tests/check/Makefile.am:
10681 disable test again, as there seem to be still race problems
10683 2007-01-04 Stefan Kost <ensonic@users.sf.net>
10685 * tests/check/Makefile.am:
10686 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10687 (GST_START_TEST), (queue_suite):
10688 enable queue test again, add tests for the leaky behaviour
10690 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
10693 * tests/examples/Makefile.am:
10694 Compile adapter test/example only if the required headers are
10695 available (fixes #391915).
10697 2007-01-01 David Schleef <ds@schleef.org>
10700 Restore the previous signal handler for SIGSEGV instead of
10701 setting to default, since we may have stolen it away from
10702 someone. (i.e., Mono)
10704 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10706 * docs/random/draft-missing-plugins.txt:
10707 Some small additions and clarifications.
10709 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
10711 * gst/gstregistryxml.c: (gst_registry_save_escaped):
10712 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
10713 since that can lead to random memory corruptions and crashes
10714 (may or may not be related to #383244, #386711, and #386711).
10716 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10718 * tests/check/.cvsignore:
10719 * tests/check/Makefile.am:
10720 sync .cvsignome and CLEANFILES
10722 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10724 * tests/check/Makefile.am:
10727 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10729 * docs/design/part-states.txt:
10730 two tiny additional comments
10732 * gst/gststructure.c:
10735 * tests/check/Makefile.am:
10736 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10738 disable test for now, unless it gets fixed
10740 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10742 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10744 fix race in underrun test
10746 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10748 * tests/check/elements/.cvsignore:
10751 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10753 try to narrow test failure
10755 2006-12-21 David Schleef <ds@schleef.org>
10757 * plugins/elements/gstfakesrc.c:
10758 Use g_random_int_range(), since it produces better random
10759 numbers in a range than almost-correct floating point code.
10761 2006-12-21 Stefan Kost <ensonic@users.sf.net>
10763 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10764 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10765 (gst_check_teardown_sink_pad):
10766 do not automatically (de)activate pads
10768 * tests/check/Makefile.am:
10769 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10770 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
10771 add new, yet simple tests for queue
10773 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
10774 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
10775 * tests/check/elements/filesrc.c: (cleanup_filesrc),
10777 * tests/check/elements/identity.c: (cleanup_identity):
10778 consistent pad (de)activation
10780 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
10782 Patch by: Sebastian Dröge <slomo ubuntu com>
10784 * libs/gst/base/gstcollectpads.c:
10785 Fix two doc typos (#387866).
10787 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10789 * docs/manual/advanced-dparams.xml:
10790 Fix typo (g_object_control_properties() doesn't exist).
10792 2006-12-19 Edward Hervey <edward@fluendo.com>
10794 * gst/gstsegment.c: (gst_segment_set_seek):
10795 Fine tune the cases where the segment start/stop values are really
10797 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10798 Add tests for the return values of gst_segment_set_seek().
10800 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
10805 * plugins/elements/gstqueue.c: (gst_queue_class_init),
10807 Fix incorrect documentation and flesh it out a bit more.
10808 Set default values for the max properties on the GParamSpec as well,
10809 so it shows up correctly in gst-inspect.
10811 2006-12-18 Stefan Kost <ensonic@users.sf.net>
10813 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10814 Correct docs of queue, add more detail and crosslink it more.
10816 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10818 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
10819 Print additional debug info when the stream isn't perfectly
10820 timestamped; don't try to use invalid durations.
10822 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
10824 * docs/design/Makefile.am:
10825 Dist new design docs.
10827 2006-12-16 Wim Taymans <wim@fluendo.com>
10829 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10831 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
10832 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10833 (gst_collect_pads_stop), (gst_collect_pads_event),
10834 (gst_collect_pads_chain):
10835 * libs/gst/base/gstcollectpads.h:
10836 Add refcounting to the collectpads data so we can track when it's safe
10837 to free the data. Fixes #383382.
10839 2006-12-15 Wim Taymans <wim@fluendo.com>
10841 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
10842 (gst_collect_pads_remove_pad):
10843 Automatically activate/deactivate pads when they are added to a
10844 started/stoped collectpads.
10846 2006-12-15 Wim Taymans <wim@fluendo.com>
10848 * gst/gstelement.c: (gst_element_add_pad):
10849 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10850 * gst/gstpad.c: (gst_pad_init):
10851 Set pads to FLUSHING when they are created. Check, warn and fix when a
10852 demuxer adds an inactive pad to itself when running. Fixes #339326.
10854 2006-12-15 Wim Taymans <wim@fluendo.com>
10856 * gst/gstelement.c: (gst_element_class_init),
10857 (gst_element_default_send_event), (gst_element_send_event),
10858 (gst_element_default_query), (gst_element_query):
10859 Expose default element send_event and query handling as vmethods that
10860 subclasses can chain up to.
10862 2006-12-15 Wim Taymans <wim@fluendo.com>
10864 * gst/gstelement.c: (gst_element_set_state_func):
10865 Small documentation fixes.
10867 2006-12-15 Wim Taymans <wim@fluendo.com>
10869 * docs/design/draft-latency.txt:
10870 Checked in draft for handling latency in pipelines.
10872 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
10876 * gstreamer.spec.in:
10879 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
10881 * gst/gst.c: (init_pre), (init_post):
10882 init_pre() and init_post() might be called via our GOptionGroup or
10883 from gst_init(), and we should skip both of them if we've already
10884 been initialised, otherwise we will init some things twice or add
10885 two default log functions.
10887 2006-12-13 Edward Hervey <edward@fluendo.com>
10889 * docs/manual/basics-bus.xml:
10890 No, gst_main_loop does not exist. Its g_main_loop.
10891 Discovered by somebody who abused the copy-paste technique of coding :)
10893 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
10895 * gst/gstghostpad.c:
10896 Log ghostpad debug stuff to the GST_PADS category as well rather
10897 than just to the default category.
10899 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
10902 * gst/gst.c: (init_pre):
10903 Add some basic system details such as OS and architecture
10904 to the debug output if possible, courtesy of uname().
10906 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10908 * docs/gst/running.xml:
10909 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10910 environment variables.
10912 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10914 * tests/check/gst/gstbin.c: (GST_START_TEST):
10915 It is acceptable to have a refcount of 2 or 3 at this point in the
10916 test, because the pipeline might be just posting its state_change
10917 message. The next line then waits for that message to appear using
10918 bus_poll, so that should be fine too.
10920 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10922 * gst/gst.c: (ensure_current_registry_forking):
10923 Ignore EINTR when reading from the child registry pipe.
10924 Explicitly ignore the return value from close, since it makes no
10927 * gst/gstminiobject.c: (gst_mini_object_ref),
10928 (gst_mini_object_unref):
10929 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10931 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10932 When removing cached plugins, remove their features too, so they're
10933 not visible after they've disappeared.
10935 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10936 In the unlikely case that we are linking pads with no parents, don't
10937 crash trying to get the non-existent parent bin.
10939 * gst/parse/grammar.y:
10940 Output debug in the PIPELINE category
10942 2005-03-08 Wim Taymans <wim@fluendo.com>
10944 Patch by: René Stadler <mail at renestadler dot de>
10946 * gst/gstclock.c: (gst_clock_new_periodic_id):
10947 Reject invalid clock times for interval of periodic ids.
10950 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10952 * gst/gstelementfactory.c: (gst_element_factory_create):
10953 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10954 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10955 * tools/gst-inspect.c: (print_element_info):
10956 Fix refcounting of gst_plugin_feature_load to match the docs.
10959 2006-12-07 Wim Taymans <wim@fluendo.com>
10961 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10962 (gst_base_sink_get_position):
10963 Improve debugging of events.
10965 2006-12-07 Wim Taymans <wim@fluendo.com>
10967 Patch by: René Stadler <mail at renestadler dot de>
10969 * gst/gstclock.c: (gst_clock_id_wait):
10970 Make period ids add the interval to the origial requested time instead
10971 of the possibly updated time which can be wrong when there are multiple
10972 waiters for the same id. Fixes #382592.
10974 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10975 (gst_system_clock_id_wait_jitter_unlocked),
10976 (gst_system_clock_id_wait_jitter):
10977 Fix restart in the async notify thread when an async entry is added to
10978 the front of the list. Fixes #381492.
10980 * tests/check/gst/gstsystemclock.c: (store_callback),
10981 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10982 Added test for multiple async waits.
10983 Added test for async wait order.
10985 2006-12-07 Wim Taymans <wim@fluendo.com>
10987 * gst/gstbin.c: (gst_bin_query):
10988 Add some more docs about the POSITION query.
10990 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10993 Bump version nano - back to CVS.
10995 === release 0.10.11 ===
10997 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
11000 releasing 0.10.11, "Love never runs on time"
11002 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
11004 * win32/common/libgstbase.def:
11005 * win32/common/libgstreamer.def:
11006 * win32/vs8/libgstbase.vcproj:
11007 * win32/vs8/libgstcoreelements.vcproj:
11008 * win32/vs8/libgstreamer.vcproj:
11009 Fix compilation on win32 under VS8
11010 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11011 Partially fixes #381175
11013 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
11015 * gst/gstvalue.c: (gst_value_compare_fraction):
11016 If someone is foolish enough to compare 2 fractions with denominator =
11017 0, return UNORDERED rather than aborting.
11019 2006-11-28 Edward Hervey <edward@fluendo.com>
11021 * libs/gst/base/Makefile.am:
11022 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11023 (gst_data_queue_base_init), (gst_data_queue_class_init),
11024 (gst_data_queue_init), (gst_data_queue_new),
11025 (gst_data_queue_cleanup), (gst_data_queue_finalize),
11026 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11027 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11028 (gst_data_queue_is_empty), (gst_data_queue_is_full),
11029 (gst_data_queue_set_flushing), (gst_data_queue_push),
11030 (gst_data_queue_pop), (gst_data_queue_drop_head),
11031 (gst_data_queue_set_property), (gst_data_queue_get_property):
11032 * libs/gst/base/gstdataqueue.h:
11033 New GstDataQueue object for threadsafe queueing. Most useful for
11034 elements that need some queueing functionnality.
11035 * docs/libs/gstreamer-libs-docs.sgml:
11036 * docs/libs/gstreamer-libs-sections.txt:
11037 Insert documentation for GstDataQueue
11038 * plugins/elements/Makefile.am:
11039 * plugins/elements/gstelements.c:
11040 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11041 (gst_multi_queue_class_init), (gst_multi_queue_init),
11042 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11043 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11044 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11045 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11046 (gst_multi_queue_loop), (gst_multi_queue_chain),
11047 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11048 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11049 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11050 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11051 (wake_up_next_non_linked), (compute_next_non_linked),
11052 (single_queue_overrun_cb), (single_queue_underrun_cb),
11053 (single_queue_check_full), (gst_single_queue_new):
11054 * plugins/elements/gstmultiqueue.h:
11055 New multiqueue element, using GstDataQueue. Used for queuing multiple
11057 Closes #344639 and #347785
11059 2006-11-22 Stefan Kost <ensonic@users.sf.net>
11061 * docs/pwg/advanced-types.xml:
11062 add more missing type details
11064 * tools/gst-run.c: (main):
11065 remove unused variable
11067 2006-11-21 Stefan Kost <ensonic@users.sf.net>
11069 * docs/libs/Makefile.am:
11070 * docs/libs/gstreamer-libs.types:
11071 add types of base classes to enable gobject specific stuff in the docs
11073 * docs/random/ensonic/embedded.txt:
11074 more ideas about isolating platform specific things
11076 2006-11-20 Wim Taymans <wim@fluendo.com>
11078 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11080 * libs/gst/check/gstcheck.h:
11081 Fix compilation and running against 0.9.4. Fixes #377332.
11083 2006-11-20 Wim Taymans <wim@fluendo.com>
11085 * gst/gstsegment.c: (gst_segment_set_seek),
11086 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11087 (gst_segment_to_running_time):
11088 Fix boundary checking in to_running_time() and to_stream_time().
11091 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11092 stream and running time can now be calculated for the complete
11095 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
11097 * gst/gstpad.c: (gst_pad_push_event):
11098 Can't access event structure after giving away ownership of
11101 2006-11-15 Stefan Kost <ensonic@users.sf.net>
11103 * docs/random/ensonic/embedded.txt:
11104 * docs/random/ensonic/profiling.txt:
11105 * docs/random/ensonic/receipies.txt:
11108 2006-11-13 Wim Taymans <wim@fluendo.com>
11110 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11113 Fix documentation for gst_pad_dispatcher. Fixes #374475.
11115 2006-11-13 Wim Taymans <wim@fluendo.com>
11117 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11119 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11120 Store new length in segment duration so we don't keep on calling the
11121 potentially expensize get_size() call. Fixes #370865.
11123 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
11125 Patch by: Sergey Scobich <sergey.scobich at gmail com>
11127 * win32/common/libgstreamer.def:
11128 Add two missing symbols (#366492).
11130 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
11132 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11133 (gst_adapter_take_buffer):
11134 Fix format string to use all its arguments.
11135 Remove useless >= check on a guint
11137 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11139 * tests/examples/adapter/.cvsignore:
11140 Ignore build file as commanded by the build-bot
11142 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11144 * tests/examples/adapter/Makefile.am:
11145 * tests/examples/adapter/adapter_test.c: (run_test_take),
11146 (run_test_take_buffer), (run_tests), (main):
11148 Add new files from the previous commit
11150 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
11154 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11155 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11156 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11157 * libs/gst/base/gstadapter.h:
11158 * tests/check/libs/adapter.c: (create_and_fill_adapter),
11159 (GST_START_TEST), (gst_adapter_suite):
11160 * tests/examples/Makefile.am:
11161 Do some optimisation work in GstAdapter to avoid copies in more cases.
11162 It could still do slightly better by merging buffers when
11163 gst_buffer_is_span_fast is true, but is already faster.
11165 Also, avoid traversing a single-linked list to append each incoming
11166 buffer inside the adapter.
11168 Add simple test app that times the adapter behaviour in different
11169 situations, and extend the unit test to check that bytes enter and
11170 exit the adapter in their original order.
11172 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
11174 * docs/random/draft-missing-plugins.txt:
11175 Update: use element message instead of adding a new message
11176 type to the core; don't provide GStreamer API to initiate the
11177 plugin download, just provide API to compose the strings needed
11178 and let an external libgimmestuff handle the rest.
11180 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
11182 * tools/gst-inspect.c: (print_element_properties_info):
11183 Print a string instead of 'unknown type' for GValueArray properties
11185 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
11187 * docs/random/draft-missing-plugins.txt:
11190 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11192 * tests/examples/typefind/typefind.c: (type_found), (main):
11193 Make typefind element example work again (#371894); add a
11196 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
11198 * docs/random/draft-missing-plugins.txt:
11199 Commit initial draft about how to deal with missing plugins,
11200 needs work (API too).
11202 2006-11-07 Stefan Kost <ensonic@users.sf.net>
11204 * docs/pwg/advanced-types.xml:
11205 documents the new caps elements (see #363118)
11207 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11209 * gst/gstplugin.c: (gst_plugin_load_file):
11210 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11211 (gst_file_src_map_region), (gst_file_src_start):
11212 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11213 (gst_file_index_commit):
11214 Use g_strerror() instead of strerror() - we want UTF-8.
11216 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
11218 Patch by: Peter Kjellerstedt <pkj at axis com>
11220 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11221 Another printf fix (#371493).
11223 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11225 * tests/check/gst/gsttag.c:
11226 relicence (okay with author=company)
11228 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11230 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11231 (gst_pad_push_event):
11232 Enhance debug and improve docs
11237 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11239 * docs/random/ensonic/distributed.txt:
11240 * docs/random/ensonic/profiling.txt:
11243 2006-11-06 Stefan Kost <ensonic@users.sf.net>
11245 * docs/gst/gstreamer-sections.txt:
11246 add new API and fix the build
11248 * gst/gstbin.c: (gst_bin_recalc_state):
11249 * gst/gstelement.c: (gst_element_message_full),
11250 (gst_element_get_state_func), (gst_element_set_state_func):
11251 use new API and improve logging
11253 * gst/gstutils.c: (gst_element_state_change_return_get_name):
11255 API: add function to get StateChangereturn names to improve logs
11257 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
11259 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11260 I'm considering shooting the next person to put strerror stuff
11261 in the translateable part of the message.
11263 2006-11-03 Wim Taymans <wim@fluendo.com>
11265 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11266 Get the type and printf conversion specifiers right.
11268 2006-11-03 Wim Taymans <wim@fluendo.com>
11270 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11272 * gst/gstpad.c: (gst_pad_init), (pre_activate),
11273 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11274 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11275 Some small cleanups. Improve debugging.
11277 Signal all waiting threads with a broadcast instead of just one.
11280 2006-11-03 Wim Taymans <wim@fluendo.com>
11282 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11283 (gst_fd_src_create):
11284 Add some debugging.
11285 Only update fd when it's different from the old.
11287 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11289 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11290 Printf fixes for PPC/OSX, take two (#369366).
11292 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
11294 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
11296 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11297 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11298 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11299 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11300 don't cast to long long for portability reasons, but use
11301 GLib's types instead.
11303 2006-10-30 Michael Smith <msmith@fluendo.com>
11305 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11306 Get the arguments to lseek() the right way around.
11309 2006-10-30 Wim Taymans <wim@fluendo.com>
11311 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11314 _declspec should be __declspec (two underscores, not one). Fixes 366572.
11316 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11318 Patch by: Kjartan Maraas <kmaraas at gnome org>
11320 * docs/design/part-MT-refcounting.txt:
11321 * docs/random/wtay/capsnego2-docs:
11324 Typo fixes (#366212).
11326 2006-10-28 Wim Taymans <wim@fluendo.com>
11328 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11331 * win32/common/libgstbase.def:
11332 * win32/common/libgstreamer.def:
11333 * win32/vs8/libgstbase.vcproj:
11334 * win32/vs8/libgstcontroller.vcproj:
11335 Add needed entries in .def files.
11337 Rearrange def files in vs8 solutions. Fixes #366286.
11339 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
11341 * win32/common/gstconfig.h:
11342 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11343 hand-made win32 gstconfig.h. Fixes #366321.
11345 2006-10-27 Wim Taymans <wim@fluendo.com>
11347 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11348 (gst_ghost_pad_new_full):
11349 Make acceptcaps return TRUE when we don't have a target, just like
11352 2006-10-27 Wim Taymans <wim@fluendo.com>
11354 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11355 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11357 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
11359 * gst/gststructure.c: (gst_structure_id_set_value):
11360 If someone tries to set a non-UTF8 string field on a structure,
11361 don't just print a warning, but also ignore the request and do
11362 not change/add that field to the structure.
11364 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11365 Test for the above.
11367 2006-10-25 David Schleef <ds@schleef.org>
11370 g_hash_table_insert() needs a cast to a non-const pointer duh.
11372 2006-10-25 David Schleef <ds@schleef.org>
11376 Change name parameter of _gst_debug_register_funcptr to const
11377 to reflect the constness of its use in the function as well
11378 as to quiet a gcc warning.
11380 2006-10-25 Edward Hervey <edward@fluendo.com>
11382 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11383 Don't push the buffer if it's empty.
11386 2006-10-24 Wim Taymans <wim@fluendo.com>
11391 * libs/gst/base/gstbasetransform.c:
11392 (gst_base_transform_sink_eventfunc):
11393 Debug segment values *after* updating them as this is more
11396 2006-10-23 Wim Taymans <wim@fluendo.com>
11398 * docs/design/part-events.txt:
11401 * docs/design/part-block.txt:
11402 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11403 (gst_pad_push_event):
11404 Revert BLOCKING patch, it tries to be smart without really having a
11405 clear idea what or how. So, now we discard all FLUSHING events again on
11406 a blocking pad. Should fix gnonlin again.
11408 2006-10-23 Wim Taymans <wim@fluendo.com>
11410 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11412 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11413 (gst_base_src_start), (gst_base_src_activate_push):
11414 Make sure size is always initialized. Fixes #364388.
11416 2006-10-20 Stefan Kost <ensonic@users.sf.net>
11418 * docs/random/ensonic/distributed.txt:
11419 add some ideas about doing distributed processing
11421 * docs/random/ensonic/profiling.txt:
11422 get_rusage look promising
11424 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11426 * docs/manual/basics-helloworld.xml:
11427 Add a cast in example to fix compile warning
11429 2006-10-18 Wim Taymans <wim@fluendo.com>
11431 * gst/gstsegment.c: (gst_segment_set_last_stop),
11432 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11433 Relax arg checking again, -1 is allowed.
11435 2006-10-18 Wim Taymans <wim@fluendo.com>
11437 * gst/gstsegment.c: (gst_segment_set_last_stop),
11438 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11439 _set_last_stop() must be with a value != -1
11440 A _TYPE_SET to -1 means seek to 0.
11441 Calc last_stop correctly for negative rates.
11442 Make sure we work with positive durations when updating a segment.
11444 2006-10-18 Wim Taymans <wim@fluendo.com>
11446 * docs/design/part-live-source.txt:
11450 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
11453 Add an explicit cast to GstBuffer** to keep old code that added an
11454 explicit cast to GstMiniObject** for gst_mini_object_replace()
11455 compiling without warning.
11457 2006-10-18 Stefan Kost <ensonic@users.sf.net>
11459 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11460 check for validity of dates
11462 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11464 * docs/gst/gstreamer-sections.txt:
11465 Forgot this one, makes gtk-doc shut up.
11467 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11469 Patch by: Peter Kjellerstedt <pkj at axis com>
11472 Don't define xmlNodePtr to gpointer if the core was built with
11473 --disable-loadsave and --disable-registry, this will break
11474 applications that want to use libxml2 but are buildling against a
11475 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11476 instead so we don't have to mess with the libxml2 namespace
11479 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
11482 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11483 type-punned pointer warnings.
11485 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
11487 * gst/gstelement.h:
11488 Add casts to the correct return type to state <=> state transition
11491 2006-10-16 Stefan Kost <ensonic@users.sf.net>
11493 * docs/design/part-live-source.txt:
11494 describe howto handle latency
11496 * docs/random/ensonic/profiling.txt:
11499 * tools/gst-plot-timeline.py:
11500 fix log parsing for solaris, remove unused function
11502 2006-10-16 Wim Taymans <wim@fluendo.com>
11504 * docs/design/part-trickmodes.txt:
11506 Update some docs regarding reverse playback.
11508 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
11510 Patch by: Marcus Granado <mrc dot gran at gmail com>
11512 * win32/vs8/grammar.vcproj:
11513 Error out with a warning if glib-genmarshal.exe is not in path,
11514 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11516 2006-10-13 Wim Taymans <wim@fluendo.com>
11518 * gst/gstsegment.c: (gst_segment_set_seek):
11519 When seeking to stop -1, set last_stop (current position) to the
11520 duration of the segment.
11522 2006-10-13 Wim Taymans <wim@fluendo.com>
11524 * gst/gstelement.h:
11525 Clarify _NO_PREROLL a bit more.
11530 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11531 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11532 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11533 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11534 due to wrong locking order. Fixes #361769.
11535 Remove some redundant/misplaced checks in pad_block.
11537 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11538 For negative rates, count backwards from the duration.
11540 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
11542 * gst/gsterror.c: (_gst_library_errors_init):
11543 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11544 up with something better).
11546 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11548 * win32/vs6/libgstreamer.dsp:
11549 * win32/vs7/libgstreamer.vcproj:
11550 * win32/vs8/libgstreamer.vcproj:
11551 Don't reference glib-compat.c which is currently not used and not
11552 disted; add gstquark.c which was recently added. Fixes #361730.
11554 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11556 * win32/common/libgstbase.def:
11557 * win32/common/libgstcontroller.def:
11558 * win32/common/libgstreamer.def:
11559 Add gst_caps_merge() and a bunch of other recently-added functions.
11562 2006-10-11 Wim Taymans <wim@fluendo.com>
11564 * docs/plugins/gstreamer-plugins.args:
11565 * docs/plugins/inspect/plugin-coreelements.xml:
11566 * docs/plugins/inspect/plugin-coreindexers.xml:
11567 Update element args.
11569 * gst/gstsystemclock.c:
11570 Small comment update.
11572 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11573 (gst_tee_request_new_pad), (gst_tee_release_pad),
11574 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11575 (gst_tee_sink_activate_pull):
11576 * plugins/elements/gsttee.h:
11578 Add default property defines.
11579 Implement release pad function.
11580 Give properties better blubs etc.
11581 Activate pads before adding them to a running tee.
11582 Do simple buffer_alloc on the first requested pad.
11583 Post error when activation fails.
11585 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11587 * gst/gst.c: (ensure_current_registry_forking):
11588 Check return value of write() to make compiler happy.
11590 2006-10-11 Wim Taymans <wim@fluendo.com>
11592 Patch by: Sjoerd Simons <sjoerd at luon dot net>
11594 * plugins/elements/gstqueue.c: (gst_queue_chain):
11595 Recheck queue filledness after signalling the overrun when we're about
11596 to leak downstream because we released the lock when emitting the signal
11597 and the queue could be empty again. Fixes #352345.
11599 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
11601 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11602 Fix refcounting here too, just like we did for _new_valist() a few
11603 days ago (#357180) (thanks to René Stadler). Also remove all those
11604 'Since: 0.9' from the gtk-doc blobs.
11606 * tests/check/libs/controller.c: (controller_refcount_new_list),
11607 (gst_controller_suite):
11608 Unit test for the above.
11610 2006-10-10 Wim Taymans <wim@fluendo.com>
11612 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11614 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11615 (gst_pad_save_thyself):
11617 Write pad direction in XML output. Fixes #345496.
11619 2006-10-10 Wim Taymans <wim@fluendo.com>
11621 Patch by: René Stadler <mail at renestadler dot de>
11623 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11624 (gst_controller_new_list), (_gst_controller_dispose),
11625 (_gst_controller_finalize), (_gst_controller_class_init):
11626 Take ref to controlled object so that it cannot disappear.
11629 2006-10-10 Wim Taymans <wim@fluendo.com>
11631 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11632 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11633 (gst_check_teardown_sink_pad):
11634 Activate/deactivate pads in setup/teardown respectively.
11636 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11638 Patch by: Josep Torra Valles <josep@fluendo.com>
11641 Cast values when making gstenumtypes.h. This pacifies Forte
11642 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11643 in the enumeration.
11645 2006-10-09 Wim Taymans <wim@fluendo.com>
11647 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11648 Rename some more @cur to @start to fix docs.
11650 * gst/gstsegment.c: (gst_segment_set_seek):
11652 time and start must always stay in sync as defined in design doc.
11654 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11655 Rename param to fix docs.
11657 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11658 Check that start and time are in sync.
11660 * tests/check/pipelines/parse-launch.c:
11661 (gst_parse_test_element_change_state):
11662 Activate pad before adding to the element.
11664 2006-10-09 Wim Taymans <wim@fluendo.com>
11666 * docs/design/part-qos.txt:
11671 Update seek event docs regarding negative rates.
11672 Rename @cur to @start.
11674 * gst/gstsegment.c: (gst_segment_set_seek):
11675 * gst/gstsegment.h:
11676 Update set_seek docs regarding negative rates.
11677 Correctly update last_stop to @stop when dealing with negative
11679 Rename @cur to @start.
11681 * tests/check/gst/gstpad.c: (GST_START_TEST):
11682 Activate pads before trying to use them.
11684 * tests/check/gst/gstsegment.c: (GST_START_TEST),
11685 (gst_segment_suite):
11686 Add simple check for segments and negative rates.
11688 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
11690 * gst/gsttaglist.c: (gst_tag_list_is_empty):
11691 * gst/gsttaglist.h:
11692 * docs/gst/gstreamer-sections.txt:
11693 API: add gst_tag_list_is_empty() (#360467).
11695 * tests/check/gst/gsttag.c: (GST_START_TEST):
11698 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11700 * gst/gstmessage.h:
11701 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11702 a value that doesn't fit on enumeration.
11704 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11706 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11707 Remove local debugging system and use Gstreamer's instead.
11709 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11711 Patch by: Josep Torra Valles <josep@fluendo.com>
11713 * common/m4/gst-error.m4:
11714 Disable warning of statement not reached on Forte.
11715 * gst/gstmessage.h:
11716 Fix warning on Forte (value doesn't fit on enumeration).
11717 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
11718 Fix warning on Forte (value doesn't fit on enumeration).
11719 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11720 DEBUG macro says it takes minimum of 2 args and so Forte
11721 complains about the use with just 1 arg.
11722 * plugins/elements/gstfdsink.c:
11723 * plugins/elements/gstfdsrc.c:
11724 * plugins/elements/gstfilesink.c:
11725 * plugins/elements/gstfilesrc.c:
11726 Use correct return type for the uri handler implementations.
11728 All these fix warnings in Forte. Fixes bug #360860.
11730 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
11732 * gst/gstelement.h:
11733 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
11734 format string, so don't use G_GNUC_PRINTF for those versions.
11736 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11738 * gst/gsttaglist.c: (gst_is_tag_list):
11739 * gst/gsttaglist.h:
11740 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
11742 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11743 Small test for the above.
11745 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
11747 * gst/gsttaglist.h:
11748 Less tabs, more spaces.
11750 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
11753 Those two function declarations do actually belong there, revert
11754 commit from yesterday that turned them intro macros.
11756 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11758 Patch by: Josep Torra Valles <josep@fluendo.com>
11760 * gst/gst.c: (gst_init_get_option_group):
11761 Fix empty declaration and type mismatch.
11762 * gst/gstbin.c: (gst_bin_change_state_func):
11764 * gst/gstelement.c: (gst_element_continue_state),
11765 (gst_element_set_state_func), (gst_element_change_state),
11766 (gst_element_change_state_func):
11767 Fix type mismatches.
11768 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
11769 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
11770 Cast as appropriate.
11771 * gst/gstobject.c: (gst_class_signal_connect):
11772 Cast as appropriate. The function pointer parameter really
11773 has the wrong type but would break API if we change it.
11775 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
11776 order of including string.h.
11777 * gst/gstutils.c: (gst_element_state_get_name):
11778 Remove unreachable line.
11779 * gst/gstxml.c: (gst_xml_parse_doc):
11781 All these caught by Forte.
11783 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11785 Patch by: Josep Torra Valles <josep@fluendo.com>
11787 * common/m4/gst-error.m4:
11789 We need to disable warnings on Forte for empty declarations
11790 due to gst-indent adding ;s to lines that just use macros
11791 where the macro actually doesn't need a ; at end to end
11794 2006-10-06 Wim Taymans <wim@fluendo.com>
11796 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11797 (gst_file_sink_close_file), (gst_file_sink_event),
11798 (gst_file_sink_render):
11799 Add some FIXME for the NEWSEGMENT handling.
11801 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11803 * gst/parse/grammar.y:
11804 Remove static function gst_parse_element_lock as all it does
11805 is return. Looks like cruft from 0.8.
11807 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
11809 Patch by: Josep Torra Valles <josep@fluendo.com>
11811 * common/m4/gst-error.m4:
11813 * libs/gst/net/Makefile.am:
11814 Fix a compilation issue with Forte on Solaris. inet_aton is in
11817 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11819 * gst/gstpad.c: (pre_activate):
11820 * gst/gstregistry.c: (gst_registry_scan_path_level):
11821 * gst/gstregistryxml.c: (load_plugin):
11822 * libs/gst/controller/gstcontroller.c:
11823 (gst_controlled_property_set_interpolation_mode):
11824 * libs/gst/dataprotocol/dataprotocol.c:
11825 (gst_dp_packet_from_event_1_0):
11826 * libs/gst/net/gstnetclientclock.c:
11827 (gst_net_client_clock_observe_times):
11828 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11831 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
11834 * docs/gst/gstreamer-sections.txt:
11835 * gst/gstconfig.h.in:
11836 * gst/gstelement.h:
11838 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
11839 whether we can use G_GNUC_PRINTF in other header files and at
11840 least check the printf format/arguments of debug messages and
11841 GST_ELEMENT_ERROR messages when the printf extension is not
11843 Replace more tabs with spaces in gstinfo.h and remove two spurious
11844 function declarations in GST_DISABLE_DEBUG part with macros.
11846 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
11848 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
11849 More docs for the sync-message signal (mention that it is not
11850 emitted by default); log message structures of messages posted on
11853 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
11855 * gst/gst.c: (ensure_current_registry_forking):
11856 Use a pipe pair to receive status results from the forked child, and
11857 ignore the result from waitpid. Fixes #355499
11859 2006-10-02 Wim Taymans <wim@fluendo.com>
11861 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11862 (gst_ghost_pad_suite):
11865 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11868 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
11870 2006-10-02 Edward Hervey <edward@fluendo.com>
11872 * docs/design/part-block.txt:
11873 Further explain the use of flushing on blocked pads.
11874 * docs/gst/gstreamer-sections.txt:
11875 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11876 (gst_pad_push_event):
11878 Added new GstPadFlag : GST_PAD_BLOCKING.
11879 Adds the notion of pads really blocking, which enables to properly
11880 handle FLUSH_START/FLUSH_STOP events on blocked pads.
11882 API: gst_pad_is_blocking()
11883 API: GST_PAD_IS_BLOCKING() macro
11884 API: GST_PAD_BLOCKING GstPadFlag
11886 2006-10-02 Wim Taymans <wim@fluendo.com>
11888 Patch by: mrcgran <mrc.gran at gmail dot com>
11890 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
11891 Filter the proxied caps against the padtemplate if we have one.
11893 * gst/gstquery.c: (gst_query_new_segment):
11894 Add include for gstinfo.h so that compilation with
11895 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
11897 2006-10-02 Wim Taymans <wim@fluendo.com>
11899 Patch by: Alessandro Decina <alessandro at nnva org>
11901 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
11902 (gst_file_sink_set_location), (gst_file_sink_open_file),
11903 (gst_file_sink_close_file), (gst_file_sink_event),
11904 (gst_file_sink_render):
11905 Set file to NULL when closing filesink so that we can set a new filename
11906 in READY. Fixes #358613.
11908 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11910 Patch by: Alessandro Decina <alessandro at nnva org>
11912 * gst/gstevent.c: (_gst_event_copy):
11913 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11914 with event structures by setting the parent refcount address of the
11915 copied structure to the address of the refcount member of the newly
11916 copied event rather than the address of the refcount member of the
11917 original event. Fixes #358737.
11919 * tests/check/gst/gstevent.c: (GST_START_TEST):
11920 Unit test for the above.
11922 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11924 * docs/design/Makefile.am:
11925 Dist some more files.
11927 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11929 * tests/check/libs/controller.c: (GST_START_TEST),
11930 (gst_controller_suite):
11931 Add test for the previous fix; add some more tests
11932 for correct refcounting behaviour; fix a few leaks
11933 in test cases; call gst_controller_init() at start
11936 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11938 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11939 (gst_controller_set_from_list):
11940 Don't g_return_val_if_fail() on timed values with invalid timestamps
11941 inside a critical section without unlocking the mutex. Spotted by
11942 René Stadler. (#357617)
11943 Also, fix up refcounting properly: when returning an existing
11944 controller, we should increase the reference only once and not
11945 once per property and when trying to control a property again
11946 we should also increase the refcount.
11948 2006-09-29 Wim Taymans <wim@fluendo.com>
11950 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11951 * libs/gst/net/gstnettimeprovider.c:
11952 (gst_net_time_provider_thread):
11953 Stop reading commands when EOF as well.
11955 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11956 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11957 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11958 Unify description of the dump property.
11960 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11962 * tests/examples/manual/.cvsignore:
11963 OK, so it's actually cvsignore that needs changing. Stop laughing.
11965 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11967 * tests/examples/manual/Makefile.am:
11968 Gah, declare vars *before* using them
11970 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11972 * gst/gst.c: (init_pre), (scan_and_update_registry),
11973 (ensure_current_registry_nonforking),
11974 (ensure_current_registry_forking), (ensure_current_registry),
11975 (init_post), (gst_debug_help), (gst_deinit):
11976 * gst/gst_private.h:
11977 * gst/gstregistry.c: (gst_registry_finalize),
11978 (gst_registry_remove_features_for_plugin_unlocked),
11979 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11980 (gst_registry_scan_path),
11981 (_priv_gst_registry_remove_cache_plugins),
11982 (_priv_gst_registry_cleanup):
11983 * gst/gstregistry.h:
11984 Re-commit the registry changes, along with an extra fix:
11985 When a cached plugin is encountered at a different file path,
11986 update the stored path in the registry cache so that the parent
11987 process knows where it actually is now when it re-reads the registry
11988 cache. Fixes the thing that broke distcheck with the previous commit.
11990 * tests/check/Makefile.am:
11991 Clean up files named 'core' too when running make clean.
11993 * tests/examples/manual/Makefile.am:
11994 Set up a registry path for running these tests, and clean it properly
11997 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
12000 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12001 want gmodule-no-export-2.0.pc instead so that we don't drag in
12002 --export-dynamic on every project that links to GStreamer.
12004 Also, make our export regex only match the start of symbols, rather
12005 than any symbol that contains '_gst' somewhere.
12007 * libs/gst/check/Makefile.am:
12008 The libgstcheck we build does however need export-dynamic, as it
12009 produces some symbols that don't match our _gst... style regex.
12012 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12014 * gst/gst.c: (init_pre), (scan_and_update_registry),
12015 (ensure_current_registry_nonforking),
12016 (ensure_current_registry_forking), (ensure_current_registry),
12017 (init_post), (gst_debug_help), (gst_deinit):
12018 * gst/gst_private.h:
12019 * gst/gstregistry.c: (gst_registry_finalize),
12020 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12021 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12022 (_gst_registry_cleanup):
12023 * gst/gstregistry.h:
12024 Revert previous change until I figure out why it breaks distcheck.
12026 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
12028 * gst/gst.c: (init_pre), (scan_and_update_registry),
12029 (ensure_current_registry_nonforking),
12030 (ensure_current_registry_forking), (ensure_current_registry),
12031 (init_post), (gst_debug_help), (gst_deinit):
12033 Make init_pre and init_post take the full complement of GOptionFunc
12034 args so they can return useful GErrors. Make the registry updating
12037 Call _priv_gst_registry_remove_cache_plugins after scanning files to
12038 ensure that the registry we're about to write out doesn't contain
12039 stale information about old-deleted plugin files.
12041 Make _priv_gst_registry_remove_cache_plugins return a boolean so
12042 that deletion of plugin files is considered a registry change.
12044 * gst/gst_private.h:
12045 * gst/gstregistry.c: (gst_registry_finalize),
12046 (gst_registry_remove_features_for_plugin_unlocked),
12047 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12048 (gst_registry_scan_path),
12049 (_priv_gst_registry_remove_cache_plugins),
12050 (_priv_gst_registry_cleanup):
12051 * gst/gstregistry.h:
12052 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12053 by adding _priv prefix, so that they won't appear in the global
12054 symbol table. They still do atm though because of #318031. Move the
12055 prototypes to gst_private.h
12057 When removing a plugin, remove all features for that plugin too.
12060 2006-09-27 Wim Taymans <wim@fluendo.com>
12062 * docs/random/moving-plugins:
12063 Make it clear that the "compiled-in descriptions" really mean
12064 the element details.
12066 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12067 (gst_base_sink_wait_preroll):
12070 * docs/libs/gstreamer-libs-sections.txt:
12071 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12072 (gst_base_src_get_range), (gst_base_src_activate_push):
12073 * libs/gst/base/gstbasesrc.h:
12074 Added function to block while waiting for PLAYING, this function
12075 is used by live sources that block on the clock.
12076 API: gst_base_src_wait_playing()
12078 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12080 Patch by: Peter Kjellerstedt <pkj at axis com>
12083 gst-element-check.m4 is generated and should therefore be
12084 copied from the build dir rather than the source dir (#357593).
12085 'make distcheck' hasn't noticed this because we were disting
12086 the file as well, so stop doing that.
12088 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
12090 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12091 Add some tests for gst_caps_intersect().
12093 * tools/gst-launch.c: (event_loop):
12094 Print all buffering percentages we get, even the 100% one.
12096 2006-09-26 Wim Taymans <wim@fluendo.com>
12098 * tools/gst-inspect.c: (print_element_properties_info),
12099 (print_signal_info):
12100 Fix printing of flags to match the look of enums.
12102 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12104 * gst/gstelementfactory.c:
12105 Fix typo in docs blurb.
12107 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12109 * gst/gsturi.c: (search_by_entry):
12110 Don't assert/crash here if a uri handler doesn't return any
12111 supported protocols. The list of protocols could be generated
12112 dynamically at runtime or at plugin registration, and an error
12113 in the underlying library shouldn't be fatal (#353301).
12115 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
12118 Fix warning if HAVE_PRINTF_EXTENSION is undefined
12119 (spotted by Peter Kjellerstedt).
12121 2006-09-23 Wim Taymans <wim@fluendo.com>
12123 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12125 * libs/gst/base/gstbasesrc.c:
12126 (gst_base_src_default_check_get_range), (gst_base_src_start),
12127 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12128 (gst_base_src_change_state):
12129 Match _start/_stop calls in the activate functions. Remove redundant
12130 _stop call from the state change function. Fixes #356910.
12131 Turn failure DEBUG into ERROR.
12133 2006-09-22 Wim Taymans <wim@fluendo.com>
12135 * docs/design/part-buffering.txt:
12136 * gst/gstmessage.c: (gst_message_new_buffering),
12137 (gst_message_parse_buffering):
12138 Update docs about buffering.
12140 * docs/design/part-trickmodes.txt:
12143 2006-09-22 Stefan Kost <ensonic@users.sf.net>
12145 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12146 (gst_controller_new_list):
12147 Ref instances when returning them again (fixes #357180)
12149 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
12151 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12152 Don't forget to release proxy lock when there's an error.
12154 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
12157 Add extra initialisers for Caps things, to fix some plugin warnings
12160 2006-09-18 Wim Taymans <wim@fluendo.com>
12162 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12163 Also set template on the internal pad so that a getcaps from the
12164 target pad returns the template caps.
12166 2006-09-18 Wim Taymans <wim@fluendo.com>
12168 * gst/gstelement.c: (gst_element_post_message),
12169 (gst_element_dispose):
12170 Use _DEBUG_OBJECT some more.
12172 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12175 * tools/gst-launch.c: (main):
12176 If the toplevel element is not a GstPipeline, it must be put in a
12177 pipeline so that a bus and clock is selected.
12179 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12181 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12182 JITTER, RATE, and LATENCY query should be handled by the
12183 default case and not by the CONVERT query code.
12185 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
12187 * gst/gstformat.c: (gst_format_register):
12188 Fix locking order (must take lock before using n_values).
12190 * gst/gstvalue.c: (gst_value_serialize_enum),
12191 (gst_value_deserialize_enum_iter_cmp),
12192 (gst_value_deserialize_enum):
12193 Fix serialisation/deserialisation of custom registered GstFormats.
12195 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12196 Unit test for custom format serialisation/deserialisation.
12198 2006-09-17 Stefan Kost <ensonic@users.sf.net>
12200 * docs/pwg/building-boiler.xml:
12201 * plugins/elements/gstcapsfilter.c:
12202 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12205 2006-09-16 Edward Hervey <edward@fluendo.com>
12207 * libs/gst/base/gstbasetransform.c:
12208 (gst_base_transform_buffer_alloc):
12209 Check if requested caps are the same as the sinks caps IF
12210 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12212 This fixes the renegotiation issues stated in #352827.
12214 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12217 * docs/manual/advanced-autoplugging.xml:
12218 * tests/examples/Makefile.am:
12219 * tests/examples/manual/.cvsignore:
12220 * tests/examples/manual/Makefile.am:
12221 * tests/examples/manual/extract.pl:
12222 Extract the manual examples again like we used to do.
12225 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12227 * win32/common/config.h:
12230 2006-09-16 Stefan Kost <ensonic@users.sf.net>
12233 Documents how to receive errors.
12235 2006-09-15 Wim Taymans <wim@fluendo.com>
12237 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12238 (event_loop), (main):
12239 Added some comments here and there.
12240 Post an application message when an interrupt is caught instead of doing
12241 an uncontrolled state change.
12242 Clean up the event loop.
12243 Handle buffering messages, pause/resume the pipeline.
12244 Make shutdown because of an interrupt more reliable.
12246 2006-09-15 Wim Taymans <wim@fluendo.com>
12248 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12249 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12250 (gst_base_sink_preroll_object):
12251 Make sure that our internal state is correct when we commit our state
12252 asynchronously. This solves a race where a state change to PLAYING
12253 could cause the sink to remain blocked in preroll in some situations.
12255 2006-09-15 Wim Taymans <wim@fluendo.com>
12257 * tools/gst-inspect.c: (print_element_properties_info),
12258 (print_signal_info):
12259 List flags as hex so it's easier to deal with.
12261 2006-09-15 Wim Taymans <wim@fluendo.com>
12263 * docs/libs/gstreamer-libs-sections.txt:
12264 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12265 (gst_base_sink_do_sync):
12266 * libs/gst/base/gstbasesink.h:
12267 Expose logic to wait for preroll so that subclasses such as audiosink
12268 can also use this method.
12269 API: gst_base_sink_wait_preroll()
12271 2006-09-15 Wim Taymans <wim@fluendo.com>
12273 * gst/gstobject.c: (gst_object_set_parent):
12274 * gst/gstpipeline.c: (do_pipeline_seek):
12275 Small cleanups in docs and code.
12277 * gst/gstsegment.c: (gst_segment_clip):
12278 * tests/check/gst/gstsegment.c: (GST_START_TEST):
12279 if stop == start and start is in the segment, no clipping should be
12280 done. Also add a test for this.
12282 2006-09-15 Wim Taymans <wim@fluendo.com>
12284 * docs/design/part-buffering.txt:
12285 * docs/gst/gstreamer-sections.txt:
12286 * gst/gstmessage.c: (gst_message_new_buffering),
12287 (gst_message_parse_buffering):
12288 * gst/gstmessage.h:
12289 Added methods to create and parse BUFFERING messages.
12290 Added preliminary docs about buffering.
12291 API: gst_message_new_buffering
12292 API: gst_message_parse_buffering
12294 2006-09-06 Wim Taymans <wim@fluendo.com>
12297 Update documentation.
12299 * gst/gstelement.c: (gst_element_class_init),
12300 (gst_element_release_request_pad), (gst_element_set_clock),
12301 (gst_element_get_index), (gst_element_add_pad),
12302 (gst_element_remove_pad), (gst_element_get_random_pad),
12303 (gst_element_send_event), (gst_element_get_query_types),
12304 (gst_element_query), (gst_element_post_message),
12305 (gst_element_message_full), (gst_element_continue_state),
12306 (gst_element_lost_state), (gst_element_save_thyself),
12307 (gst_element_restore_thyself):
12308 Documentation updates.
12309 Rename last bit of the new-pad -> pad-added signal rename.
12310 Fix the case where an element query would only work if the source
12312 Avoid some useless type checking in message handling.
12317 Documentation updates.
12319 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12321 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12322 add an INFO line for when we actually update the fd
12324 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12329 === release 0.10.10 ===
12331 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
12334 releasing 0.10.10, "Pais"
12336 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
12338 * docs/manual/advanced-position.xml:
12339 Fix typo in sample code.
12341 2006-09-05 Wim Taymans <wim@fluendo.com>
12343 * libs/gst/net/gstnetclientclock.c: (inet_aton),
12344 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12345 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12346 * libs/gst/net/gstnetclientclock.h:
12347 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12348 * libs/gst/net/gstnettimepacket.h:
12349 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12350 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12351 (gst_net_time_provider_thread), (gst_net_time_provider_new):
12352 * libs/gst/net/gstnettimeprovider.h:
12353 Make stuff compile on windows. Fixes #345295.
12355 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12357 * gst/gst.c: (ensure_current_registry_forking):
12358 Print better details when child was terminated by signal.
12360 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
12362 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12363 Print a warning rather than g_assert() if a plugin feature
12364 is a URI handler but returns no protocols (#353976).
12366 2006-09-02 Stefan Kost <ensonic@users.sf.net>
12368 * docs/random/moving-plugins:
12371 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
12373 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12374 Fix locking order, handle NULL function values properly.
12379 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12380 Initialise variable before using it and fix debug statement to
12381 print the address of the function rather than the address of the
12382 variable on the stack holding the address of the function.
12384 2006-09-01 Wim Taymans <wim@fluendo.com>
12386 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12387 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12388 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12389 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12390 (gst_ghost_pad_parent_unset),
12391 (gst_ghost_pad_internal_do_activate_push),
12392 (gst_ghost_pad_internal_do_activate_pull),
12393 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12394 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12395 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12396 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12397 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12398 (gst_ghost_pad_new_no_target_from_template),
12399 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12401 Avoid needless typechecking in macros.
12402 Since the internal pad is always present and never changes, there is
12403 no need to locking or ref when retrieving it.
12404 Improve debugging a bit.
12405 Handle link errors when setting the target. Fixes #341029.
12407 2006-09-01 Wim Taymans <wim@fluendo.com>
12409 * docs/libs/gstreamer-libs-sections.txt:
12410 * docs/plugins/gstreamer-plugins-sections.txt:
12411 Fix docs some more.
12413 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12414 (gst_collect_pads_event):
12415 * libs/gst/base/gstcollectpads.h:
12416 Documentation updates.
12417 Free queued buffer when removing a pad.
12419 2006-08-31 Michael Smith <msmith@fluendo.com>
12421 * gst/gstutils.c: (gst_element_link_pads),
12422 (gst_element_link_pads_filtered):
12423 Ensure that we set a capsfilter to NULL if we failed to link it
12424 when doing filtered linking, to avoid criticals.
12426 No need to check for unreffing srcpad, which is explicly NULLed
12427 above (a trivial code cleanup).
12429 2006-08-31 Wim Taymans <wim@fluendo.com>
12431 * docs/design/part-gstghostpad.txt:
12432 Update ascii art in documentation.
12434 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12435 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12436 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12437 (gst_ghost_pad_internal_do_activate_push),
12438 (gst_ghost_pad_internal_do_activate_pull),
12439 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12440 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12441 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12442 (gst_ghost_pad_set_target):
12443 Small cleanups and leak fixes.
12444 Remove some checks now that the internal pad is never NULL.
12445 Fix the case where linking pads without a target would create nasty
12446 criticals. Fixes #341029.
12447 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12448 value of _set_target().
12450 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12451 (gst_ghost_pad_suite):
12452 Some more tests for creating and linking untargeted ghostpads.
12454 2006-08-31 Edward Hervey <edward@fluendo.com>
12456 * docs/gst/gstreamer-sections.txt:
12457 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12458 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12459 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12460 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12461 (gst_ghost_pad_new_from_template),
12462 (gst_ghost_pad_new_no_target_from_template):
12463 * gst/gstghostpad.h:
12464 Refactored *_new() functions.
12465 Templates are now used as a g_object_new() parameter.
12466 Use template in _do_getcaps() if we don't have a target.
12467 Small documentation cleanups.
12468 Added two new constructors:
12469 gst_ghost_pad_new_from_template()
12470 gst_ghost_pad_new_no_target_from_template()
12471 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12472 (gst_ghost_pad_suite):
12473 Added tests for new ghostpad instanciation functions.
12475 API additions: gst_ghost_pad_new_from_template,
12476 gst_ghost_pad_new_no_target_from_template
12478 2006-08-30 Stefan Kost <ensonic@users.sf.net>
12480 * docs/random/ensonic/profiling.txt:
12481 Ideas about qos profiling.
12483 2006-08-29 Wim Taymans <wim@fluendo.com>
12485 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12489 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
12492 Improve and detypofy docs.
12494 * tests/check/Makefile.am:
12495 * tests/check/gst/.cvsignore:
12496 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12497 Add a basic test suite for GstXML.
12499 2006-08-29 Wim Taymans <wim@fluendo.com>
12501 * gst/gstelement.c: (activate_pads), (clear_caps),
12502 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12503 Clear the pad caps when the element shut down all of the pads and
12504 is not streaming data that could modify the caps.
12507 2006-08-28 Michael Smith <msmith@fluendo.com>
12509 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12510 Revert previous change; I misunderstood single-segment mode.
12512 2006-08-28 Michael Smith <msmith@fluendo.com>
12514 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12515 Unset DISCONT on buffers when using single-segment mode.
12517 2006-08-28 Wim Taymans <wim@fluendo.com>
12519 * gst/gstcaps.c: (gst_caps_merge_structure):
12521 Fix docs and indentation again.
12523 * tests/check/gst/gstquery.c: (GST_START_TEST):
12524 Fix leak in tests and add some more tests.
12526 2006-08-28 Edward Hervey <edward@fluendo.com>
12528 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12529 Inform GstSegment of the last stop position in order for the current
12530 segment to have a proper duration if it doesn't have a specific stop
12531 position from which a duration could be calculated.
12532 This bug was noticeable when a non-flushing, non-update new segment was
12533 followed by another segment (all buffers from the new segment were being
12536 2006-08-28 Wim Taymans <wim@fluendo.com>
12538 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12539 Small comment update.
12541 * plugins/elements/gstidentity.c: (gst_identity_class_init),
12542 (gst_identity_transform_ip):
12543 Drop-probability is broken, mention this in the code with a
12544 FIXME and also in the property description.
12545 Make silent also be silent about the drop messages.
12547 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
12549 * docs/manual/appendix-win32.xml:
12550 Remove mention of popt, we don't depend on that any
12551 longer (#353136). Add some comments pointing out that
12552 this section is slightly outdated.
12554 2006-08-28 Wim Taymans <wim@fluendo.com>
12556 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12558 * gst/gstquery.c: (gst_query_new_segment):
12559 * tests/check/gst/gstquery.c: (GST_START_TEST):
12560 Initialize variables when creating a new segment query.
12563 2006-08-28 Wim Taymans <wim@fluendo.com>
12565 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12567 * gst/gstelement.c: (gst_element_get_bus):
12568 * tests/check/gst/gstelement.c: (GST_START_TEST):
12569 Check for NULL before _reffing the bus. Fixes #353122.
12571 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
12573 * docs/manual/basics-bus.xml:
12574 Docs update: fix wrong callback return value explanation; add
12575 some lines about the implicit relationship between main loop
12576 and main context; remove duplicate main loop variable declaration.
12578 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
12580 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12581 Don't leak caps in unit test; add a few more simple
12584 2006-08-24 Stefan Kost <ensonic@users.sf.net>
12586 * docs/gst/gstreamer-sections.txt:
12587 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12588 (gst_caps_structure_is_subset), (gst_caps_merge),
12589 (gst_caps_merge_structure):
12591 * libs/gst/base/gstbasetransform.c:
12592 (gst_base_transform_transform_caps):
12593 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12594 implement caps merging (fixes #352580)
12596 2006-08-23 Stefan Kost <ensonic@users.sf.net>
12598 * tools/Makefile.am:
12599 * tools/gst-plot-timeline.py:
12600 add debug-log plotting developer tool (#340674)
12602 2006-08-23 Wim Taymans <wim@fluendo.com>
12604 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12605 (gst_pad_stop_task):
12606 Improve debugging for task functions.
12608 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12609 (gst_task_start), (gst_task_pause), (gst_task_join):
12610 Make sure that the task function started and finished after a
12612 Don't try to push the task function on the threadpool multiple
12614 Improve the g_warning message with some useful suggestions
12615 about how to fix the problem.
12617 2006-08-23 Wim Taymans <wim@fluendo.com>
12619 * gst/gstutils.c: (gst_pad_proxy_getcaps):
12620 Handle RESYNC correctly in _proxy_getcaps.
12622 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
12624 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12625 (gst_xml_parse_memory), (gst_xml_get_element):
12626 Chain up to parent class in dispose function and also
12627 unref the elements in the toplevel_elements GList.
12628 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12629 Always return a reference in gst_xml_get_element() rather
12630 than only sometimes.
12632 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12633 Don't leak GstXml object.
12635 2006-08-21 Stefan Kost <ensonic@users.sf.net>
12637 * docs/gst/gstreamer-sections.txt:
12638 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12641 * libs/gst/base/gstbasetransform.c:
12642 (gst_base_transform_transform_caps):
12643 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12646 2006-08-21 Edward Hervey <edward@fluendo.com>
12648 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12649 Implement GObject::dispose virtual method in GstXML so we can free the
12650 top_elements GList.
12652 2006-08-21 Wim Taymans <wim@fluendo.com>
12654 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12655 (gst_buffer_create_sub):
12656 Copy duration/offset_end/caps when creating a subbuffer of the
12658 Make the subbuffer read-only when we make the metadata writable for
12659 now. Fixes #351768.
12661 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12662 Added check for metadata copy when creating subbuffers.
12664 2006-08-21 Edward Hervey <edward@fluendo.com>
12666 * libs/gst/base/gstbasetransform.c:
12667 (gst_base_transform_buffer_alloc):
12668 Only call downstream buffer_alloc if transform element is passthrough
12669 or always_in_place. Closes #350449.
12671 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12674 ChangeLog surgery to add comments to previous changes
12676 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12681 * gst/gstpad.c: (gst_pad_set_active):
12682 Be more verbose in the log
12684 * libs/gst/base/gstbasetransform.c:
12685 (gst_base_transform_transform_caps):
12686 Simplify caps to get rid of duplicates, fixes #345444
12688 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12692 Use these optimizations only internally.
12694 2006-08-20 Stefan Kost <ensonic@users.sf.net>
12696 * gst/gstvalue.c: (gst_value_compare_list),
12697 (gst_value_compare_fraction_range),
12698 (gst_value_intersect_fraction_fraction_range),
12699 (gst_value_intersect_fraction_range_fraction_range),
12700 (gst_value_subtract_fraction_fraction_range),
12701 (gst_value_subtract_fraction_range_fraction_range),
12702 (gst_value_get_compare_func), (gst_value_compare),
12703 (gst_value_compare_with_func):
12705 Saves the expensive lookup of the compare function in many cases
12708 2006-08-18 Edward Hervey <edward@fluendo.com>
12710 * tests/check/gst/gstinfo.c: (gst_info_suite):
12711 Disable test that require gstdebug if it wasn't built in core.
12713 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12715 * docs/random/ensonic/logging.txt:
12718 * gst/gstinfo.c: (gst_debug_log_default):
12719 reorder fields, save some columns, add optional color codes for log
12722 2006-08-18 Stefan Kost <ensonic@users.sf.net>
12724 * docs/random/ensonic/logging.txt:
12725 add ideas about making the logs a bit more useful
12727 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12729 * docs/pwg/advanced-events.xml:
12730 * docs/pwg/titlepage.xml:
12731 Update for 0.10 API (#340627). Add myself
12734 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
12736 * docs/libs/gstreamer-libs-docs.sgml:
12737 * docs/libs/gstreamer-libs-sections.txt:
12738 * libs/gst/check/gstbufferstraw.c:
12739 Make gstcheck stuff show up in docs (still needs to
12740 be documented properly though).
12742 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
12744 * docs/gst/gstreamer-sections.txt:
12746 * gst/gst.c: (init_post):
12747 * gst/gst_private.h:
12748 * gst/gstquark.c: (_priv_gst_quarks_initialize):
12750 * gst/gstquery.c: (gst_query_new_position),
12751 (gst_query_set_position), (gst_query_parse_position),
12752 (gst_query_new_duration), (gst_query_set_duration),
12753 (gst_query_parse_duration), (gst_query_new_convert),
12754 (gst_query_set_convert), (gst_query_parse_convert),
12755 (gst_query_new_segment), (gst_query_set_segment),
12756 (gst_query_parse_segment), (gst_query_new_seeking),
12757 (gst_query_set_seeking), (gst_query_parse_seeking):
12758 Add internal helpers for pre-registering quarks from static strings
12759 and using the quark values directly instead of looking them up when
12760 creating and parsing queries. Can be used for event construction too.
12763 2006-08-16 Wim Taymans <wim@fluendo.com>
12768 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12770 * gst/gstutils.c: (gst_util_set_value_from_string):
12771 Fix memleak (#351502).
12773 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12774 Add unit test for most of gst_util_set_value_from_string()
12775 (not that one would want to encourage use of this function).
12777 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12779 * libs/gst/check/gstcheck.h:
12780 Use const gchar * variables in fail_unless_equals_string
12781 macro to avoid compiler warnings (and don't use tabs for
12784 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12786 * tools/gst-launch.c: (print_tag):
12787 More space on the left for the tag names, to cater
12788 for the 'extended comment' tag (not touching the
12789 string for the first line since it's translated).
12791 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
12793 * libs/gst/check/gstcheck.h:
12794 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
12795 print something when they fail.
12797 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12799 * docs/gst/gstreamer-sections.txt:
12800 * gst/gsttaglist.c: (_gst_tag_initialize):
12801 * gst/gsttaglist.h:
12802 API: add GST_TAG_EXTENDED_COMMENT (#350935).
12803 Also change merge function for GST_TAG_COMMENT to
12806 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12808 * gst/gstinfo.c: (gst_debug_print_object):
12809 Make GST_PTR_FORMAT print messages as well.
12811 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
12812 (GST_START_TEST), (gst_info_suite):
12815 2006-08-14 Edward Hervey <edward@fluendo.com>
12817 * gst/gstelementfactory.c: (gst_element_register):
12818 If the GstElementClass doesn't have a GstElementDetails with all fields
12819 filled up correctly (longname, description AND author), then error out
12820 nicely instead of crashing.
12822 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
12824 * gst/gststructure.c:
12825 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
12828 Expand on the difference between arrays and lists as we use them.
12830 2006-08-14 Wim Taymans <wim@fluendo.com>
12832 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12833 If the parent state change function failed, don't assume we can safely
12834 stop the source, this will be done when the pads are deactivated.
12836 2006-08-14 Wim Taymans <wim@fluendo.com>
12839 * gst/gsttask.c: (gst_task_join):
12842 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
12843 (gst_pad_stop_task):
12844 When pad (de)activation failed for some reason, restore the old
12845 activation mode and set the pad to flushing instead of assuming the
12846 pad is deactivated.
12847 If the _task_join() failed, reinstall the task on the pad so that it can
12848 be stopped later and return an error.
12850 2006-08-11 Andy Wingo <wingo@pobox.com>
12853 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12854 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
12855 is only for users of API that don't want to see deprecated
12856 functions in the headers; people that want to compile out
12857 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
12858 CFLAGS. Fixes the build of multifdsink, or will soon..
12860 2006-08-11 Wim Taymans <wim@fluendo.com>
12862 * docs/gst/gstreamer-sections.txt:
12863 Add GstClockClass vmethod docs.
12866 Mark #endif with comment for associated #if
12868 * gst/gstclock.c: (gst_clock_id_wait):
12870 Add vmethod wait_jitter to avoid an unneeded _get_time() for
12871 most clock implementations.
12873 Flesh out docs about resolution methods.
12874 API: GstClockClass::wait_jitter
12876 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12877 (gst_system_clock_async_thread),
12878 (gst_system_clock_id_wait_jitter_unlocked),
12879 (gst_system_clock_id_wait_jitter):
12880 Use base class wait_jitter variant for improved performance
12881 due to less clock polling.
12883 2006-08-11 Edward Hervey <edward@fluendo.com>
12885 * gst/gst.c: (gst_init_check), (init_post):
12886 Set gst as being initialized before scanning/updating the registry,
12887 since there might be my python plugin loader that calls gst_init() and
12888 we don't want to loop back in.
12891 2006-08-11 Wim Taymans <wim@fluendo.com>
12893 * docs/design/part-qos.txt:
12894 Bring docs in line with the code. Mostly the sign of the jitter was
12895 wrong in the docs. Fixes #349943.
12898 Fix the docs for the jitter.
12900 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
12901 (gst_event_parse_tag), (gst_event_new_buffer_size),
12902 (gst_event_parse_buffer_size), (gst_event_parse_qos),
12903 (gst_event_new_seek), (gst_event_parse_seek),
12904 (gst_event_new_navigation):
12905 Make sure the GstStructure has no parent when creating custom
12907 Add some more argument checking so that we avoid 0.0 rates.
12908 Flesh out the docs for the QoS event some more.
12910 2006-08-11 Wim Taymans <wim@fluendo.com>
12912 * docs/gst/gstreamer-sections.txt:
12913 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12914 (ensure_current_registry_forking), (ensure_current_registry),
12915 (parse_one_option), (parse_goption_arg), (gst_deinit),
12916 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12919 Added API and command line option to disable registry forking in
12920 addition to the environment variable.
12921 Constify some static arrays.
12922 Added some more debug.
12923 Don't deinit twice.
12924 API: gst_registry_fork_is_enabled()
12925 API: gst_registry_fork_set_enabled()
12926 API: --gst-disable-registry-fork command line option
12929 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12931 * gst/gst.c: (gst_init):
12932 Fix typo in error message.
12934 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12936 * libs/gst/controller/gstcontroller.h:
12937 fix ABI size-correction
12939 * tests/check/libs/gdp.c: (gst_dp_suite):
12940 make tests that use deprecated API conditional
12942 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12944 * docs/libs/gstreamer-libs-sections.txt:
12945 * libs/gst/controller/gstcontroller.c:
12946 (_gst_controller_get_property), (_gst_controller_set_property),
12947 (_gst_controller_init), (_gst_controller_class_init):
12948 * libs/gst/controller/gstcontroller.h:
12949 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12950 (gst_object_set_control_rate):
12951 API: add gst_object_{s,g}et_control_rate(), add private data section,
12954 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12955 * libs/gst/dataprotocol/dataprotocol.h:
12956 add deprecation guards to make gtk-doc happy and allow disabling cruft
12958 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12960 * tests/check/Makefile.am:
12961 * tests/check/gst/.cvsignore:
12962 Let's enable the new unit test as well.
12964 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12967 * docs/gst/gstreamer-sections.txt:
12968 * gst/gstconfig.h.in:
12969 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12970 (_gst_info_printf_extension_ptr),
12971 (_gst_info_printf_extension_segment):
12972 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12973 register that lets us easily dump GstSegments into debug
12976 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12977 (info_segment_format_printf_extension), (gst_info_suite):
12978 Add simple unit test that logs a bunch of different segments (not
12979 valgrinded at the moment because of leaks in
12980 gst_debug_add_log_function).
12982 2006-08-09 Edward Hervey <edward@fluendo.com>
12984 * libs/gst/base/gstbasetransform.c:
12985 (gst_base_transform_buffer_alloc):
12986 Even if we can't figure out the proper format to request downstream,
12987 call buffer_alloc() downstream with the input parameters without setting
12988 the caps on the srcpad. This will force negotiation in the chain
12992 2006-08-08 Edward Hervey <edward@fluendo.com>
12994 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12995 Unlinking from a pad without a target is now a perfectly valid case
12996 which should NOT raise an assertion.
12997 This case would happen if a linked ghostpad its target set to NULL after
12998 it was previously linked.
13000 2006-08-08 Edward Hervey <edward@fluendo.com>
13002 * tests/check/libs/gdp.c:
13003 Also comment out the test (see below).
13005 2006-08-08 Edward Hervey <edward@fluendo.com>
13007 * tests/check/libs/gdp.c: (gst_dp_suite):
13008 Use the architecture information from config.h and not gcc macros
13009 in order to properly disable a test that fails on PPC64.
13011 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
13013 * gst/gstelement.c: (gst_element_remove_pad):
13014 Don't crash printing the warning if the pad has no parent.
13016 2006-08-02 Wim Taymans <wim@fluendo.com>
13018 * libs/gst/dataprotocol/dataprotocol.c:
13019 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13020 (gst_dp_crc), (gst_dp_header_payload_length),
13021 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13022 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13023 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13024 (gst_dp_event_from_packet), (gst_dp_validate_header),
13025 (gst_dp_validate_payload):
13026 Make debug category static
13027 Constify the crc table.
13028 Do some more arg checking in public functions.
13029 Fix some docs and do some small cleanups.
13031 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13032 Add some more checks to see if GDP deals with bogus input.
13034 2006-07-31 Wim Taymans <wim@fluendo.com>
13036 * gst/gstvalue.c: (gst_value_compare_list):
13037 Fix GstValueList comparison code. Fixes #347293.
13039 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13040 Check to test GstValueList comparison.
13042 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13044 * gst/gstelementfactory.c: (gst_element_factory_create):
13045 Remove unnecessary ref/unref pair
13047 * gst/parse/grammar.y:
13048 Make sure to free the parse buffer on all code paths.
13049 Move a g_free up to the error handler where it's easier to see.
13051 * tests/check/gst/gstevent.c: (test_event):
13052 Extending timeout for downstream travelling events to 10 seconds to
13053 hopefully avoid intermittent failure on the buildbots.
13055 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13056 Don't manually set the state of the src element - it will happen as a
13057 natural consequence of the pipeline changing state, and that way it
13058 will do it in the right order too.
13060 2006-07-31 Wim Taymans <wim@fluendo.com>
13062 * libs/gst/base/gstbasetransform.c:
13063 (gst_base_transform_buffer_alloc):
13064 Use OBJECT_LOCK and refcounting to get the pad caps in the
13065 buffer_alloc function because the caps could change while we are
13066 busy with them. Fixes #349105
13068 2006-07-31 Wim Taymans <wim@fluendo.com>
13070 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13071 Protect _PAD_CAPS with OBJECT_LOCK.
13073 2006-07-31 Wim Taymans <wim@fluendo.com>
13075 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13076 (gst_pad_get_property), (gst_pad_activate_pull),
13077 (gst_pad_activate_push), (gst_pad_set_blocked_async),
13078 (gst_pad_set_activate_function),
13079 (gst_pad_set_activatepull_function),
13080 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13081 (gst_pad_set_getrange_function),
13082 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13083 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13084 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13085 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13086 (gst_pad_set_acceptcaps_function),
13087 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13088 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13089 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13090 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13091 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13092 (gst_pad_configure_sink), (gst_pad_configure_src),
13093 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13094 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13095 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13096 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13097 (gst_pad_send_event):
13098 Use _DEBUG_OBJECT when it makes sense.
13099 Protect GST_PAD_CAPS with the OBJECT_LOCK.
13100 Small cleanups and code reflows.
13101 Avoid caps refcounting in _accept_caps.
13102 Refactor alloc_buffer so that the code performed on the peer is in a
13103 separate function. Also if the pad does not implement a buffer alloc
13104 function, we should still check if the pad is flushing before falling
13105 back to the default allocator.
13107 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
13109 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13110 Make all uses of identity and fakesink have silent=true to avoid
13111 serialising every passing data structure, which is breaking tests
13112 on FC4 for some unknown reason.
13114 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13116 * gst/parse/Makefile.am:
13117 * gst/parse/grammar.y:
13118 * gst/parse/parse.l:
13119 Reverted previous patch as it required to bump the flex dependency to
13120 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13122 2006-07-30 Stefan Kost <ensonic@users.sf.net>
13124 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13126 * gst/parse/Makefile.am:
13127 * gst/parse/grammar.y:
13128 * gst/parse/parse.l:
13129 push & pop the state of the lexer for reentrant use case
13132 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
13134 * libs/gst/base/gstbasesrc.h:
13135 Note in the docs that the ::newsegment vfunc is not actually used by
13138 2006-07-28 Wim Taymans <wim@fluendo.com>
13140 * libs/gst/base/gstcollectpads.c:
13141 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13142 (gst_collect_pads_clear), (gst_collect_pads_flush),
13143 (gst_collect_pads_event), (gst_collect_pads_chain):
13144 When flushing a pad, also clear the queued buffer so that we don't
13145 accidentally use it when we shouldn't.
13146 Fix leaks by inreffing incomming buffer.
13147 Flush out queued buffers in case of errors.
13150 2006-07-28 Wim Taymans <wim@fluendo.com>
13152 * docs/random/phonon-gst:
13153 Random notes about a Phonon backend.
13155 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13157 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13159 * tests/check/libs/gdp.c: (gst_dp_suite):
13160 Take a whack at fixing the ppc compile using a different define to
13161 disable the broken test.
13163 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13164 Remove excess g_print()
13166 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13168 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13169 Oops, meant to uncomment this line too to dampen the noise a bit.
13171 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13173 * gst/parse/grammar.y:
13174 * gst/parse/parse.l:
13175 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13176 (GST_START_TEST), (parse_suite):
13177 Fix some of the leaks exposed by extending the parse-launch testsuite,
13178 and move the 3 I can't figure out into a separate test that won't run
13179 the pipelines unless the appropriate line is uncommented.
13181 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13183 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13184 Requesting 0 bytes before the end of the file should result in
13185 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13188 2006-07-27 Wim Taymans <wim@fluendo.com>
13190 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13191 Fix useless assert, a uint is always positive.
13193 * gst/gststructure.c: (gst_structure_nth_field_name),
13194 (gst_structure_foreach), (gst_structure_map_in_place):
13195 Check input arguments for public functions to avoid obvious crashes.
13197 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13198 * plugins/elements/gstfakesink.h:
13199 Do less useless typechecking.
13201 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
13203 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13204 Do not use mmap() by default since there are a number of error
13205 conditions that we would like to handle in a non-fatal way that
13206 will result in a SIGBUS if we use mmap(). Examples: external
13207 devices (USB harddrive, portable music player) being unplugged
13208 while in use; file on mounted CD/DVD that can't be read because
13209 the medium is partly damaged. Fixes #348455 and #348475.
13211 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
13214 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13215 rates are a gdouble
13217 2006-07-26 Stefan Kost <ensonic@users.sf.net>
13219 * gst/gstregistry.c:
13220 Move big documentation comment into class section header, so that it
13221 appears in the API docs.
13223 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13225 * docs/gst/gstreamer-sections.txt:
13226 Oops. Commit the docs additions too for new API.
13227 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13229 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13231 * gst/gststructure.c: (gst_structure_id_set),
13232 (gst_structure_id_set_valist):
13233 * gst/gststructure.h:
13234 Add API for setting values into structures without performing
13235 a quark lookup, if the appropriate quark is already known.
13237 API: gst_structure_id_set
13238 API: gst_structure_id_set_valist
13240 * gst/parse/grammar.y:
13241 * gst/parse/parse.l:
13242 Remove some dead code shown by the coverage information.
13243 Don't throw a critical g_warning when encountering a syntax error,
13244 just warn and let the normal error path handle it.
13246 * plugins/elements/gstelements.c:
13247 Bump the rank of filesink up to PRIMARY so that it is preferred over
13248 gnomevfssink for file:// sink uri's
13250 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13251 (GST_START_TEST), (run_delayed_test),
13252 (gst_parse_test_element_base_init),
13253 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13254 (gst_parse_test_element_change_state),
13255 (gst_register_parse_element), (parse_suite):
13256 Beef up the tests for parse syntax to check that more error cases
13257 fail as they are supposed to. Increases the test coverage a bit.
13259 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
13261 * docs/manual/basics-elements.xml:
13262 Fix gst_element_link() example.
13265 Mention in API docs that one should usually gst_bin_add()
13266 elements to a bin or pipeline before doing the linking.
13268 2006-07-26 Wim Taymans <wim@fluendo.com>
13270 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13271 (gst_subbuffer_get_type), (gst_buffer_create_sub):
13272 Avoid function call for known types by keeping the buffer and
13273 subbuffer GType global.
13275 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13276 Random silly optimisations in read() path.
13278 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
13280 * tools/gst-launch.c: (main):
13281 If the top-level of the parse is a normal bin, it doesn't do the
13282 right logic to run as a top-level element, so place it inside a
13285 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
13287 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13288 Remove superfluous g_object_notify() calls, GObject does
13289 that for us automatically.
13291 2006-07-25 Stefan Kost <ensonic@users.sf.net>
13294 on Win32, use dllspec to export the debug category symbols
13296 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
13298 * gst/gsttaglist.c: (_gst_tag_initialize):
13299 Allow more than one GST_TAG_IMAGE per taglist.
13301 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
13303 * gst/gstminiobject.c:
13305 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13306 (gst_fd_src_create):
13307 log recurring events at LOG level
13308 add more debug for when the fd gets set
13310 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13312 * gst/gstparse.c: (gst_parse_launch):
13313 Also remove reentrance checks if flex is MT safe (#348179)
13314 Fix my empty ChangeLog entry below
13316 2006-07-21 Andy Wingo <wingo@pobox.com>
13318 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13320 * libs/gst/check/Makefile.am
13321 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13322 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
13323 * libs/gst/check/gstbufferstraw.h:
13324 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13325 functions, thus proving I am still a GStreamer haxor. OK I wrote
13326 them a long time ago, but anyways.
13328 2006-07-21 Stefan Kost <ensonic@users.sf.net>
13331 * gst/gstparse.c: (gst_parse_launch):
13332 Check for flex version and omit mutex if we have a MT save flex
13335 2006-07-21 Wim Taymans <wim@fluendo.com>
13337 * gst/gstparse.c: (gst_parse_launch):
13338 Protect recursive calls to _parse with a recursive mutex
13341 2006-07-21 Wim Taymans <wim@fluendo.com>
13343 * tests/check/gst/gstpad.c: (GST_START_TEST):
13346 2006-07-20 Stefan Kost <ensonic@users.sf.net>
13348 * gst/gstparse.c: (gst_parse_launch):
13349 Do not hang on recursive usage of gst_parse_launch()
13351 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13353 * gst/gsttaglist.c:
13354 Add some more docs, comments and FIXME 0.11s here and there
13355 and also fix some typos.
13357 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
13359 * gst/gstsegment.h:
13360 Convert tabs to spaces for better readability.
13362 2006-07-20 Edward Hervey <edward@fluendo.com>
13364 * tests/check/libs/gdp.c: (gst_dp_suite):
13365 the test_buffer test fails at line 140 on ppc64 at the following
13367 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13368 GST_BUFFER_FLAG_IN_CAPS),
13369 "GST_BUFFER_IN_CAPS flag should have been copied !");
13370 See bug #348114 for more details.
13372 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
13374 * docs/pwg/advanced-scheduling.xml:
13376 Fix typos (#348000).
13378 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
13380 * docs/pwg/intro-basics.xml:
13381 Fix wrong links (#347927).
13383 2006-07-18 Stefan Kost <ensonic@users.sf.net>
13385 * gst/gstregistry.h:
13386 * gst/gstregistryxml.c: (load_feature),
13387 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13388 * win32/common/config.h:
13389 make --disable-index work (#342564)
13391 2006-07-18 Wim Taymans <wim@fluendo.com>
13393 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13397 The attached patch adds two missing defines to gsttrace.h when tracing
13398 is disabled. It also corrects one existing define.
13401 2006-07-17 Wim Taymans <wim@fluendo.com>
13403 * docs/gst/gstreamer-sections.txt:
13404 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13406 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13407 Add two functions to check and change the SIGSEGV behaviour
13408 when loading plugins.
13409 Don't mess with the SIGSEGV handler when we were told not to.
13411 API: gst_segtrap_is_enabled
13412 API: gst_segtrap_set_enabled
13414 2006-07-14 Wim Taymans <wim@fluendo.com>
13416 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13417 * tests/check/elements/filesrc.c: (GST_START_TEST):
13418 Revert fix for regression in #347408 after release.
13420 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
13422 Patch by: Antoine Tremblay <hexa00 at gmail com>
13424 * gst/gstutils.c: (gst_element_unlink):
13425 Free iterator when done (#347311).
13427 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13428 And add a test case for this.
13430 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
13433 Bump nano back to CVS
13435 === release 0.10.9 ===
13437 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
13440 releasing 0.10.9, "On the road again"
13442 2006-07-13 Wim Taymans <wim@fluendo.com>
13444 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13445 * tests/check/elements/filesrc.c: (GST_START_TEST):
13446 Revert pull-0 fix for release. Disable check. Fixes #347408.
13448 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13450 * libs/gst/dataprotocol/dataprotocol.c:
13451 (gst_dp_event_from_packet_1_0):
13452 Fixes #347337: failure to deserialize event packets with
13453 empty payload (only event type)
13455 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
13458 do not install a .c file in the header directory
13460 2006-07-13 Edward Hervey <edward@fluendo.com>
13462 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13463 GhostPad no longer implicitely use the padtemplates of the targets.
13466 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
13468 * gst/gstvalue.c: (gst_value_compare_list),
13469 (gst_value_compare_array), (_gst_value_initialize):
13470 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13471 Make GstValueArray comparison be order dependent as designed.
13472 Add checks for value lists and value array comparisons.
13475 2006-07-11 Edward Hervey <edward@fluendo.com>
13477 * gst/gstbin.c: (activate_pads),
13478 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13479 (gst_bin_change_state_func):
13480 (de)activate src pads before calling state_change on the childs.
13481 This is to avoid the case where a src ghostpad is blocked (holding the
13482 stream lock), which would block the deactivation of the ghostpad's
13484 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13485 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13486 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13487 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13488 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13489 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13490 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13491 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13492 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13493 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13494 (gst_ghost_pad_class_init),
13495 (gst_ghost_pad_internal_do_activate_push),
13496 (gst_ghost_pad_internal_do_activate_pull),
13497 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13498 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13499 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13500 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13501 GhostPads now create their internal GstProxyPad at creation (and not
13502 when they're linked, as it was being done previously).
13503 The internal and target pads are linked straight away.
13504 The data will also travel through the other pad in order to make
13505 pad blocking and probes non-hackish (the probe/block now really happens
13506 on the GhostPad and not on the target).
13507 * gst/gstpad.c: (gst_pad_set_blocked_async),
13508 (gst_pad_link_prepare), (gst_pad_push_event):
13509 Remove previous ghostpad cruft.
13510 * gst/gstutils.c: (gst_pad_add_data_probe),
13511 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13512 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13513 (gst_pad_remove_buffer_probe):
13514 Remove previous ghost pad cruft.
13515 Added more detailed debug statements.
13516 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13517 Fix the testsuite for refcounting changes.
13518 The comments about who has references were correct, but the refcount
13519 being checked wasn't the same (!?!).
13523 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13525 * docs/gst/gstreamer-sections.txt:
13526 * gst/gstconfig.h.in:
13527 More docs for configuration options, add docs to gtk-doc.
13529 2006-07-10 Stefan Kost <ensonic@users.sf.net>
13532 * gst/gstconfig.h.in:
13533 * win32/common/config.h:
13534 Fix build when disabling tracing (fixes #344016). Also start to document
13535 the defines that disable the sub-systems.
13537 2006-07-10 Edward Hervey <edward@fluendo.com>
13539 * gst/gst.c: (ensure_current_registry_forking):
13540 let's make valgrind happy...
13542 2006-07-09 Wim Taymans <wim@fluendo.com>
13544 * gst/gstelement.c: (activate_pads),
13545 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13546 Better pad activation code: Reset the collect value too on resync.
13549 2006-07-09 Wim Taymans <wim@fluendo.com>
13551 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13552 (gst_pad_activate_push):
13553 Use some more macros where it makes sense.
13554 Allow pad mode switching instead of asserting. When a pad
13555 is activated in one mode and we activate it in another,
13556 deactivate it first before activating it in a different mode.
13559 2006-07-08 Andy Wingo <wingo@pobox.com>
13561 * tools/gst-launch.c (main): Handle err == NULL.
13563 * gst/gst.c (init_post, ensure_current_registry)
13564 (ensure_current_registry_forking)
13565 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13566 factoring out the registry scanning into separate functions. Don't
13567 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13568 Better environment var name/interface suggestions accepted.
13570 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13572 * gst/gstobject.c: (gst_object_set_name_default),
13573 (gst_object_set_name):
13574 Random micro-optimisation: don't use a hash table
13575 with strings as keys and the usual strdup/strcmp
13576 involved, but rather just use the GQuark of the
13577 type name as key, since it needs to be looked up
13578 anyway to get the type name string.
13580 * tests/check/gst/gstobject.c: (GST_START_TEST):
13583 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13585 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13586 (gst_bin_iterate_all_by_interface):
13587 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13588 GTypes are gulongs and thus the top 4 bytes might be cut
13589 off on some platforms when doing GPOINTER_TO_INT, leading
13590 to invalid GTypes and bad things happening (see RH bug #179654).
13591 Also add a check to make sure the type passed in is really
13594 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13599 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
13603 * gst-element-check.m4:
13604 * gst-element-check.m4.in:
13605 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13606 instead of the unversioned gst-inspect (#324176, #168659).
13608 2006-07-06 Wim Taymans <wim@fluendo.com>
13610 * gst/gstmessage.h:
13611 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13614 2006-07-06 Wim Taymans <wim@fluendo.com>
13616 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13617 (gst_base_src_wait), (gst_base_src_update_length),
13618 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13619 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13620 (gst_base_src_loop), (gst_base_src_start),
13621 (gst_base_src_activate_pull):
13623 blocksize == 0 now means the default blocksize when working in push
13625 Remove some pointless asserts in _wait function.
13626 Fix offset/length calculations and EOS handling. We can now pull 0
13627 bytes as well, which is allowed.
13628 use _check_get_range() to decide if we can operate in _pull based
13630 Fix refcounting leak when check_get_range function was not
13632 API GstBaseSrc::blocksize range can be 0 too now (default)
13634 * tests/check/elements/filesrc.c: (GST_START_TEST),
13636 Added check to test _get_range() behaviour.
13638 2006-07-06 Wim Taymans <wim@fluendo.com>
13640 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13641 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13642 (gst_pad_pull_range):
13644 Lots of comments and docs added to the pad functions.
13645 Flesh out the expected behaviour of the get_range() functions.
13647 2006-07-06 Wim Taymans <wim@fluendo.com>
13652 * gst/gstiterator.h:
13656 Remove comma at end of enumerator list.
13658 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
13660 * win32/common/libgstbase.def:
13661 * win32/common/libgstdataprotocol.def:
13662 * win32/common/libsgtreamer.def:
13663 Add new exported functions.
13665 2006-07-05 Wim Taymans <wim@fluendo.com>
13667 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13668 Add some more docs here and there.
13670 2006-07-05 Wim Taymans <wim@fluendo.com>
13672 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13673 (gst_base_sink_loop), (gst_base_sink_get_position):
13674 When operating in pull mode update the offset so that we
13677 2006-07-05 Wim Taymans <wim@fluendo.com>
13679 * gst/gstregistryxml.c: (read_string):
13680 Avoid strdup. (will happen in libxml, but hey!)
13683 Add some more docs.
13685 2006-07-05 Wim Taymans <wim@fluendo.com>
13687 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13688 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13689 (gst_buffer_suite):
13690 No point in checking if the size of the subbuffer > 0, the
13691 code handles it correclty as demonstrated by unit test.
13692 Also add a unit test for the zero sized _new_and_alloc and
13693 _copy. Fixes #346663.
13695 2006-07-05 Wim Taymans <wim@fluendo.com>
13697 * libs/gst/base/gstbasetransform.c:
13698 (gst_base_transform_prepare_output_buffer),
13699 (gst_base_transform_buffer_alloc),
13700 (gst_base_transform_handle_buffer):
13701 Make sure the buffer we pass to transform_ip has a refcount of
13702 1 and thus is writable. Fixes #343196
13704 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
13706 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13707 (gst_file_src_init), (gst_file_src_set_property),
13708 (gst_file_src_get_property), (gst_file_src_map_region):
13709 * plugins/elements/gstfilesrc.h:
13710 Add "sequential" property, off by default, to use madvise and hint
13711 to the kernel that sequential access is desired.
13712 Touch all retrieved pages by default to ensure they are pulled
13713 into memory. (Closes #345720)
13715 2006-07-03 Wim Taymans <wim@fluendo.com>
13717 * docs/design/part-block.txt:
13718 * docs/design/part-dynamic.txt:
13719 Small docs updates.
13721 2006-07-03 Wim Taymans <wim@fluendo.com>
13723 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
13724 (gst_caps_unref), (gst_static_caps_get),
13725 (gst_caps_append_structure):
13726 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
13727 Use GSlice when the glib we build against is >= 2.10
13729 2006-07-03 Wim Taymans <wim@fluendo.com>
13731 * gst/gstelement.c: (gst_element_pads_activate):
13732 Small cleanup in pad activation code.
13734 2006-07-03 Wim Taymans <wim@fluendo.com>
13736 Patch by: Peter Kjellerstedt <pkj at axis dot com>
13738 * gst/gst-i18n-app.h:
13739 * gst/gst-i18n-lib.h:
13740 * tools/gst-inspect.c: (print_signal_info):
13741 The attached patch will make the inclusion of gettext.h unconditional in
13742 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
13743 libintl.h in tools/gst-inspect.c.
13744 This allows use of --disable-nls again and fixes #344642.
13746 2006-07-03 Edward Hervey <edward@fluendo.com>
13748 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
13749 Implement pad blocking on events according to part-block.txt.
13750 More comments on behaviour.
13751 * tests/check/gst/gstevent.c: (test_event):
13752 Send event to peer pad of blocked pad (else it will block).
13754 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13756 * libs/gst/check/gstcheck.c: (gst_check_message_error),
13757 (gst_check_run_suite):
13758 if we get the wrong message, give us the types as string
13759 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
13761 * tests/check/elements/filesrc.c: (GST_START_TEST):
13762 add a test for trying to open a non-existing file
13764 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13766 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13767 add a test for adding self
13769 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
13771 * libs/gst/check/gstcheck.h:
13772 add some assert_ as alias for fail_unless_*
13773 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
13774 increase test coverage
13776 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13779 include lcov.mak for lcov coverage generation
13780 * tools/Makefile.am:
13783 2006-07-02 Edward Hervey <edward@fluendo.com>
13785 * tests/check/elements/.cvsignore:
13788 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13791 don't set CFLAGS and friends for gcov, done from GST_GCOV now
13792 * tests/check/Makefile.am:
13793 clean up gcov files
13795 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13797 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
13798 remove gst_caps_simplify; it was not declared and not used
13799 and deprecated in 0.8
13801 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13803 * docs/faq/gst-uninstalled:
13804 don't put empty paths on PYTHONPATH
13805 * docs/gst/gstreamer-sections.txt:
13806 remove some symbols that are not there
13808 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13810 * gst/gstcaps.c: (gst_caps_compare_structures):
13812 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13813 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13816 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13818 * libs/gst/dataprotocol/Makefile.am:
13819 build dataprotocol test by linking to the lib, instead of
13820 compiling the source, so we get coverage
13821 * tests/check/Makefile.am:
13822 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
13823 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
13824 add a test for filesrc
13826 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13828 * tests/check/gst/gststructure.c: (GST_START_TEST),
13829 (gst_structure_suite):
13830 Push coverage from 59.04% to 70.00%
13832 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13834 * tests/check/Makefile.am:
13835 gst-inspect every element; this makes sure that we also get
13836 coverage on element's get/set functions
13838 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
13841 set CFLAGS and friends to -O0 if gcov is being used
13844 * libs/gst/base/Makefile.am:
13845 * libs/gst/check/Makefile.am:
13846 * libs/gst/controller/Makefile.am:
13847 * libs/gst/dataprotocol/Makefile.am:
13848 * libs/gst/net/Makefile.am:
13849 * plugins/elements/Makefile.am:
13850 * plugins/indexers/Makefile.am:
13851 add makefile rules to generate gcov data and clean up
13852 * tests/check/Makefile.am:
13853 add a coverage target that generates an html overview
13856 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13858 * tests/check/elements/fakesink.c:
13859 * tests/check/elements/fakesrc.c:
13860 * tests/check/elements/fdsrc.c:
13861 * tests/check/elements/identity.c:
13862 * tests/check/generic/sinks.c: (gst_sinks_suite):
13863 * tests/check/generic/states.c:
13864 * tests/check/gst/gst.c:
13865 * tests/check/gst/gstabi.c:
13866 * tests/check/gst/gstbin.c:
13867 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
13868 * tests/check/gst/gstbus.c: (gst_bus_suite):
13869 * tests/check/gst/gstcaps.c: (GST_START_TEST):
13870 * tests/check/gst/gstelement.c:
13871 * tests/check/gst/gstevent.c: (gst_event_suite):
13872 * tests/check/gst/gstghostpad.c:
13873 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
13874 * tests/check/gst/gstmessage.c: (gst_message_suite):
13875 * tests/check/gst/gstminiobject.c:
13876 * tests/check/gst/gstobject.c:
13877 * tests/check/gst/gstpad.c:
13878 * tests/check/gst/gstpipeline.c:
13879 * tests/check/gst/gstplugin.c:
13880 * tests/check/gst/gstquery.c: (gst_query_suite):
13881 * tests/check/gst/gstsegment.c: (gst_segment_suite):
13882 * tests/check/gst/gststructure.c:
13883 * tests/check/gst/gstsystemclock.c:
13884 * tests/check/gst/gsttag.c:
13885 * tests/check/gst/gsttask.c: (gst_task_suite):
13886 * tests/check/gst/gstutils.c:
13887 * tests/check/gst/gstvalue.c:
13888 * tests/check/libs/adapter.c:
13889 * tests/check/libs/basesrc.c:
13890 * tests/check/libs/collectpads.c:
13891 * tests/check/libs/controller.c:
13892 * tests/check/libs/gdp.c: (gst_dp_suite):
13893 * tests/check/libs/gstnetclientclock.c:
13894 * tests/check/libs/gstnettimeprovider.c:
13895 * tests/check/libs/libsabi.c: (libsabi_suite):
13896 * tests/check/libs/typefindhelper.c:
13897 * tests/check/pipelines/cleanup.c:
13898 * tests/check/pipelines/parse-launch.c:
13899 * tests/check/pipelines/simple-launch-lines.c:
13900 * tests/check/pipelines/stress.c: (stress_suite):
13903 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13905 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13906 * libs/gst/check/gstcheck.h:
13907 create a macro and function so that the simple unit test
13908 case can be just one macro to create main()
13910 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13912 * gst/gstbin.c: (gst_bin_restore_thyself):
13913 * gst/gstxml.c: (gst_xml_make_element):
13914 Fix deserialisation from XML. Set parent manually
13915 instead of using gst_bin_add(), since gst_bin_add()
13916 will unlink all pads of the element being added.
13919 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13921 Patch by: Peter Kjellerstedt <pkj at axis com>
13923 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13924 Fix missing g_strdup() and double free when using the
13925 --gst-plugin-load command line option (#346097).
13927 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13930 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13932 * libs/gst/net/gstnetclientclock.c:
13933 * libs/gst/net/gstnettimeprovider.c:
13934 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13936 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13938 * docs/manual/advanced-dataaccess.xml:
13939 Fix buffer probe example compilation in
13942 2006-06-22 Edward Hervey <edward@fluendo.com>
13944 * gst/gstelement.c: (gst_element_pads_activate):
13945 We need to deactivate src pads first and then sink pads.
13946 The reason is the src pads might be blocking while holding the streaming
13947 lock, so we need to deactivate them first so that deactivating the sink
13948 pads doesn't block (since it will require the streaming lock).
13950 2006-06-22 Wim Taymans <wim@fluendo.com>
13952 * libs/gst/base/gstbasetransform.c:
13953 (gst_base_transform_buffer_alloc):
13954 Forgot to remove two unneeded unrefs.
13955 Simplify a check _is_equal allready checks the obvious case.
13957 2006-06-22 Wim Taymans <wim@fluendo.com>
13959 * docs/design/part-block.txt:
13960 Some docs about what pad_block should do.
13962 2006-06-22 Wim Taymans <wim@fluendo.com>
13964 * gst/gstcaps.c: (gst_caps_replace):
13965 Fix crasher when passed NULL. Doc clarification.
13966 Optimize for the trivial case.
13968 * gst/gstpipeline.c: (gst_pipeline_change_state):
13971 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13972 Small documentation cleanup.
13974 * libs/gst/base/gstbasetransform.c:
13975 (gst_base_transform_buffer_alloc):
13976 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13977 is what we need and it avoids a whole lot of redundant
13978 refcount operations.
13980 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13982 Patch by: Philip Jägenstedt <philip at lysator liu se>
13984 * docs/manual/advanced-dataaccess.xml:
13985 Fix 'Embedding static elements' section to use
13986 GST_PLUGIN_DEFINE_STATIC (#345607).
13988 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13990 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13991 Attempt to 'fix' spuriously failing test case: it seems like the
13992 timeout of half a second is simply too small when the system is under
13993 load otherwise, and the timeout doesn't really seem to serve any
13994 particular purpose here. Give the pipeline a few seconds to preroll
13995 first, and then give it another half a second to go from PAUSED to
13996 PLAYING and marshal the message into the main thread.
13998 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14000 * tools/gst-feedback-m.m:
14001 Don't only use unversioned tools, try versioned tools as well
14004 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
14006 * gst/gstbus.c: (gst_bus_class_init):
14007 Fix some typos, make docs more explicit.
14009 2006-06-20 Wim Taymans <wim@fluendo.com>
14011 * tests/check/gst/gstghostpad.c: (block_callback),
14012 (GST_START_TEST), (gst_ghost_pad_suite):
14013 Added some more ghostpad tests, mainly blocking
14016 2006-06-16 Wim Taymans <wim@fluendo.com>
14018 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14019 (gst_file_sink_close_file), (gst_file_sink_do_seek),
14020 (gst_file_sink_event), (gst_file_sink_render):
14021 * plugins/elements/gstfilesink.h:
14022 Check if we can seek in the file instead of assuming
14023 we always can. Post an error when we are asked to seek in a
14024 non-seekable file (like a fifo). Fixes #343312.
14027 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14029 * tools/gst-launch.1.in:
14030 Un-garble (fourcc) bit in filtered caps section.
14032 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
14034 * docs/manual/advanced-autoplugging.xml:
14035 * docs/manual/basics-helloworld.xml:
14036 * docs/manual/highlevel-components.xml:
14037 Don't leak bus reference in sample code.
14039 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
14042 Add default for new --enable-plugin-docs switch.
14045 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14048 * docs/Makefile.am:
14049 Use new ENABLE_PLUGIN_DOCS conditional.
14051 2006-06-14 Wim Taymans <wim@fluendo.com>
14053 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14054 Make it clear with a FIXME and a real define what the #if 0
14055 previously disabled.
14057 2006-06-14 Wim Taymans <wim@fluendo.com>
14059 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14060 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14061 * libs/gst/base/gstbasetransform.c:
14062 (gst_base_transform_sink_eventfunc):
14063 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14064 Don't randomly and silently reset a segment when the format
14065 changes as this is a bug somewhere upstream. Fixes #330379.
14067 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
14069 Patch by: Wouter Paesen <wouter at kangaroot net>
14071 * libs/gst/controller/gstcontroller.c:
14072 (gst_controlled_property_new):
14073 Fix controlling of float properties (#344849).
14075 * tests/check/libs/controller.c:
14076 (gst_test_mono_source_get_property),
14077 (gst_test_mono_source_set_property),
14078 (gst_test_mono_source_class_init), (GST_START_TEST):
14079 While we're at it, add some float stuff to unit test.
14081 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14084 * docs/images/gdp-header.svg:
14086 * docs/libs/Makefile.am:
14087 * docs/libs/gdp-header.png:
14088 * libs/gst/dataprotocol/dataprotocol.c:
14089 add it to the API docs
14090 * docs/manual/intro-motivation.xml:
14093 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14095 * gst/gst.c: (scan_and_update_registry), (init_post):
14096 If the fork()'ed child process can't write the updated registry cache
14097 file to disk for some reason, make it exit with a failure exit code,
14098 so that the parent can then re-scan the plugins itself and update the
14099 registry structures in memory and work with that (rather than failing
14100 when creating elements because seemingly no plugins are available).
14101 Refactor registry scanning code into separate function for this and
14102 also separate fork() and non-fork() code paths. Fixes #344748.
14104 2006-06-13 Wim Taymans <wim@fluendo.com>
14106 * docs/manual/advanced-dataaccess.xml:
14107 Fix wrong PluginDesc. Fixes #344755.
14109 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
14111 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14112 Fix silly bug that prevented us from creating
14113 ~/.gstreamer-0.10 and writing the registry in one
14114 go (the first call to g_mkstemp() would overwrite the
14115 placeholder in the template string, so the second call
14116 to g_mkstemp() after creating the missing directory
14117 would then error out with 'invalid argument').
14119 2006-06-13 Edward Hervey <edward@fluendo.com>
14121 * gst/gst.c: (init_post):
14124 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
14126 * gst/glib-compat-private.h:
14127 * gst/glib-compat.c:
14128 * gst/glib-compat.h:
14129 * gst/gstvalue.c: (gst_value_serialize_flags):
14130 remove GLib 2.6 compatibility code
14132 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
14134 * gst/parse/Makefile.am:
14135 Fix build with 'make -j N' even more (#340016).
14137 2006-06-12 Wim Taymans <wim@fluendo.com>
14139 * docs/gst/gstreamer-sections.txt:
14142 2006-06-12 Wim Taymans <wim@fluendo.com>
14144 * gst/gstsegment.c: (gst_segment_set_duration),
14145 (gst_segment_set_last_stop), (gst_segment_set_seek),
14146 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14147 (gst_segment_to_running_time), (gst_segment_clip):
14148 Use G_UNLIKELY to help the compiler a bit.
14150 2006-06-12 Wim Taymans <wim@fluendo.com>
14152 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14154 * gst/gstevent.c: (gst_event_get_type):
14155 * gst/gstmessage.c:
14156 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14158 constify quark registration strings. Fixes #344115
14159 Avoid unneeded type checking is _pad_push() by internally
14160 calling gst_pad_chain_unchecked().
14162 2006-06-12 Wim Taymans <wim@fluendo.com>
14164 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14165 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14166 (gst_subbuffer_finalize), (gst_buffer_create_sub),
14167 (gst_buffer_is_span_fast), (gst_buffer_span):
14168 Init _type for consistency.
14169 Use _FLAGS macro to avoid type check.
14170 Avoid unneeded type checks in subbufer code.
14172 2006-06-12 Wim Taymans <wim@fluendo.com>
14174 * gst/gst.c: (gst_debug_help):
14175 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14176 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14177 (gst_plugin_feature_list_free):
14178 * gst/gstregistry.c: (gst_registry_add_plugin),
14179 (gst_registry_add_feature), (gst_registry_plugin_filter),
14180 (gst_registry_feature_filter), (gst_registry_find_plugin),
14181 (gst_registry_find_feature), (gst_registry_get_plugin_list),
14182 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14183 * gst/gstregistryxml.c: (load_feature),
14184 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14185 * gst/gstminiobject.c: (gst_mini_object_unref),
14186 (gst_mini_object_replace), (gst_value_mini_object_free),
14187 (gst_value_mini_object_copy):
14188 Use _CAST macros to avoid unneeded type checking.
14189 Added some more G_UNLIKELY.
14191 2006-06-12 Wim Taymans <wim@fluendo.com>
14194 Avoid unneeded type checking.
14195 API: GST_BUFFER_IS_DISCONT
14197 * gst/gstminiobject.h:
14198 Avoid type check in flag accessor.
14200 * gst/gstelementfactory.h:
14202 * gst/gstpluginfeature.h:
14204 API: GST_ELEMENT_FACTORY_CAST
14205 API: GST_PLUGIN_CAST
14206 API: GST_PLUGIN_FEATURE_CAST
14208 2006-06-12 Wim Taymans <wim@fluendo.com>
14210 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14211 (gst_object_unref):
14212 Add G_UNLIKELY in type registration.
14213 Avoid type check in _ref/_unref since that is also
14216 2006-06-12 Wim Taymans <wim@fluendo.com>
14218 * gst/gsterror.c: (gst_g_error_get_type):
14219 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14220 (gst_static_pad_template_get_type):
14221 * gst/gsttaglist.c: (gst_tag_list_get_type):
14222 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14223 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14224 * gst/gsturi.c: (gst_uri_handler_get_type):
14225 * gst/gstvalue.c: (gst_date_get_type):
14226 * gst/gstxml.c: (gst_xml_get_type):
14227 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14228 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14229 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14230 Add G_UNLIKELY in type registration.
14232 2006-06-12 Wim Taymans <wim@fluendo.com>
14234 * tools/gst-inspect.c: (print_signal_info):
14235 Properly print enum values.
14237 2006-06-12 Wim Taymans <wim@fluendo.com>
14239 * gst/gstinfo.c: (gst_debug_set_active),
14240 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14242 Add some G_[UN]LIKELY.
14243 Maintain __gst_debug_min to avoid formatting the arguments of
14244 debug messages that will be dropped anyway to avoid a lot of
14245 overhead from the debugging system.
14247 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14250 * po/POTFILES.skip:
14251 add missing files containing translatable strings, tell intltool about
14254 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14256 * tests/check/libs/.cvsignore:
14257 add test-binary to ignore list
14259 2006-06-11 Stefan Kost <ensonic@users.sf.net>
14261 * docs/libs/gstreamer-libs-docs.sgml:
14262 reorder (put dp into a chapter) and indent
14264 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14269 === release 0.10.8 ===
14271 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14274 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14276 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14278 * gst/gst.c: (init_post):
14279 move pid declaration to declaration block
14281 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
14283 * gst/gst.c: (init_post):
14284 use _exit() instead of exit() in our forked child; this ensures
14285 that none of the registered exit handlers from whatever is using
14286 GStreamer get executed. This fixes gnome-mixer-applet failing
14287 to load, because ORBit would shut down.
14288 Spotted by: Edward Hervey <edward@fluendo.com>
14289 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
14292 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14297 === release 0.10.7 ===
14299 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
14302 releasing 0.10.7, "Soepeke, ik zie ou"
14304 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
14327 * win32/common/config.h:
14328 0.10.6.2 prerelease
14330 2006-06-07 Wim Taymans <wim@fluendo.com>
14332 * gst/gstindex.c: (gst_index_gtype_resolver):
14333 * tools/gst-xmlinspect.c: (print_plugin_info):
14334 Fix leak spotted by coverity checker. Fixes #343827
14335 Fix another other leak found by paolo borelli.
14337 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14339 * libs/gst/dataprotocol/dataprotocol.c:
14340 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14341 (gst_dp_version_get_type), (gst_dp_init),
14342 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14343 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14344 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14345 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14346 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14347 (gst_dp_packetizer_free):
14348 * libs/gst/dataprotocol/dataprotocol.h:
14349 API: add a GstDPPacketizer object, and create/free functions
14350 API: add GstDPVersion enum
14351 Add 1.0 event function that uses the string serialization
14352 Serialize more useful buffer flags
14355 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14357 * tests/check/Makefile.am:
14358 * tests/check/gst/gstabi.c:
14359 * tests/check/gst/struct_ppc64.h:
14360 * tests/check/libs/libsabi.c:
14361 * tests/check/libs/struct_ppc64.h:
14362 add ppc64 structure sizes
14364 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14366 * tests/check/Makefile.am:
14367 * tests/check/gst/gstabi.c:
14368 * tests/check/gst/struct_x86_64.h:
14369 * tests/check/libs/libsabi.c:
14370 * tests/check/libs/struct_x86_64.h:
14371 generate and add structure size lists for x86_64
14373 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
14375 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14376 * libs/gst/check/gstcheck.h:
14377 factor out the method from tests that checks size of structures,
14378 and add code to generate the header containing these sizes
14379 * tests/check/gst/gstabi.c: (GST_START_TEST):
14380 * tests/check/gst/struct_i386.h:
14381 * tests/check/libs/libsabi.c: (GST_START_TEST):
14382 * tests/check/libs/struct_i386.h:
14385 2006-06-06 Michael Smith <msmith@fluendo.com>
14387 * gst/gstsegment.h:
14388 Don't use c++-style comments, fixes #343929
14390 2006-06-05 Edward Hervey <edward@fluendo.com>
14393 plugin_paths is not used if we build without registry support.
14395 * gst/gstsegment.c: (gst_segment_copy):
14396 _copy() was always returning NULL...
14398 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14400 * libs/gst/dataprotocol/dataprotocol.c:
14401 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14402 (gst_dp_packet_from_event):
14403 factor out CRC code
14405 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14407 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14408 make sure we unset caps
14410 2006-06-02 Michael Smith <msmith@fluendo.com>
14412 * libs/gst/check/gstcheck.c: (gst_check_init),
14413 (gst_check_chain_func):
14414 * libs/gst/check/gstcheck.h:
14415 Add a cond/mutex to the check support lib, signal this whenever we
14416 add to the buffers list. This will allow tests to not busy-wait on
14419 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14421 * libs/gst/dataprotocol/dataprotocol.c:
14422 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14423 (gst_dp_packet_from_event):
14424 factor out some common header init code
14426 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
14428 * docs/libs/gstreamer-libs-sections.txt:
14429 * docs/libs/tmpl/gstdataprotocol.sgml:
14430 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14431 * libs/gst/dataprotocol/dataprotocol.h:
14432 API: make gst_dp_crc() public
14434 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14436 * plugins/indexers/gstindexers.c: (plugin_init):
14437 conditionally register fileindexer (fixes #343598)
14439 2006-06-01 Stefan Kost <ensonic@users.sf.net>
14441 * gst/gsttagsetter.h:
14442 Can't cast ifaces to a class
14444 * libs/gst/net/gstnetclientclock.h:
14445 * libs/gst/net/gstnettimeprovider.h:
14446 * plugins/elements/gstfakesink.h:
14447 * plugins/elements/gstfakesrc.h:
14448 * plugins/elements/gstfdsink.h:
14449 * plugins/elements/gstfdsrc.h:
14450 * plugins/elements/gstfilesink.h:
14451 * plugins/elements/gstfilesrc.h:
14452 * plugins/elements/gstidentity.h:
14453 * plugins/elements/gstqueue.h:
14454 * plugins/elements/gsttee.h:
14455 * plugins/indexers/gstfileindex.c:
14456 * plugins/indexers/gstmemindex.c:
14457 * tests/old/examples/plugins/example.h:
14458 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14460 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
14462 * libs/gst/dataprotocol/dataprotocol.c:
14463 (gst_dp_header_from_buffer):
14464 make sure we zero the whole ABI-compatible area
14466 2006-06-01 Wim Taymans <wim@fluendo.com>
14468 Patch by: Alessandro Decina <alessandro at nnva dot org>
14470 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14471 Make sure the EOS flag is cleared from pads after a flush
14472 or stop. Fixes #343538.
14474 * tests/check/libs/collectpads.c: (GST_START_TEST),
14475 (gst_collect_pads_suite):
14476 Added test for collectpads reusage after EOS.
14478 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
14481 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14482 * win32/common/libgstbase.def:
14483 export gst_collect_pads_set_flushing
14484 * win32/common/libgstreamer.def:
14485 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14486 gst_value_fraction_multiply
14487 * win32/vs6/gst_inspect.dsp:
14488 add a link to intl.lib
14490 2006-05-30 Wim Taymans <wim@fluendo.com>
14492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14493 (gst_collect_pads_chain):
14494 Handle the case where a pad is removed from the collection
14495 that could cause the other pads to become collectable.
14497 2006-05-30 Wim Taymans <wim@fluendo.com>
14499 * gst/gstelement.c:
14500 Clarify the use of _release_request_pad() and
14501 _get_request_pad() a bit better.
14503 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14504 (gst_adapter_take_buffer):
14505 Fix some doc and comment typos.
14507 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14509 * docs/gst/gstreamer-sections.txt:
14510 * docs/libs/gstreamer-libs-sections.txt:
14511 add declared symbols
14513 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
14515 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14516 Add debug that can be enabled using a #define at the top of the file,
14517 for dumping stats about how late/early we were when waking up from
14518 waiting on the clock.
14520 2006-05-30 Wim Taymans <wim@fluendo.com>
14522 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14523 When rebuilding the pad list, don't leak the previous list.
14525 2006-05-30 Wim Taymans <wim@fluendo.com>
14527 Patch by: Lutz Mueller <lutz at topfrose dot de>
14529 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14530 (gst_base_src_get_query_types), (gst_base_src_update_length):
14531 Publish supported query types.
14532 Update last_stop field in get_range mode so the position
14533 query works. Fixes #342321.
14535 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
14537 * docs/gst/gstreamer-sections.txt:
14538 * gst/gsttaglist.c: (_gst_tag_initialize):
14539 * gst/gsttaglist.h:
14540 API: add GST_TAG_PREVIEW_IMAGE (#343341).
14542 2006-05-30 Wim Taymans <wim@fluendo.com>
14544 Patch by: Alessandro Decina <alessandro at nnva dot org>
14546 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14547 Unlock mutex when removing an unknown pad.
14550 * tests/check/Makefile.am:
14551 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14552 (push_event), (setup), (teardown), (GST_START_TEST),
14553 (gst_collect_pads_suite), (main):
14554 Added collecpads check, disabled for now as check crashes for
14557 2006-05-29 Wim Taymans <wim@fluendo.com>
14559 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14560 Don't leak pads lists.
14562 2006-05-29 Wim Taymans <wim@fluendo.com>
14564 * docs/libs/gstreamer-libs-sections.txt:
14565 * libs/gst/base/gstcollectpads.c:
14566 (gst_collect_pads_set_flushing_unlocked),
14567 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14568 (gst_collect_pads_stop):
14569 * libs/gst/base/gstcollectpads.h:
14570 API: gst_collect_pads_set_flushing()
14571 Added api to set the pads to flushing, useful for seeking
14572 code in elements using collectpads.
14573 Clear segment when receiving a flush.
14575 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
14577 * gst/gst.c: (add_path_func), (init_post):
14578 Don't scan registry paths passed via --gst-plugin-path immediately
14579 (will crash, because absolutely nothing is set up and no types are
14580 registered etc.); do this later in init_post(). Fixes #343057.
14582 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
14584 * gst/gst.c: (init_post):
14585 if we have fork, fork while reading/rebuilding the registry
14586 so the parent doesn't take the hit of having all plugins loaded
14587 in memory. Fixes #342777.
14589 Check if we have fork()
14590 * win32/common/config.h.in:
14593 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14595 * plugins/elements/gstelements.c:
14596 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14597 (gst_file_src_init), (gst_file_src_set_property),
14598 (gst_file_src_get_property), (gst_file_src_start):
14599 * plugins/elements/gstfilesrc.h:
14600 API: GstFileSrc::use-mmap
14602 Add a use-mmap property to enable easier testing of all code paths.
14603 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14604 in the absence of gnomevfssrc. (Closes #340501)
14606 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14608 * tools/gst-inspect.c:
14609 Add missing include, removes warning of ngettext not being defined on
14612 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
14614 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14615 Handle NULL input and output pointers silently as a failed conversion,
14616 rather than g_warnings.
14618 2006-05-25 Wim Taymans <wim@fluendo.com>
14620 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14621 Initialize variable before using. Fixes #342820.
14623 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
14625 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14626 Fix off-by-one bug that would only allow peeks of N-1 bytes
14627 from the start even if the buffer to typefind on contains
14628 in fact N bytes of data (makes vorbis typefinding from a
14629 vorbis identification header buffer work).
14631 * tests/check/Makefile.am:
14632 * tests/check/libs/.cvsignore:
14633 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14634 (gst_typefindhelper_suite), (main), (foobar_typefind),
14636 Add very basic unit test for gst_type_find_helper_for_buffer()
14637 that checks for the problem fixed above.
14639 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
14641 * tools/gst-inspect.c: (print_interfaces),
14642 (print_element_properties_info), (print_element_list), (main):
14643 add more translatable strings
14645 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
14647 Patch by: Julien Moutte <julien at moutte net>
14649 * docs/gst/gstreamer-sections.txt:
14650 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14652 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14653 (gst_fake_sink_preroll):
14654 * plugins/elements/gstfakesink.h:
14655 API: Add new GstFakeSink::preroll-handoff signal (#337100).
14657 2006-05-23 Wim Taymans <wim@fluendo.com>
14659 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14661 Added _CUSTOM error and success GstFlowReturn that can be
14662 used be elements internally.
14663 Added macro to check for SUCCESS flowreturns.
14664 API: GST_FLOW_CUSTOM_SUCCESS
14665 API: GST_FLOW_CUSTOM_ERROR
14666 API: GST_FLOW_IS_SUCCESS
14668 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14669 Added check for GstFlowReturn sanity.
14671 2006-05-23 Wim Taymans <wim@fluendo.com>
14673 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14675 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14676 (gst_collect_pads_event):
14677 clear/reset segment info in FLUSH_STOP.
14680 2006-05-22 Stefan Kost <ensonic@users.sf.net>
14682 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14683 (gst_collect_pads_check_collected):
14684 Flush queued buffer on _stop(), fixes playing again (#342454)
14686 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
14688 * tests/check/gst/gststructure.c: (GST_START_TEST),
14689 (gst_structure_suite):
14690 add a test for a complete structure
14692 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14694 * docs/faq/developing.xml:
14695 * docs/faq/faq.xml:
14696 * docs/faq/troubleshooting.xml:
14697 * docs/faq/using.xml:
14698 Some minor FAQ updates that won't change the fact that
14699 our FAQ is badly structured, full of information hardly
14700 anyone new to GStreamer needs to know and lacking lots
14701 of information people constantly ask for.
14703 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
14705 * gst/gstpad.c: (gst_pad_set_caps):
14706 Short-circuit gst_pad_set_caps if setting the existing
14707 caps pointer again, and avoid printing debug and
14708 reffing/unreffing the caps.
14710 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14711 There's actually no need to set the caps before pushing -
14712 the acceptcaps method will handle it anyway.
14714 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
14716 * docs/gst/gstreamer-sections.txt:
14717 * win32/common/libgstreamer.def:
14718 * gst/gstutils.c: (gst_element_seek_simple):
14720 API: add gst_element_seek_simple() (#342238).
14722 2006-05-18 Edward Hervey <edward@fluendo.com>
14724 * gst/gsttypefind.c: (gst_type_find_get_type):
14725 * gst/gsttypefind.h:
14726 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
14727 registered for GstTypeFind pointers. This allows wrapping the structure
14728 in bindings (i.e. gst-python).
14730 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14732 * gst/gsttagsetter.c:
14733 Docs additions and fixes (see #339918).
14735 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
14737 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14738 The caps intersection algorithm can produce multiple copies of the
14739 caps. Until that is fixed, we need to simplify the result to be
14740 sure whether the allowed caps are fixed or not.
14742 * plugins/elements/gstqueue.c: (gst_queue_init),
14743 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
14744 (gst_queue_push_one):
14745 Proxied buffer alloc should not set the caps on the source pad.
14746 When pushing buffers, we always accept the caps change that triggers.
14747 This prevents negotiation errors caused by caps changing mid-stream
14748 and then being refused on our source pad (because upstream is now
14749 refusing those caps).
14751 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
14753 * tests/examples/helloworld/helloworld.c: (main):
14754 Must plug audioconvert and audioresample between decoder
14757 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
14759 * gst/gstregistryxml.c: (read_string), (load_pad_template),
14760 (load_feature), (load_plugin):
14761 Allow empty strings for some of the plugin fields so we don't
14762 drop valid plugin entries that were written out correctly
14765 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
14767 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14768 Use g_remove and g_rename instead of remove and rename that don't
14769 handle utf8 characters. rename was failing for users who had specific
14770 characters in their name then the registry was built at each
14772 * win32/vs6/gst_inspect.dsp:
14773 * win32/vs6/gst_launch.dsp:
14774 * win32/vs6/libgstbase.dsp:
14775 * win32/vs6/libgstcoreelements.dsp:
14776 * win32/vs6/libgstreamer.dsp:
14777 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
14778 build of libgstreamer and clean unused libraries in projects link
14781 2006-05-17 Edward Hervey <edward@fluendo.com>
14783 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14784 The queue is not responsible for pushing an EOS when receiving a fatal
14785 flow error. It's up to the real element driving the pipeline to do that.
14787 2006-05-16 Edward Hervey <edward@fluendo.com>
14789 * plugins/elements/gstqueue.c: (gst_queue_push_one):
14790 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
14791 buffer returned a fatal error. It should just send an EOS and stop
14793 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
14794 when pushing buffers on the queue and will be able to handle the event.
14796 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
14798 * docs/manual/basics-bins.xml:
14799 * docs/manual/basics-init.xml:
14800 Fix typos and minor errors in sample code (#341856).
14802 2006-05-16 Wim Taymans <wim@fluendo.com>
14804 * docs/design/part-qos.txt:
14805 Fix indexes in formulas to make more sense.
14807 2006-05-15 Wim Taymans <wim@fluendo.com>
14809 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14810 Don't report POSITION based on clock time if sync is
14811 disabled in a sink.
14813 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
14816 Add cast to make compiler happy - refcount variable was a gint
14817 in GstObject but is a guint in GObject and g_atomic_int_get()
14820 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
14822 * gst/parse/Makefile.am:
14823 chain commands using &&, which also makes parallel make work
14825 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
14827 * docs/gst/gstreamer-sections.txt:
14830 * gst/gstmessage.h:
14833 === release 0.10.6 ===
14835 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
14838 releasing 0.10.6, "Take the cannoli"
14840 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
14842 * tools/gst-launch.c: (print_tag):
14843 Fix use of uninitialized variable in the hypothetical
14844 case that some broken plugin creates a GST_TAG_IMAGE
14845 tag containing a NULL buffer (#341667).
14847 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
14849 * tools/gst-launch.c: (print_tag):
14850 Print something more intelligible for image tags when
14851 using the -t switch (#341556).
14853 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
14858 define GST_MAJORMINOR so we have it available in win32/common/config.h
14859 Possibly remove it from our Makefile.am files later
14860 * win32/common/config.h:
14861 * win32/common/config.h.in:
14862 added GST_MAJORMINOR
14863 * win32/common/gstenumtypes.c: (register_gst_resource_error):
14864 * win32/common/gstversion.h:
14867 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
14870 Update win32 files listing.
14871 * win32/common/gstversion.h:
14872 Add GST_MAJORMINOR definition.
14873 * win32/common/libgstreamer.def:
14874 Add new exported functions.
14876 2006-05-12 Michael Smith <msmith@fluendo.com>
14878 * gst/gstplugin.c: (gst_plugin_load_file):
14879 If an so file has no plugin entry point, unload the module.
14881 2006-05-11 Wim Taymans <wim@fluendo.com>
14883 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
14884 (gst_queue_set_property):
14885 Don't forget to signal the _chain or _loop function
14886 when the queue size or thresholds change since that might
14887 cause them to make progres again.
14889 2006-05-11 Stefan Kost <ensonic@users.sf.net>
14891 * gst/gstclock.c: (gst_clock_class_init):
14892 * gst/gstindex.c: (gst_index_class_init):
14893 * gst/gstobject.c: (gst_object_class_init):
14894 * gst/gstpad.c: (gst_pad_class_init):
14895 * gst/gstpipeline.c: (gst_pipeline_class_init):
14896 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14897 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
14898 * libs/gst/base/gstbasetransform.c:
14899 (gst_base_transform_class_init):
14900 * libs/gst/net/gstnetclientclock.c:
14901 (gst_net_client_clock_class_init):
14902 * libs/gst/net/gstnettimeprovider.c:
14903 (gst_net_time_provider_class_init):
14904 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14905 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14906 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14907 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14908 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14909 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14910 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14911 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14912 * plugins/elements/gsttee.c: (gst_tee_class_init):
14913 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14914 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14915 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14917 2006-05-11 Wim Taymans <wim@fluendo.com>
14919 * gst/gstbuffer.c: (_gst_buffer_initialize):
14920 Register subbufer along with the buffer type so that
14921 it does not accidentally gets registered from N
14922 different streaming threads in a non threadsafe way.
14924 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14928 * gst/gstmessage.h:
14929 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14930 gst_event_ref() and gst_message_ref() functions again
14931 (ugly hack, please do fix if there's a better way besides
14932 overrides.txt, which doesn't seem to work).
14934 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14936 * libs/gst/check/gstcheck.h:
14937 add an assert for setting state to avoid lots of repetitive code
14940 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14942 * gst/gstvalue.c: (gst_value_serialize_flags):
14943 fix a leak if no flags are set
14944 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14947 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14949 * docs/manual/basics-pads.xml:
14950 Expand a bit on caps and filtered links and update
14951 examples that were still using the no longer existing
14952 gst_pad_link_filtered() (#338206).
14954 2006-05-10 Wim Taymans <wim@fluendo.com>
14956 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14957 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14958 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14959 (gst_collect_pads_stop):
14960 * libs/gst/base/gstcollectpads.h:
14961 No need to call _stop in _finalize.
14962 Iterate the main pad list in _finalize.
14963 Added some more debug.
14964 Free lists and data in the right order.
14965 Also free data whem doing _remove_pad when stopped for
14966 backward compatibility protect ::started with PAD_LOCK as
14969 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14971 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14972 (gst_structure_parse_value):
14974 rename a method so that it actually says what it does better
14976 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14978 * gst/gstevent.c: (_gst_event_initialize):
14979 * gst/gstformat.c: (_gst_format_initialize):
14980 make sure some essential types used by events are registered
14981 as part of gst_init()
14982 * gst/gstvalue.c: (gst_value_serialize_flags):
14983 if no flags are set, serialize them to a value that represents NONE
14984 so that deserializing them works
14985 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14986 add tests for serialization and deserialization of flags
14988 2006-05-10 Wim Taymans <wim@fluendo.com>
14990 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14991 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14992 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14993 (gst_collect_pads_event), (gst_collect_pads_chain):
14996 Catch and return errors from the collect function
14997 Refuse data on eos pads.
14999 2006-05-10 Edward Hervey <edward@fluendo.com>
15001 * gst/gstinterface.h:
15002 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15003 GInterface type checking.
15004 They were previously using non-defined macros.
15006 2006-05-09 Wim Taymans <wim@fluendo.com>
15008 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15009 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15010 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15011 (gst_collect_pads_start), (gst_collect_pads_stop),
15012 (gst_collect_pads_peek), (gst_collect_pads_pop),
15013 (gst_collect_pads_available), (gst_collect_pads_read),
15014 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15015 (gst_collect_pads_is_collected), (gst_collect_pads_event),
15016 (gst_collect_pads_chain):
15017 * libs/gst/base/gstcollectpads.h:
15018 Clean up the mess that is collectpads, add comments and
15019 FIXMEs where needed.
15020 Maintain a separate pad list so we can add pads while
15021 collecting the other ones. For this we need a new separate
15023 Fix memory leak in finalize.
15024 Refactor some weird code to set/unset pad flushing flags, mark
15026 Don't crash in _available, _read, _flush when we're EOS.
15028 * tests/check/libs/.cvsignore:
15029 Ignore adapter check binary.
15031 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15033 * gst/gstindex.c: (gst_index_resolver_get_type):
15034 * plugins/elements/gstfakesink.c:
15035 (gst_fake_sink_state_error_get_type):
15036 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15037 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15038 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15039 Const-ify GEnumValue arrays.
15041 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15043 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15044 Add test case for flags + gst_buffer_make_metadata_writable().
15046 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15048 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15049 gst_buffer_make_metadata_writable() should maintain the
15050 buffer flags (those that make sense at least) (see #340859).
15052 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15054 * tools/gst-inspect.c:
15055 * tools/gst-launch.c:
15056 * tools/gst-typefind.c:
15057 * tools/gst-xmlinspect.c:
15059 Fix up includes: need to include stdlib.h in tools.h for exit().
15061 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
15063 * gst/gsttaglist.c: (_gst_tag_initialize):
15064 * gst/gsttaglist.h:
15065 API: add GST_TAG_IMAGE tag (#340721).
15067 2006-05-08 Wim Taymans <wim@fluendo.com>
15070 Added some docs for the segment query.
15072 2006-05-08 Wim Taymans <wim@fluendo.com>
15074 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15075 (gst_base_src_loop), (gst_base_src_change_state):
15076 Always push non-flushing serialized events in the streaming
15079 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
15081 * gst/gsterror.c: (_gst_stream_errors_init):
15082 Add a missing error string.
15084 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
15086 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15087 Add applied_rate to the debug
15089 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15090 Copy applied_rate into the outgoing NEWSEGMENT event
15092 2006-05-08 Wim Taymans <wim@fluendo.com>
15094 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15096 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15097 (gst_base_sink_change_state):
15098 call ::unlock before taking the PREROLL_LOCK so we can safely
15099 handle elements that lock in ::render.
15102 2006-05-08 Edward Hervey <edward@fluendo.com>
15104 * autogen.sh: (CONFIGURE_DEF_OPT):
15105 Darwin's libtoolize is in fact called glibtoolize.
15106 Adding glibtoolize to the list of accepted names for libtoolize.
15108 2006-05-08 Wim Taymans <wim@fluendo.com>
15110 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15111 Unify error handling, don't post an error message
15112 when a push() returns EOS but perform our normal EOS
15113 handling code. Fixes #340772.
15115 2006-05-08 Wim Taymans <wim@fluendo.com>
15117 * docs/design/part-overview.txt:
15118 Make upsteam/downstream concepts more clear.
15119 Give an example of serialized/non-serialized events.
15121 * docs/design/part-events.txt:
15122 * docs/design/part-streams.txt:
15123 Mention applied_rate.
15125 * docs/design/part-trickmodes.txt:
15126 Mention applied rate, flesh out some more use cases.
15128 * gst/gstevent.c: (gst_event_new_new_segment),
15129 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15130 (gst_event_parse_new_segment_full), (gst_event_new_tag),
15131 (gst_event_parse_tag), (gst_event_new_buffer_size),
15132 (gst_event_parse_buffer_size), (gst_event_new_qos),
15133 (gst_event_parse_qos), (gst_event_parse_seek),
15134 (gst_event_new_navigation):
15136 Add applied_rate field to NEWSEGMENT event.
15137 API: gst_event_new_new_segment_full()
15138 API: gst_event_parse_new_segment_full()
15140 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15141 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15142 (gst_segment_to_stream_time), (gst_segment_to_running_time):
15143 * gst/gstsegment.h:
15144 Add applied_rate to GstSegment structure.
15145 Make calculation of stream_time and running_time more correct
15146 wrt rate/applied_rate.
15147 Add some more docs.
15148 API: GstSegment::applied_rate field
15149 API: gst_segment_set_newsegment_full();
15151 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15152 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15153 * libs/gst/base/gstbasetransform.c:
15154 (gst_base_transform_sink_eventfunc),
15155 (gst_base_transform_handle_buffer):
15156 Parse and use applied_rate in the GstSegment field.
15158 * tests/check/gst/gstevent.c: (GST_START_TEST):
15159 Add check for applied_rate field.
15161 * tests/check/gst/gstsegment.c: (GST_START_TEST),
15162 (gstsegments_suite):
15163 Add more checks for various GstSegment operations.
15165 2006-05-08 Wim Taymans <wim@fluendo.com>
15167 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15168 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15169 (gst_base_sink_get_position), (gst_base_sink_change_state):
15170 Store the sync time of the buffer end position separatly in a
15171 new variable eos_rtime so we can properly sync the EOS event.
15173 Fix the docs for gst_base_sink_set_qos_enabled().
15174 Don't set segment start to invalid value when we receive a
15175 non TIME newsegment.
15176 get closer to handling position reporting for negative rates
15179 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15182 Docs about how to print caps for debug purposes.
15184 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15185 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15187 2006-05-07 Stefan Kost <ensonic@users.sf.net>
15189 * gst/gstelement.c:
15190 use full enum names and preprend a '%' in docs strings to make recent
15191 gtk-doc turn that into a link
15193 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15195 * docs/manual/basics-bins.xml:
15196 * docs/manual/basics-bus.xml:
15197 * docs/manual/basics-pads.xml:
15198 Some typo fixes, some additions, some clarifications.
15200 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15202 * tools/gst-inspect.c: (main):
15203 * tools/gst-launch.c: (main):
15204 * tools/gst-run.c: (main):
15205 * tools/gst-typefind.c: (main):
15206 * tools/gst-xmlinspect.c: (main):
15207 Use the string passed to g_option_context_new() for
15208 what it's intended for - the program name is already
15211 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15213 * tools/Makefile.am:
15214 * tools/gst-inspect.c: (main):
15215 * tools/gst-launch.c: (main):
15216 * tools/gst-xmlinspect.c: (main):
15218 Add back --version command line option (#340460).
15220 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15221 Add --version option and use GOption for argument parsing; refactor a
15222 bit; accept directories as arguments and recurse into them; lastly,
15223 print a decent error message when things go wrong.
15225 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15227 * docs/manual/basics-bins.xml:
15228 Don't mention GstThread (#340611)
15229 * docs/manual/basics-elements.xml:
15230 Update link to GObject tutorial (#340607)
15232 2006-05-05 Wim Taymans <wim@fluendo.com>
15235 * gst/gstminiobject.c:
15236 Add note about refcounting and miniobject/buffer writeability
15237 to docs. Fixes #340604
15239 * gst/gstelementfactory.h:
15240 Added some explanation about @klass.
15242 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15244 * docs/manual/intro-motivation.xml:
15245 * docs/manual/manual.xml:
15246 Avoid CORBA & Bonobo references (#340598)
15248 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15250 * docs/manual/basics-bus.xml:
15251 * docs/manual/basics-pads.xml:
15252 Fix up some inaccuracies and omissions (#340609)
15254 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
15256 * gst/gstghostpad.c:
15257 Small typo in docs (#340625)
15259 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15261 * gst/parse/Makefile.am:
15262 Make 'make -j' proof (see #340698).
15264 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
15267 Require GLib-2.8 here as well.
15269 2006-05-05 Wim Taymans <wim@fluendo.com>
15271 * gst/glib-compat.c:
15272 * gst/gst.c: (init_pre):
15273 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15274 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15275 (gst_object_dispatch_properties_changed):
15277 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15278 * gst/gststructure.c: (gst_structure_set_valist):
15279 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15280 Remove pre glib2.8 compatibility, fixes #340508
15282 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15284 * gst/gsttaglist.h:
15285 Mention type of tags in doc blurbs.
15287 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
15289 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15290 (gst_pad_configure_src), (gst_pad_push):
15291 Restore acceptcaps checking behaviour now that good plugins have
15294 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
15296 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15303 * gst/gstmessage.c:
15307 * gst/parse/Makefile.am:
15308 * libs/gst/base/gstadapter.c:
15309 * libs/gst/base/gstbasesrc.c:
15310 * libs/gst/base/gstpushsrc.c:
15311 * libs/gst/base/gsttypefindhelper.c:
15312 * plugins/elements/gstfakesrc.c:
15313 * plugins/elements/gstidentity.c:
15314 Make sure gstprivate.h and/or config.h are
15315 always included first, otherwise some of our
15316 defines (like _FILE_OFFSET_BITS) might be
15317 redefined in the system headers. Fixes build
15318 on opensolaris (#340016).
15320 2006-05-04 Wim Taymans <wim@fluendo.com>
15322 * docs/libs/gstreamer-libs-sections.txt:
15323 API: addition: gst_adapter_take_buffer()
15325 * libs/gst/base/gstadapter.c: (gst_adapter_push),
15326 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15327 (gst_adapter_available_fast):
15328 * libs/gst/base/gstadapter.h:
15329 Prepare for optimizing the hell out of this hugely inefficient
15331 Added gst_adapter_take_buffer() so we can at least start thinking
15332 about subbuffering and merging.
15333 Added some comments.
15335 * tests/check/Makefile.am:
15336 * tests/check/libs/adapter.c: (GST_START_TEST),
15337 (gst_adapter_suite), (main):
15338 Added GstAdapter check.
15340 2006-05-04 Wim Taymans <wim@fluendo.com>
15342 * docs/design/part-overview.txt:
15343 Fix some typos, add blurb about buffer flags.
15345 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
15347 * docs/libs/gstreamer-libs-sections.txt:
15348 make sure GstBaseTransformClass shows up in the docs
15349 * libs/gst/base/gstbasetransform.c:
15350 * libs/gst/base/gstbasetransform.h:
15351 move docs so gtk-doc picks it up now
15353 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15355 * docs/libs/gstreamer-libs-sections.txt:
15356 add missing symbols to docs
15358 2006-05-02 Stefan Kost <ensonic@users.sf.net>
15360 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15361 back out the newsegment handling change, see #340060 for ongoing
15364 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
15366 * tools/gst-run.c: (get_candidates), (main):
15367 Fix wrong g_file_test() usage (see glib docs for why it doesn't
15368 work); fix typo in error message. Fixes #340079.
15370 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15372 * common/Makefile.am:
15373 * docs/Makefile.am:
15374 * docs/faq/Makefile.am:
15375 * docs/gst/Makefile.am:
15376 * docs/libs/Makefile.am:
15377 * docs/manual/Makefile.am:
15378 * docs/plugins/Makefile.am:
15379 * docs/pwg/Makefile.am:
15380 * docs/slides/Makefile.am:
15382 * common/upload.mak:
15383 move upload.mak to common
15385 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
15387 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15388 add more asserts on refcounts
15389 do more cleanup at end of tests
15390 fix test leaks showing in FC5
15392 2006-04-29 Stefan Kost <ensonic@users.sf.net>
15394 * plugins/elements/gsttypefindelement.c:
15395 (gst_type_find_element_handle_event):
15396 reverted wrong change and reflowed code to avoid others falling into
15399 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15401 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15402 fix changelog entry about last collectpads change,
15403 add notes about proper fix
15405 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15408 * gst/gstregistry.c: (gst_registry_scan_path_level),
15409 (gst_registry_scan_path):
15410 * gst/gstregistry.h:
15411 only write out registry if it has changed, fixes #338339
15413 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15416 * gst/gstpipeline.c:
15417 * plugins/elements/gstcapsfilter.c:
15418 * plugins/elements/gstfakesink.c:
15419 * plugins/elements/gstfakesrc.c:
15420 * plugins/elements/gstfdsink.c:
15421 * plugins/elements/gstfdsrc.c:
15422 * plugins/elements/gstfilesink.c:
15423 * plugins/elements/gstfilesrc.c:
15424 * plugins/elements/gstidentity.c:
15425 * plugins/elements/gstqueue.c:
15426 * plugins/elements/gsttee.c:
15427 * plugins/elements/gsttypefindelement.c:
15428 (gst_type_find_element_handle_event):
15429 make GstElementDetails const
15431 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15433 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15434 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15435 (gst_collect_pads_is_collected), (gst_collect_pads_event):
15436 more detailed debug and formatting cleanup,
15437 forward newsegments to src-pad (so that e.g. adder not eats them)
15439 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15441 * gst/gstutils.c: (gst_element_link_pads):
15442 cleanup double code
15444 2006-04-28 Stefan Kost <ensonic@users.sf.net>
15446 * libs/gst/controller/gstcontroller.c:
15447 (gst_controller_sync_values):
15449 * tests/check/libs/controller.c: (GST_START_TEST),
15450 (gst_controller_suite):
15451 a new test for live value handling
15453 2006-04-28 Wim Taymans <wim@fluendo.com>
15455 * gst/gstutils.c: (push_and_ref):
15456 Added some more docs.
15457 Fix refcount issue whith gst_element_found_tags() helper
15458 function. Fixes #338335
15460 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15461 Added testsuite for gst_element_found_tags().
15463 2006-04-28 Michael Smith <msmith@fluendo.com>
15465 * gst/gstvalue.c: (gst_value_serialize_flags):
15466 Avoid NULL dereference when trying to serialize flags containing
15469 2006-04-28 Michael Smith <msmith@fluendo.com>
15471 * plugins/elements/gsttypefindelement.c:
15472 (gst_type_find_element_handle_event):
15473 If we get EOS before any data is accumulated, don't use
15474 uninitialised local variables.
15476 2006-04-28 Michael Smith <msmith@fluendo.com>
15478 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15479 (gst_dp_event_from_packet):
15480 Fixes in reading/writing events over GDP (not currently used?) -
15481 dereferencing NULL events for unknown/invalid event types, memory
15482 leak, and change g_warning to GST_WARNING.
15484 2006-04-28 Wim Taymans <wim@fluendo.com>
15486 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15487 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15488 (gst_base_sink_get_position), (gst_base_sink_change_state):
15489 When frame dropping is enabled, we should not ignore frames
15490 without a duration.
15491 Update some documentation.
15493 2006-04-28 Wim Taymans <wim@fluendo.com>
15495 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15496 (gst_base_src_send_event), (gst_base_src_change_state):
15497 Documentation updates.
15499 2006-04-28 Wim Taymans <wim@fluendo.com>
15501 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15502 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15503 handle EAGAIN, EINTR and short writes correctly. Also clean
15504 up some error cases, avoid a deadlock on bad file descriptors and
15505 use GST_DEBUG_OBJECT.
15508 2006-04-28 Wim Taymans <wim@fluendo.com>
15510 * gst/gstvalue.c: (gst_value_serialize_buffer),
15511 (gst_value_deserialize_buffer):
15512 Don't try to serialize a GValue with a NULL buffer.
15515 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15516 Added check for serialisation of NULL buffers.
15518 2006-04-28 Wim Taymans <wim@fluendo.com>
15520 * gst/gstminiobject.c: (gst_value_take_mini_object):
15521 Taking a NULL miniobject is valid, fix the case where
15522 we try to unref the NULL miniobject.
15524 2006-04-28 Wim Taymans <wim@fluendo.com>
15526 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15528 * gst/gstbin.c: (gst_bin_handle_message_func):
15530 Don't leak bin refcount when a state recalc is
15531 in progress and we delay another one #339808.
15533 2006-04-28 Wim Taymans <wim@fluendo.com>
15535 * docs/design/part-TODO.txt:
15536 Mention QoS as an ongoing work item.
15538 * docs/design/part-buffering.txt:
15539 New doc about buffering that needs to be fleshed out
15542 * docs/design/part-qos.txt:
15543 More QoS policy for decoders/demuxers/transforms
15545 * docs/design/part-trickmodes.txt:
15548 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15553 === release 0.10.5 ===
15555 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
15558 releasing 0.10.5, "Fogo"
15560 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
15562 patch by: Wim Taymans
15564 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15565 (gst_pad_configure_src), (gst_pad_push):
15566 * gst/gstpipeline.c: (gst_pipeline_init):
15567 Fix internal data flow errors. Fixes #338711.
15569 2006-04-12 Wim Taymans <wim@fluendo.com>
15571 * tests/check/gst/gstelement.c: (GST_START_TEST):
15572 Don't leak the factory.
15574 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
15577 * win32/common/config.h:
15580 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
15582 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15583 (gst_controller_unset_all):
15584 Free allocated GstTimedValues when freeing list nodes.
15585 Should fix leaks 'make check-valgrind' complains about.
15587 * win32/common/libgstcontroller.def:
15588 Add gst_controller_unset_all.
15590 2006-04-11 Stefan Kost <ensonic@users.sf.net>
15592 * docs/libs/gstreamer-libs-sections.txt:
15593 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15594 (gst_controller_unset_all):
15595 * libs/gst/controller/gstcontroller.h:
15596 API: Added new method gst_controller_unset_all()
15597 fixed gst_controller_unset()
15598 * tests/check/libs/controller.c: (GST_START_TEST),
15599 (gst_controller_suite):
15600 Added two testcases for new and fixed method
15602 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
15604 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15605 MSG_DONTWAIT is not defined on Cygwin, so work
15606 around that (fixes #317048).
15608 2006-04-11 Wim Taymans <wim@fluendo.com>
15610 * gst/gstelementfactory.c: (gst_element_register),
15611 (gst_element_factory_create), (gst_element_factory_make):
15614 Updated docs (Fixes #131079)
15616 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15619 * tests/check/gst/gstelement.c: (GST_START_TEST),
15620 (gst_element_suite):
15621 Added testcase for elementfactory class field.
15623 2006-04-10 Wim Taymans <wim@fluendo.com>
15625 * gst/gstsegment.c:
15626 Added some more docs.
15628 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15629 (gst_base_sink_reset_qos):
15630 Calculate more accurate rate values.
15632 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
15634 * gst/gst_private.h:
15635 add a new #ifdef to use __declspec(dllimport) only for
15636 other modules and not for gstreamer core
15637 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15638 use gst_guint64_to_gdouble for conversion
15639 * win32/common/libgstreamer.def:
15640 add new exported functions
15641 * win32/vs6/gst_inspect.dsp:
15642 * win32/vs6/gst_launch.dsp:
15643 * win32/vs6/libgstbase.dsp:
15644 * win32/vs6/libgstcontroller.dsp:
15645 * win32/vs6/libgstcoreelements.dsp:
15646 * win32/vs6/libgstdataprotocol.dsp:
15647 * win32/vs6/libgstnet.dsp:
15648 update project files
15650 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15652 * gst/gstbuffer.c: (gst_subbuffer_class_init):
15653 * gst/gstclock.c: (gst_clock_class_init):
15654 * gst/gstelement.c: (gst_element_class_init):
15655 * gst/gstindex.c: (gst_index_class_init):
15656 * gst/gstindexfactory.c: (gst_index_factory_class_init):
15657 * gst/gstobject.c: (gst_object_class_init),
15658 (gst_signal_object_class_init):
15659 * gst/gstpad.c: (gst_pad_class_init):
15660 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15661 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15662 * gst/gstregistry.c: (gst_registry_class_init):
15663 * gst/gstsystemclock.c: (gst_system_clock_class_init):
15664 * gst/gsttask.c: (gst_task_class_init):
15665 * gst/gstxml.c: (gst_xml_class_init):
15666 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15667 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15668 (gst_base_src_loop):
15669 * libs/gst/controller/gstcontroller.c:/
15670 (_gst_controller_class_init):
15671 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15672 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15673 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15674 * tests/old/examples/plugins/example.c: (gst_example_class_init):
15675 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15676 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15678 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
15680 * gst/gstpad.c: (gst_pad_link):
15681 Must set peer pads before calling the link function, otherwise
15682 a task started from a link function might get a flow-not-linked
15683 result when trying to push because the other thread where the
15684 linking happens hasn't had a chance to set the peers yet. This
15685 might happen for example when a queue gets linked to a downstream
15686 element, as queue starts a streaming task when its source pad
15687 gets linked. Happens in real life when playing back flac/musepack
15688 files in playbin (#332390).
15690 2006-04-08 Stefan Kost <ensonic@users.sf.net>
15694 * libs/gst/base/gstadapter.h:
15695 * libs/gst/base/gstbasesink.h:
15696 * libs/gst/base/gstbasesrc.h:
15697 * libs/gst/base/gstbasetransform.h:
15698 * libs/gst/base/gstcollectpads.h:
15699 * libs/gst/base/gstpushsrc.h:
15700 Fix broken GObject macros
15702 2006-04-07 Wim Taymans <wim@fluendo.com>
15704 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15705 Initialize start and stop times, thanks valgrind.
15707 2006-04-07 Wim Taymans <wim@fluendo.com>
15709 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15710 Be a bit nicer to badly behaving upstream elements that expect
15711 us to deal with non TIME segments and timestamps (such as fakesrc
15714 2006-04-07 Wim Taymans <wim@fluendo.com>
15717 Small documentation clarification about the signal watch.
15719 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15720 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15721 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15722 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15723 (gst_base_sink_get_position_last),
15724 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
15725 Convert and store timestamps in stream time and running time, the
15726 raw timestamps are not useful, also document this better.
15727 Use different window sizes for good and bad QoS observations so
15728 we react to badness a little quicker.
15729 Keep track of the amount of rendered and dropped buffers.
15730 Send QoS timestamps in running time.
15732 * libs/gst/base/gstbasetransform.c:
15733 (gst_base_transform_sink_eventfunc),
15734 (gst_base_transform_handle_buffer):
15735 Compare QoS timestamps against running time.
15737 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15740 Typo fixes in docs.
15742 2006-04-06 Michael Smith <msmith@fluendo.com>
15744 * gst/gstpad.c: (gst_pad_set_property):
15745 Use g_value_get_object() instead of g_value_dup_gst_object(),
15746 to avoid double-reffing the pad template (which we then sink,
15747 so this worked previously if (and only if) the pad template
15750 * gst/gstpadtemplate.c: (gst_pad_template_init),
15751 (gst_pad_template_pad_created):
15752 Never return floating references to pad templates, create
15753 them as initially-sunken.
15755 Document an extra function (and make this stop sinking our
15756 pad template, since that is now guaranteed to do nothing,
15757 since we created it sunken).
15759 * gst/gstghostpad.c:
15762 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
15764 * gst/gstinfo.c: (__gst_in_valgrind):
15767 * plugins/elements/gsttypefindelement.c:
15768 (gst_type_find_element_chain):
15769 Don't leak buffer caps.
15771 2006-04-06 Michael Smith <msmith@fluendo.com>
15773 * gst/parse/grammar.y:
15774 Fix a leak in parse-launch for any source-or-sink named element
15777 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
15778 Unref the pipeline if it exists after we've failed parsing.
15780 2006-04-05 Michael Smith <msmith@fluendo.com>
15782 * gst/gstpipeline.c: (gst_pipeline_init):
15783 When we create a pipeline bus, initially create it in flushing mode.
15784 Fixes leaks in at least one test, and makes a new pipeline work the
15785 same as one that has gone to READY and then back to NULL.
15787 * gst/gstelement.c:
15790 2006-04-05 Michael Smith <msmith@fluendo.com>
15792 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15793 Unref a pad we reffed.
15794 * tests/check/gst/gstutils.c: (GST_START_TEST):
15797 2006-04-05 Michael Smith <msmith@fluendo.com>
15799 * gst/gstquery.c: (gst_query_set_formats),
15800 (gst_query_set_formatsv):
15801 Fix leaking GValues in queries, as shown by valgrind/testsuite.
15803 2006-04-05 Michael Smith <msmith@fluendo.com>
15805 * tests/check/generic/sinks.c: (GST_START_TEST):
15806 Fix a variety of memleaks in sinks check, which are only sometimes
15807 shown by running the tests under valgrind (weird?).
15809 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
15811 * docs/version.entities.in:
15812 Fix the substituted entity name after thomas' changes on the
15815 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
15817 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
15820 2006-04-05 Andy Wingo <wingo@pobox.com>
15822 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
15824 * libs/gst/base/gstbasetransform.c
15825 (gst_base_transform_sink_eventfunc): When resetting our segment on
15826 FLUSH_STOP, also update the flag saying we haven't seen a
15829 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15831 Patch by: Paolo Borelli <pborelli at katamail dot com>
15833 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
15834 (gst_plugin_check_license):
15835 minor clean-ups: G_DEFINE_TYPE already takes care of the
15836 parent_class stuff, no need to do it twice. Mark array of
15837 license strings as constant. (#337103)
15839 2006-04-04 Michael Smith <msmith@fluendo.com>
15841 * tools/gst-inspect.c: (print_element_list):
15842 Free the right plugin list; fixes a memory leak.
15844 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15846 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15848 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15849 Don't error out on empty buffers (#336945).
15851 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
15853 * docs/libs/gstreamer-libs-sections.txt:
15854 * gst/gsttaglist.c:
15855 * libs/gst/base/gstbasesink.c:
15856 * libs/gst/base/gstbasesink.h:
15857 * libs/gst/base/gstbasesrc.c:
15858 * libs/gst/base/gstbasesrc.h:
15859 Documentation updates. Make BaseSink and BaseSrc docs contain the
15860 class structure so that people can actually see the prototypes for
15861 virtual functions they're supposed to be overriding.
15863 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
15865 * plugins/elements/gsttypefindelement.c:
15866 (gst_type_find_element_chain):
15867 More debug info; when skipping typefinding, send cached
15868 events in all cases.
15870 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
15873 use new AS_VERSION and AS_NANO macros
15874 * gst/gst-i18n-lib.h:
15877 * gst/gstversion.h.in:
15878 * win32/common/config.h:
15879 * win32/common/config.h.in:
15882 2006-03-31 Michael Smith <msmith@fluendo.com>
15884 * plugins/elements/gsttypefindelement.c:
15885 (gst_type_find_element_chain):
15886 Do not typefind content if the buffers already have caps.
15887 Neccesary for icydemux (#333657), and the right thing to do anyway.
15889 2006-03-30 Wim Taymans <wim@fluendo.com>
15891 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15892 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
15893 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
15894 (gst_base_sink_record_qos_observation),
15895 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15896 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15897 (gst_base_sink_change_state):
15898 More QoS measurements as described in the design doc.
15899 Get rid of ringbuffer with observations, running average is
15900 more simple and equally good.
15901 Calculates valid proportion now.
15902 Added beginning of flood measurement.
15904 2006-03-29 Wim Taymans <wim@fluendo.com>
15906 * docs/design/part-qos.txt:
15908 Small documentation updates and additions.
15910 2006-03-29 Wim Taymans <wim@fluendo.com>
15912 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15913 (gst_base_src_send_event), (gst_base_src_loop),
15914 (gst_base_src_change_state):
15915 Perform the EOS logic when we reach the segment stop position.
15916 Fix compilation on gcc4.1
15918 2006-03-29 Wim Taymans <wim@fluendo.com>
15920 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15922 * plugins/elements/gstqueue.c: (gst_queue_init),
15923 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15924 (gst_queue_set_property):
15925 * plugins/elements/gstqueue.h:
15926 In queue, when EOS is received, if minimum threshold > max_size -
15927 current_level, there is chance that queue blocks forever in conditional
15928 item del wait. This is because the queue is not emptied completely due
15929 to minimum threshold. Here is another approach. Instead of setting
15930 cur_levels to max in EOS, just zero all minimum threshold levels. This
15931 should make sure that queue gives out all data. When going to READY
15932 (stop) state, just reset the original minimum threshold levels.
15935 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15937 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15938 (gst_type_find_element_handle_event),
15939 (gst_type_find_element_send_cached_events),
15940 (gst_type_find_element_change_state):
15941 * plugins/elements/gsttypefindelement.h:
15942 When typefinding is done in push mode, we should cache
15943 events we receive during typefinding instead of just
15944 dropping them (e.g. newsegment, custom events from
15945 dvdreadsrc etc.) and then send them out once we've
15946 determined the type of the stream (and decodebin
15947 has had a chance to plug in a decoder/demuxer).
15949 2006-03-27 Wim Taymans <wim@fluendo.com>
15951 * docs/design/part-qos.txt:
15954 2006-03-27 Wim Taymans <wim@fluendo.com>
15956 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15958 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15959 (gst_base_src_send_event), (gst_base_src_change_state):
15960 Handle element seek correctly when we are streaming.
15963 2006-03-24 Michael Smith <msmith@fluendo.com>
15965 * docs/faq/gst-uninstalled:
15966 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15967 allow you to correctly run intalled applications built against old
15968 core, using plugins that require updated core (e.g. running
15969 installed totem against a full uninstalled gstreamer stack)
15971 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15973 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15976 2006-03-24 Wim Taymans <wim@fluendo.com>
15978 * docs/gst/gstreamer-sections.txt:
15979 Rearrange the order of the methods so that related methods
15980 are grouped together in sections.
15982 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15984 * gst/gstelement.c:
15985 Little clarification in the docs
15987 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15991 * plugins/elements/gstidentity.c:
15992 * plugins/elements/gstqueue.c:
15993 * plugins/elements/gsttee.c:
15994 * plugins/elements/gsttypefindelement.c:
15995 GST_ELEMENT_DETAILS formatting
15997 2006-03-24 Wim Taymans <wim@fluendo.com>
15999 * libs/gst/base/gstbasesink.h:
16000 Only add fields, not insert or we break ABI.
16002 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16004 * win32/common/libgstbase.def:
16005 * win32/common/libgstreamer.def:
16006 Update, add recently added functions.
16008 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16010 * docs/gst/gstreamer-sections.txt:
16011 * gst/gstutils.c: (gst_pad_query_peer_position),
16012 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16014 API: add some new utility functions:
16015 - gst_pad_query_peer_position()
16016 - gst_pad_query_peer_duration()
16017 - gst_pad_query_peer_convert()
16019 2006-03-23 Wim Taymans <wim@fluendo.com>
16021 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16022 (gst_base_sink_init), (gst_base_sink_finalize),
16023 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16024 (gst_base_sink_set_property), (gst_base_sink_get_property),
16025 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16026 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16027 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16028 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16029 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16030 (gst_base_sink_preroll_object), (gst_base_sink_event),
16031 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16032 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16033 (gst_base_sink_query), (gst_base_sink_change_state):
16034 Decouple max-lateness and the fact that QoS messages are generated
16035 with a new property (qos).
16036 added API: GstBaseSink::async_play()
16037 Add vmethod so subclasses can be notified of ASYNC playing
16039 Collect timestamp start and stop to report better current
16040 position in EOS/PLAYING/PAUSED/READY/NULL.
16041 Refactor QoS/frame dropping and other measurements.
16042 API: GstBaseSrc::qos
16045 * libs/gst/base/gstbasesink.h:
16046 Added Private struct.
16047 API: gst_base_sink_set_qos_enabled()
16048 API: gst_base_sink_is_qos_enabled()
16050 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
16052 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16053 If compiling against GLib-2.8 or newer, try to read the
16054 registry file using GMappedFile first before falling back
16055 to fopen() + fread() (#332151).
16057 2006-03-22 Wim Taymans <wim@fluendo.com>
16059 * gst/gstinfo.c: (gst_debug_set_active),
16060 (gst_debug_category_set_threshold):
16061 Disable debugging unless explicitly activated.
16064 2006-03-22 Wim Taymans <wim@fluendo.com>
16066 * gst/gstelement.c: (gst_element_set_locked_state),
16067 (gst_element_dispose):
16068 Cleanup the error case.
16070 * gst/gstobject.c: (gst_object_dispose):
16071 print a critical when some object was disposed with
16072 a parent, also revive the object since it might
16075 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
16077 * tools/gst-launch.1.in:
16080 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16083 * tests/check/Makefile.am:
16084 disable some tests when we don't have a registry
16085 * tests/check/gst/gstutils.c: (gst_utils_suite):
16086 don't build the part that needs parsing
16088 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
16091 * tests/examples/Makefile.am:
16092 fix --disable-parse build
16094 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16096 * tools/gst-feedback.1.in:
16097 Fix typo: s/feeback/feedback/ (#133494).
16099 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16101 * tools/Makefile.am:
16102 * tools/gst-launch.1.in:
16103 Add FILES section and correct entry about GST_REGISTRY_PATH
16104 environment variable (#133495; #133494).
16106 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16108 * tools/Makefile.am:
16109 * tools/gst-md5sum.1.in:
16110 * tools/gst-md5sum.c:
16111 Remove gst-md5sum and man page (the md5sink element
16112 required was removed ages ago)
16114 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16116 * gst/gststructure.c: (gst_structure_id_set_value):
16117 Make sure that string fields in structures/taglists
16118 contain valid UTF-8 - we don't want to pass rubbish to
16119 applications because of a buggy plugin (cp. #334167).
16121 2006-03-21 Edward Hervey <edward@fluendo.com>
16123 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16124 (gst_bin_handle_message_func):
16125 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16126 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16127 (gst_element_set_bus_func):
16128 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16129 * gst/gstminiobject.c: (gst_value_set_mini_object),
16130 (gst_value_take_mini_object):
16131 * gst/gstpad.c: (gst_pad_set_pad_template):
16132 * gst/gstpipeline.c: (gst_pipeline_dispose),
16133 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16134 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16135 (gst_collect_pads_chain):
16136 * libs/gst/net/gstnettimeprovider.c:
16137 (gst_net_time_provider_set_property):
16138 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16139 It's in fact all issues with gst_*object_replace().
16141 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
16143 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
16145 * pkgconfig/gstreamer-check-uninstalled.pc.in:
16146 * pkgconfig/gstreamer-check.pc.in:
16147 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16149 2006-03-21 Edward Hervey <edward@fluendo.com>
16153 * gst/gstmessage.h:
16154 gst_[buffer|event|message]_ref() macros are replaced by a static
16155 inline functions because gcc-4.1 will about if the return value
16157 * tests/check/gst/gstevent.c: (event_probe):
16158 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16160 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
16163 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16164 the type' case. (Closes: #335195 for now). In the future, when we
16165 depend on GLib 2.10, we could also intern the type name using
16166 g_intern_static_string()
16168 2006-03-20 Wim Taymans <wim@fluendo.com>
16170 * gst/gstbin.c: (gst_bin_handle_message_func),
16171 (bin_query_max_init), (bin_query_position_fold),
16172 (bin_query_position_done), (gst_bin_query):
16173 Position query should also take max of all streams.
16175 2006-03-20 Wim Taymans <wim@fluendo.com>
16177 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16178 (gst_fake_src_finalize):
16179 Fix leaks in fakesrc.
16181 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16182 Fix leaks in the testcase.
16184 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
16186 * gst/gst_private.h:
16187 add win32 specific import decoration(__declspec(dllimport))
16188 for all extern GstDebugCategory * variables
16189 * win32/common/libgstbase.def:
16190 * win32/common/libgstcontroller.def:
16191 * win32/common/libgstreamer.def:
16192 Add some exports, remove empty lines
16193 * win32/common/libgstdataprotocol.def:
16194 * win32/common/libgstdataprotocol.dsp:
16195 * win32/common/libgstnet.def:
16196 * win32/common/libgstnet.dsp:
16197 new project files and exportation files added
16199 2006-03-19 Wim Taymans <wim@fluendo.com>
16201 * tests/check/libs/basesrc.c: (eos_event_counter):
16202 Use proper return value for probe.
16204 2006-03-17 Wim Taymans <wim@fluendo.com>
16206 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16208 Don't leak buffers, caps and pads on negotiation errors.
16210 2006-03-16 Stefan Kost <ensonic@users.sf.net>
16212 * docs/faq/cvs.xml:
16213 * docs/faq/dependencies.xml:
16214 * docs/faq/developing.xml:
16215 * docs/faq/faq.xml:
16216 * docs/faq/general.xml:
16217 * docs/faq/getting.xml:
16218 * docs/faq/legal.xml:
16219 * docs/faq/troubleshooting.xml:
16220 * docs/faq/using.xml:
16221 Faq review and update.
16223 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
16225 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16227 Don't pound the cpu to pieces by checking get_caps when accept_caps
16228 is called with the same caps as the pad already has.
16229 Use GST_DEBUG_OBJECT when outputting caps change information.
16231 2006-03-15 Wim Taymans <wim@fluendo.com>
16233 * gst/gstclock.c: (gst_clock_class_init):
16236 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
16241 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16242 (gst_pad_accept_caps), (gst_pad_configure_sink),
16243 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16244 Make the default acceptcaps behaviour be to check the requested
16245 caps against the gst_pad_get_caps output.
16247 Ensure that gst_pad_accept_caps is used to check caps when a pad
16248 doesn't have a setcaps function, so that pads automatically refuse
16249 caps that they don't allow in their pad template. (Fixes #332986)
16251 When a buffer with attached caps is pushed, ensure that the source
16252 pad receives those caps even if the element didn't call
16253 gst_pad_set_caps first.
16255 2006-03-15 Wim Taymans <wim@fluendo.com>
16257 * libs/gst/base/gstadapter.c:
16260 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
16262 * win32/common/libgstbase.def:
16263 * win32/common/libgstcontroller.def:
16264 * win32/common/libgstreamer.def:
16265 Add a whole bunch of missing functions (#334434).
16267 2006-03-14 Wim Taymans <wim@fluendo.com>
16269 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16270 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16271 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16272 Better debug info when we receive a segment event.
16273 Reorganize a bit so we can pass the get_times() results around.
16274 Use the segment format when calculating the running time.
16275 Don't do QoS is sync is disabled or we have no clock or the
16276 element does not want us to sync to the clock.
16277 Don't drop buffers if QoS is disabled for now.
16279 2006-03-14 Wim Taymans <wim@fluendo.com>
16281 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16282 Marked the stats property as unimplemented so people don't get
16284 Add debug message when regression goes wrong.
16285 Added some more docs.
16287 2006-03-14 Wim Taymans <wim@fluendo.com>
16289 * gst/gstsegment.c: (gst_segment_to_stream_time):
16290 Return correct return type in case of errors.
16292 2006-03-14 Wim Taymans <wim@fluendo.com>
16294 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16295 Don't segfault on invalid formats.
16297 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16299 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16300 Can't use gst_segment_to_running_time() when the segment
16301 is not in GST_TIME_FORMAT (like with filesink, for example).
16302 Stops flac encoding pipelines from spewing critical warnings
16305 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
16307 * gst/gstpipeline.c: (gst_pipeline_class_init):
16308 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16310 * plugins/elements/gsttypefindelement.c:
16311 (gst_type_find_element_handle_event):
16312 Don't try to typefind empty streams.
16314 2006-03-14 Wim Taymans <wim@fluendo.com>
16316 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16317 (gst_base_sink_do_qos):
16318 Separate QoS calculation.
16319 Only drop buffers when lateness is bigger than the
16320 duration of the buffer.
16322 2006-03-13 Wim Taymans <wim@fluendo.com>
16324 * gst/gstpipeline.c: (gst_pipeline_set_property),
16325 (gst_pipeline_get_property), (do_pipeline_seek),
16326 (gst_pipeline_change_state), (gst_pipeline_set_delay),
16327 (gst_pipeline_get_delay):
16328 Don't deadlock when reading properties.
16330 2006-03-13 Wim Taymans <wim@fluendo.com>
16332 * libs/gst/base/gstbasetransform.c:
16333 (gst_base_transform_class_init), (gst_base_transform_init),
16334 (gst_base_transform_sink_event),
16335 (gst_base_transform_sink_eventfunc),
16336 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16337 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16338 (gst_base_transform_set_property),
16339 (gst_base_transform_get_property),
16340 (gst_base_transform_change_state), (gst_base_transform_update_qos),
16341 (gst_base_transform_set_qos_enabled),
16342 (gst_base_transform_is_qos_enabled):
16343 * libs/gst/base/gstbasetransform.h:
16344 Make basetransform virtual method for src events too.
16345 Handle QOS in basetransform.
16346 API: gst_base_transform_update_qos()
16347 API: gst_base_transform_set_qos_enabled()
16348 API: gst_base_transform_is_qos_enabled()
16350 2006-03-13 Wim Taymans <wim@fluendo.com>
16352 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16353 (gst_base_sink_do_sync):
16355 Use QOS debug category.
16357 2006-03-13 Wim Taymans <wim@fluendo.com>
16359 * plugins/elements/gstqueue.c:
16360 Very small doc update.
16362 2006-03-13 Wim Taymans <wim@fluendo.com>
16364 * gst/gst_private.h:
16365 * gst/gstinfo.c: (_gst_debug_init):
16366 Added QOS debug category
16368 2006-03-13 Wim Taymans <wim@fluendo.com>
16370 * docs/gst/gstreamer-sections.txt:
16371 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16373 * gst/gstbus.c: (gst_bus_class_init):
16376 * gst/gstelement.c: (gst_element_set_locked_state):
16377 * gst/gstsegment.c:
16378 Documentation updates.
16380 * gst/gstpipeline.c: (gst_pipeline_get_type),
16381 (gst_pipeline_class_init), (gst_pipeline_init),
16382 (gst_pipeline_dispose), (gst_pipeline_set_property),
16383 (gst_pipeline_get_property), (do_pipeline_seek),
16384 (gst_pipeline_send_event), (gst_pipeline_change_state),
16385 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16386 (gst_pipeline_get_delay):
16387 * gst/gstpipeline.h:
16388 Added methods for setting the delay.
16389 API: gst_pipeline_set_delay()
16390 API: gst_pipeline_get_delay()
16391 Add pipeline debug category
16394 Don't reset stream time when seek failed.
16396 2006-03-13 Wim Taymans <wim@fluendo.com>
16398 * docs/design/draft-klass.txt:
16399 * docs/design/part-clocks.txt:
16400 * docs/design/part-events.txt:
16401 * docs/design/part-gstbin.txt:
16402 * docs/design/part-gstpipeline.txt:
16403 * docs/design/part-messages.txt:
16404 * docs/design/part-negotiation.txt:
16405 * docs/design/part-overview.txt:
16406 * docs/design/part-preroll.txt:
16407 * docs/design/part-seeking.txt:
16408 * docs/design/part-states.txt:
16409 * docs/design/part-streams.txt:
16410 Documentation updates.
16412 2006-03-12 Julien MOUTTE <julien@moutte.net>
16414 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16415 us to leak strings...
16417 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
16419 * libs/gst/net/gstnettimeprovider.c:
16421 * win32/common/config.h:
16424 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
16426 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16429 Don't check for libgnomeui (leftover from old examples
16430 that aren't built or disted any longer) (#334303).
16432 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
16434 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16435 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16436 Emit RESOURCE_NO_SPACE_LEFT error here as well when
16437 there's no space left on the device.
16439 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
16442 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16443 to cast the input to GstClockTime before comparing with
16444 another GstClockTime value.
16446 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16451 === release 0.10.4 ===
16453 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
16456 releasing 0.10.4, "Light"
16458 2006-03-10 Michael Smith <msmith@fluendo.com>
16460 * libs/gst/dataprotocol/dataprotocol.c:
16461 Fix docs for dataprocotol to not get the return types completely
16462 wrong for a few functions.
16464 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16466 * docs/gst/gstreamer-sections.txt:
16467 * gst/gstpipeline.c: (gst_pipeline_class_init),
16468 (gst_pipeline_init), (gst_pipeline_set_property),
16469 (gst_pipeline_get_property), (gst_pipeline_change_state),
16470 (gst_pipeline_set_auto_flush_bus),
16471 (gst_pipeline_get_auto_flush_bus):
16472 * gst/gstpipeline.h:
16473 Add new API: gst_pipeline_set_auto_flush_bus() and
16474 gst_pipeline_get_auto_flush_bus() to disable automatic
16475 flushing of the pipeline's GstBus when going from READY
16476 to NULL state (#332045).
16478 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16480 * docs/gst/gstreamer-sections.txt:
16481 * gst/gsturi.c: (gst_uri_has_protocol):
16483 Add new API: gst_uri_has_protocol() (#333779).
16485 2006-03-09 Wim Taymans <wim@fluendo.com>
16487 * gst/gstclock.c: (gst_clock_entry_new),
16488 (gst_clock_id_compare_func), (gst_clock_id_wait),
16489 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16490 (gst_clock_init), (gst_clock_get_internal_time),
16491 (gst_clock_set_master), (do_linear_regression),
16492 (gst_clock_add_observation), (gst_clock_set_property):
16496 Fix a possible segfault when the window-size is made smaller.
16497 Calculate jitter before performing the clock wait. Ideally
16498 the clock implementation should calculate jitter but we need
16499 API breakage for that.
16501 * gst/gstsystemclock.c: (gst_system_clock_init):
16504 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16505 Remove leftover else
16507 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16508 (gst_systemclock_suite):
16509 Added check to test GST_CLOCK_DIFF.
16511 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
16513 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16514 (gst_type_find_helper_get_range):
16515 If we are provided with the size, we should implement
16516 GstTypeFind::get_length, so that typefind functions who
16517 want to can actually peek at the middle of a file.
16519 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
16521 * docs/manual/advanced-dataaccess.xml:
16522 Add some very very basic error checking.
16524 * docs/pwg/appendix-checklist.xml:
16525 Some updates to the list of things to check when writing an element.
16527 2006-03-08 Wim Taymans <wim@fluendo.com>
16529 * docs/design/part-element-transform.txt:
16530 Added some docs about the design of tranform elements.
16532 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16533 (gst_base_src_loop), (gst_base_src_change_state):
16534 Mark buffers with the DISCONT flag.
16536 2006-03-08 Michael Smith <msmith@fluendo.com>
16538 * gst/gstregistry.h:
16539 * gst/gstregistryxml.c: (gst_registry_save),
16540 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16541 (gst_registry_xml_save_pad_template),
16542 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16543 (gst_registry_xml_write_cache):
16544 Rewrite registry-saving to avoid race conditions and check for
16547 2006-03-08 Wim Taymans <wim@fluendo.com>
16549 * libs/gst/base/gstbasetransform.c:
16550 (gst_base_transform_transform_caps),
16551 (gst_base_transform_transform_size),
16552 (gst_base_transform_prepare_output_buffer),
16553 (gst_base_transform_get_unit_size),
16554 (gst_base_transform_buffer_alloc),
16555 (gst_base_transform_handle_buffer),
16556 (gst_base_transform_change_state):
16557 Cleanups, separate normal flow from errors, add sensible
16559 Don't try to renegotiate when allocating an output buffer.
16560 Also copy DISCONT buffer flag when copying a buffer.
16561 Reset the transform after we finish streaming, not during.
16563 2006-03-08 Wim Taymans <wim@fluendo.com>
16565 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16566 Use last buffer timestamp in qos message.
16568 2006-03-07 Wim Taymans <wim@fluendo.com>
16570 Patch by: Christophe Fergeau
16572 * docs/pwg/advanced-tagging.xml:
16573 * docs/pwg/building-pads.xml:
16576 2006-03-07 Wim Taymans <wim@fluendo.com>
16578 * docs/libs/gstreamer-libs-sections.txt:
16579 Added basesink new methods.
16583 Docs updates. Flesh out the QoS docs.
16585 * libs/gst/base/gstadapter.c:
16586 Small doc clarification about ownership and flushing.
16588 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16589 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16590 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16591 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16592 * libs/gst/base/gstbasesink.h:
16594 Added new methods to allow subclass to control max-lateness
16596 Generate very basic QoS events based on last sync observation.
16597 Updated docs, fix typo, added some QoS blurb.
16599 * libs/gst/base/gstbasesrc.c:
16600 Remove obsolete _get_state() calls from docs.
16602 2006-03-07 Wim Taymans <wim@fluendo.com>
16604 * docs/libs/gstreamer-libs-sections.txt:
16605 * libs/gst/base/gstbasetransform.h:
16606 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16607 Fix docs for GstBaseSrc.
16609 2006-03-07 Wim Taymans <wim@fluendo.com>
16611 * docs/gst/gstreamer-sections.txt:
16614 * libs/gst/base/gstbasetransform.h:
16615 Small documentation fixes.
16617 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16620 Document thread-unsafety of gst_value_register_foo_func()
16621 when used at the same time as gst_value_foo() (#322628).
16623 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
16625 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16626 (gst_push_src_check_get_range):
16627 Push sources don't support pull mode by default.
16629 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16631 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16632 (gst_base_src_init), (gst_base_src_pad_check_get_range),
16633 (gst_base_src_default_check_get_range):
16634 * libs/gst/base/gstbasesrc.h:
16635 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16636 provide default implementation, and rename
16637 gst_base_src_check_get_range() to
16638 gst_base_src_pad_check_get_range() for clarity.
16640 2006-03-06 Wim Taymans <wim@fluendo.com>
16642 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16643 Make property overridable.
16645 2006-03-06 Wim Taymans <wim@fluendo.com>
16647 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16648 (gst_base_sink_init), (gst_base_sink_set_property),
16649 (gst_base_sink_get_property), (gst_base_sink_do_sync):
16650 * libs/gst/base/gstbasesink.h:
16651 API addition: Make max-lateness a property.
16653 2006-03-06 Wim Taymans <wim@fluendo.com>
16655 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16656 (gst_base_sink_do_sync), (gst_base_sink_render_object):
16657 Don't ever draw a frame that is >10ms late.
16659 2006-03-06 Michael Smith <msmith@fluendo.com>
16661 * gst/gstmessage.c: (_gst_message_copy):
16662 When copying a message, set the parent_refcount of the enclosed
16663 structure to point at the copy, not the original message.
16665 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
16667 Patch by: Christophe Fergeau
16670 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16671 usable in c++ code (#333417)
16673 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
16676 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16678 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
16680 * libs/gst/base/gstbasetransform.c:
16681 (gst_base_transform_transform_caps):
16682 Make sure caps are writable before passing them to
16685 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16688 Fix some minor docs errors.
16690 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
16692 Patch by: Ross Burton <ross at burtonini dot com>
16694 * gst/gsterror.c: (_gst_resource_errors_init):
16696 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16698 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16701 Add a check and output a g_warning when GStreamer is built
16702 against GLib 2.6 but running against 2.8 or higher, and vice
16703 versa. (Closes: #323542)
16705 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
16707 * gst/parse/parse.l:
16708 Commit patch for parse_launch syntax from #331255. Removes
16709 support for quoted strings and mimetypes when writing filtered
16710 caps. See the bug report for more details - I'm pretty sure this
16711 obscure feature is not in use by _anyone_ anywhere.
16713 With this simple change, the size of the gstreamer.so here
16714 drops from 2193KB to 1565KB.
16716 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16718 * plugins/elements/gsttypefindelement.h:
16719 * plugins/elements/gsttypefindelement.c:
16720 (gst_type_find_element_src_event), (start_typefinding),
16721 (stop_typefinding), (gst_type_find_element_handle_event),
16722 (gst_type_find_element_chain),
16723 (gst_type_find_element_chain_do_typefinding):
16724 Use gst_type_find_helper_for_buffer() for chain-based
16727 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16729 * plugins/elements/gsttypefindelement.c:
16730 (gst_type_find_element_class_init),
16731 (gst_type_find_element_set_property),
16732 (gst_type_find_element_get_property):
16733 Deprecate "maximum" property (not only was it only taken into
16734 account for typefinding in push-mode anyway, it also was never
16735 actually possible to set it in the first place because the
16736 property was registered with the numeric property ID for the
16737 "minimum" property). Register "maximum" property correctly,
16738 for the sake of future copy'n'pasters. Remove some cruft
16739 from property get/set functions.
16741 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
16743 * plugins/elements/gsttypefindelement.c:
16744 (gst_type_find_element_activate):
16745 Use gst_type_find_helper_get_range() here, so we
16746 can honour the "minimum" property and also emit
16747 the signal with the correct probability of the found caps.
16749 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
16751 * docs/libs/gstreamer-libs-sections.txt:
16752 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
16753 (helper_find_suggest), (gst_type_find_helper_get_range),
16754 (gst_type_find_helper):
16755 * libs/gst/base/gsttypefindhelper.h:
16756 New API: gst_type_find_helper_get_range() (#333042).
16758 2006-03-02 Michael Smith <msmith@fluendo.com>
16760 * gst/gstregistryxml.c: (load_feature):
16761 Asserting on a failure to read part of the registry is Not Cool.
16762 Just log a warning and return NULL (which is already handled)
16764 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
16766 * win32/common/libgstbase.def:
16767 added export of gst_type_find_helper_for_buffer
16768 * win32/common/libgstbase.def:
16769 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
16770 gst_ghost_pad_get_target
16772 2006-02-28 Wim Taymans <wim@fluendo.com>
16774 * docs/design/draft-klass.txt:
16776 Added Connector to mark elements that are only used to
16777 allow pipeline connections.
16778 Moved Debug to extra feature since most of them are
16779 functionally something else.
16781 2006-02-28 Wim Taymans <wim@fluendo.com>
16783 * docs/design/draft-klass.txt:
16784 Some updates and clarifications.
16786 2006-02-28 Wim Taymans <wim@fluendo.com>
16788 * docs/design/draft-klass.txt:
16789 Proposal for klass field values.
16791 * docs/design/part-streams.txt:
16792 Start of a doc describing stream anatomy.
16794 2006-02-28 Wim Taymans <wim@fluendo.com>
16796 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
16797 Help the compiler a bit with type registration.
16798 Use existing forward cod path instead of duplicating it when
16799 handling a message.
16801 * gst/gstbus.c: (gst_bus_get_type):
16802 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
16803 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
16804 * gst/gstclock.c: (gst_clock_get_type):
16805 * gst/gstelement.c: (gst_element_get_type),
16806 * gst/gstelementfactory.c: (gst_element_factory_get_type):
16807 * gst/gstindexfactory.c: (gst_index_factory_get_type):
16808 * gst/gstminiobject.c: (gst_mini_object_get_type):
16809 * gst/gstpad.c: (gst_pad_get_type):
16810 * gst/gstsegment.c: (gst_segment_get_type):
16811 * gst/gststructure.c: (gst_structure_get_type):
16812 * gst/gstsystemclock.c: (gst_system_clock_get_type):
16813 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
16815 Help compiler with type registration.
16817 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
16820 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16822 * plugins/elements/gsttypefindelement.c:
16823 (gst_type_find_element_handle_event):
16824 When we get an EOS event and have not found a type yet
16825 (most likely because we had not yet accumulated
16826 TYPE_FIND_MIN_SIZE of data yet), try to determine the
16827 type given the data we have so far. Fixes typefinding
16828 for very short streams again, most notably quicktime
16829 redirections as used on Apple's trailer site (#331701).
16831 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16833 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
16834 (gst_type_find_helper):
16835 Try typefinding factories with the highest rank first.
16837 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16839 * docs/libs/gstreamer-libs-docs.sgml:
16840 * docs/libs/gstreamer-libs-sections.txt:
16841 * libs/gst/base/gsttypefindhelper.c:
16842 Add section for typefind helper and add documentation
16843 for the old and the new function.
16845 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16847 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
16848 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
16849 (gst_type_find_helper_for_buffer):
16850 * libs/gst/base/gsttypefindhelper.h:
16851 New API: gst_type_find_helper_for_buffer() (#332723).
16853 2006-02-27 Michael Smith <msmith@fluendo.com>
16855 Patch by: Loïc Minier
16858 * docs/Makefile.am:
16859 * docs/slides/Makefile.am:
16860 prevent CVS directories getting disted.
16862 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
16864 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
16865 Use the REFCOUNTING category for caps refcounting.
16867 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16869 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16870 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
16872 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
16874 * plugins/elements/gsttypefindelement.c:
16875 (gst_type_find_element_activate):
16876 Use gst_pad_check_pull_range() before _activate_pull()
16877 to avoid unnecessary open/close (see #331690).
16879 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16882 Docs enhancement: make it crystal clear what the
16883 gst_pad_add_*_probe() callbacks should look like.
16885 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
16887 * libs/gst/base/gstbasesrc.c:
16888 Document how applications can stop recording from
16889 live sources (see #330996).
16891 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16893 * tests/check/Makefile.am:
16894 * tests/check/libs/basesrc.c: (eos_event_counter),
16895 (basesrc_eos_events_pull), (basesrc_eos_events_push),
16896 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
16897 (gst_basesrc_suite), (main):
16898 ... and add some tests for the base source EOS stuff.
16900 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16902 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
16903 Test case originally showed the problem fixed below,
16904 but was then amended. Add checks back at the place
16905 where they used to be.
16907 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16909 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16910 (gst_base_src_init), (gst_base_src_loop),
16911 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16912 (gst_base_src_change_state):
16913 * libs/gst/base/gstbasesrc.h:
16914 Don't unconditionally send EOS when going from PAUSED to
16915 READY state, esp. make sure we don't send two EOS events
16916 in some cases (e.g. one when reaching EOS and one when
16917 going from PAUSED to READY). Also, we don't want to send
16918 EOS events when operating in pull mode. However, we do
16919 want to send an EOS event when shutting down a live
16920 source explicitly, for example (fixes #330996).
16922 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16924 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16925 Update src->read_position after a seek when not using mmap.
16926 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16928 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16934 Make things work with --disable-parse as they do with
16935 --disable-load-save - the symbols involved disappear, but the
16936 header is still installed and GST_DISABLE_PARSE is included via
16939 2006-02-20 Julien MOUTTE <julien@moutte.net>
16941 * libs/gst/base/gstbasetransform.c:
16942 (gst_base_transform_change_state): Fix a stupid bug. I was
16943 sure I compiled that.
16945 2006-02-20 Julien MOUTTE <julien@moutte.net>
16947 * gst/gstpad.c: (gst_pad_set_blocked_async):
16948 * gst/gstutils.c: (gst_pad_add_data_probe),
16949 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16950 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16951 (gst_pad_remove_buffer_probe): Make those function act on the
16952 ghostpad target when it's a ghostpad. (Closes #331727)
16954 2006-02-20 Julien MOUTTE <julien@moutte.net>
16956 * libs/gst/base/gstbasetransform.c:
16957 (gst_base_transform_change_state): Make basetransform reusable.
16960 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16962 * docs/random/release:
16963 Move the current documentation of how to do a release to the top
16966 * gst/gstbin.c: (gst_bin_class_init),
16967 (gst_bin_handle_message_func):
16968 Allow multiple state-recalculation threads. (Closes #328873)
16970 2006-02-19 Julien MOUTTE <julien@moutte.net>
16972 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16973 * gst/gstpad.c: (gst_pad_set_event_function),
16974 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16975 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16976 2 strings. You can't use the STR_NULL macro on that.
16978 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16980 * gst/gstpad.c: (gst_pad_set_event_function),
16981 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16982 (gst_pad_set_getcaps_function)
16983 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16984 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16985 So now, we can use --gst-debug-level=5 on Windows
16986 * win32/common/libgstcontroller.def:
16987 Added export of gst_controller_init
16988 * win32/vs6/libgstcontroller.dsp:
16989 Fixed Release post build configuration
16991 2006-02-17 Wim Taymans <wim@fluendo.com>
16993 * tests/check/gst/gstquery.c: (GST_START_TEST):
16994 Added another check.
16996 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16998 * plugins/elements/gsttypefindelement.c: (find_peek):
16999 We can do peeks at non-zero offsets, as long as they
17000 fall within the buffer we have.
17002 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
17004 * tests/check/Makefile.am:
17005 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17006 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17007 (parse_suite), (main):
17008 Add testsuite for parse launch syntax
17010 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
17012 * plugins/elements/gsttypefindelement.c:
17013 (gst_type_find_element_chain):
17014 When typefinding is unsuccessful in the chain function, don't
17015 error out immediately. Only error out with NO_CAPS_FOUND if
17016 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17017 otherwise simply wait for more data so we can try typefinding
17018 again with more data later. Also, don't attempt to typefind
17019 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17020 this should improve typefinding from network sources where the
17021 size of the first buffer can be somewhat random.
17023 2006-02-14 Wim Taymans <wim@fluendo.com>
17025 * docs/gst/gstreamer-sections.txt:
17026 * gst/gstpadtemplate.c:
17027 * gst/gstpadtemplate.h:
17028 Fix padtemplate docs, fixes #328805.
17030 2006-02-14 Wim Taymans <wim@fluendo.com>
17032 * tools/gst-launch.c: (main):
17033 NO_PREROLL is not an ERROR so don't send confusing messages
17036 2006-02-14 Wim Taymans <wim@fluendo.com>
17038 Patch by: Torsten Schoenfeld
17040 * gst/gstregistry.c: (gst_registry_get_default),
17041 (_gst_registry_cleanup):
17042 Protect default registry with lock and ref/sink it.
17045 2006-02-14 Wim Taymans <wim@fluendo.com>
17048 * gst/gstquery.c: (gst_query_list_add_format),
17049 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17050 (gst_query_parse_formats_nth):
17051 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17054 2006-02-14 Wim Taymans <wim@fluendo.com>
17056 * docs/gst/gstreamer-sections.txt:
17057 Reworked query docs.
17059 * gst/gstquery.c: (gst_query_new_formats),
17060 (gst_query_list_add_format), (gst_query_set_formats),
17061 (gst_query_set_formatsv), (gst_query_parse_formats_length),
17062 (gst_query_parse_formats_nth):
17064 Flesh out formats query, added some new methods.
17065 Fix part of #324398.
17067 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17068 Added query creation tests.
17070 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
17072 * gst/gstpad.c: (fixate_value):
17073 Add a default fixation for fraction lists.
17075 2006-02-13 Wim Taymans <wim@fluendo.com>
17077 * gst/gsttask.c: (gst_task_init), (gst_task_func),
17078 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17081 Detect and warn for obvious deadlocks. fixes #320340
17082 Fix error case where lock was not released.
17084 * tests/check/Makefile.am:
17085 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17086 (task_func), (gst_element_suite), (main):
17089 2006-02-13 Wim Taymans <wim@fluendo.com>
17091 * docs/gst/gstreamer-sections.txt:
17093 Add new functions to docs.
17095 2006-02-13 Wim Taymans <wim@fluendo.com>
17097 * docs/design/part-TODO.txt:
17098 Updated TODO list, basesrc supports seeking to non-bytes
17101 * docs/design/part-element-sink.txt:
17104 * gst/gstbin.c: (bin_replace_message),
17105 (gst_bin_handle_message_func):
17106 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17107 * gst/gstevent.c: (gst_event_finalize):
17108 * gst/gstpad.c: (gst_pad_event_default_dispatch),
17109 (gst_pad_send_event):
17110 Use shiny new _TYPE_NAME macros.
17112 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17113 Move debug statement up.
17115 * gst/gstelement.c: (gst_element_set_locked_state):
17116 Add some debugging.
17118 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
17120 * docs/gst/gstreamer-sections.txt:
17121 * gst/gstmessage.h:
17123 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17124 macros (#330906). Also, document the already existing
17125 GST_QUERY_TYPE macro.
17127 2006-02-13 Wim Taymans <wim@fluendo.com>
17129 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17130 (event_probe), (GST_START_TEST):
17131 Only events up to the pipeline EOS are counted, there are
17132 some more when going to NULL currently which we don't care
17135 2006-02-13 Wim Taymans <wim@fluendo.com>
17137 * gst/gstpad.c: (gst_pad_send_event):
17138 Correctly check flushing and emit probes. fixes #330125
17140 2006-02-10 Andy Wingo <wingo@pobox.com>
17142 * gst/gstbus.c (gst_bus_class_init): Declare our private data
17144 (gst_bus_init): Cache the location of the private data in the
17145 instance structure.
17146 (gst_bus_enable_sync_message_emission)
17147 (gst_bus_disable_sync_message_emission): Implement new public
17149 (gst_bus_post): Emit the sync-message signal if the user asked for
17152 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17153 location of the bus-private structure.
17154 (gst_bus_enable_sync_message_emission)
17155 (gst_bus_disable_sync_message_emission): API addition
17157 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
17159 Patch by: Vincent Torri
17161 * docs/pwg/building-boiler.xml:
17162 PWG patch from #326800
17164 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
17167 * docs/Makefile.am:
17168 * docs/design/Makefile.am:
17171 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17176 === release 0.10.3 ===
17178 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17181 releasing 0.10.3, "Like a virgin"
17183 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
17186 2nd prerelease of 0.10.3
17187 Bump libtool versioning.
17189 2006-02-07 Andy Wingo <wingo@pobox.com>
17191 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17192 update last_stop if we're in TIME format and the timestamp is
17195 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
17196 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
17197 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17198 If we get a new newsegment with a different format, adapt
17201 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17202 of 0. Not a problem, really.
17204 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17207 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
17212 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
17215 project files updated to the default vs7 configuration
17216 * win32/common/libgstbase.def:
17217 * win32/common/libgstreamer.def:
17219 removed empty lines,
17220 sorted all exported symbols alphabetically
17221 * win32/common/dirent.c:
17222 * win32/common/dirent.h:
17223 * win32/common/gchar.h:
17224 use windows line end.
17226 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17228 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17229 Send EOS event when stopping.
17231 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
17234 Tell folks what to do if the plugin-foobar.xml file
17235 hasn't been generated for a newly-added plugin.
17237 2006-02-05 Julien MOUTTE <julien@moutte.net>
17239 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17240 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17241 (gst_collect_pads_start), (gst_collect_pads_stop),
17242 (gst_collect_pads_event): Collectpads now holds a reference
17243 to the GstPad that was added. Indeed we don't want to look
17244 at pads that might just go away with no warning...
17246 2006-02-05 Julien MOUTTE <julien@moutte.net>
17248 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17249 (gst_collect_pads_start), (gst_collect_pads_stop),
17250 (gst_collect_pads_event), (gst_collect_pads_chain):
17251 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17252 Mark Nauwelaerts's patch on bug #328491.
17254 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17256 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17258 Add some simple tests for gst_parse_bin_from_description() and
17259 gst_bin_find_unconnected_pad() (#329069).
17261 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
17263 * tools/gst-launch.c: (event_loop), (main):
17264 Catch errors during preroll (#320084).
17266 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
17268 * plugins/elements/gsttypefindelement.c:
17269 (gst_type_find_element_activate):
17270 Post TYPE_NOT_FOUND error message when typefinding
17271 is unsuccessful in the activate function as well.
17273 2006-02-02 Wim Taymans <wim@fluendo.com>
17275 * docs/design/part-element-sink.txt:
17278 2006-02-02 Wim Taymans <wim@fluendo.com>
17280 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17281 (gst_base_sink_render_object),
17282 (gst_base_sink_queue_object_unlocked):
17283 Only keep track of prerollable items when we are
17285 Before rendering after preroll, always check if we
17287 Added some more debugging.
17289 2006-02-02 Wim Taymans <wim@fluendo.com>
17291 * gst/gstelement.c: (gst_element_continue_state),
17292 (gst_element_set_state_func), (gst_element_change_state):
17293 Fixed #326576, been running this for quite some time with
17294 no regressions at all.
17296 2006-02-02 Wim Taymans <wim@fluendo.com>
17299 Added more suppressions
17301 2006-02-02 Wim Taymans <wim@fluendo.com>
17303 * docs/design/part-element-sink.txt:
17306 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17307 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17308 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17309 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17310 (gst_base_sink_do_sync), (gst_base_sink_render_object),
17311 (gst_base_sink_preroll_object),
17312 (gst_base_sink_queue_object_unlocked),
17313 (gst_base_sink_queue_object), (gst_base_sink_event),
17314 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17315 (gst_base_sink_loop), (gst_base_sink_activate_pull),
17316 (gst_base_sink_get_position), (gst_base_sink_change_state):
17317 * libs/gst/base/gstbasesink.h:
17318 Totally refactored matching the design doc.
17319 Use two segments, one to clip incomming buffers and another to
17321 Handle queueing correctly, bypass the queue when playing.
17322 Make EOS cancelable.
17323 Handle errors correctly when operating in pull based mode.
17325 * tests/check/elements/fakesink.c: (GST_START_TEST),
17327 Added new check for sinks.
17329 2006-02-02 Wim Taymans <wim@fluendo.com>
17331 * gst/gstsegment.c: (gst_segment_clip):
17332 No reason to refuse to clip when start == -1
17334 2006-02-02 Stefan Kost <ensonic@users.sf.net>
17337 * docs/manual/intro-basics.xml:
17338 * docs/manual/intro-preface.xml:
17339 * docs/manual/manual.xml:
17340 * docs/pwg/advanced-dparams.xml:
17341 * docs/pwg/intro-basics.xml:
17342 * docs/pwg/intro-preface.xml:
17343 * docs/pwg/pwg.xml:
17344 describe dparams (controller) for plugins
17345 unify docs a little more
17347 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
17349 * docs/gst/gstreamer-sections.txt:
17350 * gst/gstutils.c: (element_find_unconnected_pad),
17351 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17353 Add new API: gst_parse_bin_from_description() and
17354 gst_bin_find_unconnected_pad() (#329069).
17356 2006-02-01 Stefan Kost <ensonic@users.sf.net>
17358 * docs/manual/README:
17359 uncover a nasty detail of the docs build
17361 2006-01-31 Wim Taymans <wim@fluendo.com>
17363 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17364 Don't cache duration messages if we're not going to use or
17367 2006-01-31 Stefan Kost <ensonic@users.sf.net>
17369 * docs/manual/advanced-dparams.xml:
17370 * docs/pwg/advanced-dparams.xml:
17374 * libs/gst/controller/lib.c: (gst_controller_init):
17377 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
17379 * gst/gstelement.c: (gst_element_message_full):
17380 also show file/line/func if no additional debug was given
17382 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
17384 * win32/vs7/grammar.vcproj:
17385 activate copy of autogenerated files for Release mode
17387 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17389 * win32/common/libgstreamer.def:
17390 export gst_value_compare
17392 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
17394 * plugins/elements/Makefile.am:
17395 * plugins/elements/gstelements.c:
17396 * plugins/elements/gstfdsink.c: (_do_init),
17397 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17398 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17399 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17400 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17401 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17402 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17403 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17404 * plugins/elements/gstfdsink.h:
17405 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17407 2006-01-30 Stefan Kost <ensonic@users.sf.net>
17409 * docs/manual/advanced-dparams.xml:
17410 describe controller
17411 * docs/manual/advanced-position.xml:
17412 * docs/manual/basics-init.xml:
17413 * docs/manual/manual.xml:
17414 * docs/manual/titlepage.xml:
17415 * docs/pwg/pwg.xml:
17416 * docs/pwg/titlepage.xml:
17417 cleanup xml (more to come)
17418 * libs/gst/controller/gstcontroller.c:
17421 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
17423 * win32/vs6/grammar.dsp:
17424 add autogen of gstmarshal.c,h for Release mode
17426 2006-01-30 Wim Taymans <wim@fluendo.com>
17428 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17429 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17430 (gst_base_sink_handle_object), (gst_base_sink_event),
17431 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17432 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17433 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17434 (gst_base_sink_deactivate), (gst_base_sink_activate),
17435 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17436 (gst_base_sink_query), (gst_base_sink_change_state):
17437 Basesink cleanups, remove some old code.
17438 Handle the case where a subclass can preroll in the render
17439 method (mostly audiosinks).
17440 Handle more events.
17441 Remove some locks around variables that are now protected
17442 with the PREROLL_LOCK (clock_id, flushing, ..).
17443 Optimize position query some more, do correct locking.
17444 Remove old code to push queue in state change, this is not
17445 needed anymore since preroll blocks on all prerollable items
17447 Almost implemented as described in design doc.
17449 2006-01-30 Wim Taymans <wim@fluendo.com>
17451 * tests/check/gst/gstbin.c: (GST_START_TEST):
17452 Wait for refcount to settle down before checking.
17454 2006-01-30 Wim Taymans <wim@fluendo.com>
17456 * docs/design/part-element-sink.txt:
17457 Pseudo code overview of desired sink behaviour regarding
17460 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17461 * win32/vs6/grammar.dsp:
17462 fix some bugs in Release mode for autogenerated files
17464 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17465 * win32/common/libgstbase.def:
17466 * win32/common/libgstreamer.def:
17467 export some new symbols: gst_base_src_set_format,
17468 gst_iterator_next, gst_structure_set_valist
17470 2006-01-29 Julien MOUTTE <julien@moutte.net>
17472 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17473 Set pad functions unconditionally. Fixes #329105.
17475 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
17477 add vs8 project files created by Sergey Scobich
17479 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
17481 * gst/gstutils.c: (gst_element_unlink_pads):
17482 Don't leak pad references.
17484 * tests/check/elements/fakesink.c: (GST_START_TEST):
17485 * tests/check/generic/sinks.c: (GST_START_TEST):
17486 * tests/check/generic/states.c: (GST_START_TEST):
17487 * tests/check/gst/gstbin.c: (GST_START_TEST):
17488 * tests/check/gst/gstcaps.c: (GST_START_TEST):
17489 * tests/check/gst/gstelement.c: (GST_START_TEST):
17490 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17491 * tests/check/gst/gstiterator.c: (GST_START_TEST):
17492 * tests/check/gst/gstvalue.c: (GST_START_TEST):
17493 Fix a bunch of leaks. Make generic/sinks.c
17494 use a bit less cpu by slowing the buffer rate
17495 between fakesrc and fakesink.
17497 2006-01-27 Stefan Kost <ensonic@users.sf.net>
17499 * gst/gstelement.c: (gst_element_send_event):
17502 * gst/gstiterator.c:
17503 * gst/gstiterator.h:
17504 * gst/gstpad.c: (gst_pad_send_event):
17505 * gst/gststructure.c:
17509 * libs/gst/base/gstadapter.c:
17510 doc fixes, to link to function, just write gst_cool_function(), don't
17513 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17515 * plugins/elements/gsttee.c: (gst_tee_do_push),
17516 (gst_tee_handle_buffer):
17517 Always prefer an actual return value from a src
17518 pad in place of NOT_LINKED. This means we return
17519 WRONG_STATE when all src pads are WRONG_STATE
17520 instead of NOT_LINKED.
17522 Lock when replacing the last message to prevent
17523 racing with the get_property method.
17527 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17529 * tests/check/Makefile.am:
17530 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17532 Add a very simple check that should have caught the memleak I fixed
17533 last night (if not for the slice allocator hiding it)
17535 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
17537 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17538 (gst_bin_remove_func), (gst_bin_handle_message_func),
17539 (bin_query_duration_fold), (bin_query_generic_fold):
17540 Clean up references to the clock provider when disposed or when
17541 handling a clock-lost message from it.
17543 Unref sinks when performing a query via gst_iterator_fold, as the
17544 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17546 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17547 (gst_clock_set_master):
17548 Drop our reference to the master clock, if any, when we are disposed.
17550 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17551 Chain up in dispose.
17553 2006-01-26 Wim Taymans <wim@fluendo.com>
17555 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17556 Add some debugging.
17558 2006-01-26 Julien MOUTTE <julien@moutte.net>
17560 * plugins/elements/gsttee.c: (gst_tee_do_push),
17561 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17562 handles pad being NOT_LINKED or in WRONG_STATE.
17564 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17569 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17572 remove obsolete entry
17574 2006-01-26 Stefan Kost <ensonic@users.sf.net>
17576 * docs/gst/gstreamer-sections.txt:
17577 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17578 (gst_bin_iterate_sources), (gst_bin_send_event):
17580 * gst/gstelement.c: (gst_element_send_event):
17582 * gst/gstpad.c: (gst_pad_send_event):
17583 added code for downstream events, reviewed docs in gstevent.c
17585 2006-01-25 Julien MOUTTE <julien@moutte.net>
17587 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17588 We only query position using the clock in the playing state.
17589 Query peer in the other cases.
17590 * win32/common/config.h: Updates.
17592 2006-01-24 Wim Taymans <wim@fluendo.com>
17594 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17595 A clock entry that is scheduled for the exact time of the
17596 clock is still in time.
17598 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17599 (gst_base_sink_do_sync):
17600 Add some more debug info.
17602 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17605 Add new vs7 project files and solution.
17607 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
17610 all files removed as they were out-dated.
17612 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17614 * docs/random/release:
17616 * gst/gstbin.c: (gst_bin_init):
17617 * gst/gstbus.c: (gst_bus_new):
17619 * gst/gstpipeline.c: (gst_pipeline_init):
17620 use gst_bus_new(), improve logging, fix docs
17621 * win32/common/config.h:
17622 update for cvs build
17624 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
17627 up required version of automake to 1.7
17629 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
17631 * win32/common/libgstreamer.def:
17632 export gst_buffer_is_metadata_writable
17634 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
17636 * docs/gst/gstreamer-sections.txt:
17638 Add gst_event_replace() (#327001)
17640 2006-01-20 Wim Taymans <wim@fluendo.com>
17642 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17643 Make it actually compile too..
17645 2006-01-20 Wim Taymans <wim@fluendo.com>
17648 Clarify behaviour of _is_equal() when passing NULL parameters.
17650 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17651 (gst_pad_set_caps):
17652 Cleanups. Don't unref NULL caps.
17653 When setting the same caps, protect caps of the pad with
17655 Use full functionality of _is_equal() when comparing caps.
17657 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17659 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17660 Don't loop infinitely if there are no buffers to present. Partially
17661 fixes #327197, but collectpads is just broken for reusing elements
17662 to do multiple encodes atm.
17664 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
17666 * tools/gst-inspect.c: (print_element_features):
17667 * tools/gst-xmlinspect.c: (main):
17668 URL_HANDLER is not a plugin feature we can search for in
17671 2006-01-19 Edward Hervey <edward@fluendo.com>
17673 * gst/gstelement.c: (gst_element_pads_activate):
17674 When activating, do src pads first, then sink pads.
17675 When de-activating, do sink pads first, then src pads.
17677 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17679 * docs/gst/gstreamer-sections.txt:
17680 Add gst_index_add_associationv to the docs
17682 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17687 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17688 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17689 Do some refactoring. Doesn't actually change functionality,
17690 but makes landing the DRAIN event easier later.
17692 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
17694 * docs/pwg/advanced-scheduling.xml:
17695 Update from 0.9.x to 0.10 API and make example a bit
17698 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17700 * docs/gst/gstreamer-sections.txt:
17701 Add gst_buffer_(is|make)_metadata_writable methods.
17703 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
17705 * docs/design/part-sparsestreams.txt:
17706 Update sparse streams doc, hopefully for greater clarity
17708 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
17710 * docs/design/part-events.txt:
17711 Remove mention of FILLER events.
17714 * docs/design/part-sparsestreams.txt:
17715 Write some things about using NEWSEGMENT to keep sparse streams
17718 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17720 * gst/gstbin.c: (gst_bin_dispose):
17721 Guard gst_object_unref call against a NULL object (dispose
17722 can theoretically be called multiple times).
17724 2006-01-18 Wim Taymans <wim@fluendo.com>
17726 * gst/gstbin.c: (gst_bin_element_set_state):
17727 * gst/gstclock.c: (gst_clock_id_wait):
17728 Added some more debug info.
17730 * libs/gst/base/gstadapter.c:
17733 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17734 (gst_base_sink_do_sync), (gst_base_sink_chain):
17735 Added some comments.
17737 2006-01-18 Wim Taymans <wim@fluendo.com>
17739 * tests/check/Makefile.am:
17740 * tests/check/elements/fakesink.c: (chain_async_buffer),
17741 (chain_async), (chain_async_return), (GST_START_TEST),
17742 (fakesink_suite), (main):
17743 Added fakesink test that checks prerolling and clipping
17746 * tests/check/gst/gstutils.c: (GST_START_TEST):
17747 Make check run faster so that buildbots don't timeout.
17749 2006-01-18 Wim Taymans <wim@fluendo.com>
17751 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17752 (gst_base_sink_do_sync):
17754 When the sink finishes blocking on the preroll buffer, it can
17755 immediatly render it instead of rendering when the next buffer
17758 2006-01-18 Wim Taymans <wim@fluendo.com>
17760 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
17761 (gst_base_sink_get_property), (gst_base_sink_do_sync),
17762 (gst_base_sink_chain):
17764 GST_ELEMENT_CLOCK and sync are protected with LOCK.
17765 Don't store _last_stop if the buffer is dropped.
17767 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
17769 * plugins/elements/gsttypefindelement.c:
17770 (gst_type_find_element_class_init):
17771 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
17772 object method handler that sets the caps on the pad and we want
17773 that to happen before we emit the signal (fixes e.g. feeding a
17774 plain text file to decodebin).
17776 2006-01-18 Christian Schaller <Christian@fluendo.com>
17778 * gst/gstplugin.c: Add MPL and Proprietary as license options
17780 2006-01-18 Andy Wingo <wingo@pobox.com>
17782 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
17783 symbol was exported before, it appears this was just an oversight.
17785 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
17787 * gst/gstindex.c (gst_index_add_associationv): Changed int in
17788 prototype to gint. OK since this prototype was not in the header.
17790 2006-01-17 Andy Wingo <wingo@pobox.com>
17792 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
17793 registry while we remove plugins.
17795 * tools/gst-inspect.c (print_element_info): Don't unref the
17796 factory arg, that should be the responsibility of whatever code
17797 received the ref. Fixes a double-free when called from
17798 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
17799 (main): Unref the factory if we have one.
17800 (print_element_list): No change -- relies on the
17801 plugin_feature_list_free to free the list of features.
17803 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
17805 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17806 (gst_buffer_make_metadata_writable):
17808 * libs/gst/base/gstbasetransform.c:
17809 (gst_base_transform_prepare_output_buf):
17810 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17811 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17812 Replace gst_buffer_(make|is)_metadata_writable patch now
17813 that the release is out.
17815 2006-01-17 Andy Wingo <wingo@pobox.com>
17817 * gst/gstregistry.c: Reflow design comment. Update so as to speak
17818 in the present tense without reference to versions.
17820 * gst/gstregistry.c (gst_registry_add_plugin)
17821 (gst_registry_remove_plugin, gst_registry_remove_feature)
17822 (gst_registry_find_feature, gst_registry_get_feature_list)
17823 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
17824 (gst_registry_lookup, gst_registry_scan_path)
17825 (_gst_registry_remove_cache_plugins)
17826 (gst_registry_get_feature_list_by_plugin): Add argument
17829 === release 0.10.2 ===
17831 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
17834 releasing 0.10.2, "If man is five"
17836 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17840 * libs/gst/base/gstbasetransform.c:
17841 (gst_base_transform_prepare_output_buf):
17842 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17843 * tests/check/gst/gstbuffer.c: (gst_test_suite):
17844 Back out patch until after the release.
17846 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17848 * gst/gstminiobject.c:
17849 Spelling fix in docs.
17850 * ChangeLog - remove conflict indicator
17852 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
17854 Reviewed By: Andy Wingo
17856 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
17857 (gst_buffer_make_metadata_writable):
17859 Add gst_buffer_(is|make)_metadata_writable as analogues of
17860 gst_buffer_(is|make)_writable.
17862 * libs/gst/base/gstbasetransform.c:
17863 (gst_base_transform_prepare_output_buf):
17864 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17865 Use name gst_buffer_(is|make)_metadata_writable functions.
17867 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
17868 Test gst_buffer_(is|make)_metadata_writable
17872 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
17874 * docs/manual/Makefile.am:
17875 don't do parallel make
17878 * win32/common/config.h.in:
17879 add generations for HOST_CPU and GST_MAJORMINOR
17880 * win32/common/config.h:
17881 commit generated result
17883 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
17885 * docs/manual/appendix-integration.xml:
17886 Update GNOME integration section to use gst_init_get_option_group()
17887 instead of the old popt stuff (#322911). Also, GNOME applications
17888 should now use gconf*sink and gconf*src instead of the old gconf
17891 2006-01-13 Stefan Kost <ensonic@users.sf.net>
17894 * docs/gst/gstreamer-docs.sgml:
17895 * docs/gst/gstreamer-sections.txt:
17896 * docs/libs/gstreamer-libs-sections.txt:
17897 add new API entries to the docs
17898 * libs/gst/controller/Makefile.am:
17899 * libs/gst/controller/gstcontroller.c:
17900 * libs/gst/controller/gstcontroller.h:
17901 * libs/gst/controller/gstcontrollerprivate.h:
17902 * libs/gst/controller/gsthelper.c:
17903 * libs/gst/controller/gstinterpolation.c:
17904 move private structs to private header
17906 gstreamer-0.7 -> gstreamer-0.10
17907 * tests/check/libs/struct_i386.h:
17908 remove private structs
17910 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17912 * plugins/indexers/Makefile.am:
17913 Fixes as part of #317048
17915 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17917 * plugins/indexers/Makefile.am:
17918 fix #316086 - compilation when mmap is missing
17920 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17922 * libs/gst/base/gstbasesink.c:
17923 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17924 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17925 * win32/common/config.h:
17926 added some defines GST_MAJORMINOR and HOST_CPU
17927 * win32/common/libgstbase.def:
17928 * win32/common/libgstreamer.def:
17929 added some exported functions.
17931 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17933 * libs/gst/controller/gstcontroller.c:
17934 (gst_controlled_property_set_interpolation_mode),
17935 (gst_controlled_property_new):
17936 * libs/gst/controller/gstcontroller.h:
17937 * libs/gst/controller/gstinterpolation.c:
17938 (interpolate_none_get_string_value_array):
17939 make G_TYPE_STRING controlable
17941 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17944 * tools/gst-feedback.1.in:
17945 * tools/gst-inspect.1.in:
17946 * tools/gst-launch.1.in:
17947 * tools/gst-md5sum.1.in:
17948 * tools/gst-typefind.1.in:
17949 * tools/gst-xmlinspect.1.in:
17950 * tools/gst-xmllaunch.1.in:
17951 cleanup man-pages, remove reference to gst-register, document env-vars
17953 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17955 * gst/gstbuffer.c: (gst_buffer_span):
17956 gst_buffer_span should copy the timestamp of the first buffer
17957 if they were both originally overlapping subbuffers of the
17958 same parent, using the same logic as the 'slow copy' case.
17960 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17962 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17963 Need to awaken ALL the pads when we pop a buffer, otherwise
17964 collectpads only works when there is 2 input streams.
17966 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17968 * docs/random/ensonic/media-device-daemon.txt:
17971 fix doc example, add clarification
17972 * tools/gst-launch.1.in:
17973 add initial info about GST_PLUGIN_PATH, needs more work
17975 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17977 * docs/manual/basics-bins.xml:
17978 * docs/manual/basics-elements.xml:
17979 * docs/manual/intro-basics.xml:
17980 Some more minor docs additions and updates.
17982 2006-01-11 Wim Taymans <wim@fluendo.com>
17984 * docs/manual/basics-bins.xml:
17985 * docs/manual/basics-elements.xml:
17986 Some small fixes as pointed out by Ser-ver on IRC.
17988 2006-01-10 Edward Hervey <edward@fluendo.com>
17990 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17991 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17992 the single-segment mode.
17994 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17996 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17998 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17999 (gst_base_src_perform_seek), (gst_base_src_send_event),
18000 (gst_base_src_set_property), (gst_base_src_get_property),
18001 (gst_base_src_loop), (gst_base_src_start),
18002 (gst_base_src_activate_push):
18003 * libs/gst/base/gstbasesrc.h:
18004 Name (private) union; makes Sun's Forte compiler happy (#324900).
18006 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
18009 gst-register is gone.
18011 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
18013 * gst/gstvalue.c: (_gst_value_initialize):
18014 make the G_TYPE_DATE instantiation work if debug is disabled
18016 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
18018 * gst/gstmessage.c: (gst_message_parse_tag),
18019 (gst_message_parse_error), (gst_message_parse_warning):
18020 Don't crash when return location for error/warning debug
18021 string is NULL; add fact that return locations can be
18022 NULL to docs where appropriate.
18024 2006-01-05 Wim Taymans <wim@fluendo.com>
18026 * gst/gstplugin.c: (gst_plugin_load_file):
18027 Replace strdup by g_strdup.
18029 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18031 * docs/pwg/advanced-types.xml:
18034 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
18036 submitted by: Abel Cheung
18040 Added Chinese (traditional) translation
18042 2006-01-04 Wim Taymans <wim@fluendo.com>
18044 * docs/manual/basics-pads.xml:
18045 * docs/plugins/Makefile.am:
18046 * docs/plugins/gstreamer-plugins-docs.sgml:
18047 * docs/plugins/gstreamer-plugins-sections.txt:
18048 * docs/pwg/advanced-clock.xml:
18049 * docs/pwg/advanced-scheduling.xml:
18050 * docs/pwg/advanced-types.xml:
18051 * plugins/elements/gstfdsink.c:
18052 * plugins/elements/gstfdsrc.c:
18053 * plugins/elements/gstfdsrc.h:
18054 * plugins/elements/gstidentity.c: (gst_identity_class_init):
18055 * plugins/elements/gstidentity.h:
18056 * plugins/elements/gstqueue.h:
18057 * plugins/elements/gsttee.c:
18058 * plugins/elements/gsttee.h:
18059 * plugins/elements/gsttypefindelement.c:
18060 (gst_type_find_element_class_init):
18061 * plugins/elements/gsttypefindelement.h:
18062 Small updates to various docs.
18063 Added core plugins to docs.
18065 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18068 add a suppression for liboil's uninitialized variable
18070 2006-01-02 James Livingston <jrl at ids dot org dot au>
18072 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18075 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18076 macro, so that gcc doesn't complain if the -Wmissing-prototypes
18077 compiler switch is being used (#325429).
18079 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
18081 * gst/gstbin.c: (gst_bin_query):
18082 Disable duration query caching in bins until it gets
18083 fixed (see #324807).
18085 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18087 * tools/gst-inspect.c: (print_element_properties_info):
18088 Handle properties of POINTER and BOXED type.
18090 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
18092 * gst/gst.c: (init_post):
18093 Init tags stuff and some other things before loading
18094 any static plugins (there may be other static plugins
18095 than just the GStreamer ones, and they may want to
18096 register their own tags or formats or whatever, and
18097 preferably without segfaulting).
18099 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18100 Print at least a warning in the debug logs if we drop a
18101 query just because we don't know how to adjust the value
18102 in the particular format.
18104 2005-12-24 David Schleef <ds@schleef.org>
18106 * tools/gstreamer-completion:
18107 Replacement for gst-complete written in sh and sed. Only
18108 completes names of features, but that's 90% of what I want
18109 it for. Properties are not available in registry.xml. (Maybe
18112 === release 0.10.1 ===
18114 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
18117 releasing 0.10.1, "Nollaig chridheil"
18119 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
18121 * docs/faq/cvs.xml:
18122 Add missing quote, should be make ERROR_CFLAGS="".
18124 2005-12-20 Wim Taymans <wim@fluendo.com>
18126 * docs/design/part-trickmodes.txt:
18127 More documentation on trickmodes.
18129 2005-12-20 Edward Hervey <edward@fluendo.com>
18131 * gst/gstcaps.c: (gst_static_caps_get_type):
18133 API addition: GST_TYPE_STATIC_CAPS
18134 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18135 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18136 * gst/gstpadtemplate.h:
18137 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18138 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18141 2005-12-18 Wim Taymans <wim@fluendo.com>
18143 * libs/gst/base/gstadapter.c:
18144 * libs/gst/base/gstadapter.h:
18145 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18146 (gst_base_sink_get_position):
18147 * libs/gst/base/gstbasesink.h:
18148 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18149 (gst_base_src_default_query), (gst_base_src_default_do_seek),
18150 (gst_base_src_do_seek), (gst_base_src_perform_seek),
18151 (gst_base_src_send_event), (gst_base_src_update_length),
18152 (gst_base_src_get_range), (gst_base_src_loop),
18153 (gst_base_src_start):
18154 * libs/gst/base/gstbasesrc.h:
18155 * libs/gst/base/gstbasetransform.h:
18156 * libs/gst/base/gstcollectpads.h:
18157 * libs/gst/base/gstpushsrc.c:
18158 * libs/gst/base/gstpushsrc.h:
18159 * libs/gst/dataprotocol/dataprotocol.c:
18160 * libs/gst/dataprotocol/dataprotocol.h:
18161 * libs/gst/net/gstnetclientclock.h:
18162 * libs/gst/net/gstnettimeprovider.h:
18163 Documentation updates.
18165 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
18167 * docs/manual/basics-helloworld.xml:
18168 Remove superfluous closing bracket in helloworld example.
18170 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
18172 * tools/gst-launch.1.in:
18173 Update gst-launch man page; add a section with useful
18174 environment variables. Fixes #323882.
18176 2005-12-16 Stefan Kost <ensonic@users.sf.net>
18179 * gst/gst_private.h:
18180 change some char* into char[]
18182 2005-12-16 Wim Taymans <wim@fluendo.com>
18184 * gst/gstregistryxml.c: (load_feature):
18186 Don't use g_object_unref on GstObjects so that we avoid
18187 leaks on unsafe glibs.
18189 2005-12-16 Wim Taymans <wim@fluendo.com>
18191 * gst/gstbin.c: (gst_bin_recalc_state):
18194 2005-12-16 Wim Taymans <wim@fluendo.com>
18196 * common/check.mak:
18197 Added make forever target for check.
18199 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
18201 * gst/gst.c: (init_post):
18202 make the registry cache file HOST_CPU-dependent
18204 2005-12-16 Andy Wingo <wingo@pobox.com>
18206 * plugins/elements/gstbufferstore.c
18207 (gst_buffer_store_cleared_func): Pay attention to g_list_append
18210 * tests/check/gst/gstobject.c
18211 (test_fake_object_name_threaded_unique): Pay attention to
18212 g_list_sort return value.
18214 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
18216 * tools/gst-feedback-m.m:
18217 Update for 0.9/0.10 (fixes #323870).
18219 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
18221 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18222 Fix lcopy for mini objects, the mini object needs to be ref'ed.
18224 * tests/check/gst/gstminiobject.c: (my_foo_init),
18225 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18226 (test_value_collection), (gst_mini_object_suite):
18227 Add test to ensure refcounts end up as expected when passing
18228 GstMiniObjects through g_object_get() and g_object_set().
18230 2005-12-14 Julien MOUTTE <julien@moutte.net>
18232 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18233 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18234 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18235 of collectpads. This version removes a lot of races without
18236 touching API/ABI. Yay !
18238 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
18240 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18241 Don't allow activation of a srcpad in pull_range if it has no
18243 Change some debug statements to be a little clearer
18245 * plugins/elements/gsttypefindelement.c:
18246 (gst_type_find_handle_src_query):
18247 Check that we have a peer before executing queries thereupon.
18249 * tests/examples/metadata/read-metadata.c: (message_loop):
18250 Use gst_bus_pop instead of gst_bus_poll when we just want it to
18251 immediately return us any available message with 0 timeout.
18253 2005-12-12 Michael Smith <msmith@fluendo.com>
18255 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18256 Don't unref factories after calling them.
18257 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18258 * plugins/elements/gsttypefindelement.c:
18259 (gst_type_find_element_chain):
18260 Free lists of factories after using them. Fixing typefinding memory
18263 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18265 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18266 (gst_plugin_feature_load):
18267 more meaningful debug output
18269 * tests/Makefile.am:
18270 * tests/old/examples/Makefile.am:
18271 make make distcheck happy again
18273 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18275 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18276 Catch the special case where we are operating chain-based,
18277 but the downstream peer pad has no chain function. Emit a
18278 custom error message in this case instead of letting the
18279 core generate one implying that this is some sort of core
18280 bug. It's not, it just means that whatever got plugged
18281 into the pipeline downstream when we announced the type
18282 can only operate pull-based, while our source can only
18283 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18284 Error string has not been marked for translation yet, as
18285 it probably needs some more work first.
18287 (gst_type_find_element_get_best_possibility):
18288 Add helper function to find the best of all available
18289 found possibilities that qualify given the min. threshold.
18291 (gst_type_find_element_handle_event):
18292 Fix the case where we get an EOS while still in TYPEFIND
18293 mode (we want to chose the best of all possible types,
18294 not just the first type that happens to be in our unsorted
18295 list of possible types).
18297 (gst_type_find_element_chain):
18298 Make sure we return GST_FLOW_ERROR when we errored out
18299 in stop_typefinding(); also, don't just find the best of
18300 all found type entries and then use the last examined
18301 type entry, but actually use the best entry.
18303 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
18305 * tests/examples/typefind/typefind.c: (type_found):
18306 * tests/examples/xml/runxml.c: (xml_loaded):
18307 More gcc4 fixes and a mem leak fix.
18309 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18311 * tests/examples/xml/createxml.c: (object_saved):
18314 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18316 * tests/Makefile.am:
18317 enable the examples even more
18319 2005-12-12 Andy Wingo <wingo@pobox.com>
18321 * libs/gst/net/gstnettimeprovider.c
18322 (gst_net_time_provider_class_init, gst_net_time_provider_init)
18323 (gst_net_time_provider_set_property)
18324 (gst_net_time_provider_get_property):
18325 API addition: Export "active" as a GObject property.
18326 (gst_net_time_provider_thread): Only respond to time queries if
18327 the time provider is active.
18329 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18330 NetTimeProvider, preserving binary compat.
18332 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18334 * tests/examples/controller/audio-example.c: (main):
18335 * tests/examples/launch/Makefile.am:
18336 convert comments again
18338 2005-12-12 Wim Taymans <wim@fluendo.com>
18340 * libs/gst/base/gstpushsrc.c:
18343 2005-12-12 Wim Taymans <wim@fluendo.com>
18345 * docs/libs/gstreamer-libs-sections.txt:
18346 Added new symbol to docs.
18348 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18349 (gst_base_src_init), (gst_base_src_set_format),
18350 (gst_base_src_default_query), (gst_base_src_query),
18351 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18352 (gst_base_src_perform_seek), (gst_base_src_send_event),
18353 (gst_base_src_default_event), (gst_base_src_event_handler),
18354 (gst_base_src_set_property), (gst_base_src_get_property),
18355 (gst_base_src_wait), (gst_base_src_do_sync),
18356 (gst_base_src_update_length), (gst_base_src_get_range),
18357 (gst_base_src_check_get_range), (gst_base_src_loop),
18358 (gst_base_src_default_negotiate), (gst_base_src_start),
18359 (gst_base_src_activate_push), (gst_base_src_activate_pull),
18360 (gst_base_src_change_state):
18361 * libs/gst/base/gstbasesrc.h:
18362 Implement seeking to other formats than _BYTES.
18363 Implement more seeking methods correctly.
18365 Added query vmethod.
18366 Added do_seek vmethod to make life easier for subclasses
18368 API addition: gst_base_src_set_format()
18370 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18372 * tests/examples/Makefile.am:
18375 2005-12-12 Stefan Kost <ensonic@users.sf.net>
18378 * docs/random/ensonic/media-device-daemon.txt:
18379 * tests/examples/controller/.cvsignore:
18380 * tests/examples/controller/Makefile.am:
18381 * tests/examples/controller/audio-example.c: (main):
18382 * tests/examples/helloworld/.cvsignore:
18383 * tests/examples/helloworld/Makefile.am:
18384 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18385 * tests/examples/launch/.cvsignore:
18386 * tests/examples/launch/Makefile.am:
18387 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18388 * tests/examples/metadata/.cvsignore:
18389 * tests/examples/metadata/Makefile.am:
18390 * tests/examples/metadata/read-metadata.c: (message_loop),
18391 (make_pipeline), (print_tag), (main):
18392 * tests/examples/queue/.cvsignore:
18393 * tests/examples/queue/Makefile.am:
18394 * tests/examples/queue/queue.c: (event_loop), (main):
18395 * tests/examples/typefind/.cvsignore:
18396 * tests/examples/typefind/Makefile.am:
18397 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18399 * tests/examples/xml/.cvsignore:
18400 * tests/examples/xml/Makefile.am:
18401 * tests/examples/xml/createxml.c: (object_saved), (main):
18402 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18403 * tests/old/examples/Makefile.am:
18404 * tests/old/examples/TODO:
18405 * tests/old/examples/controller/.cvsignore:
18406 * tests/old/examples/controller/Makefile.am:
18407 * tests/old/examples/controller/audio-example.c:
18408 * tests/old/examples/helloworld/.cvsignore:
18409 * tests/old/examples/helloworld/Makefile.am:
18410 * tests/old/examples/helloworld/helloworld.c:
18411 * tests/old/examples/launch/.cvsignore:
18412 * tests/old/examples/launch/Makefile.am:
18413 * tests/old/examples/launch/mp3parselaunch.c:
18414 * tests/old/examples/launch/mp3play:
18415 * tests/old/examples/manual/Makefile.am:
18416 * tests/old/examples/metadata/Makefile.am:
18417 * tests/old/examples/metadata/read-metadata.c:
18418 * tests/old/examples/queue/.cvsignore:
18419 * tests/old/examples/queue/Makefile.am:
18420 * tests/old/examples/queue/queue.c:
18421 * tests/old/examples/typefind/.cvsignore:
18422 * tests/old/examples/typefind/Makefile.am:
18423 * tests/old/examples/typefind/typefind.c:
18424 * tests/old/examples/xml/.cvsignore:
18425 * tests/old/examples/xml/Makefile.am:
18426 * tests/old/examples/xml/createxml.c:
18427 * tests/old/examples/xml/runxml.c:
18428 applied some simple fixing to some examples
18429 re-enabled the working examples
18431 2005-12-12 Wim Taymans <wim@fluendo.com>
18433 * gst/gstsegment.c: (gst_segment_init),
18434 (gst_segment_set_last_stop), (gst_segment_set_seek),
18435 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18436 (gst_segment_to_running_time):
18437 Added more documentation.
18438 Make sure the last_pos value is updated properly.
18439 Make sure to_stream_time and to_running_time don't
18440 operate on wrong values.
18442 * tests/check/gst/gstsegment.c: (GST_START_TEST):
18445 2005-12-12 Michael Smith <msmith@fluendo.com>
18447 * plugins/elements/gsttypefindelement.c: (free_entry),
18448 (gst_type_find_element_chain):
18449 Now that we're not leaking factories, make sure we keep references
18450 to them while we need them.
18452 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18454 * tests/check/gst/struct_i386.h:
18455 ifdef out the XML structs
18457 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
18459 * gst/gstvalue.c: (gst_value_transform_double_fraction):
18460 floor is not needed, F is always positive; this obviates the
18461 need for adding -lm when building without libxml
18463 2005-12-12 Wim Taymans <wim@fluendo.com>
18465 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18466 Take current playback rate into account when reporting
18469 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18471 * docs/manual/mime-world.fig:
18472 Let's try this again, this time with a file that is
18473 actually in XFig format.
18475 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18477 * docs/manual/mime-world.fig:
18478 Add audioconvert element to diagram so that it
18479 matches the text and the code (fixes #319526).
18481 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18483 * docs/pwg/building-chainfn.xml:
18484 * docs/pwg/building-pads.xml:
18485 * docs/pwg/building-state.xml:
18486 * docs/pwg/other-source.xml:
18487 Update state change stuff for 0.10 (fixes #322969).
18489 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18491 * docs/manual/advanced-dataaccess.xml:
18492 * docs/manual/appendix-checklist.xml:
18493 * docs/manual/appendix-programs.xml:
18494 * docs/manual/basics-pads.xml:
18495 * docs/manual/highlevel-components.xml:
18496 * docs/manual/manual.xml:
18497 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18498 add converters in front of pipelines; remove curly
18499 brackets for threads stuff, they no longer exist; use
18500 GST_TYPE_FRACTION for framerates; update some pieces of
18501 code to 0.10, but there's plenty more to do.
18503 * docs/manual/appendix-porting.xml:
18504 Expand on asynchroneous state changes; s/0.9/0.10/;
18505 mention disappearance of gst_init_get_popt_table()
18508 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
18510 * docs/faq/using.xml:
18511 Spider no longer exists, and neither does gst-launch-ext.
18512 Update examples to use decodebin and playbin and put
18513 converters in front of sinks (fixes #323726).
18515 2005-12-09 Michael Smith <msmith@fluendo.com>
18517 * plugins/elements/gsttypefindelement.c: (find_peek),
18518 (gst_type_find_element_chain):
18519 Fix leaking element factories in typefinding.
18520 Fix problem where we forgot about a probable type on non-seekable
18521 files, and thus later mis-typefound it.
18523 2005-12-09 Michael Smith <msmith@fluendo.com>
18525 * common/m4/gst-makecontext.m4:
18526 * common/m4/gst-mcsc.m4:
18528 * win32/common/config.h:
18529 * win32/common/config.h.in:
18530 Remove makecontext stuff; not used in 0.10 and causes problems on
18531 HPUX according to bug #322441
18533 2005-12-07 Wim Taymans <wim@fluendo.com>
18535 * tests/check/Makefile.am:
18536 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18538 * tests/check/libs/struct_i386.h:
18539 Added ABI check for libs
18541 2005-12-07 Wim Taymans <wim@fluendo.com>
18543 * tests/check/Makefile.am:
18544 And add the struct_i386.h to dist.
18546 2005-12-07 Wim Taymans <wim@fluendo.com>
18548 * tests/check/Makefile.am:
18549 * tests/check/gst/.cvsignore:
18550 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18552 * tests/check/gst/struct_i386.h:
18553 Added check for ABI compatibility.
18555 2005-12-07 Wim Taymans <wim@fluendo.com>
18557 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18558 (gst_fake_src_get_times), (gst_fake_src_create):
18559 Fix broken sync option, fixes #323259
18561 2005-12-07 Wim Taymans <wim@fluendo.com>
18566 * gst/gstcaps.c: (gst_caps_is_equal):
18567 Don't assert on NULL <--> X. Fixes #323260
18569 * gst/gstminiobject.c: (gst_mini_object_replace):
18570 If we're doing atomic operations, we might just as well use
18571 the proper way to get an atomic pointer.
18573 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18574 Clean up debugging.
18576 2005-12-07 Michael Smith <msmith@fluendo.com>
18578 * gst/parse/grammar.y:
18579 Remove handling of { } for threads.
18581 2005-12-06 David Schleef <ds@schleef.org>
18583 * libs/gst/base/gstbasetransform.c: speling fix.
18585 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
18587 * docs/libs/tmpl/gstdataprotocol.sgml:
18588 * docs/random/omega/testing/gstobject.c:
18591 * gst/gstelement.c:
18592 * gst/gstelementfactory.c:
18595 * gst/gstghostpad.c:
18597 * gst/gstpadtemplate.c:
18598 * gst/gstregistryxml.c:
18599 * gst/gsttaglist.c:
18600 * gst/gsttagsetter.c:
18601 * gst/gsttypefind.c:
18603 * libs/gst/base/gstbasesrc.c:
18604 * libs/gst/net/gstnetclientclock.c:
18605 * libs/gst/net/gstnettimeprovider.c:
18606 * plugins/elements/gstfakesrc.c:
18607 * plugins/elements/gstfdsrc.c:
18608 * plugins/elements/gstfilesrc.c:
18609 * plugins/elements/gstidentity.c:
18610 * plugins/elements/gstqueue.c:
18611 * plugins/elements/gsttypefindelement.c:
18612 * plugins/indexers/gstfileindex.c:
18613 * plugins/indexers/gstmemindex.c:
18614 * tests/check/gst/gsttag.c:
18615 * tests/old/examples/cutter/cutter.c:
18616 * tests/old/examples/mixer/mixer.c:
18617 * tests/old/examples/xml/runxml.c: (main):
18618 * tests/old/testsuite/caps/normalisation.c:
18619 * tests/old/testsuite/debug/global.c:
18620 * tests/old/testsuite/parse/parse1.c:
18621 * tools/gst-xmlinspect.c:
18622 * win32/common/dirent.c:
18625 === release 0.10.0 ===
18627 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18630 releasing 0.10.0, "Maroilles"
18632 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18634 submitted by: Funda Wang <fundawang@linux.net.cn>
18638 added Chinese (Traditional) translation
18640 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18642 * docs/gst/gstreamer-sections.txt:
18643 * docs/libs/tmpl/gstdataprotocol.sgml:
18644 * docs/random/thomasvs/TODO:
18649 2005-12-05 Andy Wingo <wingo@pobox.com>
18651 patch by: Wim Taymans <wim@fluendo.com>
18653 * libs/gst/base/gstbasetransform.c
18654 (gst_base_transform_prepare_output_buf)
18655 (gst_base_transform_buffer_alloc):
18656 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18657 alloc_buffer_and_set_caps.
18659 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18660 set_caps on the source pad.
18661 (gst_pad_alloc_buffer_and_set_caps): New function, does what
18662 alloc_buffer used to do. Fixes #322874.
18664 * docs/gst/gstreamer-sections.txt:
18665 * docs/design/part-negotiation.txt:
18666 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18669 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
18671 patch by: Sebastien Moutte
18674 * win32/common/config.h.in:
18675 * win32/vs6/libgstcontroller.dsp:
18678 2005-12-05 Wim Taymans <wim@fluendo.com>
18680 * gst/gstcaps.c: (gst_caps_is_equal):
18681 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18682 (gst_fake_src_create):
18683 Back out previous code changes, leave doc updates, file bugs
18686 2005-12-05 Wim Taymans <wim@fluendo.com>
18688 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18689 (gst_fake_src_get_times), (gst_fake_src_create):
18690 * plugins/elements/gstfakesrc.h:
18691 Fix broken sync code.
18693 2005-12-05 Wim Taymans <wim@fluendo.com>
18695 * gst/gstcaps.c: (gst_caps_is_equal):
18696 Comparing NULL against !NULL yields different caps, not a
18699 2005-12-05 Wim Taymans <wim@fluendo.com>
18701 * gst/gstpipeline.c:
18702 Fix small typo in docs.
18704 2005-12-05 Andy Wingo <wingo@pobox.com>
18706 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
18708 * gst/gst.c (init_post): remove hard-coded 0.9 location for
18709 registries/plugins with a MAJORMINOR one.
18710 (plugin_desc): Rename library from gstcoreleements to
18711 staticelements. Fixes #323222.
18713 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
18715 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18716 Change debug category to 'collectpads' from 'collect_pads'
18719 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18721 patch by: Sebastien Moutte
18723 * libs/gst/controller/gstinterpolation.c:
18724 use convert function for uint64/double
18725 * win32/vs6/libgstcontroller.dsp:
18728 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
18730 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
18731 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
18733 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18734 add tests that seem to show that the guint64/gdouble conversions
18737 2005-12-02 Wim Taymans <wim@fluendo.com>
18739 * gst/gstregistry.c: (gst_registry_add_path):
18740 * gst/gstregistry.h:
18741 * gst/gstregistryxml.c:
18744 2005-12-02 Wim Taymans <wim@fluendo.com>
18746 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18747 (gst_util_uint64_scale_int):
18750 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18751 Add debug log line.
18753 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
18756 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18759 * win32/common/config.h:
18760 * win32/vs6/gstreamer.dsw:
18761 * win32/vs6/libgstcoreelements.dsp:
18762 * win32/vs6/libgstelements.dsp:
18763 renamed core elements plugin
18765 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
18767 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
18769 do piece-wise major/minor comparison so 0.9 < 0.10
18770 also allow .exe extensions for tools
18772 2005-12-02 Michael Smith <msmith@fluendo.com>
18775 Escape a % to make gtkdoc happier; bug 322958.
18777 === release 0.9.7 ===
18779 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18782 releasing 0.9.7, "My Dog Has No Nose"
18784 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18786 * common/gst-xmlinspect.py:
18788 * docs/libs/tmpl/gstdataprotocol.sgml:
18789 * docs/random/release:
18808 * win32/common/config.h:
18809 * win32/common/config.h.in:
18810 * win32/vs6/gst_inspect.dsp:
18811 * win32/vs6/gst_launch.dsp:
18812 * win32/vs6/libgstbase.dsp:
18813 * win32/vs6/libgstelements.dsp:
18814 * win32/vs6/libgstreamer.dsp:
18815 * win32/vs7/GStreamer.vcproj:
18816 * win32/vs7/gst-inspect.vcproj:
18817 * win32/vs7/gst-launch.vcproj:
18818 * win32/vs7/libgstbase.vcproj:
18819 bump GST_MAJORMINOR to 0.10
18820 reset libtool version
18822 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18826 Added Bulgarian translation by (Alexander Shopov)
18828 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18830 * tests/check/gst/gstplugin.c:
18833 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18835 * common/gst-xmlinspect.py:
18836 * common/gtk-doc-plugins.mak:
18838 * docs/Makefile.am:
18839 * docs/gst/Makefile.am:
18840 * docs/gst/gstreamer-docs.sgml:
18841 * docs/gst/gstreamer-sections.txt:
18842 * docs/gst/gstreamer.types:
18843 * docs/gst/gstreamer.types.in:
18844 * docs/plugins/Makefile.am:
18845 * docs/plugins/gstreamer-plugins-docs.sgml:
18846 * docs/plugins/gstreamer-plugins-sections.txt:
18847 * docs/plugins/gstreamer-plugins.types:
18848 * docs/plugins/inspect.stamp:
18849 * docs/plugins/inspect/plugin-coreelements.xml:
18850 * docs/plugins/inspect/plugin-coreindexers.xml:
18851 * docs/plugins/scanobj-build.stamp:
18852 * gstreamer.spec.in:
18853 * plugins/elements/Makefile.am:
18854 * plugins/elements/gstelements.c:
18855 * plugins/elements/gstfakesink.c:
18856 * plugins/elements/gstfakesrc.c:
18857 * plugins/elements/gstfilesink.c:
18858 * plugins/elements/gstfilesrc.c:
18859 * plugins/elements/gstqueue.c:
18860 * plugins/indexers/Makefile.am:
18861 * plugins/indexers/gstindexers.c:
18862 document core plugins in a separate document just like all the
18864 rename these plugins to something starting with core
18866 2005-12-01 Andy Wingo <wingo@pobox.com>
18868 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
18869 padding here before, but it missed the commit.
18871 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18873 * libs/gst/controller/gstinterpolation.c:
18874 whitespace prices have crashed, we should feel free to use some now
18875 use gst_guint64_to_gdouble
18877 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18879 * libs/gst/controller/gstcontroller.c:
18880 * libs/gst/controller/gsthelper.c:
18881 * libs/gst/controller/gstinterpolation.c:
18882 * libs/gst/controller/lib.c:
18883 wrap config.h include
18885 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18887 * docs/gst/gstreamer-sections.txt:
18890 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
18892 * plugins/elements/gstelements.c:
18893 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
18894 (gst_fd_sink__class_init), (gst_fd_sink__init),
18895 (gst_fd_sink__chain), (gst_fd_sink__set_property),
18896 (gst_fd_sink__get_property):
18897 * plugins/elements/gstfdsink.h:
18898 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
18899 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
18900 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
18901 (gst_fd_src_unlock), (gst_fd_src_set_property),
18902 (gst_fd_src_get_property), (gst_fd_src_create),
18903 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18904 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18905 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18906 (gst_fd_src_uri_handler_init):
18907 * plugins/elements/gstfdsrc.h:
18908 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18911 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18913 * docs/gst/Makefile.am:
18914 * docs/gst/gstreamer.types.in:
18918 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18924 * gst/gstregistry.h:
18925 * tests/benchmarks/complexity.c:
18926 * tests/benchmarks/mass-elements.c:
18927 * tests/check/Makefile.am:
18928 * tools/Makefile.am:
18929 * tools/gst-inspect.c:
18930 * tools/gst-xmlinspect.c:
18931 various fixes to make
18932 --disable-nls --disable-registry --disable-loadsave
18933 --disable-parse --disable-gst-debug
18934 work and get the core .so down to 360444 bytes after stripping
18936 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18941 * docs/random/thomasvs/TODO:
18942 * tests/Makefile.am:
18946 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18948 * win32/GStreamer.vcproj:
18951 * win32/Makefile.inspect:
18952 * win32/Makefile.launch:
18953 * win32/Makefile.register:
18954 * win32/README.txt:
18955 * win32/gst-inspect.vcproj:
18956 * win32/gst-launch.vcproj:
18957 * win32/gst-register.vcproj:
18958 * win32/gstelements.vcproj:
18959 * win32/gstgetbits.def:
18960 * win32/gstgetbits.vcproj:
18961 * win32/gstreamer-dbg.def:
18962 * win32/gstreamer.def:
18963 * win32/libgstbase.def:
18964 * win32/libgstbase.vcproj:
18965 * win32/link_oldruntime.c:
18969 * win32/msvc71.sln:
18970 move even more stuff, win32/ is nice and clean now
18972 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18974 * libs/gst/control/.cvsignore:
18979 * win32/gstbytestream.def:
18980 * win32/gstbytestream.vcproj:
18981 * win32/gstconfig.h:
18982 * win32/gstenumtypes.c:
18983 * win32/gstenumtypes.h:
18984 * win32/gstoptimalscheduler.vcproj:
18985 * win32/gstversion.h:
18987 * win32/testsuite/bins.vcproj:
18988 * win32/testsuite/bytestream.vcproj:
18989 * win32/testsuite/caps.vcproj:
18990 * win32/testsuite/cleanup.vcproj:
18991 * win32/testsuite/clock.vcproj:
18992 * win32/testsuite/debug.vcproj:
18993 * win32/testsuite/dlopen.vcproj:
18994 * win32/testsuite/dynparams.vcproj:
18995 * win32/testsuite/elements.vcproj:
18996 * win32/testsuite/ghostpads.vcproj:
18997 * win32/testsuite/indexers.vcproj:
18998 * win32/testsuite/negotiation.vcproj:
18999 * win32/testsuite/parse.vcproj:
19000 * win32/testsuite/plugin.vcproj:
19001 * win32/testsuite/refcounting.vcproj:
19002 * win32/testsuite/schedulers.vcproj:
19003 * win32/testsuite/states.vcproj:
19004 * win32/testsuite/tags.vcproj:
19005 * win32/testsuite/threads.vcproj:
19006 remove old win32 stuff that isn't maintained and should be
19009 2005-11-30 Andy Wingo <wingo@pobox.com>
19011 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19012 loading the gst.interfaces python module bork.
19014 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19015 available since GLib 2.2. Fixes #318031.
19017 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19020 * check/.cvsignore:
19021 * check/Makefile.am:
19022 * check/elements/.cvsignore:
19023 * check/elements/fakesrc.c:
19024 * check/elements/fdsrc.c:
19025 * check/elements/identity.c:
19026 * check/generic/.cvsignore:
19027 * check/generic/states.c:
19028 * check/gst-libs/.cvsignore:
19029 * check/gst-libs/controller.c:
19030 * check/gst-libs/gdp.c:
19031 * check/gst/.cvsignore:
19032 * check/gst/capslist.h:
19034 * check/gst/gstbin.c:
19035 * check/gst/gstbuffer.c:
19036 * check/gst/gstbus.c:
19037 * check/gst/gstcaps.c:
19038 * check/gst/gstelement.c:
19039 * check/gst/gstevent.c:
19040 * check/gst/gstghostpad.c:
19041 * check/gst/gstiterator.c:
19042 * check/gst/gstmessage.c:
19043 * check/gst/gstminiobject.c:
19044 * check/gst/gstobject.c:
19045 * check/gst/gstpad.c:
19046 * check/gst/gstpipeline.c:
19047 * check/gst/gstplugin.c:
19048 * check/gst/gstsegment.c:
19049 * check/gst/gststructure.c:
19050 * check/gst/gstsystemclock.c:
19051 * check/gst/gsttag.c:
19052 * check/gst/gstutils.c:
19053 * check/gst/gstvalue.c:
19054 * check/net/.cvsignore:
19055 * check/net/gstnetclientclock.c:
19056 * check/net/gstnettimeprovider.c:
19057 * check/pipelines/.cvsignore:
19058 * check/pipelines/cleanup.c:
19059 * check/pipelines/simple_launch_lines.c:
19060 * check/pipelines/stress.c:
19061 * check/states/.cvsignore:
19062 * check/states/sinks.c:
19064 * examples/Makefile.am:
19065 * examples/appreader/.cvsignore:
19066 * examples/appreader/Makefile.am:
19067 * examples/appreader/appreader.c:
19068 * examples/controller/.cvsignore:
19069 * examples/controller/Makefile.am:
19070 * examples/controller/audio-example.c:
19071 * examples/cutter/.cvsignore:
19072 * examples/cutter/Makefile.am:
19073 * examples/cutter/cutter.c:
19074 * examples/cutter/cutter.h:
19075 * examples/events/Makefile.am:
19076 * examples/events/seek.c:
19077 * examples/helloworld/.cvsignore:
19078 * examples/helloworld/Makefile.am:
19079 * examples/helloworld/helloworld.c:
19080 * examples/helloworld2/.cvsignore:
19081 * examples/helloworld2/Makefile.am:
19082 * examples/helloworld2/helloworld2.c:
19083 * examples/launch/.cvsignore:
19084 * examples/launch/Makefile.am:
19085 * examples/launch/mp3parselaunch.c:
19086 * examples/launch/mp3play:
19087 * examples/manual/.cvsignore:
19088 * examples/manual/Makefile.am:
19089 * examples/manual/extract.pl:
19090 * examples/metadata/Makefile.am:
19091 * examples/metadata/read-metadata.c:
19092 * examples/mixer/.cvsignore:
19093 * examples/mixer/Makefile.am:
19094 * examples/mixer/mixer.c:
19095 * examples/mixer/mixer.h:
19096 * examples/pingpong/.cvsignore:
19097 * examples/pingpong/Makefile.am:
19098 * examples/pingpong/pingpong.c:
19099 * examples/plugins/.cvsignore:
19100 * examples/plugins/Makefile.am:
19101 * examples/plugins/example.c:
19102 * examples/plugins/example.h:
19103 * examples/pwg/.cvsignore:
19104 * examples/pwg/Makefile.am:
19105 * examples/pwg/extract.pl:
19106 * examples/queue/.cvsignore:
19107 * examples/queue/Makefile.am:
19108 * examples/queue/queue.c:
19109 * examples/queue2/.cvsignore:
19110 * examples/queue2/Makefile.am:
19111 * examples/queue2/queue2.c:
19112 * examples/queue3/.cvsignore:
19113 * examples/queue3/Makefile.am:
19114 * examples/queue3/queue3.c:
19115 * examples/queue4/.cvsignore:
19116 * examples/queue4/Makefile.am:
19117 * examples/queue4/queue4.c:
19118 * examples/retag/.cvsignore:
19119 * examples/retag/Makefile.am:
19120 * examples/retag/retag.c:
19121 * examples/retag/transcode.c:
19122 * examples/thread/.cvsignore:
19123 * examples/thread/Makefile.am:
19124 * examples/thread/thread.c:
19125 * examples/typefind/.cvsignore:
19126 * examples/typefind/Makefile.am:
19127 * examples/typefind/typefind.c:
19128 * examples/xml/.cvsignore:
19129 * examples/xml/Makefile.am:
19130 * examples/xml/createxml.c:
19131 * examples/xml/runxml.c:
19132 * tests/Makefile.am:
19133 * tests/check/Makefile.am:
19134 * testsuite/.cvsignore:
19135 * testsuite/Makefile.am:
19137 * testsuite/caps/.cvsignore:
19138 * testsuite/caps/Makefile.am:
19139 * testsuite/caps/app_fixate.c:
19140 * testsuite/caps/audioscale.c:
19141 * testsuite/caps/caps.c:
19142 * testsuite/caps/caps.h:
19143 * testsuite/caps/caps_strings:
19144 * testsuite/caps/compatibility.c:
19145 * testsuite/caps/deserialize.c:
19146 * testsuite/caps/enumcaps.c:
19147 * testsuite/caps/eratosthenes.c:
19148 * testsuite/caps/filtercaps.c:
19149 * testsuite/caps/fixed.c:
19150 * testsuite/caps/fraction-convert.c:
19151 * testsuite/caps/fraction-multiply-and-zero.c:
19152 * testsuite/caps/intersect2.c:
19153 * testsuite/caps/intersection.c:
19154 * testsuite/caps/normalisation.c:
19155 * testsuite/caps/random.c:
19156 * testsuite/caps/renegotiate.c:
19157 * testsuite/caps/sets.c:
19158 * testsuite/caps/simplify.c:
19159 * testsuite/caps/string-conversions.c:
19160 * testsuite/caps/structure.c:
19161 * testsuite/caps/subtract.c:
19162 * testsuite/caps/union.c:
19163 * testsuite/debug/.cvsignore:
19164 * testsuite/debug/Makefile.am:
19165 * testsuite/debug/category.c:
19166 * testsuite/debug/commandline.c:
19167 * testsuite/debug/global.c:
19168 * testsuite/debug/output.c:
19169 * testsuite/debug/printf_extension.c:
19170 * testsuite/dlopen/.cvsignore:
19171 * testsuite/dlopen/Makefile.am:
19172 * testsuite/dlopen/dlopen_gst.c:
19173 * testsuite/dlopen/loadgst.c:
19174 * testsuite/elements/.cvsignore:
19175 * testsuite/elements/Makefile.am:
19176 * testsuite/elements/gst-inspect-check.in:
19177 * testsuite/elements/struct_i386.h:
19178 * testsuite/elements/struct_size.c:
19179 * testsuite/indexers/.cvsignore:
19180 * testsuite/indexers/Makefile.am:
19181 * testsuite/indexers/cache1.c:
19182 * testsuite/indexers/indexdump.c:
19183 * testsuite/parse/.cvsignore:
19184 * testsuite/parse/Makefile.am:
19185 * testsuite/parse/parse1.c:
19186 * testsuite/parse/parse2.c:
19187 * testsuite/plugin/.cvsignore:
19188 * testsuite/plugin/Makefile.am:
19189 * testsuite/plugin/README:
19190 * testsuite/plugin/dynamic.c:
19191 * testsuite/plugin/linked.c:
19192 * testsuite/plugin/loading.c:
19193 * testsuite/plugin/registry.c:
19194 * testsuite/plugin/static.c:
19195 * testsuite/plugin/static2.c:
19196 * testsuite/plugin/testplugin.c:
19197 * testsuite/plugin/testplugin2.c:
19198 * testsuite/plugin/testplugin2_s.c:
19199 * testsuite/plugin/testplugin_s.c:
19200 * testsuite/refcounting/.cvsignore:
19201 * testsuite/refcounting/Makefile.am:
19202 * testsuite/refcounting/bin.c:
19203 * testsuite/refcounting/element.c:
19204 * testsuite/refcounting/element_pad.c:
19205 * testsuite/refcounting/mainloop.c:
19206 * testsuite/refcounting/mem.c:
19207 * testsuite/refcounting/mem.h:
19208 * testsuite/refcounting/object.c:
19209 * testsuite/refcounting/pad.c:
19210 * testsuite/refcounting/sched.c:
19211 * testsuite/refcounting/thread.c:
19212 * testsuite/states/.cvsignore:
19213 * testsuite/states/Makefile.am:
19214 * testsuite/states/bin.c:
19215 * testsuite/states/locked.c:
19216 * testsuite/states/parent.c:
19217 * testsuite/threads/.cvsignore:
19218 * testsuite/threads/159566.c:
19219 * testsuite/threads/159852.c:
19220 * testsuite/threads/Makefile.am:
19221 * testsuite/threads/queue.c:
19222 * testsuite/threads/signals.c:
19223 * testsuite/threads/staticrec.c:
19224 * testsuite/threads/thread.c:
19225 * testsuite/threads/threadb.c:
19226 * testsuite/threads/threadc.c:
19227 * testsuite/threads/threadd.c:
19228 * testsuite/threads/threade.c:
19229 * testsuite/threads/threadf.c:
19230 * testsuite/threads/threadg.c:
19231 * testsuite/threads/threadh.c:
19232 * testsuite/threads/threadi.c:
19233 move all of these under tests
19235 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19238 * tests/Makefile.am:
19241 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19243 * docs/gst/gstreamer-sections.txt:
19244 * tests/sched/.cvsignore:
19245 * tests/sched/Makefile.am:
19246 * tests/sched/cases/(fs-fs).xml:
19247 * tests/sched/cases/(fs-i-fs).xml:
19248 * tests/sched/cases/(fs-i-i-fs).xml:
19249 * tests/sched/cases/(fs-i-q[i-fs]).xml:
19250 * tests/sched/dynamic-pipeline.c:
19251 * tests/sched/interrupt1.c:
19252 * tests/sched/interrupt2.c:
19253 * tests/sched/interrupt3.c:
19254 * tests/sched/runtestcases:
19255 * tests/sched/runxml.c:
19256 * tests/sched/sched-stress.c:
19257 * tests/sched/sort.c:
19258 * tests/sched/testcases:
19259 * tests/sched/testcases1.tc:
19260 * tests/seeking/.cvsignore:
19261 * tests/seeking/Makefile.am:
19262 * tests/seeking/seeking1.c:
19263 * tests/threadstate/.cvsignore:
19264 * tests/threadstate/Makefile.am:
19265 * tests/threadstate/test1.c:
19266 * tests/threadstate/test2.c:
19267 * tests/threadstate/threadstate1.c:
19268 * tests/threadstate/threadstate2.c:
19269 * tests/threadstate/threadstate3.c:
19270 * tests/threadstate/threadstate4.c:
19271 * tests/threadstate/threadstate5.c:
19272 remove obsolete tests
19274 * tests/bench-complexity.scm:
19275 * tests/bench-mass_elements.scm:
19276 * tests/complexity.c:
19277 * tests/complexity.gnuplot:
19278 * tests/instantiate/.cvsignore:
19279 * tests/instantiate/Makefile.am:
19280 * tests/instantiate/caps.c:
19281 * tests/mass_elements.c:
19282 * tests/network-clock-utils.scm:
19283 * tests/network-clock.scm:
19285 First pass at cleaning up tests/ dir before moving the rest
19286 Combined with CVS surgery
19288 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19291 queue has moved, update
19293 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19295 * docs/gst/gstreamer-sections.txt:
19296 remove double entries from the docs
19297 * gst/gst_private.h:
19298 * gst/gstinfo.c: (_gst_debug_init):
19299 remove the THREAD debug category
19303 * docs/gst/gstreamer.types:
19304 * plugins/elements/gstqueue.c: (gst_queue_get_type),
19305 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19306 completely move queue and fix up debugging categories
19308 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19310 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19311 make initialization portable, using LL is not
19313 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19315 * win32/common/gstconfig.h:
19318 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19320 * win32/common/libgstreamer.def:
19321 rename symbols; sort base section
19323 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19325 * gst/gstclock.c: (do_linear_regression):
19326 remove crack non-portable handrolled DEBUG macro
19328 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19330 * docs/random/release:
19332 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19333 (gst_object_flags_get_type), (register_gst_bin_flags),
19334 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19335 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19336 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19337 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19338 (gst_caps_flags_get_type), (register_gst_clock_return),
19339 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19340 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19341 (gst_clock_flags_get_type), (register_gst_state),
19342 (gst_state_get_type), (register_gst_state_change_return),
19343 (gst_state_change_return_get_type), (register_gst_state_change),
19344 (gst_state_change_get_type), (register_gst_element_flags),
19345 (gst_element_flags_get_type), (register_gst_core_error),
19346 (gst_core_error_get_type), (register_gst_library_error),
19347 (gst_library_error_get_type), (register_gst_resource_error),
19348 (gst_resource_error_get_type), (register_gst_stream_error),
19349 (gst_stream_error_get_type), (register_gst_event_type_flags),
19350 (gst_event_type_flags_get_type), (register_gst_event_type),
19351 (gst_event_type_get_type), (register_gst_seek_type),
19352 (gst_seek_type_get_type), (register_gst_seek_flags),
19353 (gst_seek_flags_get_type), (register_gst_format),
19354 (gst_format_get_type), (register_gst_index_certainty),
19355 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19356 (gst_index_entry_type_get_type),
19357 (register_gst_index_lookup_method),
19358 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19359 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19360 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19361 (gst_index_flags_get_type), (register_gst_debug_level),
19362 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19363 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19364 (gst_iterator_result_get_type), (register_gst_iterator_item),
19365 (gst_iterator_item_get_type), (register_gst_message_type),
19366 (gst_message_type_get_type), (register_gst_mini_object_flags),
19367 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19368 (gst_pad_link_return_get_type), (register_gst_flow_return),
19369 (gst_flow_return_get_type), (register_gst_activate_mode),
19370 (gst_activate_mode_get_type), (register_gst_pad_direction),
19371 (gst_pad_direction_get_type), (register_gst_pad_flags),
19372 (gst_pad_flags_get_type), (register_gst_pad_presence),
19373 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19374 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19375 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19376 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19377 (gst_plugin_flags_get_type), (register_gst_rank),
19378 (gst_rank_get_type), (register_gst_query_type),
19379 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19380 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19381 (gst_tag_flag_get_type), (register_gst_task_state),
19382 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19383 (gst_alloc_trace_flags_get_type),
19384 (register_gst_type_find_probability),
19385 (gst_type_find_probability_get_type), (register_gst_uri_type),
19386 (gst_uri_type_get_type), (register_gst_parse_error),
19387 (gst_parse_error_get_type):
19388 * win32/common/gstenumtypes.h:
19389 * win32/common/gstversion.h:
19390 update visual studio generated files
19392 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19394 * win32/vs6/libgstbase.dsp:
19395 * win32/vs6/libgstelements.dsp:
19396 update project files for new locations
19398 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
19403 reinstate and update
19408 * docs/random/LICENSE:
19411 2005-11-30 Edward Hervey <edward@fluendo.com>
19413 * gst/gsttypefind.c: (gst_type_find_register):
19414 * gst/gsttypefind.h:
19415 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19416 (gst_type_find_factory_dispose):
19417 * gst/gsttypefindfactory.h:
19418 Fix memory leak in GstTypeFindFactory.
19420 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19423 * plugins/elements/Makefile.am:
19424 * plugins/elements/gstelements.c:
19425 * plugins/elements/gstqueue.c:
19426 move queue from core to the elements plugin
19428 2005-11-29 Andy Wingo <wingo@pobox.com>
19430 * libs/gst/base/gstbasetransform.h:
19431 * libs/gst/base/gstbasesrc.h:
19432 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19434 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19435 of pointers by which to pad very extensible base classes (like the
19436 ones in libs/gst/base).
19438 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19440 * docs/gst/gstreamer-docs.sgml:
19441 * docs/gst/gstreamer-sections.txt:
19442 * docs/libs/gstreamer-libs-docs.sgml:
19443 * docs/libs/gstreamer-libs-sections.txt:
19444 moving documentation from core to lib
19446 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19448 * check/Makefile.am:
19450 * docs/gst/Makefile.am:
19452 * gst/base/.cvsignore:
19453 * gst/base/Makefile.am:
19455 * gst/base/gstadapter.c:
19456 * gst/base/gstadapter.h:
19457 * gst/base/gstbasesink.c:
19458 * gst/base/gstbasesink.h:
19459 * gst/base/gstbasesrc.c:
19460 * gst/base/gstbasesrc.h:
19461 * gst/base/gstbasetransform.c:
19462 * gst/base/gstbasetransform.h:
19463 * gst/base/gstcollectpads.c:
19464 * gst/base/gstcollectpads.h:
19465 * gst/base/gstpushsrc.c:
19466 * gst/base/gstpushsrc.h:
19467 * gst/base/gsttypefindhelper.c:
19468 * gst/base/gsttypefindhelper.h:
19469 * gst/check/Makefile.am:
19470 * gst/check/gstcheck.c:
19471 * gst/check/gstcheck.h:
19472 * gst/net/Makefile.am:
19473 * gst/net/gstnet.h:
19474 * gst/net/gstnetclientclock.c:
19475 * gst/net/gstnetclientclock.h:
19476 * gst/net/gstnettimepacket.c:
19477 * gst/net/gstnettimepacket.h:
19478 * gst/net/gstnettimeprovider.c:
19479 * gst/net/gstnettimeprovider.h:
19480 * libs/gst/Makefile.am:
19481 * libs/gst/base/Makefile.am:
19482 * libs/gst/base/gstbasetransform.c:
19483 * libs/gst/check/Makefile.am:
19484 * plugins/elements/Makefile.am:
19486 CVS surgery + support to move base, check, and net out of gst
19489 2005-11-29 Andy Wingo <wingo@pobox.com>
19491 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19493 * gst/gststructure.h (struct _GstStructure): Only one pointer of
19496 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19498 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19500 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19502 * gst/gstobject.h: (struct _GstObject): Only one pointer of
19503 padding; reduces object size by about 30%. We don't expect
19504 anything else to go into gstobject.
19506 * gst/gstminiobject.h (struct _GstMiniObject)
19507 (struct _GstMiniObjectClass): Only one pointer of padding; the
19508 payload is only a pointer and two ints anyway. For the class there
19509 are only two methods as well.
19511 * gst/gstelement.h (struct _GstElementClass): Removed
19512 the state_changed signal callback, it is not used.
19514 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19516 * docs/gst/gstreamer.types:
19517 fix includes, though they are a little dinky
19519 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19521 * check/Makefile.am:
19522 look in the right place for elements, a lot more chance of
19525 remove indexers and elements subdirs
19526 * plugins/Makefile.am:
19527 make indexers conditional
19529 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19533 * plugins/elements/Makefile.am:
19534 * plugins/elements/gstcapsfilter.c:
19535 * plugins/elements/gstfilesink.c:
19536 * plugins/elements/gstfilesrc.c:
19537 * plugins/elements/gstidentity.c:
19538 * plugins/indexers/Makefile.am:
19539 do CVS surgery and related build fixery to move elements
19540 and indexers in a new gstreamer/plugins directory, out of the
19543 2005-11-29 Andy Wingo <wingo@pobox.com>
19545 * check/Makefile.am:
19546 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19547 * pkgconfig/gstreamer-net.pc.in:
19548 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19551 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19553 * tools/Makefile.am:
19554 * tools/gst-complete.1.in:
19555 * tools/gst-complete.c:
19556 * tools/gst-compprep.1.in:
19557 * tools/gst-compprep.c:
19558 removing -compprep and -complete
19560 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
19562 * gst/gstevent.c: (gst_event_new_new_segment),
19563 (gst_event_parse_new_segment):
19565 fix #320529 - clean up new_segment API and structure.
19566 Let's hope everyone was using the methods, and not the structure.
19568 2005-11-29 Edward Hervey <edward@fluendo.com>
19570 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19571 (gst_base_sink_event), (gst_base_sink_do_sync),
19572 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19573 Properly handle non GST_FORMAT_TIME segment
19574 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19575 Properly handle non GST_FORMAT_TIME segment
19576 * gst/gstsegment.c:
19577 This function is valid if the accumulator is 0 and the format
19578 is different from the requested format.
19580 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19582 * docs/gst/gstreamer-sections.txt:
19583 Add gst_query_new_seeking and gst_query_parse_seeking to the
19586 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
19588 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19589 Treat a pad alloc with new caps the same as if we were not
19590 negotiated, in order to allow a changing upstream output
19591 to produce a new format of data.
19593 2005-11-29 Edward Hervey <edward@fluendo.com>
19595 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19596 (gst_base_transform_event), (gst_base_transform_eventfunc):
19597 The event virtual method is now properly implemented, with a default
19599 Sub classes should call the parent_class event method. They should
19600 return FALSE if they had a problem handling the given event, or don't
19601 want GstBaseTransform to send that even downstream
19602 * gst/elements/gstidentity.c: (gst_identity_class_init),
19603 (gst_identity_init), (gst_identity_event),
19604 (gst_identity_transform_ip), (gst_identity_set_property),
19605 (gst_identity_get_property):
19606 * gst/elements/gstidentity.h:
19607 Added the single-segment boolean property.
19608 If set to TRUE, it will output a single segment of data, starting from
19609 0, will eat up all incoming newsegment, and modify the timestamp of the
19610 buffers accordingly
19612 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
19614 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19615 Don't ref NULL target pad (#322751). Improve docs.
19617 2005-11-29 Michael Smith <msmith@fluendo.com>
19619 * gst/gstregistryxml.c: (load_plugin):
19620 Don't crash if we failed to load a feature from a plugin.
19622 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19624 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19626 use more check API and less GLib API
19628 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19631 don't run checks if we don't have check
19632 * common/check.mak:
19633 remove the registry when running make torture
19634 * docs/gst/gstreamer-sections.txt:
19635 remove second multiply
19636 * gst/gstqueue.c: (gst_queue_loop):
19637 fix a compile warning when disabling debug
19639 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19642 Hey! Let's print the pad name if the pointer != NULL instead
19643 of when it == NULL :-)
19645 2005-11-28 Wim Taymans <wim@fluendo.com>
19647 * check/gst/gstutils.c: (GST_START_TEST):
19648 Updated check, add some scaling accuracy checking code.
19650 * gst/gstutils.c: (gst_util_div128_64),
19651 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19652 (gst_util_uint64_scale_int):
19653 Fix 6 times faster division code. Optimize for common
19654 1/1 and less common X/1 cases.
19656 2005-11-28 Wim Taymans <wim@fluendo.com>
19658 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19661 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19662 (do_linear_regression), (gst_clock_add_observation):
19664 Release lock when the clock cannot be slaved.
19665 Catch the case where the regression returned an invalid denominator.
19667 * gst/gstutils.c: (gst_util_div128_64_iterate),
19668 (gst_util_div128_64), (gst_util_uint64_scale_int64),
19669 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19670 Add protentially more performant non-iterative 128/64 divide function
19671 that unfortunatly does not work yet.
19672 Shortcut the trivial 0/X = 0 case.
19673 Remove the warnings on overflow.
19675 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19677 * gst/gstplugin.c: (gst_plugin_register_func):
19678 everything causing a plugin not to load should be at least a WARNING
19680 2005-11-28 Stefan Kost <ensonic@users.sf.net>
19682 * docs/random/ensonic/dparams.txt:
19683 some TODOs for the next dev cycle
19684 * libs/gst/controller/gstcontroller.c:
19685 (gst_controlled_property_set_interpolation_mode),
19686 (gst_controlled_property_new):
19687 * libs/gst/controller/gstcontroller.h:
19688 use base type to assign acccessor functions
19690 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19692 * check/Makefile.am:
19693 Oops, that should have been top_srcdir
19695 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
19697 * check/Makefile.am:
19698 * check/elements/fdsrc.c: (GST_START_TEST):
19699 Use a cmdline define to specify the location of a file to use for
19700 testing, to avoid breaking distcheck.
19702 2005-11-28 Andy Wingo <wingo@pobox.com>
19704 * gst/gstpad.c (fixate_value): Use array functions for arrays.
19706 2005-11-28 Edward Hervey <edward@fluendo.com>
19708 * tools/gst-launch.c: (main):
19709 Clarify the output strings, makes it easier to translate.
19712 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
19715 don't try and build net if we don't even have <sys/socket.h>
19717 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
19719 * check/Makefile.am:
19720 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
19721 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
19722 Add tests for fdsrc seekability
19724 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19725 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
19726 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
19727 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
19728 * gst/elements/gstfdsrc.h:
19729 fdsrc should not be a 'live' source.
19730 Implement seeking on seekable fd's.
19732 * gst/gstquery.c: (gst_query_new_seeking),
19733 (gst_query_parse_seeking):
19735 Implement SEEKING query functions:
19736 *_new_seeking and *_parse_seeking
19738 2005-11-27 Stefan Kost <ensonic@users.sf.net>
19740 * gst/gstelement.c: (gst_element_dispose):
19743 * gst/gstiterator.c:
19744 * gst/gststructure.c:
19747 * libs/gst/controller/gstcontroller.c:
19748 (gst_controlled_property_set_interpolation_mode):
19749 * libs/gst/controller/gstcontroller.h:
19750 * libs/gst/controller/gstinterpolation.c:
19751 (interpolate_none_get_enum_value_array):
19752 support controlling enums
19754 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19757 Improve documentation for gst_value_union().
19760 Change return value for union, intersect and subtract functions
19761 from gint to gboolean.
19763 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
19765 * gst/gstvalue.c: (gst_value_serialize_any_list),
19766 (gst_value_transform_any_list_string),
19767 (gst_value_deserialize_list), (gst_value_deserialize_array),
19768 (gst_value_set_int_range), (gst_value_deserialize_int_range),
19769 (gst_value_set_double_range), (gst_value_deserialize_double_range),
19770 (gst_value_set_fraction_range_full),
19771 (gst_value_deserialize_fraction_range),
19772 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
19773 (gst_value_deserialize_boolean),
19774 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
19775 (gst_value_serialize_float), (gst_value_deserialize_float),
19776 (gst_string_wrap), (gst_value_deserialize_string),
19777 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
19778 (gst_value_union_int_range_int_range),
19779 (gst_value_intersect_int_range_int_range),
19780 (gst_value_intersect_double_range_double_range),
19781 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
19782 (gst_value_subtract_int_range_int_range),
19783 (gst_value_subtract_double_double_range),
19784 (gst_value_subtract_double_range_double_range),
19785 (gst_value_deserialize_fraction):
19787 Use gint, gdouble and gchar in our API instead of int, double and
19788 char (and make usage in gstvalue.c more consistent).
19790 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19792 * check/Makefile.am:
19793 * libs/gst/controller/Makefile.am:
19794 * libs/gst/dataprotocol/Makefile.am:
19795 fix up Makefile.am and remove GST_ENABLE_NEW
19797 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19801 * gst/base/Makefile.am:
19802 * gst/check/Makefile.am:
19803 * gst/elements/Makefile.am:
19804 * gst/net/Makefile.am:
19805 update LDFLAGS use some more
19807 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
19809 * common/m4/gst-doc.m4:
19812 2005-11-26 Edward Hervey <edward@fluendo.com>
19814 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19815 This shouldn't issue a g_warning since it returns NULL if it
19816 couldn't find the plugin, and all functions using this behave
19817 properly on a NULL return. Switching to a GST_WARNING.
19819 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
19821 * gst/gstbin.c: (gst_bin_handle_message_func):
19822 Don't leak clock messages.
19824 2005-11-25 Wim Taymans <wim@fluendo.com>
19826 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19827 (gst_util_uint64_scale_int):
19828 Optimisations, remove unneeded vars.
19830 2005-11-25 Wim Taymans <wim@fluendo.com>
19832 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19833 Added more checks for the high precision uint64 cases.
19835 * gst/gstutils.c: (gst_util_uint64_scale_int64),
19836 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19837 Implement high precision (guint64 * guint64) / guint64.
19839 2005-11-24 Wim Taymans <wim@fluendo.com>
19841 * gst/base/gstbasesrc.c: (gst_base_src_query):
19842 Fix wrong percentage query.
19844 * gst/gstutils.c: (gst_util_uint64_scale),
19845 (gst_util_uint64_scale_int):
19846 Add some more common cases that can be handled
19847 efficiently to _scale.
19849 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19851 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
19852 (gst_mini_object_suite):
19853 don't use check calls from threads; check probably isn't
19854 threadsafe and using a lock to make it threadsafe would
19855 defeat the purpose of this check
19856 * gst/check/gstcheck.c:
19857 * gst/check/gstcheck.h:
19858 use GST_DEBUG some more
19860 2005-11-24 Wim Taymans <wim@fluendo.com>
19862 * gst/gstutils.c: (gst_util_uint64_scale),
19863 (gst_util_uint64_scale_int):
19864 Chain trivial case to _scale_int.
19866 2005-11-24 Wim Taymans <wim@fluendo.com>
19868 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19869 Added test for scaling.
19874 * gst/gstutils.c: (gst_util_uint64_scale_int):
19875 Implemented high precision scaling code.
19877 2005-11-24 Stefan Kost <ensonic@users.sf.net>
19880 do not crash on pad==NULL
19882 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
19884 Patch by: Stefan Kost
19886 * common/gtk-doc.mak:
19887 * docs/gst/Makefile.am:
19888 * docs/libs/Makefile.am:
19889 Fix distcheck issues for the libraries docs build
19892 2005-11-24 Michael Smith <msmith@fluendo.com>
19894 * docs/manual/basics-helloworld.xml:
19895 Fix bug #315027: memory leak in example code in docs.
19897 2005-11-24 Michael Smith <msmith@fluendo.com>
19899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19900 Unlock the PREROLL_LOCK in a failure case.
19902 2005-11-24 Wim Taymans <wim@fluendo.com>
19904 * docs/gst/gstreamer-sections.txt:
19905 * gst/base/gstadapter.h:
19906 * gst/base/gstbasesink.h:
19907 * gst/base/gstbasesrc.h:
19908 * gst/base/gstbasetransform.h:
19909 * gst/base/gstpushsrc.h:
19910 * gst/elements/gstfakesink.h:
19911 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19912 * gst/elements/gstfakesrc.h:
19913 * gst/elements/gstfilesink.h:
19914 * gst/elements/gstfilesrc.h:
19917 * gst/gstbuffer.c: (_gst_buffer_copy):
19920 * gst/gstchildproxy.c:
19922 * gst/gstelement.c:
19923 * gst/gstelementfactory.c:
19924 * gst/gstelementfactory.h:
19926 * gst/gstghostpad.h:
19928 * gst/gstinterface.h:
19929 * gst/gstminiobject.c:
19930 * gst/gstminiobject.h:
19933 * gst/gstpadtemplate.h:
19934 * gst/gstpipeline.h:
19935 * gst/gstpluginfeature.h:
19938 * gst/gsttaglist.c:
19939 * gst/gsttaglist.h:
19940 * gst/gsttagsetter.c:
19941 * gst/gsttagsetter.h:
19944 * gst/gsttypefind.h:
19947 * gst/net/gstnetclientclock.c:
19948 * gst/net/gstnetclientclock.h:
19949 * gst/net/gstnettimepacket.c:
19950 * gst/net/gstnettimeprovider.c:
19951 * gst/net/gstnettimeprovider.h:
19954 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19956 * configure.ac: back to HEAD
19958 === release 0.9.6 ===
19960 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19963 releasing 0.9.6, "Always On Time"
19965 2005-11-23 Wim Taymans <wim@fluendo.com>
19967 * docs/gst/gstreamer-sections.txt:
19968 * gst/glib-compat.c:
19969 * gst/gsttagsetter.c:
19971 * gst/net/gstnetclientclock.c:
19972 * gst/net/gstnettimepacket.h:
19975 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19977 * docs/faq/using.xml:
19978 * docs/libs/tmpl/gstcontrol.sgml:
19979 * docs/manual/advanced-dparams.xml:
19980 * docs/manual/appendix-checklist.xml:
19981 * docs/manual/basics-elements.xml:
19982 * docs/pwg/other-source.xml:
19983 * docs/random/moving-plugins:
19985 * tools/gst-launch.1.in:
19986 remove mentions of sinesrc
19988 2005-11-23 Michael Smith <msmith@fluendo.com>
19990 * docs/gst/gstreamer-sections.txt:
19991 Update for new API and API changes.
19993 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19995 Documentation typo fix.
19996 * gst/net/gstnettimepacket.c:
19997 Documentation fixes for arguments.
19999 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
20001 * gst/gststructure.c: (gst_structure_get_fraction),
20002 (gst_structure_parse_value),
20003 (gst_structure_fixate_field_nearest_fraction):
20004 * gst/gststructure.h:
20005 * gst/gstutils.c: (gst_util_uint64_scale_int):
20007 * scripts/update-funcnames:
20009 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20010 Make gst_structure_fixate_field_nearest_fraction take a numerator
20011 and denominator argument instead of a GValue
20012 add gst_structure_get_fraction helper function.
20014 2005-11-23 Wim Taymans <wim@fluendo.com>
20016 * docs/design/part-TODO.txt:
20019 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20020 * gst/net/gstnetclientclock.h:
20021 Use parent fields for timeout and window_size.
20023 2005-11-23 Andy Wingo <wingo@pobox.com>
20025 * check/net/gstnetclientclock.c (test_functioning): Adjust to
20026 rate_num/rate_denom change.
20028 * gst/net/gstnetclientclock.c
20029 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20030 OBJECT_LOCK. Don't call add_observation with the lock.
20032 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20034 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20036 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20037 deal with rate as a fraction whose numerator and denominator are
20038 GstClockTime values.
20039 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20040 master; the other fields are protected by the SLAVE_LOCK.
20041 (do_linear_regression): Note that this must be called with the
20043 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20044 OBJECT_LOCK. Call set_calibration instead of touching the
20045 variables directly.
20046 (gst_clock_set_property, gst_clock_get_property): Protect
20047 master/slave parameters with the SLAVE_LOCK.
20049 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20050 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20051 note that all of the instance variables that add_observation and
20052 the set_master functions use are protected by that lock and not
20054 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20056 * gst/gstclock.c (gst_clock_add_observation): No longer requires
20057 the caller to take the object lock.
20059 2005-11-23 Wim Taymans <wim@fluendo.com>
20061 * gst/gsterror.c: (_gst_core_errors_init):
20063 Add error for clock stuff.
20065 * gst/gstpipeline.c: (gst_pipeline_change_state),
20066 (gst_pipeline_set_clock):
20067 Post clock error when clock cannot be used in a pipeline.
20069 2005-11-23 Stefan Kost <ensonic@users.sf.net>
20071 * docs/gst/gstreamer-sections.txt:
20072 make two symbols from gstinfo private for the docs
20073 * gst/base/gstcollectpads.h:
20075 fix doc typos, update docs
20077 2005-11-22 Wim Taymans <wim@fluendo.com>
20079 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20080 (gst_base_sink_wait), (gst_base_sink_do_sync),
20081 (gst_base_sink_handle_event):
20082 * gst/base/gstbasesink.h:
20083 No need to store the clock, the parent element class already
20086 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20087 Updates for clock_set returning a gboolean
20089 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20090 (gst_clock_id_wait_async), (gst_clock_class_init),
20091 (gst_clock_init), (gst_clock_finalize),
20092 (gst_clock_get_internal_time), (gst_clock_get_time),
20093 (gst_clock_slave_callback), (gst_clock_set_master),
20094 (gst_clock_get_master), (do_linear_regression),
20095 (gst_clock_add_observation), (gst_clock_set_property),
20096 (gst_clock_get_property):
20098 Implement master/slave. When setting a clock as a slave, a
20099 periodic timeout is scheduled to sample master and slave times.
20100 Then the slave clock is recalibrated to match offset and rate
20101 of the master clock.
20102 Update logging a bit.
20103 Add flag so that a clock can state that is cannot be slaved to
20106 * gst/gstelement.c: (gst_element_set_clock):
20107 * gst/gstelement.h:
20108 The set clock returns a gboolean for when an element cannot
20109 deal with the selected clock in the pipeline.
20111 * gst/gstpipeline.c: (gst_pipeline_change_state),
20112 (gst_pipeline_set_clock):
20113 * gst/gstpipeline.h:
20114 Handle the case where the selected clock cannot be set on
20117 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20118 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20119 (gst_net_client_clock_set_property),
20120 (gst_net_client_clock_get_property),
20121 (gst_net_client_clock_observe_times):
20122 * gst/net/gstnetclientclock.h:
20123 Use regression code in GstClock parent, remove duplicated
20126 2005-11-22 Michael Smith <msmith@fluendo.com>
20128 * gst/gstutils.c: (gst_util_clock_time_scale):
20130 * docs/gst/gstreamer-sections.txt:
20131 Rename method to have extra underscore.
20133 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
20135 * gst/elements/Makefile.am:
20136 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20137 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20138 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20139 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20140 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20141 * gst/elements/gstfakesrc.h:
20142 * gst/gstqueue.c: (queue_leaky_get_type):
20143 correctly fix GEnumValues so that nick is the short lowercase
20145 * tools/gst-inspect.c: (print_element_properties_info):
20146 also show the nick, since it's useful to use from parse_launch
20150 2005-11-22 Michael Smith <msmith@fluendo.com>
20152 * gst/gstutils.c: (gst_util_clocktime_scale):
20154 * docs/gst/gstreamer-sections.txt:
20155 Add util method for scaling a clocktime by a fraction. Useful
20156 implementation is left as an exercise for the reader.
20158 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20160 * gst/gstvalue.c: (gst_value_collect_fraction_range):
20161 If needed, allocate storage in the destination value during
20164 2005-11-22 Edward Hervey <edward@fluendo.com>
20166 * docs/gst/gstreamer-sections.txt:
20169 * gst/gsturitype.c:
20170 * gst/gsturitype.h:
20171 * gst/gstutils.c: (gst_util_set_object_arg):
20172 * tools/gst-compprep.c: (main):
20173 * tools/gst-inspect.c: (print_element_properties_info):
20174 Removed GstURI, closes bug #321061
20176 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20178 * check/gst/gststructure.c: (GST_START_TEST):
20179 * gst/gststructure.c: (gst_structure_parse_value):
20180 Oops, broke automatic string type parsing.
20181 Add a test to catch it in future.
20183 2005-11-22 Andy Wingo <wingo@pobox.com>
20185 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
20186 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20187 Actually rename the function implementations. Grr.
20189 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20191 * check/gst/capslist.h:
20193 * check/gst/gststructure.c: (GST_START_TEST),
20194 (gst_structure_suite):
20195 Test automatic value type detection in gst_structure_from_string.
20196 * gst/gststructure.c: (gst_structure_parse_value):
20197 Add fraction as a type we try and guess automatically in
20198 caps/structure strings.
20200 2005-11-22 Andy Wingo <wingo@pobox.com>
20202 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20204 * gst/gsttagsetter.h:
20205 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20206 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20207 (gst_tag_setter_add_tag_valist)
20208 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20209 _add_values, _add_valist, and _add_valist_values. Since this is an
20210 interface the function suffixes should be more explicit so
20211 language binding don't end up with element.add_valist ->
20212 gst_tag_setter_add_valist, for example. Fixes #322069.
20214 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20216 * check/gst/gstcaps.c: (GST_START_TEST):
20217 Extend caps string tests to check that a caps to string
20218 conversion is reversible and produces the same caps.
20220 * gst/gststructure.c: (gst_structure_value_get_generic_type):
20221 Output "fraction" as the generic type fraction range, so caps
20222 serialisation and deserialisation works.
20223 * check/gst/capslist.h:
20224 * gst/gstvalue.c: (gst_value_deserialize_fraction):
20225 Support 'MIN' and 'MAX' for deserialising fractions.
20227 2005-11-22 Andy Wingo <wingo@pobox.com>
20229 * gst/gstevent.h (gst_event_new_new_segment)
20230 (gst_event_parse_new_segment, gst_event_new_buffer_size)
20231 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20232 Renamed from *_newsegment, *_buffersize, *_notarget.
20234 * scripts/update-funcnames: New script, performs the changes
20237 2005-11-22 Wim Taymans <wim@fluendo.com>
20239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20240 Make sure the GstFlowReturn is returned.
20242 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20243 (gst_bus_add_signal_watch):
20245 add gst_bus_add_signal_watch_full.
20247 * gst/gstplugin.c: (gst_plugin_load_file):
20248 Small style cleanup.
20250 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20252 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20253 Block the fakesrc srcpad when we send an event, to avoid
20254 contention on the stream_lock causing random test failures.
20256 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20258 * check/gst/gstvalue.c: (GST_START_TEST):
20259 * gst/gstvalue.c: (gst_value_fraction_subtract):
20262 2005-11-22 Stefan Kost <ensonic@users.sf.net>
20265 include "gstchildproxy.h"
20266 * gst/gstchildproxy.h:
20267 * libs/gst/controller/gstcontroller.h:
20268 use G_GNUC_NULL_TERMINATED
20270 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
20272 * check/gst/capslist.h:
20273 * check/gst/gstcaps.c: (GST_START_TEST):
20274 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20275 * gst/gststructure.c: (gst_structure_parse_range),
20276 (gst_structure_fixate_field_nearest_fraction):
20277 * gst/gststructure.h:
20278 * gst/gstvalue.c: (gst_value_init_fraction_range),
20279 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20280 (gst_value_collect_fraction_range),
20281 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20282 (gst_value_set_fraction_range_full),
20283 (gst_value_get_fraction_range_min),
20284 (gst_value_get_fraction_range_max),
20285 (gst_value_serialize_fraction_range),
20286 (gst_value_transform_fraction_range_string),
20287 (gst_value_compare_fraction_range),
20288 (gst_value_deserialize_fraction_range),
20289 (gst_value_intersect_fraction_fraction_range),
20290 (gst_value_intersect_fraction_range_fraction_range),
20291 (gst_value_subtract_fraction_fraction_range),
20292 (gst_value_subtract_fraction_range_fraction),
20293 (gst_value_subtract_fraction_range_fraction_range),
20294 (gst_value_collect_fraction), (gst_value_fraction_multiply),
20295 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20296 (gst_value_transform_string_fraction), (_gst_value_initialize):
20298 Implement fraction ranges and extend GstFraction to support
20299 arithmetic subtraction, as well as deserialization from integer
20300 strings such as "100"
20301 Add a testsuite as for int and double range set operations
20303 2005-11-21 Andy Wingo <wingo@pobox.com>
20305 * gst/gsttaglist.h:
20307 * gst/gststructure.h: Add glib-compat.h.
20309 2005-11-21 Wim Taymans <wim@fluendo.com>
20311 * gst/gstbin.c: (gst_bin_change_state_func):
20314 2005-11-21 Wim Taymans <wim@fluendo.com>
20316 * gst/gstsegment.h:
20317 And add a nice define too.
20319 2005-11-21 Wim Taymans <wim@fluendo.com>
20321 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20322 (gst_segment_new), (gst_segment_free), (gst_segment_init),
20323 (gst_segment_set_duration), (gst_segment_set_last_stop),
20324 (gst_segment_set_seek), (gst_segment_set_newsegment),
20325 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20326 (gst_segment_clip):
20327 * gst/gstsegment.h:
20328 Make binding friendly.
20330 2005-11-21 Andy Wingo <wingo@pobox.com>
20332 * gst/gsttagsetter.h:
20333 * gst/gsttaglist.h:
20334 * gst/gststructure.h:
20336 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20339 * gst/gsterror.c (_gst_core_errors_init):
20340 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20343 * gst/Makefile.am (gst_headers): Add glib-compat.h.
20344 (noinst_HEADERS): noinst the -private.
20346 2005-11-21 Michael Smith <msmith@fluendo.com>
20349 * gst/gstregistry.h:
20350 Remove unimplemented declarations for which we can see no sensible
20353 2005-11-21 Andy Wingo <wingo@pobox.com>
20355 * gst/gst.h: Include glib-compat.h.
20357 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20359 * gst/glib-compat.c: Include the public and the private header.
20361 * gst/glib-compat-private.h: Copied here from glib-compat.h.
20365 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20367 * check/gst/gstevent.c (create_custom_events): Check that
20368 FLUSH_STOP is serialized.
20370 * check/elements/identity.c (event_func):
20371 * check/elements/fakesrc.c (event_func): No stream lock, the core
20374 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20375 stream lock taking, yay.
20377 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20378 ensure that core takes the stream lock.
20380 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20383 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20384 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20385 it already. For the flush start we do take it though so we get the
20386 right preroll state change messages.
20388 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20389 the stream lock here, the core does it for us.
20391 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20392 GST_STREAM_GET_LOCK.
20393 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
20394 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
20395 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20396 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20397 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
20398 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20400 * gst/gstpad.c: Update for stream lock name change.
20402 * gst/base/gstbasesink.c: Update for preroll lock name change.
20404 2005-11-21 Wim Taymans <wim@fluendo.com>
20406 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20407 (gst_clock_get_master):
20409 * gst/gstsystemclock.c: (gst_system_clock_init):
20410 Convert Clock flags to object flags.
20411 Added methods to manage master/slave clocks.
20413 2005-11-21 Wim Taymans <wim@fluendo.com>
20415 * check/gst/gstsegment.c: (GST_START_TEST):
20416 * docs/design/part-TODO.txt:
20417 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20418 (gst_base_sink_event), (gst_base_sink_do_sync),
20419 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20420 (gst_base_sink_query), (gst_base_sink_change_state):
20421 * gst/base/gstbasesink.h:
20422 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20423 (gst_base_src_default_newsegment),
20424 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20425 (gst_base_src_get_range), (gst_base_src_loop),
20426 (gst_base_src_change_state):
20427 * gst/base/gstbasesrc.h:
20428 * gst/base/gstbasetransform.c:
20429 (gst_base_transform_prepare_output_buf),
20430 (gst_base_transform_event), (gst_base_transform_change_state):
20431 * gst/base/gstbasetransform.h:
20432 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20433 (gst_collect_pads_event):
20434 * gst/base/gstcollectpads.h:
20435 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20436 (gst_fake_src_create):
20437 * gst/elements/gstfakesrc.h:
20438 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20439 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20440 (gst_segment_set_last_stop), (gst_segment_set_seek),
20441 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20442 (gst_segment_to_running_time), (gst_segment_clip):
20443 * gst/gstsegment.h:
20444 More segment updates, replace code in plugins with segment
20447 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20449 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20450 Don't ignore sscanf results
20452 2005-11-21 Andy Wingo <wingo@pobox.com>
20454 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20457 * *.c: Ran scripts/update-macros. Oh yes.
20459 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20460 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20463 * scripts/update-macros: New script. Run it on your files to
20464 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20467 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20469 * docs/gst/Makefile.am:
20470 * docs/gst/gstreamer-docs.sgml:
20471 * docs/gst/gstreamer-sections.txt:
20472 * docs/gst/gstreamer.types:
20474 more docs fixes, add new api to the docs
20476 2005-11-21 Andy Wingo <wingo@pobox.com>
20478 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20479 state_broadcast call.
20481 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20483 2005-11-21 Julien MOUTTE <julien@moutte.net>
20485 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20486 function calls for arrays.
20488 2005-11-21 Stefan Kost <ensonic@users.sf.net>
20490 * docs/random/ensonic/media-device-daemon.txt:
20491 wild idea, can this be done?
20492 * docs/gst/gstreamer-sections.txt:
20497 * gst/gstpluginfeature.c:
20501 doc fixes and additions
20503 2005-11-21 Andy Wingo <wingo@pobox.com>
20505 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
20506 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
20507 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
20508 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20509 private to the basesrc implementation.
20511 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20512 behalf of event function if necessary. It should no longer be
20513 necessary to take the stream lock in pad's event functions. Fixes
20516 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20517 * docs/gst/gstreamer-sections.txt:
20518 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20519 (gst_structure_fixate_field_nearest_double),
20520 (gst_structure_fixate_field_boolean):
20521 * gst/gststructure.h:
20522 * win32/common/libgstreamer.def:
20523 * win32/gstreamer.def:
20525 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20528 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
20530 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20531 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20532 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20533 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20534 (gst_fdsrc_uri_handler_init):
20535 * gst/elements/gstfdsrc.h:
20536 Port fd:// URI handler from 0.8 to fdsrc
20538 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20540 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20541 (gst_value_serialize_fourcc):
20543 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20544 consistent with our other format defines (#320324).
20546 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20548 * gst/gstvalue.c: (gst_value_is_fixed):
20549 Revert previous commit. Value lists are by definition
20550 not fixed, as they are a list of possible values.
20552 2005-11-21 Andy Wingo <wingo@pobox.com>
20554 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20555 during the stable series if we need it. Fixes #319178.
20557 * gst/gstevent.c (gst_event_new_filler): Removed.
20559 * check/gst/gstevent.c: Update comment about filler events.
20561 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20563 * gst/gstvalue.c: (gst_value_is_fixed):
20564 Should handle both value arrays and value lists.
20566 2005-11-21 Andy Wingo <wingo@pobox.com>
20568 patch by: Alessandro Dessina <alessandro nnva org>
20570 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20571 functions to access arrays. Fixes #321962.
20573 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20575 * docs/gst/gstreamer.types:
20576 gst_collectpads_get_type => gst_collect_pads_get_type.
20578 * gst/base/gstbasetransform.c:
20579 Remove unused SIGNAL_HANDOFF enum.
20581 2005-11-21 Andy Wingo <wingo@pobox.com>
20583 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20584 the event type (upstream, downstream, serialized). Renamed
20585 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20586 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20587 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20589 * gst/gstevent.c: Update for new CUSTOM event names.
20591 * check/gst/gstevent.c: Update check for new CUSTOM event names.
20594 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20597 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20599 * docs/gst/gstreamer-sections.txt:
20600 * win32/common/libgstbase.def:
20601 * win32/libgstbase.def:
20602 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20603 (gst_collect_pads_class_init), (gst_collect_pads_init),
20604 (gst_collect_pads_finalize), (gst_collect_pads_new),
20605 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20606 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20607 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20608 (gst_collect_pads_start), (gst_collect_pads_stop),
20609 (gst_collect_pads_peek), (gst_collect_pads_pop),
20610 (gst_collect_pads_available), (gst_collect_pads_read),
20611 (gst_collect_pads_flush), (gst_collect_pads_event),
20612 (gst_collect_pads_chain):
20613 * gst/base/gstcollectpads.h:
20614 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20615 unimplemented functions as unimplemented. Add padding to
20616 GstCollectData. (#320766, #320423)
20618 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
20620 * gst/gstmessage.c:
20621 Improve docs for DURATION message (usage of duration parameter)
20624 2005-11-20 Wim Taymans <wim@fluendo.com>
20626 * check/Makefile.am:
20627 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20631 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20632 (gst_segment_set_seek), (gst_segment_set_newsegment),
20633 (gst_segment_to_stream_time), (gst_segment_to_running_time),
20634 (gst_segment_clip):
20635 * gst/gstsegment.h:
20636 Added segment helper structure and methods. Not fully implemented
20638 Added segment check.
20640 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
20642 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20643 Add a deserialisation test for fractions
20644 * examples/metadata/read-metadata.c: (message_loop),
20645 (make_pipeline), (main):
20646 Fix up metadata reading sample.
20647 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20649 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20650 Don't try and fixate empty caps
20651 * gst/gst_private.h:
20652 Wrap in G_BEGIN_DECLS/G_END_DECLS
20653 * gst/gstvalue.c: (gst_value_collect_fraction),
20654 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20655 (gst_value_transform_string_fraction),
20656 (gst_value_compare_fraction):
20657 Add some extra guards to ensure that we don't end up
20658 with an invalid denominator of 0 in a gstfraction and
20659 that fractions always get reduced.
20661 2005-11-20 Wim Taymans <wim@fluendo.com>
20663 * docs/gst/gstreamer-sections.txt:
20665 * gst/gstelement.c:
20674 2005-11-20 Wim Taymans <wim@fluendo.com>
20676 * docs/design/part-TODO.txt:
20678 Make a proper enum of the flag.
20680 2005-11-19 Wim Taymans <wim@fluendo.com>
20682 * docs/design/part-TODO.txt:
20683 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20684 (gst_format_to_quark), (gst_format_register):
20686 * gst/gstquery.c: (_gst_query_initialize),
20687 (gst_query_type_get_name), (gst_query_type_to_quark),
20688 (gst_query_type_register):
20690 Add type to quark and type to string conversions.
20692 2005-11-19 Andy Wingo <wingo@pobox.com>
20694 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20697 2005-11-19 Wim Taymans <wim@fluendo.com>
20699 * docs/design/part-TODO.txt:
20700 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20701 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20702 (gst_bin_handle_message_func):
20704 Make message handling overridable.
20706 2005-11-19 Andy Wingo <wingo@pobox.com>
20708 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
20711 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
20713 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
20714 is a GstClockTime. Fixes #321710.
20716 * gst/gstclock.h (GstClock): Remove offset property. Add
20717 internal_calibration and external_calibration. Fix padding. Pad
20718 also by GstClockTime so we don't run into problems.
20720 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
20721 (gst_clock_get_rate_offset): Remove.
20722 (gst_clock_set_time_adjust): Remove. Fixes #321712.
20725 * gst/gstutils.c (g_static_rec_cond_wait)
20726 (g_static_rec_cond_timed_wait): Removed, no longer needed.
20728 * gst/gstbin.c: Remove terrible continue_state prototype.
20730 * gst/gstelement.h (gst_element_continue_state): Make public.
20732 * gst/gstelement.h:
20733 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
20734 by continue_state. Fixes #319389.
20736 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
20737 Really fixes #168438. However I don't see anywhere where the
20738 filter function is called... stupid GStreamer...
20740 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
20741 don't have a dispose function, so it won't get called when the
20742 object is unreffed, but oh well!
20744 * gst/gstindex.c (gst_index_set_filter_full): New API function,
20745 allows a destroy function to be set so user_data can be freed.
20747 (gst_index_set_filter): Call gst_index_set_filter_full.
20749 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
20751 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
20752 string should produce an error, given the lack of a way to
20753 represent NULL strings. Fixes #165650.
20756 * gst/gstvalue.c (gst_value_array_append_value)
20757 (gst_value_array_prepend_value, gst_value_array_get_size)
20758 (gst_value_array_get_value): New API, copied from
20759 gst_value_list_*, only operates on arrays.
20760 (gst_value_list_append_value, gst_value_list_prepend_value)
20761 (gst_value_list_concat, gst_value_list_get_size)
20762 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
20764 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
20765 init_list, because it works on both.
20766 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
20767 (gst_value_copy_list_or_array): Renamed from copy_list.
20768 (gst_value_free_list_or_array): Renamed from free_list.
20769 (gst_value_collect_list_or_array): Renamed from collect_list.
20770 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
20771 (gst_value_list_or_array_peek_pointer): Renamed from
20773 (_gst_value_array_value_table, _gst_value_list_value_table):
20774 Update value table functions.
20775 (gst_value_compare_list_or_array): Renamed from compare_list.
20777 * gsttaglist.h: Whoops, foreach function returns void. Also fix
20780 * gst/gsttaglist.c:
20781 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
20782 GstTagList*. Fixes #143472.
20784 * gst/gststructure.h: Clarify what the foreach/map functions can
20785 or can't do to their arguments.
20787 2005-11-18 Wim Taymans <wim@fluendo.com>
20789 * gst/gstclock.c: (gst_clock_set_calibration),
20790 (gst_clock_get_calibration):
20792 Calibration can be set with internal time equal to current
20795 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
20801 2005-11-18 Andy Wingo <wingo@pobox.com>
20804 * pkgconfig/gstreamer-net.pc.in:
20805 * pkgconfig/gstreamer-net-uninstalled.pc.in:
20806 * pkgconfig/Makefile.am: Add net pkgconfig files.
20808 2005-11-18 Stefan Kost <ensonic@users.sf.net>
20811 * gst/gstghostpad.c:
20817 2005-11-18 Andy Wingo <wingo@pobox.com>
20819 * gst/net/gstnetclientclock.c: Turn off debugging.
20821 * check/net/gstnetclientclock.c (test_functioning): Assert that the
20822 times connverge somewhat. Can't make a real test.
20824 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
20825 integer arithmetic. Return the minimum of the domain, which can be
20826 set as "internal" for gst_clock_set_calibration.
20827 (gst_net_client_clock_observe_times): Call _set_calibration.
20828 (gst_net_client_clock_new): Call _set_calibration instead of
20831 * check/net/gstnetclientclock.c (test_functioning): Use the right
20835 * gst/gstclock.c (gst_clock_get_calibration)
20836 (gst_clock_set_calibration): New functions, obsolete the ones I
20837 added yesterday. Doh. Precision issues mean we have to extrapolate
20838 from a point in the more recent past than 1970.
20839 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
20841 (gst_clock_adjust_unlocked): Use the right calibration data.
20843 2005-11-18 Edward Hervey <edward@fluendo.com>
20845 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20846 Also reset the ->current_* values in READY->PAUSED
20848 2005-11-18 Andy Wingo <wingo@pobox.com>
20850 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
20851 Whoops, check the right fd. Also add some debugging.
20852 (gst_net_client_clock_observe_times): Adjust for int64 offset.
20853 (do_linear_regression): Add a crapload of debugging. Subtract off
20854 the minimum values from the input series to discard unneeded bits.
20855 Use only int arithmetic. There is still double arithmetic when
20856 calculating the intercept that needs fixing. Return boolean to
20857 indicate success; FALSE would mean the domain or range is too
20858 great. Still needs fixes.
20860 2005-11-18 Wim Taymans <wim@fluendo.com>
20862 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20863 For the current position in stream time, we need to subtract
20866 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20867 Release lock before calling the callback function of async
20870 2005-11-18 Andy Wingo <wingo@pobox.com>
20872 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
20873 Port goes all the way to MAXUINT16.
20875 * gst/net/gstnettimeprovider.c: Make the port range the same as
20876 for the kernel: 0 assigns, otherwise ports are less than
20879 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
20882 * check/net/gstnetclientclock.c (test_functioning): Add the start
20885 2005-11-18 Wim Taymans <wim@fluendo.com>
20887 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20888 (gst_bin_remove_func), (bin_bus_handler):
20890 Removing a clock provider from a bin, triggers a clock lost message
20891 so that a new clock will be selected.
20892 Adding a clock to a bin triggers a clock provider message.
20893 Make sure we reselect a clock when we received a clock lost message.
20894 Keep a reference to the element that provided the clock.
20896 2005-11-18 Andy Wingo <wingo@pobox.com>
20898 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
20899 the clock initially so it produces values around the base time.
20900 (gst_net_client_clock_class_init): Typo fix.
20901 (gst_net_client_clock_thread): Add note on when the socket gets
20904 2005-11-17 Wim Taymans <wim@fluendo.com>
20906 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20907 Free remote and local time arrays.
20909 2005-11-17 Wim Taymans <wim@fluendo.com>
20911 * gst/net/gstnetclientclock.c: (do_linear_regression),
20912 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20913 Fix compilation, uninitialized vars and a forgotten continue.
20915 2005-11-17 Andy Wingo <wingo@pobox.com>
20917 * check/Makefile.am (check_PROGRAMS):
20918 * check/net/gstnetclientclock.c: Add a most minimal test for the
20919 net client clock. More to come later.
20921 * gst/net/gstnet.h:
20922 * gst/net/Makefile.am: Add netclientclock.
20924 * gst/net/gstnetclientclock.h:
20925 * gst/net/gstnetclientclock.c: New files, implement an untested
20926 GstClock that takes its time from a network time provider.
20927 Implements the algorithm in network-clock.scm.
20929 * tests/network-clock.scm (*window-size*): Rename from
20931 * tests/network-clock.scm (network-time):
20932 * tests/network-clock-utils.scm (q-push): Update callers.
20934 2005-11-17 Wim Taymans <wim@fluendo.com>
20936 * gst/gstbin.c: (gst_bin_provide_clock_func),
20937 (gst_bin_sort_iterator_new):
20938 And unref the child too..
20940 2005-11-17 Wim Taymans <wim@fluendo.com>
20942 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20943 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20944 Refactor the sort iterator so it can be used while holding the
20946 Make clock selection select a clock closest to the source.
20948 2005-11-17 Michael Smith <msmith@fluendo.com>
20950 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20951 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20953 Anonymous structs are a gcc (and some other compilers) extension, so
20954 don't use them. Since this is only for ABI-compatibility, and our
20955 API/ABI freeze is over in a few days, this whole thing will only
20956 last a few days, so don't bother trying to think up a meaningful
20957 name for the struct.
20959 2005-11-17 Andy Wingo <wingo@pobox.com>
20961 * gst/gstclock.h (GstClock): Add rate and offset properties,
20962 preserving ABI stability. Add rate/offset accessors. Will file bug
20963 for the freeze break.
20965 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20966 and offset, trying to keep precision and avoiding
20967 underflow/overflow.
20968 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20969 functions. Make gst_clock_set_time_adjust obsolete.
20970 (gst_clock_set_time_adjust): Note that this function is obsolete.
20971 Will file bug soon.
20973 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20974 greppable by using GST_PADDING-1+1.
20976 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20978 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20980 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20981 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20983 * gst/gstpadtemplate.h:
20984 * gst/gstpluginfeature.h:
20985 Don't use c++ style comments in headers (#321638).
20987 2005-11-16 Andy Wingo <wingo@pobox.com>
20989 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20992 * check/net/gstnettimeprovider.c: Check to see that the time
20993 provider actually provides times. Works, yo!
20995 2005-11-16 Wim Taymans <wim@fluendo.com>
20997 * check/Makefile.am:
21000 * check/elements/fakesrc.c: (GST_START_TEST):
21001 Set element to NULL before disposing it.
21003 2005-11-16 Andy Wingo <wingo@pobox.com>
21005 * gst/net/Makefile.am:
21006 * gst/net/gstnet.h:
21007 * gst/net/gstnettimeprovider.c:
21008 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21009 provider, include it from gstnet.h, and add it to the build.
21011 * gst/net/gstnettimepacket.h:
21012 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21013 sending and receiving.
21015 2005-11-16 Wim Taymans <wim@fluendo.com>
21017 * check/Makefile.am:
21018 Enable valgrind check.
21020 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21021 (gst_fake_src_alloc_buffer):
21024 2005-11-16 Wim Taymans <wim@fluendo.com>
21026 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21027 Call parent finalize too.
21029 2005-11-16 Wim Taymans <wim@fluendo.com>
21031 * check/Makefile.am:
21032 Enable valgrind check that should work fine now.
21034 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21035 * gst/gstqueue.c: (gst_queue_init):
21036 Fix memleaks in pad allocation.
21038 2005-11-16 Andy Wingo <wingo@pobox.com>
21040 * gst/net/Makefile.am:
21041 * gst/net/gstnet.h: New part of core to hold network elements and
21042 objects. Put in core because it exposes API that applications want
21043 to use. The library is named libgstnet-tempname right now because
21044 of the existing libgstnet in gst-plugins-base. Solution is
21045 probably to rename the one in plugins-base; will file a bug for
21048 * gst/net/gstnettimeprovider.c:
21049 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21050 get_time call over the network.
21053 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21055 * check/Makefile.am:
21056 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21057 get additions shortly.
21059 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21061 * gst/gstpad.c: (gst_pad_new_from_static_template):
21063 add gst_pad_new_from_static_template functions
21064 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21065 (gst_check_setup_sink_pad):
21066 * gst/elements/gsttee.c: (gst_tee_init):
21069 2005-11-16 Wim Taymans <wim@fluendo.com>
21071 * gst/gstpad.c: (gst_pad_pause_task):
21072 Removed warning, it's not really an error either.
21074 2005-11-16 Wim Taymans <wim@fluendo.com>
21076 * gst/base/gstbasetransform.c:
21077 (gst_base_transform_prepare_output_buf),
21078 (gst_base_transform_event):
21079 Check if the caps are NULL, this can happen if the element
21080 is shutting down and the pad caps are set to NULL.
21082 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21084 * gst/elements/gsttee.c: (gst_tee_init):
21085 fix pad template leak in tee
21087 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21089 * gst/glib-compat.c: (g_value_dup_gst_object):
21090 * gst/glib-compat.h:
21091 * gst/gstpad.c: (gst_pad_set_property):
21092 use gst_object_ref when setting the pad template; this will
21093 trigger the pad template leaks on GLib 2.6 and the slaves
21095 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21097 * gst/glib-compat.c: (gst_flags_get_first_value):
21098 * gst/glib-compat.h:
21099 * gst/gstregistryxml.c:
21100 remove functions copied from GLib 2.6
21102 2005-11-16 Michael Smith <msmith@fluendo.com>
21105 Don't link against VALGRIND_LIBS. That was always the wrong thing to
21106 do, but only breaks with newer valgrind versions. We're not a
21107 valgrind tool, we have no link-time dependencies on libcoregrind.
21109 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21111 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21113 * gst/gstmessage.h:
21116 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
21118 * gst/base/gstbasesrc.c: (gst_base_src_init):
21119 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21120 * gst/gstqueue.c: (gst_queue_init):
21121 * gst/gstregistryxml.c: (load_feature):
21122 Revert all these unrefs, they don't even pass make check !
21124 2005-11-15 Johan Dahlin <johan@gnome.org>
21126 * gst/base/gstbasesrc.c: (gst_base_src_init):
21127 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21128 * gst/gstqueue.c: (gst_queue_init):
21129 Free pad templates, fixes a couple of leaks.
21131 2005-11-15 Daniel Fischer <dan at f3c dot com>
21133 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21135 * gst/gstpad.c: (gst_pad_get_property):
21136 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21137 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21140 2005-11-15 Wim Taymans <wim@fluendo.com>
21145 2005-11-15 Andy Wingo <wingo@pobox.com>
21147 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21149 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21150 using GST_CLOCK_TIME_NONE to disable base time management.
21151 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21152 time if it was NONE before.
21153 (gst_pipeline_change_state): Only munge the base time if
21154 stream_time != GST_CLOCK_TIME_NONE.
21156 * check/gst/gstpipeline.c (test_base_time): Punt around the
21157 problem of the probe not being called, because that's not the
21158 issue I'm looking at. Add a check that setting stream_time to NONE
21159 disables base time management.
21161 2005-11-15 Wim Taymans <wim@fluendo.com>
21163 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21164 segment_stop == -1 at startup.
21166 * gst/base/gstbasetransform.c: (gst_base_transform_event),
21167 (gst_base_transform_change_state):
21168 Init segment values at start.
21170 2005-11-15 Wim Taymans <wim@fluendo.com>
21172 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21173 0 segment values are 0 in any format.
21175 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21176 * gst/base/gstbasetransform.h:
21177 Parse newsegment correctly in basetransform
21179 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21180 Sync to clock using updated segment values.
21182 2005-11-15 Andy Wingo <wingo@pobox.com>
21184 * check/gst/gstpipeline.c (test_base_time): Add check that the
21185 base time and stream time are reset correctly.
21187 2005-11-15 Wim Taymans <wim@fluendo.com>
21189 * docs/design/part-TODO.txt:
21190 Some more TODO items.
21192 2005-11-15 Andy Wingo <wingo@pobox.com>
21194 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21195 error if the user selected "no clock" as the clocking method.
21197 * check/gst/gstpipeline.c (test_base_time): New test for buffer
21198 timestamps with live capture.
21200 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21201 is 0 but we are a live source, timestamp the buffers using the
21204 2005-11-14 Stefan Kost <ensonic@users.sf.net>
21206 * docs/gst/gstreamer-sections.txt:
21208 * gst/gstghostpad.c:
21213 2005-11-14 Wim Taymans <wim@fluendo.com>
21216 add suppressions from Wim's Debian machine
21218 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
21221 add suppressions from Andy's AMD64 Ubuntu machine
21223 2005-11-14 Andy Wingo <wingo@pobox.com>
21225 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21226 STATE_LOCK not necessary. Fixes #311489.
21228 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21231 * gst/gstindex.c (gst_index_add_object): Note in the docs that
21232 this function is not implemented.
21234 2005-11-14 Julien MOUTTE <julien@moutte.net>
21236 * gst/base/gstbasetransform.c:
21237 (gst_base_transform_prepare_output_buf):
21238 Ref the source pad caps while we need them.
21241 2005-11-11 Wim Taymans <wim@fluendo.com>
21243 * docs/gst/gstreamer-sections.txt:
21244 Added some docs for GstCollectData.
21246 * gst/base/gstadapter.c:
21247 Some small code example fix.
21249 * gst/base/gstcollectpads.c:
21250 * gst/base/gstcollectpads.h:
21251 Document some more.
21253 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21255 * configure.ac: back to HEAD
21257 === release 0.9.5 ===
21259 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
21262 releasing 0.9.5, "Bike Lunch Day"
21264 2005-11-11 Wim Taymans <wim@fluendo.com>
21266 * gst/gstbuffer.c: (_gst_buffer_copy):
21269 * gst/gstcaps.c: (gst_caps_is_equal):
21271 Make _is_equal fast in the trivial cases.
21273 * gst/gstminiobject.c:
21274 * gst/gstminiobject.h:
21275 More docs. Spifify .h file.
21280 2005-11-11 Wim Taymans <wim@fluendo.com>
21282 * gst/base/gstbasetransform.c:
21283 (gst_base_transform_prepare_output_buf),
21284 (gst_base_transform_handle_buffer):
21286 If we're processing a buffer and need to allocate an output
21287 buffer, we cannot accept a format change. If we did get a
21288 format change, we have to alloc a buffer ourselves of the
21291 2005-11-11 Wim Taymans <wim@fluendo.com>
21293 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21294 While checking the flag for reentrancy in the gstcaps function
21295 is nice to detect recursive invocations, it also makes it
21296 impossible to call getcaps from multiple threads, which must be
21297 possible. So, checking for recursive calls has to go.
21299 2005-11-11 Michael Smith <msmith@fluendo.com>
21301 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21302 Don't sync on buffers that fall partially outside our current
21303 segment. Prevents an assertion failure/abort playing some files.
21305 2005-11-10 Andy Wingo <wingo@pobox.com>
21307 * check/gst/gstbin.c (test_message_state_changed_children): Style
21310 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21311 gst_bus_poll with the signal watch. Ensures that poll and a signal
21312 watch see the same messages.
21314 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21315 a poll and a watch at the same time get the same messages.
21317 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21319 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21320 * gst/gstcaps.c: (gst_caps_intersect):
21321 Don't call gst_caps_do_simplify - it doesn't respect order of caps
21322 and it's not needed.
21324 2005-11-10 Wim Taymans <wim@fluendo.com>
21326 * docs/design/part-TODO.txt:
21329 2005-11-10 Wim Taymans <wim@fluendo.com>
21331 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21332 * gst/base/gstbasesrc.c: (gst_base_src_wait),
21333 (gst_base_src_do_sync), (gst_base_src_get_range):
21334 Implement clock sync in base class.
21336 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
21338 patch by: Tim-Philipp Müller <tim at centricular dot net>
21340 * gst/gststructure.c: (gst_structure_parse_field),
21341 (gst_structure_from_string):
21342 Forward-port a 0.8 patch to handle escaped spaces in structure string,
21343 so that gst_parse_launch() can deal with spaces in filtered link
21344 caps (fixes #164479)
21345 * check/gst/capslist.h:
21346 * check/gst/gststructure.c: (GST_START_TEST):
21347 add unit tests for this change
21349 2005-11-10 Wim Taymans <wim@fluendo.com>
21351 * docs/gst/gstreamer-sections.txt:
21352 * gst/gstelement.c:
21353 * gst/gstelement.h:
21354 Fix docs, move some STATE macros to private.
21356 2005-11-10 Wim Taymans <wim@fluendo.com>
21358 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21359 Added check for bug #317341
21363 Some more spiffifying.
21365 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21366 Call peer linkfunction if we are a source pad. Totally fixes
21370 Update docs, source pads should call the peer linkfunction
21371 so they can atomically perform the pad link.
21373 2005-11-09 Wim Taymans <wim@fluendo.com>
21377 Uber-spiffy-spiffify some more.
21379 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
21381 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21382 * gst/elements/gstfilesink.c: (gst_file_sink_init):
21383 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21384 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21385 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21386 * gst/gstpad.c: (gst_pad_init):
21387 Use GST_DEBUG_FUNCPTR() more extensively.
21389 2005-11-09 Wim Taymans <wim@fluendo.com>
21391 * gst/gstobject.c: (gst_object_class_init):
21393 Documentation fixes.
21395 2005-11-09 Edward Hervey <edward@fluendo.com>
21397 * gst/gsttypefindfactory.c:
21400 2005-11-09 Edward Hervey <edward@fluendo.com>
21402 * gst/base/gsttypefindhelper.c:
21403 * gst/gsttypefind.c:
21404 * gst/gsttypefind.h:
21407 2005-11-09 Wim Taymans <wim@fluendo.com>
21409 * gst/gstiterator.c:
21416 2005-11-09 Wim Taymans <wim@fluendo.com>
21422 2005-11-09 Wim Taymans <wim@fluendo.com>
21424 * docs/gst/gstreamer-sections.txt:
21425 Moved the message async delivery private lock and cond
21426 to the private section.
21428 * gst/gstmessage.c:
21429 * gst/gstmessage.h:
21432 2005-11-09 Edward Hervey <edward@fluendo.com>
21434 * docs/gst/gstreamer-sections.txt:
21437 Document GstURIHandler
21439 2005-11-09 Wim Taymans <wim@fluendo.com>
21441 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21442 (gst_iterator_find_custom):
21443 * gst/gstiterator.h:
21446 2005-11-09 Wim Taymans <wim@fluendo.com>
21449 Document another field.
21451 * gst/gststructure.c:
21452 * gst/gststructure.h:
21455 2005-11-09 Wim Taymans <wim@fluendo.com>
21458 Documented structs.
21460 2005-11-09 Wim Taymans <wim@fluendo.com>
21462 * docs/gst/gstreamer-sections.txt:
21463 Added some new macros.
21470 2005-11-09 Wim Taymans <wim@fluendo.com>
21472 * docs/design/part-TODO.txt:
21473 Some more items for the TODO
21479 2005-11-09 Andy Wingo <wingo@pobox.com>
21481 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21482 to work on something else now tho...
21484 * gst/base/gstadapter.c: More adapter docs.
21486 * gst/elements/gstfilesink.c (gst_file_sink_start)
21487 (gst_file_sink_stop): New functions, replace the state change
21489 (gst_file_sink_class_init): Hook up the start and stop functions.
21490 (gst_file_sink_base_init): Don't set the state change handler any
21491 more. It was a bit ugly too, being set from here...
21492 (gst_file_sink_get_property, gst_file_sink_set_property):
21494 (gst_file_sink_set_location): More robust check that doesn't call
21495 GST_STATE. Ugggggg.
21497 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
21499 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21500 Hold STREAM_LOCK while pushing newsegment or tag events as well.
21502 2005-11-08 Wim Taymans <wim@fluendo.com>
21504 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21505 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21506 (gst_base_sink_chain), (gst_base_sink_change_state):
21507 * gst/base/gstbasesink.h:
21508 * gst/base/gstbasesrc.h:
21509 * gst/gstelement.h:
21511 Avoid excessive typechecking in macros.
21513 * gst/gstminiobject.c: (gst_mini_object_get_type),
21514 (gst_mini_object_init), (gst_mini_object_new),
21515 (gst_mini_object_free):
21516 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21517 (gst_object_finalize):
21518 Remove cruft code, optimize alloc_trace.
21520 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
21522 * docs/faq/gst-uninstalled:
21523 fix up PS1 for systems that try to reset it
21525 2005-11-07 Wim Taymans <wim@fluendo.com>
21527 * gst/base/gstbasesrc.c: (gst_base_src_init),
21528 (gst_base_src_get_range):
21529 Set the segment_end to -1 initially. Fixed typefind.
21531 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
21533 * gst/base/gstadapter.c:
21534 Debug category should be 'adapter', not 'GstAdapter'.
21536 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21537 (gst_collectpads_class_init), (gst_collectpads_init),
21538 (gst_collectpads_peek), (gst_collectpads_pop),
21539 (gst_collectpads_event), (gst_collectpads_chain):
21540 Add debug category and some debugging output. Use boilerplate
21541 macros. Remove some extraneous words from docs.
21543 2005-11-05 Andy Wingo <wingo@pobox.com>
21545 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21548 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21550 * docs/gst/gstreamer-sections.txt:
21553 * gst/gstminiobject.h:
21558 2005-11-04 Wim Taymans <wim@fluendo.com>
21560 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21561 Small update to stop at the configured segment_end
21564 2005-11-04 Stefan Kost <ensonic@users.sf.net>
21566 * gst/gstregistry.c:
21567 * gst/gstregistry.h:
21570 2005-11-04 Edward Hervey <edward@fluendo.com>
21572 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21573 Check if we are doing a segment seek and have arrived at the
21574 end of that segment.
21576 2005-11-04 Wim Taymans <wim@fluendo.com>
21578 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21579 Don't leak a mutex unlock in case of an error.
21584 2005-11-04 Wim Taymans <wim@fluendo.com>
21586 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21588 Get the context to wake up only once.
21590 2005-11-03 Wim Taymans <wim@fluendo.com>
21592 * check/states/sinks.c: (GST_START_TEST):
21593 Uncomment fixed check.
21595 * docs/design/part-TODO.txt:
21598 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21599 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21600 (gst_base_sink_get_position):
21601 If we are going to PLAYING, post the right pending state
21602 when we post the intermediate paused message.
21604 * gst/gstelement.c: (gst_element_continue_state),
21605 (gst_element_set_state_func), (gst_element_change_state):
21606 Don't post state changes that were between the same state
21607 and were not ASYNC.
21609 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21611 * docs/gst/gstreamer-sections.txt:
21614 * gst/gstminiobject.h:
21617 more docs and doc style fixes
21619 2005-11-03 Stefan Kost <ensonic@users.sf.net>
21621 * docs/gst/gstreamer-sections.txt:
21622 * gst/gstelement.c:
21623 * gst/gstminiobject.c:
21626 2005-11-03 Andy Wingo <wingo@pobox.com>
21628 * check/states/sinks.c (test_livesrc_sink): Add checks that the
21629 state-changed messages actually have the right order and the right
21632 2005-11-03 Wim Taymans <wim@fluendo.com>
21634 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21635 Added some more checks. Specifically the case where NO_PREROLL
21636 elements are in the pipeline.
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 Post READY->PAUSED state change messages too.
21642 Fix bug where VOID was posted as pending state...
21644 * gst/gstbin.c: (gst_bin_recalc_state):
21645 use _element_continue_state() to continue the state change.
21647 * gst/gstelement.c: (gst_element_continue_state),
21648 (gst_element_commit_state), (gst_element_set_state_func),
21649 (gst_element_change_state), (gst_element_change_state_func):
21650 Lots of state change cleanups, assign the STATE_RETURN in
21651 a new continue_state() function that also propagates the
21652 last return value from a state change to the app.
21653 Update some debug statements with proper category.
21655 2005-11-03 Wim Taymans <wim@fluendo.com>
21657 * docs/design/part-events.txt:
21658 * docs/design/part-gstpipeline.txt:
21659 * docs/design/part-messages.txt:
21660 * docs/design/part-overview.txt:
21661 * docs/design/part-seeking.txt:
21662 * docs/design/part-states.txt:
21663 * docs/design/part-trickmodes.txt:
21664 * docs/manual/advanced-position.xml:
21665 Small docs updates.
21668 People think !! is ugly, this looks better.
21670 * gst/gstpad.c: (gst_pad_set_blocked_async):
21671 Remove !! since it's fixed elsewhere now.
21673 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21675 * gst/gstminiobject.h:
21677 Add !! to _FLAG_IS_SET macros to make the result boolean.
21679 2005-11-03 Edward Hervey <edward@fluendo.com>
21681 * gst/gstpad.c: (gst_pad_set_blocked_async):
21682 comparing a flag and a gboolean rarely returns coherent results...
21683 Added two characters (!!) to make that work correctly.
21685 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21687 * gst/gstbus.c: (gst_bus_class_init):
21690 * gst/gstqueue.c: (gst_queue_loop):
21691 Don't assume a miniobject that isn't a buffer is an
21692 event (it could be that there is a refcounting
21693 problem somewhere and the pointer is stale and
21694 refers to an already destroyed miniobject).
21696 2005-11-03 Julien MOUTTE <julien@moutte.net>
21698 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21700 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
21702 * docs/manual/advanced-position.xml:
21703 Update seek example and explanations to current 0.9 API.
21705 * gst/elements/gsttypefindelement.c:
21706 (gst_type_find_element_activate):
21707 Remove FIXME comment now that the found caps
21710 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
21712 * gst/gstregistryxml.c: (load_feature):
21713 Add another GST_STR_NULL instance
21715 2005-11-02 Edward Hervey <edward@fluendo.com>
21717 * gst/gstpad.c: (handle_pad_block):
21718 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
21720 2005-11-02 Wim Taymans <wim@fluendo.com>
21725 * gst/gstelement.c: (gst_element_commit_state):
21726 Remove unused value.
21728 * gst/gstiterator.c:
21729 Mention that the returned element is reffed in the docs.
21731 2005-11-02 Wim Taymans <wim@fluendo.com>
21733 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
21734 (gst_pad_push), (gst_pad_push_event):
21735 Unlock blocked pads when they are flushed.
21737 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21740 * docs/gst/gstreamer-sections.txt:
21743 * gst/gstregistry.c: (gst_registry_scan_path_level):
21744 fix for a nasty little missed situation where an installed plug-in
21745 which was in the cache did not get overridden by an uninstalled one
21746 which was earlier in the plugin path because the newly created plugin
21747 for the uninstalled one (not in the registry) didn't get its
21748 ->registered set to TRUE
21750 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21752 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
21753 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
21754 (gst_collectpads_is_active), (gst_collectpads_collect),
21755 (gst_collectpads_collect_range), (gst_collectpads_start),
21756 (gst_collectpads_stop), (gst_collectpads_peek),
21757 (gst_collectpads_pop), (gst_collectpads_available),
21758 (gst_collectpads_read), (gst_collectpads_flush):
21759 Guard public API with assertions.
21762 Fix docs for gst_pad_set_link_function().
21764 2005-11-02 Johan Dahlin <johan@gnome.org>
21766 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
21767 Unref found_caps after we used it.
21769 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
21771 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
21772 Don't try to ref NULL.
21774 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21776 * win32/common/config.h.in:
21777 provide a GST_FUNCTION that just gives a string for now
21779 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
21781 * win32/common/gstenumtypes.c: (register_gst_object_flags),
21782 (gst_object_flags_get_type), (register_gst_bin_flags),
21783 (gst_bin_flags_get_type), (register_gst_buffer_flag),
21784 (gst_buffer_flag_get_type), (register_gst_bus_flags),
21785 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
21786 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
21787 (gst_clock_return_get_type), (register_gst_clock_entry_type),
21788 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
21789 (gst_clock_flags_get_type), (register_gst_state),
21790 (gst_state_get_type), (register_gst_state_change_return),
21791 (gst_state_change_return_get_type), (register_gst_state_change),
21792 (gst_state_change_get_type), (register_gst_element_flags),
21793 (gst_element_flags_get_type), (register_gst_core_error),
21794 (gst_core_error_get_type), (register_gst_library_error),
21795 (gst_library_error_get_type), (register_gst_resource_error),
21796 (gst_resource_error_get_type), (register_gst_stream_error),
21797 (gst_stream_error_get_type), (register_gst_event_type),
21798 (gst_event_type_get_type), (register_gst_seek_type),
21799 (gst_seek_type_get_type), (register_gst_seek_flags),
21800 (gst_seek_flags_get_type), (register_gst_format),
21801 (gst_format_get_type), (register_gst_index_certainty),
21802 (gst_index_certainty_get_type), (register_gst_index_entry_type),
21803 (gst_index_entry_type_get_type),
21804 (register_gst_index_lookup_method),
21805 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
21806 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
21807 (gst_index_resolver_method_get_type), (register_gst_index_flags),
21808 (gst_index_flags_get_type), (register_gst_debug_level),
21809 (gst_debug_level_get_type), (register_gst_debug_color_flags),
21810 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
21811 (gst_iterator_result_get_type), (register_gst_iterator_item),
21812 (gst_iterator_item_get_type), (register_gst_message_type),
21813 (gst_message_type_get_type), (register_gst_mini_object_flags),
21814 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
21815 (gst_pad_link_return_get_type), (register_gst_flow_return),
21816 (gst_flow_return_get_type), (register_gst_activate_mode),
21817 (gst_activate_mode_get_type), (register_gst_pad_direction),
21818 (gst_pad_direction_get_type), (register_gst_pad_flags),
21819 (gst_pad_flags_get_type), (register_gst_pad_presence),
21820 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
21821 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
21822 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
21823 (gst_plugin_error_get_type), (register_gst_plugin_flags),
21824 (gst_plugin_flags_get_type), (register_gst_rank),
21825 (gst_rank_get_type), (register_gst_query_type),
21826 (gst_query_type_get_type), (register_gst_tag_merge_mode),
21827 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
21828 (gst_tag_flag_get_type), (register_gst_task_state),
21829 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
21830 (gst_alloc_trace_flags_get_type),
21831 (register_gst_type_find_probability),
21832 (gst_type_find_probability_get_type), (register_gst_uri_type),
21833 (gst_uri_type_get_type), (register_gst_parse_error),
21834 (gst_parse_error_get_type):
21835 * win32/common/gstversion.h:
21836 update win32 copies
21838 2005-11-01 Luca Ognibene <luogni@tin.it>
21841 fix docs. popt is dead, long live GOption.
21843 2005-10-31 Wim Taymans <wim@fluendo.com>
21848 2005-10-31 Andy Wingo <wingo@pobox.com>
21852 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
21854 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
21855 need to serialize property notifications on GLib 2.8. GLib 2.6 has
21856 the possibility of deadlocks here if code calling notify() or
21857 set() has a lock that can be taken in another notify handler (ABBA
21858 with class lock and e.g. python GIL state lock).
21860 2005-10-28 Julien MOUTTE <julien@moutte.net>
21862 * gst/gstbus.c: Doc updates.
21864 2005-10-28 Wim Taymans <wim@fluendo.com>
21866 * docs/design/part-TODO.txt:
21867 * gst/gstiterator.c:
21868 * gst/gstsystemclock.c:
21869 * gst/gstsystemclock.h:
21872 2005-10-28 Edward Hervey <edward@fluendo.com>
21874 * docs/gst/gstreamer-docs.sgml:
21875 * docs/gst/gstreamer-sections.txt:
21876 the GstURIType documentation page is private, it only defines GstURIType
21877 which should be defined in the GstURIHandler page
21879 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
21881 * gst/gstbin.c: (gst_bin_class_init):
21884 Documentation updates.
21886 2005-10-28 Wim Taymans <wim@fluendo.com>
21888 * docs/gst/gstreamer-sections.txt:
21891 Documented the clocks.
21893 2005-10-28 Stefan Kost <ensonic@users.sf.net>
21895 * docs/gst/gstreamer-sections.txt:
21896 move some macros to private sections
21897 * gst/gstminiobject.c:
21898 * gst/gstminiobject.h:
21899 add descriptions provided by ds and some more
21901 mark macro as to be removed
21903 2005-10-28 Wim Taymans <wim@fluendo.com>
21905 * docs/design/part-TODO.txt:
21906 Add an item to TODO.
21908 * gst/gstiterator.c: (gst_iterator_fold),
21909 (gst_iterator_find_custom):
21910 * gst/gstiterator.h:
21913 2005-10-28 Wim Taymans <wim@fluendo.com>
21915 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21916 (gst_base_transform_init):
21919 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21920 An EOS event marks the queue as completely filled.
21922 2005-10-27 Wim Taymans <wim@fluendo.com>
21924 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21925 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21926 Some more debugging.
21928 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21929 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21930 (gst_base_transform_event), (gst_base_transform_getrange),
21931 (gst_base_transform_chain):
21932 * gst/base/gstbasetransform.h:
21934 Protect transform and concurrent buffer alloc with a new lock.
21935 Try not to break ABI/API.
21937 2005-10-27 Wim Taymans <wim@fluendo.com>
21939 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21940 (gst_base_src_init), (gst_base_src_query),
21941 (gst_base_src_default_newsegment),
21942 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21943 (gst_base_src_send_event), (gst_base_src_event_handler),
21944 (gst_base_src_pad_get_range), (gst_base_src_loop),
21945 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21946 (gst_base_src_start), (gst_base_src_deactivate),
21947 (gst_base_src_activate_push), (gst_base_src_change_state):
21948 Move some stuff around and cleanup things.
21950 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21952 * gst/base/gstbasesrc.c: (gst_base_src_query):
21953 Add missing break statements.
21955 2005-10-27 Wim Taymans <wim@fluendo.com>
21957 * check/gst/gstbin.c: (GST_START_TEST):
21958 An extra refcount is taken in basesrc.
21960 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21961 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21962 (gst_base_src_loop):
21963 Small cleanups, check for flushing after being unlocked from the
21964 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21965 Don't send out EOS when going to READY.
21967 2005-10-27 Wim Taymans <wim@fluendo.com>
21969 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21970 (gst_base_sink_get_position):
21973 * gst/gstbin.c: (message_check), (bin_replace_message),
21974 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21975 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21976 (bin_query_duration_init), (bin_query_duration_fold),
21977 (bin_query_duration_done), (bin_query_generic_fold),
21979 * tools/gst-launch.c: (main):
21982 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21984 * examples/controller/audio-example.c: (main):
21985 * examples/queue/queue.c: (event_loop):
21986 * gst/base/gstbasetransform.h:
21987 * gst/gstelement.c: (gst_element_send_event):
21989 * gst/gstpad.c: (gst_pad_send_event):
21992 changing log priority in error situations
21994 2005-10-25 Wim Taymans <wim@fluendo.com>
21996 * gst/gstbin.c: (message_check), (bin_replace_message),
21997 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21998 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21999 (bin_query_duration_init), (bin_query_duration_fold),
22000 (bin_query_duration_done), (bin_query_generic_fold),
22002 Some doc and debug updates.
22003 Cache previously requested query DURATION for speed. invalidate
22004 cached duration if element posts a DURATION message.
22006 2005-10-25 Wim Taymans <wim@fluendo.com>
22008 * docs/design/part-TODO.txt:
22011 * gst/gstbin.c: (message_check), (bin_replace_message),
22012 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22013 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22014 (bin_query_duration_init), (bin_query_duration_fold),
22015 (bin_query_duration_done), (bin_query_generic_fold),
22017 Handle SEGMENT_START/DONE messages correctly.
22018 More evolved query algorithm that handles duration queries
22021 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22022 (gst_element_get_state_func), (gst_element_abort_state),
22023 (gst_element_commit_state), (gst_element_lost_state):
22024 Some more debugging.
22026 * gst/gstmessage.h:
22029 2005-10-25 Wim Taymans <wim@fluendo.com>
22031 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22032 Don't use invalid stream_time.
22034 * gst/gstevent.c: (gst_event_new_newsegment):
22035 stream_time in newsegment cannot be undefined.
22037 2005-10-24 Wim Taymans <wim@fluendo.com>
22042 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22044 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22046 2005-10-24 Stefan Kost <ensonic@users.sf.net>
22048 * docs/libs/tmpl/gstdparam.sgml:
22049 * docs/libs/tmpl/gstdplinint.sgml:
22050 * docs/libs/tmpl/gstdpman.sgml:
22051 * docs/libs/tmpl/gstdpsmooth.sgml:
22052 * docs/libs/tmpl/gstunitconvert.sgml:
22055 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
22060 === release 0.9.4 ===
22062 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22065 releasing 0.9.4, "Tyrannosaurus Rex"
22067 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
22069 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22070 (gst_file_sink_get_current_offset):
22071 Use fseeko() and ftello() if available. When falling back on
22072 lseek() to get the current offset, fflush() first to make sure
22073 everything is up-to-date and we get the right offset.
22075 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
22077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22078 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22079 * gst/gsterror.c: (_gst_stream_errors_init):
22081 * gst/gstqueue.c: (gst_queue_loop):
22083 remove prematurely added error category and clean up the instances
22085 2005-10-21 Wim Taymans <wim@fluendo.com>
22087 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22088 (gst_base_sink_get_position), (gst_base_sink_query),
22089 (gst_base_sink_change_state):
22090 Simply set the right flag when going to playing, that's all
22091 we need to do instead of calling a function inside the object
22092 lock (that could take the lock as well and deadlock)
22094 2005-10-21 Wim Taymans <wim@fluendo.com>
22096 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22097 (gst_base_src_loop):
22098 Don't warn, the peer element knows what to do best when
22099 the seek failed, it might try something else.
22101 2005-10-21 Wim Taymans <wim@fluendo.com>
22103 * gst/base/gstbasesrc.c: (gst_base_src_init),
22104 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22107 2005-10-21 Wim Taymans <wim@fluendo.com>
22109 * docs/design/part-segments.txt:
22112 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22113 Correctly set caps, even on the subbufer.
22115 2005-10-21 Wim Taymans <wim@fluendo.com>
22117 * docs/gst/gstreamer-docs.sgml:
22118 * docs/gst/gstreamer-sections.txt:
22119 * gst/gstelement.h:
22122 * gst/gstmessage.h:
22125 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22129 And 2% more doc coverage.
22131 2005-10-21 Andy Wingo <wingo@pobox.com>
22133 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22134 position reporting.
22136 2005-10-20 Wim Taymans <wim@fluendo.com>
22138 * gst/gsterror.c: (gst_error_get_message):
22141 * gst/gststructure.c:
22146 2005-10-20 Wim Taymans <wim@fluendo.com>
22151 Another 1% more coverage.
22153 2005-10-20 Wim Taymans <wim@fluendo.com>
22155 * docs/gst/gstreamer-sections.txt:
22156 * gst/gstelement.c: (gst_element_get_state_func),
22157 (gst_element_abort_state), (gst_element_commit_state),
22158 (gst_element_lost_state):
22160 * gst/gstquery.c: (gst_query_set_position),
22161 (gst_query_parse_position), (gst_query_set_duration),
22162 (gst_query_parse_duration), (gst_query_new_convert):
22164 Yay! 1% more docs coverage.
22166 2005-10-20 Wim Taymans <wim@fluendo.com>
22169 * gst/gstquery.c: (gst_query_set_position),
22170 (gst_query_parse_position), (gst_query_set_duration),
22171 (gst_query_parse_duration), (gst_query_new_convert):
22173 * gst/gstutils.c: (gst_element_query_convert):
22175 Docs and consistency fixes.
22177 2005-10-20 Wim Taymans <wim@fluendo.com>
22183 2005-10-20 Wim Taymans <wim@fluendo.com>
22185 * gst/gstbin.c: (message_check), (bin_replace_message),
22186 (bin_remove_messages), (is_eos), (gst_bin_add_func),
22187 (update_degree), (gst_bin_sort_iterator_next),
22188 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22189 Reworked the message handling a bit, cache the messages instead of
22190 only the senders. alows us to do more in the future.
22192 2005-10-20 Wim Taymans <wim@fluendo.com>
22194 * docs/design/part-TODO.txt:
22197 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22198 (gst_base_sink_query):
22199 Don't use clock time to report position when in EOS.
22201 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
22203 * tools/gst-inspect.c: (print_interfaces),
22204 (print_element_properties_info), (print_element_info):
22205 Fix interface output with gst-inspect -a; don't print
22206 newlines after double/float properties.
22208 2005-10-20 Wim Taymans <wim@fluendo.com>
22210 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22211 (gst_base_sink_query):
22212 Speed up current position calculation.
22214 * gst/base/gstbasesrc.c: (gst_base_src_query),
22215 (gst_base_src_default_newsegment):
22216 Correctly set stream position in newsegment.
22218 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22219 (update_degree), (gst_bin_sort_iterator_next),
22220 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22221 * gst/gstmessage.c: (gst_message_new_custom):
22222 Clean up debugging info
22224 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22225 (gst_queue_loop), (gst_queue_handle_src_query):
22228 2005-10-19 Wim Taymans <wim@fluendo.com>
22230 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22231 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22232 Fix query handling again.
22234 2005-10-19 Wim Taymans <wim@fluendo.com>
22236 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22237 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22238 * gst/base/gstbasesrc.c: (gst_base_src_query):
22239 * gst/elements/gstfilesink.c: (gst_file_sink_query):
22240 * gst/elements/gsttypefindelement.c:
22241 (gst_type_find_handle_src_query), (find_element_get_length),
22242 (gst_type_find_element_activate):
22245 * gst/gstquery.c: (gst_query_new_position),
22246 (gst_query_set_position), (gst_query_parse_position),
22247 (gst_query_new_duration), (gst_query_set_duration),
22248 (gst_query_parse_duration), (gst_query_set_segment),
22249 (gst_query_parse_segment):
22251 Bundling query position/duration is not a good idea since duration
22252 does not change much and we don't want to recalculate it for every
22253 position query, so they are separated again..
22254 Base value in segment query is not needed.
22256 * gst/gstqueue.c: (gst_queue_handle_src_query):
22257 * gst/gstutils.c: (gst_element_query_position),
22258 (gst_element_query_duration), (gst_pad_query_position),
22259 (gst_pad_query_duration):
22261 Updates for query API change.
22262 Added some docs here and there.
22264 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
22266 * check/gst/gstbin.c: (GST_START_TEST):
22267 * check/gst/gstghostpad.c: (GST_START_TEST):
22268 * check/pipelines/cleanup.c: (GST_START_TEST):
22269 wait on thread to die so we can check refcount correctly
22271 2005-10-18 Wim Taymans <wim@fluendo.com>
22273 * check/pipelines/stress.c: (GST_START_TEST):
22274 Make check a little more time consuming.
22276 2005-10-18 Wim Taymans <wim@fluendo.com>
22278 * check/Makefile.am:
22279 * check/pipelines/stress.c: (GST_START_TEST),
22280 (simple_launch_lines_suite), (main):
22281 Small state change torture test.
22283 * docs/design/part-states.txt:
22284 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22285 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22286 (gst_base_sink_change_state):
22287 Never take state lock from streaming thread, clean up ugly
22288 hacks. Unfortunatly core does not yet support nice ways to
22289 async commit state.
22291 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22293 Start state recalc if a STATE_DIRTY message is posted, but only
22294 on the toplevel bin.
22296 * gst/gstelement.c: (gst_element_sync_state_with_parent),
22297 (gst_element_get_state_func), (gst_element_abort_state),
22298 (gst_element_commit_state), (gst_element_lost_state),
22299 (gst_element_set_state_func), (gst_element_change_state):
22300 * gst/gstelement.h:
22301 State variables are now protected with the LOCK, the state
22302 lock is only used to serialize _set_state().
22304 2005-10-18 Wim Taymans <wim@fluendo.com>
22306 * check/gst/gstbin.c: (GST_START_TEST):
22307 * check/gst/gstmessage.c: (GST_START_TEST):
22308 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22309 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22311 * gst/gstelement.c: (gst_element_abort_state),
22312 (gst_element_commit_state), (gst_element_lost_state):
22313 * gst/gstmessage.c: (gst_message_new_state_changed),
22314 (gst_message_new_state_dirty), (gst_message_new_segment_start),
22315 (gst_message_new_segment_done), (gst_message_new_duration),
22316 (gst_message_parse_state_changed),
22317 (gst_message_parse_segment_start),
22318 (gst_message_parse_segment_done), (gst_message_parse_duration):
22319 * gst/gstmessage.h:
22320 * tools/gst-launch.c: (event_loop):
22321 Seriously, this is better than a previous commit as we only need
22322 to notify the fact that an element changed state in a streaming
22323 thread, marking the state of the parents dirty, hence the
22324 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22327 2005-10-18 Wim Taymans <wim@fluendo.com>
22329 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22330 (gst_bin_recalc_func):
22331 * gst/gstelement.c: (gst_element_set_clock),
22332 (gst_element_abort_state), (gst_element_lost_state):
22333 Cleanups, prepare for state change fixes.
22335 2005-10-18 Wim Taymans <wim@fluendo.com>
22338 * gst/gstelement.c: (gst_element_class_init),
22339 (gst_element_set_state), (gst_element_set_state_func):
22340 * gst/gstelement.h:
22341 Pending ABI changes.
22342 GThreadPool in GstBinClass to monitor async state changes.
22343 state_cookie in GstElement to detect concurrent gst/set state.
22344 set_state is now virtual too in case a very complicated element
22345 has to be constructed.
22347 2005-10-18 Wim Taymans <wim@fluendo.com>
22349 * check/gst/gstbin.c: (GST_START_TEST):
22350 * check/gst/gstmessage.c: (GST_START_TEST):
22351 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22352 * gst/gstbin.c: (bin_bus_handler):
22353 * gst/gstelement.c: (gst_element_commit_state),
22354 (gst_element_lost_state):
22355 * gst/gstmessage.c: (gst_message_new_state_changed),
22356 (gst_message_new_segment_start), (gst_message_new_segment_done),
22357 (gst_message_new_duration), (gst_message_parse_state_changed),
22358 (gst_message_parse_segment_start),
22359 (gst_message_parse_segment_done), (gst_message_parse_duration):
22360 * gst/gstmessage.h:
22361 * tools/gst-launch.c: (event_loop):
22362 Make messages future proof.
22363 state-change gets a flag if it was a message comming from the
22365 segment-start/stop can also be specified in other formats.
22366 A message to notify an app that a pipeline changed playback
22368 Also fix a GstMessage leak in -launch
22370 2005-10-18 Andy Wingo <wingo@pobox.com>
22372 * gst/gstelement.c (gst_element_dispose): More helpful message.
22374 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22376 reviewed by: <delete if not using a buddy>
22378 * common/gtk-doc.mak:
22380 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
22382 * gst/gstregistry.c: (gst_registry_scan_path_level):
22383 unref a plug-in we get that was already initialized
22385 2005-10-18 Stefan Kost <ensonic@users.sf.net>
22387 * docs/gst/gstreamer-sections.txt:
22388 * docs/libs/gstreamer-libs-sections.txt:
22389 * gst/gstelement.h:
22390 add new api entries
22391 hide internal macro
22393 2005-10-17 Andy Wingo <wingo@pobox.com>
22395 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22398 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22400 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22402 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22403 (gst_element_get_state_func): Better debug message.
22404 (gst_element_commit_state): s/INFO/DEBUG/.
22405 (gst_element_lost_state, gst_element_change_state):
22407 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22408 (gst_message_new_custom): s/INFO/LOG/.
22410 2005-10-17 Michael Smith <msmith@fluendo.com>
22412 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22413 Check if end time is valid using end time, not start time.
22415 2005-10-17 Stefan Kost <ensonic@users.sf.net>
22417 * check/gst-libs/controller.c: (GST_START_TEST),
22418 (gst_controller_suite):
22419 * libs/gst/controller/gstcontroller.c:
22420 (gst_controlled_property_set_interpolation_mode):
22421 * libs/gst/controller/gstcontroller.h:
22422 * libs/gst/controller/gstinterpolation.c:
22423 * testsuite/controller/.cvsignore:
22424 * testsuite/controller/Makefile.am:
22425 * testsuite/controller/interpolator.c:
22426 merge controller testsuites
22428 remove mem-chunk from docs
22430 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22432 * gst/gstmemchunk.c:
22433 * gst/gstmemchunk.h:
22434 * gst/gsttrashstack.c:
22435 * gst/gsttrashstack.h:
22436 out. get out. you're fired. to the Attic !
22438 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
22440 * gst/gstcaps.c: (gst_caps_intersect):
22441 fix signedness issues in a (hopefully) correct way
22442 * gst/gstelement.c: (gst_element_pads_activate):
22444 * gst/gstobject.c: (gst_object_set_parent):
22447 2005-10-17 Julien MOUTTE <julien@moutte.net>
22449 * gst/gstvalue.h: Fix prototypes.
22451 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22453 * docs/gst/gstreamer-sections.txt:
22454 * gst/gst.c: (gst_version_string):
22456 * gst/gstversion.h.in:
22457 * win32/common/libgstreamer.def:
22458 add gst_version_string ()
22460 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22464 * gst/gst.c: (init_post):
22465 * win32/common/config.h.in:
22467 * gst/gstcaps.c: (gst_caps_intersect):
22468 use gint64, the range could be bigger than a guint
22470 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22473 document potential problem in 2038
22475 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22477 * gst/gstcaps.c: (gst_caps_intersect):
22478 Fix guint j diving under 0
22480 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22483 * win32/common/config.h:
22484 * win32/common/config.h.in:
22485 check for process.h, declares getpid() on Windows
22487 include process.h if we have it
22488 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22489 * gst/gstmemchunk.h:
22490 fix signedness issues
22491 * win32/common/libgstreamer.def:
22494 2005-10-16 Julien MOUTTE <julien@moutte.net>
22496 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22497 fix. Because of unsigned ints, caps intersection was going nuts and
22498 trying to access structures with G_MAXUINT index. That fixes
22499 videotestsrc ! ffmpegcolorspace ! fakesink
22500 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22503 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22506 use the gettext macro
22507 * gst/elements/gstelements.c:
22509 * gst/indexers/gstindexers.c:
22510 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22511 * win32/common/config.h:
22513 * win32/common/config.h.in:
22514 add the template to generate config.h
22515 * win32/common/gstenumtypes.c:
22516 * win32/common/gstversion.h:
22519 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
22521 * gst/gst.c: (gst_version):
22522 * gst/gstversion.h.in:
22525 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22528 Oops, add missing closing bracket.
22530 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22533 use common m4's for argument checking
22535 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
22537 * docs/gst/gstreamer-sections.txt:
22539 Add GST_EVENT_TYPE_NAME() macro.
22541 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22544 * gst/gstpluginfeature.c:
22546 privatize more symbols
22548 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22551 add srcdir, builddir includes to GST_ALL_CFLAGS, since
22552 everything that uses GStreamer API should have the includes
22554 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22556 * docs/gst/gstreamer-sections.txt:
22557 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22559 give each value a _get_type, removes the DATA exports
22561 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22565 remove _gst_registry_auto_load, not used anymore
22566 * gst/gstbin.c: (gst_bin_get_type):
22568 * gst/gstelement.c: (gst_element_get_type):
22569 * gst/gstelement.h:
22570 * gst/gstobject.c: (gst_object_get_type):
22572 * gst/gstpad.c: (gst_pad_get_type):
22574 make _get_type functions similar, fixes data export from library
22576 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22579 correctly make conditionals
22580 * gst/elements/Makefile.am:
22581 * gst/elements/gstelements.c:
22582 fix typo causing fdsrc not to build
22584 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22586 * testsuite/Makefile.am:
22587 * testsuite/bytestream/.cvsignore:
22588 * testsuite/bytestream/Makefile.am:
22589 * testsuite/bytestream/filepadsink.c:
22590 * testsuite/bytestream/gstbstest.c:
22591 * testsuite/bytestream/test1.c:
22592 * testsuite/bytestream/testfile1:
22593 * testsuite/caps/normalisation.c:
22594 * testsuite/caps/random.c: (main):
22595 * testsuite/cleanup/.cvsignore:
22596 * testsuite/cleanup/Makefile.am:
22597 * testsuite/cleanup/cleanup1.c:
22598 * testsuite/cleanup/cleanup2.c:
22599 * testsuite/cleanup/cleanup3.c:
22600 * testsuite/cleanup/cleanup4.c:
22601 * testsuite/cleanup/cleanup5.c:
22602 * testsuite/controller/interpolator.c:
22603 * testsuite/debug/printf_extension.c: (main):
22604 * testsuite/elements/tee.c:
22605 * testsuite/negotiation/.cvsignore:
22606 * testsuite/negotiation/Makefile.am:
22607 * testsuite/negotiation/pad_link.c:
22608 * testsuite/pad/Makefile.am:
22609 * testsuite/pad/chainnopull.c:
22610 * testsuite/pad/getnopush.c:
22611 * testsuite/pad/link.c:
22612 * testsuite/refcounting/sched.c: (create_pipeline):
22613 * testsuite/registry/Makefile.am:
22614 * testsuite/registry/gst-print-formats.c:
22615 * testsuite/schedulers/.cvsignore:
22616 * testsuite/schedulers/142183-2.c:
22617 * testsuite/schedulers/142183.c:
22618 * testsuite/schedulers/143777-2.c:
22619 * testsuite/schedulers/143777.c:
22620 * testsuite/schedulers/147713.c:
22621 * testsuite/schedulers/147819.c:
22622 * testsuite/schedulers/147894-2.c:
22623 * testsuite/schedulers/147894.c:
22624 * testsuite/schedulers/Makefile.am:
22625 * testsuite/schedulers/group_link.c:
22626 * testsuite/schedulers/queue_link.c:
22627 * testsuite/schedulers/relink.c:
22628 * testsuite/schedulers/unlink.c:
22629 * testsuite/schedulers/unref.c:
22630 * testsuite/schedulers/useless_iteration.c:
22631 * testsuite/states/bin.c:
22632 clean out/remove some stuff from the testsuite directories
22634 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22637 check for some headers
22638 * gst/elements/Makefile.am:
22639 * gst/elements/gstelements.c:
22640 don't compile fdsrc without sys/socket.h
22641 * gst/indexers/Makefile.am:
22642 * gst/indexers/gstindexers.c: (plugin_init):
22643 don't compile fileindex without mmap
22645 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
22652 * check/Makefile.am:
22653 * docs/gst/Makefile.am:
22654 * examples/helloworld/Makefile.am:
22656 * gst/base/Makefile.am:
22657 * gst/check/Makefile.am:
22658 * gst/elements/Makefile.am:
22659 * gst/indexers/Makefile.am:
22660 * gst/parse/Makefile.am:
22661 * libs/gst/controller/Makefile.am:
22662 * libs/gst/dataprotocol/Makefile.am:
22663 * examples/helloworld/helloworld.c: (event_loop):
22664 compile fixes, though it's not being compiled currently
22666 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22668 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22669 Add some simple tests for the new taglist date API.
22671 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22673 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22674 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22675 Beautify 'last-message' output: print 'none' for buffer timestamps
22676 and durations if none is set; improve alignment with next messages.
22678 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
22680 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22681 * gst/gstpluginfeature.h:
22682 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22683 * gst/gstregistry.h:
22684 * docs/gst/gstreamer-sections.txt:
22685 Add new API to check plugin feature version requirements.
22687 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22688 Some basic tests for the above.
22690 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22692 * gst/gststructure.c: (gst_structure_to_string):
22693 guard against NULL printf - happens when for example
22694 a message structure with GstClock gets serialized
22696 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22698 * gst/base/gstcollectpads.c: (gst_collectpads_event):
22699 Fix presumable copy'n'pasto.
22701 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22703 * gst/elements/gstfakesrc.h:
22704 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
22705 * gst/elements/gsttypefindelement.c:
22706 fix some signedness
22707 * gst/elements/gstfilesink.c: (gst_file_sink_render):
22708 I wonder if this could actually write +2GB files before
22710 2005-10-13 Andy Wingo <wingo@pobox.com>
22712 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
22713 Fix Timmeke Waymans bug.
22714 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
22715 string of the proper length to gst_caps_from_string. There's a
22716 potential for, before this fix, that this could cause someone
22717 connecting over the network to cause a segfault if the payload is
22718 not NUL-terminated.
22720 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22722 * docs/design/draft-push-pull.txt:
22723 * docs/design/part-overview.txt:
22724 * docs/random/TODO-pre-0.9:
22725 * docs/random/old/ChangeLog.gstreamer:
22726 * gst/base/gstpushsrc.c:
22730 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22732 * gst/glib-compat.c: (gst_flags_get_first_value):
22733 * gst/glib-compat.h:
22734 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
22735 (gst_value_compare_double), (gst_value_serialize_flags):
22736 GLib 2.6 g_flags_get_first_value has a bug that triggers an
22739 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22741 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22742 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22744 * tools/gst-launch.c: (event_loop):
22745 print out clock nicely
22747 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
22749 * docs/gst/gstreamer-sections.txt:
22750 * gst/gsttaglist.h:
22751 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
22752 (gst_tag_list_get_date_index):
22753 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
22754 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
22756 2005-10-13 Julien MOUTTE <julien@moutte.net>
22758 * gst/base/gstcollectpads.c: (gst_collectpads_event),
22759 (gst_collectpads_chain):
22760 * gst/base/gstcollectpads.h: Handle newsegment and store informations
22763 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22765 * docs/gst/gstreamer-sections.txt:
22768 * tools/gst-inspect.c: (main):
22769 * tools/gst-launch.c: (main):
22770 * tools/gst-run.c: (main):
22771 * tools/gst-xmlinspect.c: (main):
22772 fix GOption context leaks
22775 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
22779 * win32/common/config.h:
22781 * win32/vs6/grammar.dsp:
22782 * win32/vs6/libgstelements.dsp:
22783 * win32/vs6/libgstreamer.dsp:
22786 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22789 * gst/base/gstbasesrc.c: (gst_base_src_query):
22790 fix more guint64<->gdouble conversions
22792 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22795 add win32-update target
22796 * win32/common/gstconfig.h:
22797 * win32/common/gstenumtypes.c:
22798 * win32/common/gstenumtypes.h:
22799 * win32/common/gstversion.h:
22800 add files that visual studio can't generate
22802 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
22805 add a win32-update target
22808 2005-10-12 Wim Taymans <wim@fluendo.com>
22810 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22811 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
22812 * gst/gstelement.c: (gst_element_commit_state),
22813 (gst_element_set_state):
22814 Protect flags with proper lock.
22815 unref provided cached clock in dispose.
22817 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22820 * gst/gstminiobject.h:
22822 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
22823 removed unused flags from miniobject
22826 2005-10-12 Wim Taymans <wim@fluendo.com>
22828 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22829 (gst_file_sink_event), (gst_file_sink_render):
22830 Flush before seeking.
22832 2005-10-12 Andy Wingo <wingo@pobox.com>
22834 * gst/gst.c (gst_init_check): Ignore unknown options, as has
22835 always been the case.
22837 2005-10-12 Stefan Kost <ensonic@users.sf.net>
22839 * check/gst/gstbin.c: (GST_START_TEST):
22840 * docs/gst/gstreamer-sections.txt:
22841 * gst/base/gstbasesink.c: (gst_base_sink_init):
22842 * gst/base/gstbasesrc.c: (gst_base_src_init),
22843 (gst_base_src_get_range), (gst_base_src_check_get_range),
22844 (gst_base_src_start), (gst_base_src_stop):
22845 * gst/base/gstbasesrc.h:
22846 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
22847 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
22848 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
22852 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
22854 * gst/gstelement.c: (gst_element_is_locked_state),
22855 (gst_element_set_locked_state), (gst_element_commit_state),
22856 (gst_element_set_state):
22857 * gst/gstelement.h:
22858 * gst/gstindex.c: (gst_index_init):
22860 * gst/gstminiobject.h:
22861 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
22862 (gst_object_set_parent):
22864 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
22865 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
22867 * gst/gstpadtemplate.h:
22868 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
22869 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
22870 * gst/gstpipeline.h:
22871 * gst/indexers/gstfileindex.c: (gst_file_index_load),
22872 (gst_file_index_commit):
22873 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
22874 * testsuite/pad/link.c: (gst_test_src_init),
22875 (gst_test_filter_init), (gst_test_sink_init):
22876 * testsuite/states/locked.c: (main):
22877 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
22878 moved bitshift from macro to enum definition
22880 2005-10-12 Wim Taymans <wim@fluendo.com>
22882 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
22883 * gst/elements/gstfilesink.c: (gst_file_sink_event),
22884 (gst_file_sink_render):
22885 Some more debugging info.
22887 2005-10-12 Wim Taymans <wim@fluendo.com>
22889 * docs/design/part-states.txt:
22890 * tools/gst-launch.c: (main):
22892 Revert non-intentional change.
22894 2005-10-12 Wim Taymans <wim@fluendo.com>
22896 * check/gst/gstbin.c: (GST_START_TEST):
22897 * check/gst/gstelement.c: (GST_START_TEST):
22898 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
22899 * check/gst/gstghostpad.c: (GST_START_TEST):
22900 * check/gst/gstpipeline.c: (GST_START_TEST):
22901 * check/pipelines/simple_launch_lines.c: (run_pipeline):
22902 * check/states/sinks.c: (GST_START_TEST):
22903 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22904 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22905 (gst_bin_remove_func), (gst_bin_get_state_func),
22906 (gst_bin_recalc_state), (gst_bin_change_state_func),
22908 * gst/gstelement.c: (gst_element_get_state_func),
22909 (gst_element_get_state), (gst_element_abort_state),
22910 (gst_element_commit_state), (gst_element_set_state),
22911 (gst_element_change_state), (gst_element_change_state_func):
22912 * gst/gstelement.h:
22913 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22914 (gst_pipeline_provide_clock_func):
22915 * gst/gstutils.c: (gst_element_link_pads_filtered):
22916 * tools/gst-launch.c: (main):
22917 * tools/gst-typefind.c: (main):
22918 Use GstClockTime in _get_state() instead of GTimeVal.
22919 Remove old code in gstutils.c
22921 2005-10-12 Andy Wingo <wingo@pobox.com>
22923 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22926 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22927 there is no task. Shouldn't affect any code, as nothing in our
22928 plugins checks this return value.
22929 (gst_pad_stop_task): Also take the stream lock if the pad has no
22930 task. Docs updated.
22932 2005-10-12 Wim Taymans <wim@fluendo.com>
22934 * gst/gstpad.c: (pre_activate), (post_activate),
22935 (gst_pad_activate_pull), (gst_pad_activate_push):
22936 Cleanup activation code. Reset old state if
22939 2005-10-12 Wim Taymans <wim@fluendo.com>
22941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22942 (gst_base_sink_change_state):
22943 No need to prerol after receiving EOS.
22945 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22946 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22947 * gst/elements/gstidentity.c: (gst_identity_event):
22948 Print events more verbosely.
22950 2005-10-12 Wim Taymans <wim@fluendo.com>
22952 * check/Makefile.am:
22953 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22954 * check/states/sinks2.c:
22955 Moved sinks2 testcode in sinks check.
22957 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22958 (gst_bin_remove_func), (gst_bin_recalc_state),
22959 (gst_bin_change_state_func), (bin_bus_handler):
22960 Fix potential race condition when _get_state() iterated over an
22961 ASYNC element right before it posted a state completion.
22964 Do proper cast here.
22966 * gst/gstevent.c: (gst_event_new_newsegment),
22967 (gst_event_parse_newsegment):
22968 A playback rate of 0.0 is not allowed.
22970 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22972 * win32/common/config.h:
22973 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22974 (_trewinddir), (_ttelldir), (_tseekdir):
22975 * win32/common/dirent.h:
22976 * win32/common/gtchar.h:
22977 * win32/common/libgstbase.def:
22978 * win32/common/libgstreamer.def:
22979 * win32/vs6/grammar.dsp:
22980 * win32/vs6/gst_inspect.dsp:
22981 * win32/vs6/gst_launch.dsp:
22982 * win32/vs6/gstreamer.dsw:
22983 * win32/vs6/libgstbase.dsp:
22984 * win32/vs6/libgstelements.dsp:
22985 * win32/vs6/libgstreamer.dsp:
22986 Visual Studio 6 project files, and a new common directory.
22989 2005-10-11 Wim Taymans <wim@fluendo.com>
22991 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22992 (gst_base_sink_do_sync), (gst_base_sink_query),
22993 (gst_base_sink_change_state):
22994 * gst/base/gstbasesink.h:
22995 Correctly parse newsegment info.
22997 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22999 * gst/gst.c: (init_post):
23000 split plugin paths correctly
23002 2005-10-11 Wim Taymans <wim@fluendo.com>
23004 * check/gst/gstevent.c: (GST_START_TEST):
23005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23006 (gst_base_sink_change_state):
23007 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23008 * gst/base/gstbasetransform.c: (gst_base_transform_event):
23009 * gst/elements/gstfilesink.c: (gst_file_sink_event):
23010 * gst/gstevent.c: (gst_event_new_newsegment),
23011 (gst_event_parse_newsegment):
23013 Added extra flag to newsegment for future API freeze.
23014 Updated check and base elements.
23016 2005-10-11 Julien MOUTTE <julien@moutte.net>
23018 * gst/base/gstcollectpads.c: (gst_collectpads_init),
23019 (gst_collectpads_add_pad), (gst_collectpads_pop),
23020 (gst_collectpads_event), (gst_collectpads_chain):
23021 * gst/base/gstcollectpads.h: Handle EOS correctly.
23023 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23025 * tools/gst-launch.c: (main):
23026 more null protecting
23028 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23030 * gst/gst-i18n-lib.h:
23031 check for ENABLE_NLS, not GETTEXT_PACKAGE
23032 * gst/gstregistry.c: (gst_registry_add_plugin),
23033 (gst_registry_scan_path_level),
23034 (_gst_registry_remove_cache_plugins):
23035 protect possibly NULL strings
23036 * gst/parse/types.h:
23037 config.h already included before
23038 * tools/gst-inspect.c: (main):
23039 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23040 check for ENABLE_NLS, not GETTEXT_PACKAGE
23041 * tools/gst-launch.c: (main):
23042 check for ENABLE_NLS, not GETTEXT_PACKAGE
23044 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23047 if we don't have glib, fail before testing 2.8
23048 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23049 fix a leak, should fix plugins-base testsuite
23051 2005-10-11 Andy Wingo <wingo@pobox.com>
23053 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23054 take the mode we're going to as an arg. Go head and set the mode
23055 and flushing flags now, so that if the activate function starts a
23056 thread all the flags will be in the right state.
23057 (post_activate): Renamed also. Just handle making sure streaming
23058 finishes for the deactivation case, and setting the deactivated
23060 (gst_pad_set_active): Complain loudly if deactivation fails.
23061 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23062 (gst_pad_activate_push): Adapt to pre/post_activate changes,
23063 remove the terrible hack.
23065 2005-10-11 Wim Taymans <wim@fluendo.com>
23067 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23068 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23069 (gst_bin_recalc_state), (gst_bin_change_state_func),
23070 (gst_bin_dispose), (bin_bus_handler):
23072 Prepare to make current EOS message queue more generic.
23075 * gst/gstevent.c: (gst_event_new_newsegment),
23076 (gst_event_parse_newsegment):
23078 Rename base to stream_time.
23080 * gst/gstmessage.h:
23083 2005-10-11 Wim Taymans <wim@fluendo.com>
23085 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23086 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23087 (gst_bin_change_state_func), (bin_bus_handler):
23089 Work on proper clock selection.
23091 2005-10-11 Edward Hervey <edward@fluendo.com>
23093 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
23094 * libs/gst/controller/gstcontroller.h:
23095 Added GList* version of _remove_properties() in order to be able to wrap
23098 2005-10-11 Wim Taymans <wim@fluendo.com>
23100 * docs/design/part-states.txt:
23103 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23104 (gst_bin_change_state_func), (bin_bus_handler):
23105 Doc updates. Don't distribute the same clock over and over again.
23111 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23112 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23113 (gst_pad_send_event):
23115 Make probe emission threadsafe again.
23116 Register quarks and move _get_name() from utils.
23119 * gst/gstpipeline.c: (gst_pipeline_class_init),
23120 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23121 Only redistribute the clock of it changed.
23123 * gst/gstsystemclock.h:
23128 Moved the _flow_get_name() to GstPad.
23130 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23132 * check/gst-libs/gdp.c: (GST_START_TEST):
23133 * check/gst/gstcaps.c: (GST_START_TEST):
23134 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23135 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23136 (gst_dp_packet_from_caps):
23137 fix more valgrind warnings before turning up the heat
23139 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
23141 * gst/parse/grammar.y:
23142 some cleanup before the hacking
23144 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23146 * gst/base/gstbasesrc.c: (gst_base_src_query):
23148 * gst/gstutils.c: (gst_guint64_to_gdouble),
23149 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23151 externalize, basesrc uses it
23152 obviously the implementation needs testing
23154 2005-10-10 Wim Taymans <wim@fluendo.com>
23156 * tests/sched/Makefile.am:
23157 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23158 (make_pipeline3), (make_pipeline4), (print_elem), (main):
23160 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23162 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23163 apparently converting from guint64 to double is not implemented
23166 2005-10-10 Wim Taymans <wim@fluendo.com>
23168 * check/Makefile.am:
23169 * check/generic/states.c: (GST_START_TEST):
23170 * check/gst/gstbin.c: (GST_START_TEST):
23171 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23172 * check/states/sinks.c: (GST_START_TEST):
23173 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23175 Check fixes, use API as stated in design docs, remove hacks.
23177 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23178 (gst_base_sink_change_state):
23179 Catch stopping our task while we're shutting down.
23181 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23182 (gst_bin_remove_func), (gst_bin_get_state_func),
23183 (gst_bin_recalc_state), (gst_bin_change_state_func),
23186 * gst/gstelement.c: (gst_element_init),
23187 (gst_element_get_state_func), (gst_element_abort_state),
23188 (gst_element_commit_state), (gst_element_lost_state),
23189 (gst_element_set_state), (gst_element_change_state),
23190 (gst_element_change_state_func):
23191 * gst/gstelement.h:
23192 New state change algorithm (see #318116)
23194 * gst/gstpipeline.c: (gst_pipeline_class_init),
23195 (gst_pipeline_init), (gst_pipeline_set_property),
23196 (gst_pipeline_get_property), (do_pipeline_seek),
23197 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23198 * gst/gstpipeline.h:
23199 Remove crude state change hacks.
23202 Remove crude hacks.
23204 * tools/gst-launch.c: (main):
23205 Fixes for state change. Needs some more work to fully use the
23208 2005-10-10 Andy Wingo <wingo@pobox.com>
23210 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23212 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23213 this flag, but it's not even in GLib 2.6. Odd. Hack around the
23216 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23218 * gst/gstiterator.c: (gst_iterator_new):
23219 Fix my previous commit: GTypes passed to gst_iterator_new()
23220 can be fundamental types.
23222 2005-10-10 Wim Taymans <wim@fluendo.com>
23224 * gst/gstelement.c: (gst_element_iterate_pad_list),
23225 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23226 (gst_element_iterate_sink_pads):
23227 Use src/sink pads lists for the respective iterators instead
23230 2005-10-10 Andy Wingo <wingo@pobox.com>
23232 Merged in popt removal + GOption addition patch from Ronald, bug
23235 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23236 GstElement macros around, remove popt-related symbols, add goption
23239 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23241 * docs/gst/Makefile.am:
23242 * docs/libs/Makefile.am: No POPT_CFLAGS.
23244 * examples/manual/Makefile.am:
23245 * docs/manual/basics-init.xml: Doc updates with an example.
23247 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23248 (gst_init), (parse_one_option), (parse_goption_arg):
23249 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23250 bit of hand merging and debugging to get the GOption stuff working
23253 * tests/Makefile.am:
23254 * tools/Makefile.am:
23255 * tools/gst-inspect.c: (main):
23256 * tools/gst-launch.c: (main):
23257 * tools/gst-run.c: (main):
23258 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23260 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23262 * gst/gstiterator.c: (gst_iterator_new):
23263 Add assertions to make sure passed GType is likely to really
23264 be a GType (as the compiler won't catch it if the size and
23265 GType arguments get mixed up, see #318447).
23267 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
23269 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23271 * gst/gstbin.c: (gst_bin_iterate_sorted):
23272 Pass GType and size arguments to gst_iterator_new() in the right
23273 order (maybe we should make _new() take the GType as first argument
23274 just like _new_list()?) (#318447).
23277 2005-10-10 Wim Taymans <wim@fluendo.com>
23279 * gst/gstelement.c: (gst_element_finalize):
23280 And free the GStaticRecMutex too
23282 2005-10-10 Andy Wingo <wingo@pobox.com>
23284 * gst/gstelement.c (gst_element_init, gst_element_finalize):
23285 Allocate and free the mutex properly.
23287 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23289 (GstElement): The state_lock is now recursive. Rebuild your
23290 plugins, suckers. Old macros adapted.
23292 * docs/gst/gstreamer-sections.txt: Doc updates.
23295 * gst/gstutils.c (g_static_rec_cond_timed_wait)
23296 (g_static_rec_cond_wait): Ported from state changes patch, while
23297 we wait on bug #317802 to be solved in a well-distributed GLib.
23299 * gst/gstelement.c (gst_element_change_state_func): Renamed from
23300 gst_element_change_state, variable name changes.
23301 (gst_element_change_state): Split out of gst_element_set_state in
23302 preparation for the state change merge. Doesn't pay attention to
23303 the 'transition' argument.
23304 (gst_element_set_state): Updates, hopefully purely cosmetic.
23305 (gst_element_sync_state_with_parent): MT-safety. Ported from the
23306 state change patch.
23307 (gst_element_get_state_func): Renamed from get_state, cosmetic
23310 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23312 * gst/elements/gstelements.c:
23313 * win32/GStreamer.vcproj:
23315 * win32/dirent.c: (_tseekdir):
23316 * win32/gst-inspect.vcproj:
23317 * win32/gst-launch.vcproj:
23318 * win32/gstconfig.h:
23319 * win32/gstelements.vcproj:
23320 * win32/gstenumtypes.c: (gst_object_flags_get_type):
23321 * win32/gstreamer.def:
23322 * win32/msvc71.sln:
23323 updates for the win32 build (patch from Sebastien Moutte)
23325 2005-10-10 Andy Wingo <wingo@pobox.com>
23327 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23328 gst_bin_get_state, cleaned up (but no logic changes).
23329 (bin_element_is_sink): Comment updates.
23330 (sink_iterator_filter): Remove needless cast.
23331 (gst_bin_iterate_sinks): Doc update.
23332 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23333 cleaned up (but no logic changes).
23335 * check/states/sinks.c (test_src_sink): Cleanups from the state
23337 (test_livesrc_sink): Sync on the state.
23339 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23340 the state change patch.
23342 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23345 * check/gst/gstbin.c: Merge in some style fixes and additional
23346 checks from Wim's state change patch.
23348 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
23350 * gst/base/gsttypefindhelper.c: (helper_find_peek),
23351 (gst_type_find_helper):
23352 Check whether we have the requested data already in our list of
23353 cached buffers before pulling a new buffer; also make the buffer
23354 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23356 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
23361 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23362 don't use long long, it's not portable. Replacing with
23363 gint64 seems to work; let's hope no skeletons fall out of the closet.
23365 2005-10-10 Andy Wingo <wingo@pobox.com>
23367 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23369 2005-10-09 Stefan Kost <ensonic@users.sf.net>
23371 * docs/gst/gstreamer-sections.txt:
23376 * gst/gstmessage.c: (gst_message_parse_state_changed):
23379 more docs, fix compilation
23381 2005-10-09 Philippe Khalaf <burger@speedy.org>
23382 * gst/gstmessage.c:
23383 Fixed a few forgotten variables on previous commit
23385 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
23387 * gst/base/gsttypefindhelper.c: (helper_find_peek):
23388 Fix evil typefind crasher: getrange() might return a short
23389 buffer at the end of a file, but gst_type_find_peek() must
23390 either return the full data as requested or NULL, but
23391 never a short buffer.
23393 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
23395 * gst/gstmessage.c: (gst_message_new_state_changed),
23396 (gst_message_parse_state_changed):
23397 * gst/gstmessage.h:
23398 don't use "new", it's a C++ keyword
23400 2005-10-08 Wim Taymans <wim@fluendo.com>
23402 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23403 * gst/gstelement.c: (gst_element_post_message):
23404 * gst/gstpipeline.c: (gst_pipeline_change_state):
23405 Small docs and debug updates.
23407 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23409 * docs/gst/gstreamer-sections.txt:
23410 * gst/gstelementfactory.c:
23412 * gst/gsttaglist.c:
23415 2005-10-08 Wim Taymans <wim@fluendo.com>
23417 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23418 (gst_bin_dispose), (bin_bus_handler):
23419 Fix typos, add comments.
23420 Clear EOS list when going to PAUSED from any direction and do it
23421 in a threadsafe way.
23422 Get base time in a threadsafe way too.
23423 Fix confusing debug in the change_state function.
23424 Various other small cleanups.
23426 * gst/gstelement.c: (gst_element_post_message):
23427 Fix very verbose bus posting code.
23429 * gst/gstpipeline.c: (gst_pipeline_class_init),
23430 (gst_pipeline_set_property), (gst_pipeline_get_property),
23431 (gst_pipeline_change_state):
23432 Small ARG_ -> PROP_ cleanup
23434 2005-10-08 Wim Taymans <wim@fluendo.com>
23436 * gst/gstbin.c: (is_eos), (bin_bus_handler):
23437 Do a less CPU demanding EOS check because we can.
23439 2005-10-08 Wim Taymans <wim@fluendo.com>
23441 * libs/gst/dataprotocol/dataprotocol.c:
23442 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23443 (gst_dp_packet_from_event):
23444 * libs/gst/dataprotocol/dataprotocol.h:
23445 * libs/gst/dataprotocol/dp-private.h:
23446 It's about time we bump the version number.
23447 Since event types don't fit in the guint8 anymore describing
23448 the payload type, make payload type 16 bits wide.
23450 2005-10-08 Wim Taymans <wim@fluendo.com>
23452 * docs/design/part-TODO.txt:
23453 * docs/design/part-clocks.txt:
23454 * docs/design/part-events.txt:
23455 * docs/design/part-gstbin.txt:
23456 * docs/design/part-gstelement.txt:
23457 * docs/design/part-gstpipeline.txt:
23458 * docs/design/part-live-source.txt:
23459 * docs/design/part-messages.txt:
23460 * docs/design/part-overview.txt:
23461 * docs/design/part-states.txt:
23464 2005-10-08 Wim Taymans <wim@fluendo.com>
23468 Fix event quark registration.
23469 Add some space between events so we can insert them in the
23472 2005-10-08 Wim Taymans <wim@fluendo.com>
23474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23475 (gst_base_sink_handle_buffer):
23476 Better log message.
23479 * gst/gstelement.h:
23482 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23483 (gst_queue_set_property), (gst_queue_get_property):
23485 Remove old unused properties.
23487 2005-10-08 Stefan Kost <ensonic@users.sf.net>
23488 * docs/gst/gstreamer-sections.txt:
23489 * gst/gstmessage.c:
23490 * gst/gstmessage.h:
23491 * gst/gstminiobject.c:
23492 * gst/gstminiobject.h:
23496 lots of new docs and doc fixes
23498 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23500 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23502 * gst/gstregistry.c: (gst_registry_lookup_locked),
23503 (gst_registry_scan_path_level):
23504 * gst/gstregistryxml.c: (load_plugin):
23505 Only ever load one plugin for a given plugin basename.
23506 This ensures correct overriding of GST_PLUGIN_PATH over
23507 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23508 system installed plugins.
23510 2005-10-08 Wim Taymans <wim@fluendo.com>
23512 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23513 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23514 Prepare for doing QOS.
23516 2005-10-08 Wim Taymans <wim@fluendo.com>
23518 * check/gst/gstbin.c: (GST_START_TEST):
23519 * check/pipelines/cleanup.c: (GST_START_TEST):
23520 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23521 Allow new clock message too.
23523 2005-10-08 Wim Taymans <wim@fluendo.com>
23525 * gst/gstmessage.c: (gst_message_new_error),
23526 (gst_message_new_warning), (gst_message_new_tag),
23527 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23528 (gst_message_new_clock_lost), (gst_message_new_new_clock),
23529 (gst_message_new_segment_start), (gst_message_new_segment_done),
23530 (gst_message_parse_state_changed),
23531 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23532 (gst_message_parse_new_clock):
23533 * gst/gstmessage.h:
23534 Also carry the clock in question.
23536 2005-10-08 Wim Taymans <wim@fluendo.com>
23538 * gst/gstmessage.c: (gst_message_new_custom),
23539 (gst_message_new_eos), (gst_message_new_error),
23540 (gst_message_new_warning), (gst_message_new_tag),
23541 (gst_message_new_state_changed), (gst_message_new_clock_provide),
23542 (gst_message_new_new_clock), (gst_message_new_segment_start),
23543 (gst_message_new_segment_done), (gst_message_parse_state_changed),
23544 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23545 * gst/gstmessage.h:
23547 Added clock related messages.
23549 * gst/gstpipeline.c: (gst_pipeline_change_state):
23550 Post message when the clock changed.
23552 * tools/gst-launch.c: (event_loop):
23555 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
23557 * tools/gst-inspect.c: (print_element_properties_info):
23558 Can't pass NULL strings to g_print() on windows.
23560 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23562 * docs/Makefile.am:
23563 * docs/gst/Makefile.am:
23564 * docs/gst/gstreamer-docs.sgml:
23565 * docs/gst/running.xml:
23566 * docs/version.entities.in:
23567 add a chapter on running GStreamer.
23568 document GST_DEBUG and GST_PLUGIN* env vars
23570 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23575 remove PLUGINS_BUILDDIR stuff
23576 * gst/gst.c: (init_post):
23577 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23579 remove, it was condescending and not needed
23581 2005-10-08 Wim Taymans <wim@fluendo.com>
23583 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23584 (gst_base_sink_handle_object), (gst_base_sink_event),
23585 (gst_base_sink_wait), (gst_base_sink_handle_event),
23586 (gst_base_sink_change_state):
23587 * gst/base/gstbasesink.h:
23588 Repost EOS message while going to PLAYING if still EOS.
23589 Make sure that when receiving a FLUSH_START we don't attempt
23590 to sync on the clock anymore.
23592 2005-10-08 Wim Taymans <wim@fluendo.com>
23594 * tools/gst-launch.c: (event_loop):
23595 Better message printout.
23597 2005-10-08 Wim Taymans <wim@fluendo.com>
23599 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23600 (gst_bin_child_proxy_get_children_count):
23601 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23602 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23603 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23604 (gst_child_proxy_set_valist):
23605 * gst/parse/grammar.y:
23606 Make ChildProxy threadsafe and fix mem leaks.
23608 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23610 * gst/gst.c: (init_post):
23611 debug the GST_PLUGIN_ env vars
23613 2005-10-08 Wim Taymans <wim@fluendo.com>
23615 * check/gst/gstbin.c: (GST_START_TEST):
23616 * check/gst/gstmessage.c: (GST_START_TEST):
23617 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23618 * gst/gstelement.c: (gst_element_commit_state),
23619 (gst_element_lost_state):
23620 * gst/gstmessage.c: (gst_message_new_state_changed),
23621 (gst_message_parse_state_changed):
23622 * gst/gstmessage.h:
23623 * tools/gst-launch.c: (event_loop):
23624 Added extra field to STATE_CHANGE message with the pending
23625 state, which will be different from the new state soon.
23627 2005-10-08 Wim Taymans <wim@fluendo.com>
23629 * gst/gstbus.c: (gst_bus_pop):
23631 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23632 Small cleanups and doc updates.
23634 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
23636 * gst/gst.c: (init_pre):
23637 * gst/gstbin.c: (gst_bin_add_func):
23638 log distributing clocks and base time
23639 * gst/gstregistry.c: (gst_registry_add_plugin),
23640 (gst_registry_scan_path_level), (gst_registry_scan_path):
23641 clean up the debugging output a little
23642 * gst/gstutils.c: (gst_element_state_get_name):
23643 warn about a memleak (I've actually seen this be used, though
23644 it was probably a bug)
23646 2005-10-07 Wim Taymans <wim@fluendo.com>
23648 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23649 (gst_base_src_init), (gst_base_src_default_newsegment),
23650 (gst_base_src_newsegment), (gst_base_src_do_seek),
23651 (gst_base_src_loop), (gst_base_src_start):
23652 * gst/base/gstbasesrc.h:
23653 Make the newsegment event customizable by subclasses.
23655 2005-10-07 Wim Taymans <wim@fluendo.com>
23657 * gst/gstevent.c: (gst_event_new_buffersize),
23658 (gst_event_parse_buffersize):
23660 New event for future idea.
23662 2005-10-07 Andy Wingo <wingo@pobox.com>
23664 * gst/gstelement.c (gst_element_post_message): Doc update.
23666 * docs/gst/gstreamer-sections.txt: Update.
23668 * gst/gstmessage.c (gst_message_new_application): Made into a
23669 function like honest API calls.
23670 (gst_message_new_element): New message type.
23672 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23674 * check/elements/fakesrc.c (test_no_preroll): New check, checks
23675 that setting a live fakesrc to PAUSED returns NO_PREROLL both
23678 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23679 NO_PREROLL from gst_element_change_state to fall through.
23681 2005-10-07 Wim Taymans <wim@fluendo.com>
23683 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23684 (gst_ghost_pad_do_activate_push):
23685 Activating a ghostpad with no internal pad in push mode
23688 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
23691 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23692 Fixes compilation on Windows.
23694 2005-10-07 Michael Smith <msmith@fluendo.com>
23696 * tools/gst-inspect.c:
23697 Print out feature and plugin count at the end when printing out
23700 2005-10-04 Michael Smith <msmith@fluendo.com>
23702 * gst/gsterror.c: (_gst_stream_errors_init):
23703 Add another error string used in a few existing plugins.
23706 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
23707 * tools/gst-inspect.c: (print_element_info):
23708 When a feature disappears from a plugin (and the feature exists in
23709 the cached registry file), things went horribly wrong. This isn't a
23710 complete fix, we should actually be removing the 'missing' features
23711 from the features list when we load the actual plugin. That's not
23714 2005-10-04 Johan Dahlin <johan@gnome.org>
23716 * check/gst/gstiterator.c: (GST_START_TEST):
23717 * gst/gstbin.c: (gst_bin_iterate_elements),
23718 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
23719 * gst/gstelement.c: (gst_element_iterate_pads):
23720 * gst/gstformat.c: (gst_format_iterate_definitions):
23721 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
23722 (gst_iterator_new_list), (gst_iterator_filter):
23723 * gst/gstiterator.h:
23724 * gst/gstquery.c: (gst_query_type_iterate_definitions):
23725 Add a GType to GstIterator, update callsites and tests.
23727 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23729 * gst/gstpad.c: (gst_pad_event_default_dispatch):
23730 give events a chance to be handled by event probes when the pad
23733 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23735 * gst/gstevent.c: (gst_event_type_get_name),
23736 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
23738 add string representations for event types
23740 2005-10-06 Wim Taymans <wim@fluendo.com>
23742 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
23743 Don't use NULL pointers.
23745 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23747 * gst/gst_private.h:
23749 * gst/gstelement.c:
23751 * gst/gstpluginfeature.c:
23752 widen the debug category in output to fit the biggest one we have
23753 add a bus category and use it
23754 play with the colors
23755 fix up some categories
23757 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
23759 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
23760 add push activation of sink ghost pads.
23761 Andye, please verify
23763 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23765 * gst/gstutils.c: (gst_element_link_pads):
23766 fix a bug in the case where neither element has a pad
23767 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23768 add a test for that case
23770 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
23772 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
23773 emit have-data before checking for peers. This allows
23774 for probe handlers to connect elements. This helps autopluggers.
23775 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
23777 add six checks, linked/unlinked with no/true/false probe
23779 2005-10-04 Wim Taymans <wim@fluendo.com>
23781 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
23782 (gst_fake_sink_event), (gst_fake_sink_preroll),
23783 (gst_fake_sink_render), (gst_fake_sink_change_state):
23784 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
23785 (gst_fake_src_get_property), (gst_fake_src_create),
23786 (gst_fake_src_stop):
23787 * gst/elements/gstidentity.c: (gst_identity_stop):
23788 Protect last_message with lock.
23790 2005-10-04 Edward Hervey <edward@fluendo.com>
23793 Added precision in the comments for GST_FORMAT_DEFAULT
23795 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
23797 * tools/gst-launch.c: (main):
23798 Don't try to run erroneous pipelines.
23800 2005-10-04 Julien MOUTTE <julien@moutte.net>
23802 * gst/gstbus.c: We don't need this header.
23804 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23807 back to development
23809 === release 0.9.3 ===
23811 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
23815 Releasing 0.9.3, "Unregistered"
23817 2005-10-03 Andy Wingo <wingo@pobox.com>
23819 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
23820 whereby calling a pad's activatepush() function can start a thread
23821 that starts to push or pull before the pad gets the FLUSHING flag
23822 unset. Hack around it by holding the stream lock until the flag is
23823 set. Need to replace this with a proper solution. Together with
23824 the ghost pad fixes, this fixes mp3 playing/tagreading.
23826 * docs/design/part-gstghostpad.txt: Add a note about activation of
23827 proxy pads outside of ghost pads.
23829 * gst/gstghostpad.c: Implement the ghost pad activation design.
23831 2005-10-02 Andy Wingo <wingo@pobox.com>
23833 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
23834 It is volatile, after all.
23836 * docs/design/part-gstghostpad.txt: Flesh out activation with
23839 * gst/base/gstbasesrc.c (gst_base_src_init): Use
23842 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
23845 Fix (unused) AM_CONDITIONAL tests.
23847 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
23849 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23851 * gst/gstutils.c: (gst_pad_query_convert):
23852 Add assertion that makes sure src_val is >=0, just like
23853 gst_query_new_convert() has. (#315895)
23855 2005-09-30 Edward Hervey <edward@fluendo.com>
23857 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
23858 Let's not iterate pads we're not interested in, it avoids getting
23859 sky-high refcounts on sinkpad.
23861 2005-09-30 Wim Taymans <wim@fluendo.com>
23863 * gst/gstelement.c: (gst_element_set_state),
23864 (gst_element_change_state):
23865 Small tweak, element in ASYNC remains ASYNC.
23867 2005-09-30 Wim Taymans <wim@fluendo.com>
23869 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
23870 Only error is an error.
23872 * gst/gstbin.c: (gst_bin_change_state):
23875 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
23876 Also call pad_block in pad alloc.
23878 * gst/gstutils.c: (gst_flow_get_name):
23881 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23883 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23884 (gst_base_src_get_range):
23885 Fix documentation typos. Add some more debug info.
23887 2005-09-29 David Schleef <ds@schleef.org>
23889 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
23890 more end-user friendly.
23891 * tools/gst-inspect.c: (main): Check if command-line argument is
23892 a file and attempt to load that file as a plugin.
23894 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23896 * check/gst/gstbin.c:
23897 * check/states/sinks.c:
23898 fix tests for the new warning
23899 * check/gst/gstpipeline.c:
23900 add a test for pipeline and bus interaction
23901 * gst/gstelement.c:
23902 elements should be NULL if they get disposed; add a warning if not
23904 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23907 for 2.6 refcounting, make debug log more correct by printing
23908 the actual refcounts at the time of swap (Wim)
23910 2005-09-29 Andy Wingo <wingo@pobox.com>
23912 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23913 removes signal watches previously added via
23914 gst_bus_add_signal_watch.
23915 (gst_bus_add_signal_watch): Don't return the source id, just store
23916 it on the bus if there wasn't an id already.
23918 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23919 add_signal_watch and remove_signal_watch.
23921 2005-09-29 Edward Hervey <edward@fluendo.com>
23923 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23924 Better if we actually iterate the list :)
23926 2005-09-29 Wim Taymans <wim@fluendo.com>
23928 * check/gst/gstbin.c: (GST_START_TEST):
23929 Change for new bus API.
23931 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23932 (send_messages), (GST_START_TEST), (gstbus_suite):
23933 Change for new bus signal API.
23935 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23936 (gst_bus_source_prepare), (gst_bus_source_check),
23937 (gst_bus_create_watch), (gst_bus_add_watch_full),
23938 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23939 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23941 Remove support for multiple GSources operating on different
23942 message types as it is too complex and unneeded when using
23944 Added support for receiving signals from the bus.
23946 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23948 * docs/libs/tmpl/gstdataprotocol.sgml:
23949 * docs/manual/advanced-dataaccess.xml:
23950 * gst/elements/gstcapsfilter.c:
23952 rename filter-caps to caps property
23954 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23956 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23957 More robust fraction string parsing.
23959 * docs/pwg/appendix-porting.xml:
23960 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23962 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23964 * gst/gstcaps.c: (gst_caps_do_simplify):
23965 Thou shalt not free a structure and then continue using it
23966 in the next loop iteration.
23968 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23970 Add test case for caps simplification.
23972 2005-09-29 Wim Taymans <wim@fluendo.com>
23974 * check/gst/gstbin.c: (GST_START_TEST):
23977 2005-09-29 Wim Taymans <wim@fluendo.com>
23979 * check/gst/gstbin.c: (GST_START_TEST):
23982 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23983 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23984 (find_element), (gst_bin_sort_iterator_next),
23985 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23986 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23987 (gst_bin_change_state), (gst_bin_dispose):
23988 A bin does not have a bus, it gets the bus from the parent.
23990 * gst/gstelement.c: (gst_element_requires_clock),
23991 (gst_element_provides_clock), (gst_element_is_indexable),
23992 (gst_element_is_locked_state), (gst_element_change_state),
23993 (gst_element_set_bus_func):
23996 * gst/gstpipeline.c: (gst_pipeline_class_init),
23997 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23998 The pipeline provides a bus.
24000 2005-09-28 Johan Dahlin <johan@gnome.org>
24002 * gst/gstmessage.c (gst_message_parse_state_changed): Use
24003 gst_structure_get_enum instead of gst_structure_get_int
24005 * gst/gststructure.c (gst_structure_get_enum): Impl.
24007 * gst/gststructure.h (gst_structure_get_enum): Add
24009 * docs/gst/gstreamer-sections.txt: Ditto
24011 * gst/gstmessage.c (gst_message_new_state_changed): Use
24012 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24013 which does introspection.
24014 Reviewed by Christian Schaller
24016 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24018 * gst/gstinfo.c: (gst_debug_log_default):
24019 don't do dummy g_strdup()s
24020 * libs/gst/controller/gstcontroller.c:
24021 (on_object_controlled_property_changed),
24022 (gst_controlled_property_new), (gst_controller_new_valist),
24023 (gst_controller_new_list),
24024 (gst_controller_remove_properties_valist), (gst_controller_set),
24025 (gst_controller_get), (gst_controller_sync_values),
24026 (gst_controller_get_value_array), (_gst_controller_class_init),
24027 (gst_controller_get_type):
24028 * libs/gst/controller/gstcontroller.h:
24029 * libs/gst/controller/gstinterpolation.c:
24030 (gst_controlled_property_find_timed_value_node):
24031 convert // to /**/ comments
24033 2005-09-28 Wim Taymans <wim@fluendo.com>
24035 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24036 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24037 (gst_bus_sync_signal_handler):
24039 Added async-message and sync-message signals to the bus.
24040 Added helper BusFunc to emit signals for all posted messages.
24042 * gst/gstmessage.c: (gst_message_type_get_name),
24043 (gst_message_type_to_quark), (gst_message_get_type):
24044 * gst/gstmessage.h:
24045 Register quarks for message names.
24047 2005-09-28 Stefan Kost <ensonic@users.sf.net>
24049 * docs/libs/gstreamer-libs-sections.txt:
24050 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24051 (gst_controller_new_list):
24052 * libs/gst/controller/gstcontroller.h:
24053 added another constructor for language bindings
24055 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
24057 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24061 * gst/gstinfo.c: (_gst_debug_init):
24062 slightly more readable color for refcount debugging
24064 2005-09-28 Wim Taymans <wim@fluendo.com>
24066 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24067 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24068 (find_element), (gst_bin_sort_iterator_next),
24069 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24070 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24071 (gst_bin_change_state), (gst_bin_dispose):
24072 Small doc fixes. get_clock -> provide_clock.
24074 * gst/gstelement.c: (gst_element_class_init),
24075 (gst_element_provides_clock), (gst_element_provide_clock),
24076 (gst_element_get_clock), (gst_element_commit_state),
24077 (gst_element_lost_state):
24078 * gst/gstelement.h:
24079 Make get/set_clock() symetric. Add provide_clock vmethod since
24080 that is actually what this function does.
24082 * gst/gstpipeline.c: (gst_pipeline_class_init),
24083 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24084 (gst_pipeline_get_clock):
24085 get_clock -> provide_clock.
24087 2005-09-28 Andy Wingo <wingo@pobox.com>
24089 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24090 lieu of real docs...
24092 * gst/elements/gstfdsrc.c: Cleaned up a bit.
24094 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
24096 * gst/elements/gstcapsfilter.c:
24097 * gst/elements/gstfakesink.c:
24098 * gst/elements/gstfakesrc.c:
24099 * gst/elements/gstfdsink.c:
24100 * gst/elements/gstfdsrc.c:
24101 * gst/elements/gstfilesink.c:
24102 * gst/elements/gstfilesrc.c:
24103 * gst/elements/gstidentity.c:
24104 * gst/elements/gsttee.c:
24105 * gst/elements/gsttypefindelement.c:
24106 Make element details static.
24108 2005-09-28 Wim Taymans <wim@fluendo.com>
24110 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24111 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24112 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24113 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24114 (gst_bin_change_state), (gst_bin_dispose):
24115 Some documentation updates.
24116 Clean up dispose handlers.
24118 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24119 * gst/gstpad.c: (gst_pad_dispose):
24120 Clean up dispose handler.
24122 * gst/gstpipeline.c: (gst_pipeline_change_state):
24123 Removed spurious UNLOCK.
24125 2005-09-27 Stefan Kost <ensonic@users.sf.net>
24127 * docs/gst/gstreamer-sections.txt:
24128 * gst/base/gstbasesrc.h:
24129 * gst/gstelement.h:
24133 * gst/gstpipeline.c:
24134 * gst/gstpipeline.h:
24137 added two new functions to the docs
24138 documents all undocumented GstXXXFlags
24139 completed some incomplete docs
24141 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
24143 * gst/gstbin.c: (gst_bin_dispose):
24144 * gst/gstelement.c: (gst_element_dispose):
24145 remove now useless and leaky resurrection code in dispose
24146 * gst/base/gstbasesrc.c: (gst_base_src_init):
24147 * gst/gstelementfactory.c: (gst_element_factory_create):
24148 * gst/gstobject.c: (gst_object_set_parent):
24151 2005-09-27 Wim Taymans <wim@fluendo.com>
24153 * docs/design/part-TODO.txt:
24156 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24157 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24158 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24159 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24160 (gst_bin_change_state):
24161 * gst/gstelement.h:
24162 Remove element variable, we keep element info in the iterator now.
24164 2005-09-27 Andy Wingo <wingo@pobox.com>
24166 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24169 2005-09-27 Wim Taymans <wim@fluendo.com>
24171 * check/gst/gstbin.c: (GST_START_TEST):
24172 Enable check that works now.
24174 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24175 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24176 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24177 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24178 (gst_bin_change_state):
24180 Redid the state change algorithm using a topological sort algo.
24181 Handles all cases correctly.
24182 Exposed iterator for state change order.
24184 * gst/gstelement.h:
24185 Temp storage for state changes. Need to get rid of this soon.
24187 2005-09-27 Wim Taymans <wim@fluendo.com>
24189 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24190 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24191 (link_fold_func), (gst_pad_proxy_setcaps):
24192 Leak fixes, the fold functions need to unref the passed object and
24193 _get_parent_*() returns ref to parent.
24195 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24197 * check/gst/gstbuffer.c: (test_make_writable):
24198 Plug leak in test case and fix 'make check-valgrind'
24200 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24202 * gst/gstbuffer.c: (gst_subbuffer_init):
24203 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24204 works correctly in all circumstances (we could have just copied
24205 the parent buffer's readonly flag, but conceptually it seems
24206 cleaner to mark all subbuffers as read-only). (based on patch
24207 by Alessandro Decina, #314710).
24209 * check/gst/gstbuffer.c: (create_read_only_buffer),
24210 (test_make_writable), (test_subbuffer_make_writable),
24212 Add some tests for gst_buffer_make_writable().
24214 2005-09-27 Wim Taymans <wim@fluendo.com>
24216 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24217 use gst_object_has_ancestor().
24219 * gst/gstobject.c: (gst_object_has_ancestor):
24221 gst_object_has_ancestor() copied from gstbin.c as it is a
24224 * tests/instantiate/create.c: (create_all_elements):
24225 * tests/lat.c: (handoff_src), (handoff_sink):
24226 * tests/sched/runxml.c: (main):
24227 * tests/seeking/seeking1.c: (main):
24228 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24230 Fix compilation of some tests.
24232 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
24235 Remove comment. GST_TYPE_G_ERROR is here to stay,
24236 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24237 (#316961, #300610).
24239 2005-09-26 Wim Taymans <wim@fluendo.com>
24241 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24242 Added check that shows error in state change order.
24244 2005-09-26 Wim Taymans <wim@fluendo.com>
24246 * gst/gstbin.c: (gst_bin_change_state):
24247 Make state change function use 3 queues again, we were
24248 adding elements in the wrong order.
24250 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24253 * gst/gstpad.c: (gst_pad_dispose):
24254 Added some debug info first.
24256 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
24258 * docs/design/draft-push-pull.txt:
24259 * docs/design/part-events.txt:
24260 * docs/design/part-overview.txt:
24261 * docs/design/part-scheduling.txt:
24262 Replace all _pull_region() with _pull_range()
24264 2005-09-26 Andy Wingo <wingo@pobox.com>
24266 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24268 * check/gst-libs/controller.c: Update for controller api change.
24271 * tests/Makefile.am:
24272 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24273 over by GLib bug 118439.
24275 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24276 routines to a function.
24278 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24280 * libs/gst/controller/gsthelper.c:
24281 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24282 (gst_object_sync_values): Renamed from sink_values. Ugh.
24284 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24286 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24287 Renamed from controller_key, as it is exported.
24289 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24291 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
24296 * gst/gstpadtemplate.h:
24299 * gst/gstqueryutils.c:
24300 * gst/gstqueryutils.h:
24301 remove queryutils headers after moving the two used functions
24302 to gstquery. also fixes build problem for gstsiddec
24304 2005-09-26 Michael Smith <msmith@fluendo.com>
24306 * tools/gst-launch.1.in:
24307 Correct documentation in manpage of debug syntax
24309 2005-09-26 Wim Taymans <wim@fluendo.com>
24311 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24312 (gst_base_src_is_seekable), (gst_base_src_change_state):
24313 Some more debugging info.
24315 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24317 * docs/gst/gstreamer-sections.txt:
24318 * gst/base/gstbasetransform.h:
24322 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24324 * docs/gst/.cvsignore:
24325 * docs/gst/tmpl/.cvsignore:
24326 * docs/gst/tmpl/gstpipeline.sgml:
24327 * docs/gst/tmpl/gstplugin.sgml:
24328 * gst/gstpipeline.c:
24331 inlined the last two docs files
24332 removed the tmpl directory from cvs (no more conflicts here!)
24334 2005-09-25 Stefan Kost <ensonic@users.sf.net>
24336 * docs/gst/gstreamer-sections.txt:
24337 * docs/gst/tmpl/.cvsignore:
24338 * docs/gst/tmpl/gstpad.sgml:
24339 * docs/gst/tmpl/gstpadtemplate.sgml:
24341 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24342 (gst_pad_finalize), (gst_pad_set_pad_template):
24344 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24345 (gst_pad_template_class_init), (gst_pad_template_init),
24346 (gst_pad_template_dispose), (name_is_valid),
24347 (gst_static_pad_template_get), (gst_pad_template_new),
24348 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24349 (gst_pad_template_pad_created):
24350 * gst/gstpadtemplate.h:
24351 inlined two more docs
24352 factored gstpadtemplate out of gstpad
24354 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
24356 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24357 (test_children_state_change_order_semi_sink):
24358 Fix test case: we can't rely on a fixed state change order when
24359 going from READY => PAUSED because the sink might commit its
24360 new state first when the first buffer created by the source
24361 reaches the sink before the source has finished its change state.
24362 (Test case still fails at times, see #316856, comment 5 onwards)
24364 2005-09-24 Wim Taymans <wim@fluendo.com>
24366 * docs/design/part-events.txt:
24367 * docs/design/part-gstbus.txt:
24368 * docs/design/part-gstpipeline.txt:
24369 * docs/design/part-messages.txt:
24370 * docs/design/part-overview.txt:
24371 * docs/design/part-segments.txt:
24375 * gst/gstelement.c:
24378 * gst/gstiterator.c:
24379 Various documentation updates.
24381 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
24384 Well, that's embarassing. Luckily we weren't using
24385 GST_CLOCK_DIFF anywhere.
24387 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24389 * common/gtk-doc.mak:
24390 don't fail on building XML, FC4 slave shows a bunch of doc
24391 missing bits that I don't get
24393 * gst/gstpipeline.c:
24394 * gst/gststructure.c:
24397 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24399 * docs/design/part-gstbin.txt:
24400 * docs/design/part-gstbus.txt:
24402 Add blurb about how the bus goes into flushing mode and
24403 drops all messages when its bin goes from READY into NULL
24406 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24408 * docs/gst/gstreamer-sections.txt:
24409 * gst/gststructure.c: (gst_structure_get_clock_time):
24410 * gst/gststructure.h:
24411 add a method to get a GstClockTime out of a structure
24413 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
24415 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24416 (test_children_state_change_order_semi_sink), (gst_bin_suite):
24417 Added test to check state change order in bins (can still be made
24418 to fail here under heavy disk load; bails out with 'Push on pad
24419 fakesink:sink0, but it was not activated in push mode').
24421 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24422 Fix state change order when there is only a semi sink (#316856)
24424 * gst/gstbus.c: (gst_bus_class_init):
24425 Use _class_peek_parent(), not _class_ref(); fix docs to say
24426 'default main context' instead of 'mainloop' where that is
24429 * gst/gstelement.c: (gst_element_commit_state),
24430 (gst_element_set_state):
24431 Fix typos in debug messages
24433 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24436 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24437 * gst/gstpluginfeature.c:
24439 various doc updates
24440 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24441 change an assert into an error until it gets fixed properly
24443 2005-09-23 Stefan Kost <ensonic@users.sf.net>
24445 * docs/gst/gstreamer-sections.txt:
24446 * docs/gst/tmpl/.cvsignore:
24447 * docs/gst/tmpl/gstelement.sgml:
24448 * docs/gst/tmpl/gstinfo.sgml:
24449 * docs/gst/tmpl/gstobject.sgml:
24450 * gst/gstelement.c:
24451 * gst/gstelement.h:
24454 * gst/gstobject.c: (gst_object_class_init):
24456 inlined 3 more biiiig doc files and added some missing docs on the fly
24458 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
24460 * check/gst/.cvsignore:
24461 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24462 * gst/gstregistryxml.c: (load_plugin),
24463 (gst_registry_xml_save_plugin):
24464 put back source in registry. add checks for find_plugin.
24465 * testsuite/states/bin.c: (assert_state), (empty_bin),
24466 (test_adding_one_element), (main):
24467 * testsuite/states/locked.c: (main):
24468 some compile/run fixes
24470 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
24472 * check/gst/gstvalue.c: (GST_START_TEST):
24473 fix leaks in the test itself
24475 2005-09-22 Wim Taymans <wim@fluendo.com>
24477 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24478 (gst_base_sink_send_event), (gst_base_sink_peer_query),
24479 (gst_base_sink_query):
24480 Prepare for more accurate position reporting and query
24483 * gst/gstelement.c: (gst_element_send_event),
24484 (gst_element_set_state):
24487 2005-09-22 Wim Taymans <wim@fluendo.com>
24489 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24490 (gst_query_parse_segment):
24492 More documentation.
24493 Add segment query for future use.
24495 2005-09-22 Wim Taymans <wim@fluendo.com>
24497 * gst/gstbin.c: (gst_bin_add_func):
24498 Some more debug info.
24500 * gst/gstelement.c: (gst_element_send_event):
24501 Simplify send_event
24503 * gst/gstelement.h:
24504 Don't know how flags got broken.
24509 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24511 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24512 Add simplistic test suite for GST_TYPE_DATE serialisation and
24515 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
24517 * docs/gst/gstreamer-sections.txt:
24518 * gst/gststructure.c: (gst_structure_set_valist),
24519 (gst_structure_get_date):
24520 * gst/gststructure.h:
24521 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24522 (gst_date_copy), (gst_value_compare_date),
24523 (gst_value_serialize_date), (gst_value_deserialize_date),
24524 (gst_value_transform_date_string),
24525 (gst_value_transform_string_date), (_gst_value_initialize):
24527 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24528 bunch of utility functions along with a hack that checks that
24529 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24530 is required. Part of the grand scheme in #170777.
24532 2005-09-22 Andy Wingo <wingo@pobox.com>
24534 * gst/gstconfig.h.in: Psych out gtk-doc.
24536 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24538 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24540 * tools/gst-inspect.c (print_element_list): Plug some
24541 inconsequential leaks.
24543 * gst/gstregistry.c (gst_registry_get_default): Doc.
24545 * check/gst/gstplugin.c:
24546 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24547 * gst/gstelementfactory.c (gst_element_factory_create):
24548 * gst/gstindexfactory.c (gst_index_factory_create): Update for
24551 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24552 (gst_plugin_feature_load): Doc, don't eat refs.
24554 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24555 (gst_plugin_list_free): Doc.
24556 (gst_plugin_load_file): Doc updates.
24558 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24559 accessors returning refcounted objects, return a ref.
24561 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24562 accessor for caps. IDEMPOTENCE. Oh yes.
24564 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
24566 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
24568 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24569 (_gst_debug_register_funcptr):
24570 Add mutex to serialise access to the hash table with
24571 the function pointer => function name string mapping;
24572 make that hash table static scope (#316809).
24574 * gst/registries/.cvsignore:
24575 Remove left-over file.
24577 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24579 * docs/pwg/appendix-porting.xml:
24580 And something about newsegment events and caps-on-buffers to
24581 the porting guide (feel free to improve).
24583 2005-09-21 Andy Wingo <wingo@pobox.com>
24585 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24586 data and event probes on the same pad.
24587 (test_buffer_probe_once): Test that removing probes from within
24588 the probe functions works.
24590 2005-09-21 Andy Wingo <wingo@pobox.com>
24592 * check/gst/gstutils.c: New file.
24593 (test_buffer_probe_n_times): A simple buffer probe test. More to
24596 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24597 have-data::buffer, not have-data.
24598 (gst_pad_add_event_probe): Likewise for have-data::event.
24599 (gst_pad_add_data_probe): More docs. The part about 'resolving the
24600 peer' isn't quite right yet though.
24601 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
24602 (gst_pad_remove_data_probe): Change to take the guint handler_id
24603 as their arg, not the function+data, which is more glib-like.
24605 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24606 the signal emission to indicate if the data is a buffer or an
24608 (gst_pad_get_type): Initialize buffer and event quarks.
24609 (gst_pad_class_init): have-data is now a detailed signal, yes it
24612 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
24614 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24615 * gst/gstutils.c: (gst_util_set_value_from_string),
24616 (gst_util_set_object_arg):
24617 Don't put functional code in g_return_if_fail() or
24618 g_return_val_if_fail() statements, otherwise things will
24619 break when G_DISABLE_CHECKS is defined during compilation.
24621 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24623 * docs/gst/tmpl/.cvsignore:
24624 * docs/gst/tmpl/gstvalue.sgml:
24627 inlied another one and added some obvious docs
24629 2005-09-21 Wim Taymans <wim@fluendo.com>
24631 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24632 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24633 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24634 (gst_fdsrc_get_property), (gst_fdsrc_create):
24635 * gst/elements/gstfdsrc.h:
24636 Properly implement fdsrc. Removed signal and timeout,
24637 better implemented somewhere else.
24639 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24641 * docs/gst/tmpl/.cvsignore:
24642 * docs/gst/tmpl/gstimplementsinterface.sgml:
24643 * gst/gstinterface.c:
24646 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24648 * docs/gst/gstreamer-sections.txt:
24649 * docs/gst/tmpl/.cvsignore:
24650 * docs/gst/tmpl/gstenumtypes.sgml:
24651 remove obsolete doc file
24653 2005-09-21 David Schleef <ds@schleef.org>
24655 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24656 little beer, fix a little leak.
24658 2005-09-21 Stefan Kost <ensonic@users.sf.net>
24660 * docs/gst/gstreamer-docs.sgml:
24661 * docs/gst/gstreamer-sections.txt:
24662 * docs/gst/tmpl/.cvsignore:
24666 * gst/gstelement.h:
24667 * gst/gstindex.c: (gst_index_class_init):
24669 * gst/gstindexfactory.c: (gst_index_factory_get_type),
24670 (gst_index_factory_class_init), (gst_index_factory_init),
24671 (gst_index_factory_finalize), (gst_index_factory_new),
24672 (gst_index_factory_destroy), (gst_index_factory_find),
24673 (gst_index_factory_create), (gst_index_factory_make):
24674 * gst/gstindexfactory.h:
24675 * gst/gstpluginfeature.c:
24676 * gst/gstpluginfeature.h:
24677 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24678 more docs inlined, splitted gstindex.{c,h}
24680 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24682 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24685 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24687 * gst/elements/gstfilesink.c: (gst_file_sink_init):
24688 Set sync to FALSE by default.
24690 2005-09-20 Wim Taymans <wim@fluendo.com>
24692 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24693 (gst_base_sink_init):
24694 Make sync property settable from subclass.
24696 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24697 (gst_fake_sink_change_state):
24698 Set sync to FALSE by default.
24700 2005-09-20 Wim Taymans <wim@fluendo.com>
24702 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
24703 * tools/gst-launch.c: (main):
24704 The timeout handler should have lower priority than the source
24705 so we don't timeout before popping a message with 0 timeout.
24706 Dump error messages after failed state change.
24708 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
24710 * tools/gst-inspect.c: (print_element_properties_info):
24713 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24715 * check/gst/gstevent.c:
24716 * gst/elements/gstfakesink.c:
24717 * gst/elements/gstfakesink.h:
24718 remove the sync property from fakesink.
24719 has the side effect of setting sync TRUE
24720 for fakesink, which is a change. Anyone who knows how
24721 to fix this nicely in a GObject-y way, feel free.
24723 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24725 * docs/gst/gstreamer-docs.sgml:
24726 remove probe refsection
24728 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24730 * check/Makefile.am:
24731 disable valgrinding the controller test again
24732 * docs/gst/gstreamer-sections.txt:
24733 update for api-changes
24735 2005-09-20 Wim Taymans <wim@fluendo.com>
24737 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24738 (gst_base_sink_set_property), (gst_base_sink_get_property),
24739 (gst_base_sink_do_sync):
24740 * gst/base/gstbasesink.h:
24741 Added sync property to basesink to disable clock sync.
24743 2005-09-20 Andy Wingo <wingo@pobox.com>
24745 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
24746 eating the caller's refcount.
24748 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
24749 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
24752 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
24753 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
24754 of GLib 2.8 public, so we can know which refcount to check in
24757 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
24758 (gst_object_init): Only set the gst refcount if we're going ahead
24759 with the refcount hack.
24761 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24763 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24764 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24765 more leaks plumbed, added more debug-logging
24769 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24771 * gst/gstmessage.c:
24772 remove include of gstmemchunk.h
24774 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24776 * gst/gstclock.c: (_gst_clock_id_free):
24777 Commit from the Political Party For More Atomic CVS Commits,
24778 so that people don't waste too much of their day fishing
24779 out obvious leaks out of massive commits.
24780 Oh, and fix a pretty damn obvious leak in the memchunk
24783 2005-09-20 Stefan Kost <ensonic@users.sf.net>
24785 * check/Makefile.am:
24786 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
24787 plug mem-leak, re-add to valgrindable tests
24789 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
24792 unbreak the build for those who have chronic arthritis
24793 and typing "make check" is just too taxing on the hands
24795 2005-09-20 Andy Wingo <wingo@pobox.com>
24797 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
24798 really want it out, you should fix plugins at the same time.
24800 2005-09-19 Stefan Kost <ensonic@users.sf.net>
24803 * docs/gst/gstreamer-sections.txt:
24805 added missing symbols to api docs
24806 disable ref-count hack if we have glib >= 2.8
24808 2005-09-19 David Schleef <ds@schleef.org>
24810 * docs/gst/Makefile.am: Ignore a few more internal headers
24811 * docs/gst/gstreamer-docs.sgml: Remove old sections
24812 * docs/gst/gstreamer-sections.txt: Remove old sections
24813 * docs/gst/tmpl/gstobject.sgml: update
24814 * docs/gst/tmpl/gstplugin.sgml: update
24815 * docs/gst/tmpl/gstpluginfeature.sgml: update
24816 * docs/random/ds/0.9-suggested-changes: update.
24817 * gst/Makefile.am: remove memchunk and trashstack, since they're
24819 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
24820 * gst/gst.h: don't include some headers
24821 * gst/gstchildproxy.c: add gstmarshal.h
24822 * gst/gstclock.c: Don't use memchunks
24823 * gst/gstminiobject.c: Add some docs
24824 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
24825 * gst/gstobject.h: same
24826 * gst/gstplugin.c: include gstmacros.h
24827 * gst/gstplugin.h: don't include gstmacros.h, since it's private
24828 * gst/gstquery.c: don't use memchunks
24829 * gst/gstregistry.c: rename gst_registry_deinit()
24830 * gst/gstregistry.h: same
24832 2005-09-19 David Schleef <ds@schleef.org>
24834 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
24835 * docs/libs/gstreamer-libs-sections.txt:
24836 * docs/libs/tmpl/gstgetbits.sgml:
24837 * docs/libs/tmpl/gstputbits.sgml:
24839 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
24841 * win32/gstenumtypes.c:
24842 * win32/gstenumtypes.h:
24845 2005-09-19 Wim Taymans <wim@fluendo.com>
24847 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
24848 Automatically PAUSE and RESUME a pipeline when a flushing seek
24851 2005-09-19 Andy Wingo <wingo@pobox.com>
24853 * gst/gstregistry.h: Spacing fixen.
24855 2005-09-19 Wim Taymans <wim@fluendo.com>
24857 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
24858 Handle state change failure more correctly.
24860 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24862 * check/Makefile.am:
24863 * check/pipelines/cleanup.c: (run_pipeline):
24864 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24866 enable cleanup again after fixing the leak
24868 some more info on docs
24870 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24872 * check/Makefile.am:
24873 re-enable tests now that leaks are plugged
24875 * check/gst/gstbin.c:
24876 * check/gst/gstpipeline.c:
24877 add some more tests while fixing leaks
24878 * common/check.mak:
24879 make sure binaries are uptodate when valgrinding/gdbing
24881 * gst/gstelementfactory.c:
24882 remove a ref too many, and add a FIXME for when we get
24883 round to disposing of classes
24885 fix the refcounting when loading a plugin from a file and
24886 the code pretends that the pointer is the same even though
24887 of course it can change
24888 * gst/gstpluginfeature.c:
24889 unref plugins marked cached (a bit confusing as a name)
24890 as the docs state should be done
24891 various doc additions to explain refcounting
24892 * gst/gstregistry.c:
24893 * gst/gstregistryxml.c:
24896 2005-09-19 Wim Taymans <wim@fluendo.com>
24898 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24899 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24900 (send_messages), (GST_START_TEST), (gstbus_suite):
24901 * check/gst/gstpipeline.c: (GST_START_TEST):
24902 * check/pipelines/cleanup.c: (run_pipeline):
24903 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24905 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24906 (gst_bus_source_check), (gst_bus_source_dispatch),
24907 (gst_bus_create_watch), (gst_bus_add_watch_full),
24908 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24910 * tools/gst-launch.c: (event_loop):
24911 * tools/gst-md5sum.c: (event_loop):
24912 GstBusHandler -> GstBusFunc, return value has the same meaning as
24913 any other GSource (FALSE == remove source).
24914 _add_watch() and _add_watch_full() now take a MessageType mask to
24915 only handle specific types of messages.
24916 _poll() returns the GstMessage instead of the message type to avoid
24918 _have_pending() takes a MessageType mask now too.
24919 Added testsuite for multiple bus watches.
24920 Fix testsuites and applications for new bus API.
24922 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24924 * check/Makefile.am:
24925 mark a bunch of the tests as to fix until we fix them
24927 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24929 * common/check.mak:
24930 use GST_PLUGIN settings for valgrind tests as well, so we're
24931 valgrinding the correct thing
24932 * gst/gst.c: (init_post):
24935 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24937 * gst/gst.c: (init_post), (gst_deinit):
24938 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24939 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24940 * gst/gstindex.c: (gst_index_factory_class_init),
24941 (gst_index_factory_finalize):
24942 * gst/gstobject.c: (gst_object_dispose):
24943 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24944 (gst_plugin_load_file), (gst_plugin_desc_free):
24945 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24946 (gst_plugin_feature_finalize):
24947 * gst/gstregistry.c: (gst_registry_class_init),
24948 (gst_registry_init), (gst_registry_finalize),
24949 (gst_registry_get_default), (gst_registry_deinit):
24950 * gst/gstregistry.h:
24951 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24952 various cleanups and memleak plugging. make valgrind is happy now.
24954 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24956 * common/check.mak:
24957 add a check-valgrind target
24959 2005-09-18 David Schleef <ds@schleef.org>
24961 * tools/gst-inspect.c: Revert the GOption code.
24963 2005-09-17 David Schleef <ds@schleef.org>
24965 * check/Makefile.am: Fix environment variables.
24966 * check/gst/gstplugin.c: Fix for API changes.
24967 * tools/gst-inspect.c: Fix for API changes.
24968 * tools/gst-xmlinspect.c: Fix for API changes.
24969 * gst/gstelementfactory.c:
24972 * gst/gstpluginfeature.c:
24973 * gst/gstpluginfeature.h:
24974 * gst/gstregistry.c:
24975 * gst/gstregistry.h:
24976 * gst/gstregistryxml.c:
24977 * gst/gsttypefind.c:
24978 * gst/gsttypefindfactory.c:
24979 * gst/indexers/gstfileindex.c:
24980 * gst/indexers/gstmemindex.c:
24981 * gst/schedulers/Makefile.am:
24982 Change registry to keep track of both plugins and features,
24983 removing the feature tracking from plugins themselves.
24985 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24987 * check/Makefile.am:
24988 * tools/gst-register.1.in:
24989 remove gst-register
24991 2005-09-15 David Schleef <ds@schleef.org>
24993 * check/gst/gstplugin.c:
24994 * gst/gstelementfactory.c:
24996 * gst/gstpluginfeature.c:
24997 * gst/gstregistry.c:
24998 Getting tired of debugging. Disabled all the unreffing of
24999 plugins and features, which fixes the segfaults, but of
25000 course leaks like crazy. At least playbin works.
25002 2005-09-15 David Schleef <ds@schleef.org>
25004 * check/gst/gstplugin.c: (register_check_elements),
25005 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25007 * gst/elements/gsttypefindelement.c: Fix refcounting.
25008 * gst/gsttypefind.c:
25009 * gst/gsttypefindfactory.c:
25010 * gst/gsttypefindfactory.h:
25012 2005-09-15 David Schleef <ds@schleef.org>
25014 * gst/gstindex.c: get refcounting correct.
25015 * gst/gstregistry.c: Handle the case where a feature/plugin is
25018 2005-09-15 David Schleef <ds@schleef.org>
25020 * check/Makefile.am:
25021 * check/gst/gstplugin.c: Add test
25022 * gst/gstplugin.c: Fix problems noticed by testsuite
25024 * gst/gstregistry.c:
25025 * gst/gstregistry.h:
25027 2005-09-15 David Schleef <ds@schleef.org>
25029 * gst/gstplugin.c: Implement semi-decent recounting and locking
25030 in plugins and plugin features.
25032 * gst/gstpluginfeature.c:
25033 * gst/gstpluginfeature.h:
25034 * gst/gstregistry.c:
25036 2005-09-15 Michael Smith <msmith@fluendo.com>
25038 * gst/gstregistry.c: (gst_registry_get_feature_list):
25039 Implement this. Makes oggdemux work; decodebin still broken.
25041 2005-09-14 David Schleef <ds@schleef.org>
25043 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25045 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25046 * gst/check/Makefile.am:
25047 * libs/gst/controller/Makefile.am:
25048 * libs/gst/dataprotocol/Makefile.am:
25050 2005-09-14 David Schleef <ds@schleef.org>
25052 * configure.ac: Remove getbits library. Nothing uses it, and
25053 it should be in something like liboil if someone did want
25055 * libs/gst/Makefile.am:
25056 * libs/gst/getbits/Makefile.am:
25057 * libs/gst/getbits/gbtest.c:
25058 * libs/gst/getbits/getbits.c:
25059 * libs/gst/getbits/getbits.h:
25060 * libs/gst/getbits/gstgetbits_generic.c:
25061 * libs/gst/getbits/gstgetbits_i386.s:
25062 * libs/gst/getbits/gstgetbits_inl.h:
25064 2005-09-14 David Schleef <ds@schleef.org>
25066 * gst/Makefile.am: Dist glib-compat.h
25068 2005-09-14 David Schleef <ds@schleef.org>
25070 * configure.ac: Remove gst/registries, since it's no longer used.
25071 * gst/registries/Makefile.am:
25072 * gst/registries/gstlibxmlregistry.c:
25073 * gst/registries/gstlibxmlregistry.h:
25074 * gst/registries/gstxmlregistry.c:
25075 * gst/registries/gstxmlregistry.h:
25076 * gst/registries/registrytest.c:
25078 2005-09-14 David Schleef <ds@schleef.org>
25080 * gst/glib-compat.h:
25081 * gst/gstregistryxml.c:
25082 Convergence is near. Seriously.
25084 2005-09-14 David Schleef <ds@schleef.org>
25086 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25087 * gst/glib-compat.h:
25088 Attempt #4 to appease the buildbots.
25090 2005-09-14 David Schleef <ds@schleef.org>
25092 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25095 2005-09-14 David Schleef <ds@schleef.org>
25097 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25100 2005-09-14 David Schleef <ds@schleef.org>
25102 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25105 2005-09-14 David Schleef <ds@schleef.org>
25107 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25108 * gst/glib-compat.h: Add some functions that are in newer versions
25109 of glib than we care to require.
25110 * gst/gstregistryxml.c: Use them.
25112 2005-09-14 David Schleef <ds@schleef.org>
25114 * po/POTFILES.in: remove gst-register.c
25116 2005-09-14 David Schleef <ds@schleef.org>
25118 * docs/gst/gstreamer-docs.sgml:
25119 * docs/gst/gstreamer-sections.txt:
25120 * docs/gst/gstreamer.types:
25121 * docs/gst/tmpl/gstelement.sgml:
25122 * docs/gst/tmpl/gstplugin.sgml:
25123 * docs/gst/tmpl/gstpluginfeature.sgml:
25124 Documentation updates for registry changes.
25126 2005-09-14 David Schleef <ds@schleef.org>
25128 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25129 because we don't require glib-2.8.
25131 2005-09-14 David Schleef <ds@schleef.org>
25133 * gst/gstregistryxml.c: Added. Essentially moved out of the
25134 registries directory.
25136 2005-09-14 David Schleef <ds@schleef.org>
25138 * check/Makefile.am:
25139 * check/generic/states.c:
25143 * gst/gst_private.h:
25144 * gst/gstelementfactory.c:
25149 * gst/gstpluginfeature.c:
25150 * gst/gstpluginfeature.h:
25151 * gst/gstregistry.c:
25152 * gst/gstregistry.h:
25153 * gst/gstregistrypool.c: remove
25154 * gst/gstregistrypool.h: remove
25155 * gst/gsttypefind.c:
25156 * gst/gsttypefindfactory.c:
25158 * tools/Makefile.am:
25159 * tools/gst-compprep.c:
25160 * tools/gst-inspect.c:
25161 * tools/gst-register.c: remove
25162 * tools/gst-xmlinspect.c:
25163 Registry rewrite. Changes registry from being a file created
25164 by a tool into a simple cache file created automatically by
25165 libgstreamer. Removed gst-register (because it's no longer
25166 needed). Remove registry pools, because we only have one
25167 registry implementation (XML). Fix up other subsystems as
25170 2005-09-13 Michael Smith <msmith@fluendo.com>
25172 * gst/gstconfig.h.in:
25173 Don't Use windows linking attributes for MinGW. Fixes #316157
25175 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
25177 * gst/gstutils.c: (set_state_async_thread_func),
25178 (gst_element_set_state_async):
25179 Apparently people think it's better if this function doesn't
25180 try to set the state to whatever state was asked for on the first
25181 call to this function for any object. Seriously.
25183 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25185 * check/gst/gstpipeline.c: (GST_START_TEST):
25186 * docs/gst/gstreamer-sections.txt:
25187 * gst/gstutils.c: (set_state_async_thread_func),
25188 (gst_element_set_state_async):
25190 add a "gst_element_set_state_async" method that
25191 sets the state and starts a thread to make sure the state
25192 change completes as best as it can
25194 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25196 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25197 codify design+behaviour in testsuite after discussion
25199 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
25201 * docs/gst/tmpl/gstelement.sgml:
25202 * docs/manual/appendix-quotes.xml:
25204 * gst/gstelement.c: (gst_element_set_state):
25207 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
25209 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25210 (gst_base_transform_prepare_output_buf),
25211 (gst_base_transform_handle_buffer):
25212 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25213 (gst_capsfilter_prepare_buf):
25214 Remove the requirement for sub-classes to call the parent
25215 implementation of prepare_output_buffer with a wrapper function.
25217 * gst/gsttaglist.h:
25218 * gst/gsttagsetter.h:
25219 Fix #define wrapper
25221 2005-09-11 Stefan Kost <ensonic@users.sf.net>
25223 * docs/gst/gstreamer-sections.txt:
25226 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25228 * docs/gst/gstreamer-sections.txt:
25229 * docs/gst/tmpl/gstelement.sgml:
25230 * docs/gst/tmpl/gstplugin.sgml:
25231 * gst/gstminiobject.c:
25233 docs now stop throwing warnings
25235 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25237 * docs/gst/gstreamer-sections.txt:
25238 * docs/gst/gstreamer.types:
25239 * docs/gst/tmpl/gstpad.sgml:
25240 * docs/gst/tmpl/gsttypes.sgml:
25241 * gst/base/gstadapter.h:
25242 * gst/base/gstbasesink.h:
25243 * gst/base/gstbasesrc.h:
25249 * gst/gstelement.h:
25251 * gst/gstmessage.h:
25253 * gst/gststructure.c:
25254 * gst/registries/gstlibxmlregistry.h:
25255 various documentation fixes
25257 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
25259 * docs/gst/gstreamer-sections.txt:
25260 * docs/gst/tmpl/gstvalue.sgml:
25261 rearrange gstvalue section
25262 * gst/gstutils.c: (gst_element_state_get_name):
25264 * gst/gstvalue.c: (_gst_value_initialize):
25268 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
25270 * check/gst-libs/controller.c:
25271 Header include fix.
25272 * gst/base/gstbasetransform.c:
25273 (gst_base_transform_default_prepare_buf),
25274 (gst_base_transform_handle_buffer):
25275 * gst/base/gstbasetransform.h:
25276 Some more basetransform changes and fixes to enable sub-classes
25277 that modify buffer metadata only.
25278 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25279 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25280 (gst_capsfilter_prepare_buf):
25281 If the output pad has fixed allowed caps and input buffers
25282 don't have any, set the fixed caps on outgoing buffers.
25284 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
25285 * check/elements/identity.c: (GST_START_TEST):
25286 Make the error a little clearer when the test fails because
25287 identity made a copy of the buffer.
25288 * docs/gst/gstreamer-sections.txt:
25289 New symbols in gstbasetransform.h
25290 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25291 (gst_base_transform_init), (gst_base_transform_transform_size),
25292 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25293 (gst_base_transform_default_prepare_buf),
25294 (gst_base_transform_get_unit_size),
25295 (gst_base_transform_buffer_alloc),
25296 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25297 (gst_base_transform_change_state),
25298 (gst_base_transform_set_passthrough),
25299 (gst_base_transform_set_in_place),
25300 (gst_base_transform_is_in_place):
25301 * gst/base/gstbasetransform.h:
25302 Change BaseTransform to separate in_place operate from same_caps
25303 output. in_place implies that the element can perform the transform
25304 on incoming buffers in-place, even if the caps on the output are
25306 Sub-class elements can now implement special buffer allocation
25307 methods for outgoing buffers if they wish to.
25308 Big documentation addition.
25309 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25310 * gst/elements/gstelements.c:
25311 Changes for basetransform modifications.
25312 * gst/elements/Makefile.am:
25313 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25314 Compile fix. Extra debug output.
25316 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25318 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25320 add tests for valid pad naming
25321 * gst/check/gstcheck.c: (gst_check_log_message_func),
25322 (gst_check_log_critical_func):
25324 remove printing of code, it is fragile when the code contains
25325 % and the line number is enough info
25326 * gst/check/gstcheck.h:
25327 * gst/gstpad.c: (gst_pad_template_new):
25330 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25333 say what CHECK flags we use
25334 * docs/libs/gstreamer-libs.types:
25335 * libs/gst/controller/Makefile.am:
25336 * libs/gst/controller/gst-controller.c:
25337 * libs/gst/controller/gst-controller.h:
25338 * libs/gst/controller/gst-helper.c:
25339 * libs/gst/controller/gst-interpolation.c:
25340 * libs/gst/controller/gstcontroller.c:
25341 * libs/gst/controller/gsthelper.c:
25342 * libs/gst/controller/gstinterpolation.c:
25343 * tools/gst-inspect.c: (print_plugin_info):
25344 we don't use dashes in header names
25346 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
25348 * check/Makefile.am:
25349 * check/gst/.cvsignore:
25350 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25351 (gst_pipeline_suite), (main):
25352 adding a test for pipelines and state changes
25353 * gst/gstutils.c: (get_state_func):
25355 * gstreamer.spec.in:
25358 2005-09-08 Michael Smith <msmith@fluendo.com>
25360 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25361 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25362 (gst_file_src_is_seekable), (gst_file_src_get_size),
25363 (gst_file_src_start):
25364 * gst/elements/gstfilesrc.h:
25365 Various fixes for unseekable, unmmapable, and non-normal files, so
25366 that fallback to read() rather than mmap() works.
25367 * gst/gstevent.c: (gst_event_new_newsegment):
25368 Allow newsegment events with segment_start == segment_end, as will
25369 correctly happen if you use filesrc on a zero-size file, for
25372 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25374 * gst/gstplugin.c: (gst_plugin_load_file):
25375 Call g_module_close when we don't load the module
25377 * gst/registries/gstlibxmlregistry.c:
25378 (gst_xml_registry_get_property):
25379 Port leak fix from 0.8
25381 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25383 * docs/gst/gstreamer-docs.sgml:
25384 * docs/gst/tmpl/.cvsignore:
25385 * docs/gst/tmpl/gsttrace.sgml:
25386 * docs/gst/tmpl/gsttrashstack.sgml:
25389 * gst/gstelement.h:
25391 * gst/gstmessage.c:
25392 * gst/gstmessage.h:
25395 * gst/gsttaginterface.c:
25396 * gst/gsttaginterface.h:
25397 * gst/gsttaglist.c:
25398 * gst/gsttaglist.h:
25399 * gst/gsttagsetter.c:
25400 * gst/gsttagsetter.h:
25403 * gst/gsttrashstack.c:
25404 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25405 inlined docs for gsttrace, gsttrashstack
25407 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25410 * gst/elements/gstbufferstore.h:
25411 * gst/elements/gsttypefindelement.c:
25412 * gst/elements/gsttypefindelement.h:
25414 * gst/gsttypefind.c:
25415 * gst/gsttypefind.h:
25416 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25417 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25418 (gst_type_find_factory_dispose),
25419 (gst_type_find_factory_unload_thyself),
25420 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25421 (gst_type_find_factory_get_caps),
25422 (gst_type_find_factory_get_extensions),
25423 (gst_type_find_factory_call_function):
25424 * gst/gsttypefindfactory.h:
25425 * gst/registries/gstlibxmlregistry.c:
25426 * gst/registries/gstxmlregistry.c:
25427 splitted gsttypefind into gsttypefind, gsttypefindfactory
25429 2005-09-07 Andy Wingo <wingo@pobox.com>
25431 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25432 condition whereby the pad's task function is entered before the
25433 pad_mode variable was set.
25435 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
25437 * gst/gstpad.c: (gst_pad_alloc_buffer):
25438 Catch misbehaving pad_alloc functions that don't
25439 set up caps and do it for them.
25441 2005-09-07 Stefan Kost <ensonic@users.sf.net>
25443 * check/pipelines/simple_launch_lines.c: (run_pipeline):
25444 test for pipe!=NULL
25445 * docs/gst/tmpl/.cvsignore:
25446 * docs/gst/tmpl/gstmemchunk.sgml:
25447 * docs/gst/tmpl/gstparse.sgml:
25448 * docs/gst/tmpl/gsttaglist.sgml:
25449 * docs/gst/tmpl/gsttagsetter.sgml:
25450 * docs/gst/tmpl/gsttypefind.sgml:
25451 * docs/gst/tmpl/gsttypefindfactory.sgml:
25452 * gst/gstmemchunk.c:
25455 * gst/gsttaginterface.c:
25456 * gst/gsttypefind.c:
25457 * gst/gsttypefind.h:
25460 === release 0.9.2 ===
25462 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
25467 releasing 0.9.2, "South"
25469 2005-09-05 Andy Wingo <wingo@pobox.com>
25471 * gst/registries/gstxmlregistry.h:
25472 * gst/registries/gstxmlregistry.c: Um... resurrect...
25474 * gst/registries/gstxmlregistry.h:
25475 * gst/registries/gstxmlregistry.c: and update to newer API.
25476 Incidentally they should be a bit faster now that they don't have
25479 2005-09-05 Andy Wingo <wingo@pobox.com>
25481 * gst/registries/gstxmlregistry.h:
25482 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25483 replaced by the libxml registry a while back
25485 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25487 * docs/gst/tmpl/gstplugin.sgml:
25488 * gst/elements/gstelements.c:
25490 * gst/gstplugin.c: (gst_plugin_register_func),
25491 (gst_plugin_desc_copy), (gst_plugin_desc_free),
25492 (gst_plugin_get_source):
25494 * gst/registries/gstlibxmlregistry.c: (load_plugin),
25495 (gst_xml_registry_save_plugin):
25496 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25497 (gst_xml_registry_save_plugin):
25498 * tools/gst-inspect.c: (print_plugin_info):
25499 add a "source" plugin description field, to represent the source
25500 module this plugin is a part of. By default GST_PLUGIN_DEFINE
25501 will set it to PACKAGE, which is automake's idea of the name of
25502 the source project.
25504 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
25509 * docs/Makefile.am:
25510 * docs/faq/Makefile.am:
25511 * docs/gst/tmpl/gstelement.sgml:
25512 * docs/gst/tmpl/gsttypes.sgml:
25513 * docs/htmlinstall.mak:
25514 * docs/manual/Makefile.am:
25515 * docs/pwg/Makefile.am:
25516 reorganize doc build a little
25517 split out docbook and gtk-doc stuff
25518 have two separate --enable's and enable them through autogen
25519 but disable by default in configure (to be similar to other
25521 * gstreamer.spec.in:
25522 clean up docs install
25540 translation updates
25542 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
25544 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25547 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25548 (gst_fake_sink_change_state):
25549 Make state change function thread-safe.
25551 * gst/gstpad.c: (gst_pad_alloc_buffer):
25552 Set offset on generic buffer allocated by fallback.
25554 2005-09-03 Stefan Kost <ensonic@users.sf.net>
25556 * docs/gst/gstreamer-sections.txt:
25557 * docs/gst/tmpl/gstelement.sgml:
25559 * libs/gst/controller/gst-controller.c:
25560 (gst_controlled_property_set_interpolation_mode),
25561 (gst_controlled_property_new),
25562 (gst_controller_find_controlled_property):
25563 run the wingo-magic script against the docs
25565 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25567 * docs/gst/gstreamer-docs.sgml:
25568 * docs/gst/gstreamer-sections.txt:
25569 * docs/gst/tmpl/.cvsignore:
25570 * docs/gst/tmpl/gstelementdetails.sgml:
25571 * docs/gst/tmpl/gstelementfactory.sgml:
25574 * gst/gstelementfactory.c:
25575 * gst/gstelementfactory.h:
25576 merged elementdetails docs into elementfactory docs
25579 2005-09-02 Andy Wingo <wingo@pobox.com>
25581 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25582 consider this enum an enum and not a flags.
25584 2005-09-02 Stefan Kost <ensonic@users.sf.net>
25586 * docs/gst/gstreamer-docs.sgml:
25587 * docs/gst/tmpl/.cvsignore:
25588 * docs/gst/tmpl/gstghostpad.sgml:
25589 * docs/gst/tmpl/gstiterator.sgml:
25590 * docs/gst/tmpl/gstmacros.sgml:
25591 * docs/gst/tmpl/gstrealpad.sgml:
25592 * docs/gst/tmpl/gstregistry.sgml:
25593 * docs/gst/tmpl/gstregistrypool.sgml:
25594 * docs/gst/tmpl/gststructure.sgml:
25595 * docs/gst/tmpl/gstsystemclock.sgml:
25596 * docs/gst/tmpl/gsttrace.sgml:
25597 * gst/gstghostpad.c:
25599 * gst/gstmemchunk.c:
25600 * gst/gstmemchunk.h:
25602 * gst/gstregistry.c:
25603 * gst/gstregistrypool.c:
25604 * gst/gststructure.c:
25605 * gst/gstsystemclock.c:
25608 2005-09-02 Andy Wingo <wingo@pobox.com>
25610 * gst/gstelement.h (GstState): Renamed from GstElementState,
25611 changed to be a normal enum instead of flags.
25612 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25613 munged to be GST_STATE_CHANGE_*.
25614 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25615 work with the new state representation.
25616 (GstStateChange): New enumeration of possible state transitions.
25617 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25618 (GstElementClass::change_state): Pass the GstStateChange along as
25619 an argument. Helps language bindings, so they don't have to use
25620 tricky lock-needing macros like GST_STATE_CHANGE ().
25622 * scripts/update-states (file): New script. Run it on a file to
25623 update it for state naming and API changes. Updates files in
25626 * All files updated for the new API.
25628 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
25630 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25631 * gst/gstutils.c: (gst_util_set_value_from_string),
25632 (gst_util_set_object_arg):
25633 fix a bunch of unchecked return values
25634 * tools/gst-complete.c: (main):
25635 * gstreamer.spec.in:
25638 2005-09-01 Wim Taymans <wim@fluendo.com>
25640 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25641 (gst_base_sink_event), (gst_base_sink_do_sync),
25642 (gst_base_sink_handle_event):
25643 * gst/base/gstbasesink.h:
25644 Handle newsegments more correctly.
25649 * gst/gstevent.c: (gst_event_new_newsegment):
25650 A newsegment cannot have a start_time of -1
25652 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
25654 * win32/gstenumtypes.c:
25655 * win32/gstenumtypes.h:
25658 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25660 * libs/gst/controller/gst-controller.c:
25661 (gst_controlled_property_set_interpolation_mode),
25662 (gst_controlled_property_new):
25663 fixed boolean again
25665 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
25667 * docs/faq/gst-uninstalled:
25672 * gst/gstutils.c: (gst_element_link_filtered):
25674 add gst_element_link_filtered
25676 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25678 * docs/gst/gstreamer-docs.sgml:
25679 * docs/gst/gstreamer-sections.txt:
25680 * docs/gst/tmpl/.cvsignore:
25681 * docs/gst/tmpl/gsterror.sgml:
25682 * docs/gst/tmpl/gstfilter.sgml:
25683 * docs/gst/tmpl/gsturihandler.sgml:
25684 * docs/gst/tmpl/gsturitype.sgml:
25685 * docs/gst/tmpl/gstutils.sgml:
25686 * docs/gst/tmpl/gstxml.sgml:
25691 * gst/gsturitype.c:
25694 inlined more docs, fixed double id-ref
25696 2005-08-31 Wim Taymans <wim@fluendo.com>
25698 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25699 (gst_base_transform_handle_buffer):
25700 Passthrough elements don't need the caps as they don't care.
25702 2005-08-31 Wim Taymans <wim@fluendo.com>
25704 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25705 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
25706 Don't leak refcounts on buffers.
25708 2005-08-31 Wim Taymans <wim@fluendo.com>
25710 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
25711 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25712 (gst_base_transform_chain), (gst_base_transform_change_state):
25713 * gst/base/gstbasetransform.h:
25714 Handle the case where we are not negotiated more gracefully.
25716 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
25718 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
25719 (gst_file_src_map_region):
25720 Set READONLY flag on mmap'ed buffers, otherwise
25721 gst_buffer_make_writable() won't work properly (#314708).
25723 2005-08-31 Wim Taymans <wim@fluendo.com>
25725 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
25726 passthrough elements can even do inplace on non writable
25727 buffers (as they don't touch them).
25729 2005-08-31 Stefan Kost <ensonic@users.sf.net>
25731 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25732 (gst_test_mono_source_set_property),
25733 (gst_test_mono_source_class_init), (GST_START_TEST),
25734 (gst_controller_suite):
25735 more tests (hehe I have the most)
25737 describe popping messages whenusing mulltiple sources
25738 * libs/gst/controller/gst-controller.c:
25739 (gst_controlled_property_set_interpolation_mode),
25740 (gst_controlled_property_new):
25741 * libs/gst/controller/gst-controller.h:
25742 * libs/gst/controller/gst-interpolation.c:
25743 implement boolean properties
25745 2005-08-31 Wim Taymans <wim@fluendo.com>
25747 * gst/gstminiobject.c: (gst_mini_object_ref):
25748 Cannot assert that the refcount has to be positive
25749 since a disposed object can be resurrected.
25751 2005-08-31 Wim Taymans <wim@fluendo.com>
25753 * gst/gstpad.c: (gst_pad_init):
25754 Revert change, need to first fix badly behaving
25757 2005-08-30 Wim Taymans <wim@fluendo.com>
25759 * check/elements/fakesrc.c: (setup_fakesrc):
25760 * check/elements/identity.c: (setup_identity):
25761 Activate pads before using them.
25763 2005-08-30 Wim Taymans <wim@fluendo.com>
25765 * gst/base/gstadapter.c: (gst_adapter_flush):
25766 Flushing out 0 bytes is ok for this function.
25768 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25769 no newsegment gives a warning and sets the start/stop to
25772 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
25773 (gst_base_transform_set_passthrough):
25776 * gst/gstminiobject.c: (gst_mini_object_ref):
25777 Check refcount here too.
25779 * gst/gstpad.c: (gst_pad_init):
25780 Pads are initially flushing and refusing data.
25782 * gst/gstutils.c: (gst_element_link_pads_filtered):
25783 When adding a capsfilter element make sure it has the
25784 same state as the parent bin.
25786 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25788 * docs/gst/tmpl/.cvsignore:
25789 * docs/gst/tmpl/gstformat.sgml:
25790 * docs/gst/tmpl/gstversion.sgml:
25794 * gst/gstversion.h.in:
25795 more docs and two more inlined
25797 2005-08-30 Wim Taymans <wim@fluendo.com>
25799 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
25800 Don't sync to clock.
25802 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25804 * docs/gst/gstreamer-sections.txt:
25805 ultral33t func10ns deserve to appear in the docs actually
25806 * docs/gst/tmpl/.cvsignore:
25807 * docs/gst/tmpl/gstcompat.sgml:
25808 * docs/gst/tmpl/gstconfig.sgml:
25809 * gst/check/gstcheck.c:
25811 * gst/gstconfig.h.in:
25814 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25816 * docs/gst/tmpl/.cvsignore:
25817 * docs/gst/tmpl/gstquery.sgml:
25818 * docs/gst/tmpl/gstutils.sgml:
25821 inlined and extended docs
25823 2005-08-30 Stefan Kost <ensonic@users.sf.net>
25825 * check/gst-libs/controller.c: (GST_START_TEST),
25826 (gst_controller_suite):
25828 * docs/gst/tmpl/gstutils.sgml:
25829 * docs/libs/gstreamer-libs-sections.txt:
25830 * docs/libs/tmpl/gstdataprotocol.sgml:
25832 * examples/controller/audio-example.c: (main):
25833 controller example works now
25836 * tools/gst-inspect.c: (print_element_properties_info):
25837 show param spec flags
25839 2005-08-29 Andy Wingo <wingo@pobox.com>
25841 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
25843 2005-08-28 Andy Wingo <wingo@pobox.com>
25845 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
25846 as having two arguments instead of just one. Allows superclasses
25847 to access information on subclasses -- see the terrible for() loop
25848 in gtype.c:g_type_create_instance for the reason why. All callers
25851 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25853 * docs/design/part-messages.txt:
25855 * docs/gst/tmpl/.cvsignore:
25856 * docs/gst/tmpl/gstcaps.sgml:
25857 * docs/gst/tmpl/gstclock.sgml:
25863 * gst/gstmessage.c:
25864 added descriptions for bus and message
25865 inline caps and clock docs
25867 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25869 * gst/gstmessage.c:
25870 * gst/gstmessage.h:
25873 2005-08-27 Stefan Kost <ensonic@users.sf.net>
25875 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25878 2005-08-26 Andy Wingo <wingo@pobox.com>
25880 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
25881 element_set_state's return val.
25882 (test_2_elements): Add test that's been disabled for months.
25884 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
25885 can-activate-pull properties.
25887 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
25888 can-activate-pull properties. Implement is_seekable so fakesrc can
25889 operate in pull mode.
25891 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
25893 (gst_base_sink_activate, gst_base_sink_activate_pull)
25894 (gst_base_sink_activate_push): Make activation mode choosing work.
25896 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
25897 is right. Make pull mode work. Post an eos before pausing in pull
25899 (gst_base_sink_change_state): Pay attention to the core's
25900 change_state() return val.
25902 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
25903 has-getrange properties. Cleanups.
25905 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25906 has_getrange and replace with can_activate_pull and
25909 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25910 locking comments. Remove has_loop, has_chain and replace with
25911 can_activate_pull and can_activate_push.
25913 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25916 * examples/Makefile.am:
25917 * examples/metadata/Makefile.am:
25918 * examples/metadata/read-metadata.c: (message_loop),
25919 (have_pad_handler), (make_pipeline), (print_tag), (main):
25920 Add metadata reading example that loops over a list of filenames,
25921 dumping any tags found.
25923 * gst/gstbus.c: (gst_bus_dispose):
25924 * gst/gstelement.c: (gst_element_dispose):
25925 Release a few potentially-held references in dispose.
25927 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25929 * docs/gst/tmpl/gstminiobject.sgml:
25930 do *not* add tmpl/*.sgml files to CVS!
25932 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25934 * libs/gst/bytestream/.cvsignore:
25935 * libs/gst/bytestream/Makefile.am:
25936 * libs/gst/bytestream/adapter.c:
25937 * libs/gst/bytestream/adapter.h:
25938 * libs/gst/bytestream/bytestream.c:
25939 * libs/gst/bytestream/bytestream.h:
25940 * libs/gst/bytestream/filepad.c:
25941 * libs/gst/bytestream/filepad.h:
25942 removing obsolete files
25944 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25946 * docs/gst/gstreamer-docs.sgml:
25947 * docs/libs/gstreamer-libs-docs.sgml:
25948 disabed additional index entries again, as this makes docs-gen just
25949 slow and they aren't useful yet
25950 * docs/libs/gstreamer-libs-sections.txt:
25951 little -section.txt cleanup for libs
25953 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25955 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25956 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25957 fix up some debugging
25958 (gst_base_transform_get_unit_size),
25959 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25960 (gst_base_transform_handle_buffer):
25961 * gst/base/gstbasetransform.h:
25962 handle and store timed NEWSEGMENT events so that subclasses that
25963 calculate time by counting samples have a segment_start time they
25964 need to add to their timestamps - see audioresample
25966 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25969 removed ';' from the end of macro defs
25970 * docs/gst/gstreamer-docs.sgml:
25971 * docs/gst/gstreamer-sections.txt:
25972 * docs/gst/tmpl/.cvsignore:
25974 * gst/gstelement.c: (gst_element_class_init),
25975 (gst_element_set_state), (activate_pads),
25976 (gst_element_save_thyself):
25977 * gst/gstevent.c: (gst_event_new_newsegment):
25979 * gst/gstiterator.c:
25980 * gst/gstiterator.h:
25983 * gst/gstutils.c: (gst_pad_query_convert):
25985 fixed parameter name mismatches between source, header and docs
25986 added some more docs, resolved the last batch of unused elements in
25987 docs (now someone needs to doc them)
25989 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25991 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25992 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25993 don't walk through the plugins backwards. Where is all this
25994 reversed logic coming from ?
25996 2005-08-25 Wim Taymans <wim@fluendo.com>
25998 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25999 (gst_base_transform_transform_size),
26000 (gst_base_transform_configure_caps),
26001 (gst_base_transform_get_unit_size),
26002 (gst_base_transform_buffer_alloc),
26003 (gst_base_transform_change_state):
26004 * gst/base/gstbasetransform.h:
26005 Cache caps unit_size.
26006 Make sure we cannot negotiate up and downstream at the
26009 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26011 * gst/gst.c: (init_pre), (init_post):
26012 register the installed plugin path after the env var
26013 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26014 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26015 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26016 directories, so the tests can prefer uninstalled over installed
26018 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
26020 * gst/base/gstbasetransform.h:
26025 2005-08-25 Wim Taymans <wim@fluendo.com>
26027 * gst/gstbin.c: (bin_bus_handler):
26028 Be a bit more conservative about the posted message.
26030 * gst/gstbus.c: (gst_bus_post):
26031 Some cleanups, warn wrong return values.
26033 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
26035 * check/gst/gstbin.c: (GST_START_TEST):
26036 * gst/gstbin.c: (bin_bus_handler):
26037 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26038 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26039 (gst_message_new_warning), (gst_message_new_tag),
26040 (gst_message_new_state_changed), (gst_message_new_segment_start),
26041 (gst_message_new_segment_done), (gst_message_new_custom):
26042 * gst/gstmessage.h:
26043 * tools/gst-launch.c: (event_loop):
26044 * tools/gst-md5sum.c: (event_loop):
26045 Revert unpopular change for GST_MESSAGE_SRC to GObject.
26047 2005-08-25 Wim Taymans <wim@fluendo.com>
26049 * check/generic/states.c: (GST_START_TEST):
26050 Cleanup can be done at the end.
26052 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26053 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26054 (gst_task_get_state), (gst_task_start), (gst_task_pause):
26055 Oh boy.. Thanks for finding this, Thomas.
26057 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26059 * docs/gst/gstreamer.types:
26060 added missing types
26062 2005-08-25 Stefan Kost <ensonic@users.sf.net>
26064 * docs/gst/gstreamer-docs.sgml:
26065 * docs/gst/gstreamer-sections.txt:
26066 * docs/gst/tmpl/.cvsignore:
26068 * gst/gstiterator.c:
26070 * gst/registries/gstxmlregistry.h:
26071 added missing classes and symbols (123 more to go)
26072 removed removed symbols from section file
26073 fixed many doc-comments
26075 2005-08-24 Wim Taymans <wim@fluendo.com>
26077 * check/generic/states.c: (GST_START_TEST):
26078 Make sure all tasks are stopped.
26080 * check/gst/gstbin.c: (GST_START_TEST):
26081 Unref after usage for proper valgrinding.
26083 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26084 Really wait for the task to stop before destroying the
26087 * gst/gstqueue.c: (gst_queue_sink_activate_push),
26088 (gst_queue_src_activate_push):
26089 Small cleanups. Don't stop the task when we did not start
26092 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26093 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26094 (gst_task_get_state), (gst_task_start), (gst_task_pause),
26097 Protect the stream lock with the object lock.
26098 Disallow setting the stream lock when running.
26099 Add cleanup_all to wait for the threadpool to finish.
26100 Remove code to autoallocate a mutex if none was provided.
26101 Add _join() to wait for a task to stop.
26102 Protect the thread pool with a global lock.
26104 2005-08-24 Wim Taymans <wim@fluendo.com>
26106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26107 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26108 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26109 * gst/base/gstbasesink.h:
26110 Handle newsegment events correctly.
26111 Drop buffers out of the segment range.
26113 2005-08-22 Andy Wingo <wingo@pobox.com>
26115 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26116 macro, implements an interface and gstimplementsinterface for a
26119 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26121 * check/Makefile.am:
26122 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26123 add a test that does a bunch of state changes on elements
26124 needs some fixing for valgrind
26125 * check/states/sinks.c: (gst_object_suite):
26128 add prototype for gst_caps_is_equal_fixed
26130 * gst/gstregistrypool.c:
26133 2005-08-24 Andy Wingo <wingo@pobox.com>
26135 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26136 convert a negative value. Doesn't make much sense. Mostly this is
26137 here to force callers to ensure -1 maps to -1.
26139 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26141 * docs/pwg/advanced-types.xml:
26142 Well done to Michael for catching my deliberate introduction
26143 of this spelling mistake.
26144 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26145 * gst/gstelement.h:
26146 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26147 unlink pads before removing the element from the bin.
26149 2005-08-24 Andy Wingo <wingo@pobox.com>
26151 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26152 the same thing as GST_DEBUG=*:4.
26153 (parse_debug_level, parse_debug_category): New helper parsers.
26155 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
26157 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26158 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26159 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26160 (gst_base_transform_buffer_alloc),
26161 (gst_base_transform_handle_buffer):
26162 use gboolean return values and pointers to size so we can use the
26163 full GST_BUFFER_SIZE range (guint) for buffer sizes
26164 use GstPadDirection for transform_caps
26165 * gst/base/gstbasetransform.h:
26166 rename get_size to get_unit_size since that's what it is
26167 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26168 use GstPadDirection for transform_caps
26169 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26171 cleanup and debugging
26173 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26175 * gst/gstelement.c: (gst_element_class_init),
26176 (gst_element_set_state), (activate_pads),
26177 (gst_element_save_thyself):
26178 * tools/gst-compprep.c: (main):
26179 * tools/gst-inspect.c: (print_element_properties_info):
26180 * tools/gst-xmlinspect.c: (print_element_properties):
26181 Fixed long standing mem-leak
26183 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
26185 * check/gst/gstbin.c: (GST_START_TEST):
26186 * gst/gstbin.c: (bin_bus_handler):
26187 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26188 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26189 (gst_message_new_warning), (gst_message_new_tag),
26190 (gst_message_new_state_changed), (gst_message_new_segment_start),
26191 (gst_message_new_segment_done), (gst_message_new_custom):
26192 * gst/gstmessage.h:
26193 * tools/gst-launch.c: (event_loop):
26194 * tools/gst-md5sum.c: (event_loop):
26195 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26196 that applications can sensibly post custom messages with references
26197 to their own objects.
26199 2005-08-24 Andy Wingo <wingo@pobox.com>
26201 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26204 2005-08-24 Wim Taymans <wim@fluendo.com>
26206 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26207 (gst_base_transform_transform_caps),
26208 (gst_base_transform_transform_size),
26209 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26210 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26211 (gst_base_transform_handle_buffer):
26212 * gst/base/gstbasetransform.h:
26213 Many fixes and new features added by Thomas. Can now also do
26214 transforms with variable sizes and a custom fixate_caps function.
26216 2005-08-24 Wim Taymans <wim@fluendo.com>
26218 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26222 Cast to ClockTime before formatting to time.
26227 2005-08-24 Stefan Kost <ensonic@users.sf.net>
26229 * check/gst-libs/controller.c: (GST_START_TEST),
26230 (gst_controller_suite):
26231 * docs/gst/tmpl/gstcaps.sgml:
26232 * docs/gst/tmpl/gstghostpad.sgml:
26233 * docs/gst/tmpl/gstquery.sgml:
26234 * docs/gst/tmpl/gstutils.sgml:
26235 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26236 (gst_object_sink_values), (gst_object_get_value_arrays),
26237 (gst_object_get_value_array):
26238 gracefully handle helper method calls to objects that are not beeing
26239 controlled, added test case for that
26241 2005-08-23 Wim Taymans <wim@fluendo.com>
26243 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26244 (gst_event_new_newsegment), (gst_event_parse_newsegment),
26245 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26246 (gst_event_parse_qos), (gst_event_new_seek),
26247 (gst_event_parse_seek):
26249 Some more debugging output and doc cleanups.
26251 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26252 Fix possible deadlock.
26254 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26256 * docs/gst/gstreamer-docs.sgml:
26257 * docs/gst/gstreamer-sections.txt:
26258 * docs/gst/gstreamer.types:
26259 * docs/gst/tmpl/.cvsignore:
26262 * gst/gstelement.c:
26264 added 100 symbols from gstreamer-unused.txt to the right sections
26265 fixed more broken comments
26266 added GstBus to docs
26268 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26270 * docs/gst/gstreamer-sections.txt:
26271 * docs/gst/tmpl/.cvsignore:
26272 * docs/gst/tmpl/gstbin.sgml:
26273 * docs/gst/tmpl/gstbuffer.sgml:
26274 * gst/base/gstbasesrc.c:
26275 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26278 * tools/gst-launch.1.in:
26279 inlined more doc comments, added missing comments and fixed comments
26282 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
26284 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26288 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26290 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26291 * gst/gststructure.h:
26292 add a fixate function for booleans; add a FIXME that these func
26293 names should probably be gst_structure_fixate_*
26295 2005-08-23 Stefan Kost <ensonic@users.sf.net>
26297 * docs/gst/gstreamer-docs.sgml:
26298 * docs/gst/gstreamer-sections.txt:
26300 * gst/gstbin.c: (gst_bin_get_type),
26301 (gst_bin_child_proxy_get_child_by_index),
26302 (gst_bin_child_proxy_get_children_count),
26303 (gst_bin_child_proxy_init):
26304 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26305 (gst_child_proxy_get_child_by_index),
26306 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26307 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26308 (gst_child_proxy_get), (gst_child_proxy_set_property),
26309 (gst_child_proxy_set_valist), (gst_child_proxy_set),
26310 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26311 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26312 * gst/gstchildproxy.h:
26313 * gst/parse/grammar.y:
26314 * tools/gst-inspect.c: (print_interfaces),
26315 (print_element_properties_info), (print_element_info):
26316 ported gstchildproxy over from 0.8
26317 ported gst-inspect fixes and enhancements over from 0.8
26319 2005-08-22 Wim Taymans <wim@fluendo.com>
26321 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26322 (gst_base_transform_handle_buffer):
26323 Also call the transform function if we have ANY caps.
26325 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26328 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26330 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26331 Don't pretend to handle seek events if the source is not seekable
26333 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
26335 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26336 Remove extra parameter to debug output
26338 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26339 (gst_base_src_do_seek), (gst_base_src_activate_push):
26340 Fix seek event handling.
26342 * gst/gstpipeline.c: (gst_pipeline_change_state):
26343 * gst/gstqueue.c: (gst_queue_handle_sink_event),
26344 (gst_queue_src_activate_push):
26345 Don't start the src pad task on FLUSH_STOP if the pad
26349 2005-08-22 Wim Taymans <wim@fluendo.com>
26351 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26352 Added check for gst_static_caps_get() refcounting.
26354 2005-08-22 Wim Taymans <wim@fluendo.com>
26356 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26357 Make _static_caps_get() refcounting sane.
26359 * gst/gstelement.c: (gst_element_set_state):
26360 Add g_return_val_if_fail() to protect against segfaults.
26362 2005-08-22 Stefan Kost <ensonic@users.sf.net>
26364 * docs/gst/tmpl/gstevent.sgml:
26367 inlined remaining docs, added missing doc comments
26369 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
26371 * check/gst/gstbin.c: (GST_START_TEST):
26372 since we don't know when preroll is done, use refcount range
26374 * gst/check/gstcheck.h:
26375 add macro for checking refcount range
26377 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26379 * check/Makefile.am:
26380 clean up environment for when registry gets built versus
26381 when actual tests are run; valgrind seems to not report
26382 leaks if GST_PLUGIN_PATH is set to some specific values
26383 * check/gst/gstbin.c: (GST_START_TEST):
26384 add more refcounting checks; maybe this exposes a
26386 * common/check.mak:
26387 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26388 * gst/check/gstcheck.h:
26389 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26390 (gst_bin_change_state):
26391 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26392 add/fix debugging/whitespace
26394 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26396 * check/gst/gstevent.c: (event_probe), (test_event),
26398 Er, don't call gst_bin_watch_for_state_change you idiot.
26400 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
26402 * check/Makefile.am:
26403 Use CHECK_CFLAGS and CHECK_LIBS
26404 * check/gst/gstevent.c: (event_probe), (test_event),
26407 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26408 (gst_base_src_start), (gst_base_src_stop),
26409 (gst_base_src_activate_push), (gst_base_src_activate_pull),
26410 (gst_base_src_change_state):
26411 Sprinkle gst_base_src_stop liberally around error paths to fix
26412 problems reusing a source after failed state changes.
26413 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26414 (helper_find_suggest), (gst_type_find_helper):
26415 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26417 * docs/gst/tmpl/gstevent.sgml:
26418 Migrate part of the docs from the SGML file. Wait for ensonic to
26419 tell me how I did it wrong ;)
26420 * tools/gst-typefind.c: (main):
26421 Extra robustness to state changes between files.
26423 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
26425 * check/Makefile.am:
26426 don't valgrind the controller test - it's leaking - Stefan, HELP
26427 * gst/check/gstcheck.c: (gst_check_message_error),
26428 (gst_check_chain_func), (gst_check_setup_element),
26429 (gst_check_teardown_element), (gst_check_setup_src_pad),
26430 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26431 (gst_check_teardown_sink_pad):
26432 * gst/check/gstcheck.h:
26433 add a bunch of methods to set up elements, and src and sink pads
26434 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26435 * check/elements/identity.c: (setup_identity), (cleanup_identity),
26438 * gst/gstmessage.c:
26440 whitespace/doc fixes
26442 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26444 * gst/gstelement.h:
26445 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26446 be handled by the application and not always printed as well
26448 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26450 * check/Makefile.am:
26452 * gst/check/gstcheck.c: (gst_check_message_error):
26453 * gst/check/gstcheck.h:
26454 add a fail_unless_equals_int
26455 add fail_unless for error messages
26457 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26459 * check/Makefile.am:
26461 * common/Makefile.am:
26462 * common/check.mak:
26464 factor out some of the common stuff so we can use it
26466 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26468 * check/Makefile.am:
26469 * check/gst/gstiterator.c: (GST_START_TEST):
26470 * check/gst/gstsystemclock.c: (GST_START_TEST),
26471 (gst_systemclock_suite):
26472 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26474 valgrind more tests
26476 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
26478 * check/elements/.cvsignore:
26479 * check/elements/gstfakesrc.c:
26480 rename to name of element
26481 * check/elements/identity.c: (chain_func), (event_func),
26482 (setup_identity), (cleanup_identity), (GST_START_TEST),
26483 (identity_suite), (main):
26484 add a test for identity
26485 * check/Makefile.am:
26486 * pkgconfig/Makefile.am:
26487 * pkgconfig/gstreamer-check.pc.in:
26488 * pkgconfig/gstreamer-check-uninstalled.pc.in:
26492 move the check stuff to a library that gets installed
26493 * check/gst-libs/controller.c: (GST_START_TEST):
26494 * check/gst-libs/gdp.c:
26495 * check/gst/gst.c: (GST_START_TEST):
26496 * check/gst/gstbin.c:
26497 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26498 * check/gst/gstbus.c:
26499 * check/gst/gstcaps.c: (GST_START_TEST):
26500 * check/gst/gstelement.c:
26501 * check/gst/gstghostpad.c:
26502 * check/gst/gstiterator.c:
26503 * check/gst/gstmessage.c:
26504 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26505 * check/gst/gstobject.c:
26506 * check/gst/gstpad.c: (GST_START_TEST):
26507 * check/gst/gststructure.c: (GST_START_TEST):
26508 * check/gst/gstsystemclock.c: (GST_START_TEST),
26509 (gst_systemclock_suite):
26510 * check/gst/gsttag.c: (gst_tag_suite):
26511 * check/gst/gstvalue.c:
26512 * check/pipelines/cleanup.c:
26513 * check/pipelines/simple_launch_lines.c:
26514 * check/states/sinks.c:
26515 change include statement
26517 * docs/gst/gstreamer-sections.txt:
26518 * docs/gst/tmpl/gstpad.sgml:
26519 document more pad stuff
26520 * gst/gstminiobject.c: (gst_mini_object_ref),
26521 (gst_mini_object_unref):
26524 2005-08-19 Stefan Kost <ensonic@users.sf.net>
26526 * docs/gst/tmpl/gst.sgml:
26528 eliminate another tmpl file, fix spelling in the long-description
26530 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26532 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26533 (test_event), (timediff), (gstevents_suite):
26534 Should fix build on 64-bit arch's
26536 2005-08-18 Andy Wingo <wingo@pobox.com>
26538 Make sure that when a pipeline goes to PLAYING, that data has
26539 actually hit the sink.
26541 * check/states/sinks.c (test_sink): A sink that doesn't get any
26542 data shouldn't return SUCCESS for going to either PLAYING or
26543 PAUSED. Test also the return values on the way back down.
26545 * gst/gstelement.c (gst_element_set_state): When changing the
26546 state of an element currently changing state asynchronously, go to
26547 lost-state after commiting the pending state. Makes future calls
26548 to get_state continue to return ASYNC.
26550 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26551 ASYNC when going to PLAYING if we still don't have preroll, as can
26552 happen with live sources.
26554 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26556 * docs/pwg/advanced-types.xml:
26557 Hack long paragraph into 2 chunks as a workaround for buggy
26558 jadetex version in sid and breezy that loops infinitely and
26561 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26563 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26564 (test_event), (timediff), (gstevents_suite):
26565 Provide more error margin in clock measurements to allow for
26566 g_get_current_time inaccuracies.
26568 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26570 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26571 (test_event), (timediff), (gstevents_suite):
26572 Fix error message output so I might be able to tell why the
26573 test works here but fails on the build farm.
26575 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
26577 * check/Makefile.am:
26578 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26579 (test_event), (timediff), (gstevents_suite), (main):
26582 * docs/design/part-seeking.txt:
26583 Spelling correction
26585 * docs/gst/tmpl/gstevent.sgml:
26586 * docs/gst/tmpl/gstfakesrc.sgml:
26589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26590 Treat a buffer-without-newsegment the same as a receiving
26591 a newsegment not in time format, and disable syncing to the clock
26594 * gst/gstbus.c: (gst_bus_set_sync_handler):
26595 Assert if anyone tries to replace the existing sync_handler for bus,
26596 as only the owner should be setting it.
26599 Have a fixed set of custom event enums with events identified by
26600 their structure name (as in 0.8), rather than a free-for-all
26601 allowing collisions between enum values from different plugins.
26603 * gst/gstpad.c: (gst_pad_class_init):
26606 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26607 Handle out-of-band downstream events from the sending thread.
26609 2005-08-17 Andy Wingo <wingo@pobox.com>
26611 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26612 play-timeout==0 to mean no timeout at all. In that case, don't
26613 bother with a get_state or a warning, just return directly, even
26616 * gst/base/gstbasetransform.c: Debug changes.
26619 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26620 ensure bins post state change messages. A bit of a hack but I can't
26621 think of a way to avoid it.
26623 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26625 2005-08-16 Andy Wingo <wingo@pobox.com>
26627 * gst/base/gstadapter.h:
26628 * gst/base/gstadapter.c (gst_adapter_take): New function, like
26629 peek() but you own the data. Not terribly efficient atm.
26631 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26633 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26634 (gst_element_found_tags):
26636 Add two utility functions for tag handling.
26638 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26640 * docs/manual/advanced-dataaccess.xml:
26641 * docs/manual/basics-helloworld.xml:
26642 Fix docs to use _bin_add() before _link(), which fixes the examples
26643 with recent core versions (reported by Madhan Raj M
26644 <raj_madan@rediffmail.com>, #313199).
26646 2005-08-16 Wim Taymans <wim@fluendo.com>
26648 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26649 Added subtract checks.
26651 * docs/design/part-events.txt:
26652 Some more docs about newsegment
26654 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26657 * gst/gstcaps.c: (gst_caps_to_string):
26658 Add comments, cleanups.
26660 * gst/gstelement.c: (gst_element_save_thyself):
26663 * gst/gstvalue.c: (gst_value_collect_int_range),
26664 (gst_string_unwrap), (gst_value_union_int_int_range),
26665 (gst_value_union_int_range_int_range),
26666 (gst_value_intersect_int_int_range),
26667 (gst_value_intersect_int_range_int_range),
26668 (gst_value_intersect_double_double_range),
26669 (gst_value_intersect_double_range_double_range),
26670 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26671 (gst_value_subtract_int_range_int),
26672 (gst_value_subtract_double_range_double),
26673 (gst_value_subtract_double_range_double_range),
26674 (gst_value_subtract_from_list), (gst_value_subtract_list),
26675 (gst_value_can_compare), (gst_value_compare_fraction):
26676 Cleanups, add comments, remove unneeded asserts.
26678 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26680 * tools/gst-launch.c: (event_loop):
26681 don't convert NULL structures to strings
26683 2005-08-15 Stefan Kost <ensonic@users.sf.net>
26685 * docs/gst/gstreamer-sections.txt:
26686 made some defines private
26687 * docs/gst/tmpl/gstconfig.sgml:
26688 * docs/gst/tmpl/gstqueue.sgml:
26689 * docs/gst/tmpl/gsttaglist.sgml:
26690 * docs/gst/tmpl/gsttypes.sgml:
26691 * docs/gst/tmpl/gstutils.sgml:
26692 * docs/pwg/appendix-porting.xml:
26693 * gst/base/gstbasesink.h:
26694 * gst/base/gstbasesrc.c:
26695 * gst/base/gstbasesrc.h:
26696 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26697 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26698 * gst/gstelement.c: (gst_element_class_init):
26699 * gst/gstpad.c: (gst_pad_class_init):
26700 * gst/gstqueue.c: (gst_queue_class_init):
26701 * gst/gstxml.c: (gst_xml_class_init):
26702 documented all undocumented signal inline
26703 * libs/gst/controller/gst-controller.h:
26706 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26708 * docs/pwg/appendix-porting.xml:
26709 Document _set_link_function -> _set_setcaps_function.
26711 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
26713 * check/Makefile.am:
26714 add a .check target for running the check
26715 * check/gst-libs/controller.c: (GST_START_TEST):
26717 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26718 complete checks for gstbuffer; would be nice if I could get the
26719 gcov stuff to work so I can see if I actually completed gstbuffer.c
26720 * check/gstcheck.h:
26721 add ASSERT_BUFFER_REFCOUNT
26723 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
26725 * docs/gst/gstreamer-sections.txt:
26726 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
26728 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
26729 spew out a warning if a tag that is already registered
26730 is re-registered, unless it is re-registered with a
26731 different type (#308438).
26733 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
26735 * docs/pwg/appendix-porting.xml:
26736 * docs/pwg/building-state.xml:
26737 Add some paragraphs about state changes in 0.9 to the PWG
26738 and the porting guide, in particular about the new meaning
26739 of GST_STATE_PAUSED and how to write state change functions
26740 with concurrent access by multiple threads in mind.
26742 2005-08-11 Stefan Kost <ensonic@users.sf.net>
26744 * docs/gst/gstreamer-docs.sgml:
26745 * docs/libs/gstreamer-libs-docs.sgml:
26746 added deprecation and since indexes
26747 * libs/gst/controller/gst-controller.c:
26748 * libs/gst/controller/gst-helper.c:
26752 2005-08-11 Wim Taymans <wim@fluendo.com>
26754 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
26755 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
26756 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
26757 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
26758 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
26759 (gst_ghost_pad_set_target):
26760 Actually implement (re)setting the target on a ghostpad
26761 as described in the docs.
26763 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26765 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
26766 Check whether GST_DEBUG_NO_COLOR environment variable is
26767 set and disable coloured debug output if that is the case.
26769 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
26771 * gst/base/gsttypefindhelper.c: (helper_find_peek),
26772 (gst_type_find_helper):
26773 The memory returned by gst_type_find_peek() needs to
26774 stay valid until the end of a typefind function, and
26775 typefind functions may keep results from different
26776 offsets around, so we can't just unref the buffer from
26777 the previous _peek(), but have to save all buffers
26778 returned by _peek() until typefinding is done and only
26781 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
26783 * docs/gst/gstreamer-sections.txt:
26785 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
26787 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26789 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
26790 Fix a pretty good memleak.
26792 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26794 * gst/gstiterator.h:
26795 Fix wrong include and 'make distcheck'.
26797 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26799 * gst/gstbin.c: (bin_bus_handler):
26800 Use gst_element_post_message() instead.
26802 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
26804 * gst/base/gstadapter.h:
26805 * gst/base/gstbasesink.h:
26806 * gst/base/gstbasesrc.h:
26807 * gst/base/gstbasetransform.h:
26808 * gst/base/gstcollectpads.h:
26809 * gst/base/gstpushsrc.h:
26810 * gst/gstiterator.h:
26811 Add padding to our base elements' class and instance structs and
26812 to GstIterator (you will need to rebuild all plugins and apps!)
26814 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26816 * gst/gstbin.c: (bin_bus_handler):
26817 Make default message forwarding from child->bus to bin->bus
26818 threadsafe and make it not emit warnings if the parent has no bus.
26820 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26822 * gst/gstelement.c: (activate_pads):
26823 On paused->ready, set pad->caps to NULL, as is the documented
26824 behaviour in this state change. Fixes playback of series of
26825 media files when visualization is enabled in Totem.
26827 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26829 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26830 Allow NULL as filter-caps (which means "any").
26832 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26834 * docs/libs/gstreamer-libs-sections.txt:
26835 * libs/gst/controller/gst-controller.c:
26836 * libs/gst/controller/gst-controller.h:
26837 * libs/gst/controller/gst-helper.c:
26838 adding more entries to the docs and fix small doc-bugs
26840 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26842 * docs/gst/gstreamer-docs.sgml:
26843 * docs/gst/gstreamer-sections.txt:
26844 * docs/gst/gstreamer.types:
26845 * docs/gst/tmpl/gstbasesink.sgml:
26846 * docs/gst/tmpl/gstbasesrc.sgml:
26847 * docs/gst/tmpl/gstbasetransform.sgml:
26848 * docs/gst/tmpl/gstfakesrc.sgml:
26849 * gst/base/gstcollectpads.c:
26850 * gst/base/gstcollectpads.h:
26851 * libs/gst/controller/gst-controller.c:
26852 * libs/gst/controller/gst-controller.h:
26853 * libs/gst/controller/gst-helper.c:
26854 * libs/gst/controller/gst-interpolation.c:
26855 * libs/gst/controller/lib.c:
26856 added long/short desc for controller docs
26857 added collectpads base class docs
26858 added correct includes to base-class docs
26860 2005-08-05 Stefan Kost <ensonic@users.sf.net>
26862 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26863 (gst_test_mono_source_set_property),
26864 (gst_test_mono_source_class_init), (GST_START_TEST),
26865 (gst_controller_suite):
26866 * docs/gst/gstreamer-docs.sgml:
26867 * docs/gst/gstreamer-sections.txt:
26868 * docs/gst/gstreamer.types:
26869 * docs/libs/gstreamer-libs-docs.sgml:
26870 * docs/libs/gstreamer-libs-sections.txt:
26871 * gst/base/gstadapter.c:
26872 * libs/gst/controller/gst-controller.c:
26873 (gst_controlled_property_new), (gst_controlled_property_free),
26874 (gst_controller_new_valist),
26875 (gst_controller_remove_properties_valist),
26876 (gst_controller_sink_values), (_gst_controller_finalize):
26877 * libs/gst/controller/gst-controller.h:
26878 * libs/gst/controller/gst-helper.c:
26879 (gst_object_control_properties), (gst_object_uncontrol_properties),
26880 (gst_object_get_controller), (gst_object_set_controller),
26881 (gst_object_sink_values), (gst_object_get_value_arrays),
26882 (gst_object_get_value_array):
26883 more tests (and fixes) for the controller
26884 more docs for the controller
26885 integrated companies docs for the adapter
26887 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
26889 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
26890 (GST_START_TEST), (fakesrc_suite):
26891 add tests for sizetype
26893 2005-08-04 Andy Wingo <wingo@pobox.com>
26895 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
26896 fixes buffer_alloc proxying among other things.
26898 * gst/base/gstbasetransform.c:
26899 * gst/base/gstbasetransform.h:
26900 Revert patch to gstbasetransform from 7-28 removing
26903 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26904 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26905 Semantics changed, should return not the size of the output buffer
26906 but the byte size of a buffer with a given caps.
26908 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26910 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26911 out) are not the pad caps until setcaps finishes.
26912 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26913 not-in-place case as well. Deal with changing from in-place to
26914 not-in-place within calling pad_alloc_buffer. Still a bit
26915 concerned about the overhead here...
26917 2005-08-03 Andy Wingo <wingo@pobox.com>
26919 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26920 fixating is an error.
26922 2005-08-04 Edward Hervey <edward@fluendo.com>
26924 * gst/base/gstadapter.h:
26925 Added gst_adapter_get_type() to the header
26927 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26929 * check/Makefile.am:
26930 * check/gst-libs/controller.c:
26931 * libs/gst/controller/gst-controller.c:
26932 (gst_controller_new_valist):
26933 added check test suite for the controller
26934 * gst/base/gstpushsrc.c:
26937 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26939 * docs/gst/Makefile.am:
26940 * docs/gst/gstreamer-docs.sgml:
26941 * docs/gst/gstreamer-sections.txt:
26942 * docs/gst/gstreamer.types:
26943 * docs/gst/tmpl/gstfakesrc.sgml:
26945 * gst/base/gstbasesink.c:
26946 * gst/base/gstbasesink.h:
26947 * gst/base/gstbasesrc.c:
26948 * gst/base/gstbasesrc.h:
26949 * gst/base/gstbasetransform.c:
26950 * gst/base/gstpushsrc.c:
26951 * gst/base/gstpushsrc.h:
26952 add short/long description docs to base classes
26953 add pushsrc to the docs
26954 remove consolidated doc fragments
26956 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26959 * docs/libs/Makefile.am:
26960 * docs/libs/gstreamer-libs-docs.sgml:
26961 * docs/libs/gstreamer-libs-sections.txt:
26962 * docs/libs/gstreamer-libs.types:
26963 * examples/Makefile.am:
26964 * examples/controller/.cvsignore:
26965 * examples/controller/Makefile.am:
26966 * examples/controller/audio-example.c: (main):
26967 * libs/gst/Makefile.am:
26968 * libs/gst/controller/.cvsignore:
26969 * libs/gst/controller/Makefile.am:
26970 * libs/gst/controller/gst-controller.c:
26971 (on_object_controlled_property_changed), (gst_timed_value_compare),
26972 (gst_timed_value_find),
26973 (gst_controlled_property_set_interpolation_mode),
26974 (gst_controlled_property_new), (gst_controlled_property_free),
26975 (gst_controller_find_controlled_property),
26976 (gst_controller_new_valist), (gst_controller_new),
26977 (gst_controller_remove_properties_valist),
26978 (gst_controller_remove_properties), (gst_controller_set),
26979 (gst_controller_set_from_list), (gst_controller_unset),
26980 (gst_controller_get), (gst_controller_get_all),
26981 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26982 (gst_controller_get_value_array),
26983 (gst_controller_set_interpolation_mode),
26984 (_gst_controller_finalize), (_gst_controller_init),
26985 (_gst_controller_class_init), (gst_controller_get_type):
26986 * libs/gst/controller/gst-controller.h:
26987 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26988 (g_object_uncontrol_properties), (g_object_get_controller),
26989 (g_object_set_controller), (g_object_sink_values),
26990 (g_object_get_value_arrays), (g_object_get_value_array):
26991 * libs/gst/controller/gst-interpolation.c:
26992 (gst_controlled_property_find_timed_value_node),
26993 (interpolate_none_get), (interpolate_trigger_get),
26994 (interpolate_trigger_get_value_array):
26995 * libs/gst/controller/lib.c: (gst_controller_init):
26996 * pkgconfig/Makefile.am:
26997 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26998 * pkgconfig/gstreamer-control.pc.in:
26999 * testsuite/Makefile.am:
27000 * testsuite/controller/.cvsignore:
27001 * testsuite/controller/Makefile.am:
27002 * testsuite/controller/interpolator.c: (main):
27003 added controller code
27004 removed dparam pc files
27006 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27007 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27008 (gst_collectpads_stop):
27009 Broadcast the condition when shutting down, to make sure we wake all
27010 threads up. Shut down pads on finalize, for safety.
27012 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
27013 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27014 (gst_base_transform_handle_buffer),
27015 (gst_base_transform_change_state):
27016 Handle PAUSED->READY->PAUSED transition after negotiation
27018 * gst/gstmessage.c: (gst_message_init):
27019 Extra piece of debug for new messages.
27021 2005-08-01 Stefan Kost <ensonic@users.sf.net>
27024 * docs/gst/tmpl/gstbasesrc.sgml:
27025 * docs/gst/tmpl/gstelement.sgml:
27026 * docs/gst/tmpl/gstevent.sgml:
27027 * docs/gst/tmpl/gstfakesrc.sgml:
27028 * docs/gst/tmpl/gstformat.sgml:
27029 * docs/gst/tmpl/gstghostpad.sgml:
27030 * docs/gst/tmpl/gstpad.sgml:
27031 * docs/gst/tmpl/gstquery.sgml:
27032 * docs/gst/tmpl/gststructure.sgml:
27033 * docs/gst/tmpl/gsttaglist.sgml:
27034 * docs/gst/tmpl/gstvalue.sgml:
27035 * docs/libs/gstreamer-libs-docs.sgml:
27036 * docs/libs/gstreamer-libs-sections.txt:
27037 * docs/libs/gstreamer-libs.types:
27038 * libs/gst/Makefile.am:
27039 * libs/gst/control/.cvsignore:
27040 * libs/gst/control/Makefile.am:
27041 * libs/gst/control/control.c:
27042 * libs/gst/control/control.h:
27043 * libs/gst/control/dparam.c:
27044 * libs/gst/control/dparam.h:
27045 * libs/gst/control/dparam_smooth.c:
27046 * libs/gst/control/dparam_smooth.h:
27047 * libs/gst/control/dparamcommon.h:
27048 * libs/gst/control/dparammanager.c:
27049 * libs/gst/control/dparammanager.h:
27050 * libs/gst/control/dplinearinterp.c:
27051 * libs/gst/control/dplinearinterp.h:
27052 * libs/gst/control/unitconvert.c:
27053 * libs/gst/control/unitconvert.h:
27054 * testsuite/Makefile.am:
27055 * testsuite/dynparams/.cvsignore:
27056 * testsuite/dynparams/Makefile.am:
27057 * testsuite/dynparams/dparamstest.c:
27058 * tools/Makefile.am:
27059 * tools/gst-inspect.c: (print_element_info), (main):
27060 * tools/gst-xmlinspect.c: (print_element_info), (main):
27061 deactivate and remove dparams (libgstcontrol)
27063 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27065 * gst/elements/gsttypefindelement.c:
27066 (gst_type_find_element_have_type), (gst_type_find_element_init),
27067 (stop_typefinding), (gst_type_find_element_handle_event),
27068 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27069 * gst/elements/gsttypefindelement.h:
27070 Set caps on all outgoing buffers, not just the first one.
27072 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27074 * gst/elements/gsttypefindelement.c:
27075 (gst_type_find_element_have_type),
27076 (gst_type_find_element_check_set_buffer_caps),
27077 (gst_type_find_element_init), (stop_typefinding),
27078 (gst_type_find_element_handle_event),
27079 (gst_type_find_element_chain), (gst_type_find_element_getrange):
27080 * gst/elements/gsttypefindelement.h:
27081 Set caps on first outgoing buffer when we've found the type.
27083 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
27085 * docs/gst/gstreamer-docs.sgml:
27086 * docs/gst/gstreamer-sections.txt:
27087 * docs/gst/tmpl/gstscheduler.sgml:
27088 * docs/gst/tmpl/gstschedulerfactory.sgml:
27089 Remove some old cruft from docs.
27091 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
27094 Fix inline docs for GstPadLinkReturn.
27096 * gst/gststructure.c: (gst_structure_has_name):
27097 * gst/gststructure.h:
27098 * docs/gst/gstreamer-sections.txt:
27099 New API: gst_structure_has_name().
27101 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
27104 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27105 and _LARGEFILE_SOURCE in config.h as required. Do not
27106 export those flags in our .pc files any longer (#142209).
27108 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27110 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27111 (gst_file_sink_do_seek), (gst_file_sink_event),
27112 (gst_file_sink_get_current_offset), (gst_file_sink_render):
27113 Redo seek/tell calls with large file support in mind; add some
27114 debugging messages; add log message that tells us when large
27115 file support is unavailable or not enabled for some reason.
27117 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27118 Add log message that tells us when large file support
27119 is unavailable or not enabled for some reason.
27121 2005-07-29 Wim Taymans <wim@fluendo.com>
27123 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27124 Added test for removing an element with ghostpad from a bin.
27125 Fixed test as current implementation does the right thing.
27127 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27128 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27129 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27130 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27131 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27132 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27133 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27134 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27135 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27136 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27137 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27138 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27139 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27140 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27141 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27142 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27143 * gst/gstghostpad.h:
27144 Clean up ghostpads, remove properties for internal stuff.
27147 Prepare for switching targets, not all use cases work yet.
27149 2005-07-29 Wim Taymans <wim@fluendo.com>
27151 * docs/design/part-gstghostpad.txt:
27154 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27155 (gst_bin_remove_func):
27156 Unlinking pads while holding the bin LOCK is not a good
27159 * gst/gstpad.c: (gst_pad_class_init),
27160 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27161 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27162 No prob setting template after creating the pad.
27164 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
27166 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27167 (gst_bus_peek), (gst_bus_source_dispatch),
27168 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27169 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27170 gst_bus_poll may be called from other threads. Handle
27171 this nicely by not making poll_data disappear off the
27172 stack once gst_bus_poll returns.
27173 gst_bus_peek now increments the refcount on the returned
27176 2005-07-29 Wim Taymans <wim@fluendo.com>
27178 * docs/design/part-gstghostpad.txt:
27179 Overview of current GhostPad datastructures and use
27180 cases for changing the target.
27182 2005-07-28 Wim Taymans <wim@fluendo.com>
27184 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27185 Added checks for hierarchy consistency whan adding linked
27188 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27189 Added check to test element scheduling without bin/pipeline.
27191 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27192 First add elements to bin, then link.
27194 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27195 (gst_bin_remove_func):
27196 Unlink pads from elements added/removed from bin to maintain
27197 hierarchy consistency.
27199 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27201 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27202 (gst_base_transform_handle_buffer):
27203 * gst/base/gstbasetransform.h:
27204 Remove broken delay_configure (fixes renegotiation of software
27205 scaling pipelines); remove some leftover printf()s.
27207 2005-07-28 Wim Taymans <wim@fluendo.com>
27209 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27210 Added some more tests for wrong hierarchy
27212 * docs/design/part-overview.txt:
27215 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27218 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27219 (gst_element_dispose):
27220 Some more cleanups.
27222 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27223 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27224 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27225 (gst_pad_set_caps), (gst_pad_send_event):
27226 Check for correct hierarchy when linking pads. Moving to
27227 strict requirement for ghostpads when linking elements in
27231 Clean ups. Added WRONG_HIERARCHY return value.
27233 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27235 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27236 Better debug if no transform is possible.
27238 2005-07-27 Wim Taymans <wim@fluendo.com>
27240 * docs/random/wtay/network-transp:
27241 Some old doc I had.
27243 2005-07-27 Wim Taymans <wim@fluendo.com>
27245 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27246 (gst_dp_event_from_packet):
27247 Fix serialization of seek events.
27249 2005-07-27 Wim Taymans <wim@fluendo.com>
27251 * check/gst-libs/gdp.c: (GST_START_TEST):
27252 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27253 Fix compilation and fix event serialization.
27255 2005-07-27 Wim Taymans <wim@fluendo.com>
27258 * docs/design/part-TODO.txt:
27259 * docs/design/part-events.txt:
27262 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27263 (gst_base_sink_event), (gst_base_sink_do_sync),
27264 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27265 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27266 (gst_base_src_do_seek), (gst_base_src_event_handler),
27267 (gst_base_src_loop):
27268 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27269 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27270 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27271 (gst_base_transform_event), (gst_base_transform_handle_buffer),
27272 (gst_base_transform_set_passthrough),
27273 (gst_base_transform_is_passthrough):
27274 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27275 * gst/elements/gstfilesink.c: (gst_file_sink_event):
27281 * gst/gstelement.c: (gst_element_seek):
27282 * gst/gstelement.h:
27283 Update gst_element_seek.
27285 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27286 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27287 (gst_event_new_flush_start), (gst_event_new_flush_stop),
27288 (gst_event_new_eos), (gst_event_new_newsegment),
27289 (gst_event_parse_newsegment), (gst_event_new_tag),
27290 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27291 (gst_event_parse_qos), (gst_event_new_seek),
27292 (gst_event_parse_seek), (gst_event_new_navigation):
27294 Make GstEvent use GstStructure. Add parsing code, make sure the
27295 API is sufficiently generic.
27296 Mark possible directions of events and serialization.
27298 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27299 (_gst_message_copy), (gst_message_new_segment_start),
27300 (gst_message_new_segment_done), (gst_message_new_custom),
27301 (gst_message_parse_segment_start),
27302 (gst_message_parse_segment_done):
27305 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27306 (gst_pad_set_caps), (gst_pad_send_event):
27307 Update for new events.
27308 Catch events sent in wrong directions.
27310 * gst/gstqueue.c: (gst_queue_link_src),
27311 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27312 (gst_queue_handle_src_query):
27317 Remove event code from this file.
27319 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27320 (gst_dp_event_from_packet):
27323 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27325 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27326 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27327 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27328 Make debugging actually useful.
27330 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27332 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27333 (gst_pad_fixate_caps):
27334 Implement default fixation once again, so that gst_pad_fixate()
27335 actually does anything at all. This probably needs to be some
27336 sort of a last resort, and use profile-based fixation first, but
27337 since that doesn't exist yet, this is the best we have. Fixes
27338 visualization in Totem.
27340 2005-07-22 Wim Taymans <wim@fluendo.com>
27342 * docs/design/part-events.txt:
27345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27346 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27347 (gst_base_sink_activate_pull):
27348 Some more comments.
27350 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27351 (gst_fake_src_create):
27352 Fix handoff marshall.
27354 * gst/elements/gstidentity.c: (gst_identity_class_init),
27355 (gst_identity_transform_ip):
27356 We're a real inplace element.
27358 * gst/gstbus.c: (gst_bus_post):
27359 Added some comments.
27361 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27362 * tests/muxing/case1.c: (main):
27363 * tests/sched/dynamic-pipeline.c: (main):
27364 * tests/sched/interrupt1.c: (main):
27365 * tests/sched/interrupt2.c: (main):
27366 * tests/sched/interrupt3.c: (main):
27367 * tests/sched/runxml.c: (main):
27368 * tests/sched/sched-stress.c: (main):
27369 * tests/seeking/seeking1.c: (event_received), (main):
27370 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27372 * tests/threadstate/threadstate3.c: (main):
27373 * tests/threadstate/threadstate4.c: (main):
27374 * tests/threadstate/threadstate5.c: (main):
27377 2005-07-21 Wim Taymans <wim@fluendo.com>
27379 * docs/design/part-seeking.txt:
27380 Some small additions.
27382 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27383 (gst_base_sink_get_times), (gst_base_sink_do_sync),
27384 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27385 * gst/base/gstbasesink.h:
27386 discont values are gint64, handle the math correctly.
27388 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27389 Make the basesrc report error if the source pad is not linked.
27391 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27392 (gst_queue_loop), (gst_queue_handle_src_query),
27393 (gst_queue_src_activate_push):
27394 Make queue collect data even if the srcpad is not linked.
27395 Start pushing out data as soon as it is linked.
27397 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27399 Added gst_flow_get_name() to ease error reporting.
27401 2005-07-20 Wim Taymans <wim@fluendo.com>
27403 * gst/gstmessage.c: (gst_message_new_segment_start),
27404 (gst_message_new_segment_done), (gst_message_parse_segment_start),
27405 (gst_message_parse_segment_done):
27406 * gst/gstmessage.h:
27407 Added a bunch of messages for advanced seeking.
27409 * gst/parse/grammar.y:
27410 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27411 (gst_dpman_state_changed):
27412 Fix some new-pad -> pad-added signals
27414 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27416 * docs/manual/appendix-porting.xml:
27417 * docs/pwg/appendix-porting.xml:
27418 Document new-pad/state-change signal renames and the FixedList
27421 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27423 * docs/manual/advanced-autoplugging.xml:
27424 * docs/manual/basics-helloworld.xml:
27425 * docs/manual/basics-pads.xml:
27426 * docs/random/ds/0.9-suggested-changes:
27427 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27428 * gst/gstelement.h:
27432 * gst/gststructure.c: (gst_structure_value_get_generic_type),
27433 (gst_structure_parse_array), (gst_structure_parse_value):
27434 * gst/gstvalue.c: (gst_type_is_fixed),
27435 (gst_value_list_prepend_value), (gst_value_list_append_value),
27436 (gst_value_list_get_size), (gst_value_list_get_value),
27437 (gst_value_transform_array_string), (gst_value_serialize_array),
27438 (gst_value_deserialize_array), (gst_value_intersect_array),
27439 (gst_value_is_fixed), (_gst_value_initialize):
27441 GstElement::new-pad -> pad-added, GstElement::state-change ->
27442 state-changed, GstValueFixedList -> GstValueArray, add format and
27443 flags as their own arguments in gst_element_seek() (should improve
27444 "bindeability"), remove function generators since they don't work
27445 under a whole bunch of compilers (they were deprecated already
27448 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27450 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27451 (_gst_debug_register_funcptr):
27453 Fix illegal cast on some platforms (#309253).
27455 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27457 * gst/gstmessage.c: (gst_message_new_custom):
27458 * gst/gstmessage.h:
27459 Add _new_custom, make _new_application a macro to _new_custom.
27461 2005-07-20 Wim Taymans <wim@fluendo.com>
27463 * gst/base/gstbasesrc.c: (gst_base_src_init),
27464 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27465 * gst/base/gstbasesrc.h:
27466 Add a gboolean to decide when to push out a discont.
27468 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27469 (gst_queue_loop), (gst_queue_handle_src_query),
27470 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27471 (gst_queue_set_property), (gst_queue_get_property):
27474 * tests/threadstate/threadstate1.c: (main):
27475 Make a thread test compile and run... very silly..
27478 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27480 * docs/manual/appendix-porting.xml:
27481 Mention removal of libgstgconf-0.9.la and existence of gconf
27484 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27486 * docs/pwg/advanced-clock.xml:
27487 * docs/pwg/appendix-porting.xml:
27488 * docs/pwg/intro-preface.xml:
27489 * docs/pwg/other-base.xml:
27490 * docs/pwg/other-manager.xml:
27491 * docs/pwg/other-nton.xml:
27492 * docs/pwg/other-ntoone.xml:
27493 * docs/pwg/other-oneton.xml:
27494 * docs/pwg/pwg.xml:
27495 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27496 demuxer), remove n-to-n (was never written), fix some code examples
27497 and links and update the porting section to include all this.
27499 2005-07-19 Wim Taymans <wim@fluendo.com>
27501 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27502 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27503 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27504 (gst_queue_src_activate_push), (gst_queue_change_state),
27505 (gst_queue_get_property):
27507 Propagate GstFlowReturn more intelligently upstream and output
27508 an ERROR/EOS when streaming stopped due to fatal error.
27510 2005-07-19 Wim Taymans <wim@fluendo.com>
27512 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27513 Don't block forever for the state change to complete, the
27514 pipeline already did with a sensible timeout.
27516 2005-07-19 Wim Taymans <wim@fluendo.com>
27518 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27519 Make sure we never call the create function is we
27522 2005-07-19 Andy Wingo <wingo@pobox.com>
27524 * gst/parse/parse.l: Attempt to solve bug #172815.
27526 2005-07-19 Wim Taymans <wim@fluendo.com>
27528 * docs/design/part-clocks.txt:
27529 * docs/design/part-events.txt:
27530 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27531 Small docs updates.
27532 Only update the seeking values when we are not
27535 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27537 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27538 Oops, ignore the result of gst_pad_push_event here.
27540 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
27542 * gst/base/gstbasesrc.c: (gst_base_src_loop),
27543 (gst_base_src_activate_push):
27544 Send discont event from the loop function, as pads
27545 aren't activated yet in the activate_push handler.
27547 * gst/gstbin.c: (bin_bus_handler):
27548 Don't leak element name.
27550 2005-07-18 Andy Wingo <wingo@pobox.com>
27552 * configure.ac: Use AS_LIBTOOL_TAGS.
27554 2005-07-18 Wim Taymans <wim@fluendo.com>
27556 * docs/gst/gstreamer.types:
27557 Remove deleted types.
27559 2005-07-18 Wim Taymans <wim@fluendo.com>
27561 * check/elements/gstfakesrc.c: (GST_START_TEST):
27564 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27565 (init_popt_callback):
27567 * gst/gst_private.h:
27568 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27569 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27572 * gst/gstconfig.h.in:
27573 * gst/gstelement.c: (gst_element_class_init),
27574 (gst_element_set_base_time), (gst_element_get_base_time),
27575 (iterator_fold_with_resync), (gst_element_change_state),
27576 (gst_element_dispose), (gst_element_get_bus):
27577 * gst/gstelement.h:
27578 * gst/gstelementfactory.h:
27579 * gst/gsterror.c: (_gst_core_errors_init):
27582 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27584 * gst/gstinfo.c: (_gst_debug_init):
27585 * gst/gstmessage.c: (_gst_message_copy):
27586 * gst/gstmessage.h:
27587 * gst/gstminiobject.h:
27590 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27591 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27594 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27595 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27596 (gst_pipeline_get_last_stream_time):
27597 * gst/gstpipeline.h:
27598 * gst/gstpluginfeature.h:
27600 * gst/gstscheduler.c:
27601 * gst/gstscheduler.h:
27602 * gst/gststructure.h:
27603 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27604 (gst_task_finalize), (gst_task_func), (gst_task_create),
27605 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27606 (gst_task_stop), (gst_task_pause):
27608 * gst/gsttypefind.h:
27610 * gst/registries/gstlibxmlregistry.c: (load_feature),
27611 (gst_xml_registry_load), (gst_xml_registry_save_feature):
27612 * gst/registries/gstxmlregistry.c:
27613 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27614 * gst/schedulers/threadscheduler.c:
27615 * libs/gst/control/dparammanager.h:
27616 * tools/gst-inspect.c: (print_element_list),
27617 (print_plugin_features), (print_element_features):
27618 * tools/gst-xmlinspect.c: (print_element_list),
27619 (print_plugin_info), (main):
27620 Removed plugable schedulers.
27621 Removed Scheduler/Manager from elements.
27622 Removed gsttypes.h, rearranged includes.
27623 Removed dependency pad<->element, element<>pipeline, and
27624 various others, fix includes.
27625 implement gst_pad_get_parent() with gst_object_get_parent()
27626 Make GstTask sefcontained.
27627 Fix _get_state() on GstBin, it did not return ASYNC with a 0
27629 Fix endless loop in iterator_fold_with_resync.
27632 2005-07-18 Wim Taymans <wim@fluendo.com>
27638 2005-07-18 Wim Taymans <wim@fluendo.com>
27641 No more cothreads.h
27643 2005-07-18 Wim Taymans <wim@fluendo.com>
27647 Let's remove these.
27649 2005-07-18 Wim Taymans <wim@fluendo.com>
27651 * docs/design/part-dynamic.txt:
27652 * docs/design/part-events.txt:
27653 * docs/design/part-seeking.txt:
27654 Some more docs in the works.
27656 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27657 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27658 (gst_base_transform_setcaps), (gst_base_transform_get_size),
27659 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27660 (gst_base_transform_handle_buffer),
27661 (gst_base_transform_sink_activate_push),
27662 (gst_base_transform_src_activate_pull),
27663 (gst_base_transform_set_passthrough),
27664 (gst_base_transform_is_passthrough):
27667 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27670 * gst/gstevent.c: (gst_event_finalize):
27673 * gst/gstutils.c: (gst_element_unlink),
27674 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27675 (gst_pad_proxy_setcaps):
27677 Add _get_parent_element() to get a pads parent as an element.
27679 2005-07-18 Wim Taymans <wim@fluendo.com>
27681 * check/gst/gstbin.c: (GST_START_TEST):
27684 2005-07-18 Wim Taymans <wim@fluendo.com>
27686 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27687 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27688 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27689 (gst_base_sink_event), (gst_base_sink_do_sync),
27690 (gst_base_sink_chain), (gst_base_sink_loop),
27691 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27692 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27694 Fix logic for returning ASYNC when not prerolled.
27696 2005-07-18 Wim Taymans <wim@fluendo.com>
27698 * gst/gstqueue.c: (gst_queue_handle_sink_event):
27699 Fix nasty refcount bug.
27701 2005-07-16 Philippe Khalaf <burger@speedy.org>
27703 * gst/elements/gstfdsrc.c:
27704 * gst/elements/gstfdsrc.h:
27705 * gst/elements/gstelements.c:
27706 * gst/elements/Makefile.am:
27707 Ported fdsrc to 0.9.
27709 2005-07-16 Wim Taymans <wim@fluendo.com>
27711 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27712 (gst_base_sink_do_sync):
27715 2005-07-16 Wim Taymans <wim@fluendo.com>
27717 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27718 (gst_base_sink_event), (gst_base_sink_get_times),
27719 (gst_base_sink_do_sync), (gst_base_sink_change_state):
27720 * gst/base/gstbasesink.h:
27721 Store and use discont values when syncing buffers as described
27724 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27725 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
27726 (gst_base_src_activate_push):
27727 Push discont event when starting.
27729 * gst/elements/gstidentity.c: (gst_identity_transform):
27732 * gst/gstbin.c: (gst_bin_change_state):
27733 Small cleanups in base_time distribution.
27735 * gst/gstelement.c: (gst_element_set_base_time),
27736 (gst_element_get_base_time), (gst_element_change_state):
27737 * gst/gstelement.h:
27738 Added methods for the base_time of the element.
27741 * gst/gstpipeline.c: (gst_pipeline_send_event),
27742 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27743 (gst_pipeline_get_last_stream_time):
27744 * gst/gstpipeline.h:
27746 Handle seeking as described in design doc, remove stream_time
27748 Cleanups clock and stream_time selection code. Added accessors
27749 for the stream_time.
27752 2005-07-16 Andy Wingo <wingo@pobox.com>
27754 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
27757 2005-07-16 Wim Taymans <wim@fluendo.com>
27759 * check/gst/gstbin.c: (GST_START_TEST):
27760 Make elements silent as the deep_notify refs the
27761 parent, which might make the test fail.
27763 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27764 Don't hold the lock for too long.
27766 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
27768 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
27769 Don't unref the caps we passed to gst_caps_make_writable() after
27770 passing them. gst_caps_make_writable() will do that for us.
27772 2005-07-15 Andy Wingo <wingo@pobox.com>
27774 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
27777 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
27778 own marshalling function for the handoff signal. Properly type the
27779 buffer as a buffer. Fixes some warnings. Should do a more general
27781 (gst_identity_class_init): Plug into the right marshaller.
27783 2005-07-15 Wim Taymans <wim@fluendo.com>
27785 * docs/design/part-TODO.txt:
27786 * docs/design/part-clocks.txt:
27787 * docs/design/part-element-sink.txt:
27788 * docs/design/part-events.txt:
27789 * docs/design/part-gstpipeline.txt:
27790 Updated docs, mostly DISCONT related.
27792 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
27794 * docs/pwg/building-pads.xml:
27795 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
27797 2005-07-15 Andy Wingo <wingo@pobox.com>
27799 * tools/gst-typefind.c: Update, add copyright block.
27801 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
27802 Normalize and truncate caps before fixation.
27805 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
27806 discards all but the first structure from its argument.
27808 2005-07-15 Wim Taymans <wim@fluendo.com>
27810 * gst/base/gstbasetransform.c: (gst_base_transform_init),
27811 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
27812 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27813 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27814 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
27815 (gst_base_transform_chain), (gst_base_transform_change_state),
27816 (gst_base_transform_set_passthrough),
27817 (gst_base_transform_is_passthrough):
27818 * gst/base/gstbasetransform.h:
27819 Make passthrough work using the bufferpools.
27820 Changed API a bit, subclasses have to write into a buffer
27821 provided by the base class.
27822 More debug info in nego functions.
27824 * gst/elements/gstidentity.c: (gst_identity_init),
27825 (gst_identity_transform):
27826 Port to new base class.
27828 2005-07-15 Wim Taymans <wim@fluendo.com>
27830 * gst/gstmessage.c: (gst_message_new_state_changed):
27831 * tools/gst-launch.c: (event_loop), (main):
27832 Totally dump messages in -launch with the -m option.
27833 Fix message name for State messages,
27835 2005-07-14 Wim Taymans <wim@fluendo.com>
27837 * gst/base/gstbasesrc.c: (gst_base_src_loop):
27838 Post error messages on errors.
27840 2005-07-14 Wim Taymans <wim@fluendo.com>
27842 * gst/gstcaps.c: (gst_caps_do_simplify):
27846 Define error for stream stopped.
27848 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27849 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
27850 Do proper return values.
27852 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27853 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
27854 (gst_pad_get_range):
27855 Better return values.
27858 Reorganise return values, add macro to check for fatal errors.
27860 * gst/gstqueue.c: (gst_queue_chain):
27861 Return proper GstFlowReturn values,
27863 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
27865 * docs/gst/gstreamer-sections.txt:
27866 * docs/gst/gstreamer.types:
27867 * docs/gst/tmpl/gst.sgml:
27868 * docs/gst/tmpl/gstbasesink.sgml:
27869 * docs/gst/tmpl/gstbasesrc.sgml:
27870 * docs/gst/tmpl/gstbasetransform.sgml:
27871 * docs/gst/tmpl/gstbin.sgml:
27872 * docs/gst/tmpl/gstbuffer.sgml:
27873 * docs/gst/tmpl/gstcaps.sgml:
27874 * docs/gst/tmpl/gstclock.sgml:
27875 * docs/gst/tmpl/gstcompat.sgml:
27876 * docs/gst/tmpl/gstconfig.sgml:
27877 * docs/gst/tmpl/gstelement.sgml:
27878 * docs/gst/tmpl/gstelementdetails.sgml:
27879 * docs/gst/tmpl/gstelementfactory.sgml:
27880 * docs/gst/tmpl/gstenumtypes.sgml:
27881 * docs/gst/tmpl/gsterror.sgml:
27882 * docs/gst/tmpl/gstevent.sgml:
27883 * docs/gst/tmpl/gstfakesink.sgml:
27884 * docs/gst/tmpl/gstfakesrc.sgml:
27885 * docs/gst/tmpl/gstfilesink.sgml:
27886 * docs/gst/tmpl/gstfilesrc.sgml:
27887 * docs/gst/tmpl/gstfilter.sgml:
27888 * docs/gst/tmpl/gstformat.sgml:
27889 * docs/gst/tmpl/gstghostpad.sgml:
27890 * docs/gst/tmpl/gstimplementsinterface.sgml:
27891 * docs/gst/tmpl/gstindex.sgml:
27892 * docs/gst/tmpl/gstindexfactory.sgml:
27893 * docs/gst/tmpl/gstinfo.sgml:
27894 * docs/gst/tmpl/gstiterator.sgml:
27895 * docs/gst/tmpl/gstmacros.sgml:
27896 * docs/gst/tmpl/gstmemchunk.sgml:
27897 * docs/gst/tmpl/gstminiobject.sgml:
27898 * docs/gst/tmpl/gstobject.sgml:
27899 * docs/gst/tmpl/gstpad.sgml:
27900 * docs/gst/tmpl/gstpadtemplate.sgml:
27901 * docs/gst/tmpl/gstparse.sgml:
27902 * docs/gst/tmpl/gstpipeline.sgml:
27903 * docs/gst/tmpl/gstplugin.sgml:
27904 * docs/gst/tmpl/gstpluginfeature.sgml:
27905 * docs/gst/tmpl/gstquery.sgml:
27906 * docs/gst/tmpl/gstqueue.sgml:
27907 * docs/gst/tmpl/gstregistry.sgml:
27908 * docs/gst/tmpl/gstregistrypool.sgml:
27909 * docs/gst/tmpl/gstscheduler.sgml:
27910 * docs/gst/tmpl/gstschedulerfactory.sgml:
27911 * docs/gst/tmpl/gststructure.sgml:
27912 * docs/gst/tmpl/gstsystemclock.sgml:
27913 * docs/gst/tmpl/gsttaglist.sgml:
27914 * docs/gst/tmpl/gsttagsetter.sgml:
27915 * docs/gst/tmpl/gsttrace.sgml:
27916 * docs/gst/tmpl/gsttrashstack.sgml:
27917 * docs/gst/tmpl/gsttypefind.sgml:
27918 * docs/gst/tmpl/gsttypefindfactory.sgml:
27919 * docs/gst/tmpl/gsttypes.sgml:
27920 * docs/gst/tmpl/gsturihandler.sgml:
27921 * docs/gst/tmpl/gsturitype.sgml:
27922 * docs/gst/tmpl/gstutils.sgml:
27923 * docs/gst/tmpl/gstvalue.sgml:
27924 * docs/gst/tmpl/gstversion.sgml:
27925 * docs/gst/tmpl/gstxml.sgml:
27926 * docs/libs/tmpl/gstcontrol.sgml:
27927 * docs/libs/tmpl/gstdataprotocol.sgml:
27928 * docs/libs/tmpl/gstdparam.sgml:
27929 * docs/libs/tmpl/gstdplinint.sgml:
27930 * docs/libs/tmpl/gstdpman.sgml:
27931 * docs/libs/tmpl/gstdpsmooth.sgml:
27932 * docs/libs/tmpl/gstgetbits.sgml:
27933 * docs/libs/tmpl/gstunitconvert.sgml:
27934 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27935 (gst_push_src_base_init), (gst_push_src_class_init),
27936 (gst_push_src_init), (gst_push_src_create):
27937 * gst/base/gstpushsrc.h:
27938 * gst/elements/gstelements.c:
27939 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27940 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27941 (gst_fake_sink_init), (gst_fake_sink_set_property),
27942 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27943 (gst_fake_sink_event), (gst_fake_sink_preroll),
27944 (gst_fake_sink_render), (gst_fake_sink_change_state):
27945 * gst/elements/gstfakesink.h:
27946 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27947 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27948 (gst_fake_src_base_init), (gst_fake_src_class_init),
27949 (gst_fake_src_init), (gst_fake_src_event_handler),
27950 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27951 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27952 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27953 (gst_fake_src_create_buffer), (gst_fake_src_create),
27954 (gst_fake_src_start), (gst_fake_src_stop):
27955 * gst/elements/gstfakesrc.h:
27956 * gst/elements/gstfilesink.c: (_do_init),
27957 (gst_file_sink_base_init), (gst_file_sink_class_init),
27958 (gst_file_sink_init), (gst_file_sink_dispose),
27959 (gst_file_sink_set_location), (gst_file_sink_set_property),
27960 (gst_file_sink_get_property), (gst_file_sink_open_file),
27961 (gst_file_sink_close_file), (gst_file_sink_query),
27962 (gst_file_sink_event), (gst_file_sink_render),
27963 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27964 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27965 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27966 * gst/elements/gstfilesink.h:
27967 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27968 (gst_file_src_class_init), (gst_file_src_init),
27969 (gst_file_src_finalize), (gst_file_src_set_location),
27970 (gst_file_src_set_property), (gst_file_src_get_property),
27971 (gst_file_src_map_region), (gst_file_src_map_small_region),
27972 (gst_file_src_create_mmap), (gst_file_src_create_read),
27973 (gst_file_src_create), (gst_file_src_is_seekable),
27974 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27975 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27976 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27977 (gst_file_src_uri_handler_init):
27978 * gst/elements/gstfilesrc.h:
27979 more autistic cleanliness in functions/names/defines
27981 2005-07-13 Andy Wingo <wingo@pobox.com>
27983 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27984 source couldn't negotiate.
27986 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27990 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27991 function. I am channeling Hades. Put your boots on suckers!!!
27993 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27995 * testsuite/caps/Makefile.am:
27996 * testsuite/caps/value_compare.c:
27997 * testsuite/caps/value_intersect.c:
27998 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27999 move two testsuite apps over to the check dir
28001 2005-07-12 Wim Taymans <wim@fluendo.com>
28003 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28004 Added more debug info in the negotiate process.
28006 * gst/gstmessage.h:
28007 Prepare for segment playback.
28009 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28015 * tools/gst-launch.c: (main):
28016 NULL pipeline on errors.
28018 2005-07-12 Andy Wingo <wingo@pobox.com>
28020 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28021 not it comes from a malloc region. Make sure our copy gets freed.
28023 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28025 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28026 * check/gst/gstmessage.c: (GST_START_TEST):
28027 * check/gst/gststructure.c: (GST_START_TEST),
28028 (gst_structure_suite), (main):
28030 * gst/gstelement.c: (gst_element_message_full):
28031 clean up GError and debug string now that they get copied
28032 * gst/gstmessage.c: (gst_message_new_error),
28033 (gst_message_new_warning), (gst_message_parse_error),
28034 (gst_message_parse_warning):
28035 use GST_TYPE_G_ERROR for structure_new, and take copies of
28036 arguments, so that we don't mess up refcounting
28038 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28040 * check/Makefile.am:
28041 add per-test valgrind targets
28042 * check/gst-libs/gdp.c: (GST_START_TEST),
28043 (gst_data_protocol_suite), (main):
28046 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
28048 * check/Makefile.am:
28049 instate more valgrindable tests
28050 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28051 (GST_START_TEST), (fakesrc_suite):
28052 * check/gst/gstpad.c: (GST_START_TEST):
28053 * check/gst/gststructure.c: (GST_START_TEST):
28055 * docs/gst/tmpl/gstminiobject.sgml:
28056 * gst/gstpad.c: (gst_pad_finalize):
28057 fix the static mutex leak
28059 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28061 * check/Makefile.am:
28062 add two more tests for valgrinding
28063 * check/gst/gstvalue.c: (GST_START_TEST):
28064 test refcount of deserialized buffer, found a leak
28065 * docs/gst/gstreamer-docs.sgml:
28066 * docs/gst/gstreamer-sections.txt:
28067 * docs/gst/gstreamer.types:
28068 * docs/gst/tmpl/gstminiobject.sgml:
28069 add miniobject to docs
28070 * gst/gstminiobject.c:
28072 * gst/gstvalue.c: (gst_value_deserialize_buffer),
28073 (gst_string_unwrap):
28074 fix a hard-to-find invalid write for one of the tests
28075 fix a leak for deserialized buffers
28077 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28079 * docs/pwg/advanced-events.xml:
28080 * docs/pwg/advanced-request.xml:
28081 * docs/pwg/advanced-scheduling.xml:
28082 * docs/pwg/appendix-porting.xml:
28083 * docs/pwg/building-boiler.xml:
28084 * docs/pwg/intro-preface.xml:
28085 * docs/pwg/other-ntoone.xml:
28086 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28087 of example code and explanation for pad activation, loop() and
28088 getrange() functions and a bit more. Remove old comments pointing
28090 * examples/pwg/Makefile.am:
28091 Add loop/getrange examples.
28093 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28096 check for valgrind binary + some fixes
28098 valgrind suppressions for the tests
28099 * check/Makefile.am:
28100 add a valgrind: target that valgrinds the unit tests
28101 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28102 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28103 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28104 * check/gst/gstghostpad.c:
28106 * check/gst/gstdata.c:
28108 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28109 (thread_unref), (gst_mini_object_suite), (main):
28111 * gst/gst.c: (gst_deinit):
28113 add a method to clean up.
28114 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28115 (gst_system_clock_obtain):
28116 allow for disposing the system clock.
28117 * tools/gst-launch.c: (main):
28120 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
28122 * docs/gst/tmpl/gstbasesrc.sgml:
28123 * docs/gst/tmpl/gstfakesrc.sgml:
28124 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28125 (gst_base_src_init), (gst_base_src_set_property),
28126 (gst_base_src_get_property), (gst_base_src_get_range),
28127 (gst_base_src_start):
28128 * gst/base/gstbasesrc.h:
28129 add num-buffers property
28130 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28131 (gst_fakesrc_init), (gst_fakesrc_set_property),
28132 (gst_fakesrc_get_property), (gst_fakesrc_create),
28133 (gst_fakesrc_start):
28134 remove num-buffers property
28136 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28138 * docs/gst/gstreamer-sections.txt:
28139 * docs/gst/tmpl/gstbasesink.sgml:
28140 * docs/gst/tmpl/gstbasesrc.sgml:
28141 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28142 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28143 (gst_base_sink_finalize), (gst_base_sink_set_clock),
28144 (gst_base_sink_set_property), (gst_base_sink_get_property),
28145 (gst_base_sink_handle_object), (gst_base_sink_event),
28146 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28147 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28148 (gst_base_sink_loop), (gst_base_sink_deactivate),
28149 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28150 (gst_base_sink_change_state):
28151 * gst/base/gstbasesink.h:
28152 * gst/base/gstbasesrc.h:
28153 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28154 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28155 (gst_filesink_init):
28156 more macro splitting
28158 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28160 * gst/gstelement.c: (gst_element_get_bus):
28162 * tools/gst-launch.c: (check_intr), (event_loop):
28165 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28167 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28170 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
28172 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28173 (gst_base_src_finalize):
28174 add finalize method and clean up properly
28175 * gst/gstpipeline.c: (gst_pipeline_dispose):
28178 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28180 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28182 add more things to check
28183 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28184 * gst/gstelement.c:
28187 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28189 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28190 (GST_START_TEST), (fakesrc_suite):
28191 * check/gst-libs/gdp.c: (GST_START_TEST):
28192 * check/gst/gst.c: (GST_START_TEST):
28193 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28194 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28195 * check/gst/gstbus.c: (GST_START_TEST):
28196 * check/gst/gstcaps.c: (GST_START_TEST):
28197 * check/gst/gstdata.c: (GST_START_TEST):
28198 * check/gst/gstelement.c: (GST_START_TEST):
28199 * check/gst/gstghostpad.c: (GST_START_TEST):
28200 * check/gst/gstiterator.c: (GST_START_TEST):
28201 * check/gst/gstmessage.c: (GST_START_TEST):
28202 * check/gst/gstobject.c: (GST_START_TEST):
28203 * check/gst/gstpad.c: (GST_START_TEST):
28204 * check/gst/gststructure.c: (GST_START_TEST):
28205 * check/gst/gstsystemclock.c: (GST_START_TEST),
28206 (gst_systemclock_suite):
28207 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28208 * check/gst/gstvalue.c: (GST_START_TEST):
28209 * check/pipelines/cleanup.c: (GST_START_TEST):
28210 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28211 * check/states/sinks.c: (GST_START_TEST):
28212 * check/gstcheck.c: (gst_check_init):
28213 * check/gstcheck.h:
28214 add debugging category
28215 use GST_START_TEST now, so we add a debug line
28217 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
28219 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28220 add test for state change message on a bin
28221 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28223 * gst/gstbin.c: (gst_bin_init):
28224 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28225 * gst/gstelement.c: (gst_element_post_message),
28226 (gst_element_set_state):
28227 * gst/gstelementfactory.c: (gst_element_factory_create):
28228 * gst/gstmessage.c: (gst_message_new):
28229 * gst/gstscheduler.c:
28230 various debugging additions and cleanups
28232 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28234 * check/Makefile.am:
28235 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28237 adding tests for elements
28238 * gst/gstelement.c: (gst_element_dispose):
28240 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28242 * gst/registries/gstlibxmlregistry.c: (load_feature):
28243 plug more leaks. A simple gst_init() now is leakfree, yay.
28245 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28247 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28248 (gst_xml_registry_load):
28249 plug another memleak
28251 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28254 use GST_SET_ERROR_CFLAGS
28255 * docs/faq/cvs.xml:
28256 change to ERROR_CFLAGS
28258 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
28261 make GST_ERROR_CFLAGS overridable and re-enable Werror
28262 * docs/faq/cvs.xml:
28263 add a note about error CFLAGS
28264 * docs/gst/tmpl/gstfakesrc.sgml:
28265 * gst/elements/gstfakesrc.c:
28266 comment out some unused code
28267 * gst/gst.c: (split_and_iterate):
28268 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28272 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28274 * common/Makefile.am:
28275 * common/gtk-doc.mak:
28276 * docs/gst/Makefile.am:
28277 factor out gtk-doc.mak
28279 2005-07-07 Wim Taymans <wim@fluendo.com>
28281 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28282 (gst_thread_scheduler_dispose):
28283 Unlock the STREAM_LOCK completely.
28285 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
28287 * check/Makefile.am:
28288 * check/elements/.cvsignore:
28289 * check/elements/gstfakesrc.c: (chain_func), (event_func),
28290 (START_TEST), (fakesrc_suite), (main):
28291 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28292 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28293 (gst_fakesrc_create), (gst_fakesrc_start):
28294 * gst/elements/gstfakesrc.h:
28295 adding a first element test
28297 2005-07-07 Andy Wingo <wingo@pobox.com>
28299 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28302 2005-07-07 Wim Taymans <wim@fluendo.com>
28308 2005-07-07 Wim Taymans <wim@fluendo.com>
28310 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28311 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28312 Allow subclasses to implement their own negotiation.
28314 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28316 * docs/design/part-gstbin.txt:
28317 * docs/design/part-gstpipeline.txt:
28318 Update design notes to reflect the movement of
28319 responsibility for bus handling from GstPipeline to
28322 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28325 Remove unnecessary queue2/3/4 examples.
28327 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
28329 * examples/Makefile.am:
28330 * examples/helloworld/helloworld.c: (event_loop), (main):
28331 * examples/queue/queue.c: (event_loop), (main):
28332 * examples/queue2/queue2.c: (main):
28333 Update a couple of the examples to work again.
28335 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28336 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28337 Spelling corrections and extra debug.
28339 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28340 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28341 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28343 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28344 (gst_pipeline_change_state):
28345 * gst/gstpipeline.h:
28346 Move the bus handler for children to the GstBin, and create a
28347 separate bus for receiving messages from children to the one the
28348 bus sends 'upwards' on.
28350 2005-07-06 Wim Taymans <wim@fluendo.com>
28353 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28354 (gst_base_sink_handle_object), (gst_base_sink_loop),
28355 (gst_base_sink_change_state):
28356 * gst/base/gstbasesink.h:
28357 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28358 (gst_base_src_init), (gst_base_src_setcaps),
28359 (gst_base_src_getcaps), (gst_base_src_loop),
28360 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28361 (gst_base_src_start), (gst_base_src_change_state):
28362 * gst/base/gstbasesrc.h:
28363 Make basesrc negotiate.
28364 Handle the case where preroll fails in basesink.
28367 2005-07-06 Wim Taymans <wim@fluendo.com>
28369 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28370 Implement the fixate function.
28371 Clean up acceptcaps.
28373 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28375 * docs/pwg/building-filterfactory.xml:
28376 * docs/pwg/pwg.xml:
28377 Remove never-written filter-factory chapter; I'll add the various
28378 base classes to part 4 ("other element types") later on.
28380 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28382 * docs/pwg/advanced-negotiation.xml:
28383 * docs/pwg/building-boiler.xml:
28384 * docs/pwg/building-pads.xml:
28385 * docs/pwg/pwg.xml:
28386 * examples/pwg/Makefile.am:
28387 Add a chapter on caps negotiation, simplify the original code
28388 samples a bit w.r.t. caps negotiation, add link to the advanced
28389 section. Add a bunch of examples showing different use cases of
28390 different types of caps negotiation. Upstream renegotiation isn't
28391 fully documented yet since nobody knows how that works.
28393 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
28395 * check/gst/gstpad.c:
28396 * check/gstcheck.c:
28397 * gst/gstpad.c: (gst_pad_get_internal_links_default):
28398 if pad has no parent, return NULL as list of internal links
28400 2005-07-05 Andy Wingo <wingo@pobox.com>
28402 * gst/elements/gstfilesrc.c:
28403 * gst/elements/gstfakesrc.c:
28404 * gst/base/gstpushsrc.c:
28405 * gst/base/gstbasesrc.h:
28406 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28408 2005-07-05 Stefan Kost <ensonic@users.sf.net>
28411 better report generation target (lcov needs a patch)
28413 2005-07-05 Andy Wingo <wingo@pobox.com>
28415 * gst/elements, testsuite: Null if we got it...
28417 2005-07-05 Wim Taymans <wim@fluendo.com>
28420 * libs/gst/dataprotocol/Makefile.am:
28421 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28422 * libs/gst/dataprotocol/dataprotocol.h:
28423 * pkgconfig/Makefile.am:
28424 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28425 * pkgconfig/gstreamer-dataprotocol.pc.in:
28426 Ported dataprotol to 0.9.
28427 Added pkgconfig files.
28429 2005-07-05 Andy Wingo <wingo@pobox.com>
28431 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28432 Default to returning TRUE for the case when tranform_caps returns
28433 a fixed caps, like for identity or volume.
28435 * check/gst/gstbus.c (pound_bus_with_messages):
28436 * check/gst/gstmessage.c (START_TEST):
28437 * check/pipelines/simple_launch_lines.c (got_handoff): Application
28438 message API change.
28440 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28441 logic weaks here: always run transform_caps, trying passthrough
28442 operation only if the original caps intersects with the transform.
28444 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28445 source and sink caps.
28447 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28448 Intersect the peer caps with the pad template before going into
28450 (gst_base_transform_transform_caps): More debugging.
28452 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28455 2005-07-04 Edward Hervey <edward@fluendo.com>
28459 (gst_pad_add_*_probe): now returns the signal id for better wrapping
28462 2005-07-04 Andy Wingo <wingo@pobox.com>
28464 * check/gst/gstpad.c: Only set explicit caps on pads.
28466 2005-07-01 Andy Wingo <wingo@pobox.com>
28468 * tests/network-clock.scm: Commentary update.
28470 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28471 Didn't really make sense, not implementable with basetransform,
28473 (gst_identity_transform): Unref inbuf via make_writable. Feeble
28474 attempt at implementing the sync property, needs an unlock method.
28476 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28477 New func, by default returns the same caps (the identity
28479 (gst_base_transform_getcaps): Uses transform_caps to return
28480 something sensible.
28481 (gst_base_transform_setcaps): Complicated logic to get caps on
28482 both pads, even if they are different, and to call set_caps once
28483 for every time both pads get their caps set.
28484 (gst_base_transform_handle_buffer): Give the ref to the transform
28485 function. Allows in-place modification of the buffer.
28487 * gst/base/gstbasetransform.h (transform_caps): New class method.
28488 Given caps on one side, what can I do on the other.
28489 (set_caps): Take two caps, one for each side of the element.
28492 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28493 caps in place. This is safe because we can check the mutability of
28494 the caps, and a good idea because fixate functions are just called
28495 as a matter of last resort. (Not actually implemented.)
28496 (gst_pad_set_caps): If the caps we're setting is actually the same
28497 as the existing pad caps, just update the pointer without calling
28498 setcaps. Assert that caps is either NULL or fixed, as per the
28501 * gst/gstghostpad.c: Update for fixate changes.
28503 2005-07-02 Andy Wingo <wingo@pobox.com>
28506 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28507 two refcounts makes it immutable, which is enough. Doc more.
28509 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
28511 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28512 Put the mini_object into GValue as a mini_object,
28513 not a gpointer, since that's how we declared
28516 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28518 * examples/pwg/Makefile.am:
28519 Fix buildbot again.
28521 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28523 * docs/pwg/building-testapp.xml:
28525 * examples/pwg/Makefile.am:
28528 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28531 * examples/Makefile.am:
28532 * examples/pwg/Makefile.am:
28533 * examples/pwg/extract.pl:
28534 Enable building the PWG examples.
28535 * docs/pwg/advanced-interfaces.xml:
28536 Add URI interface stub.
28537 * docs/pwg/advanced-types.xml:
28538 * docs/pwg/other-autoplugger.xml:
28539 * docs/pwg/appendix-porting.xml:
28540 * docs/pwg/pwg.xml:
28541 Add porting guide (mostly stubs), remove autoplugging (see ADM).
28542 * docs/pwg/building-boiler.xml:
28543 * docs/pwg/building-chainfn.xml:
28544 * docs/pwg/building-pads.xml:
28545 * docs/pwg/building-props.xml:
28546 * docs/pwg/building-state.xml:
28547 * docs/pwg/building-testapp.xml:
28548 Update the building-*.xml parts for 0.9 changes. All examples
28549 code blocks compile in examples/pwg/*.
28551 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28553 * docs/manual/advanced-autoplugging.xml:
28554 * docs/manual/appendix-checklist.xml:
28555 * docs/manual/appendix-integration.xml:
28556 * docs/manual/highlevel-components.xml:
28557 Fix playbin/decodebin examples, update docs a bit, mention bus
28558 instead of signals in various places, mention kmplayer and
28559 kaffeine since they have a working GStreamer backend in the KDE
28562 2005-06-30 Wim Taymans <wim@fluendo.com>
28565 * docs/design/draft-ghostpads.txt:
28566 * docs/design/draft-push-pull.txt:
28567 * docs/design/draft-query.txt:
28568 * docs/design/part-TODO.txt:
28569 * docs/design/part-query.txt:
28570 Added CHANGES-0.9 doc, updated status of other docs.
28575 2005-06-30 Wim Taymans <wim@fluendo.com>
28577 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28578 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28579 (gst_base_sink_change_state):
28580 * gst/base/gstbasesink.h:
28581 Some tweaks, only EOS and a buffer complete a preroll.
28583 2005-06-30 Andy Wingo <wingo@pobox.com>
28585 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28586 activate_push down to the internal pad as well.
28588 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
28590 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28592 * gst/gsttaginterface.c:
28593 Some documentation fixes (#307394 and #307397).
28595 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
28597 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28599 * gst/gstvalue.c: (gst_value_intersect_list):
28600 Fix memleak (#309125).
28602 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28604 * docs/manual/advanced-dataaccess.xml:
28605 Fix fakesrc example to compile; doesn't work, bug somewhere...?
28606 * docs/manual/basics-pads.xml:
28607 Add reference for filtered caps to above chapter.
28609 2005-06-30 Wim Taymans <wim@fluendo.com>
28611 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28612 (gst_bin_change_state):
28614 Lame attempt at making the state change function a bit
28617 2005-06-30 Wim Taymans <wim@fluendo.com>
28619 * docs/design/part-clocks.txt:
28620 * docs/design/part-element-sink.txt:
28621 * docs/design/part-events.txt:
28622 * docs/design/part-preroll.txt:
28623 * docs/design/part-states.txt:
28624 Some more tweeks and additions to the docs.
28626 2005-06-30 Wim Taymans <wim@fluendo.com>
28628 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28629 (default_have_data), (gst_pad_class_init), (gst_pad_init),
28630 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28631 (gst_pad_check_pull_range), (gst_pad_get_range),
28632 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28634 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28635 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28636 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28637 (gst_pad_remove_buffer_probe):
28638 Removed atomic operations, use existing LOCK.
28639 Move exception handling out of main code path.
28641 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28643 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28644 (silly_return_true_function), (gst_pad_class_init),
28645 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28646 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28647 (gst_pad_send_event):
28648 Fix accumulator, add default value by using _emitv() instead
28649 of _emit() for signal emission.
28651 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28653 * docs/manual/advanced-dataaccess.xml:
28654 * examples/manual/Makefile.am:
28656 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28659 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
28661 * gst/elements/gstfilesink.c: (gst_filesink_render):
28662 Simplify code so that we don't have to handle short
28663 writes and return GST_FLOW_ERROR if an error occured.
28665 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28667 * docs/gst/gstreamer-docs.sgml:
28668 Remove probes more.
28670 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28672 * docs/gst/gstreamer-sections.txt:
28673 * docs/gst/tmpl/gstpad.sgml:
28674 * docs/gst/tmpl/gstprobe.sgml:
28676 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28677 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28678 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28679 (gst_pad_push_event), (gst_pad_send_event):
28681 * gst/gstutils.c: (gst_pad_add_data_probe),
28682 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28683 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28684 (gst_pad_remove_buffer_probe):
28686 Remove old probes, add new g-signal-based probes and some utility
28689 2005-06-29 Edward Hervey <edward@fluendo.com>
28691 * gst/gstelementfactory.c:
28694 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28695 the definition to the header file.
28697 2005-06-29 Andy Wingo <wingo@pobox.com>
28699 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28700 plugins from the source directory.
28702 2005-06-29 Wim Taymans <wim@fluendo.com>
28704 * docs/gst/tmpl/gstbuffer.sgml:
28705 * docs/gst/tmpl/gstclock.sgml:
28706 Some fixings for blantently wrong text.
28708 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28710 * check/Makefile.am:
28711 * gst/gst.c: (add_path_func), (init_pre):
28712 * gst/gstregistry.c: (gst_registry_add_path):
28713 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
28714 only scan the GST_PLUGIN_PATH locations, and not add
28717 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
28719 * docs/gst/gstreamer-sections.txt:
28720 * docs/gst/tmpl/gstbasesrc.sgml:
28721 * gst/gstelement.c:
28722 * gst/gstelement.h:
28727 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28729 * docs/manual/advanced-autoplugging.xml:
28730 Fix autoplugging example.
28732 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28734 * docs/manual/advanced-autoplugging.xml:
28735 * docs/manual/mime-world.fig:
28736 Try to get autoplugging working, fix type detection. Fix text
28737 in hello-world image.
28739 2005-06-29 Wim Taymans <wim@fluendo.com>
28741 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28742 (gst_base_sink_change_state):
28746 map SIGNAL and BROADCAST to the right function.
28749 Remove redundant braces.
28751 * gst/gstpad.c: (gst_pad_set_caps):
28752 Don't call setcaps function when reseting caps to NULL.
28754 * gst/gstsystemclock.c: (gst_system_clock_dispose),
28755 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
28756 (gst_system_clock_id_unschedule):
28757 Use BROADCAST as this is what we do.
28759 2005-06-29 Wim Taymans <wim@fluendo.com>
28761 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
28762 We are actually prerolling before commiting the state
28765 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28767 * docs/manual/advanced-clocks.xml:
28768 * docs/manual/advanced-interfaces.xml:
28769 * docs/manual/advanced-metadata.xml:
28770 * docs/manual/advanced-position.xml:
28771 * docs/manual/advanced-schedulers.xml:
28772 * docs/manual/advanced-threads.xml:
28773 * docs/manual/appendix-porting.xml:
28774 * docs/manual/basics-bins.xml:
28775 * docs/manual/basics-bus.xml:
28776 * docs/manual/basics-elements.xml:
28777 * docs/manual/basics-helloworld.xml:
28778 * docs/manual/basics-pads.xml:
28779 * docs/manual/highlevel-components.xml:
28780 * docs/manual/manual.xml:
28781 * docs/manual/thread.fig:
28782 Update (until threads/scheduling) Application Development Manual;
28783 remove GstThread, add GstBus, add simple porting checklist, add
28784 documentation for tag writing, clocks, make all examples until this
28785 part compile and run.
28786 * examples/manual/Makefile.am:
28787 Update from changes to Application Development Manual; add bus
28788 example, remove thread example.
28790 2005-06-28 Wim Taymans <wim@fluendo.com>
28792 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
28793 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
28794 (gst_bus_source_dispatch):
28795 Add debugging messages.
28796 Make internal methods static.
28797 Handle the case where the bus is flushed in the handler.
28799 * gst/gstelement.c: (gst_element_get_bus):
28800 Fix refcount in _get_bus();
28802 * gst/gstpipeline.c: (gst_pipeline_change_state),
28803 (gst_pipeline_get_clock_func):
28804 Clock refcounting fixes.
28805 Handle the case where preroll timed out more gracefully.
28807 * gst/gstsystemclock.c: (gst_system_clock_dispose):
28808 Clean up the internal thread in dispose. This is needed
28809 for subclasses that actually get disposed.
28811 * gst/schedulers/threadscheduler.c:
28812 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28813 (gst_thread_scheduler_dispose):
28814 Free thread pool in dispose.
28816 2005-06-28 Andy Wingo <wingo@pobox.com>
28818 * tests/network-clock-utils.scm (debug, print-event): New utils.
28820 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
28821 (*packet-loss*): Unified loss probability.
28822 (network-time): Report out-of-band events.
28824 * tests/plot-data: Add support for out-of-band events. Hack it
28825 into this script instead of passing it down the pipe; should fix
28828 2005-06-28 Wim Taymans <wim@fluendo.com>
28830 * docs/gst/gstreamer.types:
28831 * docs/gst/tmpl/gstbasesrc.sgml:
28832 * docs/gst/tmpl/gstpad.sgml:
28835 2005-06-28 Wim Taymans <wim@fluendo.com>
28837 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28838 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
28839 (gst_proxy_pad_do_fixatecaps):
28840 Correctly proxy the check_pull_range function.
28842 2005-06-28 Andy Wingo <wingo@pobox.com>
28844 * tests/network-clock.scm: Removed need for slib.
28846 2005-06-28 Wim Taymans <wim@fluendo.com>
28848 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
28849 (gst_basesink_preroll_queue_flush):
28850 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
28851 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
28852 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28853 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
28854 (gst_proxy_pad_set_property):
28857 * gst/gstqueue.c: (gst_queue_init):
28858 The deprecated pad loop function is removed now.
28860 2005-06-28 Andy Wingo <wingo@pobox.com>
28862 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
28863 New parameters, simulate network packet loss.
28865 * tests/network-clock-utils.scm: Initialize the RNG.
28867 2005-06-28 Wim Taymans <wim@fluendo.com>
28869 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
28870 (gst_basesink_event), (gst_basesink_deactivate):
28871 Flushing the preroll queue always needs to unlock the waiters.
28873 2005-06-28 Edward Hervey <edward@fluendo.com>
28875 * gst/gstpipeline.c: (gst_pipeline_send_event):
28876 Wheen a seek was successful on a pipeline, set the stream_time to the
28877 seek offset in order to have a synchronized stream_time.
28879 2005-06-28 Wim Taymans <wim@fluendo.com>
28881 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28882 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
28883 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
28884 (gst_proxy_pad_do_fixatecaps):
28885 Call wrapper function instead of just calling the function
28886 pointers. This takes care of any locking and whatmore.
28888 2005-06-28 Wim Taymans <wim@fluendo.com>
28890 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
28891 (gst_pad_pull_range):
28893 CONNECTED -> LINKED.
28895 2005-06-28 Andy Wingo <wingo@pobox.com>
28897 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
28898 source-munging commit!!!
28900 * gst/gstobject.c (gst_object_unref, gst_object_ref)
28901 (gst_object_sink): Take gpointer arguments, not GstObject --
28902 avoids casts. Like GLib.
28904 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28907 2005-06-27 Andy Wingo <wingo@pobox.com>
28909 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28912 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28913 returns a sorted copy of the trace list.
28914 (gst_alloc_trace_print_live): New API, only prints traces with
28915 live objects. Sort the list.
28916 (gst_alloc_trace_print_all): Sort the list.
28917 (gst_alloc_trace_print): Align columns.
28919 * gst/elements/gstttypefindelement.c:
28920 * gst/elements/gsttee.c:
28921 * gst/base/gstbasesrc.c:
28922 * gst/base/gstbasesink.c:
28923 * gst/base/gstbasetransform.c:
28924 * gst/gstqueue.c: Adapt for pad activation changes.
28926 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28928 (gst_pipeline_dispose): Drop ref on sched.
28930 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28931 (gst_pad_activate_default): Push mode by default.
28932 (pre_activate_switch, post_activate_switch): New stubs, things to
28933 do before and after switching activation modes on pads.
28934 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28935 the pad's activate function to choose which mode to activate.
28936 Shortcut on deactivation and call the right function directly.
28937 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28939 (gst_pad_activate_push): New API, same for push mode.
28940 (gst_pad_set_activate_function)
28941 (gst_pad_set_activatepull_function)
28942 (gst_pad_set_activatepush_function): Setters for new API.
28944 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28945 Trace all miniobjects.
28946 (gst_mini_object_make_writable): Unref the arg if we copy, like
28947 gst_caps_make_writable.
28949 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28951 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28952 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28953 Adapt for new pad API.
28955 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28957 * gst/gstelement.h:
28958 * gst/gstelement.c (gst_element_iterate_src_pads)
28959 (gst_element_iterate_sink_pads): New API functions.
28961 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28962 should fold into gstiterator.c in some form.
28963 (gst_element_pads_activate): Simplified via use of fold and
28964 delegation of decisions to gstpad->activate.
28966 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28969 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28970 class once in init, like gstmessage. Didn't run into this issue
28971 but it seems correct. Don't initialize a trace, gstminiobject does
28974 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28975 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28977 (assert_live_count): New util function, uses alloc traces to check
28980 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28981 To be modified when unlink drops the internal pad.
28983 2005-06-27 Wim Taymans <wim@fluendo.com>
28985 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28986 (gst_bin_change_state):
28987 Cleanup the get_state() function a little, make sure it
28988 iterates the same set of elements.
28989 Added stub iterate_state_order().
28991 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28993 * docs/gst/gstreamer-docs.sgml:
28994 * docs/gst/gstreamer-sections.txt:
28995 * docs/gst/gstreamer.types:
28996 * docs/gst/tmpl/gstbasesink.sgml:
28997 * docs/gst/tmpl/gstbasesrc.sgml:
28998 * docs/gst/tmpl/gstbasetransform.sgml:
28999 * docs/gst/tmpl/gstelement.sgml:
29000 * docs/gst/tmpl/gstiterator.sgml:
29001 * gst/base/gstbasesrc.c:
29002 * gst/base/gstbasesrc.h:
29003 * gst/base/gstbasetransform.h:
29004 * gst/gstelement.c:
29005 * gst/gstiterator.h:
29006 adding basetransform and iterator docs
29008 2005-06-27 Andy Wingo <wingo@pobox.com>
29010 * docs/design/part-activation.txt: Notes on how activation should
29011 work -- not quite implemented yet.
29013 2005-06-25 Wim Taymans <wim@fluendo.com>
29015 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29016 At least get the chain function correct, needs more
29019 2005-06-25 Wim Taymans <wim@fluendo.com>
29021 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29022 (gst_basesink_handle_object), (gst_basesink_event),
29023 (gst_basesink_do_sync), (gst_basesink_handle_event),
29024 (gst_basesink_change_state):
29026 Right, two problems here: ghostpads don't take locks and
29027 glib _rec_mutex_lock_full() with depth==0 still locks.
29028 Catch illegal locking and g_warn them.
29030 2005-06-25 Wim Taymans <wim@fluendo.com>
29032 * check/states/sinks.c: (START_TEST), (gst_object_suite):
29033 Have to check for completion now...
29035 2005-06-25 Wim Taymans <wim@fluendo.com>
29037 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29038 (gst_basesink_handle_object), (gst_basesink_event),
29039 (gst_basesink_do_sync), (gst_basesink_handle_event),
29040 (gst_basesink_change_state):
29042 Unlock STREAM_LOCK whatever the recursion was.
29044 2005-06-25 Wim Taymans <wim@fluendo.com>
29046 * gst/base/gstbasesink.c: (gst_basesink_set_property),
29047 (gst_basesink_preroll_queue_empty),
29048 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29049 (gst_basesink_event), (gst_basesink_do_sync),
29050 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29051 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29052 (gst_basesink_change_state):
29053 Reworked the base sink, handle event and buffer serialisation
29054 correctly and removed possible deadlock.
29055 Handle EOS correctly.
29057 2005-06-25 Wim Taymans <wim@fluendo.com>
29059 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29060 (gst_pipeline_change_state):
29061 * tools/gst-launch.c: (check_intr), (event_loop), (main):
29062 Allow elements to post EOS in the state change function.
29063 Fix up -launch, make it exit the poll loop when the
29064 pipeline actually changed state.
29065 Fix up warning parsing in -launch.
29067 2005-06-25 Wim Taymans <wim@fluendo.com>
29069 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29070 (gst_tee_sink_activate):
29071 Core takes STREAM_LOCK for us now.
29073 2005-06-25 Wim Taymans <wim@fluendo.com>
29075 * gst/gstelement.c: (gst_element_get_state_func),
29076 (gst_element_set_state):
29077 * gst/gstelement.h:
29078 * gst/gstmessage.c: (gst_message_parse_error),
29079 (gst_message_parse_warning):
29080 Keep track of current target state while performing a state
29081 change so that subclasses can do something interesting.
29082 Fix parsing of warning/error messages when GError is NULL.
29084 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
29086 * docs/gst/Makefile.am:
29087 * docs/gst/gstreamer-docs.sgml:
29088 * docs/gst/gstreamer-sections.txt:
29089 * docs/gst/gstreamer.types:
29090 * docs/gst/tmpl/gstbasesink.sgml:
29091 * docs/gst/tmpl/gstbasesrc.sgml:
29092 * docs/gst/tmpl/gstbin.sgml:
29093 * docs/gst/tmpl/gstcompat.sgml:
29094 * docs/gst/tmpl/gstfakesink.sgml:
29095 * docs/gst/tmpl/gstfakesrc.sgml:
29096 * docs/gst/tmpl/gstfilesink.sgml:
29097 * docs/gst/tmpl/gstfilesrc.sgml:
29098 * docs/gst/tmpl/gstindex.sgml:
29099 * docs/manual/appendix-quotes.xml:
29100 * gst/base/gstbasesrc.h:
29101 * gst/elements/gstfakesrc.h:
29102 * gst/gstmessage.h:
29103 start pulling in base classes and elements in our docs
29105 2005-06-24 Stefan Kost <ensonic@users.sf.net>
29107 * docs/gst/Makefile.am:
29108 * docs/libs/Makefile.am:
29109 fixed make distcheck with gtk-doc 1.3
29111 2005-06-23 Wim Taymans <wim@fluendo.com>
29113 * gst/gstelement.c: (gst_element_get_state_func),
29114 (gst_element_set_state), (gst_element_change_state):
29115 When the state did not change, also report NO_PREROLL
29118 2005-06-23 Wim Taymans <wim@fluendo.com>
29120 * gst/gstpad.c: (gst_pad_event_default):
29121 * gst/gstqueue.c: (gst_queue_loop):
29122 No unsafe task pausing please.
29124 2005-06-23 Wim Taymans <wim@fluendo.com>
29126 * gst/schedulers/threadscheduler.c:
29127 (gst_thread_scheduler_task_start),
29128 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29129 Ref the task before pushing it on the threadpool. This
29130 makes sure that we have a ref when the threadfunction is
29133 2005-06-23 Andy Wingo <wingo@pobox.com>
29135 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29136 offset is greater than the file's size.
29138 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
29139 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29140 * gst/gstobject.c (gst_object_class_init): Make the class lock
29141 recursive. Wim won't let me drop deep_notify. Decodebin works
29142 again, whoopdy doo.
29144 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29145 internal pad, and hacks accordingly. Doesn't do it on the target
29146 pad because we change its caps. Probably catches all cases of
29148 (gst_ghost_pad_set_property): Connect to notify::caps as
29151 * tests/network-clock.scm (plot-simulation): Pipe data to the
29152 elite python skript.
29154 * tests/network-clock-utils.scm (define-parameter): New macro,
29155 defines a parameter that can be set via the command line.
29156 (set-parameter!, parse-parameter-arguments): Command line args
29159 * tests/plot-data: Simple matplotlib-based plotter, takes input on
29162 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
29164 * gst/elements/gsttypefindelement.c:
29165 (gst_type_find_element_handle_event):
29166 Don't restart typefinding on a discont.
29167 * gst/gstelement.c: (gst_element_set_state):
29168 Debug spelling fix.
29169 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29170 Allow changing mode of an active pad.
29171 Debug output fixes.
29172 * gst/registries/gstlibxmlregistry.c: (load_feature):
29173 Don't cast a static pad template to a normal pad template.
29175 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
29177 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29178 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29179 remove gst_strtoll completely, since it didn't actually do
29180 anything more than what g_ascii_strtoull already does.
29181 check for range errors when deserializing
29182 do a cast for the unsigned cases; but further fixing needs
29183 a decision on what the interpretation of "(int)" and
29184 deserialization should be for values that fall outside the
29185 type's boundaries (ie, refuse, or interpret as casting)
29187 2005-06-23 Wim Taymans <wim@fluendo.com>
29189 * check/Makefile.am:
29190 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29191 * docs/design/part-live-source.txt:
29192 * docs/design/part-states.txt:
29193 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29194 (gst_basesrc_set_live), (gst_basesrc_is_live),
29195 (gst_basesrc_get_range), (gst_basesrc_activate),
29196 (gst_basesrc_change_state):
29197 * gst/base/gstbasesrc.h:
29198 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29199 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29200 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29201 * gst/gstelement.c: (gst_element_get_state_func),
29202 (gst_element_set_state):
29203 * gst/gstelement.h:
29205 * tools/gst-launch.c: (event_loop), (main):
29206 Added support for live sources and other elements that
29208 Updated design docs, added live-source design doc.
29209 Implemented live source functionality in basesrc
29210 Fix error condition in _bin_get_state()
29211 Implement live source handling in -launch.
29212 Added check for live sources.
29213 Fixed case in GstBin where elements were changed state
29217 2005-06-23 Andy Wingo <wingo@pobox.com>
29219 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29220 borken refcounting.
29222 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29223 gst_caps_replace takes care of this for us.
29225 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29226 gst_pad_set_caps on the target, not just its setcaps() function.
29228 * tests/network-clock.scm:
29229 * tests/network-clock-utils.scm: A network clock simulator.
29230 Something of an algorithmic testbed before doing something in C.
29232 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29234 * check/Makefile.am:
29235 * check/gst/capslist.h:
29236 copy over from 0.8, and add two with bitmasks specified with
29238 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29239 add test to parse everything from capslist.h
29240 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29242 add test for structure deserialization
29243 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29244 add tests for deserialization of strings to int types
29245 * gst/gststructure.c: (gst_structure_nth_field_name):
29246 * gst/gststructure.h:
29247 add a way to get the name of a field referenced by index
29248 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29249 instead of checking if the resulting long long lies between
29250 min and max, we check if the long long would fit into
29251 a number of bytes for the final type.
29252 This fixes cases where a string represents 2^32 - 1, which
29253 when cast to int would be the (valid) -1, but is bigger than
29256 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29258 * gst/parse/grammar.y:
29259 add a log line for type deserialization
29261 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
29263 * check/gst/gstvalue.c: (START_TEST):
29264 * gst/gstvalue.c: (gst_value_deserialize):
29265 return long long, not int, so gint64 deserialization actually
29266 works. Is there any flag that makes the compiler check this ?
29269 2005-06-22 Wim Taymans <wim@fluendo.com>
29272 Added convenience macros for setting buffers in GValue.
29274 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29276 * check/gst/.cvsignore:
29277 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29278 add a test deserializing int64, and comment part out because
29281 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
29283 * check/Makefile.am:
29284 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29285 * testsuite/Makefile.am:
29286 * testsuite/caps/Makefile.am:
29287 * testsuite/caps/value_serialize.c:
29288 * testsuite/test_gst_init.c:
29289 move a value_serialize test over
29291 2005-06-20 Wim Taymans <wim@fluendo.com>
29296 * gst/gstvalue.c: (gst_value_compare_buffer),
29297 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29298 (gst_value_compare_flags), (gst_value_serialize_flags),
29299 (gst_value_deserialize_flags), (_gst_value_initialize):
29300 Fix serialisation of buffers, they are not boxed types anymore
29302 2005-06-20 Wim Taymans <wim@fluendo.com>
29304 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29305 Testcase to show error in buffer-on-caps serialisation.
29307 2005-06-20 Andy Wingo <wingo@pobox.com>
29309 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29310 will be adding to later.
29312 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29313 if its socks fill with rocks.
29314 (gst_system_clock_obtain): Set the name on object construction.
29315 Avoid double-checked locking.
29317 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
29319 * gst/gsturi.c: (gst_element_make_from_uri):
29320 Fix potential endless loop.
29322 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29324 * check/Makefile.am:
29326 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29328 move over from testsuite dir and clean up
29331 * testsuite/Makefile.am:
29332 * testsuite/tags/.cvsignore:
29333 * testsuite/tags/Makefile.am:
29334 * testsuite/tags/merge.c:
29335 remove testsuite/tags
29337 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29339 * docs/gst/gstreamer-sections.txt:
29340 * docs/gst/tmpl/gstenumtypes.sgml:
29341 * win32/gstenumtypes.c:
29342 clean up documentation build a little
29344 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29346 * check/gstcheck.h:
29347 add macros for checking refcounts on objects and caps
29348 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29349 add some more unit tests
29350 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29351 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29352 fix leaked refcounts (I hope :)) so unittest works
29356 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
29358 * configure.ac: back to HEAD
29360 === release 0.9.1 ===
29362 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
29368 2005-06-17 Andy Wingo <wingo@pobox.com>
29370 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29371 assert; it's always possible that the pad gets deactivated in
29372 between the checks in gstpad.c and the implementation. Rely on
29373 finish_preroll() to return a FLUSHING or similar instead of on the
29376 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29377 clock and post an EOS message if we come out of finish_preroll in
29380 2005-06-16 David Schleef <ds@schleef.org>
29382 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29383 (gst_capsfilter_set_property): Allow NULL as possible value
29384 for filter_caps property, indicating GST_CAPS_ANY.
29386 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29388 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29390 * gst/schedulers/Makefile.am:
29392 * gstreamer.spec.in:
29395 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
29397 * gstreamer.spec.in:
29400 2005-06-08 Andy Wingo <wingo@pobox.com>
29402 * gst/gstutils.c: RPAD fixes all around.
29403 (gst_element_link_pads): Refcounting fixes.
29405 * tools/gst-inspect.c:
29406 * tools/gst-xmlinspect.c:
29408 * gst/base/gsttypefindhelper.c:
29409 * gst/base/gstbasesink.c:
29410 * gst/gstqueue.c: RPAD fixes.
29412 * gst/gstghostpad.h:
29413 * gst/gstghostpad.c: New ghost pad implementation as full proxy
29414 pads. The tricky thing is they provide both source and sink
29415 interfaces, since they proxy the internal pad for the external
29416 pad, and vice versa. Implement with lower-level ProxyPad objects,
29417 with the interior proxy pad as a child of the exterior ghost pad.
29418 Should write a doc on this.
29420 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29421 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29424 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29425 pads are real pads. No ghost pads in this file. Not documenting
29426 the myriad s/RPAD/PAD/ and REALIZE fixes.
29427 (gst_pad_class_init): Add properties for "direction" and
29428 "template". Both are construct-only, so they can't change during
29429 the life of the pad. Fixes properly deriving from GstPad.
29430 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29431 derived objects, just set properties when creating the objects via
29433 (gst_pad_get_parent): Implement as a function, return NULL if the
29434 parent is not an element.
29435 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29436 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29438 * gst/gstobject.c (gst_object_class_init): Make name a construct
29439 property. Don't set it in the object init.
29441 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29442 with UNKNOWN direction.
29443 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29444 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29445 (gst_element_remove_pad): Remove ghost-pad special cases.
29446 (gst_element_pads_activate): Remove rpad cruft.
29448 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29449 catch the pad's-parent-not-an-element case.
29451 * gst/gst.h: Include gstghostpad.h.
29453 * gst/gst.c (init_post): No more real, ghost pads.
29455 * gst/Makefile.am: Add gstghostpad.[ch].
29457 * check/Makefile.am:
29458 * check/gst/gstbin.c:
29459 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29460 into a bin creates ghost pads, and that the refcounts are right.
29461 Partly moved from gstbin.c.
29463 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29465 * check/gst-libs/.cvsignore:
29466 * check/gst/.cvsignore:
29467 * check/pipelines/.cvsignore:
29469 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29470 (START_TEST), (cleanup_suite), (main):
29471 add some tests related to cleanup after running pipelines
29473 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29475 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29476 add a testsuite for GstBuffer
29478 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
29480 * gst/gstminiobject.h:
29481 add defines for accessing the refcount
29483 2005-06-03 Stefan Kost <ensonic@users.sf.net>
29485 * Makefile.am: added support for html unit test coverage reports
29487 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
29489 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29490 Free existing caps if the capsfilter changes. Add a FIXME about
29491 setting those caps on the pads.
29493 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29494 Before adding a ghost pad to a parent bin, check that there isn't
29495 already one for the element on the bin. Prevents infinite recursion
29496 when using decodebin in parse pipelines. Andy says he'll rewrite the
29497 way this works anyway, so ignore the hack.
29499 2005-06-02 Andy Wingo <wingo@pobox.com>
29501 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29502 file size, pass it on to the type find helper.
29504 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29505 segment_start and segment_end properly according to the seek
29506 method. Segment_end is still a bit flaky because offset can be
29507 negative for CUR and END cases, but it takes -1 as an "unset"
29510 2005-06-02 Wim Taymans <wim@fluendo.com>
29512 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29513 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29514 (gst_basesink_activate):
29515 * gst/base/gstbasesink.h:
29516 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29517 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29518 (gst_pad_query), (gst_pad_start_task):
29520 * gst/gstqueue.c: (gst_queue_bufferalloc),
29521 (gst_queue_handle_sink_event), (gst_queue_chain):
29522 Bufferalloc: return GstFlowReturn to more accuratly report
29523 why allocation failed.
29525 2005-06-02 Wim Taymans <wim@fluendo.com>
29527 * gst/gstpipeline.c: (gst_pipeline_send_event):
29528 Take snapshot of state without blocking.
29530 2005-06-02 Wim Taymans <wim@fluendo.com>
29532 * docs/design/part-TODO.txt:
29533 * docs/design/part-caps.txt:
29534 * docs/design/part-clocks.txt:
29535 * docs/design/part-negotiation.txt:
29536 * docs/design/part-preroll.txt:
29539 2005-05-30 Wim Taymans <wim@fluendo.com>
29541 * gst/elements/gstidentity.c: (gst_identity_event),
29542 (gst_identity_transform), (gst_identity_get_property):
29543 Protect last_message property as it is accessed from
29546 2005-05-30 Wim Taymans <wim@fluendo.com>
29548 * gst/gstelement.c: (gst_element_init),
29549 (gst_element_pads_activate), (gst_element_change_state):
29550 Slicker pad activation code.
29552 2005-05-30 Wim Taymans <wim@fluendo.com>
29555 * gst/gstelement.h:
29556 * gst/gstelementfactory.h:
29558 Move elementfactory methods to separate .h file.
29560 2005-05-30 Wim Taymans <wim@fluendo.com>
29562 * docs/design/part-overview.txt:
29563 * gst/gstsystemclock.h:
29564 Small typo fixes, doc updates.
29566 2005-05-30 Wim Taymans <wim@fluendo.com>
29568 * gst/gst.c: (gst_init_get_popt_table), (init_post),
29569 (init_popt_callback):
29570 Remove cpu-opt flag.
29572 2005-05-30 Wim Taymans <wim@fluendo.com>
29574 * gst/gstbuffer.c: (gst_subbuffer_finalize),
29575 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29577 Avoid typechecking in places where not needed.
29578 Added accessor for malloc_data.
29580 2005-05-30 Wim Taymans <wim@fluendo.com>
29582 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29583 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29584 (gst_pad_configure_sink), (gst_pad_configure_src),
29585 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29586 (gst_pad_start_task):
29587 Propagate errors from _set_caps() in configure_src/sink
29588 functions instead of returning TRUE.
29589 FLUSH events can travel up and downstream
29592 2005-05-30 Wim Taymans <wim@fluendo.com>
29594 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29595 (gst_basesink_activate):
29596 Handle EOS in preroll.
29598 2005-05-30 Wim Taymans <wim@fluendo.com>
29600 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29601 (gst_queue_loop), (gst_queue_handle_src_event):
29602 Remove old pieces of code
29603 Flushing the queue in an upstream event is a very bad idea.
29605 2005-05-26 Andy Wingo <wingo@pobox.com>
29607 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29608 gst_value_set_mini_object so as to add a ref on the object (which
29609 will be removed when the value is unset).
29611 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29612 arg type in ::handoff.
29614 * gst/gstelement.c (gst_element_change_state): Also deactivate
29615 pads in READY->NULL, just in case the element didn't make it to
29616 PAUSED. Wingo tested, Wim approved.
29618 2005-05-26 Wim Taymans <wim@fluendo.com>
29620 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29621 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29622 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29623 A flushing pad cannot be used to alloc_buffer from.
29625 2005-05-26 Wim Taymans <wim@fluendo.com>
29627 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29628 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29629 (gst_bus_source_dispatch), (gst_bus_source_finalize),
29630 (gst_bus_create_watch), (gst_bus_add_watch_full):
29632 Implement a real GSource and use g_main_context_wakeup() to
29633 signal new messages instead of the socketpair.
29635 2005-05-25 Wim Taymans <wim@fluendo.com>
29637 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29638 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29639 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29640 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29641 (gst_pad_send_event), (gst_pad_start_task):
29642 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29643 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29644 (gst_queue_sink_activate), (gst_queue_src_activate),
29645 (gst_queue_change_state):
29647 Fix state changes for non sinks. We now change sinks, then elements
29648 with unconnected srcpads, then the rest.
29649 More efficient queue unlocking in flush and state changes.
29650 Set the pad activate mode even if it does not have an activate
29653 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29655 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29656 Don't go in pull mode for non-seekable sources.
29657 * gst/elements/gsttypefindelement.h:
29658 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29659 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29660 (free_entry), (stop_typefinding),
29661 (gst_type_find_element_handle_event), (find_peek),
29662 (gst_type_find_element_chain), (do_pull_typefind),
29663 (gst_type_find_element_change_state):
29664 Allow typefinding (w/o seeking) in push-mode, simplified version
29665 of what was in 0.8.
29666 * gst/gstutils.c: (gst_buffer_join):
29668 gst_buffer_join() from 0.8.
29670 2005-05-25 Wim Taymans <wim@fluendo.com>
29672 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29673 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29674 (gst_pad_send_event), (gst_pad_start_task):
29675 Disable attempt at mode switching until it is figured out.
29677 2005-05-25 Wim Taymans <wim@fluendo.com>
29679 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29680 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29681 (gst_basesink_finish_preroll), (gst_basesink_chain),
29682 (gst_basesink_loop), (gst_basesink_activate),
29683 (gst_basesink_change_state):
29684 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29685 (gst_basesrc_get_range), (gst_basesrc_loop),
29686 (gst_basesrc_activate):
29687 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29688 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29689 (gst_real_pad_init), (gst_real_pad_set_property),
29690 (gst_real_pad_get_property), (gst_pad_set_active),
29691 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29692 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29693 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29694 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29695 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29696 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29697 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29698 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29699 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29700 (gst_pad_stop_task):
29702 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29703 (gst_queue_loop), (gst_queue_src_activate):
29704 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
29705 (gst_task_get_state):
29707 * gst/schedulers/threadscheduler.c:
29708 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
29709 Implement gst_pad_pause/start/stop_task(), take STREAM lock
29711 Remove ACTIVE pad flag, use FLUSHING everywhere
29712 Added _pad_chain(), _pad_get_range() to call chain/getrange
29714 Add locks around IS_FLUSHING when reading.
29715 Take STREAM lock in chain(), get_range() functions so plugins
29716 don't need to take it anymore.
29720 2005-05-25 Wim Taymans <wim@fluendo.com>
29722 * tools/gst-launch.c: (event_loop):
29723 Unref message after using its contents instead of
29726 2005-05-24 Wim Taymans <wim@fluendo.com>
29728 * docs/design/draft-ghostpads.txt:
29729 * docs/design/draft-push-pull.txt:
29730 * docs/design/draft-query.txt:
29731 * docs/design/part-overview.txt:
29732 Docs updates, added general overview doc.
29734 2005-05-21 David Schleef <ds@schleef.org>
29736 * docs/gst/tmpl/old/GstBin.sgml:
29737 * docs/gst/tmpl/old/GstBuffer.sgml:
29738 * docs/gst/tmpl/old/GstCaps.sgml:
29739 * docs/gst/tmpl/old/GstClock.sgml:
29740 * docs/gst/tmpl/old/GstCompat.sgml:
29741 * docs/gst/tmpl/old/GstData.sgml:
29742 * docs/gst/tmpl/old/GstElement.sgml:
29743 * docs/gst/tmpl/old/GstEvent.sgml:
29744 * docs/gst/tmpl/old/GstIndex.sgml:
29745 * docs/gst/tmpl/old/GstStructure.sgml:
29746 * docs/gst/tmpl/old/GstTag.sgml:
29747 * docs/gst/tmpl/old/cothreads.sgml:
29748 * docs/gst/tmpl/old/cothreads_compat.sgml:
29749 * docs/gst/tmpl/old/gettext.sgml:
29750 * docs/gst/tmpl/old/gobject2gtk.sgml:
29751 * docs/gst/tmpl/old/grammar.tab.sgml:
29752 * docs/gst/tmpl/old/gst-i18n-app.sgml:
29753 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
29754 * docs/gst/tmpl/old/gst_private.sgml:
29755 * docs/gst/tmpl/old/gstaggregator.sgml:
29756 * docs/gst/tmpl/old/gstarch.sgml:
29757 * docs/gst/tmpl/old/gstatomic_impl.sgml:
29758 * docs/gst/tmpl/old/gstbufferstore.sgml:
29759 * docs/gst/tmpl/old/gstdata_private.sgml:
29760 * docs/gst/tmpl/old/gstdisksink.sgml:
29761 * docs/gst/tmpl/old/gstdisksrc.sgml:
29762 * docs/gst/tmpl/old/gstelementfactory.sgml:
29763 * docs/gst/tmpl/old/gstextratypes.sgml:
29764 * docs/gst/tmpl/old/gstfakesink.sgml:
29765 * docs/gst/tmpl/old/gstfakesrc.sgml:
29766 * docs/gst/tmpl/old/gstfdsink.sgml:
29767 * docs/gst/tmpl/old/gstfdsrc.sgml:
29768 * docs/gst/tmpl/old/gstfilesink.sgml:
29769 * docs/gst/tmpl/old/gstfilesrc.sgml:
29770 * docs/gst/tmpl/old/gsthttpsrc.sgml:
29771 * docs/gst/tmpl/old/gstidentity.sgml:
29772 * docs/gst/tmpl/old/gstindexfactory.sgml:
29773 * docs/gst/tmpl/old/gstmarshal.sgml:
29774 * docs/gst/tmpl/old/gstmd5sink.sgml:
29775 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
29776 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
29777 * docs/gst/tmpl/old/gstpadtemplate.sgml:
29778 * docs/gst/tmpl/old/gstpipefilter.sgml:
29779 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
29780 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
29781 * docs/gst/tmpl/old/gstshaper.sgml:
29782 * docs/gst/tmpl/old/gstspider.sgml:
29783 * docs/gst/tmpl/old/gstspideridentity.sgml:
29784 * docs/gst/tmpl/old/gststatistics.sgml:
29785 * docs/gst/tmpl/old/gsttee.sgml:
29786 * docs/gst/tmpl/old/gsttimecache.sgml:
29787 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
29788 * docs/gst/tmpl/old/gstxmlregistry.sgml:
29789 * docs/gst/tmpl/old/gthread-cothreads.sgml:
29790 * docs/gst/tmpl/old/types.sgml:
29791 I didn't intend to add these or check them in.
29793 2005-05-19 David Schleef <ds@schleef.org>
29795 * configure.ac: Use -no-common everywhere. In a sane world, it
29796 would be the default in libtool, because without it, you can't
29797 build DLLs on Windows.
29798 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
29799 * docs/gst/gstreamer-sections.txt:
29800 * docs/gst/tmpl/gstcpu.sgml:
29801 * docs/gst/tmpl/gstdata.sgml:
29802 * docs/gst/tmpl/gstthread.sgml:
29804 2005-05-19 David Schleef <ds@schleef.org>
29806 * gst/gstminiobject.c: (gst_value_set_mini_object),
29807 (gst_value_take_mini_object), (gst_value_get_mini_object):
29808 * gst/gstminiobject.h: Add GValue set/get functions.
29810 2005-05-19 Wim Taymans <wim@fluendo.com>
29812 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
29813 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
29814 (gst_subbuffer_init), (gst_buffer_is_span_fast):
29816 * gst/gstbus.c: (gst_bus_post):
29817 * gst/gstelement.c: (gst_element_get_random_pad):
29818 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
29819 Make subbufer unref the parent in finalize.
29820 some more debugging info.
29823 2005-05-19 Wim Taymans <wim@fluendo.com>
29825 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29826 (gst_basesink_init), (gst_basesink_finalize),
29827 (gst_basesink_activate), (gst_basesink_change_state):
29828 Don't free preroll queue too early.
29830 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29834 Hi, I'm outdated. Please shoot me.
29836 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29838 * gst/gstpipeline.c: (gst_pipeline_send_event):
29839 Do not access variables after they have been deleted.
29841 2005-05-19 Wim Taymans <wim@fluendo.com>
29843 * tools/gst-inspect.c: (print_plugin_features):
29844 A plugin feature does unfortunatly not use the
29847 2005-05-18 Wim Taymans <wim@fluendo.com>
29849 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
29850 Port _span() functions to new subbuffers.
29852 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29854 * gst/gstbin.c: (gst_bin_add_func):
29855 Fix clock settery in bins when adding kids after the clock has
29858 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29860 * gst/elements/gstidentity.c: (gst_identity_class_init):
29861 Workaround until signals support GstMiniObject.
29863 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
29866 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
29868 2005-05-18 Wim Taymans <wim@fluendo.com>
29870 * gst/base/Makefile.am:
29871 * gst/base/gstadapter.c: (gst_adapter_base_init),
29872 (gst_adapter_class_init), (gst_adapter_init),
29873 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
29874 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
29875 (gst_adapter_flush), (gst_adapter_available),
29876 (gst_adapter_available_fast):
29877 * gst/base/gstadapter.h:
29878 Ported and added adapter to the base classes.
29880 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29883 * gst/gstmessage.c:
29884 Make sure the class is reffed/unreffed once before threads can be
29885 used. Fixes #304551.
29887 2005-05-17 Wim Taymans <wim@fluendo.com>
29889 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
29890 (gst_basesink_chain_unlocked), (gst_basesink_activate):
29891 * gst/gstminiobject.c: (gst_mini_object_get_type),
29892 (gst_mini_object_free):
29893 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
29894 (gst_pad_push), (gst_pad_push_event):
29895 * gst/gstqueue.c: (gst_queue_change_state):
29896 Don't queue buffers in basesink when we are flushing.
29897 Unref buffer when flushing in basesink.
29898 Flush queue when going to READY
29899 Unref buffer when _push() returns an error.
29900 Don't free MiniObject instance when refcount is incremented
29901 in _finalize() so that we can recover objects.
29903 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29905 * docs/manual/advanced-schedulers.xml:
29906 * docs/manual/appendix-checklist.xml:
29907 * docs/pwg/advanced-clock.xml:
29908 * docs/pwg/advanced-interfaces.xml:
29909 * docs/pwg/advanced-request.xml:
29910 * docs/pwg/advanced-types.xml:
29911 * docs/pwg/intro-preface.xml:
29912 * examples/plugins/example.c: (gst_example_get_type),
29913 (gst_example_class_init), (gst_example_chain),
29914 (gst_example_set_property), (gst_example_get_property),
29915 (gst_example_change_state), (plugin_init):
29916 * examples/plugins/example.h:
29919 2005-05-17 Wim Taymans <wim@fluendo.com>
29921 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29922 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29923 * gst/gstqueue.c: (gst_queue_change_state):
29924 Clear queue when going to READY.
29925 Remove IN_SETCAPS flag too.
29927 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29929 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29930 Remove implicit cast from gboolean to GstElementStateReturn;
29931 make sure we still return failure in paused => ready case if
29932 the parent class fails to change state and our own stop
29935 2005-05-17 Wim Taymans <wim@fluendo.com>
29937 * tools/gst-launch.c: (event_loop):
29938 Message was unreffed too soon.
29940 2005-05-16 Andy Wingo <wingo@pobox.com>
29942 * gst/gstbin.c (sink_iterator_filter): Err... um...
29944 * check/gst/gstbin.c (test_ghost_pads): New test for the
29945 ghosting-if-elements-not-in-same-bin behavior.
29947 2005-05-16 David Schleef <ds@schleef.org>
29949 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29950 accessing refcount directly.
29952 2005-05-15 David Schleef <ds@schleef.org>
29954 * check/Makefile.am: remove GstData checks
29955 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29956 * gst/Makefile.am: add miniobject, remove data
29957 * gst/gst.h: add miniobject, remove data
29958 * gst/gstdata.c: remove
29959 * gst/gstdata.h: remove
29960 * gst/gstdata_private.h: remove
29961 * gst/gsttypes.h: remove GstEvent and GstMessage
29962 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29963 * gst/gstmarshal.list: change BOXED -> OBJECT
29965 Implement GstMiniObject.
29966 * gst/gstminiobject.c:
29967 * gst/gstminiobject.h:
29969 Modify to be subclasses of GstMiniObject.
29970 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29971 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29972 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29973 (gst_subbuffer_get_type), (gst_subbuffer_init),
29974 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29977 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29978 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29979 (_gst_event_copy), (gst_event_new):
29981 * gst/gstmessage.c: (_gst_message_initialize),
29982 (gst_message_get_type), (gst_message_class_init),
29983 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29984 (gst_message_new), (gst_message_new_error),
29985 (gst_message_new_warning), (gst_message_new_tag),
29986 (gst_message_new_state_changed), (gst_message_new_application):
29987 * gst/gstmessage.h:
29988 * gst/gstprobe.c: (gst_probe_perform),
29989 (gst_probe_dispatcher_dispatch):
29991 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29992 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29993 (_gst_query_copy), (gst_query_new):
29995 Update elements for GstData -> GstMiniObject changes
29997 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29998 (gst_queue_chain), (gst_queue_loop):
29999 * gst/elements/gstbufferstore.c:
30000 (gst_buffer_store_add_buffer_func),
30001 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30002 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30003 (gst_fakesink_render):
30004 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30005 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30006 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30007 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30008 (gst_filesrc_create_read):
30009 * gst/elements/gstidentity.c: (gst_identity_class_init):
30010 * gst/elements/gsttypefindelement.c:
30011 (gst_type_find_element_src_event), (free_entry_buffers),
30012 (gst_type_find_element_handle_event):
30013 * libs/gst/dataprotocol/dataprotocol.c:
30014 (gst_dp_header_from_buffer):
30015 * libs/gst/dataprotocol/dataprotocol.h:
30016 * libs/gst/dataprotocol/dp-private.h:
30018 2005-05-15 David Schleef <ds@schleef.org>
30020 * gst/elements/gstelements.c: Don't include headers that were
30023 2005-05-15 David Schleef <ds@schleef.org>
30025 * gst/elements/Makefile.am: Remove some elements that don't
30026 need to be in the core (or even exist at all).
30027 * gst/elements/gstaggregator.c:
30028 * gst/elements/gstaggregator.h:
30029 * gst/elements/gstmd5sink.c:
30030 * gst/elements/gstmd5sink.h:
30031 * gst/elements/gstmultifilesrc.c:
30032 * gst/elements/gstmultifilesrc.h:
30033 * gst/elements/gstpipefilter.c:
30034 * gst/elements/gstpipefilter.h:
30035 * gst/elements/gstshaper.c:
30036 * gst/elements/gstshaper.h:
30037 * gst/elements/gststatistics.c:
30038 * gst/elements/gststatistics.h:
30039 * po/POTFILES.in: Remove above files.
30041 2005-05-14 Andy Wingo <wingo@pobox.com>
30043 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30044 so as to get the refs right.
30045 (sink_iterator_filter): New function, wraps bin_element_is_sink,
30046 unreffing objects that don't pass the filter.
30048 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30049 gst_element_set_bus.
30050 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30051 normal cases, this will destroy the bus.
30053 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30056 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30059 2005-05-13 Andy Wingo <wingo@pobox.com>
30061 * gst/gstutils.c (gst_element_link_pads): Instead of calling
30062 gst_pad_link, call pad_link_maybe_ghosting,
30063 (pad_link_maybe_ghosting): Links pads, making sure that the
30064 elements being linked are in the same bin.
30065 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30066 Helpers for pad_link_maybe_ghosting.
30068 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30071 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30073 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
30075 * docs/design/part-element-source.txt:
30078 2005-05-12 Wim Taymans <wim@fluendo.com>
30080 * gst/base/gstbasesink.c: (gst_basesink_init),
30081 (gst_basesink_activate):
30082 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30083 (gst_basesrc_is_seekable):
30084 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30085 (bin_element_is_sink), (gst_bin_change_state):
30086 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30087 * gst/gstelement.h:
30088 Identify sinks by their flag to avoid overly complicated
30090 Do state changes even for elements not reachable from the
30092 BaseSink is a sink now :)
30093 Some more debugging info in the basesrc.
30096 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30098 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30099 Implement _query on a bin, similar to _send_event.
30101 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
30103 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30104 Discont event offset format should be GST_FORMAT_BYTES,
30105 not GST_FORMAT_TIME.
30107 2005-05-12 Wim Taymans <wim@fluendo.com>
30109 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30110 Same fix as Ronald's but without the signal.
30112 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30114 * gst/gstutils.c: (gst_element_query_position):
30115 No, an element is not a pad.
30117 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30119 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30120 (gst_bin_get_state):
30121 If a child is removed from a bin while we remove the child from
30122 the bin and while we're retrieving its state, signal this to the
30123 get_state function so we abort the wait (instead of waiting for
30124 a timeout) and can immediately re-iterate over all other elements.
30126 2005-05-12 Wim Taymans <wim@fluendo.com>
30128 * gst/base/Makefile.am:
30129 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30130 (gst_basesrc_start):
30131 * gst/base/gstbasesrc.h:
30132 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30133 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30134 (gst_pushsrc_init), (gst_pushsrc_create):
30135 * gst/base/gstpushsrc.h:
30136 Added is_seekable to BaseSrc
30137 Added simple PushSrc.
30139 2005-05-11 Wim Taymans <wim@fluendo.com>
30141 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30142 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30143 (gst_element_link_pads), (gst_element_query_position),
30144 (gst_element_query_convert), (intersect_caps_func),
30145 (gst_pad_query_position), (gst_pad_query_convert):
30146 Fix refcounting in utils function.
30147 No point in trying to activate a pad when it's added, it could
30148 be added from the state change function and then we deadlock, the
30149 element has to decide what to do.
30151 2005-05-10 Andy Wingo <wingo@pobox.com>
30153 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30154 *all* the arguments.
30156 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30157 stream lock if it's a FLUSH_DONE; normal flushes don't get the
30158 lock (according to the docs -- if this is wrong change the docs).
30160 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30161 flush messages in the NULL state.
30163 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30164 message immediately and return.
30165 (gst_bus_set_flushing): New function. If a bus is flushing, it
30166 flushes out any queued messages and immediately unrefs new
30167 messages. This is so when an element goes to NULL, all of the
30168 unhandled messages coming from it can be freed, and their
30169 references to the element dropped. In other words: message source
30170 ref considered harmful :P
30172 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30173 we're finished with it.
30175 * gst/gstmessage.c (gst_message_new_state_changed):
30177 2005-05-10 Wim Taymans <wim@fluendo.com>
30179 * gst/gstvalue.c: (gst_value_compare_flags),
30180 (gst_value_serialize_flags), (gst_value_deserialize_flags),
30181 (_gst_value_initialize):
30182 Added flags serialize/deserialize/compare code.
30184 2005-05-09 Andy Wingo <wingo@pobox.com>
30186 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30187 Intersect the peer's caps with our caps.
30189 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30191 * gst/base/gsttypefindhelper.c: (helper_find_peek):
30192 * gst/elements/gsttypefindelement.c: (find_peek):
30193 Handle negative offsets better. Fixes decodebin.
30195 2005-05-09 Wim Taymans <wim@fluendo.com>
30197 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30198 (gst_base_transform_event):
30199 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30200 Implement accept_caps.
30201 Fix silly lock/unlock mismatch in base class.
30203 2005-05-09 Wim Taymans <wim@fluendo.com>
30205 * docs/design/draft-push-pull.txt:
30206 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30207 * gst/elements/gstfilesink.c: (gst_filesink_init),
30208 (gst_filesink_query):
30209 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30210 (gst_type_find_handle_src_query), (find_element_get_length):
30211 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30212 * gst/gstelement.h:
30213 * gst/gstmessage.c:
30214 * gst/gstmessage.h:
30215 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30216 (gst_real_pad_get_caps_unlocked),
30217 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30218 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30219 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30220 (gst_real_pad_dispose), (gst_real_pad_finalize),
30221 (gst_pad_load_and_link), (gst_pad_save_thyself),
30222 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30223 (gst_pad_check_pull_range), (gst_pad_pull_range),
30224 (gst_pad_template_get_type), (gst_pad_template_class_init),
30225 (gst_pad_template_init), (gst_pad_template_dispose),
30226 (name_is_valid), (gst_static_pad_template_get),
30227 (gst_pad_template_new), (gst_static_pad_template_get_caps),
30228 (gst_pad_template_get_caps), (gst_pad_set_element_private),
30229 (gst_pad_get_element_private), (gst_pad_start_task),
30230 (gst_pad_pause_task), (gst_pad_stop_task),
30231 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30232 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30233 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30234 (gst_ghost_pad_new):
30236 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30237 (gst_query_new_position), (gst_query_set_position),
30238 (gst_query_parse_position), (gst_query_new_convert),
30239 (gst_query_set_convert), (gst_query_parse_convert):
30241 * gst/gstqueryutils.c:
30242 * gst/gstqueryutils.h:
30243 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30244 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30245 (gst_queue_handle_src_query):
30246 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30247 (gst_element_query_position), (gst_element_query_convert),
30248 (intersect_caps_func), (gst_pad_query_position),
30249 (gst_pad_query_convert):
30251 * tools/gst-inspect.c: (print_pad_info):
30252 * tools/gst-xmlinspect.c: (print_element_info):
30253 Remove old query functions. Ported old code.
30254 Added position/convert helper functions to gstutils.
30255 Reordered gstpad.c code, grouping relevant things.
30256 Remove gst_message_new(), always need to speficy a specific
30260 2005-05-09 Andy Wingo <wingo@pobox.com>
30262 * gst/gstiterator.h: Add some includes.
30264 * gst/gstqueryutils.h: Include more headers.
30267 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30268 some uses of gst_pad_query.
30270 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30271 NULL out parameters.
30272 (gst_query_new_position): New proc, allocates a new position
30275 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30276 gstqueryutils.c to the build.
30278 * gst/gststructure.c (gst_structure_set_valist): Implement with
30279 the generic G_VALUE_COLLECT.
30281 2005-05-08 Edward Hervey <bilboed@bilboed.com>
30283 * gst/Makefile.am: (gst_headers):
30284 Added gstqueryutils.h to the list of headers to install, that was
30285 a 'nachty' move wingo :)
30287 2005-05-06 Andy Wingo <wingo@pobox.com>
30290 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30291 GstData, init a memchunk.
30292 (standard_definitions): Add a few query types, deprecate a few.
30293 (gst_query_get_type): New proc.
30294 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30296 (gst_query_new_application, gst_query_get_structure): New public
30299 * docs/design/draft-query.txt: Removed LINKS from the query types,
30300 because all the rest can be dispatched to other pads -- seemed
30301 ugly to have a query that couldn't be dispatched. internal_links
30302 is fine as a pad method.
30304 * gst/gstpad.h: Add query2 as a pad method, add the new functions
30305 in gstpad.c, but maintain binary compatibility for the moment.
30306 Will fix before 0.9 is out.
30308 * gst/gstqueryutils.c:
30309 * gst/gstqueryutils.h: New files, implement 3 methods for each
30310 query type: parse_query, parse_response, and set. Probably need an
30313 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30315 * gst/elements/gstfilesink.c (gst_filesink_query2):
30316 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30317 query_types, and formats methods.
30319 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30320 (gst_pad_set_query2_function): New functions.
30321 (gst_real_pad_init): Set query2_default as the default query2
30322 function. Basically just dispatches to internally linked pads.
30326 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30327 without using the atomic operations. Only one thread can possibly
30328 be accessing the data at this point. Changed so as to avoid
30329 gst_atomic operations.
30331 2005-05-06 Wim Taymans <wim@fluendo.com>
30333 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30334 Also set caps if we use the fallback buffer alloc.
30336 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
30338 * docs/gst/Makefile.am:
30339 * docs/gst/gstreamer-docs.sgml:
30340 * docs/gst/gstreamer-sections.txt:
30341 * docs/gst/tmpl/gstatomic.sgml:
30342 * docs/gst/tmpl/gstmemchunk.sgml:
30343 * testsuite/elements/struct_i386.h:
30344 * win32/GStreamer.vcproj:
30346 Purge GstAtomic stuff from docs and win32 makefiles as well
30348 2005-05-06 Wim Taymans <wim@fluendo.com>
30350 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30351 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30352 * gst/gstpad.c: (gst_pad_peer_get_caps):
30353 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30354 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30355 (gst_queue_src_activate), (gst_queue_change_state):
30357 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30358 (intersect_caps_func):
30359 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30360 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30361 Some fixes for the peer_get_caps() change.
30363 2005-05-06 Wim Taymans <wim@fluendo.com>
30365 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30366 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30367 (gst_basesink_activate):
30368 Actually do something with error codes returned from the push
30371 2005-05-06 Wim Taymans <wim@fluendo.com>
30373 * docs/design/part-element-sink.txt:
30374 * docs/design/part-element-source.txt:
30375 * gst/base/gstbasesink.c: (gst_basesink_class_init),
30376 (gst_basesink_event), (gst_basesink_activate):
30377 * gst/base/gstbasesink.h:
30378 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30379 (gst_basesrc_activate):
30380 * gst/base/gstbasesrc.h:
30381 * gst/gstelement.c: (gst_element_pads_activate):
30382 Some more documentation.
30383 Fixed scheduling decision in _pads_activate().
30385 2005-05-05 Andy Wingo <wingo@pobox.com>
30387 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30390 2005-05-05 Wim Taymans <wim@fluendo.com>
30392 * gst/base/Makefile.am:
30393 * gst/base/gstbasesink.h:
30394 * gst/base/gstbasesrc.c: (gst_basesrc_init),
30395 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30396 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30397 (gst_collectpads_class_init), (gst_collectpads_init),
30398 (gst_collectpads_finalize), (gst_collectpads_new),
30399 (gst_collectpads_set_function), (gst_collectpads_add_pad),
30400 (find_pad), (gst_collectpads_remove_pad),
30401 (gst_collectpads_is_active), (gst_collectpads_collect),
30402 (gst_collectpads_collect_range), (gst_collectpads_start),
30403 (gst_collectpads_stop), (gst_collectpads_peek),
30404 (gst_collectpads_pop), (gst_collectpads_available),
30405 (gst_collectpads_read), (gst_collectpads_flush),
30406 (gst_collectpads_chain):
30407 * gst/base/gstcollectpads.h:
30408 * gst/elements/Makefile.am:
30409 * gst/elements/gstelements.c:
30410 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30411 (gst_fakesink_get_times), (gst_fakesink_event),
30412 (gst_fakesink_preroll), (gst_fakesink_render):
30413 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30414 (gst_filesink_init), (gst_filesink_set_location),
30415 (gst_filesink_open_file), (gst_filesink_close_file),
30416 (gst_filesink_pad_query), (gst_filesink_event),
30417 (gst_filesink_render), (gst_filesink_change_state):
30418 * gst/elements/gstfilesink.h:
30419 Added object to help in making collect pad based elements.
30421 Make event function in sink baseclass return gboolean.
30423 2005-05-05 Wim Taymans <wim@fluendo.com>
30425 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30426 (gst_bin_get_by_name):
30428 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30429 (gst_clock_finalize):
30430 * gst/gstdata.c: (gst_data_replace):
30432 * gst/gstelement.c: (gst_element_request_pad),
30433 (gst_element_pads_activate):
30434 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30435 (gst_object_unref):
30436 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30437 (gst_pad_set_checkgetrange_function),
30438 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30439 (gst_pad_check_pull_range), (gst_pad_pull_range),
30440 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30441 (gst_pad_pause_task), (gst_pad_stop_task):
30442 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30443 (gst_element_request_pad), (gst_pad_proxy_getcaps):
30444 Fix name lookup in GstBin.
30445 Added _data_replace() function and _buffer_replace()
30446 Use finalize method to clean up clock.
30447 Fix refcounting on request pads.
30448 Fix pad schedule mode error.
30449 Some more object refcounting debug info,
30452 2005-05-04 Andy Wingo <wingo@pobox.com>
30454 * check/Makefile.am:
30455 * docs/gst/tmpl/gstatomic.sgml:
30456 * docs/gst/tmpl/gstplugin.sgml:
30457 * gst/base/gstbasesink.c: (gst_basesink_activate):
30458 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30459 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30460 (gst_basesrc_query), (gst_basesrc_set_property),
30461 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30462 (gst_basesrc_activate):
30463 * gst/base/gstbasesrc.h:
30464 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30465 (gst_base_transform_src_activate):
30466 * gst/elements/gstelements.c:
30467 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30468 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30469 * gst/elements/gsttee.c: (gst_tee_sink_activate):
30470 * gst/elements/gsttypefindelement.c: (find_element_get_length),
30471 (gst_type_find_element_checkgetrange),
30472 (gst_type_find_element_activate):
30473 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30474 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30475 (gst_caps_load_thyself):
30476 * gst/gstelement.c: (gst_element_pads_activate),
30477 (gst_element_save_thyself), (gst_element_restore_thyself):
30478 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30479 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30481 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30482 (gst_xml_parse_file), (gst_xml_parse_memory),
30483 (gst_xml_get_element), (gst_xml_make_element):
30484 * gst/indexers/gstfileindex.c: (gst_file_index_load),
30485 (_file_index_id_save_xml), (gst_file_index_commit):
30486 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30487 (read_enum), (load_pad_template), (load_feature), (load_plugin),
30489 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30490 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30491 * tools/gst-complete.c: (main):
30492 * tools/gst-compprep.c: (main):
30493 * tools/gst-inspect.c: (print_element_properties_info):
30494 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30495 * tools/gst-xmlinspect.c: (print_element_properties):
30498 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
30500 * gst/gstplugin.c: (gst_plugin_check_module),
30501 (gst_plugin_check_file), (gst_plugin_load_file):
30502 apply patch from #172526 to make register work on MacOSX
30504 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30506 * docs/gst/tmpl/gstconfig.sgml:
30507 * gst/gstconfig.h.in:
30508 move documentation for some symbols. Add doc for GST_PTR_FORMAT
30509 * testsuite/debug/printf_extension.c: (main):
30510 Do not use GST_PTR_FORMAT on pointers to types with
30511 sizeof < sizeof(gpointer). Fixes test on 64-bit
30512 * testsuite/elements/property.h:
30513 use correct printf format
30515 2005-05-02 Wim Taymans <wim@fluendo.com>
30517 * docs/design/draft-push-pull.txt:
30518 * docs/design/draft-query.txt:
30519 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30520 (gst_basesrc_start):
30521 Added draft for new query API.
30522 Added draft for better selecting scheduling methods.
30523 Make basesrc ignore length if the subclass does not support
30526 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30529 possible fixes for automake-1.5 - _LIBADD is reserved
30531 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
30533 * docs/faq/Makefile.am:
30534 * docs/manual/Makefile.am:
30535 * docs/manuals.mak:
30536 * docs/pwg/Makefile.am:
30538 possible fixes for automake-1.5
30540 2005-04-28 Wim Taymans <wim@fluendo.com>
30542 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30543 (gst_basesink_pad_getcaps), (gst_basesink_init),
30544 (gst_basesink_do_sync):
30545 * gst/gstclock.c: (gst_clock_entry_new):
30546 * gst/gstevent.c: (gst_event_discont_get_value):
30547 * gst/gstpipeline.c: (pipeline_bus_handler),
30548 (gst_pipeline_change_state):
30549 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30550 Better debugging of clocking info.
30551 Allow NULL values when getting discont values.
30553 2005-04-27 Wim Taymans <wim@fluendo.com>
30555 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30556 * check/gst/gstpad.c: (gst_pad_suite):
30557 Increase timeout for checks.
30559 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
30561 * check/Makefile.am:
30562 fix the broken rule for cleanup. Apparently this rule is
30563 only needed on FC2, so maybe this warrants further autotool
30566 2005-04-26 Wim Taymans <wim@fluendo.com>
30568 * gst/gsttrashstack.h:
30569 Ooohh. a nasty one! After having a failed pop() from the stack,
30570 it's possible that the stack is empty. In that case, don't
30571 follow the NULL pointer.
30573 2005-04-25 Wim Taymans <wim@fluendo.com>
30575 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30576 (gst_pad_set_checkgetrange_function),
30577 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30578 (gst_pad_check_pull_range), (gst_pad_pull_range),
30579 (gst_static_pad_template_get_caps), (gst_pad_start_task),
30580 (gst_pad_pause_task), (gst_pad_stop_task):
30581 * gst/gstplugin.c: (gst_plugin_load):
30583 Remove gst_library_load as it does more harm than good with
30584 the new g_module flags.
30585 Revert bogus caps template check in pad linking, pad caps
30586 are important when linking not the template, which is more
30587 general than the current caps.
30589 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30591 * gst/autoplug/.cvsignore:
30592 * gst/autoplug/Makefile.am:
30593 * gst/autoplug/gstsearchfuncs.c:
30594 * gst/autoplug/gstsearchfuncs.h:
30595 * gst/autoplug/gstspider.c:
30596 * gst/autoplug/gstspider.h:
30597 * gst/autoplug/gstspideridentity.c:
30598 * gst/autoplug/gstspideridentity.h:
30599 * gst/autoplug/spidertest.c:
30602 2005-04-25 Wim Taymans <wim@fluendo.com>
30604 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30605 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30606 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30607 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30609 Added stubs for unimplemented functions.
30611 2005-04-24 David Schleef <ds@schleef.org>
30613 * gst/gstpad.h: Disable some unimplemented functions. Wim,
30616 2005-04-24 David Schleef <ds@schleef.org>
30618 Convert everything from GstAtomicInt to g_atomic_int_*, and
30623 * gst/gstatomic_impl.h:
30631 * gst/gstdata_private.h:
30635 * gst/gstmessage.c:
30638 * gst/gststructure.c:
30639 * gst/gststructure.h:
30640 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30643 2005-04-24 David Schleef <ds@schleef.org>
30645 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30646 make the regressions tests work. Remove some code that is no
30648 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30649 Disable warning for pads without templates.
30651 2005-04-24 David Schleef <ds@schleef.org>
30653 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
30654 functions that handle filtered links.
30655 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30657 * gst/gstutils.c: Fix/remove utility functions that handle
30660 * gst/gstvalue.c: Add serialization/deserialization of caps
30661 * gst/parse/grammar.y: Ignore filtered caps when linking. This
30662 requires fixing so that the filter caps notation creates
30663 a capsfilter element and sets the filter_caps property. I
30664 think everyone probably wants to keep the shorthand notation.
30665 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30666 * docs/gst/tmpl/gstpad.sgml:
30668 * gst/elements/gstelements.c: Register capsfilter element.
30669 * gst/Makefile.am: fix spacing
30670 * docs/random/ds/0.9-suggested-changes: random
30672 2005-04-23 David Schleef <ds@schleef.org>
30674 * gst/elements/Makefile.am:
30675 * gst/elements/gstcapsfilter.c: New element that acts like an
30676 identity, but filters caps. Will eventually replace filtered
30677 caps in pad linking.
30678 * gst/gstutils.c: (gst_element_create_all_pads): New function
30679 to create all the ALWAYS pads that are registered with an
30680 element class. This functionality should eventually be
30681 merged in with GstElement initialization.
30683 * testsuite/trigger/README: part of trigger test code that should
30684 have been checked in a long time ago.
30686 2005-04-23 David Schleef <ds@schleef.org>
30688 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
30689 needed with new versions of libtool (nobody will confirm this),
30690 and hard to carry around.
30691 * gst/autoplug/Makefile.am:
30692 * gst/base/Makefile.am:
30693 * gst/elements/Makefile.am:
30694 * gst/indexers/Makefile.am:
30695 * gst/schedulers/Makefile.am:
30696 * libs/gst/bytestream/Makefile.am:
30697 * libs/gst/control/Makefile.am:
30698 * libs/gst/dataprotocol/Makefile.am:
30699 * libs/gst/getbits/Makefile.am:
30701 2005-04-21 Wim Taymans <wim@fluendo.com>
30703 * docs/design/draft-push-pull.txt:
30704 * docs/design/part-MT-refcounting.txt:
30705 * docs/design/part-TODO.txt:
30706 * docs/design/part-caps.txt:
30707 * docs/design/part-events.txt:
30708 * docs/design/part-gstbus.txt:
30709 * docs/design/part-gstpipeline.txt:
30710 * docs/design/part-messages.txt:
30711 * docs/design/part-push-pull.txt:
30712 * docs/design/part-query.txt:
30715 2005-04-21 Wim Taymans <wim@fluendo.com>
30717 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
30718 (gst_message_new), (gst_message_new_error),
30719 (gst_message_new_warning), (gst_message_new_tag),
30720 (gst_message_new_state_changed), (gst_message_new_application),
30721 (gst_message_get_structure):
30722 * gst/gstmessage.h:
30723 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30724 (gst_structure_copy_conditional):
30725 Use parent refcount in GstMessage to ensure GstStructure
30727 Cleaned up headers a bit.
30730 2005-04-20 Wim Taymans <wim@fluendo.com>
30732 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30733 (gst_basesink_pad_getcaps), (gst_basesink_init),
30734 (gst_basesink_chain_unlocked):
30735 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
30736 (gst_type_find_helper):
30737 * gst/elements/gsttypefindelement.c:
30738 (gst_type_find_element_have_type), (gst_type_find_element_init),
30739 (stop_typefinding), (gst_type_find_element_handle_event),
30740 (find_suggest), (gst_type_find_element_chain),
30741 (gst_type_find_element_checkgetrange),
30742 (gst_type_find_element_getrange), (do_typefind),
30743 (gst_type_find_element_activate):
30744 * gst/gstbuffer.c: (_gst_buffer_sub_free),
30745 (gst_buffer_default_free), (gst_buffer_default_copy),
30746 (gst_buffer_set_caps):
30747 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
30748 (gst_caps_replace):
30749 * gst/gstmessage.c: (gst_message_new),
30750 (gst_message_new_state_changed):
30751 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30752 (gst_pad_set_checkgetrange_function),
30753 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
30754 (gst_pad_set_caps), (gst_pad_check_pull_range),
30755 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
30757 * gst/gsttypefind.c: (gst_type_find_register):
30758 Make gst_caps_replace() work like other _replace() functions.
30759 Use _caps_replace() where possible.
30760 Make sure _message_new() initialises its field.
30761 Add gst_static_pad_template_get_caps()
30764 2005-04-18 Andy Wingo <wingo@pobox.com>
30766 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
30767 on the peer, not the pad. I think that was a typo. Pass an extra
30768 arg to see if random access is possible. Activate the pads as
30769 PULL_RANGE if possible.
30771 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
30773 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
30774 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
30777 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30779 * docs/faq/using.xml:
30780 Add note on gstreamer-properties (#154996).
30782 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30784 * docs/random/bbb/optional-properties:
30785 Some analysis on optional properties.
30787 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30789 * docs/gst/tmpl/gstelementfactory.sgml:
30790 * gst/gstelement.h:
30791 * gst/gstelementfactory.c: (gst_element_factory_init),
30792 (gst_element_factory_cleanup), (gst_element_register),
30793 (__gst_element_factory_add_static_pad_template),
30794 (gst_element_factory_get_static_pad_templates),
30795 (gst_element_factory_can_src_caps),
30796 (gst_element_factory_can_sink_caps):
30797 * gst/registries/Makefile.am:
30798 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
30799 (gst_xml_registry_class_init), (gst_xml_registry_init),
30800 (gst_xml_registry_new), (gst_xml_registry_set_property),
30801 (gst_xml_registry_get_property), (get_time), (make_dir),
30802 (gst_xml_registry_get_perms_func),
30803 (plugin_times_older_than_recurse), (plugin_times_older_than),
30804 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
30805 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
30806 (add_to_char_array), (read_string), (read_uint), (read_enum),
30807 (load_pad_template), (load_feature), (load_plugin), (load_paths),
30808 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
30809 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
30810 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
30811 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
30812 (gst_xml_registry_rebuild):
30813 * gst/registries/gstlibxmlregistry.h:
30814 * tools/gst-compprep.c: (main):
30815 * tools/gst-inspect.c: (print_pad_templates_info):
30816 * tools/gst-xmlinspect.c: (print_element_info):
30817 Use libxml2 for registry parsing, use staticpadtemplates in
30818 elementfactories. Makes gst_init() +/- 10x faster.
30820 2005-04-12 Wim Taymans <wim@fluendo.com>
30822 * gst/base/Makefile.am:
30823 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30824 (gst_basesink_pad_getcaps), (gst_basesink_init),
30825 (gst_basesink_event), (gst_basesink_change_state):
30826 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30827 (gst_basesrc_init), (gst_basesrc_query),
30828 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30829 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30830 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30831 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30832 (gst_basesrc_stop), (gst_basesrc_activate),
30833 (gst_basesrc_change_state):
30834 * gst/base/gsttypefindhelper.c: (helper_find_peek),
30835 (helper_find_suggest), (gst_type_find_helper):
30836 * gst/base/gsttypefindhelper.h:
30837 * gst/elements/Makefile.am:
30838 * gst/elements/gstelements.c:
30839 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30840 (gst_fakesink_get_times), (gst_fakesink_event),
30841 (gst_fakesink_preroll), (gst_fakesink_render):
30842 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30843 (gst_fakesrc_init), (gst_fakesrc_event_handler),
30844 (gst_fakesrc_get_property), (gst_fakesrc_create),
30845 (gst_fakesrc_start), (gst_fakesrc_stop):
30846 * gst/elements/gstfakesrc.h:
30847 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
30848 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30849 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30850 (gst_filesrc_create_read), (gst_filesrc_create),
30851 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
30852 (gst_filesrc_start):
30853 * gst/elements/gsttypefindelement.c:
30854 (gst_type_find_element_have_type), (gst_type_find_element_init),
30855 (start_typefinding), (stop_typefinding), (push_buffer_store),
30856 (gst_type_find_element_handle_event),
30857 (gst_type_find_element_chain),
30858 (gst_type_find_element_checkgetrange),
30859 (gst_type_find_element_getrange), (do_typefind),
30860 (gst_type_find_element_activate),
30861 (gst_type_find_element_change_state):
30862 * gst/elements/gsttypefindelement.h:
30863 * gst/gstpipeline.c: (pipeline_bus_handler):
30864 Added typefind helper.
30865 Small preroll fix in the base sink.
30866 Disable typefind code in basesrc.
30867 Crude port of typefindelement.
30871 2005-04-11 Wim Taymans <wim@fluendo.com>
30873 * check/gst/gstbus.c: (gstbus_suite):
30874 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
30875 * check/gstcheck.h:
30876 Fix up the timeout so that the test does not fail.
30878 2005-04-06 Wim Taymans <wim@fluendo.com>
30881 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30882 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
30883 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
30884 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
30885 (gst_basesrc_check_get_range), (gst_basesrc_loop),
30886 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
30887 (gst_basesrc_stop), (gst_basesrc_activate),
30888 (gst_basesrc_change_state), (basesrc_find_peek),
30889 (basesrc_find_suggest), (gst_basesrc_type_find):
30890 * gst/base/gstbasesrc.h:
30891 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
30892 (gst_filesrc_class_init), (gst_filesrc_init),
30893 (gst_filesrc_finalize), (gst_filesrc_set_location),
30894 (gst_filesrc_set_property), (gst_filesrc_get_property),
30895 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
30896 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
30897 (gst_filesrc_create_read), (gst_filesrc_create),
30898 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
30899 * gst/elements/gstfilesrc.h:
30900 * gst/gstelement.c: (gst_element_get_state_func),
30901 (gst_element_lost_state), (gst_element_pads_activate):
30902 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30903 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30904 (gst_pad_pull_range):
30906 More work on the generic source base class, implement seeking,
30908 Make filesrc extend the base source class.
30909 Added gst_pad_set_checkgetrange_function to GstPad.
30911 2005-04-06 Andy Wingo <wingo@pobox.com>
30913 * pkgconfig/gstreamer-base.pc.in:
30914 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30916 * pkgconfig/Makefile.am:
30917 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30919 2005-04-04 Wim Taymans <wim@fluendo.com>
30921 * gst/base/Makefile.am:
30923 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30924 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30925 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30926 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30927 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30928 (gst_basesrc_base_init), (gst_basesrc_class_init),
30929 (gst_basesrc_init), (gst_basesrc_get_formats),
30930 (gst_basesrc_get_query_types), (gst_basesrc_query),
30931 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30932 (gst_basesrc_set_property), (gst_basesrc_get_property),
30933 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30934 (gst_basesrc_loop), (gst_basesrc_activate),
30935 (gst_basesrc_change_state):
30936 * gst/base/gstbasesrc.h:
30937 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30938 (gst_fakesrc_class_init), (gst_fakesrc_init),
30939 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30940 (gst_fakesrc_get_property), (gst_fakesrc_create):
30941 * gst/elements/gstfakesrc.h:
30942 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30943 (gst_filesrc_open_file), (gst_filesrc_loop),
30944 (gst_filesrc_activate), (filesrc_find_peek),
30945 (gst_filesrc_type_find):
30946 Made base source class, make fakesrc extend it.
30947 Add comments to basesink class.
30948 Some filesrc cleanup.
30950 2005-03-31 David Schleef <ds@schleef.org>
30952 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30953 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30954 expected to link against libgstreamer.
30955 * gst/base/Makefile.am: link against libgstreamer
30956 * gst/elements/Makefile.am: same
30958 2005-03-31 Andy Wingo <wingo@pobox.com>
30960 * tests/instantiate/Makefile.am:
30961 * tests/instantiate/caps.c: Add test to test speed of caps copy
30964 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30965 GMemChunk to be fair.
30967 * gst/gsttrashstack.h: Remove warning about using the fallback
30968 trash stack implementation, it's still faster than malloc.
30970 2005-03-30 Andy Wingo <wingo@pobox.com>
30972 * tests/complexity.c: Add a copyright.
30974 2005-03-31 Wim Taymans <wim@fluendo.com>
30976 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30977 (gst_base_transform_class_init), (gst_base_transform_init),
30978 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30979 (gst_base_transform_get_property),
30980 (gst_base_transform_sink_activate),
30981 (gst_base_transform_src_activate),
30982 (gst_base_transform_change_state):
30983 * gst/base/gstbasetransform.h:
30984 * gst/elements/gstidentity.c: (gst_identity_class_init),
30985 (gst_identity_event), (gst_identity_check_perfect),
30986 (gst_identity_transform), (gst_identity_start),
30987 (gst_identity_stop):
30988 Added start/stop methods to transform base class so subclasses
30989 don't need to deal with state changes even.
30991 2005-03-31 Wim Taymans <wim@fluendo.com>
30993 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30994 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30996 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30997 (gst_pad_pull_range):
30998 Added rate to the discont event to prepare for variable speed
30999 and reverse playback.
31001 2005-03-29 David Schleef <ds@schleef.org>
31004 * testsuite/trigger/Makefile.am:
31005 * testsuite/trigger/trigger.c: A little example program to show
31006 how trigger-based elements can work.
31008 2005-03-29 Wim Taymans <wim@fluendo.com>
31010 * gst/base/Makefile.am:
31012 * gst/base/gstbasesink.c: (gst_basesink_get_type),
31013 (gst_basesink_base_init), (gst_basesink_class_init),
31014 (gst_basesink_pad_getcaps), (gst_basesink_init),
31015 (gst_basesink_activate), (gst_basesink_change_state):
31016 * gst/base/gstbasesink.h:
31017 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31018 (gst_base_transform_base_init), (gst_base_transform_finalize),
31019 (gst_base_transform_class_init), (gst_base_transform_init),
31020 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31021 (gst_base_transform_event), (gst_base_transform_getrange),
31022 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31023 (gst_base_transform_set_property),
31024 (gst_base_transform_get_property),
31025 (gst_base_transform_sink_activate),
31026 (gst_base_transform_src_activate),
31027 (gst_base_transform_change_state):
31028 * gst/base/gstbasetransform.h:
31029 * gst/elements/gstidentity.c: (gst_identity_finalize),
31030 (gst_identity_class_init), (gst_identity_init),
31031 (gst_identity_event), (gst_identity_check_perfect),
31032 (gst_identity_transform), (gst_identity_set_property),
31033 (gst_identity_get_property), (gst_identity_change_state):
31034 * gst/elements/gstidentity.h:
31035 * gst/gstelement.c: (gst_element_get_state_func),
31036 (gst_element_lost_state), (gst_element_pads_activate):
31037 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31038 (gst_pad_check_pull_range), (gst_pad_pull_range):
31040 Simplify pad activation.
31041 Added function to check if pull_range can be performed.
31042 Error out when pulling inactive or flushing pads.
31043 Removed const from refcounted types as it does not make sense.
31044 Simplify pad templates in basesink
31045 Added base class for simple 1-to-1 transforms.
31046 Make identity subclass the base transform.
31048 2005-03-29 Andy Wingo <wingo@pobox.com>
31050 * docs/libs/gstreamer-libs-overrides.txt:
31051 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31052 really don't understand what's going on, but like whatever. I want
31055 * docs/gst/Makefile.am:
31056 * docs/libs/Makefile.am: Dist the overrides files.
31058 * check/Makefile.am (clean-local): Remove .libs directories.
31060 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31061 elements to EXTRA_DIST, so po/ files are happy.
31063 * po/POTFILES.in: Er, remove it here.
31065 * po/POTFILES: Remove gstspider.c.
31067 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31069 * docs/libs/gstreamer-libs-docs.sgml:
31070 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31073 * tests/complexity.c (main): Set the length of the preroll queue
31074 on the sinks to prevent a lockup.
31076 * libs/gst/dataprotocol/Makefile.am:
31077 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31078 the same as the one in check/gst-libs/gdp.c.
31080 * po/, docs/gst/: Commit automatic changes to docs and po files.
31082 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31083 the versioned libgstbase.
31085 * check/Makefile.am: Depend on an unversioned gst-register, seems
31086 to make autoconf happier.
31088 * gst/base/Makefile.am: Make libgstbase a versioned lib.
31090 2005-03-28 Wim Taymans <wim@fluendo.com>
31093 * docs/design/part-gstelement.txt:
31094 * docs/design/part-negotiation.txt:
31095 * docs/design/part-preroll.txt:
31096 * docs/design/part-scheduling.txt:
31097 * docs/design/part-states.txt:
31099 * gst/base/Makefile.am:
31101 * gst/base/gstbasesink.c: (gst_basesink_get_template),
31102 (gst_basesink_base_init), (gst_basesink_class_init),
31103 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31104 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31105 (gst_basesink_set_pad_functions),
31106 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31107 (gst_basesink_set_property), (gst_basesink_get_property),
31108 (gst_base_sink_get_template), (gst_base_sink_get_caps),
31109 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31110 (gst_basesink_preroll_queue_push),
31111 (gst_basesink_preroll_queue_empty),
31112 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31113 (gst_basesink_event), (gst_basesink_get_times),
31114 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31115 (gst_basesink_chain_unlocked), (gst_basesink_chain),
31116 (gst_basesink_loop), (gst_basesink_activate),
31117 (gst_basesink_change_state):
31118 * gst/base/gstbasesink.h:
31119 * gst/elements/Makefile.am:
31120 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31121 (gst_fakesink_class_init), (gst_fakesink_init),
31122 (gst_fakesink_set_property), (gst_fakesink_get_property),
31123 (gst_fakesink_get_times), (gst_fakesink_event),
31124 (gst_fakesink_preroll), (gst_fakesink_render),
31125 (gst_fakesink_change_state):
31126 * gst/elements/gstfakesink.h:
31127 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31128 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31129 * gst/gstelement.c: (gst_element_add_pad),
31130 (gst_element_get_state_func), (gst_element_abort_state),
31131 (gst_element_commit_state), (gst_element_lost_state),
31132 (gst_element_set_state), (gst_element_pads_activate):
31133 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31134 * gst/gstpipeline.c: (gst_pipeline_send_event),
31135 (gst_pipeline_change_state):
31136 Added state change code.
31137 Added/updated docs.
31138 Added sink base class, make fakesink extend the base class.
31139 Small cleanups in GstPipeline.
31141 2005-03-26 David Schleef <ds@schleef.org>
31143 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
31144 is broken and should be implemented in a different library.
31145 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31146 * gst/gst.h: remove gstcpu.h
31147 * gst/gstcpu.c: remove
31148 * gst/gstcpu.h: remove
31149 * gst/Makefile.am.future: Remove this file. It's ancient.
31151 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31153 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31154 (gst_bin_send_event):
31155 Add default event/set_manager handlers. The set_manager handler
31156 takes care that the manager is distributed over kids that were
31157 already in the bin before the manager was set. The event handler
31158 is a utility virtual function that sends the event over all sinks,
31159 so that gst_element_send_event (bin, event); has the expected
31161 * gst/gstpad.c: (gst_pad_event_default):
31162 Re-install default event handling for discontinuities, so that
31163 seeking works without requiring hacks in applications or extra
31165 * gst/gstpipeline.c: (gst_pipeline_class_init),
31166 (gst_pipeline_send_event):
31167 Half hack, half utility: set a pipeline to PAUSED for seek events,
31168 since that is the only way we can guarantee a/v sync. Means that
31169 you can do gst_element_seek (pipeline, method, pos); on a pipeline
31170 and it "just works".
31172 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
31174 * gst/gstpipeline.c: (gst_pipeline_use_clock):
31175 Lock/unlock mismatch.
31177 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
31179 * docs/faq/gst-uninstalled:
31180 add gst-plugins-base
31181 * docs/gst/Makefile.am:
31182 don't error out until docs are fixed
31183 * docs/gst/gstreamer.types:
31186 2005-03-22 Wim Taymans <wim@fluendo.com>
31188 * check/Makefile.am:
31189 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31190 * gst/gststructure.c: (gst_structure_set_valist),
31191 (gst_structure_copy_conditional):
31192 Activated more tests.
31193 Added message test.
31194 Added G_TYPE_POINTER to GstStructure.
31197 2005-03-22 Wim Taymans <wim@fluendo.com>
31199 * docs/design/part-TODO.txt:
31200 * docs/design/part-events.txt:
31201 * docs/design/part-gstbin.txt:
31202 * docs/design/part-gstbus.txt:
31203 * docs/design/part-gstpipeline.txt:
31204 * docs/design/part-messages.txt:
31206 * gst/gstmessage.c:
31209 2005-03-21 Wim Taymans <wim@fluendo.com>
31211 * gst/gstbus.c: (gst_bus_post):
31212 Fix copy-and-paste error.
31214 2005-03-21 Wim Taymans <wim@fluendo.com>
31216 * check/Makefile.am:
31218 * gst/elements/Makefile.am:
31219 * gst/elements/gstelements.c:
31220 * gst/elements/gstfakesink.c: (gst_fakesink_init),
31221 (gst_fakesink_event), (gst_fakesink_chain):
31222 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31223 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31224 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31225 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31226 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31227 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31228 (gst_fakesrc_loop), (gst_fakesrc_activate),
31229 (gst_fakesrc_change_state):
31230 * gst/elements/gstfakesrc.h:
31231 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31232 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31233 (gst_filesrc_open_file), (gst_filesrc_loop),
31234 (gst_filesrc_activate), (gst_filesrc_change_state),
31235 (filesrc_find_peek), (filesrc_find_suggest),
31236 (gst_filesrc_type_find):
31237 * gst/elements/gstidentity.c: (gst_identity_finalize),
31238 (gst_identity_class_init), (gst_identity_init),
31239 (gst_identity_proxy_getcaps), (identity_queue_push),
31240 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31241 (gst_identity_getrange), (gst_identity_chain),
31242 (gst_identity_sink_loop), (gst_identity_src_loop),
31243 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31244 (gst_identity_set_property), (gst_identity_get_property),
31245 (gst_identity_change_state):
31246 * gst/elements/gstidentity.h:
31247 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31248 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31249 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31250 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31251 (gst_tee_sink_activate):
31252 * gst/elements/gsttee.h:
31253 * gst/gst.c: (gst_register_core_elements), (init_post):
31255 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31256 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31257 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31258 (gst_bin_change_state):
31260 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31261 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31262 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31263 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31264 (gst_bus_set_sync_handler), (gst_bus_create_watch),
31265 (bus_watch_callback), (bus_watch_destroy),
31266 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31267 (poll_timeout), (gst_bus_poll):
31271 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31272 (gst_element_post_message), (gst_element_message_full),
31273 (gst_element_get_state_func), (gst_element_get_state),
31274 (gst_element_abort_state), (gst_element_commit_state),
31275 (gst_element_lost_state), (gst_element_set_state),
31276 (gst_element_pads_activate), (gst_element_change_state),
31277 (gst_element_dispose), (gst_element_set_manager_func),
31278 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31279 (gst_element_set_manager), (gst_element_get_manager),
31280 (gst_element_set_bus), (gst_element_get_bus),
31281 (gst_element_set_scheduler), (gst_element_get_scheduler):
31282 * gst/gstelement.h:
31283 * gst/gstevent.c: (gst_event_new_segment_seek),
31284 (gst_event_new_flush):
31286 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31287 (_gst_message_free), (gst_message_get_type), (gst_message_new),
31288 (gst_message_new_eos), (gst_message_new_error),
31289 (gst_message_new_warning), (gst_message_new_tag),
31290 (gst_message_new_state_changed), (gst_message_new_application),
31291 (gst_message_get_structure), (gst_message_parse_tag),
31292 (gst_message_parse_state_changed), (gst_message_parse_error),
31293 (gst_message_parse_warning):
31294 * gst/gstmessage.h:
31295 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31296 (gst_real_pad_set_property), (gst_pad_set_active),
31297 (gst_pad_is_active), (gst_pad_set_blocked_async),
31298 (gst_pad_set_blocked), (gst_pad_is_blocked),
31299 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31300 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31301 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31302 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31303 (gst_pad_link_filtered), (gst_pad_relink_filtered),
31304 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31305 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31306 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31307 (gst_pad_set_caps), (gst_pad_configure_sink),
31308 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31309 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31310 (gst_real_pad_dispose), (gst_real_pad_finalize),
31311 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31312 (gst_pad_event_default_dispatch), (gst_pad_event_default),
31313 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31315 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31316 (pipeline_bus_handler), (gst_pipeline_change_state),
31317 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31318 * gst/gstpipeline.h:
31320 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31321 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31322 (gst_queue_link_src), (gst_queue_bufferalloc),
31323 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31324 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31325 (gst_queue_loop), (gst_queue_handle_src_event),
31326 (gst_queue_handle_src_query), (gst_queue_src_activate),
31327 (gst_queue_change_state):
31329 * gst/gstscheduler.c: (gst_scheduler_init),
31330 (gst_scheduler_dispose), (gst_scheduler_create_task),
31331 (gst_scheduler_factory_create):
31332 * gst/gstscheduler.h:
31333 * gst/gststructure.c: (gst_structure_get_type),
31334 (gst_structure_copy_conditional):
31335 * gst/gststructure.h:
31336 * gst/gsttaginterface.h:
31337 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31338 (gst_task_init), (gst_task_dispose), (gst_task_create),
31339 (gst_task_get_state), (gst_task_start), (gst_task_stop),
31345 * gst/schedulers/Makefile.am:
31346 * gst/schedulers/cothreads_compat.h:
31347 * gst/schedulers/entryscheduler.c:
31348 * gst/schedulers/faircothreads.c:
31349 * gst/schedulers/faircothreads.h:
31350 * gst/schedulers/fairscheduler.c:
31351 * gst/schedulers/gstbasicscheduler.c:
31352 * gst/schedulers/gstoptimalscheduler.c:
31353 * gst/schedulers/gthread-cothreads.h:
31354 * gst/schedulers/threadscheduler.c:
31355 (gst_thread_scheduler_task_get_type),
31356 (gst_thread_scheduler_task_class_init),
31357 (gst_thread_scheduler_task_init),
31358 (gst_thread_scheduler_task_start),
31359 (gst_thread_scheduler_task_stop),
31360 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31361 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31362 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31363 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31365 * libs/gst/Makefile.am:
31366 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31367 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31368 (gst_file_pad_parent_set):
31369 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31370 (gst_dp_event_from_packet):
31371 * tests/complexity.c: (main):
31372 * tests/mass_elements.c: (main):
31373 * testsuite/states/locked.c: (message_received), (main):
31374 * testsuite/states/parent.c: (main):
31375 * tools/gst-inspect.c: (print_element_flag_info),
31376 (print_implementation_info), (print_pad_info):
31377 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31379 * tools/gst-md5sum.c: (event_loop), (main):
31380 * tools/gst-typefind.c: (main):
31381 * tools/gst-xmlinspect.c: (print_element_info):
31383 Added GstBus for mainloop integration.
31384 Added GstMessage for sending notifications on the bus.
31385 Added GstTask as an abstraction for pipeline entry points.
31387 Removed Schedulers.
31388 Simplified GstQueue for multithreaded core.
31389 Made _link threadsafe, removed old capsnego.
31390 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31391 Added pad blocking functions.
31392 Reworked scheduling functions in GstPad to prepare for
31393 scheduling updates soon.
31394 Moved events out of data stream.
31395 Simplified GstEvent types.
31396 Added return values to push/pull.
31397 Removed clocking from GstElement.
31398 Added prototypes for state change function for next merge.
31399 Removed iterate from bins and state change management.
31400 Fixed some elements, disabled others for now.
31401 Fixed -inspect and -launch.
31402 Added check for GstBus.
31404 2005-03-10 Wim Taymans <wim@fluendo.com>
31406 * docs/design/part-MT-refcounting.txt:
31407 * docs/design/part-clocks.txt:
31408 * docs/design/part-gstelement.txt:
31409 * docs/design/part-gstobject.txt:
31410 * docs/design/part-standards.txt:
31411 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31412 (gst_bin_remove_func), (gst_bin_remove):
31416 * testsuite/clock/clock1.c: (main):
31417 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31419 * testsuite/dlopen/loadgst.c: (do_test):
31420 * testsuite/refcounting/bin.c: (add_remove_test1),
31421 (add_remove_test2), (main):
31422 * testsuite/refcounting/element.c: (main):
31423 * testsuite/refcounting/element_pad.c: (main):
31424 * testsuite/refcounting/pad.c: (main):
31425 * tools/gst-launch.c: (sigint_handler_sighandler):
31426 * tools/gst-typefind.c: (main):
31428 Added doc about clock.
31429 removed gst_bin_iterate_recurse_up(), marked methods
31431 Fix more testsuites.
31433 2005-03-09 Wim Taymans <wim@fluendo.com>
31435 * gst/gstpad.c: (gst_pad_get_direction),
31436 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31437 (gst_pad_collect_valist):
31438 * testsuite/bins/interface.c: (main):
31439 * testsuite/caps/audioscale.c: (test_caps):
31440 * testsuite/caps/caps.c: (test1), (test2), (test3):
31441 * testsuite/caps/deserialize.c: (main):
31442 * testsuite/caps/enumcaps.c: (main):
31443 * testsuite/caps/filtercaps.c: (main):
31444 * testsuite/caps/intersect2.c: (main):
31445 * testsuite/caps/random.c: (main):
31446 * testsuite/caps/renegotiate.c: (my_fixate), (main):
31447 * testsuite/caps/sets.c: (check_caps):
31448 * testsuite/caps/simplify.c: (check_caps), (main):
31449 * testsuite/caps/subtract.c: (check_caps):
31450 Fix _pad_get_direction wrt ghostpads.
31451 Fix caps testsuite.
31453 2005-03-09 Wim Taymans <wim@fluendo.com>
31455 * check/Makefile.am:
31456 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31457 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31458 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31459 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31460 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31461 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31462 (gst_bin_remove), (gst_bin_iterate_recurse_up),
31463 (bin_element_is_sink), (gst_bin_iterate_sinks),
31464 (gst_bin_iterate_all_by_interface):
31466 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31467 (gst_element_change_state), (gst_element_dispose),
31468 (gst_element_finalize), (gst_element_set_loop_function):
31469 * gst/gstelement.h:
31470 * gst/gstiterator.c: (find_custom_fold_func):
31471 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31472 (gst_pad_collectv), (gst_pad_collect_valist),
31473 (gst_pad_template_new):
31474 * gst/gstpipeline.c: (gst_pipeline_class_init),
31475 (gst_pipeline_dispose), (gst_pipeline_set_property),
31476 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31477 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31478 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31480 * gst/schedulers/entryscheduler.c:
31481 * gst/schedulers/gstbasicscheduler.c:
31482 (gst_basic_scheduler_cothreaded_chain),
31483 (gst_basic_scheduler_chain_add_element):
31484 * testsuite/bins/interface.c: (main):
31486 Added GstSystemClock test.
31487 Implemented clock distribution code in GstBin.
31488 Implemented iterate sinks method for future use.
31489 Rearranged gstelement.h
31490 Fix GstIterator comparison bug.
31491 Moved some code to GstPipeline, mostly clocking related.
31493 2005-03-09 Wim Taymans <wim@fluendo.com>
31496 * gst/gst_private.h:
31497 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31498 (gst_bin_remove_func), (gst_bin_remove),
31499 (gst_bin_get_by_name_recurse_up):
31500 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31501 (gst_clock_id_compare_func), (gst_clock_id_wait),
31502 (gst_clock_id_wait_async), (gst_clock_init),
31503 (gst_clock_adjust_unlocked), (gst_clock_get_time):
31504 * gst/gstelement.h:
31505 * gst/gstinfo.c: (_gst_debug_init):
31507 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31508 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31510 Bump version number, we're now 0.9.0
31511 Add future debugging category.
31512 Fix NULL _unref() in _get_by_name_recurse_up
31513 Rearrange gstpad.h.
31516 2005-03-08 Wim Taymans <wim@fluendo.com>
31518 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31519 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31520 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31521 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31522 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31523 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31524 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31525 * gst/elements/gstidentity.c: (gst_identity_class_init):
31526 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31527 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31528 * gst/elements/gstshaper.c: (gst_shaper_class_init):
31529 * gst/elements/gststatistics.c: (gst_statistics_class_init):
31530 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31532 * gst/gstelement.c: (gst_element_class_init),
31533 (gst_element_base_class_init), (gst_element_init),
31534 (gst_element_get_random_pad), (gst_element_wait_state_change),
31535 (gst_element_change_state), (gst_element_dispose),
31536 (gst_element_finalize), (gst_element_set_loop_function):
31537 * gst/gstelement.h:
31538 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31539 * gst/gstthread.c: (gst_thread_class_init),
31540 (gst_thread_release_children_locks), (gst_thread_change_state):
31541 * gst/schedulers/gstbasicscheduler.c:
31542 (gst_basic_scheduler_loopfunc_wrapper),
31543 (gst_basic_scheduler_chain_wrapper),
31544 (gst_basic_scheduler_src_wrapper),
31545 (gst_basic_scheduler_remove_element):
31546 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31547 Remove threadsafe properties. Fix elements because GObject
31548 complains when installing a property before declaring a
31549 set/get_property handler.
31550 Rearrange gstelement.h file, use STATE macros for state locks.
31551 Free mutexes in the finalize method instead of dispose.
31553 2005-03-08 Wim Taymans <wim@fluendo.com>
31555 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31556 * gst/gstthread.c: (gst_thread_release_children_locks):
31557 Added parentage check.
31558 Fix build og GstThread again.
31560 2005-03-08 Wim Taymans <wim@fluendo.com>
31562 * docs/design/part-MT-refcounting.txt:
31563 * docs/design/part-conventions.txt:
31564 * docs/design/part-gstobject.txt:
31565 * docs/design/part-relations.txt:
31566 * docs/design/part-standards.txt:
31567 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31568 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31569 (gst_bin_get_by_name), (gst_bin_get_by_interface),
31570 (gst_bin_iterate_all_by_interface):
31573 * gst/gstelement.c: (gst_element_class_init),
31574 (gst_element_change_state), (gst_element_set_loop_function):
31575 * gst/gstelement.h:
31576 * gst/gstiterator.c:
31577 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31578 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31579 (gst_object_dispatch_properties_changed), (gst_object_set_name),
31580 (gst_object_set_parent), (gst_object_unparent),
31581 (gst_object_check_uniqueness):
31583 Docs updates, clean up some headers.
31585 2005-03-07 Wim Taymans <wim@fluendo.com>
31587 * check/.cvsignore:
31588 * check/Makefile.am:
31589 * check/gst-libs/.cvsignore:
31590 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31591 * check/gst/.cvsignore:
31592 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31593 (START_TEST), (gstbus_suite), (main):
31594 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31595 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31596 (gst_data_suite), (main):
31597 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31598 (add_fold_func), (gstiterator_suite), (main):
31599 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31600 (thread_name_object), (thread_name_object_default),
31601 (gst_object_name_compare), (gst_object_suite), (main):
31602 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31603 (gst_pad_suite), (main):
31604 * check/gstcheck.c: (gst_check_log_message_func),
31605 (gst_check_log_critical_func), (gst_check_init):
31606 * check/gstcheck.h:
31607 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31608 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31611 2005-03-07 Wim Taymans <wim@fluendo.com>
31613 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31614 (gst_list_iterator_next), (gst_list_iterator_resync),
31615 (gst_list_iterator_free), (gst_iterator_new_list),
31616 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31617 (gst_iterator_free), (gst_iterator_push), (filter_next),
31618 (filter_resync), (filter_uninit), (filter_free),
31619 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31620 (gst_iterator_foreach), (find_custom_fold_func),
31621 (gst_iterator_find_custom):
31622 * gst/gstiterator.h:
31623 Added missing files.
31625 2005-03-07 Wim Taymans <wim@fluendo.com>
31629 * docs/design/part-MT-refcounting.txt:
31630 * docs/design/part-conventions.txt:
31631 * docs/design/part-gstobject.txt:
31632 * docs/design/part-relations.txt:
31633 * examples/mixer/mixer.c: (main):
31634 * examples/thread/thread.c: (eos), (main):
31636 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31637 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31638 (gst_spider_plug_from_srcpad):
31639 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31640 (gst_spider_identity_change_state),
31641 (gst_spider_identity_sink_loop_type_finding):
31642 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31643 * gst/elements/gstidentity.c: (gst_identity_init):
31644 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31645 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31646 * gst/elements/gsttypefindelement.c: (free_entry):
31649 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31650 (gst_bin_set_clock_func), (gst_bin_auto_clock),
31651 (gst_bin_set_index), (gst_bin_set_element_sched),
31652 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31653 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31654 (gst_bin_iterate_elements), (iterate_child_recurse),
31655 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31656 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31657 (compare_interface), (gst_bin_get_by_interface),
31658 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31660 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31661 (gst_buffer_default_free), (gst_buffer_default_copy),
31662 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31663 (gst_buffer_create_sub):
31665 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31666 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31667 (gst_caps_unref), (gst_static_caps_get),
31668 (gst_caps_remove_and_get_structure), (gst_caps_append),
31669 (gst_caps_append_structure), (gst_caps_remove_structure),
31670 (gst_caps_copy_nth), (gst_caps_set_simple),
31671 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31672 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31673 (gst_caps_structure_intersect_field), (gst_caps_intersect),
31674 (gst_caps_structure_subtract_field), (gst_caps_subtract),
31675 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31676 (gst_caps_structure_figure_out_union),
31677 (gst_caps_switch_structures), (gst_caps_do_simplify),
31678 (gst_caps_replace), (gst_caps_from_string),
31679 (gst_caps_copy_conditional):
31681 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31682 (_gst_clock_id_free), (gst_clock_id_unref),
31683 (gst_clock_id_compare_func), (gst_clock_id_wait),
31684 (gst_clock_id_wait_async), (gst_clock_class_init),
31685 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31686 (gst_clock_get_time), (gst_clock_set_time_adjust),
31687 (gst_clock_set_property), (gst_clock_get_property):
31690 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31691 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31693 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31694 (gst_element_requires_clock), (gst_element_provides_clock),
31695 (gst_element_set_clock), (gst_element_clock_wait),
31696 (gst_element_wait), (gst_element_set_time_delay),
31697 (gst_element_is_indexable), (gst_element_add_pad),
31698 (gst_element_add_ghost_pad), (gst_element_remove_pad),
31699 (pad_compare_name), (gst_element_get_static_pad),
31700 (gst_element_request_pad), (gst_element_get_request_pad),
31701 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31702 (gst_element_class_get_pad_template_list),
31703 (gst_element_class_get_pad_template), (gst_element_error_func),
31704 (gst_element_get_random_pad), (gst_element_get_event_masks),
31705 (gst_element_send_event), (gst_element_seek),
31706 (gst_element_get_query_types), (gst_element_query),
31707 (gst_element_get_formats), (gst_element_convert),
31708 (gst_element_is_locked_state), (gst_element_set_locked_state),
31709 (gst_element_sync_state_with_parent), (gst_element_change_state),
31710 (gst_element_finalize), (gst_element_yield),
31711 (gst_element_interrupt), (gst_element_set_scheduler),
31712 (gst_element_get_scheduler), (gst_element_set_loop_function):
31713 * gst/gstelement.h:
31715 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
31716 (gst_format_get_by_nick), (gst_format_get_details),
31717 (gst_format_iterate_definitions):
31719 * gst/gstindex.c: (gst_index_gtype_resolver):
31722 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
31723 (gst_mem_chunk_free):
31724 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
31725 (gst_object_ref), (gst_object_unref), (gst_object_sink),
31726 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
31727 (gst_object_dispatch_properties_changed),
31728 (gst_object_set_name_default), (gst_object_set_name),
31729 (gst_object_get_name), (gst_object_set_name_prefix),
31730 (gst_object_get_name_prefix), (gst_object_set_parent),
31731 (gst_object_get_parent), (gst_object_unparent),
31732 (gst_object_check_uniqueness), (gst_object_save_thyself),
31733 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
31734 (gst_object_set_property), (gst_object_get_property),
31735 (gst_object_get_path_string):
31737 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
31738 (gst_real_pad_init), (gst_real_pad_get_property),
31739 (gst_pad_custom_new), (gst_pad_get_direction),
31740 (gst_pad_set_active), (gst_pad_is_active),
31741 (gst_pad_set_event_function), (gst_pad_is_linked),
31742 (gst_pad_link_free), (gst_pad_link_intersect),
31743 (gst_pad_link_fixate), (gst_pad_set_caps),
31744 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
31745 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
31746 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
31747 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
31748 (gst_pad_get_caps), (gst_pad_peer_get_caps),
31749 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
31750 (gst_pad_realize), (gst_pad_get_allowed_caps),
31751 (gst_real_pad_dispose), (gst_real_pad_finalize),
31752 (gst_pad_collectv), (gst_pad_collect_valist),
31753 (gst_pad_template_dispose), (gst_pad_template_new),
31754 (gst_pad_get_internal_links):
31756 * gst/gstpipeline.c: (gst_pipeline_dispose),
31757 (gst_pipeline_change_state):
31758 * gst/gstpipeline.h:
31760 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
31761 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
31762 * gst/gstpluginfeature.h:
31763 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
31764 * gst/gstquery.c: (_gst_query_type_initialize),
31765 (gst_query_type_register), (gst_query_type_get_by_nick),
31766 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
31768 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
31769 * gst/gstscheduler.c: (gst_scheduler_add_element),
31770 (gst_scheduler_factory_create):
31771 * gst/gststructure.c: (gst_structure_set_parent_refcount),
31772 (gst_structure_free), (gst_structure_set_name),
31773 (gst_structure_id_set_value), (gst_structure_set_value),
31774 (gst_structure_set_valist), (gst_structure_remove_field),
31775 (gst_structure_remove_fields),
31776 (gst_structure_remove_fields_valist),
31777 (gst_structure_remove_all_fields), (gst_structure_foreach),
31778 (gst_structure_map_in_place),
31779 (gst_caps_structure_fixate_field_nearest_int),
31780 (gst_caps_structure_fixate_field_nearest_double):
31781 * gst/gststructure.h:
31782 * gst/gstsystemclock.c: (gst_system_clock_class_init),
31783 (gst_system_clock_init), (gst_system_clock_dispose),
31784 (gst_system_clock_async_thread),
31785 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
31786 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
31787 * gst/gstsystemclock.h:
31788 * gst/gsttag.c: (gst_tag_list_add_value_internal),
31789 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
31790 * gst/gsttaginterface.c:
31791 * gst/gstthread.c: (gst_thread_dispose),
31792 (gst_thread_release_children_locks), (gst_thread_change_state),
31793 (gst_thread_main_loop):
31794 * gst/gsttrashstack.h:
31795 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
31797 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
31798 (gst_element_request_pad), (gst_element_get_pad_from_template),
31799 (gst_element_request_compatible_pad),
31800 (gst_element_get_compatible_pad_filtered),
31801 (gst_element_get_compatible_pad), (gst_element_state_get_name),
31802 (gst_element_link_pads_filtered), (gst_element_link_filtered),
31803 (gst_element_link_many), (gst_element_link),
31804 (gst_element_link_pads), (gst_element_unlink_pads),
31805 (gst_element_unlink_many), (gst_element_unlink),
31806 (gst_pad_can_link_filtered), (gst_pad_can_link),
31807 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
31808 (gst_object_default_error), (gst_bin_add_many),
31809 (gst_bin_remove_many), (gst_element_populate_std_props),
31810 (gst_element_class_install_std_props), (gst_buffer_merge),
31811 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
31812 (link_fold_func), (gst_pad_proxy_setcaps):
31814 * gst/gstvalue.c: (gst_value_deserialize_string):
31815 * gst/parse/grammar.y:
31816 * gst/schedulers/gstbasicscheduler.c:
31817 (gst_basic_scheduler_cothreaded_chain),
31818 (gst_basic_scheduler_chain_recursive_add),
31819 (gst_basic_scheduler_pad_link):
31820 * gst/schedulers/gstoptimalscheduler.c:
31821 (get_group_schedule_function),
31822 (gst_opt_scheduler_state_transition),
31823 (gst_opt_scheduler_add_element), (element_get_reachables_func):
31824 * libs/gst/bytestream/bytestream.c:
31825 * libs/gst/dataprotocol/dataprotocol.c:
31826 (gst_dp_header_from_buffer):
31829 * tests/threadstate/threadstate2.c: (eos):
31830 * tools/gst-compprep.c: (main):
31831 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
31832 (print_pad_info), (print_children_info):
31833 * tools/gst-launch.c: (idle_func), (main):
31834 * tools/gst-md5sum.c: (idle_func), (main):
31835 * tools/gst-xmlinspect.c: (print_element_info):
31836 First THREADED backport attempt, focusing on adding locks and
31837 making sure the API is threadsafe. Needs more work. More docs
31840 2005-02-24 Andy Wingo <wingo@pobox.com>
31842 * tests/bench-complexity.scm:
31843 * tests/complexity.gnuplot: New files, good for running complexity
31846 * tests/Makefile.am:
31847 * tests/complexity.c: New test, sets up N elements, at each level
31848 teeing into M streams per element. Eeeenteresting.
31850 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
31851 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
31852 running bench-mass_elements.scm.
31854 * tests/bench-mass_elements.scm: New script, runs mass_elements
31855 for various numbers of identities, outputting the results to a
31856 file. Requires guile 1.6. Just for testing.
31858 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
31860 * gst/schedulers/fairscheduler.c:
31861 compile with debug disabled
31863 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
31866 hunting season on 0.9 is now OPEN